.class public Lz5/jo1;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/util/Iterator;
.implements Ljava/io/Closeable;
.implements Lz5/wz1;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Iterator<",
        "Lz5/vz1;",
        ">;",
        "Ljava/io/Closeable;",
        "Lz5/wz1;"
    }
.end annotation


# static fields
.field public static final x:Lz5/vz1;


# instance fields
.field public r:Lz5/tz1;

.field public s:Lz5/w60;

.field public t:Lz5/vz1;

.field public u:J

.field public v:J

.field public final w:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lz5/vz1;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    new-instance v0, Lz5/io1;

    invoke-direct {v0}, Lz5/io1;-><init>()V

    sput-object v0, Lz5/jo1;->x:Lz5/vz1;

    const-class v0, Lz5/jo1;

    invoke-static {v0}, Lz5/no1;->b(Ljava/lang/Class;)Lz5/no1;

    return-void
.end method

.method public constructor <init>()V
    .registers 3

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    iput-object v0, p0, Lz5/jo1;->t:Lz5/vz1;

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lz5/jo1;->u:J

    iput-wide v0, p0, Lz5/jo1;->v:J

    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lz5/jo1;->w:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public close()V
    .registers 1

    return-void
.end method

.method public final g()Ljava/util/List;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Lz5/vz1;",
            ">;"
        }
    .end annotation

    iget-object v0, p0, Lz5/jo1;->s:Lz5/w60;

    if-eqz v0, :cond_12

    iget-object v0, p0, Lz5/jo1;->t:Lz5/vz1;

    sget-object v1, Lz5/jo1;->x:Lz5/vz1;

    if-eq v0, v1, :cond_12

    new-instance v0, Lz5/mo1;

    iget-object v1, p0, Lz5/jo1;->w:Ljava/util/List;

    invoke-direct {v0, v1, p0}, Lz5/mo1;-><init>(Ljava/util/List;Ljava/util/Iterator;)V

    return-object v0

    :cond_12
    iget-object v0, p0, Lz5/jo1;->w:Ljava/util/List;

    return-object v0
.end method

.method public final hasNext()Z
    .registers 4

    iget-object v0, p0, Lz5/jo1;->t:Lz5/vz1;

    sget-object v1, Lz5/jo1;->x:Lz5/vz1;

    const/4 v2, 0x0

    if-ne v0, v1, :cond_8

    return v2

    :cond_8
    const/4 v1, 0x1

    if-eqz v0, :cond_c

    return v1

    :cond_c
    :try_start_c
    invoke-virtual {p0}, Lz5/jo1;->k()Lz5/vz1;

    move-result-object v0

    iput-object v0, p0, Lz5/jo1;->t:Lz5/vz1;
    :try_end_12
    .catch Ljava/util/NoSuchElementException; {:try_start_c .. :try_end_12} :catch_13

    return v1

    :catch_13
    sget-object v0, Lz5/jo1;->x:Lz5/vz1;

    iput-object v0, p0, Lz5/jo1;->t:Lz5/vz1;

    return v2
.end method

.method public final k()Lz5/vz1;
    .registers 6

    iget-object v0, p0, Lz5/jo1;->t:Lz5/vz1;

    if-eqz v0, :cond_d

    sget-object v1, Lz5/jo1;->x:Lz5/vz1;

    if-ne v0, v1, :cond_9

    goto :goto_d

    :cond_9
    const/4 v1, 0x0

    iput-object v1, p0, Lz5/jo1;->t:Lz5/vz1;

    return-object v0

    :cond_d
    :goto_d
    iget-object v0, p0, Lz5/jo1;->s:Lz5/w60;

    if-eqz v0, :cond_44

    iget-wide v1, p0, Lz5/jo1;->u:J

    iget-wide v3, p0, Lz5/jo1;->v:J

    cmp-long v1, v1, v3

    if-gez v1, :cond_44

    :try_start_19
    monitor-enter v0
    :try_end_1a
    .catch Ljava/io/EOFException; {:try_start_19 .. :try_end_1a} :catch_3e
    .catch Ljava/io/IOException; {:try_start_19 .. :try_end_1a} :catch_38

    :try_start_1a
    iget-object v1, p0, Lz5/jo1;->s:Lz5/w60;

    iget-wide v2, p0, Lz5/jo1;->u:J

    invoke-virtual {v1, v2, v3}, Lz5/w60;->g(J)V

    iget-object v1, p0, Lz5/jo1;->r:Lz5/tz1;

    iget-object v2, p0, Lz5/jo1;->s:Lz5/w60;

    check-cast v1, Lz5/sz1;

    invoke-virtual {v1, v2, p0}, Lz5/sz1;->b(Lz5/w60;Lz5/wz1;)Lz5/vz1;

    move-result-object v1

    iget-object v2, p0, Lz5/jo1;->s:Lz5/w60;

    invoke-virtual {v2}, Lz5/w60;->e()J

    move-result-wide v2

    iput-wide v2, p0, Lz5/jo1;->u:J

    monitor-exit v0

    return-object v1

    :catchall_35
    move-exception v1

    monitor-exit v0
    :try_end_37
    .catchall {:try_start_1a .. :try_end_37} :catchall_35

    :try_start_37
    throw v1
    :try_end_38
    .catch Ljava/io/EOFException; {:try_start_37 .. :try_end_38} :catch_3e
    .catch Ljava/io/IOException; {:try_start_37 .. :try_end_38} :catch_38

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

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

    throw v0

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

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

    throw v0

    :cond_44
    sget-object v0, Lz5/jo1;->x:Lz5/vz1;

    iput-object v0, p0, Lz5/jo1;->t:Lz5/vz1;

    new-instance v0, Ljava/util/NoSuchElementException;

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

    throw v0
.end method

.method public final bridge synthetic next()Ljava/lang/Object;
    .registers 2

    invoke-virtual {p0}, Lz5/jo1;->k()Lz5/vz1;

    move-result-object v0

    return-object v0
.end method

.method public final remove()V
    .registers 2

    new-instance v0, Ljava/lang/UnsupportedOperationException;

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

    throw v0
.end method

.method public toString()Ljava/lang/String;
    .registers 4

    new-instance v0, Ljava/lang/StringBuilder;

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

    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "["

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const/4 v1, 0x0

    :goto_16
    iget-object v2, p0, Lz5/jo1;->w:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v1, v2, :cond_37

    if-lez v1, :cond_25

    const-string v2, ";"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :cond_25
    iget-object v2, p0, Lz5/jo1;->w:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lz5/vz1;

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    add-int/lit8 v1, v1, 0x1

    goto :goto_16

    :cond_37
    const-string v1, "]"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method
