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

97 lines
3.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.Objects;
import java.util.concurrent.atomic.AtomicReference;
/* renamed from: o.fYe, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C13366fYe<T, R> extends AbstractC13175fSw<R> {
private fSD<? extends T> a;
private fSS<? super T, ? extends fSD<? extends R>> e;
public C13366fYe(fSD<? extends T> fsd, fSS<? super T, ? extends fSD<? extends R>> fss) {
this.e = fss;
this.a = fsd;
}
@Override // o.AbstractC13175fSw
public final void e(InterfaceC13176fSx<? super R> interfaceC13176fSx) {
this.a.c(new LWm(interfaceC13176fSx, this.e));
}
/* renamed from: o.fYe$LWm */
/* loaded from: classes6.dex */
static final class LWm<T, R> extends AtomicReference<fSJ> implements InterfaceC13176fSx<T>, fSJ {
private fSS<? super T, ? extends fSD<? extends R>> d;
private InterfaceC13176fSx<? super R> e;
LWm(InterfaceC13176fSx<? super R> interfaceC13176fSx, fSS<? super T, ? extends fSD<? extends R>> fss) {
this.e = interfaceC13176fSx;
this.d = fss;
}
@Override // o.fSJ
public final void dispose() {
EnumC13192fTf.e(this);
}
@Override // o.fSJ
public final boolean isDisposed() {
return EnumC13192fTf.c(get());
}
@Override // o.InterfaceC13176fSx
public final void onSubscribe(fSJ fsj) {
if (EnumC13192fTf.a(this, fsj)) {
this.e.onSubscribe(this);
}
}
@Override // o.InterfaceC13176fSx
public final void e(T t) {
try {
fSD fsd = (fSD) Objects.requireNonNull(this.d.a(t), "The single returned by the mapper is null");
if (isDisposed()) {
return;
}
fsd.c(new IeS(this, this.e));
} catch (Throwable th) {
C13147fSI.c(th);
this.e.onError(th);
}
}
@Override // o.InterfaceC13176fSx
public final void onError(Throwable th) {
this.e.onError(th);
}
/* renamed from: o.fYe$LWm$IeS */
/* loaded from: classes6.dex */
static final class IeS<R> implements InterfaceC13176fSx<R> {
private InterfaceC13176fSx<? super R> a;
private AtomicReference<fSJ> c;
IeS(AtomicReference<fSJ> atomicReference, InterfaceC13176fSx<? super R> interfaceC13176fSx) {
this.c = atomicReference;
this.a = interfaceC13176fSx;
}
@Override // o.InterfaceC13176fSx
public final void onSubscribe(fSJ fsj) {
EnumC13192fTf.c(this.c, fsj);
}
@Override // o.InterfaceC13176fSx
public final void e(R r) {
this.a.e(r);
}
@Override // o.InterfaceC13176fSx
public final void onError(Throwable th) {
this.a.onError(th);
}
}
}
}