package o;

import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.common.api.CommonStatusCodes;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Mi, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0319Mi {
    public static final Ma0 a = new Ma0(new K0(11));
    public static final Ma0 b = new Ma0(new K0(12));

    public static final long a(C0294Li c0294Li, long j) {
        long j2 = c0294Li.a;
        long j3 = c0294Li.U;
        long j4 = c0294Li.Q;
        long j5 = c0294Li.M;
        long j6 = c0294Li.q;
        if (C0190Hi.c(j, j2)) {
            return c0294Li.b;
        }
        if (C0190Hi.c(j, c0294Li.f)) {
            return c0294Li.g;
        }
        if (C0190Hi.c(j, c0294Li.j)) {
            return c0294Li.k;
        }
        if (C0190Hi.c(j, c0294Li.n)) {
            return c0294Li.f213o;
        }
        if (C0190Hi.c(j, c0294Li.w)) {
            return c0294Li.x;
        }
        if (C0190Hi.c(j, c0294Li.c)) {
            return c0294Li.d;
        }
        if (C0190Hi.c(j, c0294Li.h)) {
            return c0294Li.i;
        }
        if (C0190Hi.c(j, c0294Li.l)) {
            return c0294Li.m;
        }
        if (C0190Hi.c(j, c0294Li.y)) {
            return c0294Li.z;
        }
        if (C0190Hi.c(j, c0294Li.u)) {
            return c0294Li.v;
        }
        if (C0190Hi.c(j, c0294Li.p)) {
            return j6;
        }
        if (C0190Hi.c(j, c0294Li.r)) {
            return c0294Li.s;
        }
        if (C0190Hi.c(j, c0294Li.D) || C0190Hi.c(j, c0294Li.F) || C0190Hi.c(j, c0294Li.G) || C0190Hi.c(j, c0294Li.H) || C0190Hi.c(j, c0294Li.I) || C0190Hi.c(j, c0294Li.J) || C0190Hi.c(j, c0294Li.E)) {
            return j6;
        }
        if (C0190Hi.c(j, c0294Li.K) || C0190Hi.c(j, c0294Li.L)) {
            return j5;
        }
        if (C0190Hi.c(j, c0294Li.O) || C0190Hi.c(j, c0294Li.P)) {
            return j4;
        }
        if (C0190Hi.c(j, c0294Li.S) || C0190Hi.c(j, c0294Li.T)) {
            return j3;
        }
        int i = C0190Hi.h;
        return C0190Hi.g;
    }

    public static final long b(long j, C0321Mk c0321Mk) {
        c0321Mk.V(89374938);
        long jA = a((C0294Li) c0321Mk.j(a), j);
        if (jA == 16) {
            jA = ((C0190Hi) c0321Mk.j(AbstractC1606jm.a)).a;
        }
        c0321Mk.q(false);
        return jA;
    }

    public static final long c(C0294Li c0294Li, int i) {
        switch (AbstractC2462sn.w(i)) {
            case 0:
                return c0294Li.n;
            case 1:
                return c0294Li.w;
            case 2:
                return c0294Li.y;
            case 3:
                return c0294Li.v;
            case 4:
                return c0294Li.e;
            case 5:
                return c0294Li.u;
            case 6:
                return c0294Li.f213o;
            case 7:
                return c0294Li.x;
            case 8:
                return c0294Li.z;
            case ConnectionResult.SERVICE_INVALID /* 9 */:
                return c0294Li.b;
            case 10:
                return c0294Li.d;
            case ConnectionResult.LICENSE_CHECK_FAILED /* 11 */:
                return c0294Li.M;
            case 12:
                return c0294Li.N;
            case 13:
                return c0294Li.g;
            case 14:
                return c0294Li.i;
            case 15:
                return c0294Li.Q;
            case 16:
                return c0294Li.R;
            case 17:
                return c0294Li.q;
            case ConnectionResult.SERVICE_UPDATING /* 18 */:
                return c0294Li.s;
            case 19:
                return c0294Li.k;
            case 20:
                return c0294Li.m;
            case CommonStatusCodes.RECONNECTION_TIMED_OUT_DURING_UPDATE /* 21 */:
                return c0294Li.U;
            case 22:
                return c0294Li.V;
            case ConnectionResult.API_DISABLED /* 23 */:
                return c0294Li.A;
            case ConnectionResult.API_DISABLED_FOR_CONNECTION /* 24 */:
                return c0294Li.B;
            case 25:
                return c0294Li.a;
            case 26:
                return c0294Li.c;
            case 27:
                return c0294Li.K;
            case 28:
                return c0294Li.L;
            case 29:
                return c0294Li.C;
            case 30:
                return c0294Li.f;
            case 31:
                return c0294Li.h;
            case 32:
                return c0294Li.O;
            case 33:
                return c0294Li.P;
            case 34:
                return c0294Li.p;
            case 35:
                return c0294Li.D;
            case 36:
                return c0294Li.F;
            case 37:
                return c0294Li.G;
            case 38:
                return c0294Li.H;
            case 39:
                return c0294Li.I;
            case 40:
                return c0294Li.J;
            case 41:
                return c0294Li.E;
            case 42:
                return c0294Li.t;
            case 43:
                return c0294Li.r;
            case 44:
                return c0294Li.j;
            case 45:
                return c0294Li.l;
            case 46:
                return c0294Li.S;
            case 47:
                return c0294Li.T;
            default:
                throw new C2170pj();
        }
    }

    public static final long d(int i, C0321Mk c0321Mk) {
        return c((C0294Li) c0321Mk.j(a), i);
    }
}
