package o; import java.util.Objects; import java.util.concurrent.atomic.AtomicReference; /* renamed from: o.fZf, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public abstract class AbstractC13403fZf implements InterfaceC13174fSv, fSJ { private AtomicReference b = new AtomicReference<>(); public void c() { } @Override // o.InterfaceC13174fSv public final void onSubscribe(fSJ fsj) { AtomicReference atomicReference = this.b; Class cls = getClass(); Objects.requireNonNull(fsj, "next is null"); while (!atomicReference.compareAndSet(null, fsj)) { if (atomicReference.get() != null) { fsj.dispose(); if (atomicReference.get() != EnumC13192fTf.DISPOSED) { C13356fYM.b(cls); return; } return; } } c(); } @Override // o.fSJ public final boolean isDisposed() { return this.b.get() == EnumC13192fTf.DISPOSED; } @Override // o.fSJ public final void dispose() { EnumC13192fTf.e(this.b); } }