.class public final Lca/f$d;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lca/n$b;
.implements Lh9/a;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lca/f;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x11
    name = "d"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lca/n$b;",
        "Lh9/a<",
        "Ly8/k;",
        ">;"
    }
.end annotation


# instance fields
.field public final r:Lca/n;

.field public final synthetic s:Lca/f;


# direct methods
.method public constructor <init>(Lca/f;Lca/n;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lca/n;",
            ")V"
        }
    .end annotation

    iput-object p1, p0, Lca/f$d;->s:Lca/f;

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

    iput-object p2, p0, Lca/f$d;->r:Lca/n;

    return-void
.end method


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

    return-void
.end method

.method public b()Ljava/lang/Object;
    .registers 6

    .line 1
    sget-object v0, Lca/b;->u:Lca/b;

    const/4 v1, 0x0

    :try_start_3
    iget-object v2, p0, Lca/f$d;->r:Lca/n;

    invoke-virtual {v2, p0}, Lca/n;->g(Lca/n$b;)V

    :goto_8
    iget-object v2, p0, Lca/f$d;->r:Lca/n;

    const/4 v3, 0x0

    invoke-virtual {v2, v3, p0}, Lca/n;->e(ZLca/n$b;)Z

    move-result v2

    if-eqz v2, :cond_12

    goto :goto_8

    :cond_12
    sget-object v2, Lca/b;->s:Lca/b;
    :try_end_14
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_14} :catch_22
    .catchall {:try_start_3 .. :try_end_14} :catchall_1e

    :try_start_14
    sget-object v0, Lca/b;->x:Lca/b;
    :try_end_16
    .catch Ljava/io/IOException; {:try_start_14 .. :try_end_16} :catch_1c
    .catchall {:try_start_14 .. :try_end_16} :catchall_33

    iget-object v3, p0, Lca/f$d;->s:Lca/f;

    invoke-virtual {v3, v2, v0, v1}, Lca/f;->b(Lca/b;Lca/b;Ljava/io/IOException;)V

    goto :goto_2b

    :catch_1c
    move-exception v1

    goto :goto_24

    :catchall_1e
    move-exception v2

    move-object v3, v2

    move-object v2, v0

    goto :goto_34

    :catch_22
    move-exception v1

    move-object v2, v0

    :goto_24
    :try_start_24
    sget-object v0, Lca/b;->t:Lca/b;
    :try_end_26
    .catchall {:try_start_24 .. :try_end_26} :catchall_33

    iget-object v2, p0, Lca/f$d;->s:Lca/f;

    invoke-virtual {v2, v0, v0, v1}, Lca/f;->b(Lca/b;Lca/b;Ljava/io/IOException;)V

    :goto_2b
    iget-object v0, p0, Lca/f$d;->r:Lca/n;

    invoke-static {v0}, Lw9/c;->d(Ljava/io/Closeable;)V

    .line 2
    sget-object v0, Ly8/k;->a:Ly8/k;

    return-object v0

    :catchall_33
    move-exception v3

    .line 3
    :goto_34
    iget-object v4, p0, Lca/f$d;->s:Lca/f;

    invoke-virtual {v4, v2, v0, v1}, Lca/f;->b(Lca/b;Lca/b;Ljava/io/IOException;)V

    iget-object v0, p0, Lca/f$d;->r:Lca/n;

    invoke-static {v0}, Lw9/c;->d(Ljava/io/Closeable;)V

    throw v3
.end method

