package defpackage;

/* JADX INFO: renamed from: ˀʤˆ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0511 {

    /* JADX INFO: renamed from: ᵻˈᵦʼ, reason: contains not printable characters */
    public static final Object f2652 = new Object();

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final InterfaceC4062 f2653;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final Object f2654;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final String f2656;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final Object f2657 = new Object();

    /* JADX INFO: renamed from: ᵨᵣ, reason: contains not printable characters */
    public volatile Object f2655 = null;

    public /* synthetic */ C0511(String str, Object obj, InterfaceC4062 interfaceC4062) {
        this.f2656 = str;
        this.f2654 = obj;
        this.f2653 = interfaceC4062;
    }

    /* JADX WARN: Removed duplicated region for block: B:56:0x005f A[EXC_TOP_SPLITTER, SYNTHETIC] */
    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    public final Object m1988(Object obj) {
        InterfaceC4062 interfaceC4062;
        synchronized (this.f2657) {
        }
        if (obj != null) {
            return obj;
        }
        if (ᵷᵸˁ.ˊᵙᵾᵲ == null) {
            return this.f2654;
        }
        synchronized (f2652) {
            try {
                if (ᵖˊʨ.ᵜᵪʾ()) {
                    return this.f2655 == null ? this.f2654 : this.f2655;
                }
                try {
                } catch (SecurityException unused) {
                }
                for (C0511 c0511 : AbstractC3818.f14572) {
                    if (ᵖˊʨ.ᵜᵪʾ()) {
                        throw new IllegalStateException("Refreshing flag cache must be done on a worker thread.");
                    }
                    Object objMo4209 = null;
                    try {
                        InterfaceC4062 interfaceC40622 = c0511.f2653;
                        if (interfaceC40622 != null) {
                            objMo4209 = interfaceC40622.mo4209();
                        }
                    } catch (IllegalStateException unused2) {
                    }
                    synchronized (f2652) {
                        c0511.f2655 = objMo4209;
                    }
                    interfaceC4062 = this.f2653;
                    if (interfaceC4062 != null) {
                        try {
                            return interfaceC4062.mo4209();
                        } catch (IllegalStateException | SecurityException unused3) {
                        }
                    }
                    return this.f2654;
                }
                interfaceC4062 = this.f2653;
                if (interfaceC4062 != null) {
                }
                return this.f2654;
            } finally {
            }
        }
    }
}
