mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-24 08:02:37 -06:00
130 lines
6.2 KiB
Java
130 lines
6.2 KiB
Java
|
package kotlinx.coroutines;
|
||
|
|
||
|
import java.util.concurrent.atomic.AtomicLong;
|
||
|
import kotlin.Metadata;
|
||
|
import kotlin.jvm.functions.Function0;
|
||
|
|
||
|
/* compiled from: Debug.kt */
|
||
|
@Metadata(d1 = {"\u0000(\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\u0017\u0010\u0012\u001a\u00020\u00132\f\u0010\u0014\u001a\b\u0012\u0004\u0012\u00020\u00010\u0015H\u0081\b\u001a\b\u0010\u0016\u001a\u00020\u0013H\u0000\"\u0014\u0010\u0000\u001a\u00020\u0001X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0003\"\u0014\u0010\u0004\u001a\u00020\u0005X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0014\u0010\b\u001a\u00020\u0001X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\u0003\"\u000e\u0010\n\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\f\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\r\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u000e\u0010\u000e\u001a\u00020\u000bX\u0086T¢\u0006\u0002\n\u0000\"\u0014\u0010\u000f\u001a\u00020\u0001X\u0080\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0003\"\u000e\u0010\u0011\u001a\u00020\u000bX\u0080T¢\u0006\u0002\n\u0000¨\u0006\u0017"}, d2 = {"ASSERTIONS_ENABLED", "", "getASSERTIONS_ENABLED", "()Z", "COROUTINE_ID", "Ljava/util/concurrent/atomic/AtomicLong;", "getCOROUTINE_ID", "()Ljava/util/concurrent/atomic/AtomicLong;", "DEBUG", "getDEBUG", "DEBUG_PROPERTY_NAME", "", "DEBUG_PROPERTY_VALUE_AUTO", "DEBUG_PROPERTY_VALUE_OFF", "DEBUG_PROPERTY_VALUE_ON", "RECOVER_STACK_TRACES", "getRECOVER_STACK_TRACES", "STACKTRACE_RECOVERY_PROPERTY_NAME", "assert", "", "value", "Lkotlin/Function0;", "resetCoroutineId", "kotlinx-coroutines-core"}, k = 2, mv = {1, 8, 0}, xi = 48)
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class DebugKt {
|
||
|
private static final boolean ASSERTIONS_ENABLED = false;
|
||
|
private static final AtomicLong COROUTINE_ID;
|
||
|
private static final boolean DEBUG;
|
||
|
public static final String DEBUG_PROPERTY_NAME = "kotlinx.coroutines.debug";
|
||
|
public static final String DEBUG_PROPERTY_VALUE_AUTO = "auto";
|
||
|
public static final String DEBUG_PROPERTY_VALUE_OFF = "off";
|
||
|
public static final String DEBUG_PROPERTY_VALUE_ON = "on";
|
||
|
private static final boolean RECOVER_STACK_TRACES;
|
||
|
public static final String STACKTRACE_RECOVERY_PROPERTY_NAME = "kotlinx.coroutines.stacktrace.recovery";
|
||
|
|
||
|
public static final boolean getASSERTIONS_ENABLED() {
|
||
|
return ASSERTIONS_ENABLED;
|
||
|
}
|
||
|
|
||
|
public static final AtomicLong getCOROUTINE_ID() {
|
||
|
return COROUTINE_ID;
|
||
|
}
|
||
|
|
||
|
public static final boolean getDEBUG() {
|
||
|
return DEBUG;
|
||
|
}
|
||
|
|
||
|
public static final boolean getRECOVER_STACK_TRACES() {
|
||
|
return RECOVER_STACK_TRACES;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x003a, code lost:
|
||
|
|
||
|
if (r1.equals(kotlinx.coroutines.DebugKt.DEBUG_PROPERTY_VALUE_ON) != false) goto L23;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:20:0x0045, code lost:
|
||
|
|
||
|
r1 = true;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:29:0x0043, code lost:
|
||
|
|
||
|
if (r1.equals("") != false) goto L23;
|
||
|
*/
|
||
|
static {
|
||
|
/*
|
||
|
java.lang.Class<kotlinx.coroutines.CoroutineId> r0 = kotlinx.coroutines.CoroutineId.class
|
||
|
r0 = 0
|
||
|
kotlinx.coroutines.DebugKt.ASSERTIONS_ENABLED = r0
|
||
|
java.lang.String r1 = "kotlinx.coroutines.debug"
|
||
|
java.lang.String r1 = kotlinx.coroutines.internal.SystemPropsKt.systemProp(r1)
|
||
|
r2 = 1
|
||
|
if (r1 == 0) goto L66
|
||
|
int r3 = r1.hashCode()
|
||
|
if (r3 == 0) goto L3d
|
||
|
r4 = 3551(0xddf, float:4.976E-42)
|
||
|
if (r3 == r4) goto L34
|
||
|
r4 = 109935(0x1ad6f, float:1.54052E-40)
|
||
|
if (r3 == r4) goto L2b
|
||
|
r4 = 3005871(0x2dddaf, float:4.212122E-39)
|
||
|
if (r3 != r4) goto L47
|
||
|
java.lang.String r3 = "auto"
|
||
|
boolean r3 = r1.equals(r3)
|
||
|
if (r3 == 0) goto L47
|
||
|
goto L66
|
||
|
L2b:
|
||
|
java.lang.String r3 = "off"
|
||
|
boolean r3 = r1.equals(r3)
|
||
|
if (r3 == 0) goto L47
|
||
|
goto L66
|
||
|
L34:
|
||
|
java.lang.String r3 = "on"
|
||
|
boolean r3 = r1.equals(r3)
|
||
|
if (r3 == 0) goto L47
|
||
|
goto L45
|
||
|
L3d:
|
||
|
java.lang.String r3 = ""
|
||
|
boolean r3 = r1.equals(r3)
|
||
|
if (r3 == 0) goto L47
|
||
|
L45:
|
||
|
r1 = r2
|
||
|
goto L67
|
||
|
L47:
|
||
|
java.lang.IllegalStateException r0 = new java.lang.IllegalStateException
|
||
|
java.lang.StringBuilder r2 = new java.lang.StringBuilder
|
||
|
java.lang.String r3 = "System property 'kotlinx.coroutines.debug' has unrecognized value '"
|
||
|
r2.<init>(r3)
|
||
|
java.lang.StringBuilder r1 = r2.append(r1)
|
||
|
r2 = 39
|
||
|
java.lang.StringBuilder r1 = r1.append(r2)
|
||
|
java.lang.String r1 = r1.toString()
|
||
|
java.lang.String r1 = r1.toString()
|
||
|
r0.<init>(r1)
|
||
|
throw r0
|
||
|
L66:
|
||
|
r1 = r0
|
||
|
L67:
|
||
|
kotlinx.coroutines.DebugKt.DEBUG = r1
|
||
|
if (r1 == 0) goto L74
|
||
|
java.lang.String r1 = "kotlinx.coroutines.stacktrace.recovery"
|
||
|
boolean r1 = kotlinx.coroutines.internal.SystemPropsKt.systemProp(r1, r2)
|
||
|
if (r1 == 0) goto L74
|
||
|
r0 = r2
|
||
|
L74:
|
||
|
kotlinx.coroutines.DebugKt.RECOVER_STACK_TRACES = r0
|
||
|
java.util.concurrent.atomic.AtomicLong r0 = new java.util.concurrent.atomic.AtomicLong
|
||
|
r1 = 0
|
||
|
r0.<init>(r1)
|
||
|
kotlinx.coroutines.DebugKt.COROUTINE_ID = r0
|
||
|
return
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.DebugKt.<clinit>():void");
|
||
|
}
|
||
|
|
||
|
public static final void resetCoroutineId() {
|
||
|
COROUTINE_ID.set(0L);
|
||
|
}
|
||
|
|
||
|
/* renamed from: assert, reason: not valid java name */
|
||
|
private static final void m7187assert(Function0<Boolean> function0) {
|
||
|
if (getASSERTIONS_ENABLED() && !function0.invoke().booleanValue()) {
|
||
|
throw new AssertionError();
|
||
|
}
|
||
|
}
|
||
|
}
|