.method public c(ZILha/h;I)V
    .registers 21

    move-object/from16 v1, p0

    move/from16 v0, p2

    move-object/from16 v2, p3

    move/from16 v10, p4

    const-string v3, "source"

    invoke-static {v2, v3}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    iget-object v3, v1, Lca/f$d;->s:Lca/f;

    invoke-virtual {v3, v0}, Lca/f;->g(I)Z

    move-result v3

    const-wide/16 v12, 0x0

    if-eqz v3, :cond_5d

    iget-object v7, v1, Lca/f$d;->s:Lca/f;

    invoke-static {v7}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v3, "source"

    .line 1
    invoke-static {v2, v3}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    new-instance v9, Lha/e;

    invoke-direct {v9}, Lha/e;-><init>()V

    int-to-long v3, v10

    invoke-interface {v2, v3, v4}, Lha/h;->N(J)V

    invoke-interface {v2, v9, v3, v4}, Lha/z;->x(Lha/e;J)J

    iget-object v14, v7, Lca/f;->A:Ly9/c;

    new-instance v2, Ljava/lang/StringBuilder;

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

    iget-object v3, v7, Lca/f;->u:Ljava/lang/String;

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

    const/16 v3, 0x5b

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

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

    const-string v3, "] onData"

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

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

    move-result-object v5

    new-instance v15, Lca/h;

    const/4 v6, 0x1

    move-object v2, v15

    move-object v3, v5

    move v4, v6

    move/from16 v8, p2

    move/from16 v10, p4

    move/from16 v11, p1

    invoke-direct/range {v2 .. v11}, Lca/h;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/f;ILha/e;IZ)V

    invoke-virtual {v14, v15, v12, v13}, Ly9/c;->c(Ly9/a;J)V

    return-void

    .line 2
    :cond_5d
    iget-object v3, v1, Lca/f$d;->s:Lca/f;

    invoke-virtual {v3, v0}, Lca/f;->e(I)Lca/o;

    move-result-object v3

    if-nez v3, :cond_76

    iget-object v3, v1, Lca/f$d;->s:Lca/f;

    sget-object v4, Lca/b;->t:Lca/b;

    invoke-virtual {v3, v0, v4}, Lca/f;->I(ILca/b;)V

    iget-object v0, v1, Lca/f$d;->s:Lca/f;

    int-to-long v3, v10

    invoke-virtual {v0, v3, v4}, Lca/f;->p(J)V

    invoke-interface {v2, v3, v4}, Lha/h;->a(J)V

    return-void

    :cond_76
    const-string v0, "source"

    .line 3
    invoke-static {v2, v0}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    sget-object v0, Lw9/c;->a:[B

    iget-object v0, v3, Lca/o;->g:Lca/o$b;

    int-to-long v4, v10

    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "source"

    .line 4
    invoke-static {v2, v6}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    :cond_88
    :goto_88
    cmp-long v6, v4, v12

    const/4 v7, 0x1

    if-lez v6, :cond_108

    iget-object v6, v0, Lca/o$b;->w:Lca/o;

    monitor-enter v6

    :try_start_90
    iget-boolean v8, v0, Lca/o$b;->v:Z

    iget-object v9, v0, Lca/o$b;->s:Lha/e;

    .line 5
    iget-wide v9, v9, Lha/e;->s:J

    add-long/2addr v9, v4

    .line 6
    iget-wide v14, v0, Lca/o$b;->u:J
    :try_end_99
    .catchall {:try_start_90 .. :try_end_99} :catchall_105

    cmp-long v9, v9, v14

    const/4 v10, 0x0

    if-lez v9, :cond_a0

    move v9, v7

    goto :goto_a1

    :cond_a0
    move v9, v10

    :goto_a1
    monitor-exit v6

    if-eqz v9, :cond_af

    invoke-interface {v2, v4, v5}, Lha/h;->a(J)V

    iget-object v0, v0, Lca/o$b;->w:Lca/o;

    sget-object v2, Lca/b;->v:Lca/b;

    invoke-virtual {v0, v2}, Lca/o;->e(Lca/b;)V

    goto :goto_108

    :cond_af
    if-eqz v8, :cond_b5

    invoke-interface {v2, v4, v5}, Lha/h;->a(J)V

    goto :goto_108

    :cond_b5
    iget-object v6, v0, Lca/o$b;->r:Lha/e;

    invoke-interface {v2, v6, v4, v5}, Lha/z;->x(Lha/e;J)J

    move-result-wide v8

    const-wide/16 v14, -0x1

    cmp-long v6, v8, v14

    if-eqz v6, :cond_ff

    sub-long/2addr v4, v8

    iget-object v6, v0, Lca/o$b;->w:Lca/o;

    monitor-enter v6

    :try_start_c5
    iget-boolean v8, v0, Lca/o$b;->t:Z

    if-eqz v8, :cond_d1

    iget-object v7, v0, Lca/o$b;->r:Lha/e;

    .line 7
    iget-wide v8, v7, Lha/e;->s:J

    .line 8
    invoke-virtual {v7, v8, v9}, Lha/e;->a(J)V

    goto :goto_f3

    .line 9
    :cond_d1
    iget-object v8, v0, Lca/o$b;->s:Lha/e;

    .line 10
    iget-wide v14, v8, Lha/e;->s:J

    cmp-long v9, v14, v12

    if-nez v9, :cond_da

    goto :goto_db

    :cond_da
    move v7, v10

    .line 11
    :goto_db
    iget-object v9, v0, Lca/o$b;->r:Lha/e;

    invoke-virtual {v8, v9}, Lha/e;->d0(Lha/z;)J

    if-eqz v7, :cond_f2

    iget-object v7, v0, Lca/o$b;->w:Lca/o;

    if-eqz v7, :cond_ea

    invoke-virtual {v7}, Ljava/lang/Object;->notifyAll()V

    goto :goto_f2

    :cond_ea
    new-instance v0, Ljava/lang/NullPointerException;

    const-string v2, "null cannot be cast to non-null type java.lang.Object"

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

    throw v0
    :try_end_f2
    .catchall {:try_start_c5 .. :try_end_f2} :catchall_fc

    :cond_f2
    :goto_f2
    move-wide v8, v12

    :goto_f3
    monitor-exit v6

    cmp-long v6, v8, v12

    if-lez v6, :cond_88

    invoke-virtual {v0, v8, v9}, Lca/o$b;->b(J)V

    goto :goto_88

    :catchall_fc
    move-exception v0

    monitor-exit v6

    throw v0

    :cond_ff
    new-instance v0, Ljava/io/EOFException;

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

    throw v0

    :catchall_105
    move-exception v0

    monitor-exit v6

    throw v0

    :cond_108
    :goto_108
    if-eqz p1, :cond_10f

    .line 12
    sget-object v0, Lw9/c;->b:Lv9/v;

    invoke-virtual {v3, v0, v7}, Lca/o;->j(Lv9/v;Z)V

    :cond_10f
    return-void
.end method

.method public d(ZII)V
    .registers 15

    if-eqz p1, :cond_30

    iget-object p1, p0, Lca/f$d;->s:Lca/f;

    monitor-enter p1

    const/4 p3, 0x1

    const-wide/16 v0, 0x1

    if-eq p2, p3, :cond_24

    const/4 p3, 0x2

    if-eq p2, p3, :cond_1c

    const/4 p3, 0x3

    if-eq p2, p3, :cond_11

    goto :goto_2b

    :cond_11
    :try_start_11
    iget-object p2, p0, Lca/f$d;->s:Lca/f;

    .line 1
    iget-wide v2, p2, Lca/f;->H:J

    add-long/2addr v2, v0

    .line 2
    iput-wide v2, p2, Lca/f;->H:J

    .line 3
    invoke-virtual {p2}, Ljava/lang/Object;->notifyAll()V

    goto :goto_2b

    :cond_1c
    iget-object p2, p0, Lca/f$d;->s:Lca/f;

    .line 4
    iget-wide v2, p2, Lca/f;->G:J

    add-long/2addr v2, v0

    .line 5
    iput-wide v2, p2, Lca/f;->G:J

    goto :goto_2b

    .line 6
    :cond_24
    iget-object p2, p0, Lca/f$d;->s:Lca/f;

    .line 7
    iget-wide v2, p2, Lca/f;->E:J

    add-long/2addr v2, v0

    .line 8
    iput-wide v2, p2, Lca/f;->E:J
    :try_end_2b
    .catchall {:try_start_11 .. :try_end_2b} :catchall_2d

    .line 9
    :goto_2b
    monitor-exit p1

    goto :goto_54

    :catchall_2d
    move-exception p2

    monitor-exit p1

    throw p2

    :cond_30
    iget-object p1, p0, Lca/f$d;->s:Lca/f;

    .line 10
    iget-object p1, p1, Lca/f;->z:Ly9/c;

    .line 11
    new-instance v0, Ljava/lang/StringBuilder;

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

    iget-object v1, p0, Lca/f$d;->s:Lca/f;

    .line 12
    iget-object v1, v1, Lca/f;->u:Ljava/lang/String;

    const-string v2, " ping"

    .line 13
    invoke-static {v0, v1, v2}, Landroidx/activity/b;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    const-wide/16 v0, 0x0

    const/4 v7, 0x1

    new-instance v2, Lca/f$d$b;

    move-object v3, v2

    move-object v4, v6

    move v5, v7

    move-object v8, p0

    move v9, p2

    move v10, p3

    invoke-direct/range {v3 .. v10}, Lca/f$d$b;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/f$d;II)V

    invoke-virtual {p1, v2, v0, v1}, Ly9/c;->c(Ly9/a;J)V

    :goto_54
    return-void
