package o; import java.util.concurrent.atomic.AtomicReference; /* renamed from: o.fYj, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C13371fYj extends AbstractC13175fSw { private AbstractC13173fSu d; private fSD e; public C13371fYj(fSD fsd, AbstractC13173fSu abstractC13173fSu) { this.e = fsd; this.d = abstractC13173fSu; } @Override // o.AbstractC13175fSw public final void e(InterfaceC13176fSx interfaceC13176fSx) { this.e.c(new LWm(interfaceC13176fSx, this.d)); } /* renamed from: o.fYj$LWm */ /* loaded from: classes6.dex */ static final class LWm extends AtomicReference implements InterfaceC13176fSx, fSJ, Runnable { private AbstractC13173fSu a; private Throwable b; private T c; private InterfaceC13176fSx e; LWm(InterfaceC13176fSx interfaceC13176fSx, AbstractC13173fSu abstractC13173fSu) { this.e = interfaceC13176fSx; this.a = abstractC13173fSu; } @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) { this.c = t; EnumC13192fTf.c(this, this.a.a(this)); } @Override // o.InterfaceC13176fSx public final void onError(Throwable th) { this.b = th; EnumC13192fTf.c(this, this.a.a(this)); } @Override // java.lang.Runnable public final void run() { Throwable th = this.b; if (th != null) { this.e.onError(th); } else { this.e.e(this.c); } } @Override // o.fSJ public final void dispose() { EnumC13192fTf.e(this); } @Override // o.fSJ public final boolean isDisposed() { return EnumC13192fTf.c(get()); } } }