static final synchronized AbstractToolkit createToolkit
	(int i, int i_168_, int i_169_, IndexLoader loader, int i_170_, d var_d,
	 Canvas canvas, int i_171_) {
	try {
	    anInt4576++;
	    if (i_170_ == i_171_)
		return Class348_Sub5.createSoftwareToolkit(true, i_168_, i_169_, canvas, var_d);
	    if (i_171_ == 2)
		return Class306.createSafeToolkit(-6, i_168_, var_d, canvas, i_169_);
	    if (i_171_ == 1)
		return Deque.createDirect3dToolkit(3, i, canvas, var_d);
	    if (i_171_ == 5)
		return Class93.createOpenglToolkit(canvas, var_d, loader, 25542, i);
	    if (i_171_ == 3)
		return Class96.createDirectxToolkit(i, i_170_ ^ 0x4a31, var_d, loader, canvas);
	    throw new IllegalArgumentException("UM");
	} catch (RuntimeException runtimeexception) {
	    throw Class348_Sub17.method2929
		      (runtimeexception,
		       ("ha.TJ(" + i + ',' + i_168_ + ',' + i_169_ + ','
			+ (loader != null ? "{...}" : "null") + ',' + i_170_
			+ ',' + (var_d != null ? "{...}" : "null") + ','
			+ (canvas != null ? "{...}" : "null") + ',' + i_171_
			+ ')'));
	}
    }