.end method

.method public e(ILca/b;)V
    .registers 13

    iget-object v0, p0, Lca/f$d;->s:Lca/f;

    invoke-virtual {v0, p1}, Lca/f;->g(I)Z

    move-result v0

    if-eqz v0, :cond_3b

    iget-object v6, p0, Lca/f$d;->s:Lca/f;

    invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    iget-object v0, v6, Lca/f;->A:Ly9/c;

    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, v6, Lca/f;->u:Ljava/lang/String;

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

    const/16 v2, 0x5b

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

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

    const-string v2, "] onReset"

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

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

    move-result-object v4

    new-instance v9, Lca/k;

    const/4 v5, 0x1

    move-object v1, v9

    move-object v2, v4

    move v3, v5

    move v7, p1

    move-object v8, p2

    invoke-direct/range {v1 .. v8}, Lca/k;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/f;ILca/b;)V

    const-wide/16 p1, 0x0

    invoke-virtual {v0, v9, p1, p2}, Ly9/c;->c(Ly9/a;J)V

    return-void

    .line 2
    :cond_3b
    iget-object v0, p0, Lca/f$d;->s:Lca/f;

    invoke-virtual {v0, p1}, Lca/f;->k(I)Lca/o;

    move-result-object p1

    if-eqz p1, :cond_46

    invoke-virtual {p1, p2}, Lca/o;->k(Lca/b;)V

    :cond_46
    return-void
