granularity level: instruction

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


.field public final synthetic zza:Lcom/google/android/gms/cloudmessaging/zzm;


.method public synthetic constructor <init>(Lcom/google/android/gms/cloudmessaging/zzm;)V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/zzh;->zza:Lcom/google/android/gms/cloudmessaging/zzm;
	return-void
.end method

.method public final run()V
	.locals 8

	iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzh;->zza:Lcom/google/android/gms/cloudmessaging/zzm;
	:goto_0
	monitor-enter v0
	:try_start_0
	iget v1, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zza:I
	const/4 v2, 0x2
	if-eq v1, v2, :cond_0
	monitor-exit v0
	return-void
	:cond_0
	iget-object v1, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zzd:Ljava/util/Queue;
	invoke-interface {v1}, Ljava/util/Queue;->isEmpty()Z
	move-result v1
	if-eqz v1, :cond_1
	invoke-virtual {v0}, Lcom/google/android/gms/cloudmessaging/zzm;->zzf()V
	monitor-exit v0
	return-void
	:cond_1
	iget-object v1, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zzd:Ljava/util/Queue;
	invoke-interface {v1}, Ljava/util/Queue;->poll()Ljava/lang/Object;
	move-result-object v1
	check-cast v1, Lcom/google/android/gms/cloudmessaging/zzp;
	iget-object v3, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zze:Landroid/util/SparseArray;
	iget v4, v1, Lcom/google/android/gms/cloudmessaging/zzp;->zza:I
	invoke-virtual {v3, v4, v1}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
	iget-object v3, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zzf:Lcom/google/android/gms/cloudmessaging/zzs;
	invoke-static {v3}, Lcom/google/android/gms/cloudmessaging/zzs;->zze(Lcom/google/android/gms/cloudmessaging/zzs;)Ljava/util/concurrent/ScheduledExecutorService;
	move-result-object v3
	new-instance v4, Lcom/google/android/gms/cloudmessaging/zzk;
	invoke-direct {v4, v0, v1}, Lcom/google/android/gms/cloudmessaging/zzk;-><init>(Lcom/google/android/gms/cloudmessaging/zzm;Lcom/google/android/gms/cloudmessaging/zzp;)V
	const-wide/16 v5, 0x1e
	sget-object v7, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
	invoke-interface {v3, v4, v5, v6, v7}, Ljava/util/concurrent/ScheduledExecutorService;->schedule(Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Ljava/util/concurrent/ScheduledFuture;
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	const-string v3, "MessengerIpcClient"
	const/4 v4, 0x3
	invoke-static {v3, v4}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
	move-result v3
	iget-object v3, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zzf:Lcom/google/android/gms/cloudmessaging/zzs;
	invoke-static {v3}, Lcom/google/android/gms/cloudmessaging/zzs;->zza(Lcom/google/android/gms/cloudmessaging/zzs;)Landroid/content/Context;
	move-result-object v3
	iget-object v4, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zzb:Landroid/os/Messenger;
	invoke-static {}, Landroid/os/Message;->obtain()Landroid/os/Message;
	move-result-object v5
	iget v6, v1, Lcom/google/android/gms/cloudmessaging/zzp;->zzc:I
	iput v6, v5, Landroid/os/Message;->what:I
	iget v6, v1, Lcom/google/android/gms/cloudmessaging/zzp;->zza:I
	iput v6, v5, Landroid/os/Message;->arg1:I
	iput-object v4, v5, Landroid/os/Message;->replyTo:Landroid/os/Messenger;
	new-instance v4, Landroid/os/Bundle;
	invoke-direct {v4}, Landroid/os/Bundle;-><init>()V
	const-string v6, "oneWay"
	invoke-virtual {v1}, Lcom/google/android/gms/cloudmessaging/zzp;->zzb()Z
	move-result v7
	invoke-virtual {v4, v6, v7}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V
	const-string v6, "pkg"
	invoke-virtual {v3}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
	move-result-object v3
	invoke-virtual {v4, v6, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
	const-string v3, "data"
	iget-object v1, v1, Lcom/google/android/gms/cloudmessaging/zzp;->zzd:Landroid/os/Bundle;
	invoke-virtual {v4, v3, v1}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
	invoke-virtual {v5, v4}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V
	iget-object v1, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zzc:Lcom/google/android/gms/cloudmessaging/zzn;
	invoke-virtual {v1, v5}, Lcom/google/android/gms/cloudmessaging/zzn;->zza(Landroid/os/Message;)V
	goto/16 :goto_0
	:catchall_0
	move-exception v1
	monitor-exit v0
	throw v1
.end method