.class public final Lz5/f0;
.super Landroid/content/BroadcastReceiver;
.source ""


# instance fields
.field public final synthetic a:I

.field public final synthetic b:Ljava/lang/Object;


# direct methods
.method public synthetic constructor <init>(Lcom/google/android/gms/internal/ads/g;)V
    .registers 3

    const/4 v0, 0x2

    iput v0, p0, Lz5/f0;->a:I

    .line 1
    iput-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method public constructor <init>(Lz5/g0;)V
    .registers 3

    const/4 v0, 0x0

    iput v0, p0, Lz5/f0;->a:I

    .line 2
    iput-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method public synthetic constructor <init>(Lz5/n4;)V
    .registers 3

    const/4 v0, 0x1

    iput v0, p0, Lz5/f0;->a:I

    .line 3
    iput-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method public constructor <init>(Lz5/o61;)V
    .registers 3

    const/4 v0, 0x4

    iput v0, p0, Lz5/f0;->a:I

    .line 5
    iput-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method

.method public constructor <init>(Lz5/se;)V
    .registers 3

    const/4 v0, 0x3

    iput v0, p0, Lz5/f0;->a:I

    .line 4
    iput-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public final onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .registers 13

    iget v0, p0, Lz5/f0;->a:I

    const/4 v1, 0x3

    const/4 v2, 0x0

    const/4 v3, 0x1

    packed-switch v0, :pswitch_data_f4

    goto/16 :goto_ac

    .line 1
    :pswitch_a
    iget-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast p1, Lz5/se;

    sget p2, Lz5/se;->G:I

    .line 2
    invoke-virtual {p1, v1}, Lz5/se;->e(I)V

    return-void

    :pswitch_14
    const-string p2, "connectivity"

    .line 3
    invoke-virtual {p1, p2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Landroid/net/ConnectivityManager;

    const/4 v0, 0x2

    const/16 v4, 0x9

    const/4 v5, 0x6

    const/4 v6, 0x4

    const/16 v7, 0x1d

    const/4 v8, 0x5

    if-nez p2, :cond_27

    goto :goto_60

    :cond_27
    :try_start_27
    invoke-virtual {p2}, Landroid/net/ConnectivityManager;->getActiveNetworkInfo()Landroid/net/NetworkInfo;

    move-result-object p2
    :try_end_2b
    .catch Ljava/lang/SecurityException; {:try_start_27 .. :try_end_2b} :catch_60

    if-eqz p2, :cond_5e

    invoke-virtual {p2}, Landroid/net/NetworkInfo;->isConnected()Z

    move-result v9

    if-nez v9, :cond_34

    goto :goto_5e

    :cond_34
    invoke-virtual {p2}, Landroid/net/NetworkInfo;->getType()I

    move-result v9

    if-eqz v9, :cond_49

    if-eq v9, v3, :cond_58

    if-eq v9, v6, :cond_49

    if-eq v9, v8, :cond_49

    if-eq v9, v5, :cond_5a

    if-eq v9, v4, :cond_47

    const/16 v1, 0x8

    goto :goto_61

    :cond_47
    const/4 v1, 0x7

    goto :goto_61

    :cond_49
    invoke-virtual {p2}, Landroid/net/NetworkInfo;->getSubtype()I

    move-result p2

    packed-switch p2, :pswitch_data_100

    :pswitch_50
    move v1, v5

    goto :goto_61

    :pswitch_52
    sget p2, Lz5/r7;->a:I

    if-lt p2, v7, :cond_60

    move v1, v4

    goto :goto_61

    :cond_58
    :pswitch_58
    move v1, v0

    goto :goto_61

    :cond_5a
    :pswitch_5a
    move v1, v8

    goto :goto_61

    :pswitch_5c
    move v1, v6

    goto :goto_61

    :cond_5e
    :goto_5e
    move v1, v3

    goto :goto_61

    :catch_60
    :cond_60
    :goto_60
    move v1, v2

    :goto_61
    :pswitch_61
    sget p2, Lz5/r7;->a:I

    if-lt p2, v7, :cond_8c

    if-ne v1, v8, :cond_8c

    :try_start_67
    const-string v0, "phone"

    invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/telephony/TelephonyManager;
    :try_end_6f
    .catch Ljava/lang/RuntimeException; {:try_start_67 .. :try_end_6f} :catch_8d

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

    :try_start_72
    new-instance v0, Lz5/h7;

    iget-object v1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast v1, Lcom/google/android/gms/internal/ads/g;

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

    const/16 v1, 0x1f

    if-ge p2, v1, :cond_83

    invoke-virtual {p1, v0, v3}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V

    goto :goto_88

    :cond_83
    const/high16 p2, 0x100000

    invoke-virtual {p1, v0, p2}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V

    :goto_88
    invoke-virtual {p1, v0, v2}, Landroid/telephony/TelephonyManager;->listen(Landroid/telephony/PhoneStateListener;I)V
    :try_end_8b
    .catch Ljava/lang/RuntimeException; {:try_start_72 .. :try_end_8b} :catch_8d

    goto :goto_94

    :cond_8c
    move v8, v1

    :catch_8d
    iget-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast p1, Lcom/google/android/gms/internal/ads/g;

    invoke-static {p1, v8}, Lcom/google/android/gms/internal/ads/g;->g(Lcom/google/android/gms/internal/ads/g;I)V

    :goto_94
    return-void

    .line 4
    :pswitch_95
    iget-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast p1, Lz5/n4;

    .line 5
    iget-object p2, p1, Lz5/n4;->b:Landroid/os/Handler;

    .line 6
    new-instance v0, Ll5/x;

    invoke-direct {v0, p1}, Ll5/x;-><init>(Lz5/n4;)V

    invoke-virtual {p2, v0}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    return-void

    .line 7
    :pswitch_a4
    iget-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast p1, Lz5/g0;

    .line 8
    invoke-virtual {p1}, Lz5/g0;->e()V

    return-void

    :goto_ac
    if-nez p2, :cond_af

    goto :goto_f3

    .line 9
    :cond_af
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "android.intent.action.SCREEN_OFF"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_c3

    iget-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast p1, Lz5/o61;

    invoke-static {p1, v3}, Lz5/o61;->a(Lz5/o61;Z)V

    goto :goto_f3

    :cond_c3
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    const-string v1, "android.intent.action.USER_PRESENT"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_d0

    goto :goto_ec

    :cond_d0
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p2

    const-string v0, "android.intent.action.SCREEN_ON"

    invoke-virtual {v0, p2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_f3

    const-string p2, "keyguard"

    invoke-virtual {p1, p2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Landroid/app/KeyguardManager;

    if-eqz p1, :cond_f3

    invoke-virtual {p1}, Landroid/app/KeyguardManager;->inKeyguardRestrictedInputMode()Z

    move-result p1

    if-nez p1, :cond_f3

    :goto_ec
    iget-object p1, p0, Lz5/f0;->b:Ljava/lang/Object;

    check-cast p1, Lz5/o61;

    invoke-static {p1, v2}, Lz5/o61;->a(Lz5/o61;Z)V

    :cond_f3
    :goto_f3
    return-void

    :pswitch_data_f4
    .packed-switch 0x0
        :pswitch_a4
        :pswitch_95
        :pswitch_14
        :pswitch_a
    .end packed-switch

    :pswitch_data_100
    .packed-switch 0x1
        :pswitch_61
        :pswitch_61
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5c
        :pswitch_5a
        :pswitch_5c
        :pswitch_5c
        :pswitch_50
        :pswitch_5c
        :pswitch_58
        :pswitch_50
        :pswitch_52
    .end packed-switch
.end method
