e.smali

.class final Lrx/h/e;
.super Ljava/util/concurrent/atomic/AtomicReference;
.source "SourceFile"

# interfaces
.implements Lrx/c$a;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lrx/h/e$b;,
        Lrx/h/e$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/util/concurrent/atomic/AtomicReference<",
        "Lrx/h/e$a<",
        "TT;>;>;",
        "Lrx/c$a<",
        "TT;>;"
    }
.end annotation


# instance fields
.field volatile a:Ljava/lang/Object;

.field b:Z

.field c:Lrx/b/b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/b/b<",
            "Lrx/h/e$b<",
            "TT;>;>;"
        }
    .end annotation
.end field

.field d:Lrx/b/b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/b/b<",
            "Lrx/h/e$b<",
            "TT;>;>;"
        }
    .end annotation
.end field

.field e:Lrx/b/b;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/b/b<",
            "Lrx/h/e$b<",
            "TT;>;>;"
        }
    .end annotation
.end field

.field public final f:Lrx/c/a/f;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/c/a/f<",
            "TT;>;"
        }
    .end annotation
.end field


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

    .line 53
    sget-object v0, Lrx/h/e$a;->e:Lrx/h/e$a;

    invoke-direct {p0, v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>(Ljava/lang/Object;)V

    const/4 v0, 0x1

    .line 42
    iput-boolean v0, p0, Lrx/h/e;->b:Z

    .line 44
    invoke-static {}, Lrx/b/d;->a()Lrx/b/d$a;

    move-result-object v0

    iput-object v0, p0, Lrx/h/e;->c:Lrx/b/b;

    .line 46
    invoke-static {}, Lrx/b/d;->a()Lrx/b/d$a;

    move-result-object v0

    iput-object v0, p0, Lrx/h/e;->d:Lrx/b/b;

    .line 48
    invoke-static {}, Lrx/b/d;->a()Lrx/b/d$a;

    move-result-object v0

    iput-object v0, p0, Lrx/h/e;->e:Lrx/b/b;

    .line 50
    invoke-static {}, Lrx/c/a/f;->a()Lrx/c/a/f;

    move-result-object v0

    iput-object v0, p0, Lrx/h/e;->f:Lrx/c/a/f;

    return-void
.end method


# virtual methods
.method final a(Lrx/h/e$b;)V
    .registers 12
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lrx/h/e$b<",
            "TT;>;)V"
        }
    .end annotation

    .line 113
    :cond_0
    invoke-virtual {p0}, Lrx/h/e;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrx/h/e$a;

    .line 114
    iget-boolean v1, v0, Lrx/h/e$a;->a:Z

    if-eqz v1, :cond_b

    return-void

    .line 1170
    :cond_b
    iget-object v1, v0, Lrx/h/e$a;->b:[Lrx/h/e$b;

    .line 1171
    array-length v2, v1

    const/4 v3, 0x1

    const/4 v4, 0x0

    if-ne v2, v3, :cond_19

    .line 1172
    aget-object v3, v1, v4

    if-ne v3, p1, :cond_19

    .line 1173
    sget-object v1, Lrx/h/e$a;->e:Lrx/h/e$a;

    goto :goto_48

    :cond_19
    if-nez v2, :cond_1c

    goto :goto_2a

    :cond_1c
    add-int/lit8 v3, v2, -0x1

    .line 1178
    new-array v5, v3, [Lrx/h/e$b;

    const/4 v6, 0x0

    const/4 v7, 0x0

    :goto_22
    if-ge v6, v2, :cond_34

    .line 1181
    aget-object v8, v1, v6

    if-eq v8, p1, :cond_31

    if-ne v7, v3, :cond_2c

    :goto_2a
    move-object v1, v0

    goto :goto_48

    :cond_2c
    add-int/lit8 v9, v7, 0x1

    .line 1186
    aput-object v8, v5, v7

    move v7, v9

    :cond_31
    add-int/lit8 v6, v6, 0x1

    goto :goto_22

    :cond_34
    if-nez v7, :cond_39

    .line 1190
    sget-object v1, Lrx/h/e$a;->e:Lrx/h/e$a;

    goto :goto_48

    :cond_39
    if-ge v7, v3, :cond_41

    .line 1193
    new-array v1, v7, [Lrx/h/e$b;

    .line 1194
    invoke-static {v5, v4, v1, v4, v7}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    move-object v5, v1

    .line 1197
    :cond_41
    new-instance v1, Lrx/h/e$a;

    iget-boolean v2, v0, Lrx/h/e$a;->a:Z

    invoke-direct {v1, v2, v5}, Lrx/h/e$a;-><init>(Z[Lrx/h/e$b;)V

    :goto_48
    if-eq v1, v0, :cond_50

    .line 118
    invoke-virtual {p0, v0, v1}, Lrx/h/e;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    :cond_50
    return-void
.end method

.method final a(Ljava/lang/Object;)[Lrx/h/e$b;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/Object;",
            ")[",
            "Lrx/h/e$b<",
            "TT;>;"
        }
    .end annotation

    .line 2078
    iput-object p1, p0, Lrx/h/e;->a:Ljava/lang/Object;

    const/4 p1, 0x0

    .line 140
    iput-boolean p1, p0, Lrx/h/e;->b:Z

    .line 142
    invoke-virtual {p0}, Lrx/h/e;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lrx/h/e$a;

    .line 143
    iget-boolean p1, p1, Lrx/h/e$a;->a:Z

    if-eqz p1, :cond_12

    .line 144
    sget-object p1, Lrx/h/e$a;->c:[Lrx/h/e$b;

    return-object p1

    .line 146
    :cond_12
    sget-object p1, Lrx/h/e$a;->d:Lrx/h/e$a;

    invoke-virtual {p0, p1}, Lrx/h/e;->getAndSet(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lrx/h/e$a;

    iget-object p1, p1, Lrx/h/e$a;->b:[Lrx/h/e$b;

    return-object p1
.end method

.method public final synthetic call(Ljava/lang/Object;)V
    .registers 8

    .line 35
    check-cast p1, Lrx/i;

    .line 3058
    new-instance v0, Lrx/h/e$b;

    invoke-direct {v0, p1}, Lrx/h/e$b;-><init>(Lrx/i;)V

    .line 3069
    new-instance v1, Lrx/h/e$1;

    invoke-direct {v1, p0, v0}, Lrx/h/e$1;-><init>(Lrx/h/e;Lrx/h/e$b;)V

    invoke-static {v1}, Lrx/i/d;->a(Lrx/b/a;)Lrx/j;

    move-result-object v1

    invoke-virtual {p1, v1}, Lrx/i;->a(Lrx/j;)V

    .line 3060
    iget-object v1, p0, Lrx/h/e;->c:Lrx/b/b;

    invoke-interface {v1, v0}, Lrx/b/b;->call(Ljava/lang/Object;)V

    .line 3061
    invoke-virtual {p1}, Lrx/i;->isUnsubscribed()Z

    move-result v1

    if-nez v1, :cond_5b

    .line 3095
    :cond_1e
    invoke-virtual {p0}, Lrx/h/e;->get()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lrx/h/e$a;

    .line 3096
    iget-boolean v2, v1, Lrx/h/e$a;->a:Z

    const/4 v3, 0x0

    if-eqz v2, :cond_2f

    .line 3097
    iget-object v1, p0, Lrx/h/e;->e:Lrx/b/b;

    invoke-interface {v1, v0}, Lrx/b/b;->call(Ljava/lang/Object;)V

    goto :goto_50

    .line 3162
    :cond_2f
    iget-object v2, v1, Lrx/h/e$a;->b:[Lrx/h/e$b;

    .line 3163
    array-length v2, v2

    add-int/lit8 v4, v2, 0x1

    .line 3164
    new-array v4, v4, [Lrx/h/e$b;

    .line 3165
    iget-object v5, v1, Lrx/h/e$a;->b:[Lrx/h/e$b;

    invoke-static {v5, v3, v4, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 3166
    aput-object v0, v4, v2

    .line 3167
    new-instance v2, Lrx/h/e$a;

    iget-boolean v3, v1, Lrx/h/e$a;->a:Z

    invoke-direct {v2, v3, v4}, Lrx/h/e$a;-><init>(Z[Lrx/h/e$b;)V

    .line 3101
    invoke-virtual {p0, v1, v2}, Lrx/h/e;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1e

    .line 3102
    iget-object v1, p0, Lrx/h/e;->d:Lrx/b/b;

    invoke-interface {v1, v0}, Lrx/b/b;->call(Ljava/lang/Object;)V

    const/4 v3, 0x1

    :goto_50
    if-eqz v3, :cond_5b

    .line 3062
    invoke-virtual {p1}, Lrx/i;->isUnsubscribed()Z

    move-result p1

    if-eqz p1, :cond_5b

    .line 3063
    invoke-virtual {p0, v0}, Lrx/h/e;->a(Lrx/h/e$b;)V

    :cond_5b
    return-void
.end method