/* Class245 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */

public class Class245
{
    public static boolean aBool2821 = false;
    static int anInt2822;
    
    Class245() throws Throwable {
	throw new Error();
    }
    
    static final void method3489(Class612 class612, int i) {
	int i_0_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	Class211 class211 = Class156.method2513(i_0_, (short) -18964);
	Class203 class203 = Class163_Sub20.aClass203Array9719[i_0_ >> 16];
	Class504.method6250(class211, class203, true, 0, class612,
			    -1427802680);
    }
    
    static final void method3490(Class612 class612, int i) {
	int i_1_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = Class447.aClass487_Sub42_5156.aClass637_Sub18_10519
		  .method7602(i_1_, (byte) 55);
    }
    
    static final void method3491(Class590_Sub1 class590_sub1, int i,
				 boolean bool, int i_2_) {
	Class250.method3515(class590_sub1, i, false, bool, (byte) 102);
    }
    
    public static void method3492(int[] is, Object[] objects, int i, int i_3_,
				  byte i_4_) {
	if (i < i_3_) {
	    int i_5_ = (i + i_3_) / 2;
	    int i_6_ = i;
	    int i_7_ = is[i_5_];
	    is[i_5_] = is[i_3_];
	    is[i_3_] = i_7_;
	    Object object = objects[i_5_];
	    objects[i_5_] = objects[i_3_];
	    objects[i_3_] = object;
	    int i_8_ = i_7_ == 2147483647 ? 0 : 1;
	    for (int i_9_ = i; i_9_ < i_3_; i_9_++) {
		if (is[i_9_] < (i_9_ & i_8_) + i_7_) {
		    int i_10_ = is[i_9_];
		    is[i_9_] = is[i_6_];
		    is[i_6_] = i_10_;
		    Object object_11_ = objects[i_9_];
		    objects[i_9_] = objects[i_6_];
		    objects[i_6_++] = object_11_;
		}
	    }
	    is[i_3_] = is[i_6_];
	    is[i_6_] = i_7_;
	    objects[i_3_] = objects[i_6_];
	    objects[i_6_] = object;
	    method3492(is, objects, i, i_6_ - 1, (byte) 0);
	    method3492(is, objects, 1 + i_6_, i_3_, (byte) -38);
	}
    }
}
