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


# instance fields
.field public a:Z

.field public b:Lz5/e91;


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .registers 8

    const-string p3, "GASS"

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

    :try_start_5
    const-string v0, "com.google.android.gms.gass.internal.clearcut.GassDynamiteClearcutLogger"
    :try_end_7
    .catch Lz5/m81; {:try_start_5 .. :try_end_7} :catch_4d
    .catch Landroid/os/RemoteException; {:try_start_5 .. :try_end_7} :catch_4d
    .catch Ljava/lang/NullPointerException; {:try_start_5 .. :try_end_7} :catch_4d
    .catch Ljava/lang/SecurityException; {:try_start_5 .. :try_end_7} :catch_4d

    :try_start_7
    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_f
    .catch Ljava/lang/Exception; {:try_start_7 .. :try_end_f} :catch_3f

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

    move-result-object v0

    const/4 v1, 0x0

    if-nez v0, :cond_18

    move-object v2, v1

    goto :goto_2a

    :cond_18
    const-string v2, "com.google.android.gms.gass.internal.clearcut.IGassClearcut"

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

    move-result-object v2

    instance-of v3, v2, Lz5/e91;

    if-eqz v3, :cond_25

    check-cast v2, Lz5/e91;

    goto :goto_2a

    :cond_25
    new-instance v2, Lz5/e91;

    invoke-direct {v2, v0}, Lz5/e91;-><init>(Landroid/os/IBinder;)V
    :try_end_2a
    .catch Ljava/lang/Exception; {:try_start_f .. :try_end_2a} :catch_46

    :goto_2a
    :try_start_2a
    iput-object v2, p0, Lz5/d91;->b:Lz5/e91;

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

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

    .line 2
    iget-object p1, p0, Lz5/d91;->b:Lz5/e91;

    invoke-virtual {p1, v0, p2, v1}, Lz5/e91;->l(Lx5/a;Ljava/lang/String;Ljava/lang/String;)V

    const/4 p1, 0x1

    iput-boolean p1, p0, Lz5/d91;->a:Z

    const-string p1, "GassClearcutLogger Initialized."

    invoke-static {p3, p1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
    :try_end_3e
    .catch Lz5/m81; {:try_start_2a .. :try_end_3e} :catch_4d
    .catch Landroid/os/RemoteException; {:try_start_2a .. :try_end_3e} :catch_4d
    .catch Ljava/lang/NullPointerException; {:try_start_2a .. :try_end_3e} :catch_4d
    .catch Ljava/lang/SecurityException; {:try_start_2a .. :try_end_3e} :catch_4d

    return-void

    :catch_3f
    move-exception p1

    :try_start_40
    new-instance p2, Lz5/m81;

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

    throw p2
    :try_end_46
    .catch Ljava/lang/Exception; {:try_start_40 .. :try_end_46} :catch_46

    :catch_46
    move-exception p1

    :try_start_47
    new-instance p2, Lz5/m81;

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

    throw p2
    :try_end_4d
    .catch Lz5/m81; {:try_start_47 .. :try_end_4d} :catch_4d
    .catch Landroid/os/RemoteException; {:try_start_47 .. :try_end_4d} :catch_4d
    .catch Ljava/lang/NullPointerException; {:try_start_47 .. :try_end_4d} :catch_4d
    .catch Ljava/lang/SecurityException; {:try_start_47 .. :try_end_4d} :catch_4d

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

    invoke-static {p3, p1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    return-void
.end method
