granularity level: instruction
.class public final Lr0/m;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Ly0/b;
.implements Ly0/a;
.field public final a:Ljava/util/HashMap;
.field public b:Ljava/util/ArrayDeque;
.field public final c:Ljava/util/concurrent/Executor;
.method public constructor <init>(Ljava/util/concurrent/Executor;)V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lr0/m;->a:Ljava/util/HashMap;
new-instance v0, Ljava/util/ArrayDeque;
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
iput-object v0, p0, Lr0/m;->b:Ljava/util/ArrayDeque;
iput-object p1, p0, Lr0/m;->c:Ljava/util/concurrent/Executor;
return-void
.end method
.method public final a(Lh1/q;)V
.locals 4
const-class v0, Lp0/a;
iget-object v1, p0, Lr0/m;->c:Ljava/util/concurrent/Executor;
monitor-enter p0
:try_start_0
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget-object v2, p0, Lr0/m;->a:Ljava/util/HashMap;
invoke-virtual {v2, v0}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v2
if-nez v2, :cond_0
iget-object v2, p0, Lr0/m;->a:Ljava/util/HashMap;
new-instance v3, Ljava/util/concurrent/ConcurrentHashMap;
invoke-direct {v3}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
invoke-virtual {v2, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:cond_0
iget-object v2, p0, Lr0/m;->a:Ljava/util/HashMap;
invoke-virtual {v2, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/concurrent/ConcurrentHashMap;
invoke-virtual {v0, p1, v1}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method