granularity level: instruction
.class public final Lr0/h;
.super Lp0/a;
.source "SourceFile"
.implements Lt0/a;
.field public static final s:Lr0/g;
.field public final m:Ljava/util/HashMap;
.field public final n:Ljava/util/HashMap;
.field public final o:Ljava/util/HashMap;
.field public final p:Lr0/m;
.field public final q:Ljava/util/concurrent/atomic/AtomicReference;
.field public final r:Lr0/f;
.method public static constructor <clinit>()V
.locals 2
new-instance v0, Lr0/g;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lr0/g;-><init>(I)V
sput-object v0, Lr0/h;->s:Lr0/g;
return-void
.end method
.method public constructor <init>(Ljava/util/concurrent/Executor;Ljava/util/List;Ljava/util/List;Lr0/f;)V
.locals 5
invoke-direct {p0}, Lp0/a;-><init>()V
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lr0/h;->m:Ljava/util/HashMap;
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lr0/h;->n:Ljava/util/HashMap;
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lr0/h;->o:Ljava/util/HashMap;
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
iput-object v0, p0, Lr0/h;->q:Ljava/util/concurrent/atomic/AtomicReference;
new-instance v0, Lr0/m;
invoke-direct {v0, p1}, Lr0/m;-><init>(Ljava/util/concurrent/Executor;)V
iput-object v0, p0, Lr0/h;->p:Lr0/m;
iput-object p4, p0, Lr0/h;->r:Lr0/f;
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
const-class p4, Lr0/m;
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Class;
const-class v2, Ly0/b;
const/4 v3, 0x0
aput-object v2, v1, v3
const-class v2, Ly0/a;
const/4 v4, 0x1
aput-object v2, v1, v4
invoke-static {v0, p4, v1}, Lr0/b;->a(Ljava/lang/Object;Ljava/lang/Class;[Ljava/lang/Class;)Lr0/b;
move-result-object p4
invoke-virtual {p1, p4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
const-class p4, Lt0/a;
new-array v0, v3, [Ljava/lang/Class;
invoke-static {p0, p4, v0}, Lr0/b;->a(Ljava/lang/Object;Ljava/lang/Class;[Ljava/lang/Class;)Lr0/b;
move-result-object p4
invoke-virtual {p1, p4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
invoke-interface {p3}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p3
:goto_0
:cond_0
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
move-result p4
if-eqz p4, :cond_1
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p4
check-cast p4, Lr0/b;
if-eqz p4, :cond_0
invoke-virtual {p1, p4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
:cond_1
new-instance p3, Ljava/util/ArrayList;
invoke-direct {p3}, Ljava/util/ArrayList;-><init>()V
invoke-interface {p2}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p2
:goto_1
invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z
move-result p4
if-eqz p4, :cond_2
invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p4
invoke-virtual {p3, p4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_1
:cond_2
new-instance p2, Ljava/util/ArrayList;
invoke-direct {p2}, Ljava/util/ArrayList;-><init>()V
monitor-enter p0
:try_start_0
invoke-virtual {p3}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p3
:goto_2
:cond_3
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
move-result p4
if-eqz p4, :cond_4
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p4
check-cast p4, Lb1/a;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:try_start_1
invoke-interface {p4}, Lb1/a;->get()Ljava/lang/Object;
move-result-object p4
check-cast p4, Lcom/google/firebase/components/ComponentRegistrar;
if-eqz p4, :cond_3
iget-object v0, p0, Lr0/h;->r:Lr0/f;
invoke-interface {v0, p4}, Lr0/f;->b(Lcom/google/firebase/components/ComponentRegistrar;)Ljava/util/List;
move-result-object p4
invoke-virtual {p1, p4}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
invoke-interface {p3}, Ljava/util/Iterator;->remove()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_2
:try_start_2
:cond_4
iget-object p3, p0, Lr0/h;->m:Ljava/util/HashMap;
invoke-virtual {p3}, Ljava/util/HashMap;->isEmpty()Z
move-result p3
invoke-static {p1}, Lf0/a;->g(Ljava/util/ArrayList;)V
invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p3
:goto_4
invoke-interface {p3}, Ljava/util/Iterator;->hasNext()Z
move-result p4
if-eqz p4, :cond_6
invoke-interface {p3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p4
check-cast p4, Lr0/b;
new-instance v0, Lr0/o;
new-instance v1, Lp0/b;
invoke-direct {v1, p0, p4, v4}, Lp0/b;-><init>(Ljava/lang/Object;Ljava/lang/Object;I)V
invoke-direct {v0, v1}, Lr0/o;-><init>(Lb1/a;)V
iget-object v1, p0, Lr0/h;->m:Ljava/util/HashMap;
invoke-virtual {v1, p4, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_4
:cond_6
invoke-virtual {p0, p1}, Lr0/h;->J(Ljava/util/ArrayList;)Ljava/util/ArrayList;
move-result-object p1
invoke-virtual {p2, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
invoke-virtual {p0}, Lr0/h;->K()Ljava/util/ArrayList;
move-result-object p1
invoke-virtual {p2, p1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
invoke-virtual {p0}, Lr0/h;->I()V
monitor-exit p0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
invoke-virtual {p2}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_5
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p2
iget-object p1, p0, Lr0/h;->q:Ljava/util/concurrent/atomic/AtomicReference;
invoke-virtual {p1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Boolean;
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final H(Ljava/util/Map;Z)V
.locals 5
invoke-interface {p1}, Ljava/util/Map;->entrySet()Ljava/util/Set;
move-result-object p1
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
:cond_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_4
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lr0/b;
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lb1/a;
iget v1, v1, Lr0/b;->d:I
const/4 v2, 0x0
const/4 v3, 0x1
if-ne v1, v3, :cond_1
const/4 v4, 0x1
goto :goto_1
:cond_1
const/4 v4, 0x0
:goto_1
if-nez v4, :cond_3
const/4 v4, 0x2
goto/32 :cond_0
:cond_3
invoke-interface {v0}, Lb1/a;->get()Ljava/lang/Object;
goto :goto_0
:cond_4
iget-object p1, p0, Lr0/h;->p:Lr0/m;
monitor-enter p1
:try_start_0
iget-object p2, p1, Lr0/m;->b:Ljava/util/ArrayDeque;
const/4 v0, 0x0
iput-object v0, p1, Lr0/m;->b:Ljava/util/ArrayDeque;
goto :goto_2
:catchall_0
move-exception p2
goto :goto_4
:goto_2
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
if-eqz p2, :cond_7
invoke-interface {p2}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result p2
:cond_7
return-void
:goto_4
:old_try_55
monitor-exit p1
throw p2
.end method
.method public final I()V
.locals 9
iget-object v0, p0, Lr0/h;->m:Ljava/util/HashMap;
invoke-virtual {v0}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_7
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lr0/b;
iget-object v2, v1, Lr0/b;->c:Ljava/util/Set;
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
:cond_1
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, Lr0/k;
iget v4, v3, Lr0/k;->b:I
const/4 v5, 0x2
const/4 v6, 0x1
const/4 v7, 0x0
if-ne v4, v5, :cond_2
const/4 v4, 0x1
goto :goto_1
:cond_2
const/4 v4, 0x0
:goto_1
if-eqz v4, :cond_3
iget-object v4, p0, Lr0/h;->o:Ljava/util/HashMap;
iget-object v8, v3, Lr0/k;->a:Ljava/lang/Class;
invoke-virtual {v4, v8}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v4
:cond_3
iget-object v4, p0, Lr0/h;->n:Ljava/util/HashMap;
iget-object v8, v3, Lr0/k;->a:Ljava/lang/Class;
invoke-virtual {v4, v8}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v4
if-nez v4, :cond_1
iget v4, v3, Lr0/k;->b:I
const/4 v8, 0x0
:goto_2
if-ne v4, v5, :cond_5
goto :goto_3
:cond_5
const/4 v6, 0x0
:goto_3
if-nez v6, :cond_1
iget-object v4, p0, Lr0/h;->n:Ljava/util/HashMap;
iget-object v3, v3, Lr0/k;->a:Ljava/lang/Class;
new-instance v6, Lr0/r;
invoke-direct {v6}, Lr0/r;-><init>()V
:goto_4
invoke-interface {v4, v3, v6}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_0
:cond_7
return-void
.end method
.method public final J(Ljava/util/ArrayList;)Ljava/util/ArrayList;
.locals 6
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
invoke-virtual {p1}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
:cond_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_4
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lr0/b;
iget v2, v1, Lr0/b;->e:I
const/4 v3, 0x1
if-nez v2, :cond_1
const/4 v2, 0x1
goto :goto_1
:cond_1
const/4 v2, 0x0
:goto_1
if-nez v2, :cond_2
goto :goto_0
:cond_2
iget-object v2, p0, Lr0/h;->m:Ljava/util/HashMap;
invoke-virtual {v2, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lb1/a;
iget-object v1, v1, Lr0/b;->b:Ljava/util/Set;
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_2
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v4
if-eqz v4, :cond_0
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Class;
iget-object v5, p0, Lr0/h;->n:Ljava/util/HashMap;
invoke-virtual {v5, v4}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v5
iget-object v5, p0, Lr0/h;->n:Ljava/util/HashMap;
invoke-virtual {v5, v4, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_2
:cond_4
return-object v0
.end method
.method public final K()Ljava/util/ArrayList;
.locals 7
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
new-instance v1, Ljava/util/HashMap;
invoke-direct {v1}, Ljava/util/HashMap;-><init>()V
iget-object v2, p0, Lr0/h;->m:Ljava/util/HashMap;
invoke-virtual {v2}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
move-result-object v2
invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v2
:goto_0
:cond_0
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
move-result v3
if-eqz v3, :cond_4
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v3
check-cast v3, Ljava/util/Map$Entry;
invoke-interface {v3}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v4
check-cast v4, Lr0/b;
iget v5, v4, Lr0/b;->e:I
if-nez v5, :cond_1
const/4 v5, 0x1
goto :goto_1
:cond_1
const/4 v5, 0x0
:goto_1
if-eqz v5, :cond_2
goto :goto_0
:cond_2
invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v3
check-cast v3, Lb1/a;
iget-object v4, v4, Lr0/b;->b:Ljava/util/Set;
invoke-interface {v4}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v4
:goto_2
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, Ljava/lang/Class;
invoke-virtual {v1, v5}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v6
if-nez v6, :cond_3
new-instance v6, Ljava/util/HashSet;
invoke-direct {v6}, Ljava/util/HashSet;-><init>()V
invoke-virtual {v1, v5, v6}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_3
invoke-virtual {v1, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
check-cast v5, Ljava/util/Set;
invoke-interface {v5, v3}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
goto :goto_2
:cond_4
invoke-virtual {v1}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
move-result-object v1
invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v1
:goto_3
:cond_5
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_7
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Map$Entry;
iget-object v3, p0, Lr0/h;->o:Ljava/util/HashMap;
invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v4
invoke-virtual {v3, v4}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v3
iget-object v3, p0, Lr0/h;->o:Ljava/util/HashMap;
invoke-interface {v2}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/lang/Class;
invoke-interface {v2}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/util/Collection;
check-cast v2, Ljava/util/Set;
new-instance v5, Lr0/p;
invoke-direct {v5, v2}, Lr0/p;-><init>(Ljava/util/Collection;)V
invoke-virtual {v3, v4, v5}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
goto :goto_3
:cond_7
return-object v0
.end method
.method public final declared-synchronized b(Ljava/lang/Class;)Lb1/a;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lr0/h;->n:Ljava/util/HashMap;
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lb1/a;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public final declared-synchronized d(Ljava/lang/Class;)Lb1/a;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lr0/h;->o:Ljava/util/HashMap;
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lr0/p;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method