.class public final Lm5/k;
.super Lc6/e;
.source ""


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "HandlerLeak"
    }
.end annotation


# instance fields
.field public final a:Landroid/content/Context;

.field public final synthetic b:Lm5/e;


# direct methods
.method public constructor <init>(Lm5/e;Landroid/content/Context;)V
    .registers 3

    iput-object p1, p0, Lm5/k;->b:Lm5/e;

    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p1

    if-nez p1, :cond_d

    invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;

    move-result-object p1

    goto :goto_11

    :cond_d
    invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;

    move-result-object p1

    :goto_11
    invoke-direct {p0, p1}, Lc6/e;-><init>(Landroid/os/Looper;)V

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

    move-result-object p1

    iput-object p1, p0, Lm5/k;->a:Landroid/content/Context;

    return-void
.end method


# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
    .registers 8

    iget p1, p1, Landroid/os/Message;->what:I

    const/4 v0, 0x1

    if-eq p1, v0, :cond_1e

    new-instance v0, Ljava/lang/StringBuilder;

    const/16 v1, 0x32

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

    const-string v1, "Don\'t know how to handle this message: "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "GoogleApiAvailability"

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

    return-void

    :cond_1e
    iget-object p1, p0, Lm5/k;->b:Lm5/e;

    iget-object v1, p0, Lm5/k;->a:Landroid/content/Context;

    invoke-virtual {p1, v1}, Lm5/e;->d(Landroid/content/Context;)I

    move-result p1

    iget-object v1, p0, Lm5/k;->b:Lm5/e;

    invoke-static {v1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 1
    sget-object v1, Lm5/i;->a:Ljava/util/concurrent/atomic/AtomicBoolean;

    const/4 v1, 0x0

    if-eq p1, v0, :cond_3b

    const/4 v2, 0x2

    if-eq p1, v2, :cond_3b

    const/4 v2, 0x3

    if-eq p1, v2, :cond_3b

    const/16 v2, 0x9

    if-eq p1, v2, :cond_3b

    move v0, v1

    :cond_3b
    if-eqz v0, :cond_55

    .line 2
    iget-object v0, p0, Lm5/k;->b:Lm5/e;

    iget-object v2, p0, Lm5/k;->a:Landroid/content/Context;

    const-string v3, "n"

    .line 3
    invoke-virtual {v0, v2, p1, v3}, Lm5/e;->b(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;

    move-result-object v3

    const/4 v4, 0x0

    if-nez v3, :cond_4c

    move-object v1, v4

    goto :goto_52

    :cond_4c
    const/high16 v5, 0x8000000

    invoke-static {v2, v1, v3, v5}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;

    move-result-object v1

    .line 4
    :goto_52
    invoke-virtual {v0, v2, p1, v4, v1}, Lm5/e;->f(Landroid/content/Context;ILjava/lang/String;Landroid/app/PendingIntent;)V

    :cond_55
    return-void
.end method
