package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.v, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2674v extends Sb0 implements SC {
    public final /* synthetic */ int p;
    public final /* synthetic */ C0834bi q;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public /* synthetic */ C2674v(C0834bi c0834bi, InterfaceC0220Im interfaceC0220Im, int i) {
        super(2, interfaceC0220Im);
        this.p = i;
        this.q = c0834bi;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        InterfaceC0065Cn interfaceC0065Cn = (InterfaceC0065Cn) obj;
        InterfaceC0220Im interfaceC0220Im = (InterfaceC0220Im) obj2;
        switch (this.p) {
            case 0:
                C2674v c2674v = (C2674v) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh0 = Oh0.a;
                c2674v.n(oh0);
                return oh0;
            default:
                C2674v c2674v2 = (C2674v) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh02 = Oh0.a;
                c2674v2.n(oh02);
                return oh02;
        }
    }

    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        switch (this.p) {
            case 0:
                return new C2674v(this.q, interfaceC0220Im, 0);
            default:
                return new C2674v(this.q, interfaceC0220Im, 1);
        }
    }

    @Override // o.AbstractC0728ad
    public final Object n(Object obj) {
        switch (this.p) {
            case 0:
                IJ.H(obj);
                C0834bi c0834bi = this.q;
                if (c0834bi.M == null) {
                    C2131pF c2131pF = new C2131pF();
                    KQ kq = c0834bi.B;
                    if (kq != null) {
                        AbstractC1692kh0.C(c0834bi.v0(), null, new C2105p(kq, c2131pF, null, 0), 3);
                    }
                    c0834bi.M = c2131pF;
                }
                break;
            default:
                IJ.H(obj);
                C0834bi c0834bi2 = this.q;
                C2131pF c2131pF2 = c0834bi2.M;
                if (c2131pF2 != null) {
                    C2226qF c2226qF = new C2226qF(c2131pF2);
                    KQ kq2 = c0834bi2.B;
                    InterfaceC0220Im interfaceC0220Im = null;
                    if (kq2 != null) {
                        AbstractC1692kh0.C(c0834bi2.v0(), null, new C2105p(kq2, c2226qF, interfaceC0220Im, 1), 3);
                    }
                    c0834bi2.M = null;
                }
                break;
        }
        return Oh0.a;
    }
}
