.class public final Lya/p;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lya/b;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lya/p$c;,
        Lya/p$b;
    }
.end annotation

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


# instance fields
.field public final r:Lya/y;

.field public final s:[Ljava/lang/Object;

.field public final t:Lv9/f$a;

.field public final u:Lya/f;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lya/f<",
            "Lv9/h0;",
            "TT;>;"
        }
    .end annotation
.end field

.field public volatile v:Z

.field public w:Lv9/f;
    .annotation runtime Ljavax/annotation/Nullable;
    .end annotation

    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation
.end field

.field public x:Ljava/lang/Throwable;
    .annotation runtime Ljavax/annotation/Nullable;
    .end annotation

    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation
.end field

.field public y:Z
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lya/y;[Ljava/lang/Object;Lv9/f$a;Lya/f;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/y;",
            "[",
            "Ljava/lang/Object;",
            "Lv9/f$a;",
            "Lya/f<",
            "Lv9/h0;",
            "TT;>;)V"
        }
    .end annotation

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

    iput-object p1, p0, Lya/p;->r:Lya/y;

    iput-object p2, p0, Lya/p;->s:[Ljava/lang/Object;

    iput-object p3, p0, Lya/p;->t:Lv9/f$a;

    iput-object p4, p0, Lya/p;->u:Lya/f;

    return-void
.end method


# virtual methods
.method public final a()Lv9/f;
    .registers 16

    iget-object v0, p0, Lya/p;->t:Lv9/f$a;

    iget-object v1, p0, Lya/p;->r:Lya/y;

    iget-object v2, p0, Lya/p;->s:[Ljava/lang/Object;

    .line 1
    iget-object v3, v1, Lya/y;->j:[Lya/t;

    array-length v4, v2

    array-length v5, v3

    if-ne v4, v5, :cond_121

    new-instance v5, Lya/v;

    iget-object v7, v1, Lya/y;->c:Ljava/lang/String;

    iget-object v8, v1, Lya/y;->b:Lv9/w;

    iget-object v9, v1, Lya/y;->d:Ljava/lang/String;

    iget-object v10, v1, Lya/y;->e:Lv9/v;

    iget-object v11, v1, Lya/y;->f:Lv9/y;

    iget-boolean v12, v1, Lya/y;->g:Z

    iget-boolean v13, v1, Lya/y;->h:Z

    iget-boolean v14, v1, Lya/y;->i:Z

    move-object v6, v5

    invoke-direct/range {v6 .. v14}, Lya/v;-><init>(Ljava/lang/String;Lv9/w;Ljava/lang/String;Lv9/v;Lv9/y;ZZZ)V

    iget-boolean v6, v1, Lya/y;->k:Z

    if-eqz v6, :cond_28

    add-int/lit8 v4, v4, -0x1

    :cond_28
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6, v4}, Ljava/util/ArrayList;-><init>(I)V

    const/4 v7, 0x0

    move v8, v7

    :goto_2f
    if-ge v8, v4, :cond_40

    aget-object v9, v2, v8

    invoke-virtual {v6, v9}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    aget-object v9, v3, v8

    aget-object v10, v2, v8

    invoke-virtual {v9, v5, v10}, Lya/t;->a(Lya/v;Ljava/lang/Object;)V

    add-int/lit8 v8, v8, 0x1

    goto :goto_2f

    .line 2
    :cond_40
    iget-object v2, v5, Lya/v;->d:Lv9/w$a;

    const/4 v3, 0x0

    if-eqz v2, :cond_4a

    invoke-virtual {v2}, Lv9/w$a;->a()Lv9/w;

    move-result-object v2

    goto :goto_64

    :cond_4a
    iget-object v2, v5, Lya/v;->b:Lv9/w;

    iget-object v4, v5, Lya/v;->c:Ljava/lang/String;

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

    const-string v8, "link"

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

    invoke-virtual {v2, v4}, Lv9/w;->f(Ljava/lang/String;)Lv9/w$a;

    move-result-object v2

    if-eqz v2, :cond_61

    invoke-virtual {v2}, Lv9/w$a;->a()Lv9/w;

    move-result-object v2

    goto :goto_62

    :cond_61
    move-object v2, v3

    :goto_62
    if-eqz v2, :cond_102

    .line 4
    :goto_64
    iget-object v4, v5, Lya/v;->k:Lv9/f0;

    if-nez v4, :cond_b7

    iget-object v8, v5, Lya/v;->j:Lv9/s$a;

    if-eqz v8, :cond_71

    invoke-virtual {v8}, Lv9/s$a;->b()Lv9/s;

    move-result-object v4

    goto :goto_b7

    :cond_71
    iget-object v8, v5, Lya/v;->i:Lv9/z$a;

    if-eqz v8, :cond_9b

    .line 5
    iget-object v3, v8, Lv9/z$a;->c:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/Collection;->isEmpty()Z

    move-result v3

    xor-int/lit8 v3, v3, 0x1

    if-eqz v3, :cond_8f

    new-instance v4, Lv9/z;

    iget-object v3, v8, Lv9/z$a;->a:Lha/i;

    iget-object v7, v8, Lv9/z$a;->b:Lv9/y;

    iget-object v8, v8, Lv9/z$a;->c:Ljava/util/List;

    invoke-static {v8}, Lw9/c;->w(Ljava/util/List;)Ljava/util/List;

    move-result-object v8

    invoke-direct {v4, v3, v7, v8}, Lv9/z;-><init>(Lha/i;Lv9/y;Ljava/util/List;)V

    goto :goto_b7

    :cond_8f
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Multipart body must have at least one part."

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

    move-result-object v1

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

    throw v0

    .line 6
    :cond_9b
    iget-boolean v8, v5, Lya/v;->h:Z

    if-eqz v8, :cond_b7

    new-array v4, v7, [B

    const-string v8, "content"

    .line 7
    invoke-static {v4, v8}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    const-string v8, "$this$toRequestBody"

    .line 8
    invoke-static {v4, v8}, Lx/e;->f(Ljava/lang/Object;Ljava/lang/String;)V

    int-to-long v13, v7

    move-wide v9, v13

    move-wide v11, v13

    invoke-static/range {v9 .. v14}, Lw9/c;->c(JJJ)V

    new-instance v8, Lv9/e0;

    invoke-direct {v8, v4, v3, v7, v7}, Lv9/e0;-><init>([BLv9/y;II)V

    move-object v4, v8

    .line 9
    :cond_b7
    :goto_b7
    iget-object v3, v5, Lya/v;->g:Lv9/y;

    if-eqz v3, :cond_cd

    if-eqz v4, :cond_c4

    new-instance v7, Lya/v$a;

    invoke-direct {v7, v4, v3}, Lya/v$a;-><init>(Lv9/f0;Lv9/y;)V

    move-object v4, v7

    goto :goto_cd

    :cond_c4
    iget-object v7, v5, Lya/v;->f:Lv9/v$a;

    .line 10
    iget-object v3, v3, Lv9/y;->a:Ljava/lang/String;

    const-string v8, "Content-Type"

    .line 11
    invoke-virtual {v7, v8, v3}, Lv9/v$a;->a(Ljava/lang/String;Ljava/lang/String;)Lv9/v$a;

    :cond_cd
    :goto_cd
    iget-object v3, v5, Lya/v;->e:Lv9/c0$a;

    invoke-virtual {v3, v2}, Lv9/c0$a;->f(Lv9/w;)Lv9/c0$a;

    iget-object v2, v5, Lya/v;->f:Lv9/v$a;

    invoke-virtual {v2}, Lv9/v$a;->c()Lv9/v;

    move-result-object v2

    const-string v7, "headers"

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

    invoke-virtual {v2}, Lv9/v;->e()Lv9/v$a;

    move-result-object v2

    iput-object v2, v3, Lv9/c0$a;->c:Lv9/v$a;

    .line 13
    iget-object v2, v5, Lya/v;->a:Ljava/lang/String;

    invoke-virtual {v3, v2, v4}, Lv9/c0$a;->c(Ljava/lang/String;Lv9/f0;)Lv9/c0$a;

    .line 14
    const-class v2, Lya/j;

    new-instance v4, Lya/j;

    iget-object v1, v1, Lya/y;->a:Ljava/lang/reflect/Method;

    invoke-direct {v4, v1, v6}, Lya/j;-><init>(Ljava/lang/reflect/Method;Ljava/util/List;)V

    invoke-virtual {v3, v2, v4}, Lv9/c0$a;->d(Ljava/lang/Class;Ljava/lang/Object;)Lv9/c0$a;

    invoke-virtual {v3}, Lv9/c0$a;->a()Lv9/c0;

    move-result-object v1

    .line 15
    invoke-interface {v0, v1}, Lv9/f$a;->a(Lv9/c0;)Lv9/f;

    move-result-object v0

    const-string v1, "Call.Factory returned null."

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

    return-object v0

    .line 16
    :cond_102
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Malformed URL. Base: "

    invoke-static {v1}, Landroidx/activity/c;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, v5, Lya/v;->b:Lv9/w;

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

    const-string v2, ", Relative: "

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

    iget-object v2, v5, Lya/v;->c:Ljava/lang/String;

    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 v1

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

    throw v0

    .line 17
    :cond_121
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Argument count ("

    const-string v2, ") doesn\'t match expected count ("

    invoke-static {v1, v4, v2}, Landroidx/appcompat/widget/a1;->a(Ljava/lang/String;ILjava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    array-length v2, v3

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

    const-string v2, ")"

    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 v1

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

    throw v0
.end method

.method public final b()Lv9/f;
    .registers 3
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation

    iget-object v0, p0, Lya/p;->w:Lv9/f;

    if-eqz v0, :cond_5

    return-object v0

    :cond_5
    iget-object v0, p0, Lya/p;->x:Ljava/lang/Throwable;

    if-eqz v0, :cond_1a

    instance-of v1, v0, Ljava/io/IOException;

    if-nez v1, :cond_17

    instance-of v1, v0, Ljava/lang/RuntimeException;

    if-eqz v1, :cond_14

    check-cast v0, Ljava/lang/RuntimeException;

    throw v0

    :cond_14
    check-cast v0, Ljava/lang/Error;

    throw v0

    :cond_17
    check-cast v0, Ljava/io/IOException;

    throw v0

    :cond_1a
    :try_start_1a
    invoke-virtual {p0}, Lya/p;->a()Lv9/f;

    move-result-object v0

    iput-object v0, p0, Lya/p;->w:Lv9/f;
    :try_end_20
    .catch Ljava/lang/RuntimeException; {:try_start_1a .. :try_end_20} :catch_25
    .catch Ljava/lang/Error; {:try_start_1a .. :try_end_20} :catch_23
    .catch Ljava/io/IOException; {:try_start_1a .. :try_end_20} :catch_21

    return-object v0

    :catch_21
    move-exception v0

    goto :goto_26

    :catch_23
    move-exception v0

    goto :goto_26

    :catch_25
    move-exception v0

    :goto_26
    invoke-static {v0}, Lya/f0;->o(Ljava/lang/Throwable;)V

    iput-object v0, p0, Lya/p;->x:Ljava/lang/Throwable;

    throw v0
.end method

.method public c(Lv9/g0;)Lya/z;
    .registers 23
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lv9/g0;",
            ")",
            "Lya/z<",
            "TT;>;"
        }
    .end annotation

    move-object/from16 v0, p1

    .line 1
    iget-object v1, v0, Lv9/g0;->x:Lv9/h0;

    const-string v2, "response"

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

    .line 3
    iget-object v4, v0, Lv9/g0;->r:Lv9/c0;

    .line 4
    iget-object v5, v0, Lv9/g0;->s:Lv9/b0;

    .line 5
    iget v7, v0, Lv9/g0;->u:I

    .line 6
    iget-object v6, v0, Lv9/g0;->t:Ljava/lang/String;

    .line 7
    iget-object v8, v0, Lv9/g0;->v:Lv9/u;

    .line 8
    iget-object v2, v0, Lv9/g0;->w:Lv9/v;

    .line 9
    invoke-virtual {v2}, Lv9/v;->e()Lv9/v$a;

    move-result-object v2

    .line 10
    iget-object v11, v0, Lv9/g0;->y:Lv9/g0;

    .line 11
    iget-object v12, v0, Lv9/g0;->z:Lv9/g0;

    .line 12
    iget-object v13, v0, Lv9/g0;->A:Lv9/g0;

    .line 13
    iget-wide v14, v0, Lv9/g0;->B:J

    .line 14
    iget-wide v9, v0, Lv9/g0;->C:J

    .line 15
    iget-object v0, v0, Lv9/g0;->D:Lz9/b;

    .line 16
    new-instance v3, Lya/p$c;

    move-wide/from16 v16, v9

    invoke-virtual {v1}, Lv9/h0;->g()Lv9/y;

    move-result-object v9

    move-wide/from16 v19, v14

    invoke-virtual {v1}, Lv9/h0;->e()J

    move-result-wide v14

    invoke-direct {v3, v9, v14, v15}, Lya/p$c;-><init>(Lv9/y;J)V

    if-ltz v7, :cond_3a

    const/4 v9, 0x1

    goto :goto_3b

    :cond_3a
    const/4 v9, 0x0

    :goto_3b
    if-eqz v9, :cond_d6

    if-eqz v4, :cond_c8

    if-eqz v5, :cond_ba

    if-eqz v6, :cond_ac

    .line 17
    invoke-virtual {v2}, Lv9/v$a;->c()Lv9/v;

    move-result-object v9

    new-instance v2, Lv9/g0;

    move-object v10, v3

    move-object v3, v2

    move-wide/from16 v14, v19

    move-object/from16 v18, v0

    invoke-direct/range {v3 .. v18}, Lv9/g0;-><init>(Lv9/c0;Lv9/b0;Ljava/lang/String;ILv9/u;Lv9/v;Lv9/h0;Lv9/g0;Lv9/g0;Lv9/g0;JJLz9/b;)V

    .line 18
    iget v0, v2, Lv9/g0;->u:I

    const/16 v3, 0xc8

    const/4 v4, 0x0

    if-lt v0, v3, :cond_8a

    const/16 v3, 0x12c

    if-lt v0, v3, :cond_5e

    goto :goto_8a

    :cond_5e
    const/16 v3, 0xcc

    if-eq v0, v3, :cond_80

    const/16 v3, 0xcd

    if-ne v0, v3, :cond_67

    goto :goto_80

    .line 19
    :cond_67
    new-instance v3, Lya/p$b;

    invoke-direct {v3, v1}, Lya/p$b;-><init>(Lv9/h0;)V

    move-object/from16 v5, p0

    :try_start_6e
    iget-object v0, v5, Lya/p;->u:Lya/f;

    invoke-interface {v0, v3}, Lya/f;->c(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-static {v0, v2}, Lya/z;->b(Ljava/lang/Object;Lv9/g0;)Lya/z;

    move-result-object v0
    :try_end_78
    .catch Ljava/lang/RuntimeException; {:try_start_6e .. :try_end_78} :catch_79

    return-object v0

    :catch_79
    move-exception v0

    .line 20
    iget-object v1, v3, Lya/p$b;->u:Ljava/io/IOException;

    if-nez v1, :cond_7f

    .line 21
    throw v0

    .line 22
    :cond_7f
    throw v1

    :cond_80
    :goto_80
    move-object/from16 v5, p0

    .line 23
    invoke-virtual {v1}, Lv9/h0;->close()V

    invoke-static {v4, v2}, Lya/z;->b(Ljava/lang/Object;Lv9/g0;)Lya/z;

    move-result-object v0

    return-object v0

    :cond_8a
    :goto_8a
    move-object/from16 v5, p0

    :try_start_8c
    invoke-static {v1}, Lya/f0;->a(Lv9/h0;)Lv9/h0;

    move-result-object v0

    .line 24
    invoke-virtual {v2}, Lv9/g0;->e()Z

    move-result v3

    if-nez v3, :cond_9f

    new-instance v3, Lya/z;

    invoke-direct {v3, v2, v4, v0}, Lya/z;-><init>(Lv9/g0;Ljava/lang/Object;Lv9/h0;)V
    :try_end_9b
    .catchall {:try_start_8c .. :try_end_9b} :catchall_a7

    .line 25
    invoke-virtual {v1}, Lv9/h0;->close()V

    return-object v3

    .line 26
    :cond_9f
    :try_start_9f
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v2, "rawResponse should not be successful response"

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

    throw v0
    :try_end_a7
    .catchall {:try_start_9f .. :try_end_a7} :catchall_a7

    :catchall_a7
    move-exception v0

    .line 27
    invoke-virtual {v1}, Lv9/h0;->close()V

    throw v0

    :cond_ac
    move-object/from16 v5, p0

    .line 28
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "message == null"

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

    move-result-object v1

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

    throw v0

    :cond_ba
    move-object/from16 v5, p0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "protocol == null"

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

    move-result-object v1

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

    throw v0

    :cond_c8
    move-object/from16 v5, p0

    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "request == null"

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

    move-result-object v1

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

    throw v0

    :cond_d6
    move-object/from16 v5, p0

    const-string v0, "code < 0: "

    invoke-static {v0, v7}, Landroidx/appcompat/widget/e0;->a(Ljava/lang/String;I)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/IllegalStateException;

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

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

    throw v1
.end method

.method public cancel()V
    .registers 2

    const/4 v0, 0x1

    iput-boolean v0, p0, Lya/p;->v:Z

    monitor-enter p0

    :try_start_4
    iget-object v0, p0, Lya/p;->w:Lv9/f;

    monitor-exit p0
    :try_end_7
    .catchall {:try_start_4 .. :try_end_7} :catchall_d

    if-eqz v0, :cond_c

    invoke-interface {v0}, Lv9/f;->cancel()V

    :cond_c
    return-void

    :catchall_d
    move-exception v0

    :try_start_e
    monitor-exit p0
    :try_end_f
    .catchall {:try_start_e .. :try_end_f} :catchall_d

    throw v0
.end method

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

    .line 1
    new-instance v0, Lya/p;

    iget-object v1, p0, Lya/p;->r:Lya/y;

    iget-object v2, p0, Lya/p;->s:[Ljava/lang/Object;

    iget-object v3, p0, Lya/p;->t:Lv9/f$a;

    iget-object v4, p0, Lya/p;->u:Lya/f;

    invoke-direct {v0, v1, v2, v3, v4}, Lya/p;-><init>(Lya/y;[Ljava/lang/Object;Lv9/f$a;Lya/f;)V

    return-object v0
.end method

.method public declared-synchronized e()Lv9/c0;
    .registers 4

    monitor-enter p0

    :try_start_1
    invoke-virtual {p0}, Lya/p;->b()Lv9/f;

    move-result-object v0

    invoke-interface {v0}, Lv9/f;->e()Lv9/c0;

    move-result-object v0
    :try_end_9
    .catch Ljava/io/IOException; {:try_start_1 .. :try_end_9} :catch_d
    .catchall {:try_start_1 .. :try_end_9} :catchall_b

    monitor-exit p0

    return-object v0

    :catchall_b
    move-exception v0

    goto :goto_16

    :catch_d
    move-exception v0

    :try_start_e
    new-instance v1, Ljava/lang/RuntimeException;

    const-string v2, "Unable to create request."

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

    throw v1
    :try_end_16
    .catchall {:try_start_e .. :try_end_16} :catchall_b

    :goto_16
    monitor-exit p0

    throw v0
.end method

.method public g()Z
    .registers 3

    iget-boolean v0, p0, Lya/p;->v:Z

    const/4 v1, 0x1

    if-eqz v0, :cond_6

    return v1

    :cond_6
    monitor-enter p0

    :try_start_7
    iget-object v0, p0, Lya/p;->w:Lv9/f;

    if-eqz v0, :cond_12

    invoke-interface {v0}, Lv9/f;->g()Z

    move-result v0

    if-eqz v0, :cond_12

    goto :goto_13

    :cond_12
    const/4 v1, 0x0

    :goto_13
    monitor-exit p0

    return v1

    :catchall_15
    move-exception v0

    monitor-exit p0
    :try_end_17
    .catchall {:try_start_7 .. :try_end_17} :catchall_15

    throw v0
.end method

.method public k()Lya/b;
    .registers 6

    .line 1
    new-instance v0, Lya/p;

    iget-object v1, p0, Lya/p;->r:Lya/y;

    iget-object v2, p0, Lya/p;->s:[Ljava/lang/Object;

    iget-object v3, p0, Lya/p;->t:Lv9/f$a;

    iget-object v4, p0, Lya/p;->u:Lya/f;

    invoke-direct {v0, v1, v2, v3, v4}, Lya/p;-><init>(Lya/y;[Ljava/lang/Object;Lv9/f$a;Lya/f;)V

    return-object v0
.end method

.method public o(Lya/d;)V
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lya/d<",
            "TT;>;)V"
        }
    .end annotation

    monitor-enter p0

    :try_start_1
    iget-boolean v0, p0, Lya/p;->y:Z

    if-nez v0, :cond_35

    const/4 v0, 0x1

    iput-boolean v0, p0, Lya/p;->y:Z

    iget-object v0, p0, Lya/p;->w:Lv9/f;

    iget-object v1, p0, Lya/p;->x:Ljava/lang/Throwable;
    :try_end_c
    .catchall {:try_start_1 .. :try_end_c} :catchall_3d

    if-nez v0, :cond_1e

    if-nez v1, :cond_1e

    :try_start_10
    invoke-virtual {p0}, Lya/p;->a()Lv9/f;

    move-result-object v2

    iput-object v2, p0, Lya/p;->w:Lv9/f;
    :try_end_16
    .catchall {:try_start_10 .. :try_end_16} :catchall_18

    move-object v0, v2

    goto :goto_1e

    :catchall_18
    move-exception v1

    :try_start_19
    invoke-static {v1}, Lya/f0;->o(Ljava/lang/Throwable;)V

    iput-object v1, p0, Lya/p;->x:Ljava/lang/Throwable;

    :cond_1e
    :goto_1e
    monitor-exit p0
    :try_end_1f
    .catchall {:try_start_19 .. :try_end_1f} :catchall_3d

    if-eqz v1, :cond_25

    invoke-interface {p1, p0, v1}, Lya/d;->a(Lya/b;Ljava/lang/Throwable;)V

    return-void

    :cond_25
    iget-boolean v1, p0, Lya/p;->v:Z

    if-eqz v1, :cond_2c

    invoke-interface {v0}, Lv9/f;->cancel()V

    :cond_2c
    new-instance v1, Lya/p$a;

    invoke-direct {v1, p0, p1}, Lya/p$a;-><init>(Lya/p;Lya/d;)V

    invoke-interface {v0, v1}, Lv9/f;->H(Lv9/g;)V

    return-void

    :cond_35
    :try_start_35
    new-instance p1, Ljava/lang/IllegalStateException;

    const-string v0, "Already executed."

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

    throw p1

    :catchall_3d
    move-exception p1

    monitor-exit p0
    :try_end_3f
    .catchall {:try_start_35 .. :try_end_3f} :catchall_3d

    throw p1
.end method
