2020-03-27 22:23:51 +00:00
|
|
|
.class public final Ly/x/d;
|
|
|
|
.super Ly/q/s;
|
2020-02-29 06:28:25 +00:00
|
|
|
.source "ProgressionIterators.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
|
|
|
.field public final d:J
|
|
|
|
|
|
|
|
.field public e:Z
|
|
|
|
|
|
|
|
.field public f:J
|
|
|
|
|
|
|
|
.field public final g:J
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(JJJ)V
|
|
|
|
.locals 5
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
invoke-direct {p0}, Ly/q/s;-><init>()V
|
2020-02-29 06:28:25 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-wide p5, p0, Ly/x/d;->g:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-wide p3, p0, Ly/x/d;->d:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-wide p5, p0, Ly/x/d;->g:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
|
|
|
|
cmp-long v4, p5, v2
|
|
|
|
|
|
|
|
cmp-long p5, p1, p3
|
|
|
|
|
|
|
|
if-lez v4, :cond_0
|
|
|
|
|
|
|
|
if-gtz p5, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
if-ltz p5, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-boolean v0, p0, Ly/x/d;->e:Z
|
2020-02-29 06:28:25 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean p3, p0, Ly/x/d;->e:Z
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-wide p1, p0, Ly/x/d;->d:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
:goto_1
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-wide p1, p0, Ly/x/d;->f:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public hasNext()Z
|
|
|
|
.locals 1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean v0, p0, Ly/x/d;->e:Z
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
return v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public nextLong()J
|
|
|
|
.locals 5
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-wide v0, p0, Ly/x/d;->f:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-wide v2, p0, Ly/x/d;->d:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
cmp-long v4, v0, v2
|
|
|
|
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-boolean v2, p0, Ly/x/d;->e:Z
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-boolean v2, p0, Ly/x/d;->e:Z
|
2020-02-29 06:28:25 +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
|
2020-03-27 22:23:51 +00:00
|
|
|
iget-wide v2, p0, Ly/x/d;->g:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
add-long/2addr v2, v0
|
|
|
|
|
2020-03-27 22:23:51 +00:00
|
|
|
iput-wide v2, p0, Ly/x/d;->f:J
|
2020-02-29 06:28:25 +00:00
|
|
|
|
|
|
|
:goto_0
|
|
|
|
return-wide v0
|
|
|
|
.end method
|