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


# instance fields
.field public a:Lz5/u7;

.field public b:Z


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

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

    return-void
.end method

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

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

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

    sget-object v0, Lz5/so;->V2:Lz5/no;

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

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

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

    move-result-object v0

    check-cast v0, Ljava/lang/Boolean;

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

    move-result v0

    if-eqz v0, :cond_6a

    :try_start_18
    const-string v0, "com.google.android.gms.ads.clearcut.DynamiteClearcutLogger"
    :try_end_1a
    .catch Lz5/e50; {:try_start_18 .. :try_end_1a} :catch_65
    .catch Landroid/os/RemoteException; {:try_start_18 .. :try_end_1a} :catch_65
    .catch Ljava/lang/NullPointerException; {:try_start_18 .. :try_end_1a} :catch_65

    .line 3
    :try_start_1a
    sget-object v1, Lcom/google/android/gms/dynamite/DynamiteModule;->b:Lcom/google/android/gms/dynamite/DynamiteModule$b;

    const-string v2, "com.google.android.gms.ads.dynamite"

    invoke-static {p1, v1, v2}, Lcom/google/android/gms/dynamite/DynamiteModule;->d(Landroid/content/Context;Lcom/google/android/gms/dynamite/DynamiteModule$b;Ljava/lang/String;)Lcom/google/android/gms/dynamite/DynamiteModule;

    move-result-object v1
    :try_end_22
    .catch Ljava/lang/Exception; {:try_start_1a .. :try_end_22} :catch_57

    .line 4
    :try_start_22
    invoke-virtual {v1, v0}, Lcom/google/android/gms/dynamite/DynamiteModule;->c(Ljava/lang/String;)Landroid/os/IBinder;

    move-result-object v0

    .line 5
    sget v1, Lz5/t7;->r:I

    if-nez v0, :cond_2c

    const/4 v0, 0x0

    goto :goto_40

    :cond_2c
    const-string v1, "com.google.android.gms.ads.clearcut.IClearcut"

    .line 6
    invoke-interface {v0, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;

    move-result-object v1

    instance-of v2, v1, Lz5/u7;

    if-eqz v2, :cond_3a

    move-object v0, v1

    check-cast v0, Lz5/u7;

    goto :goto_40

    :cond_3a
    new-instance v1, Lz5/s7;

    invoke-direct {v1, v0}, Lz5/s7;-><init>(Landroid/os/IBinder;)V
    :try_end_3f
    .catch Ljava/lang/Exception; {:try_start_22 .. :try_end_3f} :catch_5e

    move-object v0, v1

    .line 7
    :goto_40
    :try_start_40
    iput-object v0, p0, Lz5/ng;->a:Lz5/u7;

    .line 8
    new-instance v0, Lx5/b;

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

    .line 9
    iget-object v0, p0, Lz5/ng;->a:Lz5/u7;

    .line 10
    new-instance v1, Lx5/b;

    invoke-direct {v1, p1}, Lx5/b;-><init>(Ljava/lang/Object;)V

    const-string p1, "GMA_SDK"

    .line 11
    invoke-interface {v0, v1, p1}, Lz5/u7;->j1(Lx5/a;Ljava/lang/String;)V

    const/4 p1, 0x1

    iput-boolean p1, p0, Lz5/ng;->b:Z
    :try_end_56
    .catch Lz5/e50; {:try_start_40 .. :try_end_56} :catch_65
    .catch Landroid/os/RemoteException; {:try_start_40 .. :try_end_56} :catch_65
    .catch Ljava/lang/NullPointerException; {:try_start_40 .. :try_end_56} :catch_65

    return-void

    :catch_57
    move-exception p1

    .line 12
    :try_start_58
    new-instance v0, Lz5/e50;

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

    throw v0
    :try_end_5e
    .catch Ljava/lang/Exception; {:try_start_58 .. :try_end_5e} :catch_5e

    :catch_5e
    move-exception p1

    .line 13
    :try_start_5f
    new-instance v0, Lz5/e50;

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

    throw v0
    :try_end_65
    .catch Lz5/e50; {:try_start_5f .. :try_end_65} :catch_65
    .catch Landroid/os/RemoteException; {:try_start_5f .. :try_end_65} :catch_65
    .catch Ljava/lang/NullPointerException; {:try_start_5f .. :try_end_65} :catch_65

    :catch_65
    const-string p1, "Cannot dynamite load clearcut"

    .line 14
    invoke-static {p1}, Lz5/d50;->zzd(Ljava/lang/String;)V

    :cond_6a
    return-void
.end method
