ap$c.smali

.class final Lrx/c/a/ap$c;
.super Lrx/i;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lrx/c/a/ap;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x18
    name = "c"
.end annotation

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


# instance fields
.field final a:Lrx/i/c;

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

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

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

.field final e:Lrx/f$a;

.field final f:Lrx/c/b/a;

.field g:Z

.field h:J


# direct methods
.method constructor <init>(Lrx/e/d;Lrx/c/a/ap$b;Lrx/i/c;Lrx/c;Lrx/f$a;)V
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lrx/e/d<",
            "TT;>;",
            "Lrx/c/a/ap$b<",
            "TT;>;",
            "Lrx/i/c;",
            "Lrx/c<",
            "+TT;>;",
            "Lrx/f$a;",
            ")V"
        }
    .end annotation

    .line 104
    invoke-direct {p0}, Lrx/i;-><init>()V

    .line 105
    iput-object p1, p0, Lrx/c/a/ap$c;->b:Lrx/e/d;

    .line 106
    iput-object p2, p0, Lrx/c/a/ap$c;->c:Lrx/c/a/ap$b;

    .line 107
    iput-object p3, p0, Lrx/c/a/ap$c;->a:Lrx/i/c;

    .line 108
    iput-object p4, p0, Lrx/c/a/ap$c;->d:Lrx/c;

    .line 109
    iput-object p5, p0, Lrx/c/a/ap$c;->e:Lrx/f$a;

    .line 110
    new-instance p1, Lrx/c/b/a;

    invoke-direct {p1}, Lrx/c/b/a;-><init>()V

    iput-object p1, p0, Lrx/c/a/ap$c;->f:Lrx/c/b/a;

    return-void
.end method


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

    .line 154
    monitor-enter p0

    .line 155
    :try_start_1
    iget-boolean v0, p0, Lrx/c/a/ap$c;->g:Z

    const/4 v1, 0x1

    if-nez v0, :cond_9

    .line 156
    iput-boolean v1, p0, Lrx/c/a/ap$c;->g:Z

    goto :goto_a

    :cond_9
    const/4 v1, 0x0

    .line 159
    :goto_a
    monitor-exit p0
    :try_end_b
    .catchall {:try_start_1 .. :try_end_b} :catchall_18

    if-eqz v1, :cond_17

    .line 161
    iget-object v0, p0, Lrx/c/a/ap$c;->a:Lrx/i/c;

    invoke-virtual {v0}, Lrx/i/c;->unsubscribe()V

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

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

    :cond_17
    return-void

    :catchall_18
    move-exception v0

    .line 159
    :try_start_19
    monitor-exit p0
    :try_end_1a
    .catchall {:try_start_19 .. :try_end_1a} :catchall_18

    throw v0
