content: package kotlin.time;
  
  import kotlin.Metadata;
  import kotlin.Unit;
  import kotlin.jvm.functions.Function0;
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.time.TimeSource;
  
  @Metadata(d1 = {"\u0000(\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a/\u0010\u0000\u001a\u00020\u00012\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003H\bø\u0001\u0000ø\u0001\u0001\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0002\u0010\u0005\u001a3\u0010\u0006\u001a\b\u0012\u0004\u0012\u0002H\b0\u0007\"\u0004\b\u0000\u0010\b2\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u0002H\b0\u0003H\bø\u0001\u0000\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001\u001a3\u0010\u0000\u001a\u00020\u0001*\u00020\t2\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003H\bø\u0001\u0000ø\u0001\u0001\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0002\u0010\n\u001a3\u0010\u0000\u001a\u00020\u0001*\u00020\u000b2\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u00020\u00040\u0003H\bø\u0001\u0000ø\u0001\u0001\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0002\u0010\f\u001a7\u0010\u0006\u001a\b\u0012\u0004\u0012\u0002H\b0\u0007\"\u0004\b\u0000\u0010\b*\u00020\t2\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u0002H\b0\u0003H\bø\u0001\u0000\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001\u001a7\u0010\u0006\u001a\b\u0012\u0004\u0012\u0002H\b0\u0007\"\u0004\b\u0000\u0010\b*\u00020\u000b2\f\u0010\u0002\u001a\b\u0012\u0004\u0012\u0002H\b0\u0003H\bø\u0001\u0000\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001\u0002\u000b\n\u0005\b20\u0001\n\u0002\b\u0019¨\u0006\r"}, d2 = {"measureTime", "Lkotlin/time/Duration;", "block", "Lkotlin/Function0;", "", "(Lkotlin/jvm/functions/Function0;)J", "measureTimedValue", "Lkotlin/time/TimedValue;", "T", "Lkotlin/time/TimeSource;", "(Lkotlin/time/TimeSource;Lkotlin/jvm/functions/Function0;)J", "Lkotlin/time/TimeSource$Monotonic;", "(Lkotlin/time/TimeSource$Monotonic;Lkotlin/jvm/functions/Function0;)J", "kotlin-stdlib"}, k = 2, mv = {1, 7, 1}, xi = 48)
  /* compiled from: measureTime.kt */
  public final class MeasureTimeKt {
      public static final long measureTime(Function0<Unit> block) {
          Intrinsics.checkNotNullParameter(block, "block");
          long r3 = TimeSource.Monotonic.INSTANCE.m1489markNowz9LOYto();
          block.invoke();
          return TimeSource.Monotonic.ValueTimeMark.m1492elapsedNowUwyO8pc(r3);
      }
  
      public static final long measureTime(TimeSource.Monotonic $this$measureTime, Function0<Unit> block) {
          Intrinsics.checkNotNullParameter($this$measureTime, "<this>");
          Intrinsics.checkNotNullParameter(block, "block");
          long r1 = $this$measureTime.m1489markNowz9LOYto();
          block.invoke();
          return TimeSource.Monotonic.ValueTimeMark.m1492elapsedNowUwyO8pc(r1);
      }
  
      public static final long measureTime(TimeSource $this$measureTime, Function0<Unit> block) {
          Intrinsics.checkNotNullParameter($this$measureTime, "<this>");
          Intrinsics.checkNotNullParameter(block, "block");
          TimeMark markNow = $this$measureTime.markNow();
          block.invoke();
          return markNow.m1484elapsedNowUwyO8pc();
      }
  
      public static final <T> TimedValue<T> measureTimedValue(Function0<? extends T> block) {
          Intrinsics.checkNotNullParameter(block, "block");
          return new TimedValue<>(block.invoke(), TimeSource.Monotonic.ValueTimeMark.m1492elapsedNowUwyO8pc(TimeSource.Monotonic.INSTANCE.m1489markNowz9LOYto()), (DefaultConstructorMarker) null);
      }
  
      public static final <T> TimedValue<T> measureTimedValue(TimeSource.Monotonic $this$measureTimedValue, Function0<? extends T> block) {
          Intrinsics.checkNotNullParameter($this$measureTimedValue, "<this>");
          Intrinsics.checkNotNullParameter(block, "block");
          return new TimedValue<>(block.invoke(), TimeSource.Monotonic.ValueTimeMark.m1492elapsedNowUwyO8pc($this$measureTimedValue.m1489markNowz9LOYto()), (DefaultConstructorMarker) null);
      }
  
      public static final <T> TimedValue<T> measureTimedValue(TimeSource $this$measureTimedValue, Function0<? extends T> block) {
          Intrinsics.checkNotNullParameter($this$measureTimedValue, "<this>");
          Intrinsics.checkNotNullParameter(block, "block");
          return new TimedValue<>(block.invoke(), $this$measureTimedValue.markNow().m1484elapsedNowUwyO8pc(), (DefaultConstructorMarker) null);
      }
  }
  