granularity level: instruction

		.class public final Lp0/g;
.super Ljava/lang/Object;
.source "SourceFile"


.field public static final j:Ljava/lang/Object;
.field public static final k:Lp0/e;
.field public static final l:Lb/b;
.field public final a:Landroid/content/Context;
.field public final b:Ljava/lang/String;
.field public final c:Lp0/h;
.field public final d:Lr0/h;
.field public final e:Ljava/util/concurrent/atomic/AtomicBoolean;
.field public final f:Ljava/util/concurrent/atomic/AtomicBoolean;
.field public final g:Lr0/o;
.field public final h:Lb1/a;
.field public final i:Ljava/util/concurrent/CopyOnWriteArrayList;


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

	new-instance v0, Ljava/lang/Object;
	invoke-direct {v0}, Ljava/lang/Object;-><init>()V
	sput-object v0, Lp0/g;->j:Ljava/lang/Object;
	new-instance v0, Lp0/e;
	invoke-direct {v0}, Lp0/e;-><init>()V
	sput-object v0, Lp0/g;->k:Lp0/e;
	new-instance v0, Lb/b;
	invoke-direct {v0}, Lb/b;-><init>()V
	sput-object v0, Lp0/g;->l:Lb/b;
	return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lp0/h;Ljava/lang/String;)V
	.locals 7

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
	const/4 v1, 0x0
	invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V
	iput-object v0, p0, Lp0/g;->e:Ljava/util/concurrent/atomic/AtomicBoolean;
	new-instance v0, Ljava/util/concurrent/atomic/AtomicBoolean;
	invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>()V
	iput-object v0, p0, Lp0/g;->f:Ljava/util/concurrent/atomic/AtomicBoolean;
	new-instance v0, Ljava/util/concurrent/CopyOnWriteArrayList;
	invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>()V
	iput-object v0, p0, Lp0/g;->i:Ljava/util/concurrent/CopyOnWriteArrayList;
	new-instance v0, Ljava/util/concurrent/CopyOnWriteArrayList;
	invoke-direct {v0}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>()V
	iput-object p1, p0, Lp0/g;->a:Landroid/content/Context;
	invoke-static {p3}, Lp0/a;->g(Ljava/lang/String;)V
	iput-object p3, p0, Lp0/g;->b:Ljava/lang/String;
	iput-object p2, p0, Lp0/g;->c:Lp0/h;
	const-string p3, "Firebase"
	invoke-static {p3}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
	const-string p3, "ComponentDiscovery"
	invoke-static {p3}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
	const-class v0, Lcom/google/firebase/components/ComponentDiscoveryService;
	new-instance v2, Ljava/util/ArrayList;
	invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V
	:try_start_0
	invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
	move-result-object v3
	if-nez v3, :cond_0
	const-string v0, "Context has no PackageManager."
	goto :goto_0
	:cond_0
	new-instance v4, Landroid/content/ComponentName;
	invoke-direct {v4, p1, v0}, Landroid/content/ComponentName;-><init>(Landroid/content/Context;Ljava/lang/Class;)V
	const/16 v5, 0x80
	invoke-virtual {v3, v4, v5}, Landroid/content/pm/PackageManager;->getServiceInfo(Landroid/content/ComponentName;I)Landroid/content/pm/ServiceInfo;
	move-result-object v3
	if-nez v3, :cond_1
	new-instance v3, Ljava/lang/StringBuilder;
	invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
	const-string v0, " has no service info."
	invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	:goto_0
	invoke-static {p3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	goto :goto_1
	:cond_1
	iget-object v0, v3, Landroid/content/pm/ServiceInfo;->metaData:Landroid/os/Bundle;
	:try_end_0
	.catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
	goto :goto_2
	:catch_0
	const-string v0, "Application info not found."
	invoke-static {p3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	:goto_1
	const/4 v0, 0x0
	:goto_2
	if-nez v0, :cond_2
	const-string v0, "Could not retrieve metadata, returning empty list of registrars."
	invoke-static {p3, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
	invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
	move-result-object p3
	goto :goto_4
	:cond_2
	new-instance p3, Ljava/util/ArrayList;
	invoke-direct {p3}, Ljava/util/ArrayList;-><init>()V
	invoke-virtual {v0}, Landroid/os/BaseBundle;->keySet()Ljava/util/Set;
	move-result-object v3
	invoke-interface {v3}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
	move-result-object v3
	:goto_3
	:cond_3
	invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
	move-result v4
	if-eqz v4, :cond_4
	invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v4
	check-cast v4, Ljava/lang/String;
	invoke-virtual {v0, v4}, Landroid/os/BaseBundle;->get(Ljava/lang/String;)Ljava/lang/Object;
	move-result-object v5
	const-string v6, "com.google.firebase.components.ComponentRegistrar"
	invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v5
	if-eqz v5, :cond_3
	const-string v5, "com.google.firebase.components:"
	invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
	move-result v5
	if-eqz v5, :cond_3
	const/16 v5, 0x1f
	invoke-virtual {v4, v5}, Ljava/lang/String;->substring(I)Ljava/lang/String;
	move-result-object v4
	invoke-virtual {p3, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	goto :goto_3
	:goto_4
	:cond_4
	invoke-interface {p3}, Ljava/util/List;->iterator()Ljava/util/Iterator;
	move-result-object p3
	:goto_5
	invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
	move-result v0
	if-eqz v0, :cond_5
	invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Ljava/lang/String;
	new-instance v3, Lr0/d;
	invoke-direct {v3, v1, v0}, Lr0/d;-><init>(ILjava/lang/Object;)V
	invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	goto :goto_5
	:cond_5
	invoke-static {}, Landroid/os/Trace;->endSection()V
	const-string p3, "Runtime"
	invoke-static {p3}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
	sget-object p3, Lp0/g;->k:Lp0/e;
	new-instance v0, Ljava/util/ArrayList;
	invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
	new-instance v3, Ljava/util/ArrayList;
	invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
	invoke-virtual {v0, v2}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
	new-instance v2, Lcom/google/firebase/FirebaseCommonRegistrar;
	invoke-direct {v2}, Lcom/google/firebase/FirebaseCommonRegistrar;-><init>()V
	new-instance v4, Lr0/d;
	const/4 v5, 0x1
	invoke-direct {v4, v5, v2}, Lr0/d;-><init>(ILjava/lang/Object;)V
	invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	const-class v2, Landroid/content/Context;
	new-array v4, v1, [Ljava/lang/Class;
	invoke-static {p1, v2, v4}, Lr0/b;->a(Ljava/lang/Object;Ljava/lang/Class;[Ljava/lang/Class;)Lr0/b;
	move-result-object v2
	invoke-virtual {v3, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	const-class v2, Lp0/g;
	new-array v4, v1, [Ljava/lang/Class;
	invoke-static {p0, v2, v4}, Lr0/b;->a(Ljava/lang/Object;Ljava/lang/Class;[Ljava/lang/Class;)Lr0/b;
	move-result-object v2
	invoke-virtual {v3, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	const-class v2, Lp0/h;
	new-array v4, v1, [Ljava/lang/Class;
	invoke-static {p2, v2, v4}, Lr0/b;->a(Ljava/lang/Object;Ljava/lang/Class;[Ljava/lang/Class;)Lr0/b;
	move-result-object p2
	invoke-virtual {v3, p2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	new-instance p2, Lz0/e;
	const/16 v2, 0xe
	invoke-direct {p2, v2}, Lz0/e;-><init>(I)V
	new-instance v2, Lr0/h;
	invoke-direct {v2, p3, v0, v3, p2}, Lr0/h;-><init>(Ljava/util/concurrent/Executor;Ljava/util/List;Ljava/util/List;Lr0/f;)V
	iput-object v2, p0, Lp0/g;->d:Lr0/h;
	invoke-static {}, Landroid/os/Trace;->endSection()V
	new-instance p2, Lr0/o;
	new-instance p3, Lp0/b;
	invoke-direct {p3, p0, p1, v1}, Lp0/b;-><init>(Ljava/lang/Object;Ljava/lang/Object;I)V
	invoke-direct {p2, p3}, Lr0/o;-><init>(Lb1/a;)V
	iput-object p2, p0, Lp0/g;->g:Lr0/o;
	const-class p1, Lz0/d;
	invoke-virtual {v2, p1}, Lr0/h;->b(Ljava/lang/Class;)Lb1/a;
	move-result-object p1
	iput-object p1, p0, Lp0/g;->h:Lb1/a;
	new-instance p1, Lp0/c;
	invoke-direct {p1, p0}, Lp0/c;-><init>(Lp0/g;)V
	invoke-virtual {p0}, Lp0/g;->a()V
	iget-object p2, p0, Lp0/g;->e:Ljava/util/concurrent/atomic/AtomicBoolean;
	invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
	move-result p2
	if-eqz p2, :cond_6
	sget-object p2, Lz/c;->e:Lz/c;
	iget-object p2, p2, Lz/c;->a:Ljava/util/concurrent/atomic/AtomicBoolean;
	invoke-virtual {p2}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
	move-result p2
	:cond_6
	iget-object p2, p0, Lp0/g;->i:Ljava/util/concurrent/CopyOnWriteArrayList;
	invoke-virtual {p2, p1}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z
	invoke-static {}, Landroid/os/Trace;->endSection()V
	return-void
.end method

.method public static b()Lp0/g;
	.locals 4

	sget-object v0, Lp0/g;->j:Ljava/lang/Object;
	monitor-enter v0
	:try_start_0
	sget-object v1, Lp0/g;->l:Lb/b;
	const-string v2, "[DEFAULT]"
	invoke-virtual {v1, v2}, Lb/i;->get(Ljava/lang/Object;)Ljava/lang/Object;
	move-result-object v1
	check-cast v1, Lp0/g;
	if-eqz v1, :cond_0
	monitor-exit v0
	return-object v1
	:cond_0
	new-instance v1, Ljava/lang/IllegalStateException;
	new-instance v2, Ljava/lang/StringBuilder;
	invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
	const-string v3, "Default FirebaseApp is not initialized in this process "
	invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-static {}, Lp0/a;->t()Ljava/lang/String;
	move-result-object v3
	invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v3, ". Make sure to call FirebaseApp.initializeApp(Context) first."
	invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v2
	invoke-direct {v1, v2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
	throw v1
	:catchall_0
	move-exception v1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw v1
.end method

.method public static e(Landroid/content/Context;Lp0/h;)Lp0/g;
	.locals 6

	sget-object v0, Lp0/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
	invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
	move-result-object v0
	instance-of v0, v0, Landroid/app/Application;
	const/4 v1, 0x1
	if-nez v0, :cond_0
	goto :goto_1
	:cond_0
	invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
	move-result-object v0
	check-cast v0, Landroid/app/Application;
	sget-object v2, Lp0/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
	invoke-virtual {v2}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
	move-result-object v2
	if-nez v2, :cond_4
	new-instance v2, Lp0/d;
	invoke-direct {v2}, Lp0/d;-><init>()V
	sget-object v3, Lp0/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
	const/4 v4, 0x0
	:cond_1
	invoke-virtual {v3, v4, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
	move-result v5
	if-eqz v5, :cond_2
	const/4 v3, 0x1
	goto :goto_0
	:cond_2
	invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
	move-result-object v5
	if-eqz v5, :cond_1
	const/4 v3, 0x0
	:goto_0
	if-eqz v3, :cond_4
	sget-object v3, Lz/c;->e:Lz/c;
	monitor-enter v3
	:try_start_0
	iget-boolean v4, v3, Lz/c;->d:Z
	if-nez v4, :cond_3
	invoke-virtual {v0, v3}, Landroid/app/Application;->registerActivityLifecycleCallbacks(Landroid/app/Application$ActivityLifecycleCallbacks;)V
	invoke-virtual {v0, v3}, Landroid/app/Application;->registerComponentCallbacks(Landroid/content/ComponentCallbacks;)V
	iput-boolean v1, v3, Lz/c;->d:Z
	:cond_3
	monitor-exit v3
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_1
	invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	monitor-enter v3
	:try_start_1
	iget-object v0, v3, Lz/c;->c:Ljava/util/ArrayList;
	invoke-virtual {v0, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
	monitor-exit v3
	goto :goto_1
	:catchall_0
	move-exception p0
	monitor-exit v3
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	throw p0
	:catchall_1
	move-exception p0
	:try_start_2
	monitor-exit v3
	:try_end_2
	.catchall {:try_start_2 .. :try_end_2} :catchall_1
	throw p0
	:goto_1
	:cond_4
	const-string v0, "[DEFAULT]"
	invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
	move-result-object v2
	if-nez v2, :cond_5
	goto :goto_2
	:cond_5
	invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
	move-result-object p0
	:goto_2
	sget-object v2, Lp0/g;->j:Ljava/lang/Object;
	monitor-enter v2
	:try_start_3
	sget-object v3, Lp0/g;->l:Lb/b;
	invoke-virtual {v3, v0}, Lb/i;->containsKey(Ljava/lang/Object;)Z
	move-result v4
	xor-int/2addr v1, v4
	const-string v4, "FirebaseApp name [DEFAULT] already exists!"
	invoke-static {v4, v1}, Lp0/a;->k(Ljava/lang/String;Z)V
	const-string v1, "Application context cannot be null."
	invoke-static {p0, v1}, Lp0/a;->i(Ljava/lang/Object;Ljava/lang/String;)V
	new-instance v1, Lp0/g;
	invoke-direct {v1, p0, p1, v0}, Lp0/g;-><init>(Landroid/content/Context;Lp0/h;Ljava/lang/String;)V
	invoke-virtual {v3, v0, v1}, Lb/i;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	monitor-exit v2
	:try_end_3
	.catchall {:try_start_3 .. :try_end_3} :catchall_2
	invoke-virtual {v1}, Lp0/g;->d()V
	return-object v1
	:catchall_2
	move-exception p0
	:try_start_4
	monitor-exit v2
	:try_end_4
	.catchall {:try_start_4 .. :try_end_4} :catchall_2
	throw p0
.end method

.method public final a()V
	.locals 2

	iget-object v0, p0, Lp0/g;->f:Ljava/util/concurrent/atomic/AtomicBoolean;
	invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
	move-result v0
	xor-int/lit8 v0, v0, 0x1
	const-string v1, "FirebaseApp was deleted"
	invoke-static {v1, v0}, Lp0/a;->k(Ljava/lang/String;Z)V
	return-void
.end method

.method public final c()Ljava/lang/String;
	.locals 5

	new-instance v0, Ljava/lang/StringBuilder;
	invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
	invoke-virtual {p0}, Lp0/g;->a()V
	iget-object v1, p0, Lp0/g;->b:Ljava/lang/String;
	invoke-static {}, Ljava/nio/charset/Charset;->defaultCharset()Ljava/nio/charset/Charset;
	move-result-object v2
	invoke-virtual {v1, v2}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
	move-result-object v1
	const/4 v2, 0x0
	const/16 v3, 0xb
	if-nez v1, :cond_0
	move-object v1, v2
	goto :goto_0
	:cond_0
	invoke-static {v1, v3}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
	move-result-object v1
	:goto_0
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	const-string v1, "+"
	invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0}, Lp0/g;->a()V
	iget-object v1, p0, Lp0/g;->c:Lp0/h;
	iget-object v1, v1, Lp0/h;->b:Ljava/lang/String;
	invoke-static {}, Ljava/nio/charset/Charset;->defaultCharset()Ljava/nio/charset/Charset;
	move-result-object v4
	invoke-virtual {v1, v4}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
	move-result-object v1
	if-nez v1, :cond_1
	goto :goto_1
	:cond_1
	invoke-static {v1, v3}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
	move-result-object v2
	:goto_1
	invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method

.method public final d()V
	.locals 8

	iget-object v0, p0, Lp0/g;->a:Landroid/content/Context;
	invoke-static {v0}, Lp0/a;->v(Landroid/content/Context;)Z
	move-result v0
	const/4 v1, 0x1
	xor-int/2addr v0, v1
	const/4 v2, 0x0
	const/4 v3, 0x0
	if-eqz v0, :cond_2
	const-string v0, "FirebaseApp"
	new-instance v4, Ljava/lang/StringBuilder;
	invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
	const-string v5, "Device in Direct Boot Mode: postponing initialization of Firebase APIs for app "
	invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0}, Lp0/g;->a()V
	iget-object v5, p0, Lp0/g;->b:Ljava/lang/String;
	invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v4
	invoke-static {v0, v4}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
	iget-object v0, p0, Lp0/g;->a:Landroid/content/Context;
	sget-object v4, Lp0/f;->b:Ljava/util/concurrent/atomic/AtomicReference;
	invoke-virtual {v4}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
	move-result-object v4
	if-nez v4, :cond_6
	new-instance v4, Lp0/f;
	invoke-direct {v4, v0}, Lp0/f;-><init>(Landroid/content/Context;)V
	sget-object v5, Lp0/f;->b:Ljava/util/concurrent/atomic/AtomicReference;
	:cond_0
	invoke-virtual {v5, v3, v4}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
	move-result v6
	if-eqz v6, :cond_1
	goto :goto_0
	:cond_1
	invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
	move-result-object v6
	if-eqz v6, :cond_0
	const/4 v1, 0x0
	:goto_0
	if-eqz v1, :cond_6
	new-instance v1, Landroid/content/IntentFilter;
	const-string v2, "android.intent.action.USER_UNLOCKED"
	invoke-direct {v1, v2}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
	invoke-virtual {v0, v4, v1}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
	goto :goto_3
	:cond_2
	const-string v0, "FirebaseApp"
	new-instance v4, Ljava/lang/StringBuilder;
	invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
	const-string v5, "Device unlocked: initializing all Firebase APIs for app "
	invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {p0}, Lp0/g;->a()V
	iget-object v5, p0, Lp0/g;->b:Ljava/lang/String;
	invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
	invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
	move-result-object v4
	invoke-static {v0, v4}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
	iget-object v0, p0, Lp0/g;->d:Lr0/h;
	invoke-virtual {p0}, Lp0/g;->a()V
	iget-object v4, p0, Lp0/g;->b:Ljava/lang/String;
	const-string v5, "[DEFAULT]"
	invoke-virtual {v5, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result v4
	iget-object v5, v0, Lr0/h;->q:Ljava/util/concurrent/atomic/AtomicReference;
	invoke-static {v4}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
	move-result-object v6
	:cond_3
	invoke-virtual {v5, v3, v6}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
	move-result v7
	if-eqz v7, :cond_4
	goto :goto_1
	:cond_4
	invoke-virtual {v5}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
	move-result-object v7
	if-eqz v7, :cond_3
	const/4 v1, 0x0
	:goto_1
	if-nez v1, :cond_5
	goto :goto_2
	:cond_5
	monitor-enter v0
	:try_start_0
	new-instance v1, Ljava/util/HashMap;
	iget-object v2, v0, Lr0/h;->m:Ljava/util/HashMap;
	invoke-direct {v1, v2}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	invoke-virtual {v0, v1, v4}, Lr0/h;->H(Ljava/util/Map;Z)V
	:goto_2
	iget-object v0, p0, Lp0/g;->h:Lb1/a;
	invoke-interface {v0}, Lb1/a;->get()Ljava/lang/Object;
	move-result-object v0
	check-cast v0, Lz0/d;
	invoke-virtual {v0}, Lz0/d;->b()V
	:goto_3
	:cond_6
	return-void
	:catchall_0
	move-exception v1
	:try_start_1
	monitor-exit v0
	:try_end_1
	.catchall {:try_start_1 .. :try_end_1} :catchall_0
	throw v1
.end method

.method public final equals(Ljava/lang/Object;)Z
	.locals 1

	instance-of v0, p1, Lp0/g;
	if-nez v0, :cond_0
	const/4 p1, 0x0
	return p1
	:cond_0
	iget-object v0, p0, Lp0/g;->b:Ljava/lang/String;
	check-cast p1, Lp0/g;
	invoke-virtual {p1}, Lp0/g;->a()V
	iget-object p1, p1, Lp0/g;->b:Ljava/lang/String;
	invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
	move-result p1
	return p1
.end method

.method public final hashCode()I
	.locals 1

	iget-object v0, p0, Lp0/g;->b:Ljava/lang/String;
	invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
	move-result v0
	return v0
.end method

.method public final toString()Ljava/lang/String;
	.locals 3

	new-instance v0, Lk/j;
	invoke-direct {v0, p0}, Lk/j;-><init>(Ljava/lang/Object;)V
	iget-object v1, p0, Lp0/g;->b:Ljava/lang/String;
	const-string v2, "name"
	invoke-virtual {v0, v1, v2}, Lk/j;->d(Ljava/lang/Object;Ljava/lang/String;)V
	iget-object v1, p0, Lp0/g;->c:Lp0/h;
	const-string v2, "options"
	invoke-virtual {v0, v1, v2}, Lk/j;->d(Ljava/lang/Object;Ljava/lang/String;)V
	invoke-virtual {v0}, Lk/j;->toString()Ljava/lang/String;
	move-result-object v0
	return-object v0
.end method