package kotlin.time; import kotlin.Metadata; import kotlin.time.TimeSource; /* compiled from: MonoTimeSource.kt */ @Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0010\u000e\n\u0000\bÁ\u0002\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u001d\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\t¢\u0006\u0004\b\n\u0010\u000bJ\u001d\u0010\f\u001a\u00020\t2\u0006\u0010\r\u001a\u00020\u00062\u0006\u0010\u000e\u001a\u00020\u0006¢\u0006\u0004\b\u000f\u0010\u000bJ\u0015\u0010\u0010\u001a\u00020\t2\u0006\u0010\u0007\u001a\u00020\u0006¢\u0006\u0004\b\u0011\u0010\u0012J\u0012\u0010\u0013\u001a\u00020\u0006H\u0016ø\u0001\u0000¢\u0006\u0004\b\u0014\u0010\u0015J\b\u0010\u0016\u001a\u00020\u0004H\u0002J\b\u0010\u0017\u001a\u00020\u0018H\u0016R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082\u0004¢\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b!¨\u0006\u0019"}, d2 = {"Lkotlin/time/MonotonicTimeSource;", "Lkotlin/time/TimeSource$WithComparableMarks;", "()V", "zero", "", "adjustReading", "Lkotlin/time/TimeSource$Monotonic$ValueTimeMark;", "timeMark", "duration", "Lkotlin/time/Duration;", "adjustReading-6QKq23U", "(JJ)J", "differenceBetween", "one", "another", "differenceBetween-fRLX17w", "elapsedFrom", "elapsedFrom-6eNON_k", "(J)J", "markNow", "markNow-z9LOYto", "()J", "read", "toString", "", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48) /* loaded from: classes3.dex */ public final class MonotonicTimeSource implements TimeSource.WithComparableMarks { public static final MonotonicTimeSource INSTANCE = new MonotonicTimeSource(); private static final long zero = System.nanoTime(); public String toString() { return "TimeSource(System.nanoTime())"; } private MonotonicTimeSource() { } @Override // kotlin.time.TimeSource.WithComparableMarks, kotlin.time.TimeSource public /* bridge */ /* synthetic */ ComparableTimeMark markNow() { return TimeSource.Monotonic.ValueTimeMark.m7164boximpl(m7158markNowz9LOYto()); } @Override // kotlin.time.TimeSource public /* bridge */ /* synthetic */ TimeMark markNow() { return TimeSource.Monotonic.ValueTimeMark.m7164boximpl(m7158markNowz9LOYto()); } private final long read() { return System.nanoTime() - zero; } /* renamed from: markNow-z9LOYto, reason: not valid java name */ public long m7158markNowz9LOYto() { return TimeSource.Monotonic.ValueTimeMark.m7167constructorimpl(read()); } /* renamed from: elapsedFrom-6eNON_k, reason: not valid java name */ public final long m7157elapsedFrom6eNON_k(long timeMark) { return LongSaturatedMathKt.saturatingDiff(read(), timeMark, DurationUnit.NANOSECONDS); } /* renamed from: differenceBetween-fRLX17w, reason: not valid java name */ public final long m7156differenceBetweenfRLX17w(long one, long another) { return LongSaturatedMathKt.saturatingOriginsDiff(one, another, DurationUnit.NANOSECONDS); } /* renamed from: adjustReading-6QKq23U, reason: not valid java name */ public final long m7155adjustReading6QKq23U(long timeMark, long duration) { return TimeSource.Monotonic.ValueTimeMark.m7167constructorimpl(LongSaturatedMathKt.m7153saturatingAddNuflL3o(timeMark, DurationUnit.NANOSECONDS, duration)); } }