content: package kotlin.ranges;
  
  import java.util.Iterator;
  import kotlin.Metadata;
  import kotlin.UInt;
  import kotlin.UnsignedKt;
  import kotlin.internal.UProgressionUtilKt;
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.markers.KMappedMarker;
  import mt.Log1F380D;
  
  @Metadata(d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u001c\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\b\n\u0002\b\u0007\n\u0002\u0010\u000b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0010(\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\b\u0017\u0018\u0000 \u00172\b\u0012\u0004\u0012\u00020\u00020\u0001:\u0001\u0017B\"\b\u0000\u0012\u0006\u0010\u0003\u001a\u00020\u0002\u0012\u0006\u0010\u0004\u001a\u00020\u0002\u0012\u0006\u0010\u0005\u001a\u00020\u0006ø\u0001\u0000¢\u0006\u0002\u0010\u0007J\u0013\u0010\r\u001a\u00020\u000e2\b\u0010\u000f\u001a\u0004\u0018\u00010\u0010H\u0002J\b\u0010\u0011\u001a\u00020\u0006H\u0016J\b\u0010\u0012\u001a\u00020\u000eH\u0016J\u0012\u0010\u0013\u001a\b\u0012\u0004\u0012\u00020\u00020\u0014H\u0002ø\u0001\u0000J\b\u0010\u0015\u001a\u00020\u0016H\u0016R\u0013\u0010\b\u001a\u00020\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\n\u0002\u0010\tR\u0013\u0010\n\u001a\u00020\u0002ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\n\u0002\u0010\tR\u0011\u0010\u0005\u001a\u00020\u0006¢\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fø\u0001\u0000\u0002\b\n\u0002\b\u0019\n\u0002\b!¨\u0006\u0018"}, d2 = {"Lkotlin/ranges/UIntProgression;", "", "Lkotlin/UInt;", "start", "endInclusive", "step", "", "(IIILkotlin/jvm/internal/DefaultConstructorMarker;)V", "first", "I", "last", "getStep", "()I", "equals", "", "other", "", "hashCode", "isEmpty", "iterator", "", "toString", "", "Companion", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
  /* compiled from: 014C */
  public class UIntProgression implements Iterable<UInt>, KMappedMarker {
      public static final Companion Companion = new Companion((DefaultConstructorMarker) null);
      private final int first;
      private final int last;
      private final int step;
  
      @Metadata(d1 = {"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\b\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J(\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u00062\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\tø\u0001\u0000¢\u0006\u0004\b\n\u0010\u000b\u0002\u0004\n\u0002\b\u0019¨\u0006\f"}, d2 = {"Lkotlin/ranges/UIntProgression$Companion;", "", "()V", "fromClosedRange", "Lkotlin/ranges/UIntProgression;", "rangeStart", "Lkotlin/UInt;", "rangeEnd", "step", "", "fromClosedRange-Nkh28Cs", "(III)Lkotlin/ranges/UIntProgression;", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
      /* compiled from: UIntRange.kt */
      public static final class Companion {
          private Companion() {
          }
  
          public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
              this();
          }
  
          /* renamed from: fromClosedRange-Nkh28Cs  reason: not valid java name */
          public final UIntProgression m1263fromClosedRangeNkh28Cs(int rangeStart, int rangeEnd, int step) {
              return new UIntProgression(rangeStart, rangeEnd, step, (DefaultConstructorMarker) null);
          }
      }
  
      private UIntProgression(int start, int endInclusive, int step2) {
          if (step2 == 0) {
              throw new IllegalArgumentException("Step must be non-zero.");
          } else if (step2 != Integer.MIN_VALUE) {
              this.first = start;
              this.last = UProgressionUtilKt.m1247getProgressionLastElementNkh28Cs(start, endInclusive, step2);
              this.step = step2;
          } else {
              throw new IllegalArgumentException("Step must be greater than Int.MIN_VALUE to avoid overflow on negation.");
          }
      }
  
      public /* synthetic */ UIntProgression(int i, int i2, int i3, DefaultConstructorMarker defaultConstructorMarker) {
          this(i, i2, i3);
      }
  
      public boolean equals(Object other) {
          return (other instanceof UIntProgression) && ((isEmpty() && ((UIntProgression) other).isEmpty()) || (this.first == ((UIntProgression) other).first && this.last == ((UIntProgression) other).last && this.step == ((UIntProgression) other).step));
      }
  
      /* renamed from: getFirst-pVg5ArA  reason: not valid java name */
      public final int m1261getFirstpVg5ArA() {
          return this.first;
      }
  
      /* renamed from: getLast-pVg5ArA  reason: not valid java name */
      public final int m1262getLastpVg5ArA() {
          return this.last;
      }
  
      public final int getStep() {
          return this.step;
      }
  
      public int hashCode() {
          if (isEmpty()) {
              return -1;
          }
          return (((this.first * 31) + this.last) * 31) + this.step;
      }
  
      public boolean isEmpty() {
          if (this.step > 0) {
              if (UnsignedKt.uintCompare(this.first, this.last) > 0) {
                  return true;
              }
          } else if (UnsignedKt.uintCompare(this.first, this.last) < 0) {
              return true;
          }
          return false;
      }
  
      public final Iterator<UInt> iterator() {
          return new UIntProgressionIterator(this.first, this.last, this.step, (DefaultConstructorMarker) null);
      }
  
      public String toString() {
          int i;
          StringBuilder sb;
          if (this.step > 0) {
              StringBuilder sb2 = new StringBuilder();
              String r2 = UInt.m175toStringimpl(this.first);
              Log1F380D.a((Object) r2);
              StringBuilder append = sb2.append(r2).append("..");
              String r22 = UInt.m175toStringimpl(this.last);
              Log1F380D.a((Object) r22);
              sb = append.append(r22).append(" step ");
              i = this.step;
          } else {
              StringBuilder sb3 = new StringBuilder();
              String r23 = UInt.m175toStringimpl(this.first);
              Log1F380D.a((Object) r23);
              StringBuilder append2 = sb3.append(r23).append(" downTo ");
              String r24 = UInt.m175toStringimpl(this.last);
              Log1F380D.a((Object) r24);
              sb = append2.append(r24).append(" step ");
              i = -this.step;
          }
          return sb.append(i).toString();
      }
  }
  