static final Class145 method3431(GLToolkit gltoolkit, int i, Class210[] class210s) {
		anInt8099++;
		for (int i_12_ = i; (class210s.length ^ 0xffffffff) < (i_12_ ^ 0xffffffff); i_12_++) {
			if (class210s[i_12_] == null || class210s[i_12_].aLong2500 <= 0L) {
				return null;
			}
		}
		long l = OpenGL.glCreateProgramObjectARB();
		for (int i_13_ = 0; class210s.length > i_13_; i_13_++)
			OpenGL.glAttachObjectARB(l, class210s[i_13_].aLong2500);
		OpenGL.glLinkProgramARB(l);
		OpenGL.glGetObjectParameterivARB(l, 35714, Class78.anIntArray1030, 0);
		if ((Class78.anIntArray1030[0] ^ 0xffffffff) == -1) {
			if (Class78.anIntArray1030[0] == 0) {
				//System.out.println("Shader linking failed:");
			}
			OpenGL.glGetObjectParameterivARB(l, 35716, Class78.anIntArray1030, 1);
			if (Class78.anIntArray1030[1] > 1) {
				byte[] bs = new byte[Class78.anIntArray1030[1]];
				OpenGL.glGetInfoLogARB(l, Class78.anIntArray1030[1], Class78.anIntArray1030, 0, bs, 0);
				//System.out.println(new String(bs));
			}
			if (Class78.anIntArray1030[0] == 0) {
				for (int i_14_ = 0; class210s.length > i_14_; i_14_++)
					OpenGL.glDetachObjectARB(l, class210s[i_14_].aLong2500);
				OpenGL.glDeleteObjectARB(l);
				return null;
			}
		}
		return new Class145(gltoolkit, l, class210s);
	}