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

61 lines
1.6 KiB
Java

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