package o; import java.util.concurrent.atomic.AtomicReference; /* renamed from: o.fXq, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C13343fXq extends fUX { private InterfaceC13169fSq d; public C13343fXq(InterfaceC13169fSq interfaceC13169fSq, InterfaceC13169fSq interfaceC13169fSq2) { super(interfaceC13169fSq); this.d = interfaceC13169fSq2; } @Override // o.AbstractC13163fSk public final void subscribeActual(InterfaceC13174fSv interfaceC13174fSv) { HBt hBt = new HBt(interfaceC13174fSv, this.d); interfaceC13174fSv.onSubscribe(hBt.c); this.c.subscribe(hBt); } /* renamed from: o.fXq$HBt */ /* loaded from: classes6.dex */ static final class HBt implements InterfaceC13174fSv { private InterfaceC13169fSq a; private boolean b = true; final C13197fTk c = new C13197fTk(); private InterfaceC13174fSv e; HBt(InterfaceC13174fSv interfaceC13174fSv, InterfaceC13169fSq interfaceC13169fSq) { this.e = interfaceC13174fSv; this.a = interfaceC13169fSq; } @Override // o.InterfaceC13174fSv public final void onNext(T t) { if (this.b) { this.b = false; } this.e.onNext(t); } @Override // o.InterfaceC13174fSv public final void onError(Throwable th) { this.e.onError(th); } @Override // o.InterfaceC13174fSv public final void onComplete() { if (this.b) { this.b = false; this.a.subscribe(this); } else { this.e.onComplete(); } } @Override // o.InterfaceC13174fSv public final void onSubscribe(fSJ fsj) { EnumC13192fTf.d((AtomicReference) this.c, fsj); } } }