discord-jadx/app/src/main/java/j0/l/a/t0.java

61 lines
1.6 KiB
Java
Raw Normal View History

2021-11-08 18:25:28 +00:00
package j0.l.a;
2021-06-27 20:44:35 +00:00
2022-01-27 00:50:41 +00:00
import b.i.a.f.e.o.f;
2021-06-27 20:44:35 +00:00
import rx.Subscriber;
2022-03-02 20:59:20 +00:00
/* compiled from: OperatorDistinctUntilChanged.java */
/* loaded from: classes3.dex */
2021-06-27 20:44:35 +00:00
public class t0 extends Subscriber<T> {
2021-12-17 22:03:14 +00:00
public U j;
public boolean k;
public final /* synthetic */ Subscriber l;
public final /* synthetic */ u0 m;
2021-06-27 20:44:35 +00:00
2022-03-02 20:59:20 +00:00
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
2021-06-27 20:44:35 +00:00
public t0(u0 u0Var, Subscriber subscriber, Subscriber subscriber2) {
super(subscriber);
2021-12-17 22:03:14 +00:00
this.m = u0Var;
this.l = subscriber2;
2021-06-27 20:44:35 +00:00
}
2021-11-08 18:25:28 +00:00
@Override // j0.g
2021-06-27 20:44:35 +00:00
public void onCompleted() {
2021-12-17 22:03:14 +00:00
this.l.onCompleted();
2021-06-27 20:44:35 +00:00
}
2021-11-08 18:25:28 +00:00
@Override // j0.g
2021-06-27 20:44:35 +00:00
public void onError(Throwable th) {
2021-12-17 22:03:14 +00:00
this.l.onError(th);
2021-06-27 20:44:35 +00:00
}
2022-03-02 20:59:20 +00:00
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Unknown variable types count: 1 */
2021-11-08 18:25:28 +00:00
@Override // j0.g
2022-03-02 20:59:20 +00:00
/*
Code decompiled incorrectly, please refer to instructions dump.
*/
2021-06-27 20:44:35 +00:00
public void onNext(T t) {
Object obj;
try {
2021-12-17 22:03:14 +00:00
?? call = this.m.j.call(t);
U u = this.j;
this.j = call;
if (this.k) {
2021-06-27 20:44:35 +00:00
try {
2021-12-17 22:03:14 +00:00
if (!this.m.k.call(u, call).booleanValue()) {
this.l.onNext(t);
2021-06-27 20:44:35 +00:00
} else {
2022-03-02 20:59:20 +00:00
request(1L);
2021-06-27 20:44:35 +00:00
}
} catch (Throwable th) {
2022-01-27 00:50:41 +00:00
f.p1(th, this.l, obj);
2021-06-27 20:44:35 +00:00
}
} else {
2021-12-17 22:03:14 +00:00
this.k = true;
this.l.onNext(t);
2021-06-27 20:44:35 +00:00
}
} catch (Throwable th2) {
2022-01-27 00:50:41 +00:00
f.p1(th2, this.l, t);
2021-06-27 20:44:35 +00:00
}
}
}