package o;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.CommonStatusCodes;
import java.util.ArrayList;
import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final /* synthetic */ class X8 implements SC {
    public final /* synthetic */ int l;

    public /* synthetic */ X8(int i) {
        this.l = i;
    }

    @Override // o.SC
    public final Object f(Object obj, Object obj2) {
        switch (this.l) {
            case 0:
                return Integer.valueOf(Math.round((1 + (((EnumC1280gK) obj2) != EnumC1280gK.l ? (-1.0f) * (-1) : -1.0f)) * (((Integer) obj).intValue() / 2.0f)));
            case 1:
                return Oh0.a;
            case 2:
                Boolean bool = (Boolean) obj;
                bool.booleanValue();
                return bool;
            case 3:
                return ((InterfaceC2747vn) obj).M((InterfaceC2557tn) obj2);
            case 4:
                return ((InterfaceC2747vn) obj).M((InterfaceC2557tn) obj2);
            case 5:
                ((Integer) obj2).getClass();
                AbstractC2378rs0.q(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case 6:
                ((Integer) obj2).getClass();
                AbstractC2378rs0.s(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case 7:
                ((Integer) obj2).getClass();
                As0.f(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case 8:
                ((Integer) obj2).getClass();
                AbstractC2001nt0.d(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case ConnectionResult.SERVICE_INVALID /* 9 */:
                ((Integer) obj2).getClass();
                AbstractC2001nt0.b(AbstractC1904ms0.D(7), (C0321Mk) obj);
                return Oh0.a;
            case 10:
                ((Integer) obj2).getClass();
                C1884mi0.b(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case ConnectionResult.LICENSE_CHECK_FAILED /* 11 */:
                ((Integer) obj2).getClass();
                AbstractC2841wm0.f(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case 12:
                ((Integer) obj2).getClass();
                AbstractC2793wD.o(AbstractC1904ms0.D(1), (C0321Mk) obj);
                return Oh0.a;
            case 13:
                return Integer.valueOf(((InterfaceC1760lO) obj).V(((Integer) obj2).intValue()));
            case 14:
                return Integer.valueOf(((InterfaceC1760lO) obj).U(((Integer) obj2).intValue()));
            case 15:
                return Integer.valueOf(((InterfaceC1760lO) obj).d(((Integer) obj2).intValue()));
            case 16:
                return Integer.valueOf(((InterfaceC1760lO) obj).O(((Integer) obj2).intValue()));
            case 17:
                return Integer.valueOf(((Integer) obj).intValue() + 1);
            case ConnectionResult.SERVICE_UPDATING /* 18 */:
                return obj2;
            case 19:
                C0977d7 c0977d7 = (C0977d7) obj2;
                return AbstractC0008Ai.P(c0977d7.m, AbstractC2779w40.a(c0977d7.l, AbstractC2779w40.a, (X30) obj));
            case 20:
                return Integer.valueOf(((C2823wd0) obj2).a);
            case CommonStatusCodes.RECONNECTION_TIMED_OUT_DURING_UPDATE /* 21 */:
                C3015ye0 c3015ye0 = (C3015ye0) obj2;
                return AbstractC0008Ai.P(Float.valueOf(c3015ye0.a), Float.valueOf(c3015ye0.b));
            case 22:
                X30 x30 = (X30) obj;
                C3110ze0 c3110ze0 = (C3110ze0) obj2;
                C1020df0 c1020df0 = new C1020df0(c3110ze0.a);
                C2684v40 c2684v40 = AbstractC2779w40.q;
                return AbstractC0008Ai.P(AbstractC2779w40.a(c1020df0, c2684v40, x30), AbstractC2779w40.a(new C1020df0(c3110ze0.b), c2684v40, x30));
            case ConnectionResult.API_DISABLED /* 23 */:
                return Integer.valueOf(((OA) obj2).l);
            case ConnectionResult.API_DISABLED_FOR_CONNECTION /* 24 */:
                BL bl = (BL) obj2;
                return AbstractC0008Ai.P(bl.a, AbstractC2779w40.a(bl.b, AbstractC2779w40.i, (X30) obj));
            case 25:
                return Float.valueOf(((C1494id) obj2).a);
            case 26:
                X30 x302 = (X30) obj;
                List list = (List) obj2;
                ArrayList arrayList = new ArrayList(list.size());
                int size = list.size();
                for (int i = 0; i < size; i++) {
                    arrayList.add(AbstractC2779w40.a((C0881c7) list.get(i), AbstractC2779w40.b, x302));
                }
                return arrayList;
            case 27:
                Ue0 ue0 = (Ue0) obj2;
                return AbstractC0008Ai.P(Integer.valueOf((int) (ue0.a >> 32)), Integer.valueOf((int) (ue0.a & 4294967295L)));
            case 28:
                X30 x303 = (X30) obj;
                I70 i70 = (I70) obj2;
                return AbstractC0008Ai.P(AbstractC2779w40.a(new C0190Hi(i70.a), AbstractC2779w40.p, x303), AbstractC2779w40.a(new C1765lT(i70.b), AbstractC2779w40.r, x303), Float.valueOf(i70.c));
            default:
                C1020df0 c1020df02 = (C1020df0) obj2;
                return c1020df02 == null ? false : C1020df0.a(c1020df02.a, C1020df0.c) ? Boolean.FALSE : AbstractC0008Ai.P(Float.valueOf(C1020df0.c(c1020df02.a)), new C1115ef0(C1020df0.b(c1020df02.a)));
        }
    }

    public /* synthetic */ X8(int i, int i2) {
        this.l = i2;
    }
}