.end method

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

    .line 122
    monitor-enter p0

    .line 123
    :try_start_1
    iget-boolean v0, p0, Lrx/c/a/ap$c;->g:Z

    if-nez v0, :cond_e

    .line 124
    iget-wide v0, p0, Lrx/c/a/ap$c;->h:J

    const-wide/16 v2, 0x1

    add-long/2addr v0, v2

    iput-wide v0, p0, Lrx/c/a/ap$c;->h:J

    const/4 v2, 0x1

    goto :goto_11

    :cond_e
    const-wide/16 v0, 0x0

    const/4 v2, 0x0

    .line 129
    :goto_11
    monitor-exit p0
    :try_end_12
    .catchall {:try_start_1 .. :try_end_12} :catchall_2d

    if-eqz v2, :cond_2c

    .line 131
    iget-object v2, p0, Lrx/c/a/ap$c;->b:Lrx/e/d;

    invoke-virtual {v2, p1}, Lrx/e/d;->a(Ljava/lang/Object;)V

    .line 132
    iget-object p1, p0, Lrx/c/a/ap$c;->a:Lrx/i/c;

    iget-object v2, p0, Lrx/c/a/ap$c;->c:Lrx/c/a/ap$b;

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    iget-object v1, p0, Lrx/c/a/ap$c;->e:Lrx/f$a;

    invoke-interface {v2, p0, v0, v1}, Lrx/c/a/ap$b;->a(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrx/j;

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

    :cond_2c
    return-void

    :catchall_2d
    move-exception p1

    .line 129
    :try_start_2e
    monitor-exit p0
    :try_end_2f
    .catchall {:try_start_2e .. :try_end_2f} :catchall_2d

    throw p1
.end method

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

    .line 139
    monitor-enter p0

    .line 140
    :try_start_1
    iget-boolean v0, p0, Lrx/c/a/ap$c;->g:Z

    const/4 v1, 0x1

    if-nez v0, :cond_9

    .line 141
    iput-boolean v1, p0, Lrx/c/a/ap$c;->g:Z

    goto :goto_a

    :cond_9
    const/4 v1, 0x0

    .line 144
    :goto_a
    monitor-exit p0
    :try_end_b
    .catchall {:try_start_1 .. :try_end_b} :catchall_18

    if-eqz v1, :cond_17

    .line 146
    iget-object v0, p0, Lrx/c/a/ap$c;->a:Lrx/i/c;

    invoke-virtual {v0}, Lrx/i/c;->unsubscribe()V

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

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

    :cond_17
    return-void

    :catchall_18
    move-exception p1

    .line 144
    :try_start_19
    monitor-exit p0
    :try_end_1a
    .catchall {:try_start_19 .. :try_end_1a} :catchall_18

    throw p1
.end method

.method public final a(Lrx/e;)V
    .registers 3

    .line 115
    iget-object v0, p0, Lrx/c/a/ap$c;->f:Lrx/c/b/a;

    invoke-virtual {v0, p1}, Lrx/c/b/a;->a(Lrx/e;)V

    return-void
.end method

.method public final b(J)V
    .registers 7

    .line 169
    monitor-enter p0

    .line 170
    :try_start_1
    iget-wide v0, p0, Lrx/c/a/ap$c;->h:J

    const/4 v2, 0x1

    cmp-long v3, p1, v0

    if-nez v3, :cond_f

    iget-boolean p1, p0, Lrx/c/a/ap$c;->g:Z

    if-nez p1, :cond_f

    .line 171
    iput-boolean v2, p0, Lrx/c/a/ap$c;->g:Z

    goto :goto_10

    :cond_f
    const/4 v2, 0x0

    .line 174
    :goto_10
    monitor-exit p0
    :try_end_11
    .catchall {:try_start_1 .. :try_end_11} :catchall_32

    if-eqz v2, :cond_31

    .line 176
    iget-object p1, p0, Lrx/c/a/ap$c;->d:Lrx/c;

    if-nez p1, :cond_22

    .line 177
    iget-object p1, p0, Lrx/c/a/ap$c;->b:Lrx/e/d;

    new-instance p2, Ljava/util/concurrent/TimeoutException;

    invoke-direct {p2}, Ljava/util/concurrent/TimeoutException;-><init>()V

    invoke-virtual {p1, p2}, Lrx/e/d;->a(Ljava/lang/Throwable;)V

    return-void

    .line 179
    :cond_22
    new-instance p1, Lrx/c/a/ap$c$1;

    invoke-direct {p1, p0}, Lrx/c/a/ap$c$1;-><init>(Lrx/c/a/ap$c;)V

    .line 200
    iget-object p2, p0, Lrx/c/a/ap$c;->d:Lrx/c;

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

    .line 201
    iget-object p2, p0, Lrx/c/a/ap$c;->a:Lrx/i/c;

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

    :cond_31
    return-void

    :catchall_32
    move-exception p1

    .line 174
    :try_start_33
    monitor-exit p0
    :try_end_34
    .catchall {:try_start_33 .. :try_end_34} :catchall_32

    throw p1
.end method