package o; /* renamed from: o.fVy, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public final class C13281fVy extends AbstractC13175fSw implements InterfaceC13204fTr { private InterfaceC13169fSq c; public C13281fVy(InterfaceC13169fSq interfaceC13169fSq) { this.c = interfaceC13169fSq; } @Override // o.AbstractC13175fSw public final void e(InterfaceC13176fSx interfaceC13176fSx) { this.c.subscribe(new IeS(interfaceC13176fSx)); } @Override // o.InterfaceC13204fTr public final AbstractC13163fSk b() { return new C13280fVx(this.c); } /* renamed from: o.fVy$IeS */ /* loaded from: classes6.dex */ static final class IeS implements InterfaceC13174fSv, fSJ { private long a; private InterfaceC13176fSx c; private fSJ e; IeS(InterfaceC13176fSx interfaceC13176fSx) { this.c = interfaceC13176fSx; } @Override // o.InterfaceC13174fSv public final void onSubscribe(fSJ fsj) { if (EnumC13192fTf.d(this.e, fsj)) { this.e = fsj; this.c.onSubscribe(this); } } @Override // o.fSJ public final void dispose() { this.e.dispose(); this.e = EnumC13192fTf.DISPOSED; } @Override // o.fSJ public final boolean isDisposed() { return this.e.isDisposed(); } @Override // o.InterfaceC13174fSv public final void onError(Throwable th) { this.e = EnumC13192fTf.DISPOSED; this.c.onError(th); } @Override // o.InterfaceC13174fSv public final void onComplete() { this.e = EnumC13192fTf.DISPOSED; this.c.e(Long.valueOf(this.a)); } @Override // o.InterfaceC13174fSv public final void onNext(Object obj) { this.a++; } } }