.class public final Lcom/google/android/gms/internal/ads/v4;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lz5/wx0;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lz5/wx0<",
        "Lz5/cp0;",
        ">;"
    }
.end annotation


# instance fields
.field public final a:Landroid/content/Context;

.field public final b:Ljava/util/concurrent/Executor;

.field public final c:Lcom/google/android/gms/internal/ads/l2;

.field public final d:Lz5/w21;

.field public final e:Lz5/m21;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/m21<",
            "Lz5/gp0;",
            "Lz5/cp0;",
            ">;"
        }
    .end annotation
.end field

.field public final f:Lz5/j31;

.field public final g:Lz5/l31;
    .annotation build Ljavax/annotation/concurrent/GuardedBy;
        value = "this"
    .end annotation
.end field

.field public h:Lz5/fc1;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lz5/fc1<",
            "Lz5/cp0;",
            ">;"
        }
    .end annotation

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


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/concurrent/Executor;Lcom/google/android/gms/internal/ads/l2;Lz5/m21;Lz5/w21;Lz5/l31;Lz5/j31;)V
    .registers 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/concurrent/Executor;",
            "Lcom/google/android/gms/internal/ads/l2;",
            "Lz5/m21<",
            "Lz5/gp0;",
            "Lz5/cp0;",
            ">;",
            "Lz5/w21;",
            "Lz5/l31;",
            "Lz5/j31;",
            ")V"
        }
    .end annotation

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

    iput-object p1, p0, Lcom/google/android/gms/internal/ads/v4;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/google/android/gms/internal/ads/v4;->b:Ljava/util/concurrent/Executor;

    iput-object p3, p0, Lcom/google/android/gms/internal/ads/v4;->c:Lcom/google/android/gms/internal/ads/l2;

    iput-object p4, p0, Lcom/google/android/gms/internal/ads/v4;->e:Lz5/m21;

    iput-object p5, p0, Lcom/google/android/gms/internal/ads/v4;->d:Lz5/w21;

    iput-object p6, p0, Lcom/google/android/gms/internal/ads/v4;->g:Lz5/l31;

    iput-object p7, p0, Lcom/google/android/gms/internal/ads/v4;->f:Lz5/j31;

    return-void
.end method


