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 extends AbstractC13175fSw { private fSD a; private fSS> e; public C13366fYe(fSD fsd, fSS> fss) { this.e = fss; this.a = fsd; } @Override // o.AbstractC13175fSw public final void e(InterfaceC13176fSx interfaceC13176fSx) { this.a.c(new LWm(interfaceC13176fSx, this.e)); } /* renamed from: o.fYe$LWm */ /* loaded from: classes6.dex */ static final class LWm extends AtomicReference implements InterfaceC13176fSx, fSJ { private fSS> d; private InterfaceC13176fSx e; LWm(InterfaceC13176fSx interfaceC13176fSx, fSS> 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 implements InterfaceC13176fSx { private InterfaceC13176fSx a; private AtomicReference c; IeS(AtomicReference atomicReference, InterfaceC13176fSx 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); } } } }