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

# interfaces
.implements Lz5/y30;
.implements Lz5/zb1;
.implements Lz5/a51;


# instance fields
.field public final r:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;I)V
    .registers 4

    const/4 v0, 0x1

    if-eq p2, v0, :cond_1b

    const/4 v0, 0x2

    if-eq p2, v0, :cond_15

    const/4 v0, 0x3

    if-eq p2, v0, :cond_f

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

    iput-object p1, p0, Lz5/u30;->r:Ljava/lang/String;

    return-void

    .line 2
    :cond_f
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/u30;->r:Ljava/lang/String;

    return-void

    .line 3
    :cond_15
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lz5/u30;->r:Ljava/lang/String;

    return-void

    .line 4
    :cond_1b
    iput-object p1, p0, Lz5/u30;->r:Ljava/lang/String;

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

    return-void
.end method


# virtual methods
.method public g(Lz5/c90;)V
    .registers 3

    iget-object v0, p0, Lz5/u30;->r:Ljava/lang/String;

    invoke-interface {p1, v0}, Lz5/c90;->q(Ljava/lang/String;)V

    return-void
.end method

.method public zza(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 8

    check-cast p1, Lz5/qt0;

    .line 1
    iget-object v0, p1, Lz5/qt0;->a:Lorg/json/JSONObject;

    const-string v1, "http_timeout_millis"

    const v2, 0xea60

    .line 2
    invoke-virtual {v0, v1, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    .line 3
    iget-object v1, p1, Lz5/qt0;->b:Lz5/t10;

    .line 4
    iget v2, v1, Lz5/t10;->g:I

    const/4 v3, -0x2

    if-ne v2, v3, :cond_8a

    .line 5
    new-instance v1, Ljava/util/HashMap;

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

    .line 6
    iget-object v2, p1, Lz5/qt0;->b:Lz5/t10;

    .line 7
    iget-boolean v2, v2, Lz5/t10;->e:Z

    if-eqz v2, :cond_2e

    .line 8
    iget-object v2, p0, Lz5/u30;->r:Ljava/lang/String;

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_2e

    iget-object v2, p0, Lz5/u30;->r:Ljava/lang/String;

    const-string v3, "Cookie"

    invoke-virtual {v1, v3, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 9
    :cond_2e
    iget-object v2, p1, Lz5/qt0;->b:Lz5/t10;

    .line 10
    iget-boolean v2, v2, Lz5/t10;->d:Z

    const-string v3, ""

    if-eqz v2, :cond_70

    .line 11
    iget-object v2, p1, Lz5/qt0;->a:Lorg/json/JSONObject;

    const-string v4, "pii"

    .line 12
    invoke-virtual {v2, v4}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v2

    if-eqz v2, :cond_6b

    const-string v4, "doritos"

    invoke-virtual {v2, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_55

    invoke-virtual {v2, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    const-string v5, "x-afma-drt-cookie"

    invoke-virtual {v1, v5, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_55
    const-string v4, "doritos_v2"

    invoke-virtual {v2, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v5

    if-nez v5, :cond_70

    invoke-virtual {v2, v4, v3}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v4, "x-afma-drt-v2-cookie"

    invoke-virtual {v1, v4, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_70

    :cond_6b
    const-string v2, "DSID signal does not exist."

    invoke-static {v2}, Lcom/google/android/gms/ads/internal/util/zze;->zza(Ljava/lang/String;)V

    .line 13
    :cond_70
    :goto_70
    iget-object v2, p1, Lz5/qt0;->b:Lz5/t10;

    if-eqz v2, :cond_80

    .line 14
    iget-object v2, v2, Lz5/t10;->c:Ljava/lang/String;

    .line 15
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_80

    .line 16
    iget-object v2, p1, Lz5/qt0;->b:Lz5/t10;

    .line 17
    iget-object v3, v2, Lz5/t10;->c:Ljava/lang/String;

    .line 18
    :cond_80
    new-instance v2, Lz5/nt0;

    .line 19
    iget-object p1, p1, Lz5/qt0;->b:Lz5/t10;

    .line 20
    iget-object p1, p1, Lz5/t10;->f:Ljava/lang/String;

    .line 21
    invoke-direct {v2, p1, v0, v1, v3}, Lz5/nt0;-><init>(Ljava/lang/String;ILjava/util/Map;Ljava/lang/String;)V

    return-object v2

    :cond_8a
    const/4 p1, 0x1

    if-ne v2, p1, :cond_a3

    .line 22
    iget-object p1, v1, Lz5/t10;->a:Ljava/util/List;

    if-eqz p1, :cond_9a

    const-string v0, ", "

    .line 23
    invoke-static {v0, p1}, Landroid/text/TextUtils;->join(Ljava/lang/CharSequence;Ljava/lang/Iterable;)Ljava/lang/String;

    move-result-object p1

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

    :cond_9a
    new-instance p1, Lz5/sr0;

    const/4 v0, 0x2

    const-string v1, "Error building request URL."

    invoke-direct {p1, v0, v1}, Lz5/sr0;-><init>(ILjava/lang/String;)V

    throw p1

    :cond_a3
    new-instance v0, Lz5/sr0;

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

    throw v0
.end method

.method public zza(Ljava/lang/Throwable;)V
    .registers 5

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zzg()Lcom/google/android/gms/internal/ads/u1;

    move-result-object v0

    iget-object v1, p0, Lz5/u30;->r:Ljava/lang/String;

    .line 24
    iget-object v2, v0, Lcom/google/android/gms/internal/ads/u1;->e:Landroid/content/Context;

    iget-object v0, v0, Lcom/google/android/gms/internal/ads/u1;->f:Lz5/g50;

    invoke-static {v2, v0}, Lcom/google/android/gms/internal/ads/h1;->d(Landroid/content/Context;Lz5/g50;)Lz5/f10;

    move-result-object v0

    invoke-interface {v0, p1, v1}, Lz5/f10;->a(Ljava/lang/Throwable;Ljava/lang/String;)V

    return-void
.end method

.method public zzb(Ljava/lang/Object;)V
    .registers 2

    return-void
.end method