.end method

.method public f(ZLca/t;)V
    .registers 15

    iget-object v0, p0, Lca/f$d;->s:Lca/f;

    .line 1
    iget-object v0, v0, Lca/f;->z:Ly9/c;

    .line 2
    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, p0, Lca/f$d;->s:Lca/f;

    .line 3
    iget-object v2, v2, Lca/f;->u:Ljava/lang/String;

    const-string v3, " applyAndAckSettings"

    .line 4
    invoke-static {v1, v2, v3}, Landroidx/activity/b;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    const-wide/16 v1, 0x0

    const/4 v8, 0x1

    new-instance v3, Lca/f$d$c;

    move-object v4, v3

    move-object v5, v7

    move v6, v8

    move-object v9, p0

    move v10, p1

    move-object v11, p2

    invoke-direct/range {v4 .. v11}, Lca/f$d$c;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/f$d;ZLca/t;)V

    invoke-virtual {v0, v3, v1, v2}, Ly9/c;->c(Ly9/a;J)V

    return-void
.end method

.method public g(IIIZ)V
    .registers 5

    return-void
.end method

.method public h(ZIILjava/util/List;)V
    .registers 21
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(ZII",
            "Ljava/util/List<",
            "Lca/c;",
            ">;)V"
        }
    .end annotation

    move-object/from16 v12, p0

    move/from16 v0, p2

    iget-object v1, v12, Lca/f$d;->s:Lca/f;

    invoke-virtual {v1, v0}, Lca/f;->g(I)Z

    move-result v1

    const/16 v7, 0x5b

    const-wide/16 v13, 0x0

    if-eqz v1, :cond_43

    iget-object v6, v12, Lca/f$d;->s:Lca/f;

    invoke-static {v6}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    iget-object v10, v6, Lca/f;->A:Ly9/c;

    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, v6, Lca/f;->u:Ljava/lang/String;

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

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

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

    const-string v2, "] onHeaders"

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

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

    move-result-object v4

    new-instance v11, Lca/i;

    const/4 v5, 0x1

    move-object v1, v11

    move-object v2, v4

    move v3, v5

    move/from16 v7, p2

    move-object/from16 v8, p4

    move/from16 v9, p1

    invoke-direct/range {v1 .. v9}, Lca/i;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/f;ILjava/util/List;Z)V

    invoke-virtual {v10, v11, v13, v14}, Ly9/c;->c(Ly9/a;J)V

    return-void

    .line 2
    :cond_43
    iget-object v15, v12, Lca/f$d;->s:Lca/f;

    monitor-enter v15

    :try_start_46
    iget-object v1, v12, Lca/f$d;->s:Lca/f;

    invoke-virtual {v1, v0}, Lca/f;->e(I)Lca/o;

    move-result-object v8

    if-nez v8, :cond_c2

    iget-object v1, v12, Lca/f$d;->s:Lca/f;

    .line 3
    iget-boolean v2, v1, Lca/f;->x:Z
    :try_end_52
    .catchall {:try_start_46 .. :try_end_52} :catchall_cd

    if-eqz v2, :cond_56

    .line 4
    monitor-exit v15

    return-void

    .line 5
    :cond_56
    :try_start_56
    iget v2, v1, Lca/f;->v:I
    :try_end_58
    .catchall {:try_start_56 .. :try_end_58} :catchall_cd

    if-gt v0, v2, :cond_5c

    .line 6
    monitor-exit v15

    return-void

    :cond_5c
    :try_start_5c
    rem-int/lit8 v2, v0, 0x2

    .line 7
    iget v1, v1, Lca/f;->w:I

    .line 8
    rem-int/lit8 v1, v1, 0x2
    :try_end_62
    .catchall {:try_start_5c .. :try_end_62} :catchall_cd

    if-ne v2, v1, :cond_66

    monitor-exit v15

    return-void

    :cond_66
    :try_start_66
    invoke-static/range {p4 .. p4}, Lw9/c;->u(Ljava/util/List;)Lv9/v;

    move-result-object v6

    new-instance v9, Lca/o;

    iget-object v3, v12, Lca/f$d;->s:Lca/f;

    const/4 v4, 0x0

    move-object v1, v9

    move/from16 v2, p2

    move/from16 v5, p1

    invoke-direct/range {v1 .. v6}, Lca/o;-><init>(ILca/f;ZZLv9/v;)V

    iget-object v1, v12, Lca/f$d;->s:Lca/f;

    .line 9
    iput v0, v1, Lca/f;->v:I

    .line 10
    iget-object v1, v1, Lca/f;->t:Ljava/util/Map;

    .line 11
    invoke-static/range {p2 .. p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-interface {v1, v2, v9}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v1, v12, Lca/f$d;->s:Lca/f;

    .line 12
    iget-object v1, v1, Lca/f;->y:Ly9/d;

    .line 13
    invoke-virtual {v1}, Ly9/d;->f()Ly9/c;

    move-result-object v11

    new-instance v1, Ljava/lang/StringBuilder;

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

    iget-object v2, v12, Lca/f$d;->s:Lca/f;

    .line 14
    iget-object v2, v2, Lca/f;->u:Ljava/lang/String;

    .line 15
    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

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

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

    const-string v2, "] onStream"

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

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

    move-result-object v4

    const/4 v5, 0x1

    new-instance v10, Lca/f$d$a;

    move-object v1, v10

    move-object v2, v4

    move v3, v5

    move-object v6, v9

    move-object/from16 v7, p0

    move/from16 v9, p2

    move-object v0, v10

    move-object/from16 v10, p4

    move-object v13, v11

    move/from16 v11, p1

    invoke-direct/range {v1 .. v11}, Lca/f$d$a;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/o;Lca/f$d;Lca/o;ILjava/util/List;Z)V

    const-wide/16 v1, 0x0

    invoke-virtual {v13, v0, v1, v2}, Ly9/c;->c(Ly9/a;J)V
    :try_end_c0
    .catchall {:try_start_66 .. :try_end_c0} :catchall_cd

    monitor-exit v15

    return-void

    :cond_c2
    monitor-exit v15

    invoke-static/range {p4 .. p4}, Lw9/c;->u(Ljava/util/List;)Lv9/v;

    move-result-object v0

    move/from16 v1, p1

    invoke-virtual {v8, v0, v1}, Lca/o;->j(Lv9/v;Z)V

    return-void

    :catchall_cd
    move-exception v0

    monitor-exit v15

    throw v0
