package defpackage;

import android.os.Looper;
import java.util.Arrays;
import java.util.Iterator;
import java.util.ServiceConfigurationError;

/* JADX INFO: renamed from: ᵼˆˏˈ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public abstract class AbstractC5264 {

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

    static {
        String property;
        int i = AbstractC0603.f2926;
        Object next = null;
        try {
            property = System.getProperty("kotlinx.coroutines.fast.service.loader");
        } catch (SecurityException unused) {
            property = null;
        }
        if (property != null) {
            Boolean.parseBoolean(property);
        }
        try {
            Iterator it = AbstractC1012.m3341(AbstractC1012.m3343(Arrays.asList(new C3536()).iterator())).iterator();
            if (it.hasNext()) {
                next = it.next();
                if (it.hasNext()) {
                    ((C3536) next).getClass();
                    do {
                        ((C3536) it.next()).getClass();
                    } while (it.hasNext());
                }
            }
            if (((C3536) next) == null) {
                ᵕᵩʽᵲ.ᵪᵹᵥᵻ("Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' and ensure it has the same version as 'kotlinx-coroutines-core'");
                return;
            }
            Looper mainLooper = Looper.getMainLooper();
            if (mainLooper != null) {
                f19902 = new C3338(AbstractC2300.m5922(mainLooper), false);
            } else {
                ᵕᵩʽᵲ.ᵪᵹᵥᵻ("The main looper is not available");
            }
        } catch (Throwable th) {
            throw new ServiceConfigurationError(th.getMessage(), th);
        }
    }
}
