apkfuckery/com.discord/smali_classes2/r0/l/a/l$g.smali
2020-07-08 16:44:49 +00:00

95 lines
1.8 KiB
Smali

.class public final Lr0/l/a/l$g;
.super Lr0/l/a/l$a;
.source "OnSubscribeCreate.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lr0/l/a/l;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "g"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lr0/l/a/l$a<",
"TT;>;"
}
.end annotation
# static fields
.field public static final serialVersionUID:J = 0x34699b00190316f1L
# direct methods
.method public constructor <init>(Lrx/Subscriber;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lrx/Subscriber<",
"-TT;>;)V"
}
.end annotation
invoke-direct {p0, p1}, Lr0/l/a/l$a;-><init>(Lrx/Subscriber;)V
return-void
.end method
# virtual methods
.method public onNext(Ljava/lang/Object;)V
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(TT;)V"
}
.end annotation
iget-object v0, p0, Lr0/l/a/l$a;->actual:Lrx/Subscriber;
invoke-virtual {v0}, Lrx/Subscriber;->isUnsubscribed()Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lr0/l/a/l$a;->actual:Lrx/Subscriber;
invoke-interface {v0, p1}, Lr0/g;->onNext(Ljava/lang/Object;)V
:cond_1
invoke-virtual {p0}, Ljava/util/concurrent/atomic/AtomicLong;->get()J
move-result-wide v0
const-wide/16 v2, 0x0
cmp-long p1, v0, v2
if-eqz p1, :cond_2
const-wide/16 v2, 0x1
sub-long v2, v0, v2
invoke-virtual {p0, v0, v1, v2, v3}, Ljava/util/concurrent/atomic/AtomicLong;->compareAndSet(JJ)Z
move-result p1
if-eqz p1, :cond_1
:cond_2
return-void
.end method