.end method

.method public i(IJ)V
    .registers 7

    if-nez p1, :cond_13

    iget-object p1, p0, Lca/f$d;->s:Lca/f;

    monitor-enter p1

    :try_start_5
    iget-object v0, p0, Lca/f$d;->s:Lca/f;

    .line 1
    iget-wide v1, v0, Lca/f;->O:J

    add-long/2addr v1, p2

    .line 2
    iput-wide v1, v0, Lca/f;->O:J

    .line 3
    invoke-virtual {v0}, Ljava/lang/Object;->notifyAll()V
    :try_end_f
    .catchall {:try_start_5 .. :try_end_f} :catchall_10

    goto :goto_2a

    :catchall_10
    move-exception p2

    monitor-exit p1

    throw p2

    :cond_13
    iget-object v0, p0, Lca/f$d;->s:Lca/f;

    invoke-virtual {v0, p1}, Lca/f;->e(I)Lca/o;

    move-result-object p1

    if-eqz p1, :cond_2f

    monitor-enter p1

    .line 4
    :try_start_1c
    iget-wide v0, p1, Lca/o;->d:J

    add-long/2addr v0, p2

    iput-wide v0, p1, Lca/o;->d:J

    const-wide/16 v0, 0x0

    cmp-long p2, p2, v0

    if-lez p2, :cond_2a

    invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
    :try_end_2a
    .catchall {:try_start_1c .. :try_end_2a} :catchall_2c

    .line 5
    :cond_2a
    :goto_2a
    monitor-exit p1

    goto :goto_2f

    :catchall_2c
    move-exception p2

    monitor-exit p1

    throw p2

    :cond_2f
    :goto_2f
    return-void
