granularity level: instruction
.class public final synthetic Lj1/e;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Lr0/e;
.field public final synthetic a:I
.field public final synthetic b:Ljava/lang/String;
.field public final synthetic c:Ljava/lang/Object;
.method public synthetic constructor <init>(Ljava/lang/String;Ljava/lang/Object;I)V
.locals 0
iput p3, p0, Lj1/e;->a:I
iput-object p1, p0, Lj1/e;->b:Ljava/lang/String;
iput-object p2, p0, Lj1/e;->c:Ljava/lang/Object;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public final a(Lr0/t;)Ljava/lang/Object;
.locals 4
iget v0, p0, Lj1/e;->a:I
packed-switch v0, :pswitch_data_0
goto/16 :goto_2
:pswitch_0
iget-object v0, p0, Lj1/e;->b:Ljava/lang/String;
iget-object v1, p0, Lj1/e;->c:Ljava/lang/Object;
check-cast v1, Lj1/f;
const-class v2, Landroid/content/Context;
invoke-virtual {p1, v2}, Lr0/t;->a(Ljava/lang/Class;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/content/Context;
check-cast v1, Lj/c;
iget v1, v1, Lj/c;->a:I
packed-switch v1, :pswitch_data_1
goto :goto_0
:pswitch_1
sget v1, Landroid/os/Build$VERSION;->SDK_INT:I
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v2
const-string v3, "android.hardware.type.television"
invoke-virtual {v2, v3}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result v2
if-eqz v2, :cond_0
const-string p1, "tv"
goto :goto_1
:cond_0
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v2
const-string v3, "android.hardware.type.watch"
invoke-virtual {v2, v3}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result v2
if-eqz v2, :cond_1
const-string p1, "watch"
goto :goto_1
:cond_1
const/16 v2, 0x17
if-lt v1, v2, :cond_2
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v2
const-string v3, "android.hardware.type.automotive"
invoke-virtual {v2, v3}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result v2
if-eqz v2, :cond_2
const-string p1, "auto"
goto :goto_1
:cond_2
const/16 v2, 0x1a
if-lt v1, v2, :cond_3
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object p1
const-string v1, "android.hardware.type.embedded"
invoke-virtual {p1, v1}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
move-result p1
if-eqz p1, :cond_3
const-string p1, "embedded"
goto :goto_1
:pswitch_2
invoke-static {p1}, Lcom/google/firebase/FirebaseCommonRegistrar;->a(Landroid/content/Context;)Ljava/lang/String;
move-result-object p1
goto :goto_1
:pswitch_3
invoke-virtual {p1}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
move-result-object p1
if-eqz p1, :cond_3
iget p1, p1, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
move-result-object p1
goto :goto_1
:goto_0
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v1
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object p1
invoke-virtual {v1, p1}, Landroid/content/pm/PackageManager;->getInstallerPackageName(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
if-eqz p1, :cond_3
invoke-static {p1}, Lcom/google/firebase/FirebaseCommonRegistrar;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
goto :goto_1
:cond_3
const-string p1, ""
:goto_1
new-instance v1, Lj1/a;
invoke-direct {v1, v0, p1}, Lj1/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V
return-object v1
:goto_2
iget-object v0, p0, Lj1/e;->b:Ljava/lang/String;
iget-object v1, p0, Lj1/e;->c:Ljava/lang/Object;
check-cast v1, Lr0/b;
:try_start_0
invoke-static {v0}, Landroid/os/Trace;->beginSection(Ljava/lang/String;)V
iget-object v0, v1, Lr0/b;->f:Lr0/e;
invoke-interface {v0, p1}, Lr0/e;->a(Lr0/t;)Ljava/lang/Object;
move-result-object p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-static {}, Landroid/os/Trace;->endSection()V
return-object p1
:catchall_0
move-exception p1
invoke-static {}, Landroid/os/Trace;->endSection()V
throw p1
:pswitch_data_1
.packed-switch 0xb
:pswitch_3
:pswitch_2
:pswitch_1
.end packed-switch
:pswitch_data_0
.packed-switch 0x0
:pswitch_0
.end packed-switch
.end method