package qn;

import com.google.android.gms.dynamite.descriptors.com.google.android.gms.measurement.dynamite.ModuleDescriptor;
import hp.a1;
import hp.d1;
import hp.e0;
import hp.f0;
import hp.h1;
import hp.j1;
import hp.m0;
import hp.p1;
import hp.t1;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.EnumMap;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import qn.j;
import tn.g0;
import tn.k0;
import tn.s;
import tn.t0;
import tn.u0;
import tn.v0;
import un.a;
import un.c;
import vn.x;

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

    /* renamed from: g, reason: collision with root package name */
    public static final ro.f f33929g = ro.f.v("<built-ins module>");

    /* renamed from: a, reason: collision with root package name */
    private x f33930a;

    /* renamed from: b, reason: collision with root package name */
    private gp.i f33931b;

    /* renamed from: c, reason: collision with root package name */
    private final gp.i f33932c;

    /* renamed from: d, reason: collision with root package name */
    private final gp.i f33933d;

    /* renamed from: e, reason: collision with root package name */
    private final gp.g f33934e;

    /* renamed from: f, reason: collision with root package name */
    private final gp.n f33935f;

    /* JADX INFO: Access modifiers changed from: package-private */
    /* loaded from: classes3.dex */
    public class a implements dn.a {
        a() {
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public Collection invoke() {
            return Arrays.asList(g.this.r().M(j.f33984y), g.this.r().M(j.A), g.this.r().M(j.B), g.this.r().M(j.f33985z));
        }
    }

    /* loaded from: classes3.dex */
    class b implements dn.a {
        b() {
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public e invoke() {
            EnumMap enumMap = new EnumMap(h.class);
            HashMap hashMap = new HashMap();
            HashMap hashMap2 = new HashMap();
            for (h hVar : h.values()) {
                m0 q10 = g.this.q(hVar.getTypeName().e());
                m0 q11 = g.this.q(hVar.getArrayTypeName().e());
                enumMap.put((EnumMap) hVar, (h) q11);
                hashMap.put(q10, q11);
                hashMap2.put(q11, q10);
            }
            return new e(enumMap, hashMap, hashMap2, null);
        }
    }

    /* loaded from: classes3.dex */
    class c implements dn.l {
        c() {
        }

        @Override // dn.l
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public tn.e invoke(ro.f fVar) {
            tn.h e10 = g.this.s().e(fVar, ao.d.FROM_BUILTINS);
            if (e10 == null) {
                throw new AssertionError("Built-in class " + j.f33984y.c(fVar) + " is not found");
            }
            if (e10 instanceof tn.e) {
                return (tn.e) e10;
            }
            throw new AssertionError("Must be a class descriptor " + fVar + ", but was " + e10);
        }
    }

    /* loaded from: classes3.dex */
    class d implements dn.a {

        /* renamed from: p, reason: collision with root package name */
        final /* synthetic */ x f33939p;

        d(x xVar) {
            this.f33939p = xVar;
        }

        @Override // dn.a
        /* renamed from: a, reason: merged with bridge method [inline-methods] */
        public Void invoke() {
            if (g.this.f33930a == null) {
                g.this.f33930a = this.f33939p;
                return null;
            }
            throw new AssertionError("Built-ins module is already set: " + g.this.f33930a + " (attempting to reset to " + this.f33939p + ")");
        }
    }

    /* JADX INFO: Access modifiers changed from: private */
    /* loaded from: classes3.dex */
    public static class e {

        /* renamed from: a, reason: collision with root package name */
        public final Map f33941a;

        /* renamed from: b, reason: collision with root package name */
        public final Map f33942b;

        /* renamed from: c, reason: collision with root package name */
        public final Map f33943c;

        /* synthetic */ e(Map map, Map map2, Map map3, a aVar) {
            this(map, map2, map3);
        }

        private static /* synthetic */ void a(int i10) {
            Object[] objArr = new Object[3];
            if (i10 == 1) {
                objArr[0] = "primitiveKotlinTypeToKotlinArrayType";
            } else if (i10 != 2) {
                objArr[0] = "primitiveTypeToArrayKotlinType";
            } else {
                objArr[0] = "kotlinArrayTypeToPrimitiveKotlinType";
            }
            objArr[1] = "kotlin/reflect/jvm/internal/impl/builtins/KotlinBuiltIns$Primitives";
            objArr[2] = "<init>";
            throw new IllegalArgumentException(String.format("Argument for @NotNull parameter '%s' of %s.%s must not be null", objArr));
        }

        private e(Map map, Map map2, Map map3) {
            if (map == null) {
                a(0);
            }
            if (map2 == null) {
                a(1);
            }
            if (map3 == null) {
                a(2);
            }
            this.f33941a = map;
            this.f33942b = map2;
            this.f33943c = map3;
        }
    }

    /* JADX INFO: Access modifiers changed from: protected */
    public g(gp.n nVar) {
        if (nVar == null) {
            a(0);
        }
        this.f33935f = nVar;
        this.f33933d = nVar.b(new a());
        this.f33932c = nVar.b(new b());
        this.f33934e = nVar.g(new c());
    }

    private static e0 A(e0 e0Var, g0 g0Var) {
        ro.b k10;
        ro.b a10;
        tn.e a11;
        if (e0Var == null) {
            a(72);
        }
        if (g0Var == null) {
            a(73);
        }
        tn.h p10 = e0Var.K0().p();
        if (p10 == null) {
            return null;
        }
        n nVar = n.f34039a;
        if (!nVar.b(p10.getName()) || (k10 = xo.c.k(p10)) == null || (a10 = nVar.a(k10)) == null || (a11 = tn.x.a(g0Var, a10)) == null) {
            return null;
        }
        return a11.q();
    }

    public static boolean A0(e0 e0Var) {
        if (e0Var == null) {
            a(130);
        }
        return i0(e0Var, j.a.F0.j());
    }

    public static boolean B0(tn.m mVar) {
        if (mVar == null) {
            a(10);
        }
        while (mVar != null) {
            if (mVar instanceof k0) {
                return ((k0) mVar).d().i(j.f33983x);
            }
            mVar = mVar.b();
        }
        return false;
    }

    public static boolean C0(e0 e0Var) {
        if (e0Var == null) {
            a(143);
        }
        return m0(e0Var, j.a.f33996f);
    }

    public static boolean D0(e0 e0Var) {
        if (e0Var == null) {
            a(133);
        }
        return x0(e0Var) || A0(e0Var) || y0(e0Var) || z0(e0Var);
    }

    public static h N(e0 e0Var) {
        if (e0Var == null) {
            a(93);
        }
        tn.h p10 = e0Var.K0().p();
        if (p10 == null) {
            return null;
        }
        return P(p10);
    }

    public static h P(tn.m mVar) {
        if (mVar == null) {
            a(78);
        }
        if (j.a.J0.contains(mVar.getName())) {
            return (h) j.a.L0.get(to.f.m(mVar));
        }
        return null;
    }

    private tn.e Q(h hVar) {
        if (hVar == null) {
            a(16);
        }
        return p(hVar.getTypeName().e());
    }

    public static h S(tn.m mVar) {
        if (mVar == null) {
            a(77);
        }
        if (j.a.I0.contains(mVar.getName())) {
            return (h) j.a.K0.get(to.f.m(mVar));
        }
        return null;
    }

    private static /* synthetic */ void a(int i10) {
        String str;
        int i11;
        switch (i10) {
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 11:
            case 13:
            case 15:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
            case 23:
            case 24:
            case 25:
            case 26:
            case 27:
            case 28:
            case 29:
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
            case 45:
            case 46:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 55:
            case 56:
            case 57:
            case 58:
            case 59:
            case 60:
            case 61:
            case 62:
            case 63:
            case 64:
            case 65:
            case 66:
            case 67:
            case 69:
            case 70:
            case 71:
            case 75:
            case 82:
            case 85:
            case 87:
            case 88:
                str = "@NotNull method %s.%s must not return null";
                break;
            case 9:
            case 10:
            case 12:
            case 14:
            case 16:
            case 17:
            case 47:
            case 54:
            case 68:
            case 72:
            case 73:
            case 74:
            case 76:
            case 77:
            case 78:
            case 79:
            case 80:
            case 81:
            case 83:
            case 84:
            case 86:
            default:
                str = "Argument for @NotNull parameter '%s' of %s.%s must not be null";
                break;
        }
        switch (i10) {
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 11:
            case 13:
            case 15:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
            case 23:
            case 24:
            case 25:
            case 26:
            case 27:
            case 28:
            case 29:
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
            case 45:
            case 46:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 55:
            case 56:
            case 57:
            case 58:
            case 59:
            case 60:
            case 61:
            case 62:
            case 63:
            case 64:
            case 65:
            case 66:
            case 67:
            case 69:
            case 70:
            case 71:
            case 75:
            case 82:
            case 85:
            case 87:
            case 88:
                i11 = 2;
                break;
            case 9:
            case 10:
            case 12:
            case 14:
            case 16:
            case 17:
            case 47:
            case 54:
            case 68:
            case 72:
            case 73:
            case 74:
            case 76:
            case 77:
            case 78:
            case 79:
            case 80:
            case 81:
            case 83:
            case 84:
            case 86:
            default:
                i11 = 3;
                break;
        }
        Object[] objArr = new Object[i11];
        switch (i10) {
            case 1:
            case 73:
                objArr[0] = "module";
                break;
            case 2:
                objArr[0] = "computation";
                break;
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 11:
            case 13:
            case 15:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
            case 23:
            case 24:
            case 25:
            case 26:
            case 27:
            case 28:
            case 29:
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
            case 45:
            case 46:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 55:
            case 56:
            case 57:
            case 58:
            case 59:
            case 60:
            case 61:
            case 62:
            case 63:
            case 64:
            case 65:
            case 66:
            case 67:
            case 69:
            case 70:
            case 71:
            case 75:
            case 82:
            case 85:
            case 87:
            case 88:
                objArr[0] = "kotlin/reflect/jvm/internal/impl/builtins/KotlinBuiltIns";
                break;
            case 9:
            case 10:
            case 77:
            case 78:
            case 90:
            case 97:
            case 104:
            case 108:
            case 109:
            case 144:
            case 147:
            case 148:
            case 150:
            case 158:
            case 159:
            case 160:
            case 161:
                objArr[0] = "descriptor";
                break;
            case 12:
            case 99:
            case 101:
            case 103:
            case 105:
            case 107:
            case 136:
                objArr[0] = "fqName";
                break;
            case 14:
                objArr[0] = "simpleName";
                break;
            case 16:
            case 17:
            case 54:
            case 89:
            case 91:
            case 92:
            case 93:
            case 94:
            case 95:
            case 96:
            case 98:
            case 100:
            case 106:
            case 110:
            case 111:
            case 112:
            case 114:
            case 115:
            case 116:
            case 117:
            case 118:
            case 119:
            case 120:
            case 121:
            case 122:
            case 123:
            case 124:
            case 125:
            case 126:
            case ModuleDescriptor.MODULE_VERSION /* 127 */:
            case 128:
            case 129:
            case 130:
            case 131:
            case 132:
            case 133:
            case 134:
            case 135:
            case 137:
            case 138:
            case 139:
            case 140:
            case 141:
            case 142:
            case 143:
            case 145:
            case 146:
            case 149:
            case 151:
            case 152:
            case 153:
            case 154:
            case 155:
            case 156:
            case 157:
            case 163:
                objArr[0] = "type";
                break;
            case 47:
                objArr[0] = "classSimpleName";
                break;
            case 68:
                objArr[0] = "arrayType";
                break;
            case 72:
                objArr[0] = "notNullArrayType";
                break;
            case 74:
                objArr[0] = "primitiveType";
                break;
            case 76:
                objArr[0] = "kotlinType";
                break;
            case 79:
            case 83:
                objArr[0] = "projectionType";
                break;
            case 80:
            case 84:
            case 86:
                objArr[0] = "argument";
                break;
            case 81:
                objArr[0] = "annotations";
                break;
            case 102:
                objArr[0] = "typeConstructor";
                break;
            case 113:
                objArr[0] = "classDescriptor";
                break;
            case 162:
                objArr[0] = "declarationDescriptor";
                break;
            default:
                objArr[0] = "storageManager";
                break;
        }
        switch (i10) {
            case 3:
                objArr[1] = "getAdditionalClassPartsProvider";
                break;
            case 4:
                objArr[1] = "getPlatformDependentDeclarationFilter";
                break;
            case 5:
                objArr[1] = "getClassDescriptorFactories";
                break;
            case 6:
                objArr[1] = "getStorageManager";
                break;
            case 7:
                objArr[1] = "getBuiltInsModule";
                break;
            case 8:
                objArr[1] = "getBuiltInPackagesImportedByDefault";
                break;
            case 9:
            case 10:
            case 12:
            case 14:
            case 16:
            case 17:
            case 47:
            case 54:
            case 68:
            case 72:
            case 73:
            case 74:
            case 76:
            case 77:
            case 78:
            case 79:
            case 80:
            case 81:
            case 83:
            case 84:
            case 86:
            default:
                objArr[1] = "kotlin/reflect/jvm/internal/impl/builtins/KotlinBuiltIns";
                break;
            case 11:
                objArr[1] = "getBuiltInsPackageScope";
                break;
            case 13:
                objArr[1] = "getBuiltInClassByFqName";
                break;
            case 15:
                objArr[1] = "getBuiltInClassByName";
                break;
            case 18:
                objArr[1] = "getSuspendFunction";
                break;
            case 19:
                objArr[1] = "getKFunction";
                break;
            case 20:
                objArr[1] = "getKSuspendFunction";
                break;
            case 21:
                objArr[1] = "getKClass";
                break;
            case 22:
                objArr[1] = "getKType";
                break;
            case 23:
                objArr[1] = "getKCallable";
                break;
            case 24:
                objArr[1] = "getKProperty";
                break;
            case 25:
                objArr[1] = "getKProperty0";
                break;
            case 26:
                objArr[1] = "getKProperty1";
                break;
            case 27:
                objArr[1] = "getKProperty2";
                break;
            case 28:
                objArr[1] = "getKMutableProperty0";
                break;
            case 29:
                objArr[1] = "getKMutableProperty1";
                break;
            case 30:
                objArr[1] = "getKMutableProperty2";
                break;
            case 31:
                objArr[1] = "getIterator";
                break;
            case 32:
                objArr[1] = "getIterable";
                break;
            case 33:
                objArr[1] = "getMutableIterable";
                break;
            case 34:
                objArr[1] = "getMutableIterator";
                break;
            case 35:
                objArr[1] = "getCollection";
                break;
            case 36:
                objArr[1] = "getMutableCollection";
                break;
            case 37:
                objArr[1] = "getList";
                break;
            case 38:
                objArr[1] = "getMutableList";
                break;
            case 39:
                objArr[1] = "getSet";
                break;
            case 40:
                objArr[1] = "getMutableSet";
                break;
            case 41:
                objArr[1] = "getMap";
                break;
            case 42:
                objArr[1] = "getMutableMap";
                break;
            case 43:
                objArr[1] = "getMapEntry";
                break;
            case 44:
                objArr[1] = "getMutableMapEntry";
                break;
            case 45:
                objArr[1] = "getListIterator";
                break;
            case 46:
                objArr[1] = "getMutableListIterator";
                break;
            case 48:
                objArr[1] = "getBuiltInTypeByClassName";
                break;
            case 49:
                objArr[1] = "getNothingType";
                break;
            case 50:
                objArr[1] = "getNullableNothingType";
                break;
            case 51:
                objArr[1] = "getAnyType";
                break;
            case 52:
                objArr[1] = "getNullableAnyType";
                break;
            case 53:
                objArr[1] = "getDefaultBound";
                break;
            case 55:
                objArr[1] = "getPrimitiveKotlinType";
                break;
            case 56:
                objArr[1] = "getNumberType";
                break;
            case 57:
                objArr[1] = "getByteType";
                break;
            case 58:
                objArr[1] = "getShortType";
                break;
            case 59:
                objArr[1] = "getIntType";
                break;
            case 60:
                objArr[1] = "getLongType";
                break;
            case 61:
                objArr[1] = "getFloatType";
                break;
            case 62:
                objArr[1] = "getDoubleType";
                break;
            case 63:
                objArr[1] = "getCharType";
                break;
            case 64:
                objArr[1] = "getBooleanType";
                break;
            case 65:
                objArr[1] = "getUnitType";
                break;
            case 66:
                objArr[1] = "getStringType";
                break;
            case 67:
                objArr[1] = "getIterableType";
                break;
            case 69:
            case 70:
            case 71:
                objArr[1] = "getArrayElementType";
                break;
            case 75:
                objArr[1] = "getPrimitiveArrayKotlinType";
                break;
            case 82:
            case 85:
                objArr[1] = "getArrayType";
                break;
            case 87:
                objArr[1] = "getEnumType";
                break;
            case 88:
                objArr[1] = "getAnnotationType";
                break;
        }
        switch (i10) {
            case 1:
                objArr[2] = "setBuiltInsModule";
                break;
            case 2:
                objArr[2] = "setPostponedBuiltinsModuleComputation";
                break;
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 11:
            case 13:
            case 15:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
            case 23:
            case 24:
            case 25:
            case 26:
            case 27:
            case 28:
            case 29:
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
            case 45:
            case 46:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 55:
            case 56:
            case 57:
            case 58:
            case 59:
            case 60:
            case 61:
            case 62:
            case 63:
            case 64:
            case 65:
            case 66:
            case 67:
            case 69:
            case 70:
            case 71:
            case 75:
            case 82:
            case 85:
            case 87:
            case 88:
                break;
            case 9:
                objArr[2] = "isBuiltIn";
                break;
            case 10:
                objArr[2] = "isUnderKotlinPackage";
                break;
            case 12:
                objArr[2] = "getBuiltInClassByFqName";
                break;
            case 14:
                objArr[2] = "getBuiltInClassByName";
                break;
            case 16:
                objArr[2] = "getPrimitiveClassDescriptor";
                break;
            case 17:
                objArr[2] = "getPrimitiveArrayClassDescriptor";
                break;
            case 47:
                objArr[2] = "getBuiltInTypeByClassName";
                break;
            case 54:
                objArr[2] = "getPrimitiveKotlinType";
                break;
            case 68:
                objArr[2] = "getArrayElementType";
                break;
            case 72:
            case 73:
                objArr[2] = "getElementTypeForUnsignedArray";
                break;
            case 74:
                objArr[2] = "getPrimitiveArrayKotlinType";
                break;
            case 76:
                objArr[2] = "getPrimitiveArrayKotlinTypeByPrimitiveKotlinType";
                break;
            case 77:
            case 94:
                objArr[2] = "getPrimitiveType";
                break;
            case 78:
                objArr[2] = "getPrimitiveArrayType";
                break;
            case 79:
            case 80:
            case 81:
            case 83:
            case 84:
                objArr[2] = "getArrayType";
                break;
            case 86:
                objArr[2] = "getEnumType";
                break;
            case 89:
                objArr[2] = "isArray";
                break;
            case 90:
            case 91:
                objArr[2] = "isArrayOrPrimitiveArray";
                break;
            case 92:
                objArr[2] = "isPrimitiveArray";
                break;
            case 93:
                objArr[2] = "getPrimitiveArrayElementType";
                break;
            case 95:
                objArr[2] = "isPrimitiveType";
                break;
            case 96:
                objArr[2] = "isPrimitiveTypeOrNullablePrimitiveType";
                break;
            case 97:
                objArr[2] = "isPrimitiveClass";
                break;
            case 98:
            case 99:
            case 100:
            case 101:
                objArr[2] = "isConstructedFromGivenClass";
                break;
            case 102:
            case 103:
                objArr[2] = "isTypeConstructorForGivenClass";
                break;
            case 104:
            case 105:
                objArr[2] = "classFqNameEquals";
                break;
            case 106:
            case 107:
                objArr[2] = "isNotNullConstructedFromGivenClass";
                break;
            case 108:
                objArr[2] = "isSpecialClassWithNoSupertypes";
                break;
            case 109:
            case 110:
                objArr[2] = "isAny";
                break;
            case 111:
            case 113:
                objArr[2] = "isBoolean";
                break;
            case 112:
                objArr[2] = "isBooleanOrNullableBoolean";
                break;
            case 114:
                objArr[2] = "isNumber";
                break;
            case 115:
                objArr[2] = "isChar";
                break;
            case 116:
                objArr[2] = "isCharOrNullableChar";
                break;
            case 117:
                objArr[2] = "isInt";
                break;
            case 118:
                objArr[2] = "isByte";
                break;
            case 119:
                objArr[2] = "isLong";
                break;
            case 120:
                objArr[2] = "isLongOrNullableLong";
                break;
            case 121:
                objArr[2] = "isShort";
                break;
            case 122:
                objArr[2] = "isFloat";
                break;
            case 123:
                objArr[2] = "isFloatOrNullableFloat";
                break;
            case 124:
                objArr[2] = "isDouble";
                break;
            case 125:
                objArr[2] = "isUByte";
                break;
            case 126:
                objArr[2] = "isUShort";
                break;
            case ModuleDescriptor.MODULE_VERSION /* 127 */:
                objArr[2] = "isUInt";
                break;
            case 128:
                objArr[2] = "isULong";
                break;
            case 129:
                objArr[2] = "isUByteArray";
                break;
            case 130:
                objArr[2] = "isUShortArray";
                break;
            case 131:
                objArr[2] = "isUIntArray";
                break;
            case 132:
                objArr[2] = "isULongArray";
                break;
            case 133:
                objArr[2] = "isUnsignedArrayType";
                break;
            case 134:
                objArr[2] = "isDoubleOrNullableDouble";
                break;
            case 135:
            case 136:
                objArr[2] = "isConstructedFromGivenClassAndNotNullable";
                break;
            case 137:
                objArr[2] = "isNothing";
                break;
            case 138:
                objArr[2] = "isNullableNothing";
                break;
            case 139:
                objArr[2] = "isNothingOrNullableNothing";
                break;
            case 140:
                objArr[2] = "isAnyOrNullableAny";
                break;
            case 141:
                objArr[2] = "isNullableAny";
                break;
            case 142:
                objArr[2] = "isDefaultBound";
                break;
            case 143:
                objArr[2] = "isUnit";
                break;
            case 144:
                objArr[2] = "mayReturnNonUnitValue";
                break;
            case 145:
                objArr[2] = "isUnitOrNullableUnit";
                break;
            case 146:
                objArr[2] = "isBooleanOrSubtype";
                break;
            case 147:
                objArr[2] = "isMemberOfAny";
                break;
            case 148:
            case 149:
                objArr[2] = "isEnum";
                break;
            case 150:
            case 151:
                objArr[2] = "isComparable";
                break;
            case 152:
                objArr[2] = "isCollectionOrNullableCollection";
                break;
            case 153:
                objArr[2] = "isListOrNullableList";
                break;
            case 154:
                objArr[2] = "isSetOrNullableSet";
                break;
            case 155:
                objArr[2] = "isMapOrNullableMap";
                break;
            case 156:
                objArr[2] = "isIterableOrNullableIterable";
                break;
            case 157:
                objArr[2] = "isThrowableOrNullableThrowable";
                break;
            case 158:
                objArr[2] = "isThrowable";
                break;
            case 159:
                objArr[2] = "isKClass";
                break;
            case 160:
                objArr[2] = "isNonPrimitiveArray";
                break;
            case 161:
                objArr[2] = "isCloneable";
                break;
            case 162:
                objArr[2] = "isDeprecated";
                break;
            case 163:
                objArr[2] = "isNotNullOrNullableFunctionSupertype";
                break;
            default:
                objArr[2] = "<init>";
                break;
        }
        String format = String.format(str, objArr);
        switch (i10) {
            case 3:
            case 4:
            case 5:
            case 6:
            case 7:
            case 8:
            case 11:
            case 13:
            case 15:
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
            case 23:
            case 24:
            case 25:
            case 26:
            case 27:
            case 28:
            case 29:
            case 30:
            case 31:
            case 32:
            case 33:
            case 34:
            case 35:
            case 36:
            case 37:
            case 38:
            case 39:
            case 40:
            case 41:
            case 42:
            case 43:
            case 44:
            case 45:
            case 46:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 55:
            case 56:
            case 57:
            case 58:
            case 59:
            case 60:
            case 61:
            case 62:
            case 63:
            case 64:
            case 65:
            case 66:
            case 67:
            case 69:
            case 70:
            case 71:
            case 75:
            case 82:
            case 85:
            case 87:
            case 88:
                throw new IllegalStateException(format);
            case 9:
            case 10:
            case 12:
            case 14:
            case 16:
            case 17:
            case 47:
            case 54:
            case 68:
            case 72:
            case 73:
            case 74:
            case 76:
            case 77:
            case 78:
            case 79:
            case 80:
            case 81:
            case 83:
            case 84:
            case 86:
            default:
                throw new IllegalArgumentException(format);
        }
    }

    public static boolean a0(tn.e eVar) {
        if (eVar == null) {
            a(109);
        }
        return e(eVar, j.a.f33988b);
    }

    public static boolean b0(e0 e0Var) {
        if (e0Var == null) {
            a(140);
        }
        return h0(e0Var, j.a.f33988b);
    }

    public static boolean c0(e0 e0Var) {
        if (e0Var == null) {
            a(89);
        }
        return h0(e0Var, j.a.f34002i);
    }

    public static boolean d0(e0 e0Var) {
        if (e0Var == null) {
            a(91);
        }
        return c0(e0Var) || q0(e0Var);
    }

    private static boolean e(tn.h hVar, ro.d dVar) {
        if (hVar == null) {
            a(104);
        }
        if (dVar == null) {
            a(105);
        }
        return hVar.getName().equals(dVar.i()) && dVar.equals(to.f.m(hVar));
    }

    public static boolean e0(tn.e eVar) {
        if (eVar == null) {
            a(90);
        }
        return e(eVar, j.a.f34002i) || P(eVar) != null;
    }

    public static boolean f0(e0 e0Var) {
        if (e0Var == null) {
            a(111);
        }
        return i0(e0Var, j.a.f34004j);
    }

    public static boolean g0(tn.m mVar) {
        if (mVar == null) {
            a(9);
        }
        return to.f.r(mVar, qn.b.class, false) != null;
    }

    private static boolean h0(e0 e0Var, ro.d dVar) {
        if (e0Var == null) {
            a(98);
        }
        if (dVar == null) {
            a(99);
        }
        return w0(e0Var.K0(), dVar);
    }

    private static boolean i0(e0 e0Var, ro.d dVar) {
        if (e0Var == null) {
            a(135);
        }
        if (dVar == null) {
            a(136);
        }
        return h0(e0Var, dVar) && !e0Var.L0();
    }

    public static boolean j0(e0 e0Var) {
        if (e0Var == null) {
            a(142);
        }
        return p0(e0Var);
    }

    public static boolean k0(tn.m mVar) {
        if (mVar == null) {
            a(162);
        }
        if (mVar.a().getAnnotations().p0(j.a.f34034y)) {
            return true;
        }
        if (!(mVar instanceof t0)) {
            return false;
        }
        t0 t0Var = (t0) mVar;
        boolean e02 = t0Var.e0();
        u0 getter = t0Var.getGetter();
        v0 f10 = t0Var.f();
        if (getter != null && k0(getter)) {
            if (!e02) {
                return true;
            }
            if (f10 != null && k0(f10)) {
                return true;
            }
        }
        return false;
    }

    public static boolean l0(tn.e eVar) {
        if (eVar == null) {
            a(159);
        }
        return e(eVar, j.a.f34005j0);
    }

    private static boolean m0(e0 e0Var, ro.d dVar) {
        if (e0Var == null) {
            a(106);
        }
        if (dVar == null) {
            a(107);
        }
        return !e0Var.L0() && h0(e0Var, dVar);
    }

    public static boolean n0(e0 e0Var) {
        if (e0Var == null) {
            a(137);
        }
        return o0(e0Var) && !p1.l(e0Var);
    }

    public static boolean o0(e0 e0Var) {
        if (e0Var == null) {
            a(139);
        }
        return h0(e0Var, j.a.f33990c);
    }

    private tn.e p(String str) {
        if (str == null) {
            a(14);
        }
        tn.e eVar = (tn.e) this.f33934e.invoke(ro.f.s(str));
        if (eVar == null) {
            a(15);
        }
        return eVar;
    }

    public static boolean p0(e0 e0Var) {
        if (e0Var == null) {
            a(141);
        }
        return b0(e0Var) && e0Var.L0();
    }

    /* JADX INFO: Access modifiers changed from: private */
    public m0 q(String str) {
        if (str == null) {
            a(47);
        }
        m0 q10 = p(str).q();
        if (q10 == null) {
            a(48);
        }
        return q10;
    }

    public static boolean q0(e0 e0Var) {
        if (e0Var == null) {
            a(92);
        }
        tn.h p10 = e0Var.K0().p();
        return (p10 == null || P(p10) == null) ? false : true;
    }

    public static boolean r0(tn.e eVar) {
        if (eVar == null) {
            a(97);
        }
        return S(eVar) != null;
    }

    public static boolean s0(e0 e0Var) {
        if (e0Var == null) {
            a(95);
        }
        return !e0Var.L0() && t0(e0Var);
    }

    public static boolean t0(e0 e0Var) {
        if (e0Var == null) {
            a(96);
        }
        tn.h p10 = e0Var.K0().p();
        return (p10 instanceof tn.e) && r0((tn.e) p10);
    }

    public static boolean u0(tn.e eVar) {
        if (eVar == null) {
            a(108);
        }
        return e(eVar, j.a.f33988b) || e(eVar, j.a.f33990c);
    }

    public static boolean v0(e0 e0Var) {
        return e0Var != null && m0(e0Var, j.a.f34000h);
    }

    public static boolean w0(d1 d1Var, ro.d dVar) {
        if (d1Var == null) {
            a(102);
        }
        if (dVar == null) {
            a(103);
        }
        tn.h p10 = d1Var.p();
        return (p10 instanceof tn.e) && e(p10, dVar);
    }

    public static boolean x0(e0 e0Var) {
        if (e0Var == null) {
            a(129);
        }
        return i0(e0Var, j.a.E0.j());
    }

    public static boolean y0(e0 e0Var) {
        if (e0Var == null) {
            a(131);
        }
        return i0(e0Var, j.a.G0.j());
    }

    public static boolean z0(e0 e0Var) {
        if (e0Var == null) {
            a(132);
        }
        return i0(e0Var, j.a.H0.j());
    }

    public m0 B() {
        m0 R = R(h.FLOAT);
        if (R == null) {
            a(61);
        }
        return R;
    }

    public tn.e C(int i10) {
        return p(j.b(i10));
    }

    public m0 D() {
        m0 R = R(h.INT);
        if (R == null) {
            a(59);
        }
        return R;
    }

    public tn.e E() {
        tn.e o10 = o(j.a.f34005j0.l());
        if (o10 == null) {
            a(21);
        }
        return o10;
    }

    public void E0(x xVar) {
        if (xVar == null) {
            a(1);
        }
        this.f33935f.i(new d(xVar));
    }

    public m0 F() {
        m0 R = R(h.LONG);
        if (R == null) {
            a(60);
        }
        return R;
    }

    public tn.e G() {
        return p("Nothing");
    }

    public m0 H() {
        m0 q10 = G().q();
        if (q10 == null) {
            a(49);
        }
        return q10;
    }

    public m0 I() {
        m0 O0 = i().O0(true);
        if (O0 == null) {
            a(52);
        }
        return O0;
    }

    public m0 J() {
        m0 O0 = H().O0(true);
        if (O0 == null) {
            a(50);
        }
        return O0;
    }

    public tn.e K() {
        return p("Number");
    }

    public m0 L() {
        m0 q10 = K().q();
        if (q10 == null) {
            a(56);
        }
        return q10;
    }

    protected un.c M() {
        c.b bVar = c.b.f37351a;
        if (bVar == null) {
            a(4);
        }
        return bVar;
    }

    public m0 O(h hVar) {
        if (hVar == null) {
            a(74);
        }
        m0 m0Var = (m0) ((e) this.f33932c.invoke()).f33941a.get(hVar);
        if (m0Var == null) {
            a(75);
        }
        return m0Var;
    }

    public m0 R(h hVar) {
        if (hVar == null) {
            a(54);
        }
        m0 q10 = Q(hVar).q();
        if (q10 == null) {
            a(55);
        }
        return q10;
    }

    public m0 T() {
        m0 R = R(h.SHORT);
        if (R == null) {
            a(58);
        }
        return R;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    public gp.n U() {
        gp.n nVar = this.f33935f;
        if (nVar == null) {
            a(6);
        }
        return nVar;
    }

    public tn.e V() {
        return p("String");
    }

    public m0 W() {
        m0 q10 = V().q();
        if (q10 == null) {
            a(66);
        }
        return q10;
    }

    public tn.e X(int i10) {
        tn.e o10 = o(j.f33976q.c(ro.f.s(j.d(i10))));
        if (o10 == null) {
            a(18);
        }
        return o10;
    }

    public tn.e Y() {
        return p("Unit");
    }

    public m0 Z() {
        m0 q10 = Y().q();
        if (q10 == null) {
            a(65);
        }
        return q10;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    public void f(boolean z10) {
        x xVar = new x(f33929g, this.f33935f, this, null);
        this.f33930a = xVar;
        xVar.P0(qn.a.f33920a.a().a(this.f33935f, this.f33930a, v(), M(), g(), z10));
        x xVar2 = this.f33930a;
        xVar2.V0(xVar2);
    }

    protected un.a g() {
        a.C0899a c0899a = a.C0899a.f37349a;
        if (c0899a == null) {
            a(3);
        }
        return c0899a;
    }

    public tn.e h() {
        return p("Any");
    }

    public m0 i() {
        m0 q10 = h().q();
        if (q10 == null) {
            a(51);
        }
        return q10;
    }

    public tn.e j() {
        return p("Array");
    }

    public e0 k(e0 e0Var) {
        e0 A;
        if (e0Var == null) {
            a(68);
        }
        if (c0(e0Var)) {
            if (e0Var.I0().size() != 1) {
                throw new IllegalStateException();
            }
            e0 type = ((h1) e0Var.I0().get(0)).getType();
            if (type == null) {
                a(69);
            }
            return type;
        }
        e0 n10 = p1.n(e0Var);
        e0 e0Var2 = (e0) ((e) this.f33932c.invoke()).f33943c.get(n10);
        if (e0Var2 != null) {
            return e0Var2;
        }
        g0 h10 = to.f.h(n10);
        if (h10 != null && (A = A(n10, h10)) != null) {
            return A;
        }
        throw new IllegalStateException("not array: " + e0Var);
    }

    public m0 l(t1 t1Var, e0 e0Var) {
        if (t1Var == null) {
            a(83);
        }
        if (e0Var == null) {
            a(84);
        }
        m0 m10 = m(t1Var, e0Var, kotlin.reflect.jvm.internal.impl.descriptors.annotations.g.f26219f.b());
        if (m10 == null) {
            a(85);
        }
        return m10;
    }

    public m0 m(t1 t1Var, e0 e0Var, kotlin.reflect.jvm.internal.impl.descriptors.annotations.g gVar) {
        if (t1Var == null) {
            a(79);
        }
        if (e0Var == null) {
            a(80);
        }
        if (gVar == null) {
            a(81);
        }
        m0 g10 = f0.g(a1.b(gVar), j(), Collections.singletonList(new j1(t1Var, e0Var)));
        if (g10 == null) {
            a(82);
        }
        return g10;
    }

    public m0 n() {
        m0 R = R(h.BOOLEAN);
        if (R == null) {
            a(64);
        }
        return R;
    }

    public tn.e o(ro.c cVar) {
        if (cVar == null) {
            a(12);
        }
        tn.e d10 = s.d(r(), cVar, ao.d.FROM_BUILTINS);
        if (d10 == null) {
            a(13);
        }
        return d10;
    }

    public x r() {
        if (this.f33930a == null) {
            this.f33930a = (x) this.f33931b.invoke();
        }
        x xVar = this.f33930a;
        if (xVar == null) {
            a(7);
        }
        return xVar;
    }

    public ap.h s() {
        ap.h o10 = r().M(j.f33984y).o();
        if (o10 == null) {
            a(11);
        }
        return o10;
    }

    public m0 t() {
        m0 R = R(h.BYTE);
        if (R == null) {
            a(57);
        }
        return R;
    }

    public m0 u() {
        m0 R = R(h.CHAR);
        if (R == null) {
            a(63);
        }
        return R;
    }

    /* JADX INFO: Access modifiers changed from: protected */
    public Iterable v() {
        List singletonList = Collections.singletonList(new rn.a(this.f33935f, r()));
        if (singletonList == null) {
            a(5);
        }
        return singletonList;
    }

    public tn.e w() {
        tn.e o10 = o(j.a.V);
        if (o10 == null) {
            a(35);
        }
        return o10;
    }

    public tn.e x() {
        return p("Comparable");
    }

    public m0 y() {
        m0 I = I();
        if (I == null) {
            a(53);
        }
        return I;
    }

    public m0 z() {
        m0 R = R(h.DOUBLE);
        if (R == null) {
            a(62);
        }
        return R;
    }
}
