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


# annotations
.annotation runtime Ljavax/annotation/ParametersAreNonnullByDefault;
.end annotation


# static fields
.field public static final zza:Lcom/google/android/gms/ads/internal/util/zzbm;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/google/android/gms/ads/internal/util/zzbm<",
            "Ljava/lang/Void;",
            ">;"
        }
    .end annotation

    .annotation runtime Ljava/lang/Deprecated;
    .end annotation
.end field

.field private static zzb:Lz5/vy1;

.field private static final zzc:Ljava/lang/Object;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    new-instance v0, Ljava/lang/Object;

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

    sput-object v0, Lcom/google/android/gms/ads/internal/util/zzbr;->zzc:Ljava/lang/Object;

    new-instance v0, Lcom/google/android/gms/ads/internal/util/zzbj;

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

    sput-object v0, Lcom/google/android/gms/ads/internal/util/zzbr;->zza:Lcom/google/android/gms/ads/internal/util/zzbm;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .registers 7

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

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    if-nez v0, :cond_a

    goto :goto_e

    :cond_a
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    :goto_e
    sget-object v0, Lcom/google/android/gms/ads/internal/util/zzbr;->zzc:Ljava/lang/Object;

    monitor-enter v0

    :try_start_11
    sget-object v1, Lcom/google/android/gms/ads/internal/util/zzbr;->zzb:Lz5/vy1;

    if-nez v1, :cond_59

    invoke-static {p1}, Lz5/so;->a(Landroid/content/Context;)V

    sget-object v1, Lz5/so;->x2:Lz5/no;

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

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

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

    move-result-object v1

    check-cast v1, Ljava/lang/Boolean;

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

    move-result v1

    if-eqz v1, :cond_2f

    invoke-static {p1}, Lcom/google/android/gms/ads/internal/util/zzba;->zzb(Landroid/content/Context;)Lz5/vy1;

    move-result-object p1

    goto :goto_54

    .line 3
    :cond_2f
    new-instance v1, Lz5/gz1;

    new-instance v2, Lz5/pz1;

    invoke-direct {v2}, Lz5/pz1;-><init>()V

    invoke-direct {v1, v2}, Lz5/gz1;-><init>(Lz5/fz1;)V

    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    new-instance v2, Lz5/ll0;

    const/16 v3, 0x15

    invoke-direct {v2, p1, v3}, Lz5/ll0;-><init>(Landroid/content/Context;I)V

    new-instance p1, Lz5/vy1;

    new-instance v3, Lz5/mz1;

    const/high16 v4, 0x500000

    invoke-direct {v3, v2, v4}, Lz5/mz1;-><init>(Lz5/lz1;I)V

    const/4 v2, 0x4

    invoke-direct {p1, v3, v1, v2}, Lz5/vy1;-><init>(Lz5/fy1;Lz5/ly1;I)V

    invoke-virtual {p1}, Lz5/vy1;->a()V

    .line 4
    :goto_54
    sput-object p1, Lcom/google/android/gms/ads/internal/util/zzbr;->zzb:Lz5/vy1;

    goto :goto_59

    :catchall_57
    move-exception p1

    goto :goto_5b

    :cond_59
    :goto_59
    monitor-exit v0

    return-void

    :goto_5b
    monitor-exit v0
    :try_end_5c
    .catchall {:try_start_11 .. :try_end_5c} :catchall_57

    throw p1
.end method


# virtual methods
.method public final zza(Ljava/lang/String;)Lz5/fc1;
    .registers 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lz5/fc1<",
            "Lz5/oy1;",
            ">;"
        }
    .end annotation

    new-instance v0, Lcom/google/android/gms/internal/ads/y1;

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

    sget-object v1, Lcom/google/android/gms/ads/internal/util/zzbr;->zzb:Lz5/vy1;

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

    const/4 v3, 0x0

    invoke-direct {v2, p1, v3, v0}, Lcom/google/android/gms/ads/internal/util/zzbq;-><init>(Ljava/lang/String;Ljava/util/Map;Lcom/google/android/gms/internal/ads/y1;)V

    invoke-virtual {v1, v2}, Lz5/vy1;->b(Lz5/sy1;)Lz5/sy1;

    return-object v0
.end method

.method public final zzb(ILjava/lang/String;Ljava/util/Map;[B)Lz5/fc1;
    .registers 19
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(I",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;[B)",
            "Lz5/fc1<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    move-object/from16 v0, p2

    new-instance v10, Lcom/google/android/gms/ads/internal/util/zzbo;

    const/4 v1, 0x0

    invoke-direct {v10, v1}, Lcom/google/android/gms/ads/internal/util/zzbo;-><init>(Lcom/google/android/gms/ads/internal/util/zzbn;)V

    new-instance v6, Lcom/google/android/gms/ads/internal/util/zzbk;

    move-object v11, p0

    invoke-direct {v6, p0, v0, v10}, Lcom/google/android/gms/ads/internal/util/zzbk;-><init>(Lcom/google/android/gms/ads/internal/util/zzbr;Ljava/lang/String;Lcom/google/android/gms/ads/internal/util/zzbo;)V

    new-instance v12, Lz5/c50;

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

    new-instance v13, Lcom/google/android/gms/ads/internal/util/zzbl;

    move-object v1, v13

    move-object v2, p0

    move v3, p1

    move-object/from16 v4, p2

    move-object v5, v10

    move-object/from16 v7, p4

    move-object/from16 v8, p3

    move-object v9, v12

    invoke-direct/range {v1 .. v9}, Lcom/google/android/gms/ads/internal/util/zzbl;-><init>(Lcom/google/android/gms/ads/internal/util/zzbr;ILjava/lang/String;Lz5/xy1;Lz5/wy1;[BLjava/util/Map;Lz5/c50;)V

    invoke-static {}, Lz5/c50;->d()Z

    move-result v1

    if-eqz v1, :cond_4d

    :try_start_29
    invoke-virtual {v13}, Lcom/google/android/gms/ads/internal/util/zzbl;->zzn()Ljava/util/Map;

    move-result-object v1

    invoke-virtual {v13}, Lcom/google/android/gms/ads/internal/util/zzbl;->zzo()[B

    move-result-object v2

    .line 1
    invoke-static {}, Lz5/c50;->d()Z

    move-result v3

    if-nez v3, :cond_38

    goto :goto_4d

    .line 2
    :cond_38
    new-instance v3, Lcom/google/android/gms/internal/ads/v3;

    const-string v4, "GET"

    invoke-direct {v3, v0, v4, v1, v2}, Lcom/google/android/gms/internal/ads/v3;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;[B)V

    const-string v0, "onNetworkRequest"

    invoke-virtual {v12, v0, v3}, Lz5/c50;->f(Ljava/lang/String;Lz5/b50;)V
    :try_end_44
    .catch Lz5/dy1; {:try_start_29 .. :try_end_44} :catch_45

    goto :goto_4d

    :catch_45
    move-exception v0

    .line 3
    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

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

    :cond_4d
    :goto_4d
    sget-object v0, Lcom/google/android/gms/ads/internal/util/zzbr;->zzb:Lz5/vy1;

    invoke-virtual {v0, v13}, Lz5/vy1;->b(Lz5/sy1;)Lz5/sy1;

    return-object v10
.end method
