.class public final Lz5/sw0;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lz5/hl0;


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

.field public final s:Lz5/np0;

.field public final t:Lz5/m31;

.field public final u:Lz5/g50;

.field public final v:Lz5/b31;

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

.field public final x:Lcom/google/android/gms/internal/ads/g2;

.field public final y:Lz5/du;

.field public final z:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;Lz5/np0;Lz5/m31;Lz5/g50;Lz5/b31;Lz5/fc1;Lcom/google/android/gms/internal/ads/g2;Lz5/du;Z)V
    .registers 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Lz5/np0;",
            "Lz5/m31;",
            "Lz5/g50;",
            "Lz5/b31;",
            "Lz5/fc1<",
            "Lz5/dp0;",
            ">;",
            "Lcom/google/android/gms/internal/ads/g2;",
            "Lz5/du;",
            "Z)V"
        }
    .end annotation

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

    iput-object p1, p0, Lz5/sw0;->r:Landroid/content/Context;

    iput-object p2, p0, Lz5/sw0;->s:Lz5/np0;

    iput-object p3, p0, Lz5/sw0;->t:Lz5/m31;

    iput-object p4, p0, Lz5/sw0;->u:Lz5/g50;

    iput-object p5, p0, Lz5/sw0;->v:Lz5/b31;

    iput-object p6, p0, Lz5/sw0;->w:Lz5/fc1;

    iput-object p7, p0, Lz5/sw0;->x:Lcom/google/android/gms/internal/ads/g2;

    iput-object p8, p0, Lz5/sw0;->y:Lz5/du;

    iput-boolean p9, p0, Lz5/sw0;->z:Z

    return-void
.end method


