package o; import java.util.Objects; /* renamed from: o.fVk, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C13267fVk extends fUX { private InterfaceC13189fTc b; private fSK e; public C13267fVk(InterfaceC13169fSq interfaceC13169fSq, InterfaceC13189fTc interfaceC13189fTc, fSK fsk) { super(interfaceC13169fSq); this.b = interfaceC13189fTc; this.e = fsk; } @Override // o.AbstractC13163fSk public final void subscribeActual(InterfaceC13174fSv interfaceC13174fSv) { try { this.c.subscribe(new RVV(interfaceC13174fSv, Objects.requireNonNull(this.b.d(), "The initialSupplier returned a null value"), this.e)); } catch (Throwable th) { C13147fSI.c(th); EnumC13195fTi.a(th, interfaceC13174fSv); } } /* renamed from: o.fVk$RVV */ /* loaded from: classes6.dex */ static final class RVV implements InterfaceC13174fSv, fSJ { private fSJ a; private fSK b; private boolean c; private InterfaceC13174fSv d; private U e; RVV(InterfaceC13174fSv interfaceC13174fSv, U u, fSK fsk) { this.d = interfaceC13174fSv; this.b = fsk; this.e = u; } @Override // o.InterfaceC13174fSv public final void onSubscribe(fSJ fsj) { if (EnumC13192fTf.d(this.a, fsj)) { this.a = fsj; this.d.onSubscribe(this); } } @Override // o.fSJ public final void dispose() { this.a.dispose(); } @Override // o.fSJ public final boolean isDisposed() { return this.a.isDisposed(); } @Override // o.InterfaceC13174fSv public final void onNext(T t) { if (this.c) { return; } try { this.b.b(this.e, t); } catch (Throwable th) { C13147fSI.c(th); this.a.dispose(); onError(th); } } @Override // o.InterfaceC13174fSv public final void onError(Throwable th) { if (this.c) { C13418fZu.c(th); } else { this.c = true; this.d.onError(th); } } @Override // o.InterfaceC13174fSv public final void onComplete() { if (this.c) { return; } this.c = true; this.d.onNext(this.e); this.d.onComplete(); } } }