package zb;

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

/* loaded from: classes4.dex */
public class f extends e {
    private static final n.i I;
    private static final SparseIntArray J;
    private final ConstraintLayout D;
    private final i E;
    private final g F;
    private final TextView G;
    private long H;

    static {
        n.i iVar = new n.i(6);
        I = iVar;
        iVar.a(1, new String[]{"account_footer_signed_in_dbvitem", "account_footer_not_signed_in_dbvitem"}, new int[]{4, 5}, new int[]{ob.j.f31208e, ob.j.f31206d});
        J = null;
    }

    public f(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 6, I, J));
    }

    @Override // androidx.databinding.n
    public void B() {
        synchronized (this) {
            this.H = 2L;
        }
        this.E.B();
        this.F.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.E.O(uVar);
        this.F.O(uVar);
    }

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

    public void U(pb.a aVar) {
        this.C = aVar;
        synchronized (this) {
            this.H |= 1;
        }
        f(ob.a.f31097f);
        super.J();
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        boolean z10;
        boolean z11;
        String str;
        boolean z12;
        boolean z13;
        synchronized (this) {
            j10 = this.H;
            this.H = 0L;
        }
        pb.a aVar = this.C;
        long j11 = j10 & 3;
        boolean z14 = false;
        if (j11 != 0) {
            if (aVar != null) {
                z13 = aVar.h();
                str = aVar.c();
                z11 = aVar.i();
            } else {
                z11 = false;
                str = null;
                z13 = false;
            }
            if (j11 != 0) {
                j10 |= z11 ? 8L : 4L;
            }
            z10 = !z13;
            z12 = !z11;
        } else {
            z10 = false;
            z11 = false;
            str = null;
            z12 = false;
        }
        long j12 = j10 & 3;
        if (j12 != 0 && z11) {
            z14 = z10;
        }
        if (j12 != 0) {
            u7.g.k(this.E.x(), Boolean.valueOf(z14));
            this.E.U(aVar);
            u7.g.k(this.F.x(), Boolean.valueOf(z12));
            this.F.U(aVar);
            b4.e.e(this.G, str);
            u7.g.k(this.B, Boolean.valueOf(z10));
        }
        androidx.databinding.n.p(this.E);
        androidx.databinding.n.p(this.F);
    }

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

    private f(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 0, (LinearLayout) objArr[1], (View) objArr[2]);
        this.H = -1L;
        this.A.setTag(null);
        ConstraintLayout constraintLayout = (ConstraintLayout) objArr[0];
        this.D = constraintLayout;
        constraintLayout.setTag(null);
        i iVar = (i) objArr[4];
        this.E = iVar;
        N(iVar);
        g gVar = (g) objArr[5];
        this.F = gVar;
        N(gVar);
        TextView textView = (TextView) objArr[3];
        this.G = textView;
        textView.setTag(null);
        this.B.setTag(null);
        P(view);
        B();
    }
}
