package Y0;

import V4.C0772m;
import X0.AbstractC0791d;
import Z0.o;
import android.graphics.Typeface;

/* JADX INFO: loaded from: classes.dex */
public final class c extends android.support.v4.media.session.b {

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    public final /* synthetic */ C0772m f8708h;

    /* JADX INFO: renamed from: i, reason: collision with root package name */
    public final /* synthetic */ AbstractC0791d f8709i;

    public c(C0772m c0772m, AbstractC0791d abstractC0791d) {
        this.f8708h = c0772m;
        this.f8709i = abstractC0791d;
    }

    @Override // android.support.v4.media.session.b
    public final void y(int i6) {
        StringBuilder sb = new StringBuilder("Failed to load ");
        sb.append(this.f8709i);
        sb.append(" (reason=");
        sb.append(i6);
        sb.append(", ");
        this.f8708h.i(new IllegalStateException(o.r(sb, i6 != -4 ? i6 != -3 ? i6 != -2 ? i6 != -1 ? i6 != 1 ? i6 != 2 ? i6 != 3 ? "Unknown error code" : "The given query was not supported by this provider." : "The provider found the queried font, but it is currently unavailable." : "Font not found, please check availability on GoogleFont.Provider.AllFontsList: https://fonts.gstatic.com/s/a/directory.xml" : "The requested provider was not found on this device." : "The given provider cannot be authenticated with the certificates given." : "Generic error loading font, for example variation settings were not parsable" : "Font was not loaded due to security issues. This usually means the font was attempted to load in a restricted context", ')')));
    }

    @Override // android.support.v4.media.session.b
    public final void z(Typeface typeface) {
        this.f8708h.resumeWith(typeface);
    }
}
