package xe;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.databinding.n;
import ca.canadapost.core.common.ui.CpcDialogFragmentView;
import we.s0;

/* loaded from: classes4.dex */
public class z extends y {
    private static final n.i G;
    private static final SparseIntArray H;
    private final LinearLayout E;
    private long F;

    static {
        n.i iVar = new n.i(4);
        G = iVar;
        iVar.a(1, new String[]{"registration_agree_button"}, new int[]{2}, new int[]{we.e.f49165b});
        SparseIntArray sparseIntArray = new SparseIntArray();
        H = sparseIntArray;
        sparseIntArray.put(we.d.f49144f, 3);
    }

    public z(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 4, G, H));
    }

    private boolean U(c cVar, int i10) {
        if (i10 != we.a.f49130a) {
            return false;
        }
        synchronized (this) {
            this.F |= 1;
        }
        return true;
    }

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.F = 4L;
        }
        this.C.B();
        J();
    }

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        if (i10 != 0) {
            return false;
        }
        return U((c) obj, i11);
    }

    @Override // androidx.databinding.n
    public void O(androidx.lifecycle.u uVar) {
        super.O(uVar);
        this.C.O(uVar);
    }

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (we.a.f49131b != i10) {
            return false;
        }
        V((s0) obj);
        return true;
    }

    public void V(s0 s0Var) {
        this.D = s0Var;
    }

    @Override // androidx.databinding.n
    protected void n() {
        synchronized (this) {
            this.F = 0L;
        }
        androidx.databinding.n.p(this.C);
    }

    @Override // androidx.databinding.n
    public boolean z() {
        synchronized (this) {
            if (this.F != 0) {
                return true;
            }
            return this.C.z();
        }
    }

    private z(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 1, (TextView) objArr[3], (CpcDialogFragmentView) objArr[0], (c) objArr[2]);
        this.F = -1L;
        this.B.setTag(null);
        LinearLayout linearLayout = (LinearLayout) objArr[1];
        this.E = linearLayout;
        linearLayout.setTag(null);
        N(this.C);
        P(view);
        B();
    }
}
