private final void method511(int i) {
	anInt1003++;
	for (Class348_Sub23 class348_sub23
		 = (Class348_Sub23) aClass356_1011.method3484(0);
	     class348_sub23 != null;
	     class348_sub23
		 = (Class348_Sub23) aClass356_1011.method3482(i + 2)) {
	    if (class348_sub23 != aClass348_Sub23_Sub2_1001) {
		while (((Class348_Sub23) class348_sub23)
			   .anOggStreamState6869.packetOut()
		       == 1)
		    class348_sub23.method2963(anOggPacket993, i ^ ~0x4001);
	    }
	}
	if (aClass348_Sub23_Sub2_1001 != null) {
	    if (i != -2)
		method518(null, (byte) 10);
	    for (int i_1_ = 0; (i_1_ ^ 0xffffffff) > -11 && method507(false);
		 i_1_++) {
		if ((((Class348_Sub23) aClass348_Sub23_Sub2_1001)
			 .anOggStreamState6869.packetOut()
		     ^ 0xffffffff)
		    != -2) {
		    method508(1);
		    break;
		}
		aClass348_Sub23_Sub2_1001.method2963(anOggPacket993, 16384);
	    }
	}
    }