package X6FRs_4.IMuAHx_6.IFxWkV_5;

import android.graphics.Typeface;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
/* compiled from: TypefaceCompatApi28Impl.java */
/* loaded from: classes.dex */
public class IMuAHx_6 extends IFxWkV_5 {
    @Override // X6FRs_4.IMuAHx_6.IFxWkV_5.IFxWkV_5
    public Typeface KQgRr5e_0(Object obj) {
        try {
            Object newInstance = Array.newInstance(((IFxWkV_5) this).QxJ9d_1, 1);
            Array.set(newInstance, 0, obj);
            return (Typeface) this.f3110IMuAHx_6.invoke(null, newInstance, "sans-serif", -1, -1);
        } catch (IllegalAccessException | InvocationTargetException e) {
            throw new RuntimeException(e);
        }
    }

    @Override // X6FRs_4.IMuAHx_6.IFxWkV_5.IFxWkV_5
    public Method Mqv2r_3(Class cls) throws NoSuchMethodException {
        Class cls2 = Integer.TYPE;
        Method declaredMethod = Typeface.class.getDeclaredMethod("createFromFamiliesWithDefault", Array.newInstance(cls, 1).getClass(), String.class, cls2, cls2);
        declaredMethod.setAccessible(true);
        return declaredMethod;
    }
}
