granularity level: instruction

		.class public final synthetic Lj/b;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Ls/b;
.implements Lr/i;
.implements Lo0/h;
.implements Lo0/a;
.implements Lo0/d;
.implements Lr0/e;


.field public final synthetic a:I
.field public final synthetic b:Ljava/lang/Object;


.method public synthetic constructor <init>(ILjava/lang/Object;)V
	.locals 0

	iput p1, p0, Lj/b;->a:I
	iput-object p2, p0, Lj/b;->b:Ljava/lang/Object;
	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public a(Lr0/t;)Ljava/lang/Object;
	.locals 0

	iget p1, p0, Lj/b;->a:I
	packed-switch p1, :pswitch_data_0
	goto :goto_0
	:pswitch_0
	iget-object p1, p0, Lj/b;->b:Ljava/lang/Object;
	return-object p1
	:goto_0
	iget-object p1, p0, Lj/b;->b:Ljava/lang/Object;
	return-object p1
	:pswitch_data_0
	.packed-switch 0x0
	:pswitch_0
	.end packed-switch
.end method

.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
	.locals 16

	move-object/from16 v1, p0
	iget v0, v1, Lj/b;->a:I
	const/4 v2, 0x1
	const/4 v3, 0x0
	packed-switch v0, :pswitch_data_0
	goto/16 :goto_9
	:pswitch_0
	iget-object v0, v1, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Lj/f;
	move-object/from16 v5, p1
	check-cast v5, Lj/d;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	iget-object v6, v5, Lj/d;->a:Ljava/net/URL;
	const-string v7, "CctTransportBackend"
	invoke-static {v7}, Lf0/a;->k(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v8
	const/4 v9, 0x4
	invoke-static {v8, v9}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
	move-result v10
	if-eqz v10, :cond_0
	new-array v10, v2, [Ljava/lang/Object;
	aput-object v6, v10, v3
	const-string v6, "Making request to: %s"
	invoke-static {v6, v10}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v6
	invoke-static {v8, v6}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
	:cond_0
	iget-object v6, v5, Lj/d;->a:Ljava/net/URL;
	invoke-virtual {v6}, Ljava/net/URL;->openConnection()Ljava/net/URLConnection;
	move-result-object v6
	check-cast v6, Ljava/net/HttpURLConnection;
	const/16 v8, 0x7530
	invoke-virtual {v6, v8}, Ljava/net/URLConnection;->setConnectTimeout(I)V
	iget v8, v0, Lj/f;->g:I
	invoke-virtual {v6, v8}, Ljava/net/URLConnection;->setReadTimeout(I)V
	invoke-virtual {v6, v2}, Ljava/net/URLConnection;->setDoOutput(Z)V
	invoke-virtual {v6, v3}, Ljava/net/HttpURLConnection;->setInstanceFollowRedirects(Z)V
	const-string v8, "POST"
	invoke-virtual {v6, v8}, Ljava/net/HttpURLConnection;->setRequestMethod(Ljava/lang/String;)V
	new-array v8, v2, [Ljava/lang/Object;
	const-string v10, "3.1.8"
	aput-object v10, v8, v3
	const-string v10, "datatransport/%s android/"
	invoke-static {v10, v8}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v8
	const-string v10, "User-Agent"
	invoke-virtual {v6, v10, v8}, Ljava/net/URLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
	const-string v8, "Content-Encoding"
	const-string v10, "gzip"
	invoke-virtual {v6, v8, v10}, Ljava/net/URLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
	const-string v11, "Content-Type"
	const-string v12, "application/json"
	invoke-virtual {v6, v11, v12}, Ljava/net/URLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
	const-string v12, "Accept-Encoding"
	invoke-virtual {v6, v12, v10}, Ljava/net/URLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
	iget-object v12, v5, Lj/d;->c:Ljava/lang/String;
	if-eqz v12, :cond_1
	const-string v13, "X-Goog-Api-Key"
	invoke-virtual {v6, v13, v12}, Ljava/net/URLConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V
	:try_start_0
	:cond_1
	invoke-virtual {v6}, Ljava/net/URLConnection;->getOutputStream()Ljava/io/OutputStream;
	move-result-object v14
	:try_end_0
	.catch Ljava/net/ConnectException; {:try_start_0 .. :try_end_0} :catch_3
	.catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_0} :catch_2
	.catch Lu0/b; {:try_start_0 .. :try_end_0} :catch_1
	.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
	:try_start_1
	new-instance v15, Ljava/util/zip/GZIPOutputStream;
	invoke-direct {v15, v14}, Ljava/util/zip/GZIPOutputStream;-><init>(Ljava/io/OutputStream;)V
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_6
	:try_start_2
	iget-object v0, v0, Lj/f;->a:Lp/e;
	iget-object v5, v5, Lj/d;->b:Lk/q;
	new-instance v4, Ljava/io/BufferedWriter;
	new-instance v12, Ljava/io/OutputStreamWriter;
	invoke-direct {v12, v15}, Ljava/io/OutputStreamWriter;-><init>(Ljava/io/OutputStream;)V
	invoke-direct {v4, v12}, Ljava/io/BufferedWriter;-><init>(Ljava/io/Writer;)V
	invoke-virtual {v0, v5, v4}, Lp/e;->a(Lk/q;Ljava/io/BufferedWriter;)V
	:try_end_2
	.catchall {:try_start_2 .. :try_end_2} :catchall_4
	:try_start_3
	invoke-virtual {v15}, Ljava/io/OutputStream;->close()V
	:try_end_3
	.catchall {:try_start_3 .. :try_end_3} :catchall_6
	if-eqz v14, :cond_2
	:try_start_4
	invoke-virtual {v14}, Ljava/io/OutputStream;->close()V
	:try_end_4
	.catch Ljava/net/ConnectException; {:try_start_4 .. :try_end_4} :catch_3
	.catch Ljava/net/UnknownHostException; {:try_start_4 .. :try_end_4} :catch_2
	.catch Lu0/b; {:try_start_4 .. :try_end_4} :catch_1
	.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_0
	:cond_2
	invoke-virtual {v6}, Ljava/net/HttpURLConnection;->getResponseCode()I
	move-result v0
	invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object v4
	invoke-static {v7}, Lf0/a;->k(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v5
	invoke-static {v5, v9}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
	move-result v9
	if-eqz v9, :cond_3
	new-array v2, v2, [Ljava/lang/Object;
	aput-object v4, v2, v3
	const-string v3, "Status Code: %d"
	invoke-static {v3, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	move-result-object v2
	invoke-static {v5, v2}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
	:cond_3
	invoke-virtual {v6, v11}, Ljava/net/URLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v2
	const-string v3, "Content-Type: %s"
	invoke-static {v7, v3, v2}, Lf0/a;->f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
	invoke-virtual {v6, v8}, Ljava/net/URLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v2
	const-string v3, "Content-Encoding: %s"
	invoke-static {v7, v3, v2}, Lf0/a;->f(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)V
	const/16 v2, 0x12e
	if-eq v0, v2, :cond_b
	const/16 v2, 0x12d
	if-eq v0, v2, :cond_b
	const/16 v2, 0x133
	if-ne v0, v2, :cond_4
	goto :goto_3
	:cond_4
	const/16 v2, 0xc8
	if-eq v0, v2, :cond_5
	new-instance v2, Lj/e;
	const-wide/16 v3, 0x0
	const/4 v5, 0x0
	invoke-direct {v2, v0, v5, v3, v4}, Lj/e;-><init>(ILjava/net/URL;J)V
	goto/16 :goto_8
	:cond_5
	invoke-virtual {v6}, Ljava/net/URLConnection;->getInputStream()Ljava/io/InputStream;
	move-result-object v2
	:try_start_5
	invoke-virtual {v6, v8}, Ljava/net/URLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v3
	invoke-virtual {v10, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v3
	if-eqz v3, :cond_6
	new-instance v3, Ljava/util/zip/GZIPInputStream;
	invoke-direct {v3, v2}, Ljava/util/zip/GZIPInputStream;-><init>(Ljava/io/InputStream;)V
	:try_end_5
	.catchall {:try_start_5 .. :try_end_5} :catchall_2
	goto :goto_0
	:cond_6
	move-object v3, v2
	:try_start_6
	:goto_0
	new-instance v4, Ljava/io/BufferedReader;
	new-instance v5, Ljava/io/InputStreamReader;
	invoke-direct {v5, v3}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V
	invoke-direct {v4, v5}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;)V
	invoke-static {v4}, Lk/o;->a(Ljava/io/BufferedReader;)Lk/o;
	move-result-object v4
	iget-wide v4, v4, Lk/o;->a:J
	new-instance v6, Lj/e;
	const/4 v7, 0x0
	invoke-direct {v6, v0, v7, v4, v5}, Lj/e;-><init>(ILjava/net/URL;J)V
	:try_end_6
	.catchall {:try_start_6 .. :try_end_6} :catchall_0
	if-eqz v3, :cond_7
	:try_start_7
	invoke-virtual {v3}, Ljava/io/InputStream;->close()V
	:try_end_7
	.catchall {:try_start_7 .. :try_end_7} :catchall_2
	:cond_7
	if-eqz v2, :cond_8
	invoke-virtual {v2}, Ljava/io/InputStream;->close()V
	:cond_8
	move-object v2, v6
	goto/16 :goto_8
	:catchall_0
	move-exception v0
	move-object v4, v0
	if-eqz v3, :cond_9
	:try_start_8
	invoke-virtual {v3}, Ljava/io/InputStream;->close()V
	:try_end_8
	.catchall {:try_start_8 .. :try_end_8} :catchall_1
	goto :goto_1
	:catchall_1
	move-exception v0
	move-object v3, v0
	:try_start_9
	invoke-virtual {v4, v3}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
	:goto_1
	:cond_9
	throw v4
	:try_end_9
	.catchall {:try_start_9 .. :try_end_9} :catchall_2
	:catchall_2
	move-exception v0
	move-object v3, v0
	if-eqz v2, :cond_a
	:try_start_a
	invoke-virtual {v2}, Ljava/io/InputStream;->close()V
	:try_end_a
	.catchall {:try_start_a .. :try_end_a} :catchall_3
	goto :goto_2
	:catchall_3
	move-exception v0
	move-object v2, v0
	invoke-virtual {v3, v2}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
	:goto_2
	:cond_a
	throw v3
	:goto_3
	:cond_b
	const-string v2, "Location"
	invoke-virtual {v6, v2}, Ljava/net/URLConnection;->getHeaderField(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v2
	new-instance v3, Lj/e;
	new-instance v4, Ljava/net/URL;
	invoke-direct {v4, v2}, Ljava/net/URL;-><init>(Ljava/lang/String;)V
	const-wide/16 v5, 0x0
	invoke-direct {v3, v0, v4, v5, v6}, Lj/e;-><init>(ILjava/net/URL;J)V
	move-object v2, v3
	goto :goto_8
	:catchall_4
	move-exception v0
	move-object v2, v0
	:try_start_b
	invoke-virtual {v15}, Ljava/io/OutputStream;->close()V
	:try_end_b
	.catchall {:try_start_b .. :try_end_b} :catchall_5
	goto :goto_4
	:catchall_5
	move-exception v0
	move-object v3, v0
	:try_start_c
	invoke-virtual {v2, v3}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
	:goto_4
	throw v2
	:try_end_c
	.catchall {:try_start_c .. :try_end_c} :catchall_6
	:catchall_6
	move-exception v0
	move-object v2, v0
	if-eqz v14, :cond_c
	:try_start_d
	invoke-virtual {v14}, Ljava/io/OutputStream;->close()V
	:try_end_d
	.catchall {:try_start_d .. :try_end_d} :catchall_7
	goto :goto_5
	:catchall_7
	move-exception v0
	move-object v3, v0
	:try_start_e
	invoke-virtual {v2, v3}, Ljava/lang/Throwable;->addSuppressed(Ljava/lang/Throwable;)V
	:goto_5
	:cond_c
	throw v2
	:try_end_e
	.catch Ljava/net/ConnectException; {:try_start_e .. :try_end_e} :catch_3
	.catch Ljava/net/UnknownHostException; {:try_start_e .. :try_end_e} :catch_2
	.catch Lu0/b; {:try_start_e .. :try_end_e} :catch_1
	.catch Ljava/io/IOException; {:try_start_e .. :try_end_e} :catch_0
	:catch_0
	move-exception v0
	goto :goto_6
	:catch_1
	move-exception v0
	:goto_6
	const-string v2, "Couldn\'t encode request, returning with 400"
	invoke-static {v7, v2, v0}, Lf0/a;->h(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)V
	new-instance v2, Lj/e;
	const/16 v0, 0x190
	const-wide/16 v3, 0x0
	const/4 v5, 0x0
	invoke-direct {v2, v0, v5, v3, v4}, Lj/e;-><init>(ILjava/net/URL;J)V
	goto :goto_8
	:catch_2
	move-exception v0
	goto :goto_7
	:catch_3
	move-exception v0
	:goto_7
	const-string v2, "Couldn\'t open connection, returning with 500"
	invoke-static {v7, v2, v0}, Lf0/a;->h(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Exception;)V
	new-instance v2, Lj/e;
	const/16 v0, 0x1f4
	const-wide/16 v3, 0x0
	const/4 v5, 0x0
	invoke-direct {v2, v0, v5, v3, v4}, Lj/e;-><init>(ILjava/net/URL;J)V
	:goto_8
	return-object v2
	:goto_9
	iget-object v0, v1, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Ljava/util/Map;
	move-object/from16 v4, p1
	check-cast v4, Landroid/database/Cursor;
	sget-object v5, Lr/k;->f:Li/b;
	:goto_a
	invoke-interface {v4}, Landroid/database/Cursor;->moveToNext()Z
	move-result v5
	if-eqz v5, :cond_e
	invoke-interface {v4, v3}, Landroid/database/Cursor;->getLong(I)J
	move-result-wide v5
	invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
	move-result-object v7
	invoke-interface {v0, v7}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v7
	check-cast v7, Ljava/util/Set;
	if-nez v7, :cond_d
	new-instance v7, Ljava/util/HashSet;
	invoke-direct {v7}, Ljava/util/HashSet;-><init>()V
	invoke-static {v5, v6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
	move-result-object v5
	invoke-interface {v0, v5, v7}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	:cond_d
	new-instance v5, Lr/j;
	invoke-interface {v4, v2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
	move-result-object v6
	const/4 v8, 0x2
	invoke-interface {v4, v8}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
	move-result-object v8
	invoke-direct {v5, v6, v8}, Lr/j;-><init>(Ljava/lang/String;Ljava/lang/String;)V
	invoke-interface {v7, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
	goto :goto_a
	:cond_e
	const/4 v5, 0x0
	return-object v5
	:pswitch_data_0
	.packed-switch 0x0
	:pswitch_0
	.end packed-switch
.end method

.method public b(Lo0/o;)V
	.locals 1

	iget p1, p0, Lj/b;->a:I
	packed-switch p1, :pswitch_data_0
	goto :goto_0
	:pswitch_0
	iget-object p1, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast p1, Lh1/l0;
	sget v0, Lh1/k0;->b:I
	iget-object p1, p1, Lh1/l0;->b:Lo0/i;
	const/4 v0, 0x0
	invoke-virtual {p1, v0}, Lo0/i;->c(Ljava/lang/Object;)V
	return-void
	:pswitch_1
	iget-object p1, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast p1, Landroid/content/Intent;
	invoke-static {p1}, Lh1/j0;->a(Landroid/content/Intent;)V
	return-void
	:goto_0
	iget-object p1, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast p1, Ljava/util/concurrent/ScheduledFuture;
	const/4 v0, 0x0
	invoke-interface {p1, v0}, Ljava/util/concurrent/Future;->cancel(Z)Z
	return-void
	:pswitch_data_0
	.packed-switch 0xa
	:pswitch_1
	:pswitch_0
	.end packed-switch
.end method

.method public c(Lo0/o;)Ljava/lang/Object;
	.locals 4

	iget-object v0, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Ll/h;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	const-class v0, Ljava/io/IOException;
	iget-object v1, p1, Lo0/o;->a:Ljava/lang/Object;
	monitor-enter v1
	:try_start_0
	iget-boolean v2, p1, Lo0/o;->c:Z
	const-string v3, "Task is not yet complete"
	invoke-static {v3, v2}, Lp0/a;->k(Ljava/lang/String;Z)V
	iget-boolean v2, p1, Lo0/o;->d:Z
	if-nez v2, :cond_7
	iget-object v2, p1, Lo0/o;->f:Ljava/lang/Exception;
	invoke-virtual {v0, v2}, Ljava/lang/Class;->isInstance(Ljava/lang/Object;)Z
	move-result v2
	if-nez v2, :cond_6
	iget-object v0, p1, Lo0/o;->f:Ljava/lang/Exception;
	if-nez v0, :cond_5
	iget-object p1, p1, Lo0/o;->e:Ljava/lang/Object;
	monitor-exit v1
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	check-cast p1, Landroid/os/Bundle;
	const-string v0, "SERVICE_NOT_AVAILABLE"
	if-eqz p1, :cond_4
	const-string v1, "registration_id"
	invoke-virtual {p1, v1}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v1
	if-eqz v1, :cond_0
	goto :goto_0
	:cond_0
	const-string v1, "unregistered"
	invoke-virtual {p1, v1}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v1
	if-eqz v1, :cond_1
	:goto_0
	return-object v1
	:cond_1
	const-string v1, "error"
	invoke-virtual {p1, v1}, Landroid/os/BaseBundle;->getString(Ljava/lang/String;)Ljava/lang/String;
	move-result-object v1
	const-string v2, "RST"
	invoke-virtual {v2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v2
	if-nez v2, :cond_3
	if-eqz v1, :cond_2
	new-instance p1, Ljava/io/IOException;
	invoke-direct {p1, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
	throw p1
	:cond_2
	new-instance v1, Ljava/lang/StringBuilder;
	invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
	const-string v2, "Unexpected response: "
	invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object p1
	new-instance v1, Ljava/lang/Throwable;
	invoke-direct {v1}, Ljava/lang/Throwable;-><init>()V
	const-string v2, "FirebaseMessaging"
	invoke-static {v2, p1, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
	new-instance p1, Ljava/io/IOException;
	invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
	throw p1
	:cond_3
	new-instance p1, Ljava/io/IOException;
	const-string v0, "INSTANCE_ID_RESET"
	invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
	throw p1
	:cond_4
	new-instance p1, Ljava/io/IOException;
	invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
	throw p1
	:try_start_1
	:cond_5
	new-instance p1, Lo0/g;
	invoke-direct {p1, v0}, Lo0/g;-><init>(Ljava/lang/Exception;)V
	throw p1
	:cond_6
	iget-object p1, p1, Lo0/o;->f:Ljava/lang/Exception;
	invoke-virtual {v0, p1}, Ljava/lang/Class;->cast(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object p1
	check-cast p1, Ljava/lang/Throwable;
	throw p1
	:cond_7
	new-instance p1, Ljava/util/concurrent/CancellationException;
	const-string v0, "Task is already canceled."
	invoke-direct {p1, v0}, Ljava/util/concurrent/CancellationException;-><init>(Ljava/lang/String;)V
	throw p1
	:goto_1
	monitor-exit v1
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	throw p1
	:catchall_0
	move-exception p1
	goto :goto_1
.end method

.method public d()Ljava/lang/Object;
	.locals 7

	iget v0, p0, Lj/b;->a:I
	const/4 v1, 0x1
	const/4 v2, 0x0
	const/4 v3, 0x0
	packed-switch v0, :pswitch_data_0
	goto :goto_0
	:pswitch_0
	iget-object v0, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Lr/c;
	check-cast v0, Lr/k;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	sget v2, Lo/a;->e:I
	new-instance v2, Lh1/z;
	invoke-direct {v2, v1}, Lh1/z;-><init>(I)V
	new-instance v1, Ljava/util/HashMap;
	invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
	const-string v4, "SELECT log_source, reason, events_dropped_count FROM log_event_dropped"
	invoke-virtual {v0}, Lr/k;->a()Landroid/database/sqlite/SQLiteDatabase;
	move-result-object v5
	invoke-virtual {v5}, Landroid/database/sqlite/SQLiteDatabase;->beginTransaction()V
	:try_start_0
	new-array v3, v3, [Ljava/lang/String;
	invoke-virtual {v5, v4, v3}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;
	move-result-object v3
	new-instance v4, Lp/b;
	const/4 v6, 0x3
	invoke-direct {v4, v0, v1, v2, v6}, Lp/b;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)V
	invoke-static {v3, v4}, Lr/k;->g(Landroid/database/Cursor;Lr/i;)Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Lo/a;
	invoke-virtual {v5}, Landroid/database/sqlite/SQLiteDatabase;->setTransactionSuccessful()V
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	invoke-virtual {v5}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
	return-object v0
	:catchall_0
	move-exception v0
	invoke-virtual {v5}, Landroid/database/sqlite/SQLiteDatabase;->endTransaction()V
	throw v0
	:pswitch_1
	iget-object v0, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Lq/l;
	iget-object v0, v0, Lq/l;->i:Lr/c;
	check-cast v0, Lr/k;
	invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	new-instance v1, Lr/g;
	invoke-direct {v1, v0, v3}, Lr/g;-><init>(Lr/k;I)V
	invoke-virtual {v0, v1}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
	return-object v2
	:pswitch_2
	iget-object v0, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Lr/d;
	check-cast v0, Lr/k;
	iget-object v1, v0, Lr/k;->b:Lt/a;
	check-cast v1, Lt/b;
	invoke-virtual {v1}, Lt/b;->a()J
	move-result-wide v1
	iget-object v3, v0, Lr/k;->d:Lr/a;
	iget-wide v3, v3, Lr/a;->d:J
	sub-long/2addr v1, v3
	new-instance v3, Lr/e;
	invoke-direct {v3, v0, v1, v2}, Lr/e;-><init>(Lr/k;J)V
	invoke-virtual {v0, v3}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Ljava/lang/Integer;
	invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
	move-result v0
	invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
	move-result-object v0
	return-object v0
	:goto_0
	iget-object v0, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Lq/o;
	iget-object v4, v0, Lq/o;->b:Lr/d;
	check-cast v4, Lr/k;
	invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	new-instance v5, Lj/c;
	const/4 v6, 0x2
	invoke-direct {v5, v6}, Lj/c;-><init>(I)V
	invoke-virtual {v4, v5}, Lr/k;->c(Lr/i;)Ljava/lang/Object;
	move-result-object v4
	check-cast v4, Ljava/lang/Iterable;
	invoke-interface {v4}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
	move-result-object v4
	:goto_1
	invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z
	move-result v5
	if-eqz v5, :cond_0
	invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v5
	check-cast v5, Ll/l;
	iget-object v6, v0, Lq/o;->c:Lq/p;
	check-cast v6, Lq/d;
	invoke-virtual {v6, v5, v1, v3}, Lq/d;->a(Ll/l;IZ)V
	goto :goto_1
	:cond_0
	return-object v2
	:pswitch_data_0
	.packed-switch 0x1
	:pswitch_2
	:pswitch_1
	:pswitch_0
	.end packed-switch
.end method

.method public e(Ljava/lang/Object;)Lo0/o;
	.locals 5

	iget-object v0, p0, Lj/b;->b:Ljava/lang/Object;
	check-cast v0, Ljava/lang/String;
	check-cast p1, Lh1/g0;
	sget-object v1, Lcom/google/firebase/messaging/FirebaseMessaging;->k:Lj1/c;
	invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	new-instance v1, Lh1/d0;
	const-string v2, "S"
	invoke-direct {v1, v2, v0}, Lh1/d0;-><init>(Ljava/lang/String;Ljava/lang/String;)V
	iget-object v0, p1, Lh1/g0;->h:Lh1/e0;
	monitor-enter v0
	:try_start_0
	iget-object v2, v0, Lh1/e0;->a:Lz/s;
	iget-object v3, v1, Lh1/d0;->c:Ljava/lang/String;
	invoke-virtual {v2, v3}, Lz/s;->b(Ljava/lang/String;)Z
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_1
	monitor-exit v0
	new-instance v0, Lo0/i;
	invoke-direct {v0}, Lo0/i;-><init>()V
	iget-object v2, p1, Lh1/g0;->e:Lb/b;
	monitor-enter v2
	:try_start_1
	iget-object v1, v1, Lh1/d0;->c:Ljava/lang/String;
	iget-object v3, p1, Lh1/g0;->e:Lb/b;
	invoke-virtual {v3, v1}, Lb/i;->containsKey(Ljava/lang/Object;)Z
	move-result v3
	if-eqz v3, :cond_0
	iget-object v3, p1, Lh1/g0;->e:Lb/b;
	invoke-virtual {v3, v1}, Lb/i;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v1
	check-cast v1, Ljava/util/ArrayDeque;
	goto :goto_0
	:cond_0
	new-instance v3, Ljava/util/ArrayDeque;
	invoke-direct {v3}, Ljava/util/ArrayDeque;-><init>()V
	iget-object v4, p1, Lh1/g0;->e:Lb/b;
	invoke-virtual {v4, v1, v3}, Lb/i;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	move-object v1, v3
	:goto_0
	invoke-virtual {v1, v0}, Ljava/util/ArrayDeque;->add(Ljava/lang/Object;)Z
	monitor-exit v2
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	iget-object v0, v0, Lo0/i;->a:Lo0/o;
	invoke-virtual {p1}, Lh1/g0;->e()V
	return-object v0
	:catchall_0
	move-exception p1
	:try_start_2
	monitor-exit v2
	:try_end_2
	.catchall {:try_start_2 .. :try_end_2} :catchall_0
	throw p1
	:catchall_1
	move-exception p1
	monitor-exit v0
	throw p1
.end method