package p402.p409;

import p402.p411.p413.C6635;
import p402.p420.C6703;

/* JADX INFO: renamed from: ގ.ލ.ؠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C6600 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final C6598 f19381;

    /* JADX WARN: Removed duplicated region for block: B:44:0x015c  */
    /* JADX WARN: Removed duplicated region for block: B:62:0x00dc A[EXC_TOP_SPLITTER, SYNTHETIC] */
    static {
        int i;
        C6598 c6598;
        String property = System.getProperty("java.specification.version");
        if (property != null) {
            int iM9856 = C6703.m9856((CharSequence) property, '.', 0, false, 6);
            try {
                if (iM9856 < 0) {
                    i = Integer.parseInt(property) * 65536;
                } else {
                    int i2 = iM9856 + 1;
                    int iM98562 = C6703.m9856((CharSequence) property, '.', i2, false, 4);
                    if (iM98562 < 0) {
                        iM98562 = property.length();
                    }
                    String strSubstring = property.substring(0, iM9856);
                    C6635.m9823((Object) strSubstring, "(this as java.lang.Strin…ing(startIndex, endIndex)");
                    String strSubstring2 = property.substring(i2, iM98562);
                    C6635.m9823((Object) strSubstring2, "(this as java.lang.Strin…ing(startIndex, endIndex)");
                    i = Integer.parseInt(strSubstring2) + (Integer.parseInt(strSubstring) * 65536);
                }
            } catch (NumberFormatException unused) {
                i = 65542;
            }
        } else {
            i = 65542;
        }
        if (i >= 65544) {
            try {
                try {
                    Object objNewInstance = Class.forName("kotlin.internal.jdk8.JDK8PlatformImplementations").newInstance();
                    C6635.m9823(objNewInstance, "Class.forName(\"kotlin.in…entations\").newInstance()");
                    try {
                        c6598 = (C6598) objNewInstance;
                    } catch (ClassCastException e) {
                        Throwable thInitCause = new ClassCastException("Instance classloader: " + objNewInstance.getClass().getClassLoader() + ", base type classloader: " + C6598.class.getClassLoader()).initCause(e);
                        C6635.m9823((Object) thInitCause, "ClassCastException(\"Inst…baseTypeCL\").initCause(e)");
                        throw thInitCause;
                    }
                } catch (ClassNotFoundException unused2) {
                    if (i < 65543) {
                    }
                }
            } catch (ClassNotFoundException unused3) {
                Object objNewInstance2 = Class.forName("kotlin.internal.JRE8PlatformImplementations").newInstance();
                C6635.m9823(objNewInstance2, "Class.forName(\"kotlin.in…entations\").newInstance()");
                try {
                    c6598 = (C6598) objNewInstance2;
                } catch (ClassCastException e2) {
                    Throwable thInitCause2 = new ClassCastException("Instance classloader: " + objNewInstance2.getClass().getClassLoader() + ", base type classloader: " + C6598.class.getClassLoader()).initCause(e2);
                    C6635.m9823((Object) thInitCause2, "ClassCastException(\"Inst…baseTypeCL\").initCause(e)");
                    throw thInitCause2;
                }
            }
        } else if (i < 65543) {
            try {
                Object objNewInstance3 = Class.forName("ގ.ލ.ހ.֏").newInstance();
                C6635.m9823(objNewInstance3, "Class.forName(\"kotlin.in…entations\").newInstance()");
                try {
                    try {
                        c6598 = (C6598) objNewInstance3;
                    } catch (ClassCastException e3) {
                        Throwable thInitCause3 = new ClassCastException("Instance classloader: " + objNewInstance3.getClass().getClassLoader() + ", base type classloader: " + C6598.class.getClassLoader()).initCause(e3);
                        C6635.m9823((Object) thInitCause3, "ClassCastException(\"Inst…baseTypeCL\").initCause(e)");
                        throw thInitCause3;
                    }
                } catch (ClassNotFoundException unused4) {
                    c6598 = new C6598();
                }
            } catch (ClassNotFoundException unused5) {
                Object objNewInstance4 = Class.forName("kotlin.internal.JRE7PlatformImplementations").newInstance();
                C6635.m9823(objNewInstance4, "Class.forName(\"kotlin.in…entations\").newInstance()");
                try {
                    c6598 = (C6598) objNewInstance4;
                } catch (ClassCastException e4) {
                    Throwable thInitCause4 = new ClassCastException("Instance classloader: " + objNewInstance4.getClass().getClassLoader() + ", base type classloader: " + C6598.class.getClassLoader()).initCause(e4);
                    C6635.m9823((Object) thInitCause4, "ClassCastException(\"Inst…baseTypeCL\").initCause(e)");
                    throw thInitCause4;
                }
            }
        } else {
            c6598 = new C6598();
        }
        f19381 = c6598;
    }
}
