package p402.p411.p413;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import kotlin.jvm.internal.DefaultConstructorMarker;
import p138.p176.p177.p242.p246.p251.C4303;
import p402.C6541;
import p402.InterfaceC6535;
import p402.InterfaceC6540;
import p402.p403.C6560;
import p402.p403.C6564;
import p402.p411.p412.InterfaceC6603;
import p402.p411.p412.InterfaceC6604;
import p402.p411.p412.InterfaceC6605;
import p402.p411.p412.InterfaceC6606;
import p402.p411.p412.InterfaceC6607;
import p402.p411.p412.InterfaceC6608;
import p402.p411.p412.InterfaceC6609;
import p402.p411.p412.InterfaceC6610;
import p402.p411.p412.InterfaceC6611;
import p402.p411.p412.InterfaceC6612;
import p402.p411.p412.InterfaceC6613;
import p402.p411.p412.InterfaceC6614;
import p402.p411.p412.InterfaceC6615;
import p402.p411.p412.InterfaceC6616;
import p402.p411.p412.InterfaceC6617;
import p402.p411.p412.InterfaceC6618;
import p402.p411.p412.InterfaceC6619;
import p402.p411.p412.InterfaceC6620;
import p402.p411.p412.InterfaceC6621;
import p402.p411.p412.InterfaceC6622;
import p402.p411.p412.InterfaceC6623;
import p402.p411.p412.InterfaceC6624;
import p402.p411.p412.InterfaceC6625;
import p402.p418.InterfaceC6666;
import p402.p420.C6703;

