apkfuckery/com.discord/smali_classes2/rx/b/a.smali

177 lines
4.2 KiB
Smali
Raw Normal View History

2019-07-24 11:27:29 +00:00
.class public final Lrx/b/a;
.super Ljava/lang/Object;
.source "BlockingObservable.java"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
# static fields
2019-07-29 20:14:17 +00:00
.field static final bOB:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-07-29 20:14:17 +00:00
.field static final bOC:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
2019-07-29 20:14:17 +00:00
.field static final bOD:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
# instance fields
2019-07-29 20:14:17 +00:00
.field public final bOA:Lrx/Observable;
2019-07-24 11:27:29 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable<",
"+TT;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
2019-07-29 20:14:17 +00:00
sput-object v0, Lrx/b/a;->bOB:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
2019-07-29 20:14:17 +00:00
sput-object v0, Lrx/b/a;->bOC:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
2019-07-29 20:14:17 +00:00
sput-object v0, Lrx/b/a;->bOD:Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method private constructor <init>(Lrx/Observable;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable<",
"+TT;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
2019-07-29 20:14:17 +00:00
iput-object p1, p0, Lrx/b/a;->bOA:Lrx/Observable;
2019-07-24 11:27:29 +00:00
return-void
.end method
.method public static g(Lrx/Observable;)Lrx/b/a;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Lrx/Observable<",
"+TT;>;)",
"Lrx/b/a<",
"TT;>;"
}
.end annotation
new-instance v0, Lrx/b/a;
invoke-direct {v0, p0}, Lrx/b/a;-><init>(Lrx/Observable;)V
return-object v0
.end method
.method private h(Lrx/Observable;)Ljava/lang/Object;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable<",
"+TT;>;)TT;"
}
.end annotation
new-instance v0, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
new-instance v1, Ljava/util/concurrent/atomic/AtomicReference;
invoke-direct {v1}, Ljava/util/concurrent/atomic/AtomicReference;-><init>()V
new-instance v2, Ljava/util/concurrent/CountDownLatch;
const/4 v3, 0x1
invoke-direct {v2, v3}, Ljava/util/concurrent/CountDownLatch;-><init>(I)V
new-instance v3, Lrx/b/a$1;
invoke-direct {v3, p0, v2, v1, v0}, Lrx/b/a$1;-><init>(Lrx/b/a;Ljava/util/concurrent/CountDownLatch;Ljava/util/concurrent/atomic/AtomicReference;Ljava/util/concurrent/atomic/AtomicReference;)V
invoke-static {v3, p1}, Lrx/Observable;->a(Lrx/Subscriber;Lrx/Observable;)Lrx/Subscription;
move-result-object p1
invoke-static {v2, p1}, Lrx/internal/util/d;->a(Ljava/util/concurrent/CountDownLatch;Lrx/Subscription;)V
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
if-eqz p1, :cond_0
invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
check-cast p1, Ljava/lang/Throwable;
invoke-static {p1}, Lrx/a/b;->d(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
:cond_0
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
move-result-object p1
return-object p1
.end method
# virtual methods
2019-07-29 20:14:17 +00:00
.method public final La()Ljava/lang/Object;
2019-07-24 11:27:29 +00:00
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()TT;"
}
.end annotation
2019-07-29 20:14:17 +00:00
iget-object v0, p0, Lrx/b/a;->bOA:Lrx/Observable;
2019-07-24 11:27:29 +00:00
2019-07-29 20:14:17 +00:00
invoke-virtual {v0}, Lrx/Observable;->JR()Lrx/Observable;
2019-07-24 11:27:29 +00:00
move-result-object v0
invoke-direct {p0, v0}, Lrx/b/a;->h(Lrx/Observable;)Ljava/lang/Object;
move-result-object v0
return-object v0
.end method