package defpackage;

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

/* JADX INFO: renamed from: ᵕˎ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC2315 implements InterfaceFutureC1876 {

    /* JADX INFO: renamed from: ˈᵲᵢ, reason: contains not printable characters */
    public static final ᵥˈᵛ f9102;

    /* JADX INFO: renamed from: ᵨᵼⁱ, reason: contains not printable characters */
    public static final Object f9103 = new Object();

    /* JADX INFO: renamed from: ᵯᵷʽ, reason: contains not printable characters */
    public static final C4899 f9104 = new C4899(2, C2609.class);

    /* JADX INFO: renamed from: ᵶˇᵱ, reason: contains not printable characters */
    public static final boolean f9105;

    /* JADX INFO: renamed from: ˌᴵ, reason: contains not printable characters */
    public volatile Object f9106;

    /* JADX INFO: renamed from: ᵔᵖᵹᵫ, reason: contains not printable characters */
    public volatile C5207 f9107;

    /* JADX INFO: renamed from: ᵜᵪʾ, reason: contains not printable characters */
    public volatile C1684 f9108;

    static {
        boolean z;
        ᵥˈᵛ c0668;
        Throwable th;
        Throwable th2;
        try {
            z = Boolean.parseBoolean(System.getProperty("guava.concurrent.generate_cancellation_cause", "false"));
        } catch (SecurityException unused) {
            z = false;
        }
        f9105 = z;
        String property = System.getProperty("java.runtime.name", "");
        Throwable th3 = null;
        if (property == null || property.contains("Android")) {
            try {
                c0668 = new C1830();
            } catch (Error | Exception e) {
                try {
                    c0668 = new C0128();
                } catch (Error | Exception e2) {
                    th3 = e2;
                    c0668 = new C0668();
                }
                th = th3;
                th2 = e;
            }
        } else {
            try {
                c0668 = new C0128();
            } catch (NoClassDefFoundError unused2) {
                c0668 = new C0668();
            }
        }
        th = null;
        th2 = null;
        f9102 = c0668;
        if (th != null) {
            C4899 c4899 = f9104;
            Logger loggerM10178 = c4899.m10178();
            Level level = Level.SEVERE;
            loggerM10178.logp(level, "com.google.common.util.concurrent.AbstractFutureState", "<clinit>", "UnsafeAtomicHelper is broken!", th2);
            c4899.m10178().logp(level, "com.google.common.util.concurrent.AbstractFutureState", "<clinit>", "AtomicReferenceFieldUpdaterAtomicHelper is broken!", th);
        }
    }

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final void m5957(C5207 c5207) {
        c5207.f19622 = null;
        while (true) {
            C5207 c52072 = this.f9107;
            if (c52072 != C5207.f19620) {
                C5207 c52073 = null;
                while (c52072 != null) {
                    C5207 c52074 = c52072.f19621;
                    if (c52072.f19622 != null) {
                        c52073 = c52072;
                    } else if (c52073 != null) {
                        c52073.f19621 = c52074;
                        if (c52073.f19622 == null) {
                            break;
                        }
                    } else if (!f9102.ᵬᵦˋ(this, c52072, c52074)) {
                        break;
                    }
                    c52072 = c52074;
                }
                return;
            }
            return;
        }
    }

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public abstract Throwable mo5958();
}
