package defpackage;

import j$.util.Objects;
import java.util.concurrent.atomic.AtomicReference;

/* renamed from: ᵠᵘˊˀ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class RunnableC3131 implements Runnable {

    /* renamed from: ᵢˇᵭ, reason: contains not printable characters */
    public final /* synthetic */ AtomicReference f11912;

    /* renamed from: ᵧᵾˀˈ, reason: contains not printable characters */
    public final /* synthetic */ int f11913;

    /* renamed from: ᵿʗᵝʽ, reason: contains not printable characters */
    public final /* synthetic */ C1757 f11914;

    public RunnableC3131(C1757 c1757, AtomicReference atomicReference, int i) {
        this.f11913 = i;
        switch (i) {
            case 1:
                this.f11912 = atomicReference;
                Objects.requireNonNull(c1757);
                this.f11914 = c1757;
                break;
            case 2:
                this.f11912 = atomicReference;
                Objects.requireNonNull(c1757);
                this.f11914 = c1757;
                break;
            case 3:
                this.f11914 = c1757;
                this.f11912 = atomicReference;
                break;
            default:
                this.f11912 = atomicReference;
                Objects.requireNonNull(c1757);
                this.f11914 = c1757;
                break;
        }
    }

    /* renamed from: ᵥᵯˎ, reason: contains not printable characters */
    private final void m7483() {
        AtomicReference atomicReference = this.f11912;
        synchronized (atomicReference) {
            try {
                try {
                    C4205 c4205 = (C4205) ((ᵢˇᵭ) this.f11914).ᵧᵾˀˈ;
                    atomicReference.set(c4205.f15726.m5352(c4205.m9143().m9462(), AbstractC5018.f18719));
                } finally {
                    this.f11912.notify();
                }
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    /* renamed from: ᵴᵳ, reason: contains not printable characters */
    private final void m7484() {
        AtomicReference atomicReference = this.f11912;
        synchronized (atomicReference) {
            try {
                try {
                    C4205 c4205 = (C4205) ((ᵢˇᵭ) this.f11914).ᵧᵾˀˈ;
                    atomicReference.set(Integer.valueOf(c4205.f15726.m5346(c4205.m9143().m9462(), AbstractC5018.f18671)));
                } finally {
                    this.f11912.notify();
                }
            } catch (Throwable th) {
                throw th;
            }
        }
    }

    @Override // java.lang.Runnable
    public final void run() {
        switch (this.f11913) {
            case 0:
                AtomicReference atomicReference = this.f11912;
                synchronized (atomicReference) {
                    try {
                        try {
                            C4205 c4205 = (C4205) ((ᵢˇᵭ) this.f11914).ᵧᵾˀˈ;
                            atomicReference.set(Boolean.valueOf(c4205.f15726.m5353(c4205.m9143().m9462(), AbstractC5018.f18642)));
                        } finally {
                            this.f11912.notify();
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                }
                return;
            case 1:
                m7483();
                return;
            case 2:
                m7484();
                return;
            default:
                C0323 c0323M9136 = ((C4205) ((ᵢˇᵭ) this.f11914).ᵧᵾˀˈ).m9136();
                C0418 c0418M1917 = C0418.m1917(EnumC5322.f19911);
                AtomicReference atomicReference2 = this.f11912;
                c0323M9136.m6590();
                c0323M9136.m3663();
                c0323M9136.m1733(new RunnableC5068(c0323M9136, atomicReference2, c0323M9136.m1732(false), c0418M1917, 12, false));
                return;
        }
    }
}
