package o;

import java.util.concurrent.atomic.AtomicReferenceFieldUpdater;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Lm, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public abstract class AbstractC0298Lm extends AbstractC0728ad {
    public final InterfaceC2747vn m;
    public transient InterfaceC0220Im n;

    public AbstractC0298Lm(InterfaceC0220Im interfaceC0220Im, InterfaceC2747vn interfaceC2747vn) {
        super(interfaceC0220Im);
        this.m = interfaceC2747vn;
    }

    @Override // o.InterfaceC0220Im
    public InterfaceC2747vn h() {
        return this.m;
    }

    @Override // o.AbstractC0728ad
    public void o() {
        InterfaceC0220Im interfaceC0220Im = this.n;
        if (interfaceC0220Im != null && interfaceC0220Im != this) {
            ((AbstractC2842wn) h().m(C0669Zu.D)).getClass();
            C1428hs c1428hs = (C1428hs) interfaceC0220Im;
            AtomicReferenceFieldUpdater atomicReferenceFieldUpdater = C1428hs.s;
            while (atomicReferenceFieldUpdater.get(c1428hs) == C1884mi0.e) {
            }
            Object obj = atomicReferenceFieldUpdater.get(c1428hs);
            C2448sg c2448sg = obj instanceof C2448sg ? (C2448sg) obj : null;
            if (c2448sg != null) {
                c2448sg.n();
            }
        }
        this.n = C1980nj.m;
    }

    public AbstractC0298Lm(InterfaceC0220Im interfaceC0220Im) {
        this(interfaceC0220Im, interfaceC0220Im != null ? interfaceC0220Im.h() : null);
    }
}
