apkfuckery/com.discord/smali_classes2/g0/p/o.smali

660 lines
18 KiB
Smali
Raw Normal View History

2020-03-27 22:23:51 +00:00
.class public Lg0/p/o;
2019-07-24 11:27:29 +00:00
.super Ljava/lang/Object;
.source "RxJavaPlugins.java"
# static fields
2020-03-27 22:23:51 +00:00
.field public static final f:Lg0/p/o;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
.field public static final g:Lg0/p/b;
2019-07-24 11:27:29 +00:00
# instance fields
2019-12-06 03:29:40 +00:00
.field public final a:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
2020-03-27 22:23:51 +00:00
"Lg0/p/b;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final b:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
2020-03-27 22:23:51 +00:00
"Lg0/p/m;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final c:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
2020-03-27 22:23:51 +00:00
"Lg0/p/q;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final d:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
2020-03-27 22:23:51 +00:00
"Lg0/p/a;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
2019-12-06 03:29:40 +00:00
.field public final e:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/atomic/AtomicReference<",
2020-03-27 22:23:51 +00:00
"Lg0/p/p;",
2019-07-24 11:27:29 +00:00
">;"
}
.end annotation
.end field
# direct methods
2019-12-06 03:29:40 +00:00
.method public static constructor <clinit>()V
2019-07-24 11:27:29 +00:00
.locals 1
2020-03-27 22:23:51 +00:00
new-instance v0, Lg0/p/o;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0}, Lg0/p/o;-><init>()V
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
sput-object v0, Lg0/p/o;->f:Lg0/p/o;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
new-instance v0, Lg0/p/o$a;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v0}, Lg0/p/o$a;-><init>()V
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
sput-object v0, Lg0/p/o;->g:Lg0/p/b;
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public constructor <init>()V
2019-07-24 11:27:29 +00:00
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
2020-03-27 22:23:51 +00:00
iput-object v0, p0, Lg0/p/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
2020-03-27 22:23:51 +00:00
iput-object v0, p0, Lg0/p/o;->b:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
2020-03-27 22:23:51 +00:00
iput-object v0, p0, Lg0/p/o;->c:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
2020-03-27 22:23:51 +00:00
iput-object v0, p0, Lg0/p/o;->d:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
2020-03-27 22:23:51 +00:00
iput-object v0, p0, Lg0/p/o;->e:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public static a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 7
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Class<",
"*>;",
"Ljava/util/Properties;",
")",
"Ljava/lang/Object;"
}
.end annotation
invoke-virtual {p1}, Ljava/util/Properties;->clone()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/util/Properties;
invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v0
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "rxjava.plugin."
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, ".implementation"
invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {p1, v1}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_2
invoke-virtual {p1}, Ljava/util/Properties;->entrySet()Ljava/util/Set;
move-result-object v3
invoke-interface {v3}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v3
:cond_0
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v4
if-eqz v4, :cond_2
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v4
check-cast v4, Ljava/util/Map$Entry;
invoke-interface {v4}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v5
invoke-virtual {v5}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v5
invoke-virtual {v5, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
move-result v6
if-eqz v6, :cond_0
const-string v6, ".class"
invoke-virtual {v5, v6}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v6
if-eqz v6, :cond_0
invoke-interface {v4}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v4
invoke-virtual {v4}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v4
invoke-virtual {v0, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v4
if-eqz v4, :cond_0
const/4 v1, 0x0
invoke-virtual {v5}, Ljava/lang/String;->length()I
move-result v3
add-int/lit8 v3, v3, -0x6
invoke-virtual {v5, v1, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object v1
const/16 v3, 0xe
invoke-virtual {v1, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;
move-result-object v1
2019-12-06 03:29:40 +00:00
const-string v3, ".impl"
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v2, v1, v3}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object v1
invoke-virtual {p1, v1}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
if-eqz p1, :cond_1
goto :goto_0
:cond_1
new-instance p0, Ljava/lang/IllegalStateException;
new-instance p1, Ljava/lang/StringBuilder;
2019-12-06 03:29:40 +00:00
invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V
2019-07-24 11:27:29 +00:00
const-string v2, "Implementing class declaration for "
2019-12-06 03:29:40 +00:00
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
2019-07-24 11:27:29 +00:00
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " missing: "
invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
:cond_2
move-object p1, v1
:goto_0
if-eqz p1, :cond_3
:try_start_0
invoke-static {p1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1, p0}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object;
move-result-object p0
:try_end_0
.catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_3
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0
return-object p0
:catch_0
move-exception p0
new-instance v1, Ljava/lang/IllegalStateException;
2019-12-06 03:29:40 +00:00
const-string v2, " implementation not able to be accessed: "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0, v2, p1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p1
invoke-direct {v1, p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_1
move-exception p0
new-instance v1, Ljava/lang/IllegalStateException;
2019-12-06 03:29:40 +00:00
const-string v2, " implementation not able to be instantiated: "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0, v2, p1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p1
invoke-direct {v1, p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_2
move-exception p0
new-instance v1, Ljava/lang/IllegalStateException;
2019-12-06 03:29:40 +00:00
const-string v2, " implementation class not found: "
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
invoke-static {v0, v2, p1}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
2019-07-24 11:27:29 +00:00
move-result-object p1
invoke-direct {v1, p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:catch_3
move-exception p0
new-instance v1, Ljava/lang/IllegalStateException;
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v3, " implementation is not an instance of "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, ": "
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {v1, p1, p0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v1
:cond_3
const/4 p0, 0x0
return-object p0
.end method
# virtual methods
2020-03-27 22:23:51 +00:00
.method public a()Lg0/p/a;
2019-07-24 11:27:29 +00:00
.locals 3
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->d:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
2020-03-27 22:23:51 +00:00
const-class v0, Lg0/p/a;
2019-07-24 11:27:29 +00:00
invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties;
move-result-object v1
2020-03-27 22:23:51 +00:00
invoke-static {v0, v1}, Lg0/p/o;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->d:Ljava/util/concurrent/atomic/AtomicReference;
2019-12-06 03:29:40 +00:00
2020-03-27 22:23:51 +00:00
new-instance v2, Lg0/p/o$b;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
invoke-direct {v2, p0}, Lg0/p/o$b;-><init>(Lg0/p/o;)V
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_0
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lg0/p/o;->d:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/a;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
:cond_1
:goto_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->d:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/a;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2020-03-27 22:23:51 +00:00
.method public b()Lg0/p/b;
2019-07-24 11:27:29 +00:00
.locals 3
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
2020-03-27 22:23:51 +00:00
const-class v0, Lg0/p/b;
2019-07-24 11:27:29 +00:00
invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties;
move-result-object v1
2020-03-27 22:23:51 +00:00
invoke-static {v0, v1}, Lg0/p/o;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lg0/p/o;->g:Lg0/p/b;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_0
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lg0/p/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/b;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
:cond_1
:goto_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->a:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/b;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2020-03-27 22:23:51 +00:00
.method public c()Lg0/p/m;
2019-07-24 11:27:29 +00:00
.locals 3
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->b:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
2020-03-27 22:23:51 +00:00
const-class v0, Lg0/p/m;
2019-07-24 11:27:29 +00:00
invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties;
move-result-object v1
2020-03-27 22:23:51 +00:00
invoke-static {v0, v1}, Lg0/p/o;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->b:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lg0/p/n;->a:Lg0/p/n;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_0
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lg0/p/o;->b:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/m;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
:cond_1
:goto_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->b:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/m;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2020-03-27 22:23:51 +00:00
.method public d()Lg0/p/p;
2019-07-24 11:27:29 +00:00
.locals 3
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->e:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
2020-03-27 22:23:51 +00:00
const-class v0, Lg0/p/p;
2019-07-24 11:27:29 +00:00
invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties;
move-result-object v1
2020-03-27 22:23:51 +00:00
invoke-static {v0, v1}, Lg0/p/o;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->e:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lg0/p/p;->a:Lg0/p/p;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_0
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lg0/p/o;->e:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/p;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
:cond_1
:goto_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->e:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/p;
2019-07-24 11:27:29 +00:00
return-object v0
.end method
2020-03-27 22:23:51 +00:00
.method public e()Lg0/p/q;
2019-07-24 11:27:29 +00:00
.locals 3
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->c:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
if-nez v0, :cond_1
2020-03-27 22:23:51 +00:00
const-class v0, Lg0/p/q;
2019-07-24 11:27:29 +00:00
invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties;
move-result-object v1
2020-03-27 22:23:51 +00:00
invoke-static {v0, v1}, Lg0/p/o;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->c:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
sget-object v2, Lg0/p/r;->a:Lg0/p/r;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
goto :goto_0
:cond_0
2020-03-27 22:23:51 +00:00
iget-object v2, p0, Lg0/p/o;->c:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/q;
2019-07-24 11:27:29 +00:00
invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z
:cond_1
:goto_0
2020-03-27 22:23:51 +00:00
iget-object v0, p0, Lg0/p/o;->c:Ljava/util/concurrent/atomic/AtomicReference;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object v0
2020-03-27 22:23:51 +00:00
check-cast v0, Lg0/p/q;
2019-07-24 11:27:29 +00:00
return-object v0
.end method