static final AbstractToolkit createOpenglToolkit(Canvas canvas, d var_d, IndexLoader loader, int i,
			      int i_1_) {
	try {
	    anInt1532++;
	    if (!Class9.method215(27165))
		throw new RuntimeException("");
	    if (!Class348_Sub40_Sub19.method3098(i ^ ~0x158f, "jaggl"))
		throw new RuntimeException("");
	    OpenGL opengl = new OpenGL();
	    long l = opengl.init(canvas, 8, 8, 8, 24, 0, i_1_);
	    if (l == 0L)
		throw new RuntimeException("");
	    if (i != 25542)
		return null;
	    NativeOpenGlToolkit class377 = new NativeOpenGlToolkit(opengl, canvas, l, var_d, loader, i_1_);
	    class377.method3930((byte) 26);
	    return class377;
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929
		      (runtimeexception,
		       ("lt.D(" + (canvas != null ? "{...}" : "null") + ','
			+ (var_d != null ? "{...}" : "null") + ','
			+ (loader != null ? "{...}" : "null") + ',' + i + ','
			+ i_1_ + ')'));
	}
    }