content: package kotlinx.coroutines;
  
  import java.util.concurrent.locks.LockSupport;
  import kotlin.Metadata;
  import kotlin.Unit;
  import kotlinx.coroutines.EventLoopImplBase;
  
  @Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\b \u0018\u00002\u00020\u0001B\u0005¢\u0006\u0002\u0010\u0002J\u0018\u0010\u0007\u001a\u00020\b2\u0006\u0010\t\u001a\u00020\n2\u0006\u0010\u000b\u001a\u00020\fH\u0014J\b\u0010\r\u001a\u00020\bH\u0004R\u0012\u0010\u0003\u001a\u00020\u0004X¤\u0004¢\u0006\u0006\u001a\u0004\b\u0005\u0010\u0006¨\u0006\u000e"}, d2 = {"Lkotlinx/coroutines/EventLoopImplPlatform;", "Lkotlinx/coroutines/EventLoop;", "()V", "thread", "Ljava/lang/Thread;", "getThread", "()Ljava/lang/Thread;", "reschedule", "", "now", "", "delayedTask", "Lkotlinx/coroutines/EventLoopImplBase$DelayedTask;", "unpark", "kotlinx-coroutines-core"}, k = 1, mv = {1, 6, 0}, xi = 48)
  /* compiled from: EventLoop.kt */
  public abstract class EventLoopImplPlatform extends EventLoop {
      /* access modifiers changed from: protected */
      public abstract Thread getThread();
  
      /* access modifiers changed from: protected */
      public void reschedule(long now, EventLoopImplBase.DelayedTask delayedTask) {
          DefaultExecutor.INSTANCE.schedule(now, delayedTask);
      }
  
      /* access modifiers changed from: protected */
      public final void unpark() {
          Unit unit;
          Thread thread = getThread();
          if (Thread.currentThread() != thread) {
              AbstractTimeSource timeSource = AbstractTimeSourceKt.getTimeSource();
              if (timeSource == null) {
                  unit = null;
              } else {
                  timeSource.unpark(thread);
                  unit = Unit.INSTANCE;
              }
              if (unit == null) {
                  LockSupport.unpark(thread);
              }
          }
      }
  }
  