/* JADX INFO: renamed from: ގ.ގ.ހ.ށ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public final class C6630 implements InterfaceC6666<Object>, InterfaceC6629 {

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public static final Map<Class<? extends InterfaceC6535<?>>, Integer> f19388;

    /* JADX INFO: renamed from: ހ, reason: contains not printable characters */
    public static final HashMap<String, String> f19389;

    /* JADX INFO: renamed from: ށ, reason: contains not printable characters */
    public static final HashMap<String, String> f19390;

    /* JADX INFO: renamed from: ނ, reason: contains not printable characters */
    public static final HashMap<String, String> f19391;

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public final Class<?> f19392;

    /* JADX INFO: renamed from: ގ.ގ.ހ.ށ$֏, reason: contains not printable characters */
    public static final class C6631 {
        public C6631() {
        }

        public /* synthetic */ C6631(DefaultConstructorMarker defaultConstructorMarker) {
        }
    }

    static {
        Map<Class<? extends InterfaceC6535<?>>, Integer> mapSingletonMap;
        new C6631(null);
        List listM7158 = C4303.m7158((Object[]) new Class[]{InterfaceC6603.class, InterfaceC6614.class, InterfaceC6618.class, InterfaceC6619.class, InterfaceC6620.class, InterfaceC6621.class, InterfaceC6622.class, InterfaceC6623.class, InterfaceC6624.class, InterfaceC6625.class, InterfaceC6604.class, InterfaceC6605.class, InterfaceC6606.class, InterfaceC6607.class, InterfaceC6608.class, InterfaceC6609.class, InterfaceC6610.class, InterfaceC6611.class, InterfaceC6612.class, InterfaceC6613.class, InterfaceC6615.class, InterfaceC6616.class, InterfaceC6617.class});
        ArrayList arrayList = new ArrayList(C4303.m6985(listM7158, 10));
        int i = 0;
        for (Object obj : listM7158) {
            int i2 = i + 1;
            if (i < 0) {
                C4303.m7193();
                throw null;
            }
            arrayList.add(new C6541((Class) obj, Integer.valueOf(i)));
            i = i2;
        }
        int size = arrayList.size();
        if (size == 0) {
            mapSingletonMap = C6564.f19344;
        } else if (size != 1) {
            mapSingletonMap = new LinkedHashMap<>(C4303.m7176(arrayList.size()));
            C6560.m9782((Iterable) arrayList, mapSingletonMap);
        } else {
            C6541 c6541 = (C6541) arrayList.get(0);
            if (c6541 == null) {
                C6635.m9824("pair");
                throw null;
            }
            mapSingletonMap = Collections.singletonMap(c6541.f19316, c6541.f19317);
            C6635.m9823((Object) mapSingletonMap, "java.util.Collections.si…(pair.first, pair.second)");
        }
        f19388 = mapSingletonMap;
        HashMap<String, String> map = new HashMap<>();
        map.put("boolean", "kotlin.Boolean");
        map.put("char", "kotlin.Char");
        map.put("byte", "kotlin.Byte");
        map.put("short", "kotlin.Short");
        map.put("int", "kotlin.Int");
        map.put("float", "kotlin.Float");
        map.put("long", "kotlin.Long");
        map.put("double", "kotlin.Double");
        f19389 = map;
        HashMap<String, String> map2 = new HashMap<>();
        map2.put("java.lang.Boolean", "kotlin.Boolean");
        map2.put("java.lang.Character", "kotlin.Char");
        map2.put("java.lang.Byte", "kotlin.Byte");
        map2.put("java.lang.Short", "kotlin.Short");
        map2.put("java.lang.Integer", "kotlin.Int");
        map2.put("java.lang.Float", "kotlin.Float");
        map2.put("java.lang.Long", "kotlin.Long");
        map2.put("java.lang.Double", "kotlin.Double");
        f19390 = map2;
        HashMap<String, String> map3 = new HashMap<>();
        map3.put("java.lang.Object", "kotlin.Any");
        map3.put("java.lang.String", "kotlin.String");
        map3.put("java.lang.CharSequence", "kotlin.CharSequence");
        map3.put("java.lang.Throwable", "kotlin.Throwable");
        map3.put("java.lang.Cloneable", "kotlin.Cloneable");
        map3.put("java.lang.Number", "kotlin.Number");
        map3.put("java.lang.Comparable", "kotlin.Comparable");
        map3.put("java.lang.Enum", "kotlin.Enum");
        map3.put("java.lang.annotation.Annotation", "kotlin.Annotation");
        map3.put("java.lang.Iterable", "kotlin.collections.Iterable");
        map3.put("java.util.Iterator", "kotlin.collections.Iterator");
        map3.put("java.util.Collection", "kotlin.collections.Collection");
        map3.put("java.util.List", "kotlin.collections.List");
        map3.put("java.util.Set", "kotlin.collections.Set");
        map3.put("java.util.ListIterator", "kotlin.collections.ListIterator");
        map3.put("java.util.Map", "kotlin.collections.Map");
        map3.put("java.util.Map$Entry", "kotlin.collections.Map.Entry");
        map3.put("kotlin.jvm.internal.StringCompanionObject", "kotlin.String.Companion");
        map3.put("kotlin.jvm.internal.EnumCompanionObject", "kotlin.Enum.Companion");
        map3.putAll(f19389);
        map3.putAll(f19390);
        Collection<String> collectionValues = f19389.values();
        C6635.m9823((Object) collectionValues, "primitiveFqNames.values");
        for (String str : collectionValues) {
            StringBuilder sb = new StringBuilder();
            sb.append("kotlin.jvm.internal.");
            C6635.m9823((Object) str, "kotlinName");
            sb.append(C6703.m9866(str, '.', (String) null, 2));
            sb.append("CompanionObject");
            map3.put(sb.toString(), str + ".Companion");
        }
        for (Map.Entry<Class<? extends InterfaceC6535<?>>, Integer> entry : f19388.entrySet()) {
            Class<? extends InterfaceC6535<?>> key = entry.getKey();
            int iIntValue = entry.getValue().intValue();
            map3.put(key.getName(), "kotlin.Function" + iIntValue);
        }
        f19391 = map3;
        LinkedHashMap linkedHashMap = new LinkedHashMap(C4303.m7176(map3.size()));
        Iterator<T> it = map3.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry entry2 = (Map.Entry) it.next();
            linkedHashMap.put(entry2.getKey(), C6703.m9866((String) entry2.getValue(), '.', (String) null, 2));
        }
    }

    public C6630(Class<?> cls) {
        if (cls != null) {
            this.f19392 = cls;
        } else {
            C6635.m9824("jClass");
            throw null;
        }
    }

    public boolean equals(Object obj) {
        return (obj instanceof C6630) && C6635.m9825(C4303.m7004((InterfaceC6666) this), C4303.m7004((InterfaceC6666) obj));
    }

    public int hashCode() {
        return C4303.m7004((InterfaceC6666) this).hashCode();
    }

    public String toString() {
        return this.f19392.toString() + " (Kotlin reflection is not available)";
    }

    @Override // p402.p411.p413.InterfaceC6629
    /* JADX INFO: renamed from: ֏ */
    public Class<?> mo9816() {
        return this.f19392;
    }
}
