content: package kotlin.coroutines.jvm.internal;
  
  import kotlin.Metadata;
  import kotlin.Result;
  import kotlin.ResultKt;
  import kotlin.Unit;
  import kotlin.coroutines.Continuation;
  import kotlin.coroutines.CoroutineContext;
  import kotlin.coroutines.EmptyCoroutineContext;
  import kotlin.jvm.internal.Intrinsics;
  
  @Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\b\b\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0003J\u0006\u0010\u000e\u001a\u00020\u0002J\u001e\u0010\u000f\u001a\u00020\u00022\f\u0010\b\u001a\b\u0012\u0004\u0012\u00020\u00020\tH\u0016ø\u0001\u0000¢\u0006\u0002\u0010\u0010R\u0014\u0010\u0004\u001a\u00020\u00058VX\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007R(\u0010\b\u001a\n\u0012\u0004\u0012\u00020\u0002\u0018\u00010\tX\u000eø\u0001\u0000ø\u0001\u0001¢\u0006\u000e\n\u0000\u001a\u0004\b\n\u0010\u000b\"\u0004\b\f\u0010\r\u0002\b\n\u0002\b\u0019\n\u0002\b!¨\u0006\u0011"}, d2 = {"Lkotlin/coroutines/jvm/internal/RunSuspend;", "Lkotlin/coroutines/Continuation;", "", "()V", "context", "Lkotlin/coroutines/CoroutineContext;", "getContext", "()Lkotlin/coroutines/CoroutineContext;", "result", "Lkotlin/Result;", "getResult-xLWZpok", "()Lkotlin/Result;", "setResult", "(Lkotlin/Result;)V", "await", "resumeWith", "(Ljava/lang/Object;)V", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
  /* compiled from: RunSuspend.kt */
  final class RunSuspend implements Continuation<Unit> {
      private Result<Unit> result;
  
      public final void await() {
          synchronized (this) {
              while (true) {
                  Result<Unit> result2 = this.result;
                  if (result2 == null) {
                      Intrinsics.checkNotNull(this, "null cannot be cast to non-null type java.lang.Object");
                      wait();
                  } else {
                      ResultKt.throwOnFailure(result2.m45unboximpl());
                  }
              }
          }
      }
  
      public CoroutineContext getContext() {
          return EmptyCoroutineContext.INSTANCE;
      }
  
      /* renamed from: getResult-xLWZpok  reason: not valid java name */
      public final Result<Unit> m1243getResultxLWZpok() {
          return this.result;
      }
  
      public void resumeWith(Object result2) {
          synchronized (this) {
              this.result = Result.m35boximpl(result2);
              Intrinsics.checkNotNull(this, "null cannot be cast to non-null type java.lang.Object");
              notifyAll();
              Unit unit = Unit.INSTANCE;
          }
      }
  
      public final void setResult(Result<Unit> result2) {
          this.result = result2;
      }
  }
  