.end method

.method public j(IILjava/util/List;)V
    .registers 15
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(II",
            "Ljava/util/List<",
            "Lca/c;",
            ">;)V"
        }
    .end annotation

    iget-object v5, p0, Lca/f$d;->s:Lca/f;

    invoke-static {v5}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    monitor-enter v5

    :try_start_6
    iget-object p1, v5, Lca/f;->S:Ljava/util/Set;

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_19

    sget-object p1, Lca/b;->t:Lca/b;

    invoke-virtual {v5, p2, p1}, Lca/f;->I(ILca/b;)V
    :try_end_17
    .catchall {:try_start_6 .. :try_end_17} :catchall_51

    monitor-exit v5

    goto :goto_50

    :cond_19
    :try_start_19
    iget-object p1, v5, Lca/f;->S:Ljava/util/Set;

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-interface {p1, v0}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
    :try_end_22
    .catchall {:try_start_19 .. :try_end_22} :catchall_51

    monitor-exit v5

    iget-object p1, v5, Lca/f;->A:Ly9/c;

    new-instance v0, Ljava/lang/StringBuilder;

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

    iget-object v1, v5, Lca/f;->u:Ljava/lang/String;

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

    const/16 v1, 0x5b

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

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

    const-string v1, "] onRequest"

    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 v3

    const-wide/16 v8, 0x0

    const/4 v4, 0x1

    new-instance v10, Lca/j;

    move-object v0, v10

    move-object v1, v3

    move v2, v4

    move v6, p2

    move-object v7, p3

    invoke-direct/range {v0 .. v7}, Lca/j;-><init>(Ljava/lang/String;ZLjava/lang/String;ZLca/f;ILjava/util/List;)V

    invoke-virtual {p1, v10, v8, v9}, Ly9/c;->c(Ly9/a;J)V

    :goto_50
    return-void

    :catchall_51
    move-exception p1

    monitor-exit v5

    throw p1
