package o; import java.util.Iterator; import java.util.Locale; import java.util.Map; import java.util.concurrent.atomic.AtomicReference; /* renamed from: o.gtr, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public abstract class AbstractC15557gtr { private static final AtomicReference MUTABLE_PROVIDER = new AtomicReference<>(); public abstract String getText(InterfaceC15537gtP interfaceC15537gtP, long j, EnumC15532gtB enumC15532gtB, Locale locale); public abstract Iterator> getTextIterator(InterfaceC15537gtP interfaceC15537gtP, EnumC15532gtB enumC15532gtB, Locale locale); /* JADX INFO: Access modifiers changed from: package-private */ public static AbstractC15557gtr getInstance() { return HBt.PROVIDER; } /* renamed from: o.gtr$HBt */ /* loaded from: classes6.dex */ static class HBt { static final AbstractC15557gtr PROVIDER = initialize(); HBt() { } static AbstractC15557gtr initialize() { AtomicReference atomicReference = AbstractC15557gtr.MUTABLE_PROVIDER; C15563gtx c15563gtx = new C15563gtx(); while (!atomicReference.compareAndSet(null, c15563gtx) && atomicReference.get() == null) { } return (AbstractC15557gtr) AbstractC15557gtr.MUTABLE_PROVIDER.get(); } } public static void setInitializer(AbstractC15557gtr abstractC15557gtr) { AtomicReference atomicReference = MUTABLE_PROVIDER; while (!atomicReference.compareAndSet(null, abstractC15557gtr)) { if (atomicReference.get() != null) { throw new IllegalStateException("Provider was already set, possibly with a default during initialization"); } } } }