granularity level: instruction

		.class public final Lz/a0;
.super Lm0/c;
.source "SourceFile"
.implements Ly/f;
.implements Ly/g;


.field public static final h:Lc0/c;
.field public final a:Landroid/content/Context;
.field public final b:Landroid/os/Handler;
.field public final c:Lc0/c;
.field public final d:Ljava/util/Set;
.field public final e:La0/d;
.field public f:Ll0/c;
.field public g:Lz/s;


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

	sget-object v0, Ll0/b;->a:Lc0/c;
	sput-object v0, Lz/a0;->h:Lc0/c;
	return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lh0/d;La0/d;)V
	.locals 1

	sget-object v0, Lz/a0;->h:Lc0/c;
	invoke-direct {p0}, Lm0/c;-><init>()V
	iput-object p1, p0, Lz/a0;->a:Landroid/content/Context;
	iput-object p2, p0, Lz/a0;->b:Landroid/os/Handler;
	iput-object p3, p0, Lz/a0;->e:La0/d;
	iget-object p1, p3, La0/d;->b:Ljava/util/Set;
	iput-object p1, p0, Lz/a0;->d:Ljava/util/Set;
	iput-object v0, p0, Lz/a0;->c:Lc0/c;
	return-void
.end method

.method public final a(Lx/a;)V
	.locals 1

	iget-object v0, p0, Lz/a0;->g:Lz/s;
	invoke-virtual {v0, p1}, Lz/s;->d(Lx/a;)V
	return-void
.end method

.method public final b(I)V
	.locals 0

	iget-object p1, p0, Lz/a0;->f:Ll0/c;
	check-cast p1, La0/g;
	invoke-virtual {p1}, La0/g;->d()V
	return-void
.end method

.method public final c()V
	.locals 9

	iget-object v0, p0, Lz/a0;->f:Ll0/c;
	check-cast v0, Lm0/a;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	const/4 v1, 0x0
	const/4 v2, 0x1
	const/4 v3, 0x0
	:try_start_0
	iget-object v4, v0, Lm0/a;->A:La0/d;
	iget-object v4, v4, La0/d;->a:Landroid/accounts/Account;
	:try_end_0
	.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
	const-string v5, "<<default account>>"
	if-eqz v4, :cond_0
	goto :goto_0
	:try_start_1
	:cond_0
	new-instance v4, Landroid/accounts/Account;
	const-string v6, "com.google"
	invoke-direct {v4, v5, v6}, Landroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V
	:goto_0
	iget-object v6, v4, Landroid/accounts/Account;->name:Ljava/lang/String;
	invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-eqz v5, :cond_1
	iget-object v5, v0, La0/g;->c:Landroid/content/Context;
	invoke-static {v5}, Lv/a;->a(Landroid/content/Context;)Lv/a;
	move-result-object v5
	invoke-virtual {v5}, Lv/a;->b()Lcom/google/android/gms/auth/api/signin/GoogleSignInAccount;
	move-result-object v5
	goto :goto_1
	:cond_1
	move-object v5, v3
	:goto_1
	new-instance v6, La0/r;
	iget-object v7, v0, Lm0/a;->C:Ljava/lang/Integer;
	invoke-static {v7}, Lp0/a;->j(Ljava/lang/Object;)V
	invoke-virtual {v7}, Ljava/lang/Integer;->intValue()I
	move-result v7
	const/4 v8, 0x2
	invoke-direct {v6, v8, v4, v7, v5}, La0/r;-><init>(ILandroid/accounts/Account;ILcom/google/android/gms/auth/api/signin/GoogleSignInAccount;)V
	invoke-virtual {v0}, La0/g;->i()Landroid/os/IInterface;
	move-result-object v0
	check-cast v0, Lm0/e;
	invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
	move-result-object v4
	iget-object v5, v0, Lh0/a;->b:Ljava/lang/String;
	invoke-virtual {v4, v5}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
	sget v5, Lh0/b;->a:I
	invoke-virtual {v4, v2}, Landroid/os/Parcel;->writeInt(I)V
	const/16 v5, 0x4f45
	invoke-static {v4, v5}, Lf0/a;->s(Landroid/os/Parcel;I)I
	move-result v5
	invoke-static {v4, v2, v2}, Lf0/a;->n(Landroid/os/Parcel;II)V
	invoke-static {v4, v8, v6, v1}, Lf0/a;->o(Landroid/os/Parcel;ILandroid/os/Parcelable;I)V
	invoke-static {v4, v5}, Lf0/a;->u(Landroid/os/Parcel;I)V
	invoke-virtual {v4, p0}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
	const/16 v5, 0xc
	invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
	move-result-object v6
	:try_end_1
	.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
	:try_start_2
	iget-object v0, v0, Lh0/a;->a:Landroid/os/IBinder;
	invoke-interface {v0, v5, v4, v6, v1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
	invoke-virtual {v6}, Landroid/os/Parcel;->readException()V
	:try_end_2
	.catchall {:try_start_2 .. :try_end_2} :catchall_0
	:try_start_3
	invoke-virtual {v4}, Landroid/os/Parcel;->recycle()V
	invoke-virtual {v6}, Landroid/os/Parcel;->recycle()V
	goto :goto_2
	:catchall_0
	move-exception v0
	invoke-virtual {v4}, Landroid/os/Parcel;->recycle()V
	invoke-virtual {v6}, Landroid/os/Parcel;->recycle()V
	throw v0
	:try_end_3
	.catch Landroid/os/RemoteException; {:try_start_3 .. :try_end_3} :catch_0
	:catch_0
	move-exception v0
	const-string v4, "SignInClientImpl"
	const-string v5, "Remote service probably died when signIn is called"
	invoke-static {v4, v5}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:try_start_4
	new-instance v5, Lm0/h;
	new-instance v6, Lx/a;
	const/16 v7, 0x8
	invoke-direct {v6, v7, v3}, Lx/a;-><init>(ILandroid/app/PendingIntent;)V
	invoke-direct {v5, v2, v6, v3}, Lm0/h;-><init>(ILx/a;La0/s;)V
	iget-object v2, p0, Lz/a0;->b:Landroid/os/Handler;
	new-instance v3, Lw/i;
	const/4 v6, 0x3
	invoke-direct {v3, p0, v5, v6, v1}, Lw/i;-><init>(Ljava/lang/Object;Ljava/lang/Object;II)V
	invoke-virtual {v2, v3}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
	:try_end_4
	.catch Landroid/os/RemoteException; {:try_start_4 .. :try_end_4} :catch_1
	goto :goto_2
	:catch_1
	const-string v1, "ISignInCallbacks#onSignInComplete should be executed from the same process, unexpected RemoteException."
	invoke-static {v4, v1, v0}, Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	:goto_2
	return-void
.end method