package kotlinx.coroutines.internal;

/* JADX INFO: compiled from: r8-map-id-ae6aab8d9a1033945587ffdd1bc6222159522c1d66e66a2c4cecb065134dd0a6 */
/* JADX INFO: loaded from: E:\ios\vf_dex\classes3.dex */
@kotlin.Metadata(d1 = {"\u0000d\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u0003\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u0001\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\u0010\u0002\n\u0002\b\r\b\u0002\u0018\u00002\u00020\u00012\u00020\u0002B\u001d\u0012\b\u0010\u0004\u001a\u0004\u0018\u00010\u0003\u0012\n\b\u0002\u0010\u0006\u001a\u0004\u0018\u00010\u0005¢\u0006\u0004\b\u0007\u0010\bJ\u000f\u0010\n\u001a\u00020\tH\u0002¢\u0006\u0004\b\n\u0010\u000bJ\u0017\u0010\u000f\u001a\u00020\u000e2\u0006\u0010\r\u001a\u00020\fH\u0016¢\u0006\u0004\b\u000f\u0010\u0010J!\u0010\u0015\u001a\u00020\u00142\u0006\u0010\u0012\u001a\u00020\u00112\b\u0010\u0013\u001a\u0004\u0018\u00010\u0005H\u0016¢\u0006\u0004\b\u0015\u0010\u0016J+\u0010\u001d\u001a\u00020\u001c2\u0006\u0010\u0018\u001a\u00020\u00172\n\u0010\u001b\u001a\u00060\u0019j\u0002`\u001a2\u0006\u0010\r\u001a\u00020\fH\u0016¢\u0006\u0004\b\u001d\u0010\u001eJ#\u0010\u001f\u001a\u00020\t2\u0006\u0010\r\u001a\u00020\f2\n\u0010\u001b\u001a\u00060\u0019j\u0002`\u001aH\u0016¢\u0006\u0004\b\u001f\u0010 J%\u0010$\u001a\u00020\t2\u0006\u0010\u0018\u001a\u00020\u00172\f\u0010#\u001a\b\u0012\u0004\u0012\u00020\"0!H\u0016¢\u0006\u0004\b$\u0010%J\u000f\u0010&\u001a\u00020\u0005H\u0016¢\u0006\u0004\b&\u0010'R\u0016\u0010\u0004\u001a\u0004\u0018\u00010\u00038\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b(\u0010)R\u0016\u0010\u0006\u001a\u0004\u0018\u00010\u00058\u0002X\u0082\u0004¢\u0006\u0006\n\u0004\b*\u0010+R\u0014\u0010.\u001a\u00020\u00018VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b,\u0010-¨\u0006/"}, d2 = {"Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;", "Lkotlinx/coroutines/MainCoroutineDispatcher;", "Lkotlinx/coroutines/Delay;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "cause", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "errorHint", "<init>", "(Ljava/lang/Throwable;Ljava/lang/String;)V", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "X1", "()Ljava/lang/Void;", "Lkotlin/coroutines/CoroutineContext;", "context", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "W0", "(Lkotlin/coroutines/CoroutineContext;)Z", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "parallelism", "name", "Lkotlinx/coroutines/CoroutineDispatcher;", "q1", "(ILjava/lang/String;)Lkotlinx/coroutines/CoroutineDispatcher;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "timeMillis", "Ljava/lang/Runnable;", "Lkotlinx/coroutines/Runnable;", "block", "Lkotlinx/coroutines/DisposableHandle;", "z0", "(JLjava/lang/Runnable;Lkotlin/coroutines/CoroutineContext;)Lkotlinx/coroutines/DisposableHandle;", "W1", "(Lkotlin/coroutines/CoroutineContext;Ljava/lang/Runnable;)Ljava/lang/Void;", "Lkotlinx/coroutines/CancellableContinuation;", okhttp3.HttpUrl.FRAGMENT_ENCODE_SET, "continuation", "Y1", "(JLkotlinx/coroutines/CancellableContinuation;)Ljava/lang/Void;", "toString", "()Ljava/lang/String;", "c", "Ljava/lang/Throwable;", "d", "Ljava/lang/String;", "N1", "()Lkotlinx/coroutines/MainCoroutineDispatcher;", "immediate", "kotlinx-coroutines-core"}, k = 1, mv = {2, 1, 0}, xi = 48)
@kotlin.jvm.internal.SourceDebugExtension
final class MissingMainCoroutineDispatcher extends kotlinx.coroutines.MainCoroutineDispatcher implements kotlinx.coroutines.Delay {

