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


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


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

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

    return-void
.end method

.method public static final a(Landroid/content/Context;Lz5/he;Ljava/lang/String;ZZLz5/l;Lz5/fp;Lz5/g50;Lcom/google/android/gms/internal/ads/l0;Lcom/google/android/gms/ads/internal/zzl;Lcom/google/android/gms/ads/internal/zza;Lcom/google/android/gms/internal/ads/w;Lz5/b31;Lz5/e31;)Lcom/google/android/gms/internal/ads/g2;
    .registers 30

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

    :try_start_3
    invoke-static {}, Landroid/os/StrictMode;->getThreadPolicy()Landroid/os/StrictMode$ThreadPolicy;

    move-result-object v1
    :try_end_7
    .catchall {:try_start_3 .. :try_end_7} :catchall_72

    :try_start_7
    new-instance v0, Landroid/os/StrictMode$ThreadPolicy$Builder;

    invoke-direct {v0, v1}, Landroid/os/StrictMode$ThreadPolicy$Builder;-><init>(Landroid/os/StrictMode$ThreadPolicy;)V

    invoke-virtual {v0}, Landroid/os/StrictMode$ThreadPolicy$Builder;->permitDiskReads()Landroid/os/StrictMode$ThreadPolicy$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/StrictMode$ThreadPolicy$Builder;->permitDiskWrites()Landroid/os/StrictMode$ThreadPolicy$Builder;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/StrictMode$ThreadPolicy$Builder;->build()Landroid/os/StrictMode$ThreadPolicy;

    move-result-object v0

    invoke-static {v0}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
    :try_end_1b
    .catchall {:try_start_7 .. :try_end_1b} :catchall_6d

    const/16 v0, 0x108

    .line 1
    :try_start_1d
    invoke-static {v0}, Landroid/net/TrafficStats;->setThreadStatsTag(I)V

    new-instance v0, Lz5/j80;

    sget v2, Lcom/google/android/gms/internal/ads/j2;->r0:I

    new-instance v4, Lz5/a90;

    move-object/from16 v2, p0

    invoke-direct {v4, v2}, Lz5/a90;-><init>(Landroid/content/Context;)V

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

    move-object v3, v2

    move-object/from16 v5, p1

    move-object/from16 v6, p2

    move/from16 v7, p3

    move-object/from16 v8, p5

    move-object/from16 v9, p6

    move-object/from16 v10, p7

    move-object/from16 v11, p9

    move-object/from16 v12, p10

    move-object/from16 v13, p11

    move-object/from16 v14, p12

    move-object/from16 v15, p13

    invoke-direct/range {v3 .. v15}, Lcom/google/android/gms/internal/ads/j2;-><init>(Lz5/a90;Lz5/he;Ljava/lang/String;ZLz5/l;Lz5/fp;Lz5/g50;Lcom/google/android/gms/ads/internal/zzl;Lcom/google/android/gms/ads/internal/zza;Lcom/google/android/gms/internal/ads/w;Lz5/b31;Lz5/e31;)V

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

    invoke-static {}, Lcom/google/android/gms/ads/internal/zzt;->zze()Lcom/google/android/gms/ads/internal/util/zzad;

    move-result-object v2

    move/from16 v3, p4

    move-object/from16 v4, p11

    invoke-virtual {v2, v0, v4, v3}, Lcom/google/android/gms/ads/internal/util/zzad;->zzl(Lcom/google/android/gms/internal/ads/g2;Lcom/google/android/gms/internal/ads/w;Z)Lcom/google/android/gms/internal/ads/h2;

    move-result-object v2

    invoke-interface {v0, v2}, Lcom/google/android/gms/internal/ads/g2;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    new-instance v2, Lz5/d80;

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

    invoke-interface {v0, v2}, Lcom/google/android/gms/internal/ads/g2;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V
    :try_end_61
    .catchall {:try_start_1d .. :try_end_61} :catchall_68

    :try_start_61
    invoke-static {}, Landroid/net/TrafficStats;->clearThreadStatsTag()V
    :try_end_64
    .catchall {:try_start_61 .. :try_end_64} :catchall_6d

    .line 2
    :try_start_64
    invoke-static {v1}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V
    :try_end_67
    .catchall {:try_start_64 .. :try_end_67} :catchall_72

    return-object v0

    :catchall_68
    move-exception v0

    .line 3
    :try_start_69
    invoke-static {}, Landroid/net/TrafficStats;->clearThreadStatsTag()V

    throw v0
    :try_end_6d
    .catchall {:try_start_69 .. :try_end_6d} :catchall_6d

    :catchall_6d
    move-exception v0

    .line 4
    :try_start_6e
    invoke-static {v1}, Landroid/os/StrictMode;->setThreadPolicy(Landroid/os/StrictMode$ThreadPolicy;)V

    throw v0
    :try_end_72
    .catchall {:try_start_6e .. :try_end_72} :catchall_72

    :catchall_72
    move-exception v0

    new-instance v1, Lz5/h80;

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

    throw v1
.end method
