package defpackage;

/* renamed from: ﹳٴ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C5559 {

    /* renamed from: ˏˋٴ, reason: contains not printable characters */
    public static final Object f20850 = new Object();

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final Object f20852;

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final String f20853;

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    public final InterfaceC4564 f20854;

    /* renamed from: ᵻᵢﹳᵰ, reason: contains not printable characters */
    public final Object f20855 = new Object();

    /* renamed from: ˇʼʤˎ, reason: contains not printable characters */
    public volatile Object f20851 = null;

    public /* synthetic */ C5559(String str, Object obj, InterfaceC4564 interfaceC4564) {
        this.f20853 = str;
        this.f20852 = obj;
        this.f20854 = interfaceC4564;
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    public final Object m11195(Object obj) {
        synchronized (this.f20855) {
        }
        if (obj != null) {
            return obj;
        }
        if (AbstractC0494.f2609 == null) {
            return this.f20852;
        }
        synchronized (f20850) {
            try {
                if (ᵺᐧʝ.ᵢˇᵭ()) {
                    return this.f20851 == null ? this.f20852 : this.f20851;
                }
                try {
                    for (C5559 c5559 : AbstractC5018.f18685) {
                        if (ᵺᐧʝ.ᵢˇᵭ()) {
                            throw new IllegalStateException("Refreshing flag cache must be done on a worker thread.");
                        }
                        Object objMo1091 = null;
                        try {
                            InterfaceC4564 interfaceC4564 = c5559.f20854;
                            if (interfaceC4564 != null) {
                                objMo1091 = interfaceC4564.mo1091();
                            }
                        } catch (IllegalStateException unused) {
                        }
                        synchronized (f20850) {
                            c5559.f20851 = objMo1091;
                        }
                    }
                } catch (SecurityException unused2) {
                }
                InterfaceC4564 interfaceC45642 = this.f20854;
                if (interfaceC45642 != null) {
                    try {
                        return interfaceC45642.mo1091();
                    } catch (IllegalStateException | SecurityException unused3) {
                    }
                }
                return this.f20852;
            } finally {
            }
        }
    }
}
