apkfuckery/com.discord/smali_classes2/l0/l/a/b0.smali
2020-09-17 00:45:48 +00:00

232 lines
5.3 KiB
Smali

.class public final Ll0/l/a/b0;
.super Ljava/lang/Object;
.source "OnSubscribeRedo.java"
# interfaces
.implements Lrx/Observable$a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Lrx/Observable$a<",
"TT;>;"
}
.end annotation
# instance fields
.field public final d:Lrx/Observable;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lrx/Observable<",
"TT;>;"
}
.end annotation
.end field
.field public final e:Ll0/k/b;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ll0/k/b<",
"-",
"Lrx/Observable<",
"+",
"Ll0/f<",
"*>;>;+",
"Lrx/Observable<",
"*>;>;"
}
.end annotation
.end field
.field public final f:Z
.field public final g:Z
.field public final h:Lrx/Scheduler;
# direct methods
.method public constructor <init>(Lrx/Observable;Ll0/k/b;ZZLrx/Scheduler;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Observable<",
"TT;>;",
"Ll0/k/b<",
"-",
"Lrx/Observable<",
"+",
"Ll0/f<",
"*>;>;+",
"Lrx/Observable<",
"*>;>;ZZ",
"Lrx/Scheduler;",
")V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Ll0/l/a/b0;->d:Lrx/Observable;
iput-object p2, p0, Ll0/l/a/b0;->e:Ll0/k/b;
iput-boolean p3, p0, Ll0/l/a/b0;->f:Z
iput-boolean p4, p0, Ll0/l/a/b0;->g:Z
iput-object p5, p0, Ll0/l/a/b0;->h:Lrx/Scheduler;
return-void
.end method
# virtual methods
.method public call(Ljava/lang/Object;)V
.locals 14
check-cast p1, Lrx/Subscriber;
new-instance v8, Ljava/util/concurrent/atomic/AtomicBoolean;
const/4 v0, 0x1
invoke-direct {v8, v0}, Ljava/util/concurrent/atomic/AtomicBoolean;-><init>(Z)V
new-instance v9, Ljava/util/concurrent/atomic/AtomicLong;
invoke-direct {v9}, Ljava/util/concurrent/atomic/AtomicLong;-><init>()V
iget-object v0, p0, Ll0/l/a/b0;->h:Lrx/Scheduler;
invoke-virtual {v0}, Lrx/Scheduler;->a()Lrx/Scheduler$Worker;
move-result-object v10
invoke-virtual {p1, v10}, Lrx/Subscriber;->add(Lrx/Subscription;)V
new-instance v6, Lrx/subscriptions/SerialSubscription;
invoke-direct {v6}, Lrx/subscriptions/SerialSubscription;-><init>()V
invoke-virtual {p1, v6}, Lrx/Subscriber;->add(Lrx/Subscription;)V
invoke-static {}, Lrx/subjects/BehaviorSubject;->g0()Lrx/subjects/BehaviorSubject;
move-result-object v0
const-class v1, Lrx/subjects/BehaviorSubject;
const-class v2, Lrx/subjects/SerializedSubject;
if-ne v1, v2, :cond_0
check-cast v0, Lrx/subjects/SerializedSubject;
move-object v7, v0
goto :goto_0
:cond_0
new-instance v1, Lrx/subjects/SerializedSubject;
invoke-direct {v1, v0}, Lrx/subjects/SerializedSubject;-><init>(Lrx/subjects/Subject;)V
move-object v7, v1
:goto_0
sget-object v0, Ll0/n/a;->a:Ll0/g;
new-instance v1, Ll0/n/d;
invoke-direct {v1, v0}, Ll0/n/d;-><init>(Ll0/g;)V
invoke-virtual {v7, v1}, Lrx/Observable;->Q(Lrx/Subscriber;)Lrx/Subscription;
new-instance v11, Ll0/l/b/a;
invoke-direct {v11}, Ll0/l/b/a;-><init>()V
new-instance v12, Ll0/l/a/w;
move-object v0, v12
move-object v1, p0
move-object v2, p1
move-object v3, v7
move-object v4, v11
move-object v5, v9
invoke-direct/range {v0 .. v6}, Ll0/l/a/w;-><init>(Ll0/l/a/b0;Lrx/Subscriber;Lrx/subjects/Subject;Ll0/l/b/a;Ljava/util/concurrent/atomic/AtomicLong;Lrx/subscriptions/SerialSubscription;)V
iget-object v0, p0, Ll0/l/a/b0;->e:Ll0/k/b;
new-instance v1, Ll0/l/a/y;
invoke-direct {v1, p0}, Ll0/l/a/y;-><init>(Ll0/l/a/b0;)V
new-instance v2, Ll0/l/a/u;
iget-object v3, v7, Lrx/Observable;->d:Lrx/Observable$a;
invoke-direct {v2, v3, v1}, Ll0/l/a/u;-><init>(Lrx/Observable$a;Lrx/Observable$b;)V
invoke-static {v2}, Lrx/Observable;->d0(Lrx/Observable$a;)Lrx/Observable;
move-result-object v1
invoke-interface {v0, v1}, Ll0/k/b;->call(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
move-object v2, v0
check-cast v2, Lrx/Observable;
new-instance v13, Ll0/l/a/z;
move-object v0, v13
move-object v1, p0
move-object v3, p1
move-object v4, v9
move-object v5, v10
move-object v6, v12
move-object v7, v8
invoke-direct/range {v0 .. v7}, Ll0/l/a/z;-><init>(Ll0/l/a/b0;Lrx/Observable;Lrx/Subscriber;Ljava/util/concurrent/atomic/AtomicLong;Lrx/Scheduler$Worker;Lrx/functions/Action0;Ljava/util/concurrent/atomic/AtomicBoolean;)V
invoke-virtual {v10, v13}, Lrx/Scheduler$Worker;->a(Lrx/functions/Action0;)Lrx/Subscription;
new-instance v7, Ll0/l/a/a0;
move-object v0, v7
move-object v2, v9
move-object v3, v11
move-object v4, v8
invoke-direct/range {v0 .. v6}, Ll0/l/a/a0;-><init>(Ll0/l/a/b0;Ljava/util/concurrent/atomic/AtomicLong;Ll0/l/b/a;Ljava/util/concurrent/atomic/AtomicBoolean;Lrx/Scheduler$Worker;Lrx/functions/Action0;)V
invoke-virtual {p1, v7}, Lrx/Subscriber;->setProducer(Lrx/Producer;)V
return-void
.end method