package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.mA, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C1841mA extends AbstractC0699aD implements SC {
    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        boolean zA;
        C2031oA c2031oAL0;
        EnumC1366hA enumC1366hA = (EnumC1366hA) obj;
        EnumC1366hA enumC1366hA2 = (EnumC1366hA) obj2;
        C1936nA c1936nA = (C1936nA) this.m;
        if (c1936nA.y && (zA = enumC1366hA2.a()) != enumC1366hA.a()) {
            OC oc = c1936nA.C;
            if (oc != null) {
                oc.g(Boolean.valueOf(zA));
            }
            InterfaceC0220Im interfaceC0220Im = null;
            if (zA) {
                AbstractC1692kh0.C(c1936nA.v0(), null, new D9(c1936nA, interfaceC0220Im, 3), 3);
                B10 b10 = new B10();
                AbstractC2841wm0.A(c1936nA, new C2590u5(8, b10, c1936nA));
                if (b10.l != null) {
                    throw new ClassCastException();
                }
                InterfaceC1184fK interfaceC1184fK = c1936nA.E;
                if (interfaceC1184fK != null && interfaceC1184fK.A() && (c2031oAL0 = c1936nA.L0()) != null) {
                    c2031oAL0.H0(c1936nA.E);
                }
            } else {
                C2031oA c2031oAL02 = c1936nA.L0();
                if (c2031oAL02 != null) {
                    c2031oAL02.H0(null);
                }
            }
            C2887xC.t(c1936nA);
            KQ kq = c1936nA.B;
            if (kq != null) {
                if (zA) {
                    C0544Uz c0544Uz = c1936nA.D;
                    if (c0544Uz != null) {
                        c1936nA.K0(kq, new C0570Vz(c0544Uz));
                        c1936nA.D = null;
                    }
                    C0544Uz c0544Uz2 = new C0544Uz();
                    c1936nA.K0(kq, c0544Uz2);
                    c1936nA.D = c0544Uz2;
                } else {
                    C0544Uz c0544Uz3 = c1936nA.D;
                    if (c0544Uz3 != null) {
                        c1936nA.K0(kq, new C0570Vz(c0544Uz3));
                        c1936nA.D = null;
                    }
                }
            }
        }
        return Oh0.a;
    }
}
