content: package kotlin.ranges;
  
  import java.util.Iterator;
  import java.util.NoSuchElementException;
  import kotlin.Metadata;
  import kotlin.ULong;
  import kotlin.UnsignedKt;
  import kotlin.jvm.internal.DefaultConstructorMarker;
  import kotlin.jvm.internal.markers.KMappedMarker;
  
  @Metadata(d1 = {"\u0000 \n\u0002\u0018\u0002\n\u0002\u0010(\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\t\n\u0002\b\u0004\n\u0002\u0010\u000b\n\u0002\b\u0004\b\u0003\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B \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\t\u0010\n\u001a\u00020\u000bH\u0002J\u0016\u0010\f\u001a\u00020\u0002H\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b\r\u0010\u000eR\u0016\u0010\b\u001a\u00020\u0002X\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\n\u0002\u0010\tR\u000e\u0010\n\u001a\u00020\u000bX\u000e¢\u0006\u0002\n\u0000R\u0016\u0010\f\u001a\u00020\u0002X\u000eø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\n\u0002\u0010\tR\u0016\u0010\u0005\u001a\u00020\u0002X\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\u0004\n\u0002\u0010\tø\u0001\u0000\u0002\b\n\u0002\b\u0019\n\u0002\b!¨\u0006\u000f"}, d2 = {"Lkotlin/ranges/ULongProgressionIterator;", "", "Lkotlin/ULong;", "first", "last", "step", "", "(JJJLkotlin/jvm/internal/DefaultConstructorMarker;)V", "finalElement", "J", "hasNext", "", "next", "next-s-VKNKU", "()J", "kotlin-stdlib"}, k = 1, mv = {1, 7, 1}, xi = 48)
  /* compiled from: ULongRange.kt */
  final class ULongProgressionIterator implements Iterator<ULong>, KMappedMarker {
      private final long finalElement;
      private boolean hasNext;
      private long next;
      private final long step;
  
      private ULongProgressionIterator(long first, long last, long step2) {
          this.finalElement = last;
          boolean z = true;
          if (step2 <= 0 ? UnsignedKt.ulongCompare(first, last) < 0 : UnsignedKt.ulongCompare(first, last) > 0) {
              z = false;
          }
          this.hasNext = z;
          this.step = ULong.m208constructorimpl(step2);
          this.next = this.hasNext ? first : last;
      }
  
      public /* synthetic */ ULongProgressionIterator(long j, long j2, long j3, DefaultConstructorMarker defaultConstructorMarker) {
          this(j, j2, j3);
      }
  
      public boolean hasNext() {
          return this.hasNext;
      }
  
      public /* bridge */ /* synthetic */ Object next() {
          return ULong.m202boximpl(m1271nextsVKNKU());
      }
  
      /* renamed from: next-s-VKNKU  reason: not valid java name */
      public long m1271nextsVKNKU() {
          long j = this.next;
          if (j != this.finalElement) {
              this.next = ULong.m208constructorimpl(this.next + this.step);
          } else if (this.hasNext) {
              this.hasNext = false;
          } else {
              throw new NoSuchElementException();
          }
          return j;
      }
  
      public void remove() {
          throw new UnsupportedOperationException("Operation is not supported for read-only collection");
      }
  }
  