package I1;

import A6.b;
import P6.d;
import T0.F;
import Z.g;
import androidx.lifecycle.W;
import androidx.lifecycle.Y;
import androidx.recyclerview.widget.RecyclerView;
import com.google.android.gms.internal.measurement.C1;
import com.google.android.gms.internal.measurement.T1;
import com.google.android.gms.internal.measurement.X1;
import com.google.crypto.tink.shaded.protobuf.C0745k;
import d3.Q1;
import n4.u0;
import r0.C1484c;
import u0.C1578n;
import u0.C1579o;

/* JADX INFO: loaded from: classes.dex */
public abstract /* synthetic */ class a {
    public static /* synthetic */ String A(int i) {
        switch (i) {
            case 1:
                return "CLIENT_UPLOAD_ELIGIBILITY_UNKNOWN";
            case 2:
                return "CLIENT_UPLOAD_ELIGIBLE";
            case 3:
                return "MEASUREMENT_SERVICE_NOT_ENABLED";
            case 4:
                return "ANDROID_TOO_OLD";
            case 5:
                return "NON_PLAY_MODE";
            case g.STRING_SET_FIELD_NUMBER /* 6 */:
                return "SDK_TOO_OLD";
            case g.DOUBLE_FIELD_NUMBER /* 7 */:
                return "MISSING_JOB_SCHEDULER";
            case g.BYTES_FIELD_NUMBER /* 8 */:
                return "NOT_ENABLED_IN_MANIFEST";
            case 9:
                return "CLIENT_FLAG_OFF";
            case 10:
                return "SERVICE_FLAG_OFF";
            case 11:
                return "PINNED_TO_SERVICE_UPLOAD";
            case 12:
                return "MISSING_SGTM_SERVER_URL";
            default:
                throw null;
        }
    }

    public static W a(Y y8, d dVar, C1484c c1484c) {
        return y8.b(X1.m(dVar), c1484c);
    }

    public static final boolean b(int i) {
        return !L3.a.a();
    }

    public static final boolean c(int i) {
        Boolean bool;
        if (L3.a.a()) {
            try {
                bool = (Boolean) Class.forName("org.conscrypt.Conscrypt").getMethod("isBoringSslFIPSBuild", null).invoke(null, null);
            } catch (Exception unused) {
                L3.a.f3991a.info("Conscrypt is not available or does not support checking for FIPS build.");
                bool = Boolean.FALSE;
            }
            if (!bool.booleanValue()) {
                return false;
            }
        }
        return true;
    }

    public static int d(int i) {
        switch (i) {
            case u0.f15495q /* 0 */:
                return 1;
            case 1:
                return 2;
            case 2:
                return 3;
            case 3:
                return 4;
            case 4:
                return 5;
            case 5:
                return 6;
            case g.STRING_SET_FIELD_NUMBER /* 6 */:
                return 7;
            case g.DOUBLE_FIELD_NUMBER /* 7 */:
                return 8;
            case g.BYTES_FIELD_NUMBER /* 8 */:
                return 9;
            default:
                switch (i) {
                    case 20:
                        return 10;
                    case 21:
                        return 11;
                    case 22:
                        return 12;
                    default:
                        return 0;
                }
        }
    }

    public static int e(int i, int i5, int i8, int i9) {
        return i | i5 | i8 | 128 | i9;
    }

    public static /* synthetic */ int f(int i) {
        switch (i) {
            case 1:
                return 0;
            case 2:
                return 1;
            case 3:
                return 2;
            case 4:
                return 3;
            case 5:
                return 4;
            case g.STRING_SET_FIELD_NUMBER /* 6 */:
                return 5;
            case g.DOUBLE_FIELD_NUMBER /* 7 */:
                return 6;
            case g.BYTES_FIELD_NUMBER /* 8 */:
                return 7;
            case 9:
                return 8;
            case 10:
                return 20;
            case 11:
                return 21;
            case 12:
                return 22;
            default:
                throw null;
        }
    }

    public static boolean g(int i, boolean z8) {
        int i5 = i & 7;
        if (i5 != 4) {
            return z8 && i5 == 3;
        }
        return true;
    }

    public static int h(int i, int i5, int i8) {
        return T1.S(i) + i5 + i8;
    }

    public static int i(int i, int i5, int i8, int i9) {
        return T1.S(i) + i5 + i8 + i9;
    }

    public static b j(Object obj) throws Throwable {
        C1.N(obj);
        return new b();
    }

    public static String k(int i, String str, String str2) {
        return str + i + str2;
    }

    public static String l(RecyclerView recyclerView, StringBuilder sb) {
        sb.append(recyclerView.B());
        return sb.toString();
    }

    public static String m(Class cls, StringBuilder sb) {
        sb.append(cls.getCanonicalName());
        return sb.toString();
    }

    public static String n(Object obj, String str) {
        return str + obj;
    }

    public static String o(String str, int i, int i5, String str2) {
        return str + i + str2 + i5;
    }

    public static String p(String str, String str2, String str3) {
        return str + str2 + str3;
    }

    public static String q(StringBuilder sb, long j8, String str) {
        sb.append(j8);
        sb.append(str);
        return sb.toString();
    }

    public static String r(StringBuilder sb, String str, String str2) {
        sb.append(str);
        sb.append(str2);
        return sb.toString();
    }

    public static /* synthetic */ void s(int i) {
        if (i == 0) {
            throw new NullPointerException("null reference");
        }
    }

    public static /* synthetic */ void t(int i, String str) {
        if (i == 0) {
            StackTraceElement[] stackTrace = Thread.currentThread().getStackTrace();
            String name = P6.g.class.getName();
            int i5 = 0;
            while (!stackTrace[i5].getClassName().equals(name)) {
                i5++;
            }
            while (stackTrace[i5].getClassName().equals(name)) {
                i5++;
            }
            StackTraceElement stackTraceElement = stackTrace[i5];
            NullPointerException nullPointerException = new NullPointerException("Parameter specified as non-null is null: method " + stackTraceElement.getClassName() + "." + stackTraceElement.getMethodName() + ", parameter " + str);
            P6.g.g(nullPointerException, P6.g.class.getName());
            throw nullPointerException;
        }
    }

    public static void u(Q1 q12) {
        q12.c().E();
        q12.k();
    }

    public static /* synthetic */ void v(Object obj) {
        if (obj != null) {
            throw new ClassCastException();
        }
    }

    public static void w(C1578n c1578n, F f3) {
        f3.e(new C1579o(c1578n));
    }

    public static int x(int i, int i5, int i8) {
        return C0745k.V(i) + i5 + i8;
    }

    public static int y(int i, int i5, int i8, int i9) {
        return C0745k.W(i) + i5 + i8 + i9;
    }

    public static /* synthetic */ void z(int i) {
        if (i != 0) {
            return;
        }
        NullPointerException nullPointerException = new NullPointerException();
        P6.g.g(nullPointerException, P6.g.class.getName());
        throw nullPointerException;
    }
}
