package kotlinx.coroutines;

import java.util.concurrent.atomic.AtomicLong;

/* JADX INFO: compiled from: Debug.kt */
/* JADX INFO: loaded from: classes.dex */
public final class r0 {
    private static final boolean a = l0.class.desiredAssertionStatus();
    private static final boolean b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private static final boolean f1163c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private static final AtomicLong f1164d;

    /* JADX WARN: Code restructure failed: missing block: B:13:0x002c, code lost:
    
        if (r0.equals("auto") != false) goto L26;
     */
    /* JADX WARN: Code restructure failed: missing block: B:19:0x003f, code lost:
    
        if (r0.equals("on") != false) goto L23;
     */
    /* JADX WARN: Code restructure failed: missing block: B:22:0x0048, code lost:
    
        if (r0.equals("") != false) goto L23;
     */
    /* JADX WARN: Code restructure failed: missing block: B:23:0x004a, code lost:
    
        r0 = true;
     */
    static {
        /*
            java.lang.Class<kotlinx.coroutines.l0> r0 = kotlinx.coroutines.l0.class
            boolean r0 = r0.desiredAssertionStatus()
            kotlinx.coroutines.r0.a = r0
            java.lang.String r0 = "kotlinx.coroutines.debug"
            java.lang.String r0 = kotlinx.coroutines.o2.r.d(r0)
            r1 = 0
            r2 = 1
            if (r0 == 0) goto L6c
            int r3 = r0.hashCode()
            if (r3 == 0) goto L42
            r4 = 3551(0xddf, float:4.976E-42)
            if (r3 == r4) goto L39
            r4 = 109935(0x1ad6f, float:1.54052E-40)
            if (r3 == r4) goto L2f
            r4 = 3005871(0x2dddaf, float:4.212122E-39)
            if (r3 != r4) goto L4c
            java.lang.String r3 = "auto"
            boolean r3 = r0.equals(r3)
            if (r3 == 0) goto L4c
            goto L6c
        L2f:
            java.lang.String r3 = "off"
            boolean r3 = r0.equals(r3)
            if (r3 == 0) goto L4c
            r0 = 0
            goto L70
        L39:
            java.lang.String r3 = "on"
            boolean r3 = r0.equals(r3)
            if (r3 == 0) goto L4c
            goto L4a
        L42:
            java.lang.String r3 = ""
            boolean r3 = r0.equals(r3)
            if (r3 == 0) goto L4c
        L4a:
            r0 = 1
            goto L70
        L4c:
            java.lang.StringBuilder r1 = new java.lang.StringBuilder
            r1.<init>()
            java.lang.String r2 = "System property 'kotlinx.coroutines.debug' has unrecognized value '"
            r1.append(r2)
            r1.append(r0)
            r0 = 39
            r1.append(r0)
            java.lang.String r0 = r1.toString()
            java.lang.IllegalStateException r1 = new java.lang.IllegalStateException
            java.lang.String r0 = r0.toString()
            r1.<init>(r0)
            throw r1
        L6c:
            boolean r0 = a()
        L70:
            kotlinx.coroutines.r0.b = r0
            if (r0 == 0) goto L7d
            java.lang.String r0 = "kotlinx.coroutines.stacktrace.recovery"
            boolean r0 = kotlinx.coroutines.o2.r.e(r0, r2)
            if (r0 == 0) goto L7d
            r1 = 1
        L7d:
            kotlinx.coroutines.r0.f1163c = r1
            java.util.concurrent.atomic.AtomicLong r0 = new java.util.concurrent.atomic.AtomicLong
            r1 = 0
            r0.<init>(r1)
            kotlinx.coroutines.r0.f1164d = r0
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.r0.<clinit>():void");
    }

    public static final boolean a() {
        return a;
    }

    public static final AtomicLong b() {
        return f1164d;
    }

    public static final boolean c() {
        return b;
    }

    public static final boolean d() {
        return f1163c;
    }
}
