granularity level: instruction

		.class final Lcom/google/android/gms/cloudmessaging/zzn;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"


.field private final zza:Landroid/os/Messenger;
.field private final zzb:Lcom/google/android/gms/cloudmessaging/zzd;


.method constructor <init>(Landroid/os/IBinder;)V
	.locals 3
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Landroid/os/RemoteException;
	}
	.end annotation

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	invoke-interface {p1}, Landroid/os/IBinder;->getInterfaceDescriptor()Ljava/lang/String;
	move-result-object v0
	const-string v1, "android.os.IMessenger"
	invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v1
	const/4 v2, 0x0
	if-eqz v1, :cond_0
	new-instance v0, Landroid/os/Messenger;
	invoke-direct {v0, p1}, Landroid/os/Messenger;-><init>(Landroid/os/IBinder;)V
	iput-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzn;->zza:Landroid/os/Messenger;
	iput-object v2, p0, Lcom/google/android/gms/cloudmessaging/zzn;->zzb:Lcom/google/android/gms/cloudmessaging/zzd;
	return-void
	:cond_0
	const-string v1, "com.google.android.gms.iid.IMessengerCompat"
	invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v1
	if-eqz v1, :cond_1
	new-instance v0, Lcom/google/android/gms/cloudmessaging/zzd;
	invoke-direct {v0, p1}, Lcom/google/android/gms/cloudmessaging/zzd;-><init>(Landroid/os/IBinder;)V
	iput-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzn;->zzb:Lcom/google/android/gms/cloudmessaging/zzd;
	iput-object v2, p0, Lcom/google/android/gms/cloudmessaging/zzn;->zza:Landroid/os/Messenger;
	return-void
	:cond_1
	invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
	move-result-object p1
	const-string v0, "Invalid interface descriptor: "
	invoke-virtual {p1}, Ljava/lang/String;->length()I
	move-result v1
	if-eqz v1, :cond_2
	invoke-virtual {v0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
	move-result-object p1
	goto :goto_0
	:cond_2
	new-instance p1, Ljava/lang/String;
	invoke-direct {p1, v0}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
	:goto_0
	const-string v0, "MessengerIpcClient"
	invoke-static {v0, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	new-instance p1, Landroid/os/RemoteException;
	invoke-direct {p1}, Landroid/os/RemoteException;-><init>()V
	throw p1
.end method

.method final zza(Landroid/os/Message;)V
	.locals 1
	.annotation system Ldalvik/annotation/Throws;
	value = {
	Landroid/os/RemoteException;
	}
	.end annotation

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzn;->zza:Landroid/os/Messenger;
	if-eqz v0, :cond_0
	invoke-virtual {v0, p1}, Landroid/os/Messenger;->send(Landroid/os/Message;)V
	return-void
	:cond_0
	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzn;->zzb:Lcom/google/android/gms/cloudmessaging/zzd;
	if-eqz v0, :cond_1
	invoke-virtual {v0, p1}, Lcom/google/android/gms/cloudmessaging/zzd;->zzb(Landroid/os/Message;)V
	return-void
	:cond_1
	new-instance p1, Ljava/lang/IllegalStateException;
	const-string v0, "Both messengers are null"
	invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
	throw p1
.end method