granularity level: instruction

		.class public final Lp0/d;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lz/b;


.field public static a:Ljava/util/concurrent/atomic/AtomicReference;


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

	new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
	invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
	sput-object v0, Lp0/d;->a:Ljava/util/concurrent/atomic/AtomicReference;
	return-void
.end method

.method public constructor <init>()V
	.locals 0

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	return-void
.end method

.method public final a(Z)V
	.locals 5

	sget-object v0, Lp0/g;->j:Ljava/lang/Object;
	monitor-enter v0
	:try_start_0
	new-instance v1, Ljava/util/ArrayList;
	sget-object v2, Lp0/g;->l:Lb/b;
	invoke-virtual {v2}, Lb/b;->values()Ljava/util/Collection;
	move-result-object v2
	invoke-direct {v1, v2}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
	invoke-virtual {v1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
	move-result-object v1
	:cond_0
	invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
	move-result v2
	if-eqz v2, :cond_2
	invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v2
	check-cast v2, Lp0/g;
	iget-object v3, v2, Lp0/g;->e:Ljava/util/concurrent/atomic/AtomicBoolean;
	invoke-virtual {v3}, Ljava/util/concurrent/atomic/AtomicBoolean;->get()Z
	move-result v3
	if-eqz v3, :cond_0
	const-string v3, "FirebaseApp"
	const-string v4, "Notifying background state change listeners."
	invoke-static {v3, v4}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
	iget-object v2, v2, Lp0/g;->i:Ljava/util/concurrent/CopyOnWriteArrayList;
	invoke-virtual {v2}, Ljava/util/concurrent/CopyOnWriteArrayList;->iterator()Ljava/util/Iterator;
	move-result-object v2
	:goto_0
	invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
	move-result v3
	if-eqz v3, :cond_0
	invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
	move-result-object v3
	check-cast v3, Lp0/c;
	iget-object v3, v3, Lp0/c;->a:Lp0/g;
	if-nez p1, :cond_1
	iget-object v3, v3, Lp0/g;->h:Lb1/a;
	invoke-interface {v3}, Lb1/a;->get()Ljava/lang/Object;
	move-result-object v3
	check-cast v3, Lz0/d;
	invoke-virtual {v3}, Lz0/d;->b()V
	goto :goto_0
	:cond_1
	invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
	goto :goto_0
	:cond_2
	monitor-exit v0
	return-void
	:catchall_0
	move-exception p1
	monitor-exit v0
	:try_end_0
	.catchall {:try_start_0 .. :try_end_0} :catchall_0
	throw p1
.end method