granularity level: instruction
.class public final synthetic Lj/c;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lr/i;
.implements Lj1/f;
.implements Lr0/f;
.implements Lo0/a;
.implements Lr0/e;
.field public final synthetic a:I
.method public synthetic constructor <init>(I)V
.locals 0
iput p1, p0, Lj/c;->a:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public a(Lr0/t;)Ljava/lang/Object;
.locals 5
iget v0, p0, Lj/c;->a:I
packed-switch v0, :pswitch_data_0
goto :goto_0
:pswitch_0
invoke-static {p1}, Lcom/google/firebase/messaging/FirebaseMessagingRegistrar;->a(Lr0/t;)Lcom/google/firebase/messaging/FirebaseMessaging;
move-result-object p1
return-object p1
:pswitch_1
invoke-static {p1}, Lcom/google/firebase/installations/FirebaseInstallationsRegistrar;->a(Lr0/t;)Lc1/e;
move-result-object p1
return-object p1
:pswitch_2
new-instance v0, Lz0/d;
const-class v1, Landroid/content/Context;
invoke-virtual {p1, v1}, Lr0/t;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v1
check-cast v1, Landroid/content/Context;
const-class v2, Lp0/g;
invoke-virtual {p1, v2}, Lr0/t;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lp0/g;
invoke-virtual {v2}, Lp0/g;->c()Ljava/lang/String;
move-result-object v2
const-class v3, Lz0/e;
invoke-virtual {p1, v3}, Lr0/t;->c(Ljava/lang/Class;)Ljava/util/Set;
move-result-object v3
const-class v4, Lj1/b;
invoke-virtual {p1, v4}, Lr0/t;->b(Ljava/lang/Class;)Lb1/a;
move-result-object p1
invoke-direct {v0, v1, v2, v3, p1}, Lz0/d;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/util/Set;Lb1/a;)V
return-object v0
:pswitch_3
invoke-static {p1}, Lcom/google/firebase/datatransport/TransportRegistrar;->a(Lr0/t;)Li/d;
move-result-object p1
return-object p1
:goto_0
new-instance v0, Lj1/b;
const-class v1, Lj1/a;
invoke-virtual {p1, v1}, Lr0/t;->c(Ljava/lang/Class;)Ljava/util/Set;
move-result-object p1
sget-object v1, Lj1/c;->b:Lj1/c;
if-nez v1, :cond_1
const-class v2, Lj1/c;
monitor-enter v2
:try_start_0
sget-object v1, Lj1/c;->b:Lj1/c;
if-nez v1, :cond_0
new-instance v1, Lj1/c;
const/4 v3, 0x0
invoke-direct {v1, v3}, Lj1/c;-><init>(I)V
sput-object v1, Lj1/c;->b:Lj1/c;
:cond_0
monitor-exit v2
goto :goto_1
:catchall_0
move-exception p1
monitor-exit v2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
:goto_1
:cond_1
invoke-direct {v0, p1, v1}, Lj1/b;-><init>(Ljava/util/Set;Lj1/c;)V
return-object v0
nop
:pswitch_data_0
.packed-switch 0x0
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public apply(Ljava/lang/Object;)Ljava/lang/Object;
.locals 6
iget v0, p0, Lj/c;->a:I
const/4 v1, 0x1
const/4 v2, 0x0
const/4 v3, 0x0
packed-switch v0, :pswitch_data_0
goto/16 :goto_7
:pswitch_0
check-cast p1, Landroid/database/Cursor;
sget-object v0, Lr/k;->f:Li/b;
invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
move-result v0
if-nez v0, :cond_0
goto :goto_0
:cond_0
invoke-interface {p1, v2}, Landroid/database/Cursor;->getLong(I)J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v3
:goto_0
return-object v3
:pswitch_1
check-cast p1, Landroid/database/Cursor;
sget-object v0, Lr/k;->f:Li/b;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
const/4 v1, 0x0
:goto_1
invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
move-result v3
if-eqz v3, :cond_1
invoke-interface {p1, v2}, Landroid/database/Cursor;->getBlob(I)[B
move-result-object v3
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
array-length v3, v3
add-int/2addr v1, v3
goto :goto_1
:cond_1
new-array p1, v1, [B
const/4 v1, 0x0
const/4 v3, 0x0
:goto_2
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v4
if-ge v1, v4, :cond_2
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v4
check-cast v4, [B
array-length v5, v4
invoke-static {v4, v2, p1, v3, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
array-length v4, v4
add-int/2addr v3, v4
add-int/lit8 v1, v1, 0x1
goto :goto_2
:cond_2
return-object p1
:pswitch_2
check-cast p1, Landroid/database/Cursor;
invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
move-result p1
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
return-object p1
:pswitch_3
check-cast p1, Landroid/database/Cursor;
sget-object v0, Lr/k;->f:Li/b;
invoke-interface {p1}, Landroid/database/Cursor;->getCount()I
move-result p1
if-lez p1, :cond_3
goto :goto_3
:cond_3
const/4 v1, 0x0
:goto_3
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
return-object p1
:pswitch_4
check-cast p1, Landroid/database/Cursor;
sget-object v0, Lr/k;->f:Li/b;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
:goto_4
invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
move-result v4
if-eqz v4, :cond_5
invoke-static {}, Ll/l;->a()Ll/k;
move-result-object v4
invoke-interface {p1, v1}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v5
invoke-virtual {v4, v5}, Ll/k;->g(Ljava/lang/String;)V
const/4 v5, 0x2
invoke-interface {p1, v5}, Landroid/database/Cursor;->getInt(I)I
move-result v5
invoke-static {v5}, Lu/a;->b(I)Li/c;
move-result-object v5
invoke-virtual {v4, v5}, Ll/k;->h(Li/c;)V
const/4 v5, 0x3
invoke-interface {p1, v5}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
move-result-object v5
if-nez v5, :cond_4
move-object v5, v3
goto :goto_5
:cond_4
invoke-static {v5, v2}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B
move-result-object v5
:goto_5
iput-object v5, v4, Ll/k;->b:Ljava/lang/Object;
invoke-virtual {v4}, Ll/k;->c()Ll/l;
move-result-object v4
invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_4
:cond_5
return-object v0
:pswitch_5
check-cast p1, Ljava/lang/Throwable;
sget-object v0, Lr/k;->f:Li/b;
new-instance v0, Ls/a;
const-string v1, "Timed out while trying to acquire the lock."
invoke-direct {v0, v1, p1}, Ls/a;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
:pswitch_6
check-cast p1, Landroid/database/Cursor;
sget-object v0, Lr/k;->f:Li/b;
invoke-interface {p1}, Landroid/database/Cursor;->moveToNext()Z
move-result v0
if-eqz v0, :cond_6
invoke-interface {p1, v2}, Landroid/database/Cursor;->getLong(I)J
move-result-wide v0
goto :goto_6
:cond_6
const-wide/16 v0, 0x0
:goto_6
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object p1
return-object p1
:pswitch_7
check-cast p1, Ljava/lang/Throwable;
sget-object v0, Lr/k;->f:Li/b;
new-instance v0, Ls/a;
const-string v1, "Timed out while trying to open db."
invoke-direct {v0, v1, p1}, Ls/a;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
:pswitch_8
check-cast p1, Landroid/database/sqlite/SQLiteDatabase;
sget-object v0, Lr/k;->f:Li/b;
new-array v0, v2, [Ljava/lang/String;
const-string v1, "SELECT distinct t._id, t.backend_name, t.priority, t.extras FROM transport_contexts AS t, events AS e WHERE e.context_id = t._id"
invoke-virtual {p1, v1, v0}, Landroid/database/sqlite/SQLiteDatabase;->rawQuery(Ljava/lang/String;[Ljava/lang/String;)Landroid/database/Cursor;
move-result-object p1
new-instance v0, Lj/c;
const/4 v1, 0x6
invoke-direct {v0, v1}, Lj/c;-><init>(I)V
invoke-static {p1, v0}, Lr/k;->g(Landroid/database/Cursor;Lr/i;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/util/List;
return-object p1
:goto_7
check-cast p1, Li1/e;
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
sget-object v0, Lh1/u;->a:Ll/k;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
new-instance v1, Ljava/io/ByteArrayOutputStream;
invoke-direct {v1}, Ljava/io/ByteArrayOutputStream;-><init>()V
:try_start_0
invoke-virtual {v0, p1, v1}, Ll/k;->e(Ljava/lang/Object;Ljava/io/ByteArrayOutputStream;)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
:catch_0
invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
move-result-object p1
return-object p1
:pswitch_data_0
.packed-switch 0x2
:pswitch_8
:pswitch_7
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public b(Lcom/google/firebase/components/ComponentRegistrar;)Ljava/util/List;
.locals 0
invoke-interface {p1}, Lcom/google/firebase/components/ComponentRegistrar;->getComponents()Ljava/util/List;
move-result-object p1
return-object p1
.end method
.method public c(Lo0/o;)Ljava/lang/Object;
.locals 0
sget-object p1, Lh1/l;->c:Ljava/lang/Object;
const/16 p1, 0x193
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
return-object p1
.end method