content: package kotlin.ranges;
  
  import java.util.NoSuchElementException;
  import kotlin.Metadata;
  import kotlin.UByte;
  import kotlin.UInt;
  import kotlin.ULong;
  import kotlin.UShort;
  import kotlin.UnsignedKt;
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.random.Random;
  import kotlin.random.URandomKt;
  import mt.Log1F380D;
  import okhttp3.internal.ws.WebSocketProtocol;
  
  @Metadata(d1 = {"\u0000b\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u000e\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000b\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0006\n\u0002\u0010\b\n\u0002\u0010\t\n\u0002\b\n\u001a\u001e\u0010\u0000\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0001H\u0007ø\u0001\u0000¢\u0006\u0004\b\u0003\u0010\u0004\u001a\u001e\u0010\u0000\u001a\u00020\u0005*\u00020\u00052\u0006\u0010\u0002\u001a\u00020\u0005H\u0007ø\u0001\u0000¢\u0006\u0004\b\u0006\u0010\u0007\u001a\u001e\u0010\u0000\u001a\u00020\b*\u00020\b2\u0006\u0010\u0002\u001a\u00020\bH\u0007ø\u0001\u0000¢\u0006\u0004\b\t\u0010\n\u001a\u001e\u0010\u0000\u001a\u00020\u000b*\u00020\u000b2\u0006\u0010\u0002\u001a\u00020\u000bH\u0007ø\u0001\u0000¢\u0006\u0004\b\f\u0010\r\u001a\u001e\u0010\u000e\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u000f\u001a\u00020\u0001H\u0007ø\u0001\u0000¢\u0006\u0004\b\u0010\u0010\u0004\u001a\u001e\u0010\u000e\u001a\u00020\u0005*\u00020\u00052\u0006\u0010\u000f\u001a\u00020\u0005H\u0007ø\u0001\u0000¢\u0006\u0004\b\u0011\u0010\u0007\u001a\u001e\u0010\u000e\u001a\u00020\b*\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0007ø\u0001\u0000¢\u0006\u0004\b\u0012\u0010\n\u001a\u001e\u0010\u000e\u001a\u00020\u000b*\u00020\u000b2\u0006\u0010\u000f\u001a\u00020\u000bH\u0007ø\u0001\u0000¢\u0006\u0004\b\u0013\u0010\r\u001a&\u0010\u0014\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012\u0006\u0010\u000f\u001a\u00020\u0001H\u0007ø\u0001\u0000¢\u0006\u0004\b\u0015\u0010\u0016\u001a&\u0010\u0014\u001a\u00020\u0005*\u00020\u00052\u0006\u0010\u0002\u001a\u00020\u00052\u0006\u0010\u000f\u001a\u00020\u0005H\u0007ø\u0001\u0000¢\u0006\u0004\b\u0017\u0010\u0018\u001a$\u0010\u0014\u001a\u00020\u0005*\u00020\u00052\f\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\u00050\u001aH\u0007ø\u0001\u0000¢\u0006\u0004\b\u001b\u0010\u001c\u001a&\u0010\u0014\u001a\u00020\b*\u00020\b2\u0006\u0010\u0002\u001a\u00020\b2\u0006\u0010\u000f\u001a\u00020\bH\u0007ø\u0001\u0000¢\u0006\u0004\b\u001d\u0010\u001e\u001a$\u0010\u0014\u001a\u00020\b*\u00020\b2\f\u0010\u0019\u001a\b\u0012\u0004\u0012\u00020\b0\u001aH\u0007ø\u0001\u0000¢\u0006\u0004\b\u001f\u0010 \u001a&\u0010\u0014\u001a\u00020\u000b*\u00020\u000b2\u0006\u0010\u0002\u001a\u00020\u000b2\u0006\u0010\u000f\u001a\u00020\u000bH\u0007ø\u0001\u0000¢\u0006\u0004\b!\u0010\"\u001a\u001f\u0010#\u001a\u00020$*\u00020%2\u0006\u0010&\u001a\u00020\u0001H\u0002ø\u0001\u0000¢\u0006\u0004\b'\u0010(\u001a\u001f\u0010#\u001a\u00020$*\u00020%2\b\u0010)\u001a\u0004\u0018\u00010\u0005H\nø\u0001\u0000¢\u0006\u0002\b*\u001a\u001f\u0010#\u001a\u00020$*\u00020%2\u0006\u0010&\u001a\u00020\bH\u0002ø\u0001\u0000¢\u0006\u0004\b+\u0010,\u001a\u001f\u0010#\u001a\u00020$*\u00020%2\u0006\u0010&\u001a\u00020\u000bH\u0002ø\u0001\u0000¢\u0006\u0004\b-\u0010.\u001a\u001f\u0010#\u001a\u00020$*\u00020/2\u0006\u0010&\u001a\u00020\u0001H\u0002ø\u0001\u0000¢\u0006\u0004\b0\u00101\u001a\u001f\u0010#\u001a\u00020$*\u00020/2\u0006\u0010&\u001a\u00020\u0005H\u0002ø\u0001\u0000¢\u0006\u0004\b2\u00103\u001a\u001f\u0010#\u001a\u00020$*\u00020/2\b\u0010)\u001a\u0004\u0018\u00010\bH\nø\u0001\u0000¢\u0006\u0002\b4\u001a\u001f\u0010#\u001a\u00020$*\u00020/2\u0006\u0010&\u001a\u00020\u000bH\u0002ø\u0001\u0000¢\u0006\u0004\b5\u00106\u001a\u001f\u00107\u001a\u000208*\u00020\u00012\u0006\u00109\u001a\u00020\u0001H\u0004ø\u0001\u0000¢\u0006\u0004\b:\u0010;\u001a\u001f\u00107\u001a\u000208*\u00020\u00052\u0006\u00109\u001a\u00020\u0005H\u0004ø\u0001\u0000¢\u0006\u0004\b<\u0010=\u001a\u001f\u00107\u001a\u00020>*\u00020\b2\u0006\u00109\u001a\u00020\bH\u0004ø\u0001\u0000¢\u0006\u0004\b?\u0010@\u001a\u001f\u00107\u001a\u000208*\u00020\u000b2\u0006\u00109\u001a\u00020\u000bH\u0004ø\u0001\u0000¢\u0006\u0004\bA\u0010B\u001a\u0014\u0010C\u001a\u00020\u0005*\u000208H\u0007ø\u0001\u0000¢\u0006\u0002\u0010D\u001a\u0014\u0010C\u001a\u00020\b*\u00020>H\u0007ø\u0001\u0000¢\u0006\u0002\u0010E\u001a\u0011\u0010F\u001a\u0004\u0018\u00010\u0005*\u000208H\u0007ø\u0001\u0000\u001a\u0011\u0010F\u001a\u0004\u0018\u00010\b*\u00020>H\u0007ø\u0001\u0000\u001a\u0014\u0010G\u001a\u00020\u0005*\u000208H\u0007ø\u0001\u0000¢\u0006\u0002\u0010D\u001a\u0014\u0010G\u001a\u00020\b*\u00020>H\u0007ø\u0001\u0000¢\u0006\u0002\u0010E\u001a\u0011\u0010H\u001a\u0004\u0018\u00010\u0005*\u000208H\u0007ø\u0001\u0000\u001a\u0011\u0010H\u001a\u0004\u0018\u00010\b*\u00020>H\u0007ø\u0001\u0000\u001a\u0015\u0010I\u001a\u00020\u0005*\u00020%H\bø\u0001\u0000¢\u0006\u0002\u0010J\u001a\u001c\u0010I\u001a\u00020\u0005*\u00020%2\u0006\u0010I\u001a\u00020KH\u0007ø\u0001\u0000¢\u0006\u0002\u0010L\u001a\u0015\u0010I\u001a\u00020\b*\u00020/H\bø\u0001\u0000¢\u0006\u0002\u0010M\u001a\u001c\u0010I\u001a\u00020\b*\u00020/2\u0006\u0010I\u001a\u00020KH\u0007ø\u0001\u0000¢\u0006\u0002\u0010N\u001a\u0012\u0010O\u001a\u0004\u0018\u00010\u0005*\u00020%H\bø\u0001\u0000\u001a\u0019\u0010O\u001a\u0004\u0018\u00010\u0005*\u00020%2\u0006\u0010I\u001a\u00020KH\u0007ø\u0001\u0000\u001a\u0012\u0010O\u001a\u0004\u0018\u00010\b*\u00020/H\bø\u0001\u0000\u001a\u0019\u0010O\u001a\u0004\u0018\u00010\b*\u00020/2\u0006\u0010I\u001a\u00020KH\u0007ø\u0001\u0000\u001a\f\u0010P\u001a\u000208*\u000208H\u0007\u001a\f\u0010P\u001a\u00020>*\u00020>H\u0007\u001a\u0015\u0010Q\u001a\u000208*\u0002082\u0006\u0010Q\u001a\u00020RH\u0004\u001a\u0015\u0010Q\u001a\u00020>*\u00020>2\u0006\u0010Q\u001a\u00020SH\u0004\u001a\u001f\u0010T\u001a\u00020%*\u00020\u00012\u0006\u00109\u001a\u00020\u0001H\u0004ø\u0001\u0000¢\u0006\u0004\bU\u0010V\u001a\u001f\u0010T\u001a\u00020%*\u00020\u00052\u0006\u00109\u001a\u00020\u0005H\u0004ø\u0001\u0000¢\u0006\u0004\bW\u0010X\u001a\u001f\u0010T\u001a\u00020/*\u00020\b2\u0006\u00109\u001a\u00020\bH\u0004ø\u0001\u0000¢\u0006\u0004\bY\u0010Z\u001a\u001f\u0010T\u001a\u00020%*\u00020\u000b2\u0006\u00109\u001a\u00020\u000bH\u0004ø\u0001\u0000¢\u0006\u0004\b[\u0010\\\u0002\u0004\n\u0002\b\u0019¨\u0006]"}, d2 = {"coerceAtLeast", "Lkotlin/UByte;", "minimumValue", "coerceAtLeast-Kr8caGY", "(BB)B", "Lkotlin/UInt;", "coerceAtLeast-J1ME1BU", "(II)I", "Lkotlin/ULong;", "coerceAtLeast-eb3DHEI", "(JJ)J", "Lkotlin/UShort;", "coerceAtLeast-5PvTz6A", "(SS)S", "coerceAtMost", "maximumValue", "coerceAtMost-Kr8caGY", "coerceAtMost-J1ME1BU", "coerceAtMost-eb3DHEI", "coerceAtMost-5PvTz6A", "coerceIn", "coerceIn-b33U2AM", "(BBB)B", "coerceIn-WZ9TVnA", "(III)I", "range", "Lkotlin/ranges/ClosedRange;", "coerceIn-wuiCnnA", "(ILkotlin/ranges/ClosedRange;)I", "coerceIn-sambcqE", "(JJJ)J", "coerceIn-JPwROB0", "(JLkotlin/ranges/ClosedRange;)J", "coerceIn-VKSA0NQ", "(SSS)S", "contains", "", "Lkotlin/ranges/UIntRange;", "value", "contains-68kG9v0", "(Lkotlin/ranges/UIntRange;B)Z", "element", "contains-biwQdVI", "contains-fz5IDCE", "(Lkotlin/ranges/UIntRange;J)Z", "contains-ZsK3CEQ", "(Lkotlin/ranges/UIntRange;S)Z", "Lkotlin/ranges/ULongRange;", "contains-ULb-yJY", "(Lkotlin/ranges/ULongRange;B)Z", "contains-Gab390E", "(Lkotlin/ranges/ULongRange;I)Z", "contains-GYNo2lE", "contains-uhHAxoY", "(Lkotlin/ranges/ULongRange;S)Z", "downTo", "Lkotlin/ranges/UIntProgression;", "to", "downTo-Kr8caGY", "(BB)Lkotlin/ranges/UIntProgression;", "downTo-J1ME1BU", "(II)Lkotlin/ranges/UIntProgression;", "Lkotlin/ranges/ULongProgression;", "downTo-eb3DHEI", "(JJ)Lkotlin/ranges/ULongProgression;", "downTo-5PvTz6A", "(SS)Lkotlin/ranges/UIntProgression;", "first", "(Lkotlin/ranges/UIntProgression;)I", "(Lkotlin/ranges/ULongProgression;)J", "firstOrNull", "last", "lastOrNull", "random", "(Lkotlin/ranges/UIntRange;)I", "Lkotlin/random/Random;", "(Lkotlin/ranges/UIntRange;Lkotlin/random/Random;)I", "(Lkotlin/ranges/ULongRange;)J", "(Lkotlin/ranges/ULongRange;Lkotlin/random/Random;)J", "randomOrNull", "reversed", "step", "", "", "until", "until-Kr8caGY", "(BB)Lkotlin/ranges/UIntRange;", "until-J1ME1BU", "(II)Lkotlin/ranges/UIntRange;", "until-eb3DHEI", "(JJ)Lkotlin/ranges/ULongRange;", "until-5PvTz6A", "(SS)Lkotlin/ranges/UIntRange;", "kotlin-stdlib"}, k = 5, mv = {1, 7, 1}, xi = 49, xs = "kotlin/ranges/URangesKt")
  /* compiled from: 0150 */
  class URangesKt___URangesKt {
      /* renamed from: coerceAtLeast-5PvTz6A  reason: not valid java name */
      public static final short m1275coerceAtLeast5PvTz6A(short $this$coerceAtLeast_u2d5PvTz6A, short minimumValue) {
          return Intrinsics.compare((int) $this$coerceAtLeast_u2d5PvTz6A & UShort.MAX_VALUE, (int) 65535 & minimumValue) < 0 ? minimumValue : $this$coerceAtLeast_u2d5PvTz6A;
      }
  
      /* renamed from: coerceAtLeast-J1ME1BU  reason: not valid java name */
      public static final int m1276coerceAtLeastJ1ME1BU(int $this$coerceAtLeast_u2dJ1ME1BU, int minimumValue) {
          return UnsignedKt.uintCompare($this$coerceAtLeast_u2dJ1ME1BU, minimumValue) < 0 ? minimumValue : $this$coerceAtLeast_u2dJ1ME1BU;
      }
  
      /* renamed from: coerceAtLeast-Kr8caGY  reason: not valid java name */
      public static final byte m1277coerceAtLeastKr8caGY(byte $this$coerceAtLeast_u2dKr8caGY, byte minimumValue) {
          return Intrinsics.compare((int) $this$coerceAtLeast_u2dKr8caGY & UByte.MAX_VALUE, (int) minimumValue & UByte.MAX_VALUE) < 0 ? minimumValue : $this$coerceAtLeast_u2dKr8caGY;
      }
  
      /* renamed from: coerceAtLeast-eb3DHEI  reason: not valid java name */
      public static final long m1278coerceAtLeasteb3DHEI(long $this$coerceAtLeast_u2deb3DHEI, long minimumValue) {
          return UnsignedKt.ulongCompare($this$coerceAtLeast_u2deb3DHEI, minimumValue) < 0 ? minimumValue : $this$coerceAtLeast_u2deb3DHEI;
      }
  
      /* renamed from: coerceAtMost-5PvTz6A  reason: not valid java name */
      public static final short m1279coerceAtMost5PvTz6A(short $this$coerceAtMost_u2d5PvTz6A, short maximumValue) {
          return Intrinsics.compare((int) $this$coerceAtMost_u2d5PvTz6A & UShort.MAX_VALUE, (int) 65535 & maximumValue) > 0 ? maximumValue : $this$coerceAtMost_u2d5PvTz6A;
      }
  
      /* renamed from: coerceAtMost-J1ME1BU  reason: not valid java name */
      public static final int m1280coerceAtMostJ1ME1BU(int $this$coerceAtMost_u2dJ1ME1BU, int maximumValue) {
          return UnsignedKt.uintCompare($this$coerceAtMost_u2dJ1ME1BU, maximumValue) > 0 ? maximumValue : $this$coerceAtMost_u2dJ1ME1BU;
      }
  
      /* renamed from: coerceAtMost-Kr8caGY  reason: not valid java name */
      public static final byte m1281coerceAtMostKr8caGY(byte $this$coerceAtMost_u2dKr8caGY, byte maximumValue) {
          return Intrinsics.compare((int) $this$coerceAtMost_u2dKr8caGY & UByte.MAX_VALUE, (int) maximumValue & UByte.MAX_VALUE) > 0 ? maximumValue : $this$coerceAtMost_u2dKr8caGY;
      }
  
      /* renamed from: coerceAtMost-eb3DHEI  reason: not valid java name */
      public static final long m1282coerceAtMosteb3DHEI(long $this$coerceAtMost_u2deb3DHEI, long maximumValue) {
          return UnsignedKt.ulongCompare($this$coerceAtMost_u2deb3DHEI, maximumValue) > 0 ? maximumValue : $this$coerceAtMost_u2deb3DHEI;
      }
  
      /* renamed from: coerceIn-JPwROB0  reason: not valid java name */
      public static final long m1283coerceInJPwROB0(long $this$coerceIn_u2dJPwROB0, ClosedRange<ULong> range) {
          Intrinsics.checkNotNullParameter(range, "range");
          if (range instanceof ClosedFloatingPointRange) {
              return ((ULong) RangesKt.coerceIn(ULong.m202boximpl($this$coerceIn_u2dJPwROB0), (ClosedFloatingPointRange) range)).m259unboximpl();
          }
          if (!range.isEmpty()) {
              return UnsignedKt.ulongCompare($this$coerceIn_u2dJPwROB0, range.getStart().m259unboximpl()) < 0 ? range.getStart().m259unboximpl() : UnsignedKt.ulongCompare($this$coerceIn_u2dJPwROB0, range.getEndInclusive().m259unboximpl()) > 0 ? range.getEndInclusive().m259unboximpl() : $this$coerceIn_u2dJPwROB0;
          }
          throw new IllegalArgumentException("Cannot coerce value to an empty range: " + range + '.');
      }
  
      /* renamed from: coerceIn-VKSA0NQ  reason: not valid java name */
      public static final short m1284coerceInVKSA0NQ(short $this$coerceIn_u2dVKSA0NQ, short minimumValue, short maximumValue) {
          if (Intrinsics.compare((int) minimumValue & UShort.MAX_VALUE, (int) maximumValue & UShort.MAX_VALUE) > 0) {
              StringBuilder append = new StringBuilder().append("Cannot coerce value to an empty range: maximum ");
              String r2 = UShort.m357toStringimpl(maximumValue);
              Log1F380D.a((Object) r2);
              StringBuilder append2 = append.append(r2).append(" is less than minimum ");
              String r22 = UShort.m357toStringimpl(minimumValue);
              Log1F380D.a((Object) r22);
              throw new IllegalArgumentException(append2.append(r22).append('.').toString());
          } else if (Intrinsics.compare((int) $this$coerceIn_u2dVKSA0NQ & UShort.MAX_VALUE, (int) minimumValue & UShort.MAX_VALUE) < 0) {
              return minimumValue;
          } else {
              return Intrinsics.compare((int) $this$coerceIn_u2dVKSA0NQ & UShort.MAX_VALUE, (int) 65535 & maximumValue) > 0 ? maximumValue : $this$coerceIn_u2dVKSA0NQ;
          }
      }
  
      /* renamed from: coerceIn-wuiCnnA  reason: not valid java name */
      public static final int m1288coerceInwuiCnnA(int $this$coerceIn_u2dwuiCnnA, ClosedRange<UInt> range) {
          Intrinsics.checkNotNullParameter(range, "range");
          if (range instanceof ClosedFloatingPointRange) {
              return ((UInt) RangesKt.coerceIn(UInt.m124boximpl($this$coerceIn_u2dwuiCnnA), (ClosedFloatingPointRange) range)).m181unboximpl();
          }
          if (!range.isEmpty()) {
              return UnsignedKt.uintCompare($this$coerceIn_u2dwuiCnnA, range.getStart().m181unboximpl()) < 0 ? range.getStart().m181unboximpl() : UnsignedKt.uintCompare($this$coerceIn_u2dwuiCnnA, range.getEndInclusive().m181unboximpl()) > 0 ? range.getEndInclusive().m181unboximpl() : $this$coerceIn_u2dwuiCnnA;
          }
          throw new IllegalArgumentException("Cannot coerce value to an empty range: " + range + '.');
      }
  
      /* renamed from: contains-68kG9v0  reason: not valid java name */
      public static final boolean m1289contains68kG9v0(UIntRange $this$contains_u2d68kG9v0, byte value) {
          Intrinsics.checkNotNullParameter($this$contains_u2d68kG9v0, "$this$contains");
          return $this$contains_u2d68kG9v0.m1265containsWZ4Q5Ns(UInt.m130constructorimpl(value & UByte.MAX_VALUE));
      }
  
      /* renamed from: contains-GYNo2lE  reason: not valid java name */
      private static final boolean m1290containsGYNo2lE(ULongRange $this$contains_u2dGYNo2lE, ULong element) {
          Intrinsics.checkNotNullParameter($this$contains_u2dGYNo2lE, "$this$contains");
          return element != null && $this$contains_u2dGYNo2lE.m1272containsVKZWuLQ(element.m259unboximpl());
      }
  
      /* renamed from: contains-Gab390E  reason: not valid java name */
      public static final boolean m1291containsGab390E(ULongRange $this$contains_u2dGab390E, int value) {
          Intrinsics.checkNotNullParameter($this$contains_u2dGab390E, "$this$contains");
          return $this$contains_u2dGab390E.m1272containsVKZWuLQ(ULong.m208constructorimpl(((long) value) & 4294967295L));
      }
  
      /* renamed from: contains-ULb-yJY  reason: not valid java name */
      public static final boolean m1292containsULbyJY(ULongRange $this$contains_u2dULb_u2dyJY, byte value) {
          Intrinsics.checkNotNullParameter($this$contains_u2dULb_u2dyJY, "$this$contains");
          return $this$contains_u2dULb_u2dyJY.m1272containsVKZWuLQ(ULong.m208constructorimpl(((long) value) & 255));
      }
  
      /* renamed from: contains-ZsK3CEQ  reason: not valid java name */
      public static final boolean m1293containsZsK3CEQ(UIntRange $this$contains_u2dZsK3CEQ, short value) {
          Intrinsics.checkNotNullParameter($this$contains_u2dZsK3CEQ, "$this$contains");
          return $this$contains_u2dZsK3CEQ.m1265containsWZ4Q5Ns(UInt.m130constructorimpl(65535 & value));
      }
  
      /* renamed from: contains-biwQdVI  reason: not valid java name */
      private static final boolean m1294containsbiwQdVI(UIntRange $this$contains_u2dbiwQdVI, UInt element) {
          Intrinsics.checkNotNullParameter($this$contains_u2dbiwQdVI, "$this$contains");
          return element != null && $this$contains_u2dbiwQdVI.m1265containsWZ4Q5Ns(element.m181unboximpl());
      }
  
      /* renamed from: contains-fz5IDCE  reason: not valid java name */
      public static final boolean m1295containsfz5IDCE(UIntRange $this$contains_u2dfz5IDCE, long value) {
          Intrinsics.checkNotNullParameter($this$contains_u2dfz5IDCE, "$this$contains");
          return ULong.m208constructorimpl(value >>> 32) == 0 && $this$contains_u2dfz5IDCE.m1265containsWZ4Q5Ns(UInt.m130constructorimpl((int) value));
      }
  
      /* renamed from: contains-uhHAxoY  reason: not valid java name */
      public static final boolean m1296containsuhHAxoY(ULongRange $this$contains_u2duhHAxoY, short value) {
          Intrinsics.checkNotNullParameter($this$contains_u2duhHAxoY, "$this$contains");
          return $this$contains_u2duhHAxoY.m1272containsVKZWuLQ(ULong.m208constructorimpl(((long) value) & WebSocketProtocol.PAYLOAD_SHORT_MAX));
      }
  
      /* renamed from: downTo-5PvTz6A  reason: not valid java name */
      public static final UIntProgression m1297downTo5PvTz6A(short $this$downTo_u2d5PvTz6A, short to) {
          return UIntProgression.Companion.m1263fromClosedRangeNkh28Cs(UInt.m130constructorimpl($this$downTo_u2d5PvTz6A & UShort.MAX_VALUE), UInt.m130constructorimpl(65535 & to), -1);
      }
  
      /* renamed from: downTo-J1ME1BU  reason: not valid java name */
      public static final UIntProgression m1298downToJ1ME1BU(int $this$downTo_u2dJ1ME1BU, int to) {
          return UIntProgression.Companion.m1263fromClosedRangeNkh28Cs($this$downTo_u2dJ1ME1BU, to, -1);
      }
  
      /* renamed from: downTo-Kr8caGY  reason: not valid java name */
      public static final UIntProgression m1299downToKr8caGY(byte $this$downTo_u2dKr8caGY, byte to) {
          return UIntProgression.Companion.m1263fromClosedRangeNkh28Cs(UInt.m130constructorimpl($this$downTo_u2dKr8caGY & UByte.MAX_VALUE), UInt.m130constructorimpl(to & UByte.MAX_VALUE), -1);
      }
  
      /* renamed from: downTo-eb3DHEI  reason: not valid java name */
      public static final ULongProgression m1300downToeb3DHEI(long $this$downTo_u2deb3DHEI, long to) {
          return ULongProgression.Companion.m1270fromClosedRange7ftBX0g($this$downTo_u2deb3DHEI, to, -1);
      }
  
      public static final int first(UIntProgression $this$first) {
          Intrinsics.checkNotNullParameter($this$first, "<this>");
          if (!$this$first.isEmpty()) {
              return $this$first.m1261getFirstpVg5ArA();
          }
          throw new NoSuchElementException("Progression " + $this$first + " is empty.");
      }
  
      public static final long first(ULongProgression $this$first) {
          Intrinsics.checkNotNullParameter($this$first, "<this>");
          if (!$this$first.isEmpty()) {
              return $this$first.m1268getFirstsVKNKU();
          }
          throw new NoSuchElementException("Progression " + $this$first + " is empty.");
      }
  
      public static final UInt firstOrNull(UIntProgression $this$firstOrNull) {
          Intrinsics.checkNotNullParameter($this$firstOrNull, "<this>");
          if ($this$firstOrNull.isEmpty()) {
              return null;
          }
          return UInt.m124boximpl($this$firstOrNull.m1261getFirstpVg5ArA());
      }
  
      public static final ULong firstOrNull(ULongProgression $this$firstOrNull) {
          Intrinsics.checkNotNullParameter($this$firstOrNull, "<this>");
          if ($this$firstOrNull.isEmpty()) {
              return null;
          }
          return ULong.m202boximpl($this$firstOrNull.m1268getFirstsVKNKU());
      }
  
      public static final int last(UIntProgression $this$last) {
          Intrinsics.checkNotNullParameter($this$last, "<this>");
          if (!$this$last.isEmpty()) {
              return $this$last.m1262getLastpVg5ArA();
          }
          throw new NoSuchElementException("Progression " + $this$last + " is empty.");
      }
  
      public static final long last(ULongProgression $this$last) {
          Intrinsics.checkNotNullParameter($this$last, "<this>");
          if (!$this$last.isEmpty()) {
              return $this$last.m1269getLastsVKNKU();
          }
          throw new NoSuchElementException("Progression " + $this$last + " is empty.");
      }
  
      public static final UInt lastOrNull(UIntProgression $this$lastOrNull) {
          Intrinsics.checkNotNullParameter($this$lastOrNull, "<this>");
          if ($this$lastOrNull.isEmpty()) {
              return null;
          }
          return UInt.m124boximpl($this$lastOrNull.m1262getLastpVg5ArA());
      }
  
      public static final ULong lastOrNull(ULongProgression $this$lastOrNull) {
          Intrinsics.checkNotNullParameter($this$lastOrNull, "<this>");
          if ($this$lastOrNull.isEmpty()) {
              return null;
          }
          return ULong.m202boximpl($this$lastOrNull.m1269getLastsVKNKU());
      }
  
      private static final int random(UIntRange $this$random) {
          Intrinsics.checkNotNullParameter($this$random, "<this>");
          return URangesKt.random($this$random, (Random) Random.Default);
      }
  
      public static final int random(UIntRange $this$random, Random random) {
          Intrinsics.checkNotNullParameter($this$random, "<this>");
          Intrinsics.checkNotNullParameter(random, "random");
          try {
              return URandomKt.nextUInt(random, $this$random);
          } catch (IllegalArgumentException e) {
              throw new NoSuchElementException(e.getMessage());
          }
      }
  
      private static final long random(ULongRange $this$random) {
          Intrinsics.checkNotNullParameter($this$random, "<this>");
          return URangesKt.random($this$random, (Random) Random.Default);
      }
  
      public static final long random(ULongRange $this$random, Random random) {
          Intrinsics.checkNotNullParameter($this$random, "<this>");
          Intrinsics.checkNotNullParameter(random, "random");
          try {
              return URandomKt.nextULong(random, $this$random);
          } catch (IllegalArgumentException e) {
              throw new NoSuchElementException(e.getMessage());
          }
      }
  
      private static final UInt randomOrNull(UIntRange $this$randomOrNull) {
          Intrinsics.checkNotNullParameter($this$randomOrNull, "<this>");
          return URangesKt.randomOrNull($this$randomOrNull, (Random) Random.Default);
      }
  
      public static final UInt randomOrNull(UIntRange $this$randomOrNull, Random random) {
          Intrinsics.checkNotNullParameter($this$randomOrNull, "<this>");
          Intrinsics.checkNotNullParameter(random, "random");
          if ($this$randomOrNull.isEmpty()) {
              return null;
          }
          return UInt.m124boximpl(URandomKt.nextUInt(random, $this$randomOrNull));
      }
  
      private static final ULong randomOrNull(ULongRange $this$randomOrNull) {
          Intrinsics.checkNotNullParameter($this$randomOrNull, "<this>");
          return URangesKt.randomOrNull($this$randomOrNull, (Random) Random.Default);
      }
  
      public static final ULong randomOrNull(ULongRange $this$randomOrNull, Random random) {
          Intrinsics.checkNotNullParameter($this$randomOrNull, "<this>");
          Intrinsics.checkNotNullParameter(random, "random");
          if ($this$randomOrNull.isEmpty()) {
              return null;
          }
          return ULong.m202boximpl(URandomKt.nextULong(random, $this$randomOrNull));
      }
  
      public static final UIntProgression reversed(UIntProgression $this$reversed) {
          Intrinsics.checkNotNullParameter($this$reversed, "<this>");
          return UIntProgression.Companion.m1263fromClosedRangeNkh28Cs($this$reversed.m1262getLastpVg5ArA(), $this$reversed.m1261getFirstpVg5ArA(), -$this$reversed.getStep());
      }
  
      public static final ULongProgression reversed(ULongProgression $this$reversed) {
          Intrinsics.checkNotNullParameter($this$reversed, "<this>");
          return ULongProgression.Companion.m1270fromClosedRange7ftBX0g($this$reversed.m1269getLastsVKNKU(), $this$reversed.m1268getFirstsVKNKU(), -$this$reversed.getStep());
      }
  
      public static final UIntProgression step(UIntProgression $this$step, int step) {
          Intrinsics.checkNotNullParameter($this$step, "<this>");
          RangesKt.checkStepIsPositive(step > 0, Integer.valueOf(step));
          return UIntProgression.Companion.m1263fromClosedRangeNkh28Cs($this$step.m1261getFirstpVg5ArA(), $this$step.m1262getLastpVg5ArA(), $this$step.getStep() > 0 ? step : -step);
      }
  
      public static final ULongProgression step(ULongProgression $this$step, long step) {
          Intrinsics.checkNotNullParameter($this$step, "<this>");
          RangesKt.checkStepIsPositive(step > 0, Long.valueOf(step));
          return ULongProgression.Companion.m1270fromClosedRange7ftBX0g($this$step.m1268getFirstsVKNKU(), $this$step.m1269getLastsVKNKU(), $this$step.getStep() > 0 ? step : -step);
      }
  
      /* renamed from: until-5PvTz6A  reason: not valid java name */
      public static final UIntRange m1301until5PvTz6A(short $this$until_u2d5PvTz6A, short to) {
          return Intrinsics.compare((int) to & UShort.MAX_VALUE, 0) <= 0 ? UIntRange.Companion.getEMPTY() : new UIntRange(UInt.m130constructorimpl($this$until_u2d5PvTz6A & UShort.MAX_VALUE), UInt.m130constructorimpl(UInt.m130constructorimpl(65535 & to) - 1), (DefaultConstructorMarker) null);
      }
  
      /* renamed from: until-J1ME1BU  reason: not valid java name */
      public static final UIntRange m1302untilJ1ME1BU(int $this$until_u2dJ1ME1BU, int to) {
          return UnsignedKt.uintCompare(to, 0) <= 0 ? UIntRange.Companion.getEMPTY() : new UIntRange($this$until_u2dJ1ME1BU, UInt.m130constructorimpl(to - 1), (DefaultConstructorMarker) null);
      }
  
      /* renamed from: until-Kr8caGY  reason: not valid java name */
      public static final UIntRange m1303untilKr8caGY(byte $this$until_u2dKr8caGY, byte to) {
          return Intrinsics.compare((int) to & UByte.MAX_VALUE, 0) <= 0 ? UIntRange.Companion.getEMPTY() : new UIntRange(UInt.m130constructorimpl($this$until_u2dKr8caGY & UByte.MAX_VALUE), UInt.m130constructorimpl(UInt.m130constructorimpl(to & UByte.MAX_VALUE) - 1), (DefaultConstructorMarker) null);
      }
  
      /* renamed from: until-eb3DHEI  reason: not valid java name */
      public static final ULongRange m1304untileb3DHEI(long $this$until_u2deb3DHEI, long to) {
          if (UnsignedKt.ulongCompare(to, 0) <= 0) {
              return ULongRange.Companion.getEMPTY();
          }
          return new ULongRange($this$until_u2deb3DHEI, ULong.m208constructorimpl(to - ULong.m208constructorimpl(((long) 1) & 4294967295L)), (DefaultConstructorMarker) null);
      }
  
      /* renamed from: coerceIn-WZ9TVnA  reason: not valid java name */
      public static final int m1285coerceInWZ9TVnA(int $this$coerceIn_u2dWZ9TVnA, int minimumValue, int maximumValue) {
          if (UnsignedKt.uintCompare(minimumValue, maximumValue) > 0) {
              StringBuilder append = new StringBuilder().append("Cannot coerce value to an empty range: maximum ");
              String r2 = UInt.m175toStringimpl(maximumValue);
              Log1F380D.a((Object) r2);
              StringBuilder append2 = append.append(r2).append(" is less than minimum ");
              String r22 = UInt.m175toStringimpl(minimumValue);
              Log1F380D.a((Object) r22);
              throw new IllegalArgumentException(append2.append(r22).append('.').toString());
          } else if (UnsignedKt.uintCompare($this$coerceIn_u2dWZ9TVnA, minimumValue) < 0) {
              return minimumValue;
          } else {
              return UnsignedKt.uintCompare($this$coerceIn_u2dWZ9TVnA, maximumValue) > 0 ? maximumValue : $this$coerceIn_u2dWZ9TVnA;
          }
      }
  
      /* renamed from: coerceIn-b33U2AM  reason: not valid java name */
      public static final byte m1286coerceInb33U2AM(byte $this$coerceIn_u2db33U2AM, byte minimumValue, byte maximumValue) {
          if (Intrinsics.compare((int) minimumValue & UByte.MAX_VALUE, (int) maximumValue & UByte.MAX_VALUE) > 0) {
              StringBuilder append = new StringBuilder().append("Cannot coerce value to an empty range: maximum ");
              String r2 = UByte.m97toStringimpl(maximumValue);
              Log1F380D.a((Object) r2);
              StringBuilder append2 = append.append(r2).append(" is less than minimum ");
              String r22 = UByte.m97toStringimpl(minimumValue);
              Log1F380D.a((Object) r22);
              throw new IllegalArgumentException(append2.append(r22).append('.').toString());
          } else if (Intrinsics.compare((int) $this$coerceIn_u2db33U2AM & UByte.MAX_VALUE, (int) minimumValue & UByte.MAX_VALUE) < 0) {
              return minimumValue;
          } else {
              return Intrinsics.compare((int) $this$coerceIn_u2db33U2AM & UByte.MAX_VALUE, (int) maximumValue & UByte.MAX_VALUE) > 0 ? maximumValue : $this$coerceIn_u2db33U2AM;
          }
      }
  
      /* renamed from: coerceIn-sambcqE  reason: not valid java name */
      public static final long m1287coerceInsambcqE(long $this$coerceIn_u2dsambcqE, long minimumValue, long maximumValue) {
          if (UnsignedKt.ulongCompare(minimumValue, maximumValue) > 0) {
              StringBuilder append = new StringBuilder().append("Cannot coerce value to an empty range: maximum ");
              String r2 = ULong.m253toStringimpl(maximumValue);
              Log1F380D.a((Object) r2);
              StringBuilder append2 = append.append(r2).append(" is less than minimum ");
              String r22 = ULong.m253toStringimpl(minimumValue);
              Log1F380D.a((Object) r22);
              throw new IllegalArgumentException(append2.append(r22).append('.').toString());
          } else if (UnsignedKt.ulongCompare($this$coerceIn_u2dsambcqE, minimumValue) < 0) {
              return minimumValue;
          } else {
              return UnsignedKt.ulongCompare($this$coerceIn_u2dsambcqE, maximumValue) > 0 ? maximumValue : $this$coerceIn_u2dsambcqE;
          }
      }
  }
  