c.smali

.class public final Lrx/e/c;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lrx/d;


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

.annotation system Ldalvik/annotation/Signature;
    value = {
        "<T:",
        "Ljava/lang/Object;",
        ">",
        "Ljava/lang/Object;",
        "Lrx/d<",
        "TT;>;"
    }
.end annotation


# instance fields
.field private final a:Lrx/d;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lrx/d<",
            "-TT;>;"
        }
    .end annotation
.end field

.field private b:Z

.field private volatile c:Z

.field private d:Lrx/e/c$a;

.field private final e: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>(Lrx/d;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lrx/d<",
            "-TT;>;)V"
        }
    .end annotation

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

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

    move-result-object v0

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

    .line 68
    iput-object p1, p0, Lrx/e/c;->a:Lrx/d;

    return-void
.end method


# virtual methods
.method public final a()V
    .registers 3

    .line 158
    iget-boolean v0, p0, Lrx/e/c;->c:Z

    if-eqz v0, :cond_5

    return-void

    .line 161
    :cond_5
    monitor-enter p0

    .line 162
    :try_start_6
    iget-boolean v0, p0, Lrx/e/c;->c:Z

    if-eqz v0, :cond_c

    .line 163
    monitor-exit p0

    return-void

    :cond_c
    const/4 v0, 0x1

    .line 165
    iput-boolean v0, p0, Lrx/e/c;->c:Z

    .line 166
    iget-boolean v1, p0, Lrx/e/c;->b:Z

    if-eqz v1, :cond_27

    .line 167
    iget-object v0, p0, Lrx/e/c;->d:Lrx/e/c$a;

    if-nez v0, :cond_1e

    .line 169
    new-instance v0, Lrx/e/c$a;

    invoke-direct {v0}, Lrx/e/c$a;-><init>()V

    .line 170
    iput-object v0, p0, Lrx/e/c;->d:Lrx/e/c$a;

    .line 172
    :cond_1e
    invoke-static {}, Lrx/c/a/f;->b()Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrx/e/c$a;->a(Ljava/lang/Object;)V

    .line 173
    monitor-exit p0

    return-void

    .line 175
    :cond_27
    iput-boolean v0, p0, Lrx/e/c;->b:Z

    .line 176
    monitor-exit p0
    :try_end_2a
    .catchall {:try_start_6 .. :try_end_2a} :catchall_30

    .line 177
    iget-object v0, p0, Lrx/e/c;->a:Lrx/d;

    invoke-interface {v0}, Lrx/d;->a()V

    return-void

    :catchall_30
    move-exception v0

    .line 176
    :try_start_31
    monitor-exit p0
    :try_end_32
    .catchall {:try_start_31 .. :try_end_32} :catchall_30

    throw v0
