granularity level: instruction

		.class public Lcom/google/firebase/messaging/FirebaseMessagingService;
.super Lh1/j;
.source "SourceFile"


.field public static final g:Ljava/util/ArrayDeque;


.method public static constructor <clinit>()V
	.locals 2

	new-instance v0, Ljava/util/ArrayDeque;
	const/16 v1, 0xa
	invoke-direct {v0, v1}, Ljava/util/ArrayDeque;-><init>(I)V
	sput-object v0, Lcom/google/firebase/messaging/FirebaseMessagingService;->g:Ljava/util/ArrayDeque;
	return-void
.end method

.method public constructor <init>()V
	.locals 0

	invoke-direct {p0}, Lh1/j;-><init>()V
	return-void
.end method

.method public final b(Landroid/content/Intent;)V
	.locals 26

	move-object/from16 v1, p1
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;
	move-result-object v0
	const-string v2, "com.google.android.c2dm.intent.RECEIVE"
	invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v2
	const-string v3, "com.google.firebase.messaging.RECEIVE_DIRECT_BOOT"
	const-string v4, "FirebaseMessaging"
	if-nez v2, :cond_3
	invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v2
	if-eqz v2, :cond_0
	goto :goto_1
	:cond_0
	const-string v2, "com.google.firebase.messaging.NEW_TOKEN"
	invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v0
	if-eqz v0, :cond_1
	const-string v0, "token"
	invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	goto :goto_0
	:cond_1
	const-string v0, "Unknown intent action: "
	invoke-static {v0}, Lc0/b;->b(Ljava/lang/String;)Ljava/lang/StringBuilder;
	move-result-object v0
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-static {v4, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
	:cond_2
	:goto_0
	move-object/from16 v4, p0
	goto/16 :goto_18
	:cond_3
	:goto_1
	const-string v0, "google.message_id"
	invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v2
	invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	const/4 v6, 0x3
	const/4 v7, 0x1
	const/4 v8, 0x0
	if-eqz v5, :cond_4
	goto :goto_2
	:cond_4
	sget-object v5, Lcom/google/firebase/messaging/FirebaseMessagingService;->g:Ljava/util/ArrayDeque;
	invoke-virtual {v5, v2}, Ljava/util/ArrayDeque;->contains(Ljava/lang/Object;)Z
	move-result v9
	if-eqz v9, :cond_6
	invoke-static {v4, v6}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
	move-result v5
	if-eqz v5, :cond_5
	new-instance v5, Ljava/lang/StringBuilder;
	invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
	const-string v9, "Received duplicate message: "
	invoke-virtual {v5, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v2
	invoke-static {v4, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
	:cond_5
	const/4 v2, 0x1
	goto :goto_3
	:cond_6
	invoke-virtual {v5}, Ljava/util/ArrayDeque;->size()I
	move-result v9
	const/16 v10, 0xa
	if-lt v9, v10, :cond_7
	invoke-virtual {v5}, Ljava/util/ArrayDeque;->remove()Ljava/lang/Object;
	:cond_7
	invoke-virtual {v5, v2}, Ljava/util/ArrayDeque;->add(Ljava/lang/Object;)Z
	:goto_2
	const/4 v2, 0x0
	:goto_3
	if-nez v2, :cond_2
	const-string v2, "message_type"
	invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v2
	const-string v5, "gcm"
	if-nez v2, :cond_8
	move-object v2, v5
	:cond_8
	const/4 v9, -0x1
	invoke-virtual {v2}, Ljava/lang/String;->hashCode()I
	move-result v10
	const/4 v11, 0x2
	sparse-switch v10, :sswitch_data_0
	goto :goto_4
	:sswitch_0
	const-string v5, "send_event"
	invoke-virtual {v2, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_9
	goto :goto_4
	:cond_9
	const/4 v9, 0x3
	goto :goto_4
	:sswitch_1
	const-string v5, "send_error"
	invoke-virtual {v2, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_a
	goto :goto_4
	:cond_a
	const/4 v9, 0x2
	goto :goto_4
	:sswitch_2
	invoke-virtual {v2, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_b
	goto :goto_4
	:cond_b
	const/4 v9, 0x1
	goto :goto_4
	:sswitch_3
	const-string v5, "deleted_messages"
	invoke-virtual {v2, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_c
	goto :goto_4
	:cond_c
	const/4 v9, 0x0
	:goto_4
	const-string v5, "message_id"
	if-eqz v9, :cond_2
	if-eq v9, v7, :cond_10
	if-eq v9, v11, :cond_e
	if-eq v9, v6, :cond_d
	new-instance v0, Ljava/lang/StringBuilder;
	invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
	const-string v1, "Received message with unknown type: "
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-static {v4, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	goto/16 :goto_0
	:cond_d
	invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	goto/16 :goto_0
	:cond_e
	invoke-virtual {v1, v0}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-nez v0, :cond_f
	invoke-virtual {v1, v5}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	:cond_f
	new-instance v0, Lh1/y;
	const-string v2, "error"
	invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v1
	invoke-direct {v0, v1}, Lh1/y;-><init>(Ljava/lang/String;)V
	goto/16 :goto_0
	:cond_10
	invoke-static/range {p1 .. p1}, Lp0/a;->C(Landroid/content/Intent;)Z
	move-result v2
	if-eqz v2, :cond_11
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v2
	const-string v6, "_nr"
	invoke-static {v6, v2}, Lp0/a;->x(Ljava/lang/String;Landroid/os/Bundle;)V
	:cond_11
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getAction()Ljava/lang/String;
	move-result-object v2
	invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v2
	if-eqz v2, :cond_12
	goto :goto_5
	:cond_12
	const-string v2, "delivery_metrics_exported_to_big_query_enabled"
	:try_start_0
	invoke-static {}, Lp0/g;->b()Lp0/g;
	:try_end_0
	.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_0
	invoke-static {}, Lp0/g;->b()Lp0/g;
	move-result-object v3
	invoke-virtual {v3}, Lp0/g;->a()V
	iget-object v3, v3, Lp0/g;->a:Landroid/content/Context;
	const-string v6, "com.google.firebase.messaging"
	invoke-virtual {v3, v6, v8}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
	move-result-object v6
	const-string v9, "export_to_big_query"
	invoke-interface {v6, v9}, Landroid/content/SharedPreferences;->contains(Ljava/lang/String;)Z
	move-result v10
	if-eqz v10, :cond_13
	invoke-interface {v6, v9, v8}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
	move-result v2
	goto :goto_6
	:cond_13
	:try_start_1
	invoke-virtual {v3}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
	move-result-object v6
	if-eqz v6, :cond_14
	invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v3
	const/16 v9, 0x80
	invoke-virtual {v6, v3, v9}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
	move-result-object v3
	if-eqz v3, :cond_14
	iget-object v6, v3, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
	if-eqz v6, :cond_14
	invoke-virtual {v6, v2}, Landroid/os/BaseBundle;->containsKey(Ljava/lang/String;)Z
	move-result v6
	if-eqz v6, :cond_14
	iget-object v3, v3, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
	invoke-virtual {v3, v2, v8}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
	move-result v2
	:try_end_1
	.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
	goto :goto_6
	:catch_0
	const-string v2, "FirebaseApp has not being initialized. Device might be in direct boot mode. Skip exporting delivery metrics to Big Query"
	invoke-static {v4, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
	:cond_14
	:catch_1
	:goto_5
	const/4 v2, 0x0
	:goto_6
	if-eqz v2, :cond_28
	sget-object v23, Li1/a;->b:Li1/a;
	sget-object v2, Lcom/google/firebase/messaging/FirebaseMessaging;->l:Li/d;
	if-nez v2, :cond_15
	const-string v0, "TransportFactory is null. Skip exporting message delivery metrics to Big Query"
	invoke-static {v4, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
	goto/16 :goto_17
	:cond_15
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v3
	if-nez v3, :cond_16
	sget-object v3, Landroid/os/Bundle;->EMPTY:Landroid/os/Bundle;
	:cond_16
	const-string v6, ""
	const-string v8, "google.ttl"
	invoke-virtual {v3, v8}, Landroid/os/BaseBundle;->get(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object v8
	instance-of v9, v8, Ljava/lang/Integer;
	if-eqz v9, :cond_17
	check-cast v8, Ljava/lang/Integer;
	invoke-virtual {v8}, Ljava/lang/Integer;->intValue()I
	move-result v8
	goto :goto_7
	:cond_17
	instance-of v9, v8, Ljava/lang/String;
	if-eqz v9, :cond_18
	:try_start_2
	move-object v9, v8
	check-cast v9, Ljava/lang/String;
	invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
	move-result v8
	:try_end_2
	.catch Ljava/lang/NumberFormatException; {:try_start_2 .. :try_end_2} :catch_2
	:goto_7
	move/from16 v21, v8
	goto :goto_8
	:catch_2
	new-instance v9, Ljava/lang/StringBuilder;
	invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
	const-string v10, "Invalid TTL: "
	invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v9, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v8
	invoke-static {v4, v8}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_18
	const/4 v8, 0x0
	const/16 v21, 0x0
	:goto_8
	const-string v8, "google.to"
	invoke-virtual {v3, v8}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v8
	invoke-static {v8}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v9
	if-nez v9, :cond_19
	:goto_9
	move-object/from16 v16, v8
	goto :goto_a
	:try_start_3
	:cond_19
	invoke-static {}, Lp0/g;->b()Lp0/g;
	move-result-object v8
	sget-object v9, Lc1/d;->m:Ljava/lang/Object;
	const-class v9, Lc1/e;
	invoke-virtual {v8}, Lp0/g;->a()V
	iget-object v8, v8, Lp0/g;->d:Lr0/h;
	invoke-virtual {v8, v9}, Lp0/a;->a(Ljava/lang/Class;)Ljava/lang/Object;
	move-result-object v8
	check-cast v8, Lc1/d;
	invoke-virtual {v8}, Lc1/d;->c()Lo0/o;
	move-result-object v8
	invoke-static {v8}, Lf0/a;->a(Lo0/o;)Ljava/lang/Object;
	move-result-object v8
	check-cast v8, Ljava/lang/String;
	:try_end_3
	.catch Ljava/util/concurrent/ExecutionException; {:try_start_3 .. :try_end_3} :catch_8
	.catch Ljava/lang/InterruptedException; {:try_start_3 .. :try_end_3} :catch_7
	goto :goto_9
	:goto_a
	invoke-static {}, Lp0/g;->b()Lp0/g;
	move-result-object v8
	invoke-virtual {v8}, Lp0/g;->a()V
	iget-object v8, v8, Lp0/g;->a:Landroid/content/Context;
	invoke-virtual {v8}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v19
	sget-object v18, Li1/c;->b:Li1/c;
	invoke-static {v3}, Lp/e;->j(Landroid/os/Bundle;)Z
	move-result v8
	if-eqz v8, :cond_1a
	sget-object v8, Li1/b;->c:Li1/b;
	goto :goto_b
	:cond_1a
	sget-object v8, Li1/b;->b:Li1/b;
	:goto_b
	move-object/from16 v17, v8
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-nez v0, :cond_1b
	invoke-virtual {v3, v5}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	:cond_1b
	if-eqz v0, :cond_1c
	move-object v15, v0
	goto :goto_c
	:cond_1c
	move-object v15, v6
	:goto_c
	const-string v0, "from"
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-eqz v0, :cond_1d
	const-string v5, "/topics/"
	invoke-virtual {v0, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v5
	if-eqz v5, :cond_1d
	goto :goto_d
	:cond_1d
	const/4 v0, 0x0
	:goto_d
	if-eqz v0, :cond_1e
	move-object/from16 v22, v0
	goto :goto_e
	:cond_1e
	move-object/from16 v22, v6
	:goto_e
	const-string v0, "collapse_key"
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-eqz v0, :cond_1f
	move-object/from16 v20, v0
	goto :goto_f
	:cond_1f
	move-object/from16 v20, v6
	:goto_f
	const-string v0, "google.c.a.m_l"
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-eqz v0, :cond_20
	move-object/from16 v24, v0
	goto :goto_10
	:cond_20
	move-object/from16 v24, v6
	:goto_10
	const-string v0, "google.c.a.c_l"
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-eqz v0, :cond_21
	move-object/from16 v25, v0
	goto :goto_11
	:cond_21
	move-object/from16 v25, v6
	:goto_11
	const-string v0, "google.c.sender.id"
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->containsKey(Ljava/lang/String;)Z
	move-result v5
	const-wide/16 v8, 0x0
	if-eqz v5, :cond_22
	:try_start_4
	invoke-virtual {v3, v0}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
	move-result-wide v5
	:try_end_4
	.catch Ljava/lang/NumberFormatException; {:try_start_4 .. :try_end_4} :catch_3
	goto :goto_14
	:catch_3
	move-exception v0
	const-string v3, "error parsing project number"
	invoke-static {v4, v3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	:cond_22
	invoke-static {}, Lp0/g;->b()Lp0/g;
	move-result-object v3
	invoke-virtual {v3}, Lp0/g;->a()V
	iget-object v0, v3, Lp0/g;->c:Lp0/h;
	iget-object v0, v0, Lp0/h;->e:Ljava/lang/String;
	if-eqz v0, :cond_23
	:try_start_5
	invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
	move-result-wide v5
	:try_end_5
	.catch Ljava/lang/NumberFormatException; {:try_start_5 .. :try_end_5} :catch_4
	goto :goto_14
	:catch_4
	move-exception v0
	move-object v5, v0
	const-string v0, "error parsing sender ID"
	invoke-static {v4, v0, v5}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	:cond_23
	invoke-virtual {v3}, Lp0/g;->a()V
	iget-object v0, v3, Lp0/g;->c:Lp0/h;
	iget-object v0, v0, Lp0/h;->b:Ljava/lang/String;
	const-string v3, "1:"
	invoke-virtual {v0, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v3
	if-nez v3, :cond_24
	goto :goto_12
	:cond_24
	const-string v3, ":"
	invoke-virtual {v0, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;
	move-result-object v0
	array-length v3, v0
	if-ge v3, v11, :cond_25
	goto :goto_13
	:cond_25
	aget-object v0, v0, v7
	invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
	move-result v3
	if-eqz v3, :cond_26
	goto :goto_13
	:goto_12
	:try_start_6
	:cond_26
	invoke-static {v0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
	move-result-wide v5
	:try_end_6
	.catch Ljava/lang/NumberFormatException; {:try_start_6 .. :try_end_6} :catch_5
	goto :goto_14
	:catch_5
	move-exception v0
	move-object v3, v0
	const-string v0, "error parsing app ID"
	invoke-static {v4, v0, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	:goto_13
	move-wide v5, v8
	:goto_14
	cmp-long v0, v5, v8
	if-lez v0, :cond_27
	move-wide v13, v5
	goto :goto_15
	:cond_27
	move-wide v13, v8
	:goto_15
	new-instance v0, Li1/d;
	move-object v12, v0
	invoke-direct/range {v12 .. v25}, Li1/d;-><init>(JLjava/lang/String;Ljava/lang/String;Li1/b;Li1/c;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Li1/a;Ljava/lang/String;Ljava/lang/String;)V
	:try_start_7
	const-string v3, "proto"
	new-instance v5, Li/b;
	invoke-direct {v5, v3}, Li/b;-><init>(Ljava/lang/String;)V
	new-instance v3, Lj/c;
	const/16 v6, 0x12
	invoke-direct {v3, v6}, Lj/c;-><init>(I)V
	check-cast v2, Ll/s;
	invoke-virtual {v2, v5, v3}, Ll/s;->a(Li/b;Lj/c;)Ll/j;
	move-result-object v2
	new-instance v3, Li1/e;
	invoke-direct {v3, v0}, Li1/e;-><init>(Li1/d;)V
	new-instance v0, Li/a;
	invoke-direct {v0, v3}, Li/a;-><init>(Li1/e;)V
	invoke-virtual {v2, v0}, Ll/j;->b(Li/a;)V
	:try_end_7
	.catch Ljava/lang/RuntimeException; {:try_start_7 .. :try_end_7} :catch_6
	goto :goto_17
	:catch_6
	move-exception v0
	const-string v2, "Failed to send big query analytics payload."
	invoke-static {v4, v2, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	goto :goto_17
	:catch_7
	move-exception v0
	goto :goto_16
	:catch_8
	move-exception v0
	:goto_16
	new-instance v1, Ljava/lang/RuntimeException;
	invoke-direct {v1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
	throw v1
	:goto_17
	:cond_28
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v0
	if-nez v0, :cond_29
	new-instance v0, Landroid/os/Bundle;
	invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
	:cond_29
	const-string v2, "androidx.content.wakelockid"
	invoke-virtual {v0, v2}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V
	invoke-static {v0}, Lp/e;->j(Landroid/os/Bundle;)Z
	move-result v2
	if-eqz v2, :cond_2
	new-instance v2, Lp/e;
	invoke-direct {v2, v0}, Lp/e;-><init>(Landroid/os/Bundle;)V
	new-instance v0, La/b;
	const-string v3, "Firebase-Messaging-Network-Io"
	invoke-direct {v0, v3}, La/b;-><init>(Ljava/lang/String;)V
	invoke-static {v0}, Ljava/util/concurrent/Executors;->newSingleThreadExecutor(Ljava/util/concurrent/ThreadFactory;)Ljava/util/concurrent/ExecutorService;
	move-result-object v3
	new-instance v0, Ll/k;
	move-object/from16 v4, p0
	invoke-direct {v0, v4, v2, v3}, Ll/k;-><init>(Landroid/content/Context;Lp/e;Ljava/util/concurrent/ExecutorService;)V
	:try_start_8
	invoke-virtual {v0}, Ll/k;->f()Z
	move-result v0
	:try_end_8
	.catchall {:try_start_8 .. :try_end_8} :catchall_0
	invoke-interface {v3}, Ljava/util/concurrent/ExecutorService;->shutdown()V
	if-eqz v0, :cond_2a
	goto :goto_18
	:cond_2a
	invoke-static/range {p1 .. p1}, Lp0/a;->C(Landroid/content/Intent;)Z
	move-result v0
	if-eqz v0, :cond_2b
	invoke-virtual/range {p1 .. p1}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v0
	const-string v1, "_nf"
	invoke-static {v1, v0}, Lp0/a;->x(Ljava/lang/String;Landroid/os/Bundle;)V
	goto :goto_18
	:catchall_0
	move-exception v0
	move-object v1, v0
	invoke-interface {v3}, Ljava/util/concurrent/ExecutorService;->shutdown()V
	throw v1
	:goto_18
	:cond_2b
	return-void
	nop
	:sswitch_data_0
	.sparse-switch
	-0x7aedf14e -> :sswitch_3
	0x18f11 -> :sswitch_2
	0x308f3e91 -> :sswitch_1
	0x3090df23 -> :sswitch_0
	.end sparse-switch
.end method