package zb;

import android.util.SparseIntArray;
import android.view.View;
import android.widget.LinearLayout;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.databinding.n;

/* loaded from: classes4.dex */
public class v extends u {
    private static final n.i G;
    private static final SparseIntArray H;
    private final LinearLayout B;
    private final ConstraintLayout C;
    private final g0 D;
    private final s E;
    private long F;

    static {
        n.i iVar = new n.i(4);
        G = iVar;
        iVar.a(1, new String[]{"account_signed_in_dbvitem", "account_not_signed_in_dbvitem"}, new int[]{2, 3}, new int[]{ob.j.f31230q, ob.j.f31218j});
        H = null;
    }

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

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

    @Override // androidx.databinding.n
    protected boolean F(int i10, Object obj, int i11) {
        return false;
    }

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

    @Override // androidx.databinding.n
    public boolean Q(int i10, Object obj) {
        if (ob.a.f31097f != i10) {
            return false;
        }
        U((pb.f) obj);
        return true;
    }

    public void U(pb.f fVar) {
        this.A = fVar;
        synchronized (this) {
            this.F |= 1;
        }
        f(ob.a.f31097f);
        super.J();
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        boolean z10;
        synchronized (this) {
            j10 = this.F;
            this.F = 0L;
        }
        pb.f fVar = this.A;
        long j11 = j10 & 3;
        if (j11 != 0) {
            r1 = fVar != null ? fVar.j() : false;
            z10 = !r1;
        } else {
            z10 = false;
        }
        if (j11 != 0) {
            u7.g.k(this.D.x(), Boolean.valueOf(r1));
            this.D.U(fVar);
            u7.g.k(this.E.x(), Boolean.valueOf(z10));
            this.E.U(fVar);
        }
        androidx.databinding.n.p(this.D);
        androidx.databinding.n.p(this.E);
    }

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

    private v(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0);
        this.F = -1L;
        LinearLayout linearLayout = (LinearLayout) objArr[0];
        this.B = linearLayout;
        linearLayout.setTag(null);
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[1];
        this.C = constraintLayout;
        constraintLayout.setTag(null);
        g0 g0Var = (g0) objArr[2];
        this.D = g0Var;
        N(g0Var);
        s sVar = (s) objArr[3];
        this.E = sVar;
        N(sVar);
        P(view);
        B();
    }
}
