.class public abstract Lcom/google/android/gms/internal/ads/x7;
.super Lcom/google/android/gms/internal/ads/g8;
.source ""

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "<I:",
        "Ljava/lang/Object;",
        "O:",
        "Ljava/lang/Object;",
        "F:",
        "Ljava/lang/Object;",
        "T:",
        "Ljava/lang/Object;",
        ">",
        "Lcom/google/android/gms/internal/ads/g8<",
        "TO;>;",
        "Ljava/lang/Runnable;"
    }
.end annotation


# static fields
.field public static final synthetic A:I


# instance fields
.field public y:Lz5/fc1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/fc1<",
            "+TI;>;"
        }
    .end annotation

    .annotation runtime Ljavax/annotation/CheckForNull;
    .end annotation
.end field

.field public z:Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "TF;"
        }
    .end annotation

    .annotation runtime Ljavax/annotation/CheckForNull;
    .end annotation
.end field


# direct methods
.method public constructor <init>(Lz5/fc1;Ljava/lang/Object;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/fc1<",
            "+TI;>;TF;)V"
        }
    .end annotation

    invoke-direct {p0}, Lcom/google/android/gms/internal/ads/g8;-><init>()V

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/x7;->y:Lz5/fc1;

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

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    return-void
.end method


# virtual methods
.method public final f()Ljava/lang/String;
    .registers 7
    .annotation runtime Ljavax/annotation/CheckForNull;
    .end annotation

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/x7;->y:Lz5/fc1;

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    invoke-super {p0}, Lcom/google/android/gms/internal/ads/w7;->f()Ljava/lang/String;

    move-result-object v2

    if-eqz v0, :cond_22

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

    move-result-object v0

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    add-int/lit8 v4, v4, 0x10

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

    const-string v4, "inputFuture=["

    const-string v5, "], "

    invoke-static {v3, v4, v0, v5}, Li/b;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_24

    :cond_22
    const-string v0, ""

    :goto_24
    if-eqz v1, :cond_43

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

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v3

    add-int/lit8 v3, v3, 0xb

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v4

    add-int/2addr v4, v3

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

    const-string v3, "function=["

    const-string v4, "]"

    invoke-static {v2, v0, v3, v1, v4}, Lb1/e;->a(Ljava/lang/StringBuilder;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_43
    if-eqz v2, :cond_57

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v1

    if-eqz v1, :cond_50

    invoke-virtual {v0, v2}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    goto :goto_56

    :cond_50
    new-instance v1, Ljava/lang/String;

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

    move-object v0, v1

    :goto_56
    return-object v0

    :cond_57
    const/4 v0, 0x0

    return-object v0
.end method

.method public final g()V
    .registers 2

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/x7;->y:Lz5/fc1;

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/w7;->m(Ljava/util/concurrent/Future;)V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/x7;->y:Lz5/fc1;

    iput-object v0, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    return-void
.end method

.method public abstract r(Ljava/lang/Object;)V
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TT;)V"
        }
    .end annotation
.end method

.method public final run()V
    .registers 7

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/x7;->y:Lz5/fc1;

    iget-object v1, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    .line 1
    iget-object v2, p0, Lcom/google/android/gms/internal/ads/w7;->r:Ljava/lang/Object;

    instance-of v2, v2, Lcom/google/android/gms/internal/ads/m7;

    const/4 v3, 0x1

    const/4 v4, 0x0

    if-nez v0, :cond_e

    move v5, v3

    goto :goto_f

    :cond_e
    move v5, v4

    :goto_f
    or-int/2addr v2, v5

    if-nez v1, :cond_13

    goto :goto_14

    :cond_13
    move v3, v4

    :goto_14
    or-int/2addr v2, v3

    if-eqz v2, :cond_18

    return-void

    :cond_18
    const/4 v2, 0x0

    .line 2
    iput-object v2, p0, Lcom/google/android/gms/internal/ads/x7;->y:Lz5/fc1;

    invoke-interface {v0}, Ljava/util/concurrent/Future;->isCancelled()Z

    move-result v3

    if-eqz v3, :cond_25

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/w7;->l(Lz5/fc1;)Z

    return-void

    :cond_25
    :try_start_25
    invoke-static {v0}, Lcom/google/android/gms/internal/ads/h8;->z(Ljava/util/concurrent/Future;)Ljava/lang/Object;

    move-result-object v0
    :try_end_29
    .catch Ljava/util/concurrent/CancellationException; {:try_start_25 .. :try_end_29} :catch_51
    .catch Ljava/util/concurrent/ExecutionException; {:try_start_25 .. :try_end_29} :catch_48
    .catch Ljava/lang/RuntimeException; {:try_start_25 .. :try_end_29} :catch_43
    .catch Ljava/lang/Error; {:try_start_25 .. :try_end_29} :catch_3e

    :try_start_29
    invoke-virtual {p0, v1, v0}, Lcom/google/android/gms/internal/ads/x7;->s(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0
    :try_end_2d
    .catchall {:try_start_29 .. :try_end_2d} :catchall_33

    iput-object v2, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/x7;->r(Ljava/lang/Object;)V

    return-void

    :catchall_33
    move-exception v0

    :try_start_34
    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/w7;->k(Ljava/lang/Throwable;)Z
    :try_end_37
    .catchall {:try_start_34 .. :try_end_37} :catchall_3a

    iput-object v2, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    return-void

    :catchall_3a
    move-exception v0

    iput-object v2, p0, Lcom/google/android/gms/internal/ads/x7;->z:Ljava/lang/Object;

    throw v0

    :catch_3e
    move-exception v0

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/w7;->k(Ljava/lang/Throwable;)Z

    return-void

    :catch_43
    move-exception v0

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/w7;->k(Ljava/lang/Throwable;)Z

    return-void

    :catch_48
    move-exception v0

    invoke-virtual {v0}, Ljava/util/concurrent/ExecutionException;->getCause()Ljava/lang/Throwable;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/google/android/gms/internal/ads/w7;->k(Ljava/lang/Throwable;)Z

    return-void

    :catch_51
    invoke-virtual {p0, v4}, Lcom/google/android/gms/internal/ads/w7;->cancel(Z)Z

    return-void
.end method

.method public abstract s(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(TF;TI;)TT;"
        }
    .end annotation
.end method
