granularity level: instruction
.class public final Lm/f;
.super Ljava/lang/Object;
.source "SourceFile"
.field public final a:Lk/j;
.field public final b:Lm/d;
.field public final c:Ljava/util/HashMap;
.method public constructor <init>(Landroid/content/Context;Lm/d;)V
.locals 2
new-instance v0, Lk/j;
const/4 v1, 0x3
invoke-direct {v0, v1, p1}, Lk/j;-><init>(ILjava/lang/Object;)V
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance p1, Ljava/util/HashMap;
invoke-direct {p1}, Ljava/util/HashMap;-><init>()V
iput-object p1, p0, Lm/f;->c:Ljava/util/HashMap;
iput-object v0, p0, Lm/f;->a:Lk/j;
iput-object p2, p0, Lm/f;->b:Lm/d;
return-void
.end method
.method public final declared-synchronized a(Ljava/lang/String;)Lm/g;
.locals 5
monitor-enter p0
:try_start_0
iget-object v0, p0, Lm/f;->c:Ljava/util/HashMap;
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lm/f;->c:Ljava/util/HashMap;
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lm/g;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:try_start_1
:cond_0
iget-object v0, p0, Lm/f;->a:Lk/j;
invoke-virtual {v0, p1}, Lk/j;->f(Ljava/lang/String;)Lcom/google/android/datatransport/cct/CctBackendFactory;
move-result-object v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
if-nez v0, :cond_1
const/4 p1, 0x0
monitor-exit p0
return-object p1
:try_start_2
:cond_1
iget-object v1, p0, Lm/f;->b:Lm/d;
iget-object v2, v1, Lm/d;->a:Landroid/content/Context;
iget-object v3, v1, Lm/d;->b:Lt/a;
iget-object v1, v1, Lm/d;->c:Lt/a;
new-instance v4, Lm/b;
invoke-direct {v4, v2, v3, v1, p1}, Lm/b;-><init>(Landroid/content/Context;Lt/a;Lt/a;Ljava/lang/String;)V
invoke-virtual {v0, v4}, Lcom/google/android/datatransport/cct/CctBackendFactory;->create(Lm/c;)Lm/g;
move-result-object v0
iget-object v1, p0, Lm/f;->c:Ljava/util/HashMap;
invoke-virtual {v1, p1, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
monitor-exit p0
return-object v0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method