2019-12-20 07:00:35 +00:00
|
|
|
.class public final Lm/x/b;
|
|
|
|
.super Lm/q/r;
|
2019-12-06 03:29:40 +00:00
|
|
|
.source "ProgressionIterators.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final d:I
|
|
|
|
|
|
|
|
.field public e:Z
|
|
|
|
|
|
|
|
.field public f:I
|
|
|
|
|
|
|
|
.field public final g:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(III)V
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
invoke-direct {p0}, Lm/q/r;-><init>()V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iput p3, p0, Lm/x/b;->g:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iput p2, p0, Lm/x/b;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget p3, p0, Lm/x/b;->g:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-lez p3, :cond_0
|
|
|
|
|
|
|
|
if-gt p1, p2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-lt p1, p2, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2019-12-20 07:00:35 +00:00
|
|
|
iput-boolean v0, p0, Lm/x/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-boolean p2, p0, Lm/x/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz p2, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
2019-12-20 07:00:35 +00:00
|
|
|
iget p1, p0, Lm/x/b;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_1
|
2019-12-20 07:00:35 +00:00
|
|
|
iput p1, p0, Lm/x/b;->f:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public hasNext()Z
|
|
|
|
.locals 1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-boolean v0, p0, Lm/x/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public nextInt()I
|
|
|
|
.locals 2
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget v0, p0, Lm/x/b;->f:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget v1, p0, Lm/x/b;->d:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-ne v0, v1, :cond_1
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iget-boolean v1, p0, Lm/x/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iput-boolean v1, p0, Lm/x/b;->e:Z
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/util/NoSuchElementException;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-20 07:00:35 +00:00
|
|
|
iget v1, p0, Lm/x/b;->g:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
add-int/2addr v1, v0
|
|
|
|
|
2019-12-20 07:00:35 +00:00
|
|
|
iput v1, p0, Lm/x/b;->f:I
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return v0
|
|
|
|
.end method
|