granularity level: instruction

		.class public abstract Lh1/f;
.super Ljava/lang/Object;
.source "SourceFile"


.field public static final a:Ljava/util/concurrent/atomic/AtomicInteger;


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

	new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
	invoke-static {}, Landroid/os/SystemClock;->elapsedRealtime()J
	move-result-wide v1
	long-to-int v2, v1
	invoke-direct {v0, v2}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
	sput-object v0, Lh1/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
	return-void
.end method

.method public static a(Landroid/content/Context;Lp/e;)Lh1/e;
	.locals 14

	const-string v0, "Couldn\'t get own application info: "
	const-string v1, "FirebaseMessaging"
	invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
	move-result-object v2
	invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v3
	const/16 v4, 0x80
	:try_start_0
	invoke-virtual {v2, v3, v4}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
	move-result-object v2
	if-eqz v2, :cond_0
	iget-object v2, v2, Landroid/content/pm/ApplicationInfo;->metaData:Landroid/os/Bundle;
	:try_end_0
	.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
	if-eqz v2, :cond_0
	goto :goto_0
	:catch_0
	move-exception v2
	new-instance v3, Ljava/lang/StringBuilder;
	invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v2
	invoke-static {v1, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_0
	sget-object v2, Landroid/os/Bundle;->EMPTY:Landroid/os/Bundle;
	:goto_0
	const-string v3, "gcm.n.android_channel_id"
	invoke-virtual {p1, v3}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v3
	sget v4, Landroid/os/Build$VERSION;->SDK_INT:I
	const/16 v5, 0x1a
	const/4 v6, 0x3
	const/4 v7, 0x0
	if-ge v4, v5, :cond_1
	goto/16 :goto_3
	:try_start_1
	:cond_1
	invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
	move-result-object v4
	invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v8
	invoke-virtual {v4, v8, v7}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
	move-result-object v4
	iget v4, v4, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
	:try_end_1
	.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_1 .. :try_end_1} :catch_1
	if-ge v4, v5, :cond_2
	goto/16 :goto_3
	:cond_2
	const-class v4, Landroid/app/NotificationManager;
	invoke-virtual {p0, v4}, Landroid/content/Context;->getSystemService(Ljava/lang/Class;)Ljava/lang/Object;
	move-result-object v4
	check-cast v4, Landroid/app/NotificationManager;
	invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	if-nez v5, :cond_4
	invoke-virtual {v4, v3}, Landroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/NotificationChannel;
	move-result-object v5
	if-eqz v5, :cond_3
	goto :goto_4
	:cond_3
	new-instance v5, Ljava/lang/StringBuilder;
	invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
	const-string v8, "Notification Channel requested ("
	invoke-virtual {v5, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v3, ") has not been created by the app. Manifest configuration, or default, value will be used."
	invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v3
	invoke-static {v1, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_4
	const-string v3, "com.google.firebase.messaging.default_notification_channel_id"
	invoke-virtual {v2, v3}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v3
	invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	if-nez v5, :cond_6
	invoke-virtual {v4, v3}, Landroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/NotificationChannel;
	move-result-object v5
	if-eqz v5, :cond_5
	goto :goto_4
	:cond_5
	const-string v3, "Notification Channel set in AndroidManifest.xml has not been created by the app. Default value will be used."
	goto :goto_1
	:cond_6
	const-string v3, "Missing Default Notification Channel metadata in AndroidManifest. Default value will be used."
	:goto_1
	invoke-static {v1, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	const-string v3, "fcm_fallback_notification_channel"
	invoke-virtual {v4, v3}, Landroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/NotificationChannel;
	move-result-object v5
	if-nez v5, :cond_8
	invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
	move-result-object v5
	invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v8
	const-string v9, "fcm_fallback_notification_channel_label"
	const-string v10, "string"
	invoke-virtual {v5, v9, v10, v8}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
	move-result v5
	if-nez v5, :cond_7
	const-string v5, "String resource \"fcm_fallback_notification_channel_label\" is not found. Using default string channel name."
	invoke-static {v1, v5}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
	const-string v5, "Misc"
	goto :goto_2
	:cond_7
	invoke-virtual {p0, v5}, Landroid/content/Context;->getString(I)Ljava/lang/String;
	move-result-object v5
	:goto_2
	new-instance v8, Landroid/app/NotificationChannel;
	invoke-direct {v8, v3, v5, v6}, Landroid/app/NotificationChannel;-><init>(Ljava/lang/String;Ljava/lang/CharSequence;I)V
	invoke-virtual {v4, v8}, Landroid/app/NotificationManager;->createNotificationChannel(Landroid/app/NotificationChannel;)V
	goto :goto_4
	:catch_1
	:goto_3
	const/4 v3, 0x0
	:cond_8
	:goto_4
	invoke-virtual {p0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v4
	invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
	move-result-object v5
	invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
	move-result-object v6
	new-instance v8, Lc/d;
	invoke-direct {v8, p0, v3}, Lc/d;-><init>(Landroid/content/Context;Ljava/lang/String;)V
	const-string v3, "gcm.n.title"
	invoke-virtual {p1, v5, v4, v3}, Lp/e;->h(Landroid/content/res/Resources;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
	move-result-object v3
	invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v9
	if-nez v9, :cond_9
	invoke-static {v3}, Lc/d;->b(Ljava/lang/String;)Ljava/lang/CharSequence;
	move-result-object v3
	iput-object v3, v8, Lc/d;->d:Ljava/lang/CharSequence;
	:cond_9
	const-string v3, "gcm.n.body"
	invoke-virtual {p1, v5, v4, v3}, Lp/e;->h(Landroid/content/res/Resources;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
	move-result-object v3
	invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v9
	if-nez v9, :cond_a
	invoke-static {v3}, Lc/d;->b(Ljava/lang/String;)Ljava/lang/CharSequence;
	move-result-object v9
	iput-object v9, v8, Lc/d;->e:Ljava/lang/CharSequence;
	new-instance v9, Lc/c;
	invoke-direct {v9}, Lc/c;-><init>()V
	invoke-static {v3}, Lc/d;->b(Ljava/lang/String;)Ljava/lang/CharSequence;
	move-result-object v3
	iput-object v3, v9, Lc/c;->b:Ljava/lang/CharSequence;
	invoke-virtual {v8, v9}, Lc/d;->d(Lc/e;)V
	:cond_a
	const-string v3, "gcm.n.icon"
	invoke-virtual {p1, v3}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v3
	invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v9
	if-nez v9, :cond_d
	const-string v9, "drawable"
	invoke-virtual {v5, v3, v9, v4}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
	move-result v9
	if-eqz v9, :cond_b
	invoke-static {v5, v9}, Lh1/f;->b(Landroid/content/res/Resources;I)Z
	move-result v10
	if-eqz v10, :cond_b
	goto :goto_6
	:cond_b
	const-string v9, "mipmap"
	invoke-virtual {v5, v3, v9, v4}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
	move-result v9
	if-eqz v9, :cond_c
	invoke-static {v5, v9}, Lh1/f;->b(Landroid/content/res/Resources;I)Z
	move-result v10
	if-eqz v10, :cond_c
	goto :goto_6
	:cond_c
	new-instance v9, Ljava/lang/StringBuilder;
	invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V
	const-string v10, "Icon resource "
	invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v9, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v3, " not found. Notification will use default icon."
	invoke-virtual {v9, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v3
	invoke-static {v1, v3}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_d
	const-string v3, "com.google.firebase.messaging.default_notification_icon"
	invoke-virtual {v2, v3, v7}, Landroid/os/BaseBundle;->getInt(Ljava/lang/String;I)I
	move-result v3
	if-eqz v3, :cond_e
	invoke-static {v5, v3}, Lh1/f;->b(Landroid/content/res/Resources;I)Z
	move-result v9
	if-nez v9, :cond_f
	:try_start_2
	:cond_e
	invoke-virtual {v6, v4, v7}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
	move-result-object v9
	iget v0, v9, Landroid/content/pm/ApplicationInfo;->icon:I
	:try_end_2
	.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_2 .. :try_end_2} :catch_2
	move v9, v0
	goto :goto_5
	:catch_2
	move-exception v9
	new-instance v10, Ljava/lang/StringBuilder;
	invoke-direct {v10}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v10, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_f
	move v9, v3
	:goto_5
	if-eqz v9, :cond_10
	invoke-static {v5, v9}, Lh1/f;->b(Landroid/content/res/Resources;I)Z
	move-result v0
	if-nez v0, :cond_11
	:cond_10
	const v9, 0x1080093
	:cond_11
	:goto_6
	iget-object v0, v8, Lc/d;->r:Landroid/app/Notification;
	iput v9, v0, Landroid/app/Notification;->icon:I
	const-string v0, "gcm.n.sound2"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v3
	if-eqz v3, :cond_12
	const-string v0, "gcm.n.sound"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	:cond_12
	invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v3
	const/4 v9, 0x2
	if-eqz v3, :cond_13
	const/4 v0, 0x0
	goto :goto_7
	:cond_13
	const-string v3, "default"
	invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v3
	if-nez v3, :cond_14
	const-string v3, "raw"
	invoke-virtual {v5, v0, v3, v4}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I
	move-result v3
	if-eqz v3, :cond_14
	new-instance v3, Ljava/lang/StringBuilder;
	invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
	const-string v5, "android.resource://"
	invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v5, "/raw/"
	invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
	move-result-object v0
	goto :goto_7
	:cond_14
	invoke-static {v9}, Landroid/media/RingtoneManager;->getDefaultUri(I)Landroid/net/Uri;
	move-result-object v0
	:goto_7
	const/4 v3, -0x1
	const/4 v5, 0x4
	if-eqz v0, :cond_15
	iget-object v10, v8, Lc/d;->r:Landroid/app/Notification;
	iput-object v0, v10, Landroid/app/Notification;->sound:Landroid/net/Uri;
	iput v3, v10, Landroid/app/Notification;->audioStreamType:I
	new-instance v0, Landroid/media/AudioAttributes$Builder;
	invoke-direct {v0}, Landroid/media/AudioAttributes$Builder;-><init>()V
	invoke-virtual {v0, v5}, Landroid/media/AudioAttributes$Builder;->setContentType(I)Landroid/media/AudioAttributes$Builder;
	move-result-object v0
	const/4 v5, 0x5
	invoke-virtual {v0, v5}, Landroid/media/AudioAttributes$Builder;->setUsage(I)Landroid/media/AudioAttributes$Builder;
	move-result-object v0
	invoke-virtual {v0}, Landroid/media/AudioAttributes$Builder;->build()Landroid/media/AudioAttributes;
	move-result-object v0
	iput-object v0, v10, Landroid/app/Notification;->audioAttributes:Landroid/media/AudioAttributes;
	:cond_15
	const-string v0, "gcm.n.click_action"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	if-nez v5, :cond_16
	new-instance v5, Landroid/content/Intent;
	invoke-direct {v5, v0}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
	invoke-virtual {v5, v4}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
	const/high16 v0, 0x10000000
	invoke-virtual {v5, v0}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;
	goto :goto_9
	:cond_16
	const-string v0, "gcm.n.link_android"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	if-eqz v5, :cond_17
	const-string v0, "gcm.n.link"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	:cond_17
	invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	if-nez v5, :cond_18
	invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
	move-result-object v0
	goto :goto_8
	:cond_18
	const/4 v0, 0x0
	:goto_8
	if-eqz v0, :cond_19
	new-instance v5, Landroid/content/Intent;
	const-string v6, "android.intent.action.VIEW"
	invoke-direct {v5, v6}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
	invoke-virtual {v5, v4}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
	invoke-virtual {v5, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
	goto :goto_9
	:cond_19
	invoke-virtual {v6, v4}, Landroid/content/pm/PackageManager;->getLaunchIntentForPackage(Ljava/lang/String;)Landroid/content/Intent;
	move-result-object v5
	if-nez v5, :cond_1a
	const-string v0, "No activity found to launch app"
	invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_1a
	:goto_9
	const-string v0, "google.c.a.e"
	const/16 v4, 0x17
	const/4 v6, 0x1
	if-nez v5, :cond_1b
	const/4 v5, 0x0
	goto :goto_e
	:cond_1b
	const/high16 v10, 0x4000000
	invoke-virtual {v5, v10}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
	new-instance v10, Landroid/os/Bundle;
	iget-object v11, p1, Lp/e;->a:Ljava/lang/Object;
	check-cast v11, Landroid/os/Bundle;
	invoke-direct {v10, v11}, Landroid/os/Bundle;-><init>(Landroid/os/Bundle;)V
	iget-object v11, p1, Lp/e;->a:Ljava/lang/Object;
	check-cast v11, Landroid/os/Bundle;
	invoke-virtual {v11}, Landroid/os/BaseBundle;->keySet()Ljava/util/Set;
	move-result-object v11
	invoke-interface {v11}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
	move-result-object v11
	:cond_1c
	:goto_a
	invoke-interface {v11}, Ljava/util/Iterator;->hasNext()Z
	move-result v12
	if-eqz v12, :cond_1f
	invoke-interface {v11}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v12
	check-cast v12, Ljava/lang/String;
	const-string v13, "google.c."
	invoke-virtual {v12, v13}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v13
	if-nez v13, :cond_1e
	const-string v13, "gcm.n."
	invoke-virtual {v12, v13}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v13
	if-nez v13, :cond_1e
	const-string v13, "gcm.notification."
	invoke-virtual {v12, v13}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v13
	if-eqz v13, :cond_1d
	goto :goto_b
	:cond_1d
	const/4 v13, 0x0
	goto :goto_c
	:cond_1e
	:goto_b
	const/4 v13, 0x1
	:goto_c
	if-eqz v13, :cond_1c
	invoke-virtual {v10, v12}, Landroid/os/Bundle;->remove(Ljava/lang/String;)V
	goto :goto_a
	:cond_1f
	invoke-virtual {v5, v10}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
	invoke-virtual {p1, v0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result v10
	if-eqz v10, :cond_20
	invoke-virtual {p1}, Lp/e;->k()Landroid/os/Bundle;
	move-result-object v10
	const-string v11, "gcm.n.analytics_data"
	invoke-virtual {v5, v11, v10}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;
	:cond_20
	sget-object v10, Lh1/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
	invoke-virtual {v10}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
	move-result v10
	sget v11, Landroid/os/Build$VERSION;->SDK_INT:I
	if-lt v11, v4, :cond_21
	const/high16 v11, 0x44000000    # 512.0f
	goto :goto_d
	:cond_21
	const/high16 v11, 0x40000000    # 2.0f
	:goto_d
	invoke-static {p0, v10, v5, v11}, Landroid/app/PendingIntent;->getActivity(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
	move-result-object v5
	:goto_e
	iput-object v5, v8, Lc/d;->f:Landroid/app/PendingIntent;
	invoke-virtual {p1, v0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result v0
	if-nez v0, :cond_22
	const/4 v0, 0x0
	goto :goto_10
	:cond_22
	new-instance v0, Landroid/content/Intent;
	const-string v5, "com.google.firebase.messaging.NOTIFICATION_DISMISS"
	invoke-direct {v0, v5}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
	invoke-virtual {p1}, Lp/e;->k()Landroid/os/Bundle;
	move-result-object v5
	invoke-virtual {v0, v5}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;
	move-result-object v0
	sget-object v5, Lh1/f;->a:Ljava/util/concurrent/atomic/AtomicInteger;
	invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicInteger;->incrementAndGet()I
	move-result v5
	new-instance v10, Landroid/content/Intent;
	const-string v11, "com.google.firebase.MESSAGING_EVENT"
	invoke-direct {v10, v11}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
	new-instance v11, Landroid/content/ComponentName;
	const-string v12, "com.google.firebase.iid.FirebaseInstanceIdReceiver"
	invoke-direct {v11, p0, v12}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/String;)V
	invoke-virtual {v10, v11}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
	move-result-object v10
	const-string v11, "wrapped_intent"
	invoke-virtual {v10, v11, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;
	move-result-object v0
	sget v10, Landroid/os/Build$VERSION;->SDK_INT:I
	if-lt v10, v4, :cond_23
	const/high16 v10, 0x44000000    # 512.0f
	goto :goto_f
	:cond_23
	const/high16 v10, 0x40000000    # 2.0f
	:goto_f
	invoke-static {p0, v5, v0, v10}, Landroid/app/PendingIntent;->getBroadcast(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;
	move-result-object v0
	:goto_10
	if-eqz v0, :cond_24
	iget-object v5, v8, Lc/d;->r:Landroid/app/Notification;
	iput-object v0, v5, Landroid/app/Notification;->deleteIntent:Landroid/app/PendingIntent;
	:cond_24
	const-string v0, "gcm.n.color"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v5
	if-nez v5, :cond_25
	:try_start_3
	invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
	move-result v5
	invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object p0
	:try_end_3
	.catch Ljava/lang/IllegalArgumentException; {:try_start_3 .. :try_end_3} :catch_3
	goto :goto_12
	:catch_3
	new-instance v5, Ljava/lang/StringBuilder;
	invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
	const-string v10, "Color is invalid: "
	invoke-virtual {v5, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v0, ". Notification will use default color."
	invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_25
	const-string v0, "com.google.firebase.messaging.default_notification_color"
	invoke-virtual {v2, v0, v7}, Landroid/os/BaseBundle;->getInt(Ljava/lang/String;I)I
	move-result v0
	if-eqz v0, :cond_27
	:try_start_4
	sget v2, Landroid/os/Build$VERSION;->SDK_INT:I
	if-lt v2, v4, :cond_26
	invoke-virtual {p0, v0}, Landroid/content/Context;->getColor(I)I
	move-result p0
	goto :goto_11
	:cond_26
	invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
	move-result-object p0
	invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getColor(I)I
	move-result p0
	:goto_11
	invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object p0
	:try_end_4
	.catch Landroid/content/res/Resources$NotFoundException; {:try_start_4 .. :try_end_4} :catch_4
	goto :goto_12
	:catch_4
	const-string p0, "Cannot find the color resource referenced in AndroidManifest."
	invoke-static {v1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_27
	const/4 p0, 0x0
	:goto_12
	if-eqz p0, :cond_28
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result p0
	iput p0, v8, Lc/d;->n:I
	:cond_28
	const-string p0, "gcm.n.sticky"
	invoke-virtual {p1, p0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result p0
	xor-int/2addr p0, v6
	if-eqz p0, :cond_29
	iget-object p0, v8, Lc/d;->r:Landroid/app/Notification;
	iget v0, p0, Landroid/app/Notification;->flags:I
	or-int/lit8 v0, v0, 0x10
	goto :goto_13
	:cond_29
	iget-object p0, v8, Lc/d;->r:Landroid/app/Notification;
	iget v0, p0, Landroid/app/Notification;->flags:I
	and-int/lit8 v0, v0, -0x11
	:goto_13
	iput v0, p0, Landroid/app/Notification;->flags:I
	const-string p0, "gcm.n.local_only"
	invoke-virtual {p1, p0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result p0
	iput-boolean p0, v8, Lc/d;->l:Z
	const-string p0, "gcm.n.ticker"
	invoke-virtual {p1, p0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object p0
	if-eqz p0, :cond_2a
	iget-object v0, v8, Lc/d;->r:Landroid/app/Notification;
	invoke-static {p0}, Lc/d;->b(Ljava/lang/String;)Ljava/lang/CharSequence;
	move-result-object p0
	iput-object p0, v0, Landroid/app/Notification;->tickerText:Ljava/lang/CharSequence;
	:cond_2a
	const-string p0, "gcm.n.notification_priority"
	invoke-virtual {p1, p0}, Lp/e;->f(Ljava/lang/String;)Ljava/lang/Integer;
	move-result-object p0
	const/4 v0, -0x2
	if-nez p0, :cond_2b
	goto :goto_14
	:cond_2b
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result v2
	if-lt v2, v0, :cond_2c
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result v2
	if-le v2, v9, :cond_2d
	:cond_2c
	new-instance v2, Ljava/lang/StringBuilder;
	invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
	const-string v4, "notificationPriority is invalid "
	invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string p0, ". Skipping setting notificationPriority."
	invoke-virtual {v2, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:goto_14
	const/4 p0, 0x0
	:cond_2d
	if-eqz p0, :cond_2e
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result p0
	iput p0, v8, Lc/d;->i:I
	:cond_2e
	const-string p0, "gcm.n.visibility"
	invoke-virtual {p1, p0}, Lp/e;->f(Ljava/lang/String;)Ljava/lang/Integer;
	move-result-object p0
	const-string v2, "NotificationParams"
	if-nez p0, :cond_2f
	goto :goto_15
	:cond_2f
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result v4
	if-lt v4, v3, :cond_30
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result v3
	if-le v3, v6, :cond_31
	:cond_30
	new-instance v3, Ljava/lang/StringBuilder;
	invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
	const-string v4, "visibility is invalid: "
	invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string p0, ". Skipping setting visibility."
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v2, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:goto_15
	const/4 p0, 0x0
	:cond_31
	if-eqz p0, :cond_32
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result p0
	iput p0, v8, Lc/d;->o:I
	:cond_32
	const-string p0, "gcm.n.notification_count"
	invoke-virtual {p1, p0}, Lp/e;->f(Ljava/lang/String;)Ljava/lang/Integer;
	move-result-object p0
	if-nez p0, :cond_33
	goto :goto_16
	:cond_33
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result v3
	if-gez v3, :cond_34
	new-instance v3, Ljava/lang/StringBuilder;
	invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
	const-string v4, "notificationCount is invalid: "
	invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string p0, ". Skipping setting notificationCount."
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v1, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:goto_16
	const/4 p0, 0x0
	:cond_34
	if-eqz p0, :cond_35
	invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
	move-result p0
	iput p0, v8, Lc/d;->h:I
	:cond_35
	const-string p0, "gcm.n.event_time"
	invoke-virtual {p1, p0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v1
	invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v3
	if-nez v3, :cond_36
	:try_start_5
	invoke-static {v1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
	move-result-wide v3
	invoke-static {v3, v4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
	move-result-object p0
	:try_end_5
	.catch Ljava/lang/NumberFormatException; {:try_start_5 .. :try_end_5} :catch_5
	goto :goto_17
	:catch_5
	const-string v3, "Couldn\'t parse value of "
	invoke-static {v3}, Lc0/b;->b(Ljava/lang/String;)Ljava/lang/StringBuilder;
	move-result-object v3
	invoke-static {p0}, Lp/e;->l(Ljava/lang/String;)Ljava/lang/String;
	move-result-object p0
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string p0, "("
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string p0, ") into a long"
	invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v2, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_36
	const/4 p0, 0x0
	:goto_17
	if-eqz p0, :cond_37
	iput-boolean v6, v8, Lc/d;->j:Z
	invoke-virtual {p0}, Ljava/lang/Long;->longValue()J
	move-result-wide v3
	iget-object p0, v8, Lc/d;->r:Landroid/app/Notification;
	iput-wide v3, p0, Landroid/app/Notification;->when:J
	:cond_37
	const-string p0, "gcm.n.vibrate_timings"
	invoke-virtual {p1, p0}, Lp/e;->g(Ljava/lang/String;)Lorg/json/JSONArray;
	move-result-object p0
	if-nez p0, :cond_38
	goto :goto_19
	:try_start_6
	:cond_38
	invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
	move-result v1
	if-le v1, v6, :cond_39
	invoke-virtual {p0}, Lorg/json/JSONArray;->length()I
	move-result v1
	new-array v3, v1, [J
	const/4 v4, 0x0
	:goto_18
	if-ge v4, v1, :cond_3a
	invoke-virtual {p0, v4}, Lorg/json/JSONArray;->optLong(I)J
	move-result-wide v10
	aput-wide v10, v3, v4
	add-int/lit8 v4, v4, 0x1
	goto :goto_18
	:cond_39
	new-instance v1, Lorg/json/JSONException;
	const-string v3, "vibrateTimings have invalid length"
	invoke-direct {v1, v3}, Lorg/json/JSONException;-><init>(Ljava/lang/String;)V
	throw v1
	:try_end_6
	.catch Lorg/json/JSONException; {:try_start_6 .. :try_end_6} :catch_6
	.catch Ljava/lang/NumberFormatException; {:try_start_6 .. :try_end_6} :catch_6
	:catch_6
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v3, "User defined vibrateTimings is invalid: "
	invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string p0, ". Skipping setting vibrateTimings."
	invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v2, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:goto_19
	const/4 v3, 0x0
	:cond_3a
	if-eqz v3, :cond_3b
	iget-object p0, v8, Lc/d;->r:Landroid/app/Notification;
	iput-object v3, p0, Landroid/app/Notification;->vibrate:[J
	:cond_3b
	const-string p0, ". Skipping setting LightSettings"
	const-string v1, "LightSettings is invalid: "
	const-string v3, "gcm.n.light_settings"
	invoke-virtual {p1, v3}, Lp/e;->g(Ljava/lang/String;)Lorg/json/JSONArray;
	move-result-object v3
	if-nez v3, :cond_3c
	goto :goto_1b
	:cond_3c
	const/4 v4, 0x3
	new-array v5, v4, [I
	:try_start_7
	invoke-virtual {v3}, Lorg/json/JSONArray;->length()I
	move-result v10
	if-ne v10, v4, :cond_3e
	invoke-virtual {v3, v7}, Lorg/json/JSONArray;->optString(I)Ljava/lang/String;
	move-result-object v4
	invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I
	move-result v4
	const/high16 v10, -0x1000000
	if-eq v4, v10, :cond_3d
	aput v4, v5, v7
	invoke-virtual {v3, v6}, Lorg/json/JSONArray;->optInt(I)I
	move-result v4
	aput v4, v5, v6
	invoke-virtual {v3, v9}, Lorg/json/JSONArray;->optInt(I)I
	move-result v4
	aput v4, v5, v9
	goto :goto_1c
	:cond_3d
	new-instance v4, Ljava/lang/IllegalArgumentException;
	const-string v5, "Transparent color is invalid"
	invoke-direct {v4, v5}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
	throw v4
	:cond_3e
	new-instance v4, Lorg/json/JSONException;
	const-string v5, "lightSettings don\'t have all three fields"
	invoke-direct {v4, v5}, Lorg/json/JSONException;-><init>(Ljava/lang/String;)V
	throw v4
	:try_end_7
	.catch Lorg/json/JSONException; {:try_start_7 .. :try_end_7} :catch_8
	.catch Ljava/lang/IllegalArgumentException; {:try_start_7 .. :try_end_7} :catch_7
	:catch_7
	move-exception v4
	new-instance v5, Ljava/lang/StringBuilder;
	invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string v1, ". "
	invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	goto :goto_1a
	:catch_8
	new-instance v4, Ljava/lang/StringBuilder;
	invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v4, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	:goto_1a
	invoke-static {v2, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:goto_1b
	const/4 v5, 0x0
	:goto_1c
	if-eqz v5, :cond_40
	aget p0, v5, v7
	aget v1, v5, v6
	aget v2, v5, v9
	iget-object v3, v8, Lc/d;->r:Landroid/app/Notification;
	iput p0, v3, Landroid/app/Notification;->ledARGB:I
	iput v1, v3, Landroid/app/Notification;->ledOnMS:I
	iput v2, v3, Landroid/app/Notification;->ledOffMS:I
	if-eqz v1, :cond_3f
	if-eqz v2, :cond_3f
	const/4 v7, 0x1
	:cond_3f
	iget p0, v3, Landroid/app/Notification;->flags:I
	and-int/2addr p0, v0
	or-int/2addr p0, v7
	iput p0, v3, Landroid/app/Notification;->flags:I
	:cond_40
	const-string p0, "gcm.n.default_sound"
	invoke-virtual {p1, p0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result p0
	const-string v0, "gcm.n.default_vibrate_timings"
	invoke-virtual {p1, v0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result v0
	if-eqz v0, :cond_41
	or-int/lit8 p0, p0, 0x2
	:cond_41
	const-string v0, "gcm.n.default_light_settings"
	invoke-virtual {p1, v0}, Lp/e;->e(Ljava/lang/String;)Z
	move-result v0
	if-eqz v0, :cond_42
	or-int/lit8 p0, p0, 0x4
	:cond_42
	iget-object v0, v8, Lc/d;->r:Landroid/app/Notification;
	iput p0, v0, Landroid/app/Notification;->defaults:I
	and-int/lit8 p0, p0, 0x4
	if-eqz p0, :cond_43
	iget p0, v0, Landroid/app/Notification;->flags:I
	or-int/2addr p0, v6
	iput p0, v0, Landroid/app/Notification;->flags:I
	:cond_43
	new-instance p0, Lh1/e;
	const-string v0, "gcm.n.tag"
	invoke-virtual {p1, v0}, Lp/e;->i(Ljava/lang/String;)Ljava/lang/String;
	move-result-object p1
	invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
	move-result v0
	if-nez v0, :cond_44
	goto :goto_1d
	:cond_44
	const-string p1, "FCM-Notification:"
	invoke-static {p1}, Lc0/b;->b(Ljava/lang/String;)Ljava/lang/StringBuilder;
	move-result-object p1
	invoke-static {}, Landroid/os/SystemClock;->uptimeMillis()J
	move-result-wide v0
	invoke-virtual {p1, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
	invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	:goto_1d
	invoke-direct {p0, v8, p1}, Lh1/e;-><init>(Lc/d;Ljava/lang/String;)V
	return-object p0
.end method

.method public static b(Landroid/content/res/Resources;I)Z
	.locals 4

	const-string v0, "FirebaseMessaging"
	sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
	const/4 v2, 0x1
	const/16 v3, 0x1a
	if-eq v1, v3, :cond_0
	return v2
	:cond_0
	const/4 v1, 0x0
	const/4 v3, 0x0
	:try_start_0
	invoke-virtual {p0, p1, v1}, Landroid/content/res/Resources;->getDrawable(ILandroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
	move-result-object p0
	instance-of p0, p0, Landroid/graphics/drawable/AdaptiveIconDrawable;
	if-eqz p0, :cond_1
	new-instance p0, Ljava/lang/StringBuilder;
	invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
	const-string v1, "Adaptive icons cannot be used in notifications. Ignoring icon id: "
	invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v0, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
	:try_end_0
	.catch Landroid/content/res/Resources$NotFoundException; {:try_start_0 .. :try_end_0} :catch_0
	return v3
	:cond_1
	return v2
	:catch_0
	new-instance p0, Ljava/lang/StringBuilder;
	invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
	const-string v1, "Couldn\'t find resource "
	invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
	const-string p1, ", treating it as an invalid icon"
	invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p0
	invoke-static {v0, p0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
	return v3
.end method