what-the-bank/sources/o/C13277fVu.java

76 lines
2.2 KiB
Java

package o;
import java.util.concurrent.atomic.AtomicReference;
/* renamed from: o.fVu, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13277fVu<T> extends fUX<T, T> {
private fSD<? extends T> d;
public C13277fVu(AbstractC13163fSk<T> abstractC13163fSk, fSD<? extends T> fsd) {
super(abstractC13163fSk);
this.d = fsd;
}
@Override // o.AbstractC13163fSk
public final void subscribeActual(InterfaceC13174fSv<? super T> interfaceC13174fSv) {
this.c.subscribe(new IeS(interfaceC13174fSv, this.d));
}
/* renamed from: o.fVu$IeS */
/* loaded from: classes6.dex */
static final class IeS<T> extends AtomicReference<fSJ> implements InterfaceC13174fSv<T>, InterfaceC13176fSx<T>, fSJ {
private boolean b;
private fSD<? extends T> c;
private InterfaceC13174fSv<? super T> e;
IeS(InterfaceC13174fSv<? super T> interfaceC13174fSv, fSD<? extends T> fsd) {
this.e = interfaceC13174fSv;
this.c = fsd;
}
@Override // o.InterfaceC13174fSv
public final void onSubscribe(fSJ fsj) {
if (!EnumC13192fTf.a(this, fsj) || this.b) {
return;
}
this.e.onSubscribe(this);
}
@Override // o.InterfaceC13174fSv
public final void onNext(T t) {
this.e.onNext(t);
}
@Override // o.InterfaceC13176fSx
public final void e(T t) {
this.e.onNext(t);
this.e.onComplete();
}
@Override // o.InterfaceC13174fSv
public final void onError(Throwable th) {
this.e.onError(th);
}
@Override // o.InterfaceC13174fSv
public final void onComplete() {
this.b = true;
EnumC13192fTf.c(this, null);
fSD<? extends T> fsd = this.c;
this.c = null;
fsd.c(this);
}
@Override // o.fSJ
public final void dispose() {
EnumC13192fTf.e(this);
}
@Override // o.fSJ
public final boolean isDisposed() {
return EnumC13192fTf.c(get());
}
}
}