package o; import io.reactivex.rxjava3.exceptions.CompositeException; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; /* renamed from: o.fYm, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public final class C13374fYm extends AbstractC13175fSw { private fSD a; private fSS> b; public C13374fYm(fSD fsd, fSS> fss) { this.a = fsd; this.b = fss; } @Override // o.AbstractC13175fSw public final void e(InterfaceC13176fSx interfaceC13176fSx) { this.a.c(new RVV(interfaceC13176fSx, this.b)); } /* renamed from: o.fYm$RVV */ /* loaded from: classes6.dex */ static final class RVV extends AtomicReference implements InterfaceC13176fSx, fSJ { private fSS> b; private InterfaceC13176fSx c; RVV(InterfaceC13176fSx interfaceC13176fSx, fSS> fss) { this.c = interfaceC13176fSx; this.b = fss; } @Override // o.InterfaceC13176fSx public final void onSubscribe(fSJ fsj) { if (EnumC13192fTf.a(this, fsj)) { this.c.onSubscribe(this); } } @Override // o.InterfaceC13176fSx public final void e(T t) { this.c.e(t); } @Override // o.InterfaceC13176fSx public final void onError(Throwable th) { try { ((fSD) Objects.requireNonNull(this.b.a(th), "The nextFunction returned a null SingleSource.")).c(new C13226fUe(this, this.c)); } catch (Throwable th2) { C13147fSI.c(th2); this.c.onError(new CompositeException(th, th2)); } } @Override // o.fSJ public final void dispose() { EnumC13192fTf.e(this); } @Override // o.fSJ public final boolean isDisposed() { return EnumC13192fTf.c(get()); } } }