.end method

.method public k(ILca/b;Lha/i;)V
    .registers 7

    const-string p2, "debugData"

    invoke-static {p3, p2}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    .line 1
    invoke-virtual {p3}, Lha/i;->e()I

    .line 2
    iget-object p2, p0, Lca/f$d;->s:Lca/f;

    monitor-enter p2

    :try_start_b
    iget-object p3, p0, Lca/f$d;->s:Lca/f;

    .line 3
    iget-object p3, p3, Lca/f;->t:Ljava/util/Map;

    .line 4
    invoke-interface {p3}, Ljava/util/Map;->values()Ljava/util/Collection;

    move-result-object p3

    const/4 v0, 0x0

    new-array v1, v0, [Lca/o;

    invoke-interface {p3, v1}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object p3

    if-eqz p3, :cond_43

    check-cast p3, [Lca/o;

    iget-object v1, p0, Lca/f$d;->s:Lca/f;

    const/4 v2, 0x1

    .line 5
    iput-boolean v2, v1, Lca/f;->x:Z
    :try_end_23
    .catchall {:try_start_b .. :try_end_23} :catchall_4b

    .line 6
    monitor-exit p2

    array-length p2, p3

    :goto_25
    if-ge v0, p2, :cond_42

    aget-object v1, p3, v0

    .line 7
    iget v2, v1, Lca/o;->m:I

    if-le v2, p1, :cond_3f

    .line 8
    invoke-virtual {v1}, Lca/o;->h()Z

    move-result v2

    if-eqz v2, :cond_3f

    sget-object v2, Lca/b;->w:Lca/b;

    invoke-virtual {v1, v2}, Lca/o;->k(Lca/b;)V

    iget-object v2, p0, Lca/f$d;->s:Lca/f;

    .line 9
    iget v1, v1, Lca/o;->m:I

    .line 10
    invoke-virtual {v2, v1}, Lca/f;->k(I)Lca/o;

    :cond_3f
    add-int/lit8 v0, v0, 0x1

    goto :goto_25

    :cond_42
    return-void

    :cond_43
    :try_start_43
    new-instance p1, Ljava/lang/NullPointerException;

    const-string p3, "null cannot be cast to non-null type kotlin.Array<T>"

    invoke-direct {p1, p3}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V

    throw p1
    :try_end_4b
    .catchall {:try_start_43 .. :try_end_4b} :catchall_4b

    :catchall_4b
    move-exception p1

    monitor-exit p2

    throw p1
.end method
