package o; /* renamed from: o.fXn, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C13340fXn extends fUX { private InterfaceC13193fTg d; public C13340fXn(InterfaceC13169fSq interfaceC13169fSq, InterfaceC13193fTg interfaceC13193fTg) { super(interfaceC13169fSq); this.d = interfaceC13193fTg; } @Override // o.AbstractC13163fSk public final void subscribeActual(InterfaceC13174fSv interfaceC13174fSv) { this.c.subscribe(new HBt(interfaceC13174fSv, this.d)); } /* renamed from: o.fXn$HBt */ /* loaded from: classes6.dex */ static final class HBt implements InterfaceC13174fSv, fSJ { private InterfaceC13193fTg a; private fSJ b; private boolean c; private InterfaceC13174fSv d; HBt(InterfaceC13174fSv interfaceC13174fSv, InterfaceC13193fTg interfaceC13193fTg) { this.d = interfaceC13174fSv; this.a = interfaceC13193fTg; } @Override // o.InterfaceC13174fSv public final void onSubscribe(fSJ fsj) { if (EnumC13192fTf.d(this.b, fsj)) { this.b = fsj; this.d.onSubscribe(this); } } @Override // o.fSJ public final void dispose() { this.b.dispose(); } @Override // o.fSJ public final boolean isDisposed() { return this.b.isDisposed(); } @Override // o.InterfaceC13174fSv public final void onNext(T t) { if (this.c) { this.d.onNext(t); return; } try { if (this.a.a(t)) { return; } this.c = true; this.d.onNext(t); } catch (Throwable th) { C13147fSI.c(th); this.b.dispose(); this.d.onError(th); } } @Override // o.InterfaceC13174fSv public final void onError(Throwable th) { this.d.onError(th); } @Override // o.InterfaceC13174fSv public final void onComplete() { this.d.onComplete(); } } }