f.smali

.class public final Lya/f;
.super Lkotlin/collections/d0;
.source "SourceFile"


# annotations
.annotation runtime Lkotlin/Metadata;
.end annotation


# instance fields
.field private final a:J

.field private final b:J

.field private c:Z

.field private d:J


# direct methods
.method public constructor <init>(JJJ)V
    .registers 12

    invoke-direct {p0}, Lkotlin/collections/d0;-><init>()V

    iput-wide p5, p0, Lya/f;->a:J

    iput-wide p3, p0, Lya/f;->b:J

    const-wide/16 v0, 0x0

    const/4 v2, 0x1

    const/4 v3, 0x0

    cmp-long v4, p5, v0

    cmp-long p5, p1, p3

    if-lez v4, :cond_14

    if-gtz p5, :cond_17

    goto :goto_18

    :cond_14
    if-ltz p5, :cond_17

    goto :goto_18

    :cond_17
    const/4 v2, 0x0

    :goto_18
    iput-boolean v2, p0, Lya/f;->c:Z

    if-eqz v2, :cond_1d

    goto :goto_1e

    :cond_1d
    move-wide p1, p3

    :goto_1e
    iput-wide p1, p0, Lya/f;->d:J

    return-void
.end method


# virtual methods
.method public hasNext()Z
    .registers 2

    iget-boolean v0, p0, Lya/f;->c:Z

    return v0
.end method

.method public nextLong()J
    .registers 6

    iget-wide v0, p0, Lya/f;->d:J

    iget-wide v2, p0, Lya/f;->b:J

    cmp-long v4, v0, v2

    if-nez v4, :cond_16

    iget-boolean v2, p0, Lya/f;->c:Z

    if-eqz v2, :cond_10

    const/4 v2, 0x0

    iput-boolean v2, p0, Lya/f;->c:Z

    goto :goto_1b

    :cond_10
    new-instance v0, Ljava/util/NoSuchElementException;

    invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V

    throw v0

    :cond_16
    iget-wide v2, p0, Lya/f;->a:J

    add-long/2addr v2, v0

    iput-wide v2, p0, Lya/f;->d:J

    :goto_1b
    return-wide v0
.end method