# virtual methods
.method public final d(ZLandroid/content/Context;Lz5/kg0;)V
    .registers 27

    move-object/from16 v1, p0

    iget-object v0, v1, Lz5/sw0;->w:Lz5/fc1;

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

    move-result-object v0

    check-cast v0, Lz5/dp0;

    :try_start_a
    iget-object v2, v1, Lz5/sw0;->v:Lz5/b31;

    iget-object v3, v1, Lz5/sw0;->x:Lcom/google/android/gms/internal/ads/g2;

    invoke-interface {v3}, Lcom/google/android/gms/internal/ads/g2;->G()Z

    move-result v3

    const/4 v4, 0x1

    if-nez v3, :cond_16

    goto :goto_28

    :cond_16
    sget-object v3, Lz5/so;->u0:Lz5/no;

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

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

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

    move-result-object v3

    check-cast v3, Ljava/lang/Boolean;

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

    move-result v3

    if-nez v3, :cond_2c

    .line 3
    :goto_28
    iget-object v2, v1, Lz5/sw0;->x:Lcom/google/android/gms/internal/ads/g2;

    move-object v13, v2

    goto :goto_85

    .line 4
    :cond_2c
    iget-object v3, v1, Lz5/sw0;->s:Lz5/np0;

    iget-object v5, v1, Lz5/sw0;->t:Lz5/m31;

    iget-object v5, v5, Lz5/m31;->e:Lz5/dk;

    const/4 v6, 0x0

    invoke-virtual {v3, v5, v6, v6}, Lz5/np0;->a(Lz5/dk;Lz5/b31;Lz5/e31;)Lcom/google/android/gms/internal/ads/g2;

    move-result-object v3

    invoke-virtual {v0}, Lz5/dp0;->m()Lz5/nk0;

    move-result-object v5

    .line 5
    new-instance v7, Lz5/gt;

    invoke-direct {v7, v5}, Lz5/gt;-><init>(Lz5/nu;)V

    const-string v5, "/reward"

    move-object v8, v3

    check-cast v8, Lz5/j80;

    .line 6
    iget-object v9, v8, Lz5/j80;->r:Lcom/google/android/gms/internal/ads/g2;

    invoke-interface {v9, v5, v7}, Lcom/google/android/gms/internal/ads/g2;->T(Ljava/lang/String;Lz5/cu;)V

    .line 7
    new-instance v5, Lz5/qp0;

    invoke-direct {v5}, Lz5/qp0;-><init>()V

    move-object v7, v3

    check-cast v7, Landroid/view/View;

    invoke-virtual {v0}, Lz5/dp0;->n()Lz5/mp0;

    move-result-object v7

    iget-boolean v9, v1, Lz5/sw0;->z:Z

    if-eqz v9, :cond_5d

    iget-object v9, v1, Lz5/sw0;->y:Lz5/du;

    goto :goto_5e

    :cond_5d
    move-object v9, v6

    :goto_5e
    invoke-virtual {v7, v3, v4, v9}, Lz5/mp0;->a(Lcom/google/android/gms/internal/ads/g2;ZLz5/du;)V

    invoke-virtual {v8}, Lz5/j80;->l()Lz5/z80;

    move-result-object v7

    new-instance v9, Landroidx/appcompat/widget/n;

    invoke-direct {v9, v5, v3}, Landroidx/appcompat/widget/n;-><init>(Lz5/qp0;Lcom/google/android/gms/internal/ads/g2;)V

    check-cast v7, Lcom/google/android/gms/internal/ads/h2;

    .line 8
    iput-object v9, v7, Lcom/google/android/gms/internal/ads/h2;->x:Lz5/x80;

    .line 9
    invoke-virtual {v8}, Lz5/j80;->l()Lz5/z80;

    move-result-object v5

    .line 10
    new-instance v7, Lz5/st;

    invoke-direct {v7, v3, v4}, Lz5/st;-><init>(Lcom/google/android/gms/internal/ads/g2;I)V

    .line 11
    check-cast v5, Lcom/google/android/gms/internal/ads/h2;

    .line 12
    iput-object v7, v5, Lcom/google/android/gms/internal/ads/h2;->y:Lz5/y80;

    .line 13
    iget-object v2, v2, Lz5/b31;->s:Lz5/g31;

    iget-object v5, v2, Lz5/g31;->b:Ljava/lang/String;

    iget-object v2, v2, Lz5/g31;->a:Ljava/lang/String;

    invoke-virtual {v8, v5, v2, v6}, Lz5/j80;->n0(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    :try_end_84
    .catch Lz5/h80; {:try_start_a .. :try_end_84} :catch_108

    move-object v13, v3

    :goto_85
    invoke-interface {v13, v4}, Lcom/google/android/gms/internal/ads/g2;->h0(Z)V

    new-instance v2, Lcom/google/android/gms/ads/internal/zzj;

    iget-boolean v3, v1, Lz5/sw0;->z:Z

    const/4 v5, 0x0

    if-eqz v3, :cond_97

    iget-object v3, v1, Lz5/sw0;->y:Lz5/du;

    invoke-virtual {v3, v5}, Lz5/du;->a(Z)Z

    move-result v3

    move v15, v3

    goto :goto_98

    :cond_97
    move v15, v5

    :goto_98
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzc()Lcom/google/android/gms/ads/internal/util/zzs;

    iget-object v3, v1, Lz5/sw0;->r:Landroid/content/Context;

    invoke-static {v3}, Lcom/google/android/gms/ads/internal/util/zzs;->zzL(Landroid/content/Context;)Z

    move-result v16

    iget-boolean v3, v1, Lz5/sw0;->z:Z

    if-eqz v3, :cond_ae

    iget-object v3, v1, Lz5/sw0;->y:Lz5/du;

    invoke-virtual {v3}, Lz5/du;->b()Z

    move-result v3

    move/from16 v17, v3

    goto :goto_b0

    :cond_ae
    move/from16 v17, v5

    :goto_b0
    iget-boolean v3, v1, Lz5/sw0;->z:Z

    if-eqz v3, :cond_bb

    iget-object v3, v1, Lz5/sw0;->y:Lz5/du;

    invoke-virtual {v3}, Lz5/du;->c()F

    move-result v3

    goto :goto_bc

    :cond_bb
    const/4 v3, 0x0

    :goto_bc
    move/from16 v18, v3

    iget-object v3, v1, Lz5/sw0;->v:Lz5/b31;

    const/16 v19, -0x1

    iget-boolean v5, v3, Lz5/b31;->K:Z

    iget-boolean v3, v3, Lz5/b31;->L:Z

    move-object v14, v2

    move/from16 v20, p1

    move/from16 v21, v5

    move/from16 v22, v3

    invoke-direct/range {v14 .. v22}, Lcom/google/android/gms/ads/internal/zzj;-><init>(ZZZFIZZZ)V

    if-eqz p3, :cond_d5

    invoke-virtual/range {p3 .. p3}, Lz5/kg0;->zze()V

    :cond_d5
    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzb()Lcom/google/android/gms/ads/internal/overlay/zzm;

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

    invoke-virtual {v0}, Lz5/dp0;->l()Lz5/cl0;

    move-result-object v11

    iget-object v0, v1, Lz5/sw0;->v:Lz5/b31;

    iget v14, v0, Lz5/b31;->M:I

    iget-object v15, v1, Lz5/sw0;->u:Lz5/g50;

    iget-object v5, v0, Lz5/b31;->B:Ljava/lang/String;

    iget-object v0, v0, Lz5/b31;->s:Lz5/g31;

    const/4 v10, 0x0

    const/4 v12, 0x0

    iget-object v6, v0, Lz5/g31;->b:Ljava/lang/String;

    iget-object v0, v0, Lz5/g31;->a:Ljava/lang/String;

    iget-object v7, v1, Lz5/sw0;->t:Lz5/m31;

    iget-object v7, v7, Lz5/m31;->f:Ljava/lang/String;

    move-object v9, v3

    move-object/from16 v16, v5

    move-object/from16 v17, v2

    move-object/from16 v18, v6

    move-object/from16 v19, v0

    move-object/from16 v20, v7

    move-object/from16 v21, p3

    invoke-direct/range {v9 .. v21}, Lcom/google/android/gms/ads/internal/overlay/AdOverlayInfoParcel;-><init>(Lz5/oj;Lcom/google/android/gms/ads/internal/overlay/zzo;Lcom/google/android/gms/ads/internal/overlay/zzv;Lcom/google/android/gms/internal/ads/g2;ILz5/g50;Ljava/lang/String;Lcom/google/android/gms/ads/internal/zzj;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lz5/kg0;)V

    move-object/from16 v0, p2

    invoke-static {v0, v3, v4}, Lcom/google/android/gms/ads/internal/overlay/zzm;->zza(Landroid/content/Context;Lcom/google/android/gms/ads/internal/overlay/AdOverlayInfoParcel;Z)V

    return-void

    :catch_108
    move-exception v0

    const-string v2, ""

    invoke-static {v2, v0}, Lz5/d50;->zzg(Ljava/lang/String;Ljava/lang/Throwable;)V

    return-void
.end method
