Rabbit-R1/switch port/smali/smali_classes3/kotlin/ranges/CharProgressionIterator.smali

160 lines
3.6 KiB
Smali
Raw Normal View History

2024-05-21 16:08:36 -05:00
.class public final Lkotlin/ranges/CharProgressionIterator;
.super Lkotlin/collections/CharIterator;
.source "ProgressionIterators.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000\"\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000c\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0002\u0008\u0003\n\u0002\u0010\u000b\n\u0002\u0008\u0005\u0008\u0000\u0018\u00002\u00020\u0001B\u001d\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0003\u0012\u0006\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\t\u0010\t\u001a\u00020\nH\u0096\u0002J\u0008\u0010\u000e\u001a\u00020\u0003H\u0016R\u000e\u0010\u0008\u001a\u00020\u0006X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\t\u001a\u00020\nX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000b\u001a\u00020\u0006X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u000c\u0010\r\u00a8\u0006\u000f"
}
d2 = {
"Lkotlin/ranges/CharProgressionIterator;",
"Lkotlin/collections/CharIterator;",
"first",
"",
"last",
"step",
"",
"(CCI)V",
"finalElement",
"hasNext",
"",
"next",
"getStep",
"()I",
"nextChar",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x1,
0x9,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private final finalElement:I
.field private hasNext:Z
.field private next:I
.field private final step:I
# direct methods
.method public constructor <init>(CCI)V
.locals 2
.line 14
invoke-direct {p0}, Lkotlin/collections/CharIterator;-><init>()V
iput p3, p0, Lkotlin/ranges/CharProgressionIterator;->step:I
iput p2, p0, Lkotlin/ranges/CharProgressionIterator;->finalElement:I
const/4 v0, 0x1
const/4 v1, 0x0
if-lez p3, :cond_0
.line 16
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
move-result p3
if-gtz p3, :cond_1
goto :goto_0
:cond_0
invoke-static {p1, p2}, Lkotlin/jvm/internal/Intrinsics;->compare(II)I
move-result p3
if-ltz p3, :cond_1
goto :goto_0
:cond_1
move v0, v1
:goto_0
iput-boolean v0, p0, Lkotlin/ranges/CharProgressionIterator;->hasNext:Z
if-eqz v0, :cond_2
goto :goto_1
:cond_2
move p1, p2
:goto_1
iput p1, p0, Lkotlin/ranges/CharProgressionIterator;->next:I
return-void
.end method
# virtual methods
.method public final getStep()I
.locals 0
iget p0, p0, Lkotlin/ranges/CharProgressionIterator;->step:I
return p0
.end method
.method public hasNext()Z
.locals 0
iget-boolean p0, p0, Lkotlin/ranges/CharProgressionIterator;->hasNext:Z
return p0
.end method
.method public nextChar()C
.locals 2
iget v0, p0, Lkotlin/ranges/CharProgressionIterator;->next:I
iget v1, p0, Lkotlin/ranges/CharProgressionIterator;->finalElement:I
if-ne v0, v1, :cond_1
iget-boolean v1, p0, Lkotlin/ranges/CharProgressionIterator;->hasNext:Z
if-eqz v1, :cond_0
const/4 v1, 0x0
iput-boolean v1, p0, Lkotlin/ranges/CharProgressionIterator;->hasNext:Z
goto :goto_0
.line 24
:cond_0
new-instance p0, Ljava/util/NoSuchElementException;
invoke-direct {p0}, Ljava/util/NoSuchElementException;-><init>()V
throw p0
:cond_1
iget v1, p0, Lkotlin/ranges/CharProgressionIterator;->step:I
add-int/2addr v1, v0
iput v1, p0, Lkotlin/ranges/CharProgressionIterator;->next:I
:goto_0
int-to-char p0, v0
return p0
.end method