content: package kotlinx.coroutines;
  
  import java.util.concurrent.atomic.AtomicLong;
  import kotlin.Metadata;
  import kotlin.jvm.functions.Function0;
  
  @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\b\u001a\b\u0010\u0016\u001a\u00020\u0013H\u0000\"\u0014\u0010\u0000\u001a\u00020\u0001X\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0002\u0010\u0003\"\u0014\u0010\u0004\u001a\u00020\u0005X\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0006\u0010\u0007\"\u0014\u0010\b\u001a\u00020\u0001X\u0004¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\u0003\"\u000e\u0010\n\u001a\u00020\u000bXT¢\u0006\u0002\n\u0000\"\u000e\u0010\f\u001a\u00020\u000bXT¢\u0006\u0002\n\u0000\"\u000e\u0010\r\u001a\u00020\u000bXT¢\u0006\u0002\n\u0000\"\u000e\u0010\u000e\u001a\u00020\u000bXT¢\u0006\u0002\n\u0000\"\u0014\u0010\u000f\u001a\u00020\u0001X\u0004¢\u0006\b\n\u0000\u001a\u0004\b\u0010\u0010\u0003\"\u000e\u0010\u0011\u001a\u00020\u000bXT¢\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, 6, 0}, xi = 48)
  /* compiled from: 0173 */
  public final class DebugKt {
      private static final boolean ASSERTIONS_ENABLED = false;
      private static final AtomicLong COROUTINE_ID = new AtomicLong(0);
      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";
  
      /* JADX WARNING: Code restructure failed: missing block: B:10:0x0033, code lost:
          if (r1.equals(DEBUG_PROPERTY_VALUE_ON) != false) goto L_0x003e;
       */
      /* JADX WARNING: Code restructure failed: missing block: B:12:0x003c, code lost:
          if (r1.equals(okhttp3.HttpUrl.FRAGMENT_ENCODE_SET) != false) goto L_0x003e;
       */
      /* JADX WARNING: Code restructure failed: missing block: B:13:0x003e, code lost:
          r4 = true;
       */
      /* JADX WARNING: Code restructure failed: missing block: B:15:0x0062, code lost:
          throw new java.lang.IllegalStateException(("System property 'kotlinx.coroutines.debug' has unrecognized value '" + r1 + '\'').toString());
       */
      /* JADX WARNING: Code restructure failed: missing block: B:5:0x0020, code lost:
          if (r1.equals(DEBUG_PROPERTY_VALUE_AUTO) != false) goto L_0x0063;
       */
      static {
          /*
              java.lang.Class<kotlinx.coroutines.CoroutineId> r0 = kotlinx.coroutines.CoroutineId.class
              r0 = 0
              ASSERTIONS_ENABLED = r0
              java.lang.String r1 = "kotlinx.coroutines.debug"
              java.lang.String r1 = kotlinx.coroutines.internal.SystemPropsKt.systemProp(r1)
              mt.Log1F380D.a((java.lang.Object) r1)
              r2 = 0
              r3 = 1
              if (r1 == 0) goto L_0x0063
              int r4 = r1.hashCode()
              switch(r4) {
                  case 0: goto L_0x0036;
                  case 3551: goto L_0x002d;
                  case 109935: goto L_0x0023;
                  case 3005871: goto L_0x001a;
                  default: goto L_0x0019;
              }
          L_0x0019:
              goto L_0x0040
          L_0x001a:
              java.lang.String r4 = "auto"
              boolean r4 = r1.equals(r4)
              if (r4 == 0) goto L_0x0019
              goto L_0x0063
          L_0x0023:
              java.lang.String r4 = "off"
              boolean r4 = r1.equals(r4)
              if (r4 == 0) goto L_0x0019
              r4 = r0
              goto L_0x0067
          L_0x002d:
              java.lang.String r4 = "on"
              boolean r4 = r1.equals(r4)
              if (r4 == 0) goto L_0x0019
              goto L_0x003e
          L_0x0036:
              java.lang.String r4 = ""
              boolean r4 = r1.equals(r4)
              if (r4 == 0) goto L_0x0019
          L_0x003e:
              r4 = r3
              goto L_0x0067
          L_0x0040:
              java.lang.IllegalStateException r0 = new java.lang.IllegalStateException
              java.lang.StringBuilder r3 = new java.lang.StringBuilder
              r3.<init>()
              java.lang.String r4 = "System property 'kotlinx.coroutines.debug' has unrecognized value '"
              java.lang.StringBuilder r3 = r3.append(r4)
              java.lang.StringBuilder r3 = r3.append(r1)
              r4 = 39
              java.lang.StringBuilder r3 = r3.append(r4)
              java.lang.String r3 = r3.toString()
              java.lang.String r3 = r3.toString()
              r0.<init>(r3)
              throw r0
          L_0x0063:
              boolean r4 = getASSERTIONS_ENABLED()
          L_0x0067:
              DEBUG = r4
              if (r4 == 0) goto L_0x0075
              java.lang.String r1 = "kotlinx.coroutines.stacktrace.recovery"
              boolean r1 = kotlinx.coroutines.internal.SystemPropsKt.systemProp(r1, r3)
              if (r1 == 0) goto L_0x0075
              r0 = r3
          L_0x0075:
              RECOVER_STACK_TRACES = r0
              java.util.concurrent.atomic.AtomicLong r0 = new java.util.concurrent.atomic.AtomicLong
              r1 = 0
              r0.<init>(r1)
              COROUTINE_ID = r0
              return
          */
          throw new UnsupportedOperationException("Method not decompiled: kotlinx.coroutines.DebugKt.<clinit>():void");
      }
  
      /* renamed from: assert  reason: not valid java name */
      private static final void m1512assert(Function0<Boolean> value) {
          if (getASSERTIONS_ENABLED() && !value.invoke().booleanValue()) {
              throw new AssertionError();
          }
      }
  
      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;
      }
  
      public static final void resetCoroutineId() {
          COROUTINE_ID.set(0);
      }
  }
  