package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Ec0 extends Sb0 implements SC {
    public final /* synthetic */ int p;
    public final /* synthetic */ C3004yY q;

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

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        InterfaceC0065Cn interfaceC0065Cn = (InterfaceC0065Cn) obj;
        InterfaceC0220Im interfaceC0220Im = (InterfaceC0220Im) obj2;
        switch (this.p) {
            case 0:
                Ec0 ec0 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh0 = Oh0.a;
                ec0.n(oh0);
                return oh0;
            case 1:
                Ec0 ec02 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh02 = Oh0.a;
                ec02.n(oh02);
                return oh02;
            case 2:
                Ec0 ec03 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh03 = Oh0.a;
                ec03.n(oh03);
                return oh03;
            case 3:
                Ec0 ec04 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh04 = Oh0.a;
                ec04.n(oh04);
                return oh04;
            case 4:
                Ec0 ec05 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh05 = Oh0.a;
                ec05.n(oh05);
                return oh05;
            case 5:
                Ec0 ec06 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh06 = Oh0.a;
                ec06.n(oh06);
                return oh06;
            case 6:
                Ec0 ec07 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh07 = Oh0.a;
                ec07.n(oh07);
                return oh07;
            default:
                Ec0 ec08 = (Ec0) l(interfaceC0065Cn, interfaceC0220Im);
                Oh0 oh08 = Oh0.a;
                ec08.n(oh08);
                return oh08;
        }
    }

    @Override // o.AbstractC0728ad
    public final InterfaceC0220Im l(Object obj, InterfaceC0220Im interfaceC0220Im) {
        switch (this.p) {
            case 0:
                return new Ec0(this.q, interfaceC0220Im, 0);
            case 1:
                return new Ec0(this.q, interfaceC0220Im, 1);
            case 2:
                return new Ec0(this.q, interfaceC0220Im, 2);
            case 3:
                return new Ec0(this.q, interfaceC0220Im, 3);
            case 4:
                return new Ec0(this.q, interfaceC0220Im, 4);
            case 5:
                return new Ec0(this.q, interfaceC0220Im, 5);
            case 6:
                return new Ec0(this.q, interfaceC0220Im, 6);
            default:
                return new Ec0(this.q, interfaceC0220Im, 7);
        }
    }

    @Override // o.AbstractC0728ad
    public final Object n(Object obj) {
        switch (this.p) {
            case 0:
                IJ.H(obj);
                this.q.a();
                break;
            case 1:
                IJ.H(obj);
                this.q.b();
                break;
            case 2:
                IJ.H(obj);
                this.q.b();
                break;
            case 3:
                IJ.H(obj);
                this.q.a();
                break;
            case 4:
                IJ.H(obj);
                this.q.b();
                break;
            case 5:
                IJ.H(obj);
                this.q.b();
                break;
            case 6:
                IJ.H(obj);
                this.q.a();
                break;
            default:
                IJ.H(obj);
                this.q.b();
                break;
        }
        return Oh0.a;
    }
}
