package 㴹.K.ᕣ.K;

import android.os.Handler;
import android.os.Looper;
import java.util.concurrent.Callable;
import ඓ.ⁱ.K.ඓ.C1252;
import 㴹.K.AbstractC2508;
import 㴹.K.䁗.AbstractC2521;

/* renamed from: 㴹.K.ᕣ.K.K  reason: contains not printable characters */
/* compiled from: AndroidSchedulers */
public final class C2505 {

    /* renamed from: K  reason: contains not printable characters */
    public static final AbstractC2508 f8509;

    /* renamed from: 㴹.K.ᕣ.K.K$ῲ  reason: contains not printable characters */
    /* compiled from: AndroidSchedulers */
    public static final class C2506 {

        /* renamed from: K  reason: contains not printable characters */
        public static final AbstractC2508 f8510 = new C2502(new Handler(Looper.getMainLooper()));
    }

    /* renamed from: 㴹.K.ᕣ.K.K$K  reason: contains not printable characters */
    /* compiled from: AndroidSchedulers */
    public static class CallableC2507 implements Callable<AbstractC2508> {
        /* Return type fixed from 'java.lang.Object' to match base method */
        @Override // java.util.concurrent.Callable
        public AbstractC2508 call() throws Exception {
            return C2506.f8510;
        }
    }

    static {
        AbstractC2508 r0;
        CallableC2507 k = new CallableC2507();
        AbstractC2521<Callable<AbstractC2508>, AbstractC2508> r1 = C1252.f4929;
        if (r1 == null) {
            try {
                r0 = (AbstractC2508) k.call();
                if (r0 == null) {
                    throw new NullPointerException("Scheduler Callable returned null");
                }
            } catch (Throwable th) {
                C1252.m3332(th);
                throw null;
            }
        } else {
            r0 = (AbstractC2508) C1252.m3338((AbstractC2521) r1, (Object) k);
            if (r0 == null) {
                throw new NullPointerException("Scheduler Callable returned null");
            }
        }
        f8509 = r0;
    }

    /* renamed from: K  reason: contains not printable characters */
    public static AbstractC2508 m6549() {
        AbstractC2508 r0 = f8509;
        if (r0 != null) {
            AbstractC2521<AbstractC2508, AbstractC2508> r1 = C1252.f4927;
            return r1 == null ? r0 : (AbstractC2508) C1252.m3338(r1, r0);
        }
        throw new NullPointerException("scheduler == null");
    }
}