.end method

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

    .line 73
    iget-boolean v0, p0, Lrx/e/c;->c:Z

    if-eqz v0, :cond_5

    return-void

    .line 76
    :cond_5
    monitor-enter p0

    .line 77
    :try_start_6
    iget-boolean v0, p0, Lrx/e/c;->c:Z

    if-eqz v0, :cond_c

    .line 78
    monitor-exit p0

    return-void

    .line 80
    :cond_c
    iget-boolean v0, p0, Lrx/e/c;->b:Z

    if-eqz v0, :cond_24

    .line 81
    iget-object v0, p0, Lrx/e/c;->d:Lrx/e/c$a;

    if-nez v0, :cond_1b

    .line 83
    new-instance v0, Lrx/e/c$a;

    invoke-direct {v0}, Lrx/e/c$a;-><init>()V

    .line 84
    iput-object v0, p0, Lrx/e/c;->d:Lrx/e/c$a;

    .line 86
    :cond_1b
    invoke-static {p1}, Lrx/c/a/f;->a(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p1

    invoke-virtual {v0, p1}, Lrx/e/c$a;->a(Ljava/lang/Object;)V

    .line 87
    monitor-exit p0

    return-void

    :cond_24
    const/4 v0, 0x1

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

    .line 90
    monitor-exit p0
    :try_end_28
    .catchall {:try_start_6 .. :try_end_28} :catchall_6e

    .line 92
    :try_start_28
    iget-object v1, p0, Lrx/e/c;->a:Lrx/d;

    invoke-interface {v1, p1}, Lrx/d;->a(Ljava/lang/Object;)V
    :try_end_2d
    .catchall {:try_start_28 .. :try_end_2d} :catchall_65

    .line 100
    :cond_2d
    monitor-enter p0

    .line 101
    :try_start_2e
    iget-object v1, p0, Lrx/e/c;->d:Lrx/e/c$a;

    const/4 v2, 0x0

    if-nez v1, :cond_37

    .line 103
    iput-boolean v2, p0, Lrx/e/c;->b:Z

    .line 104
    monitor-exit p0

    return-void

    :cond_37
    const/4 v3, 0x0

    .line 106
    iput-object v3, p0, Lrx/e/c;->d:Lrx/e/c$a;

    .line 107
    monitor-exit p0
    :try_end_3b
    .catchall {:try_start_2e .. :try_end_3b} :catchall_62

    .line 108
    iget-object v1, v1, Lrx/e/c$a;->a:[Ljava/lang/Object;

    array-length v3, v1

    :goto_3e
    if-ge v2, v3, :cond_2d

    aget-object v4, v1, v2

    if-eqz v4, :cond_2d

    .line 113
    :try_start_44
    iget-object v5, p0, Lrx/e/c;->a:Lrx/d;

    invoke-static {v5, v4}, Lrx/c/a/f;->a(Lrx/d;Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_4f

    .line 114
    iput-boolean v0, p0, Lrx/e/c;->c:Z
    :try_end_4e
    .catchall {:try_start_44 .. :try_end_4e} :catchall_52

    return-void

    :cond_4f
    add-int/lit8 v2, v2, 0x1

    goto :goto_3e

    :catchall_52
    move-exception v1

    .line 118
    iput-boolean v0, p0, Lrx/e/c;->c:Z

    .line 119
    invoke-static {v1}, Lrx/exceptions/a;->b(Ljava/lang/Throwable;)V

    .line 120
    iget-object v0, p0, Lrx/e/c;->a:Lrx/d;

    invoke-static {v1, p1}, Lrx/exceptions/OnErrorThrowable;->a(Ljava/lang/Throwable;Ljava/lang/Object;)Ljava/lang/Throwable;

    move-result-object p1

    invoke-interface {v0, p1}, Lrx/d;->a(Ljava/lang/Throwable;)V

    return-void

    :catchall_62
    move-exception p1

    .line 107
    :try_start_63
    monitor-exit p0
    :try_end_64
    .catchall {:try_start_63 .. :try_end_64} :catchall_62

    throw p1

    :catchall_65
    move-exception v1

    .line 94
    iput-boolean v0, p0, Lrx/e/c;->c:Z

    .line 95
    iget-object v0, p0, Lrx/e/c;->a:Lrx/d;

    invoke-static {v1, v0, p1}, Lrx/exceptions/a;->a(Ljava/lang/Throwable;Lrx/d;Ljava/lang/Object;)V

    return-void

    :catchall_6e
    move-exception p1

    .line 90
    :try_start_6f
    monitor-exit p0
    :try_end_70
    .catchall {:try_start_6f .. :try_end_70} :catchall_6e

    goto :goto_72

    :goto_71
    throw p1

    :goto_72
    goto :goto_71
.end method

.method public final a(Ljava/lang/Throwable;)V
    .registers 4

    .line 129
    invoke-static {p1}, Lrx/exceptions/a;->b(Ljava/lang/Throwable;)V

    .line 130
    iget-boolean v0, p0, Lrx/e/c;->c:Z

    if-eqz v0, :cond_8

    return-void

    .line 133
    :cond_8
    monitor-enter p0

    .line 134
    :try_start_9
    iget-boolean v0, p0, Lrx/e/c;->c:Z

    if-eqz v0, :cond_f

    .line 135
    monitor-exit p0

    return-void

    :cond_f
    const/4 v0, 0x1

    .line 137
    iput-boolean v0, p0, Lrx/e/c;->c:Z

    .line 138
    iget-boolean v1, p0, Lrx/e/c;->b:Z

    if-eqz v1, :cond_2a

    .line 143
    iget-object v0, p0, Lrx/e/c;->d:Lrx/e/c$a;

    if-nez v0, :cond_21

    .line 145
    new-instance v0, Lrx/e/c$a;

    invoke-direct {v0}, Lrx/e/c$a;-><init>()V

    .line 146
    iput-object v0, p0, Lrx/e/c;->d:Lrx/e/c$a;

    .line 148
    :cond_21
    invoke-static {p1}, Lrx/c/a/f;->a(Ljava/lang/Throwable;)Ljava/lang/Object;

    move-result-object p1

    invoke-virtual {v0, p1}, Lrx/e/c$a;->a(Ljava/lang/Object;)V

    .line 149
    monitor-exit p0

    return-void

    .line 151
    :cond_2a
    iput-boolean v0, p0, Lrx/e/c;->b:Z

    .line 152
    monitor-exit p0
    :try_end_2d
    .catchall {:try_start_9 .. :try_end_2d} :catchall_33

    .line 153
    iget-object v0, p0, Lrx/e/c;->a:Lrx/d;

    invoke-interface {v0, p1}, Lrx/d;->a(Ljava/lang/Throwable;)V

    return-void

    :catchall_33
    move-exception p1

    .line 152
    :try_start_34
    monitor-exit p0
    :try_end_35
    .catchall {:try_start_34 .. :try_end_35} :catchall_33

    throw p1
.end method