package defpackage;

import java.util.logging.Level;
import java.util.logging.Logger;

/* renamed from: ᵻᵭʼᵪ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public abstract class AbstractC5219 implements InterfaceFutureC2302 {

    /* renamed from: ˀᵗᵝᵭ, reason: contains not printable characters */
    public static final ᵺᵣᵬ f19487;

    /* renamed from: ᵡⁱᵥ, reason: contains not printable characters */
    public static final boolean f19488;

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public volatile C4575 f19491;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public volatile Object f19492;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public volatile C1406 f19493;

    /* renamed from: ᵾᵬ, reason: contains not printable characters */
    public static final Object f19490 = new Object();

    /* renamed from: ᵤᵙᵷ, reason: contains not printable characters */
    public static final C5081 f19489 = new C5081(2, C4523.class);

    static {
        boolean z;
        ᵺᵣᵬ c0392;
        Throwable th;
        Throwable th2;
        try {
            z = Boolean.parseBoolean(System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
        } catch (SecurityException unused) {
            z = false;
        }
        f19488 = z;
        String property = System.getProperty("java.runtime.name", "");
        Throwable th3 = null;
        if (property == null || property.contains("Android")) {
            try {
                c0392 = new C4557();
            } catch (Error | Exception e) {
                try {
                    c0392 = new C0786();
                } catch (Error | Exception e2) {
                    th3 = e2;
                    c0392 = new C0392();
                }
                th = th3;
                th2 = e;
            }
        } else {
            try {
                c0392 = new C0786();
            } catch (NoClassDefFoundError unused2) {
                c0392 = new C0392();
            }
        }
        th = null;
        th2 = null;
        f19487 = c0392;
        if (th != null) {
            C5081 c5081 = f19489;
            Logger loggerM10553 = c5081.m10553();
            Level level = Level.SEVERE;
            loggerM10553.logp(level, "com.google.common.util.concurrent.AbstractFutureState", "<clinit>", "UnsafeAtomicHelper is broken!", th2);
            c5081.m10553().logp(level, "com.google.common.util.concurrent.AbstractFutureState", "<clinit>", "AtomicReferenceFieldUpdaterAtomicHelper is broken!", th);
        }
    }

    /* renamed from: ˏᵙ, reason: contains not printable characters */
    public final void m10835(C1406 c1406) {
        c1406.f5761 = null;
        while (true) {
            C1406 c14062 = this.f19493;
            if (c14062 != C1406.f5760) {
                C1406 c14063 = null;
                while (c14062 != null) {
                    C1406 c14064 = c14062.f5762;
                    if (c14062.f5761 != null) {
                        c14063 = c14062;
                    } else if (c14063 != null) {
                        c14063.f5762 = c14064;
                        if (c14063.f5761 == null) {
                            break;
                        }
                    } else if (!f19487.ˊᵸˊ(this, c14062, c14064)) {
                        break;
                    }
                    c14062 = c14064;
                }
                return;
            }
            return;
        }
    }

    /* renamed from: ᵻᵢﹳᵰ */
    public abstract Throwable mo9617();
}
