package ඓ.ῲ.K.䁗;

import java.lang.reflect.InvocationTargetException;

@Deprecated
/* renamed from: ඓ.ῲ.K.䁗.ඓ  reason: contains not printable characters */
/* compiled from: ManifestParser */
public final class C1223 {
    /* renamed from: K  reason: contains not printable characters */
    public static AbstractC1222 m3295(String str) {
        Class cls;
        Class cls2;
        Class cls3;
        Class cls4;
        try {
            try {
                Object newInstance = Class.forName(str).getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
                if (newInstance instanceof AbstractC1222) {
                    return (AbstractC1222) newInstance;
                }
                throw new RuntimeException("Expected instanceof GlideModule, but found: " + newInstance);
            } catch (InstantiationException e) {
                m3296(cls, e);
                throw null;
            } catch (IllegalAccessException e2) {
                m3296(cls2, e2);
                throw null;
            } catch (NoSuchMethodException e3) {
                m3296(cls3, e3);
                throw null;
            } catch (InvocationTargetException e4) {
                m3296(cls4, e4);
                throw null;
            }
        } catch (ClassNotFoundException e5) {
            throw new IllegalArgumentException("Unable to find GlideModule implementation", e5);
        }
    }

    /* renamed from: K  reason: contains not printable characters */
    public static void m3296(Class<?> cls, Exception exc) {
        throw new RuntimeException("Unable to instantiate GlideModule implementation for " + cls, exc);
    }
}