# virtual methods
.method public final a(Lz5/zj;Ljava/lang/String;Lc3/f;Lz5/vx0;)Z
    .registers 26
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lz5/zj;",
            "Ljava/lang/String;",
            "Lc3/f;",
            "Lz5/vx0<",
            "-",
            "Lz5/cp0;",
            ">;)Z"
        }
    .end annotation

    move-object/from16 v0, p0

    new-instance v1, Lz5/j20;

    move-object/from16 v2, p1

    move-object/from16 v3, p2

    invoke-direct {v1, v2, v3}, Lz5/j20;-><init>(Lz5/zj;Ljava/lang/String;)V

    iget-object v2, v1, Lz5/j20;->s:Ljava/lang/String;

    const/4 v3, 0x1

    if-nez v2, :cond_20

    const-string v1, "Ad unit ID should not be null for rewarded video ad."

    invoke-static {v1}, Lz5/d50;->zzf(Ljava/lang/String;)V

    iget-object v1, v0, Lcom/google/android/gms/internal/ads/v4;->b:Ljava/util/concurrent/Executor;

    new-instance v2, Lz5/dc0;

    invoke-direct {v2, v0}, Lz5/dc0;-><init>(Lcom/google/android/gms/internal/ads/v4;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    goto :goto_2a

    :cond_20
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/v4;->h:Lz5/fc1;

    if-eqz v2, :cond_2d

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

    move-result v2

    if-nez v2, :cond_2d

    :goto_2a
    const/4 v3, 0x0

    goto/16 :goto_ad

    :cond_2d
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/v4;->a:Landroid/content/Context;

    iget-object v4, v1, Lz5/j20;->r:Lz5/zj;

    iget-boolean v4, v4, Lz5/zj;->w:Z

    invoke-static {v2, v4}, Lcom/google/android/gms/internal/ads/r;->i(Landroid/content/Context;Z)V

    sget-object v2, Lz5/so;->L5:Lz5/no;

    .line 1
    sget-object v4, Lz5/xk;->d:Lz5/xk;

    iget-object v4, v4, Lz5/xk;->c:Lcom/google/android/gms/internal/ads/g0;

    .line 2
    invoke-virtual {v4, v2}, Lcom/google/android/gms/internal/ads/g0;->a(Lz5/no;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/Boolean;

    invoke-virtual {v2}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v2

    if-eqz v2, :cond_57

    iget-object v2, v1, Lz5/j20;->r:Lz5/zj;

    iget-boolean v2, v2, Lz5/zj;->w:Z

    if-eqz v2, :cond_57

    iget-object v2, v0, Lcom/google/android/gms/internal/ads/v4;->c:Lcom/google/android/gms/internal/ads/l2;

    invoke-virtual {v2}, Lcom/google/android/gms/internal/ads/l2;->A()Lz5/pr0;

    move-result-object v2

    invoke-virtual {v2, v3}, Lz5/pr0;->b(Z)V

    :cond_57
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/v4;->g:Lz5/l31;

    iget-object v4, v1, Lz5/j20;->s:Ljava/lang/String;

    .line 3
    iput-object v4, v2, Lz5/l31;->c:Ljava/lang/String;

    .line 4
    new-instance v4, Lz5/dk;

    const/4 v7, 0x0

    const/4 v8, 0x0

    const/4 v9, 0x1

    const/4 v10, 0x0

    const/4 v11, 0x0

    const/4 v12, 0x0

    const/4 v13, 0x0

    const/4 v14, 0x0

    const/4 v15, 0x0

    const/16 v16, 0x0

    const/16 v17, 0x0

    const/16 v18, 0x0

    const/16 v19, 0x0

    const/16 v20, 0x0

    const-string v6, "reward_mb"

    move-object v5, v4

    invoke-direct/range {v5 .. v20}, Lz5/dk;-><init>(Ljava/lang/String;IIZII[Lz5/dk;ZZZZZZZZ)V

    .line 5
    iput-object v4, v2, Lz5/l31;->b:Lz5/dk;

    .line 6
    iget-object v1, v1, Lz5/j20;->r:Lz5/zj;

    .line 7
    iput-object v1, v2, Lz5/l31;->a:Lz5/zj;

    .line 8
    invoke-virtual {v2}, Lz5/l31;->a()Lz5/m31;

    move-result-object v1

    new-instance v2, Lz5/y21;

    const/4 v4, 0x0

    invoke-direct {v2, v4}, Lz5/y21;-><init>(Landroidx/appcompat/widget/p;)V

    iput-object v1, v2, Lz5/y21;->a:Lz5/m31;

    iget-object v1, v0, Lcom/google/android/gms/internal/ads/v4;->e:Lz5/m21;

    new-instance v5, Lcom/google/android/gms/internal/ads/t4;

    invoke-direct {v5, v2, v4}, Lcom/google/android/gms/internal/ads/t4;-><init>(Lz5/k21;Lcom/google/android/gms/internal/ads/k1;)V

    new-instance v6, Lz5/ge0;

    invoke-direct {v6, v0}, Lz5/ge0;-><init>(Lcom/google/android/gms/internal/ads/v4;)V

    invoke-interface {v1, v5, v6, v4}, Lz5/m21;->a(Lcom/google/android/gms/internal/ads/t4;Lz5/l21;Ljava/lang/Object;)Lz5/fc1;

    move-result-object v1

    iput-object v1, v0, Lcom/google/android/gms/internal/ads/v4;->h:Lz5/fc1;

    new-instance v4, Lcom/google/android/gms/internal/ads/d1;

    move-object/from16 v5, p4

    invoke-direct {v4, v0, v5, v2}, Lcom/google/android/gms/internal/ads/d1;-><init>(Lcom/google/android/gms/internal/ads/v4;Lz5/vx0;Lz5/y21;)V

    iget-object v2, v0, Lcom/google/android/gms/internal/ads/v4;->b:Ljava/util/concurrent/Executor;

    .line 9
    new-instance v5, Ll5/m;

    invoke-direct {v5, v1, v4}, Ll5/m;-><init>(Ljava/util/concurrent/Future;Lz5/zb1;)V

    invoke-interface {v1, v5, v2}, Lz5/fc1;->zze(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    :goto_ad
    return v3
.end method

.method public final b(Lz5/k21;)Lz5/ea0;
    .registers 5

    check-cast p1, Lz5/y21;

    iget-object v0, p0, Lcom/google/android/gms/internal/ads/v4;->c:Lcom/google/android/gms/internal/ads/l2;

    invoke-virtual {v0}, Lcom/google/android/gms/internal/ads/l2;->t()Lz5/ea0;

    move-result-object v0

    new-instance v1, Lcom/google/android/gms/internal/ads/v3;

    const/16 v2, 0xa

    invoke-direct {v1, v2}, Lcom/google/android/gms/internal/ads/v3;-><init>(I)V

    iget-object v2, p0, Lcom/google/android/gms/internal/ads/v4;->a:Landroid/content/Context;

    .line 1
    iput-object v2, v1, Lcom/google/android/gms/internal/ads/v3;->s:Ljava/lang/Object;

    .line 2
    iget-object p1, p1, Lz5/y21;->a:Lz5/m31;

    .line 3
    iput-object p1, v1, Lcom/google/android/gms/internal/ads/v3;->t:Ljava/lang/Object;

    .line 4
    iget-object p1, p0, Lcom/google/android/gms/internal/ads/v4;->f:Lz5/j31;

    .line 5
    iput-object p1, v1, Lcom/google/android/gms/internal/ads/v3;->v:Ljava/lang/Object;

    .line 6
    new-instance p1, Lz5/qf0;

    invoke-direct {p1, v1}, Lz5/qf0;-><init>(Lcom/google/android/gms/internal/ads/v3;)V

    .line 7
    iput-object p1, v0, Lz5/ea0;->u:Lz5/qf0;

    .line 8
    new-instance p1, Lz5/gj0;

    invoke-direct {p1}, Lz5/gj0;-><init>()V

    .line 9
    new-instance v1, Lz5/hj0;

    invoke-direct {v1, p1}, Lz5/hj0;-><init>(Lz5/gj0;)V

    .line 10
    iput-object v1, v0, Lz5/ea0;->t:Lz5/hj0;

    return-object v0
.end method

.method public final zzb()Z
    .registers 2

    const/4 v0, 0x0

    throw v0
.end method
