package dp;

import tn.b;

/* loaded from: classes3.dex */
public abstract class c0 {

    /* loaded from: classes3.dex */
    public /* synthetic */ class a {

        /* renamed from: a, reason: collision with root package name */
        public static final /* synthetic */ int[] f16414a;

        /* renamed from: b, reason: collision with root package name */
        public static final /* synthetic */ int[] f16415b;

        /* renamed from: c, reason: collision with root package name */
        public static final /* synthetic */ int[] f16416c;

        static {
            int[] iArr = new int[mo.j.values().length];
            try {
                iArr[mo.j.DECLARATION.ordinal()] = 1;
            } catch (NoSuchFieldError unused) {
            }
            try {
                iArr[mo.j.FAKE_OVERRIDE.ordinal()] = 2;
            } catch (NoSuchFieldError unused2) {
            }
            try {
                iArr[mo.j.DELEGATION.ordinal()] = 3;
            } catch (NoSuchFieldError unused3) {
            }
            try {
                iArr[mo.j.SYNTHESIZED.ordinal()] = 4;
            } catch (NoSuchFieldError unused4) {
            }
            f16414a = iArr;
            int[] iArr2 = new int[b.a.values().length];
            try {
                iArr2[b.a.DECLARATION.ordinal()] = 1;
            } catch (NoSuchFieldError unused5) {
            }
            try {
                iArr2[b.a.FAKE_OVERRIDE.ordinal()] = 2;
            } catch (NoSuchFieldError unused6) {
            }
            try {
                iArr2[b.a.DELEGATION.ordinal()] = 3;
            } catch (NoSuchFieldError unused7) {
            }
            try {
                iArr2[b.a.SYNTHESIZED.ordinal()] = 4;
            } catch (NoSuchFieldError unused8) {
            }
            f16415b = iArr2;
            int[] iArr3 = new int[mo.x.values().length];
            try {
                iArr3[mo.x.INTERNAL.ordinal()] = 1;
            } catch (NoSuchFieldError unused9) {
            }
            try {
                iArr3[mo.x.PRIVATE.ordinal()] = 2;
            } catch (NoSuchFieldError unused10) {
            }
            try {
                iArr3[mo.x.PRIVATE_TO_THIS.ordinal()] = 3;
            } catch (NoSuchFieldError unused11) {
            }
            try {
                iArr3[mo.x.PROTECTED.ordinal()] = 4;
            } catch (NoSuchFieldError unused12) {
            }
            try {
                iArr3[mo.x.PUBLIC.ordinal()] = 5;
            } catch (NoSuchFieldError unused13) {
            }
            try {
                iArr3[mo.x.LOCAL.ordinal()] = 6;
            } catch (NoSuchFieldError unused14) {
            }
            f16416c = iArr3;
        }
    }

    public static final tn.u a(b0 b0Var, mo.x xVar) {
        kotlin.jvm.internal.t.g(b0Var, "<this>");
        switch (xVar == null ? -1 : a.f16416c[xVar.ordinal()]) {
            case 1:
                tn.u INTERNAL = tn.t.f36413d;
                kotlin.jvm.internal.t.f(INTERNAL, "INTERNAL");
                return INTERNAL;
            case 2:
                tn.u PRIVATE = tn.t.f36410a;
                kotlin.jvm.internal.t.f(PRIVATE, "PRIVATE");
                return PRIVATE;
            case 3:
                tn.u PRIVATE_TO_THIS = tn.t.f36411b;
                kotlin.jvm.internal.t.f(PRIVATE_TO_THIS, "PRIVATE_TO_THIS");
                return PRIVATE_TO_THIS;
            case 4:
                tn.u PROTECTED = tn.t.f36412c;
                kotlin.jvm.internal.t.f(PROTECTED, "PROTECTED");
                return PROTECTED;
            case 5:
                tn.u PUBLIC = tn.t.f36414e;
                kotlin.jvm.internal.t.f(PUBLIC, "PUBLIC");
                return PUBLIC;
            case 6:
                tn.u LOCAL = tn.t.f36415f;
                kotlin.jvm.internal.t.f(LOCAL, "LOCAL");
                return LOCAL;
            default:
                tn.u PRIVATE2 = tn.t.f36410a;
                kotlin.jvm.internal.t.f(PRIVATE2, "PRIVATE");
                return PRIVATE2;
        }
    }

    public static final b.a b(b0 b0Var, mo.j jVar) {
        kotlin.jvm.internal.t.g(b0Var, "<this>");
        int i10 = jVar == null ? -1 : a.f16414a[jVar.ordinal()];
        return i10 != 1 ? i10 != 2 ? i10 != 3 ? i10 != 4 ? b.a.DECLARATION : b.a.SYNTHESIZED : b.a.DELEGATION : b.a.FAKE_OVERRIDE : b.a.DECLARATION;
    }
}
