package o;

import java.util.Iterator;
import java.util.concurrent.atomic.AtomicReference;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.yl, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C3028yl implements F60 {
    public final AtomicReference a;

    public C3028yl(F60 f60) {
        this.a = new AtomicReference(f60);
    }

    @Override // o.F60
    public final Iterator iterator() {
        F60 f60 = (F60) this.a.getAndSet(null);
        if (f60 != null) {
            return f60.iterator();
        }
        throw new IllegalStateException("This sequence can be consumed only once.");
    }
}