    /* JADX INFO: renamed from: c, reason: from kotlin metadata */
    private final java.lang.Throwable cause;

    /* JADX INFO: renamed from: d, reason: from kotlin metadata */
    private final java.lang.String errorHint;

    public /* synthetic */ MissingMainCoroutineDispatcher(java.lang.Throwable th, java.lang.String str, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker) {
        this(th, (i & 2) != 0 ? null : str);
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.KotlinNothingValueException */
    /* JADX WARN: Code duplicated, block: B:8:0x0025  */
    private final java.lang.Void X1() throws kotlin.KotlinNothingValueException {
        java.lang.String str;
        if (this.cause == null) {
            kotlinx.coroutines.internal.MainDispatchersKt.d();
            throw new kotlin.KotlinNothingValueException();
        }
        java.lang.StringBuilder sb = new java.lang.StringBuilder();
        sb.append("Module with the Main dispatcher had failed to initialize");
        java.lang.String str2 = this.errorHint;
        if (str2 != null) {
            str = ". " + str2;
            if (str == null) {
                str = okhttp3.HttpUrl.FRAGMENT_ENCODE_SET;
            }
        } else {
            str = okhttp3.HttpUrl.FRAGMENT_ENCODE_SET;
        }
        sb.append(str);
        throw new java.lang.IllegalStateException(sb.toString(), this.cause);
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.KotlinNothingValueException */
    public boolean W0(kotlin.coroutines.CoroutineContext context) throws kotlin.KotlinNothingValueException {
        X1();
        throw new kotlin.KotlinNothingValueException();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.KotlinNothingValueException */
    /* JADX INFO: renamed from: W1, reason: merged with bridge method [inline-methods] */
    public java.lang.Void E0(kotlin.coroutines.CoroutineContext context, java.lang.Runnable block) throws kotlin.KotlinNothingValueException {
        X1();
        throw new kotlin.KotlinNothingValueException();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.KotlinNothingValueException */
    /* JADX INFO: renamed from: Y1, reason: merged with bridge method [inline-methods] */
    public java.lang.Void p0(long timeMillis, kotlinx.coroutines.CancellableContinuation continuation) throws kotlin.KotlinNothingValueException {
        X1();
        throw new kotlin.KotlinNothingValueException();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.KotlinNothingValueException */
    public kotlinx.coroutines.CoroutineDispatcher q1(int parallelism, java.lang.String name) throws kotlin.KotlinNothingValueException {
        X1();
        throw new kotlin.KotlinNothingValueException();
    }

    public java.lang.String toString() {
        java.lang.String str;
        java.lang.StringBuilder sb = new java.lang.StringBuilder();
        sb.append("Dispatchers.Main[missing");
        if (this.cause != null) {
            str = ", cause=" + this.cause;
        } else {
            str = okhttp3.HttpUrl.FRAGMENT_ENCODE_SET;
        }
        sb.append(str);
        sb.append(']');
        return sb.toString();
    }

    /* JADX INFO: Thrown type has an unknown type hierarchy: kotlin.KotlinNothingValueException */
    public kotlinx.coroutines.DisposableHandle z0(long timeMillis, java.lang.Runnable block, kotlin.coroutines.CoroutineContext context) throws kotlin.KotlinNothingValueException {
        X1();
        throw new kotlin.KotlinNothingValueException();
    }

    public MissingMainCoroutineDispatcher(java.lang.Throwable th, java.lang.String str) {
        this.cause = th;
        this.errorHint = str;
    }

    public kotlinx.coroutines.MainCoroutineDispatcher N1() {
        return this;
    }
}
