f$a.smali

.class public final Lkotlin/l/f$a;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/util/Iterator;
.implements Lkotlin/f/b/a/a;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lkotlin/l/f;->iterator()Ljava/util/Iterator;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Iterator<",
        "TT;>;",
        "Lkotlin/f/b/a/a;"
    }
.end annotation


# instance fields
.field final synthetic a:Lkotlin/l/f;

.field private b:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TT;"
        }
    .end annotation
.end field

.field private c:I


# direct methods
.method constructor <init>(Lkotlin/l/f;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()V"
        }
    .end annotation

    .line 539
    iput-object p1, p0, Lkotlin/l/f$a;->a:Lkotlin/l/f;

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

    const/4 p1, -0x2

    .line 541
    iput p1, p0, Lkotlin/l/f$a;->c:I

    return-void
.end method

.method private final a()V
    .registers 3

    .line 544
    iget v0, p0, Lkotlin/l/f$a;->c:I

    const/4 v1, -0x2

    if-ne v0, v1, :cond_e

    iget-object v0, p0, Lkotlin/l/f$a;->a:Lkotlin/l/f;

    .line 1538
    iget-object v0, v0, Lkotlin/l/f;->a:Lkotlin/f/a/a;

    .line 544
    invoke-interface {v0}, Lkotlin/f/a/a;->invoke()Ljava/lang/Object;

    move-result-object v0

    goto :goto_1d

    :cond_e
    iget-object v0, p0, Lkotlin/l/f$a;->a:Lkotlin/l/f;

    .line 2538
    iget-object v0, v0, Lkotlin/l/f;->b:Lkotlin/f/a/b;

    .line 544
    iget-object v1, p0, Lkotlin/l/f$a;->b:Ljava/lang/Object;

    if-nez v1, :cond_19

    invoke-static {}, Lkotlin/f/b/o;->a()V

    :cond_19
    invoke-interface {v0, v1}, Lkotlin/f/a/b;->invoke(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    :goto_1d
    iput-object v0, p0, Lkotlin/l/f$a;->b:Ljava/lang/Object;

    if-nez v0, :cond_23

    const/4 v0, 0x0

    goto :goto_24

    :cond_23
    const/4 v0, 0x1

    .line 545
    :goto_24
    iput v0, p0, Lkotlin/l/f$a;->c:I

    return-void
.end method


# virtual methods
.method public final hasNext()Z
    .registers 3

    .line 561
    iget v0, p0, Lkotlin/l/f$a;->c:I

    if-gez v0, :cond_7

    .line 562
    invoke-direct {p0}, Lkotlin/l/f$a;->a()V

    .line 563
    :cond_7
    iget v0, p0, Lkotlin/l/f$a;->c:I

    const/4 v1, 0x1

    if-ne v0, v1, :cond_d

    return v1

    :cond_d
    const/4 v0, 0x0

    return v0
.end method

.method public final next()Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()TT;"
        }
    .end annotation

    .line 549
    iget v0, p0, Lkotlin/l/f$a;->c:I

    if-gez v0, :cond_7

    .line 550
    invoke-direct {p0}, Lkotlin/l/f$a;->a()V

    .line 552
    :cond_7
    iget v0, p0, Lkotlin/l/f$a;->c:I

    if-eqz v0, :cond_1b

    .line 554
    iget-object v0, p0, Lkotlin/l/f$a;->b:Ljava/lang/Object;

    if-eqz v0, :cond_13

    const/4 v1, -0x1

    .line 556
    iput v1, p0, Lkotlin/l/f$a;->c:I

    return-object v0

    .line 554
    :cond_13
    new-instance v0, Lkotlin/TypeCastException;

    const-string v1, "null cannot be cast to non-null type T"

    invoke-direct {v0, v1}, Lkotlin/TypeCastException;-><init>(Ljava/lang/String;)V

    throw v0

    .line 553
    :cond_1b
    new-instance v0, Ljava/util/NoSuchElementException;

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

    check-cast v0, Ljava/lang/Throwable;

    throw v0
.end method

.method public final remove()V
    .registers 3

    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "Operation is not supported for read-only collection"

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

    throw v0
.end method