granularity level: instruction

		.class public final Lcom/google/android/gms/cloudmessaging/CloudMessage;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"

.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/cloudmessaging/CloudMessage$MessagePriority;
}
.end annotation

.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/cloudmessaging/CloudMessage;",
">;"
}
.end annotation
.end field
.field public static final PRIORITY_HIGH:I = 0x1
.field public static final PRIORITY_NORMAL:I = 0x2
.field public static final PRIORITY_UNKNOWN:I
.field  zza:Landroid/content/Intent;
.field private zzb:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field


.method static constructor <clinit>()V
	.locals 1

	new-instance v0, Lcom/google/android/gms/cloudmessaging/zza;
	invoke-direct {v0}, Lcom/google/android/gms/cloudmessaging/zza;-><init>()V
	sput-object v0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->CREATOR:Landroid/os/Parcelable$Creator;
	return-void
.end method

.method public constructor <init>(Landroid/content/Intent;)V
	.locals 0

	invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
	iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	return-void
.end method

.method private static zza(Ljava/lang/String;)I
	.locals 1

	const-string v0, "high"
	invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v0
	if-eqz v0, :cond_0
	const/4 p0, 0x1
	return p0
	:cond_0
	const-string v0, "normal"
	invoke-virtual {v0, p0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result p0
	if-eqz p0, :cond_1
	const/4 p0, 0x2
	return p0
	:cond_1
	const/4 p0, 0x0
	return p0
.end method

.method public getCollapseKey()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "collapse_key"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method public declared-synchronized getData()Ljava/util/Map;
	.locals 6
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"()",
	"Ljava/util/Map<",
	"Ljava/lang/String;",
	"Ljava/lang/String;",
	">;"
	}
	.end annotation

	monitor-enter p0
	:try_start_0
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zzb:Ljava/util/Map;
	if-nez v0, :cond_3
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v0
	new-instance v1, Landroidx/collection/ArrayMap;
	invoke-direct {v1}, Landroidx/collection/ArrayMap;-><init>()V
	if-nez v0, :cond_0
	goto :goto_1
	:cond_0
	invoke-virtual {v0}, Landroid/os/Bundle;->keySet()Ljava/util/Set;
	move-result-object v2
	invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
	move-result-object v2
	:goto_0
	:cond_1
	invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
	move-result v3
	if-eqz v3, :cond_2
	invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v3
	check-cast v3, Ljava/lang/String;
	invoke-virtual {v0, v3}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object v4
	instance-of v5, v4, Ljava/lang/String;
	if-eqz v5, :cond_1
	check-cast v4, Ljava/lang/String;
	const-string v5, "google."
	invoke-virtual {v3, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v5
	if-nez v5, :cond_1
	const-string v5, "from"
	invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_1
	const-string v5, "message_type"
	invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_1
	const-string v5, "collapse_key"
	invoke-virtual {v3, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-nez v5, :cond_1
	invoke-virtual {v1, v3, v4}, Landroidx/collection/ArrayMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	goto :goto_0
	:goto_1
	:cond_2
	iput-object v1, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zzb:Ljava/util/Map;
	:cond_3
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zzb:Ljava/util/Map;
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	monitor-exit p0
	return-object v0
	:catchall_0
	move-exception v0
	monitor-exit p0
	throw v0
.end method

.method public getFrom()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "from"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method public getIntent()Landroid/content/Intent;
	.locals 1

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	return-object v0
.end method

.method public getMessageId()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.message_id"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-nez v0, :cond_0
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "message_id"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	:cond_0
	return-object v0
.end method

.method public getMessageType()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "message_type"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method public getOriginalPriority()I
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.original_priority"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-nez v0, :cond_0
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.priority"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	:cond_0
	invoke-static {v0}, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza(Ljava/lang/String;)I
	move-result v0
	return v0
.end method

.method public getPriority()I
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.delivered_priority"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	if-nez v0, :cond_1
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.priority_reduced"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	const-string v1, "1"
	invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v0
	if-eqz v0, :cond_0
	const/4 v0, 0x2
	return v0
	:cond_0
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.priority"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	:cond_1
	invoke-static {v0}, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza(Ljava/lang/String;)I
	move-result v0
	return v0
.end method

.method public getRawData()[B
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "rawData"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getByteArrayExtra(Ljava/lang/String;)[B
	move-result-object v0
	return-object v0
.end method

.method public getSenderId()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.c.sender.id"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method public getSentTime()J
	.locals 3

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v0
	if-eqz v0, :cond_0
	const-string v1, "google.sent_time"
	invoke-virtual {v0, v1}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object v0
	goto :goto_0
	:cond_0
	const/4 v0, 0x0
	:goto_0
	instance-of v1, v0, Ljava/lang/Long;
	if-eqz v1, :cond_1
	check-cast v0, Ljava/lang/Long;
	invoke-virtual {v0}, Ljava/lang/Long;->longValue()J
	move-result-wide v0
	return-wide v0
	:cond_1
	instance-of v1, v0, Ljava/lang/String;
	if-eqz v1, :cond_2
	:try_start_0
	move-object v1, v0
	check-cast v1, Ljava/lang/String;
	invoke-static {v1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
	move-result-wide v0
	:try_end_0
	.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
	return-wide v0
	:catch_0
	invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v1}, Ljava/lang/String;->length()I
	move-result v1
	new-instance v2, Ljava/lang/StringBuilder;
	add-int/lit8 v1, v1, 0x13
	invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v1, "Invalid sent time: "
	invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	const-string v1, "CloudMessage"
	invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_2
	const-wide/16 v0, 0x0
	return-wide v0
.end method

.method public getTo()Ljava/lang/String;
	.locals 2

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const-string v1, "google.to"
	invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method public getTtl()I
	.locals 3

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;
	move-result-object v0
	if-eqz v0, :cond_0
	const-string v1, "google.ttl"
	invoke-virtual {v0, v1}, Landroid/os/Bundle;->get(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object v0
	goto :goto_0
	:cond_0
	const/4 v0, 0x0
	:goto_0
	instance-of v1, v0, Ljava/lang/Integer;
	if-eqz v1, :cond_1
	check-cast v0, Ljava/lang/Integer;
	invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
	move-result v0
	return v0
	:cond_1
	instance-of v1, v0, Ljava/lang/String;
	if-eqz v1, :cond_2
	:try_start_0
	move-object v1, v0
	check-cast v1, Ljava/lang/String;
	invoke-static {v1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
	move-result v0
	:try_end_0
	.catch Ljava/lang/NumberFormatException; {:try_start_0 .. :try_end_0} :catch_0
	return v0
	:catch_0
	invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v0
	invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v1
	invoke-virtual {v1}, Ljava/lang/String;->length()I
	move-result v1
	new-instance v2, Ljava/lang/StringBuilder;
	add-int/lit8 v1, v1, 0xd
	invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(I)V
	const-string v1, "Invalid TTL: "
	invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	const-string v1, "CloudMessage"
	invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:cond_2
	const/4 v0, 0x0
	return v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
	.locals 4

	invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
	move-result v0
	iget-object v1, p0, Lcom/google/android/gms/cloudmessaging/CloudMessage;->zza:Landroid/content/Intent;
	const/4 v2, 0x1
	const/4 v3, 0x0
	invoke-static {p1, v2, v1, p2, v3}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeParcelable(Landroid/os/Parcel;ILandroid/os/Parcelable;IZ)V
	invoke-static {p1, v0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
	return-void
.end method