package kotlinx.coroutines.internal;

import p006b1.C0472b;
import p012d1.InterfaceC0633f;
import p039m1.C1470g;
import p060t1.AbstractC1669d1;
import p060t1.InterfaceC1665c0;

/* renamed from: kotlinx.coroutines.internal.r */
/* loaded from: classes.dex */
public final class C1379r extends AbstractC1669d1 implements InterfaceC1665c0 {

    /* renamed from: e */
    public final Throwable f3062e;

    /* renamed from: f */
    public final String f3063f;

    public C1379r(Throwable th, String str) {
        this.f3062e = th;
        this.f3063f = str;
    }

    @Override // p060t1.AbstractC1717u
    /* renamed from: f */
    public boolean mo477f(InterfaceC0633f interfaceC0633f) {
        m1488q();
        throw new C0472b();
    }

    @Override // p060t1.AbstractC1669d1
    /* renamed from: n */
    public AbstractC1669d1 mo476n() {
        return this;
    }

    @Override // p060t1.AbstractC1717u
    /* renamed from: p */
    public Void mo478d(InterfaceC0633f interfaceC0633f, Runnable runnable) {
        m1488q();
        throw new C0472b();
    }

    /* renamed from: q */
    public final Void m1488q() {
        String m1287j;
        if (this.f3062e == null) {
            C1378q.m1491d();
            throw new C0472b();
        }
        String str = this.f3063f;
        String str2 = "";
        if (str != null && (m1287j = C1470g.m1287j(". ", str)) != null) {
            str2 = m1287j;
        }
        throw new IllegalStateException(C1470g.m1287j("Module with the Main dispatcher had failed to initialize", str2), this.f3062e);
    }

    @Override // p060t1.AbstractC1669d1, p060t1.AbstractC1717u
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("Dispatchers.Main[missing");
        Throwable th = this.f3062e;
        sb.append(th != null ? C1470g.m1287j(", cause=", th) : "");
        sb.append(']');
        return sb.toString();
    }
}