package od;

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

/* loaded from: classes4.dex */
public class n0 extends m0 {
    private static final n.i F;
    private static final SparseIntArray G;
    private final LinearLayout C;
    private final ScrollView D;
    private long E;

    static {
        n.i iVar = new n.i(3);
        F = iVar;
        iVar.a(1, new String[]{"forgot_username_step2_content"}, new int[]{2}, new int[]{ld.k.f27959s});
        G = null;
    }

    public n0(androidx.databinding.e eVar, View view) {
        this(eVar, view, androidx.databinding.n.E(eVar, view, 3, F, G));
    }

    private boolean U(k0 k0Var, int i10) {
        if (i10 != ld.a.f27861a) {
            return false;
        }
        synchronized (this) {
            this.E |= 1;
        }
        return true;
    }

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

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

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

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

    public void V(sd.m mVar) {
        this.B = mVar;
        synchronized (this) {
            this.E |= 2;
        }
        f(ld.a.f27862b);
        super.J();
    }

    @Override // androidx.databinding.n
    protected void n() {
        long j10;
        synchronized (this) {
            j10 = this.E;
            this.E = 0L;
        }
        sd.m mVar = this.B;
        if ((j10 & 6) != 0) {
            this.A.U(mVar);
        }
        androidx.databinding.n.p(this.A);
    }

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

    private n0(androidx.databinding.e eVar, View view, Object[] objArr) {
        super(eVar, view, 1, (k0) objArr[2]);
        this.E = -1L;
        N(this.A);
        LinearLayout linearLayout = (LinearLayout) objArr[0];
        this.C = linearLayout;
        linearLayout.setTag(null);
        ScrollView scrollView = (ScrollView) objArr[1];
        this.D = scrollView;
        scrollView.setTag(null);
        P(view);
        B();
    }
}
