package defpackage;

import j$.util.DesugarCollections;
import j$.util.concurrent.ConcurrentHashMap;
import java.util.Collections;
import java.util.Iterator;
import java.util.Set;

/* renamed from: ᵫˉʩ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3940 implements InterfaceC3290 {

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public volatile Set f14881;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public volatile Set f14882;

    @Override // defpackage.InterfaceC3290
    public final Object get() {
        if (this.f14882 == null) {
            synchronized (this) {
                try {
                    if (this.f14882 == null) {
                        this.f14882 = Collections.newSetFromMap(new ConcurrentHashMap());
                        m8728();
                    }
                } finally {
                }
            }
        }
        return DesugarCollections.unmodifiableSet(this.f14882);
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final synchronized void m8728() {
        try {
            Iterator it = this.f14881.iterator();
            while (it.hasNext()) {
                this.f14882.add(((InterfaceC3290) it.next()).get());
            }
            this.f14881 = null;
        } catch (Throwable th) {
            throw th;
        }
    }
}
