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

public class Class524 {
	static boolean aBool6989 = false;
	static final int anInt6990 = -1;
	static final int anInt6991 = 2;
	static final int anInt6992 = 1;
	static Class533_Sub1[] aClass533_Sub1Array6993;
	public static int anInt6994;
	public static int anInt6995;
	public static int anInt6996;

	static void method11680(Class587_Sub4 class587_sub4) {
		for (int i = 0; i < Class292.anInt4298 * -230122027; i++) {
			int i_0_ = class587_sub4.method14247(1991324088);
			int i_1_ = class587_sub4.method14191((byte) -9);
			if (65535 == i_1_)
				i_1_ = -1;
			if (aClass533_Sub1Array6993[i_0_] != null)
				aClass533_Sub1Array6993[i_0_].anInt7054 = -1354826607 * i_1_;
		}
	}

	Class524() throws Throwable {
		throw new Error();
	}

	public static Class533_Sub1 method11681(int i) {
		if (!aBool6989 || i < Class216.anInt2588 * -600624501 || i > anInt6994 * 733096455)
			return null;
		return aClass533_Sub1Array6993[i - Class216.anInt2588 * -600624501];
	}

	public static boolean method11682(byte[] is) {
		Class587_Sub4 class587_sub4 = new Class587_Sub4(is);
		int i = class587_sub4.method14349(-1130636365);
		if (i != 2)
			return false;
		boolean bool = class587_sub4.method14349(-1130636365) == 1;
		if (bool)
			Class236.method4669(class587_sub4, -1757277881);
		Class601.method12919(class587_sub4, 1366144097);
		return true;
	}

	public static Class533_Sub1 method11683(int i) {
		if (!aBool6989 || i < Class216.anInt2588 * -600624501 || i > anInt6994 * 733096455)
			return null;
		return aClass533_Sub1Array6993[i - Class216.anInt2588 * -600624501];
	}

	public static Class533_Sub1 method11684(int i) {
		if (!aBool6989 || i < Class216.anInt2588 * -600624501 || i > anInt6994 * 733096455)
			return null;
		return aClass533_Sub1Array6993[i - Class216.anInt2588 * -600624501];
	}

	static void method11685(long[] ls, Object[] objects, int i, int i_2_, byte i_3_) {
		if (i < i_2_) {
			int i_4_ = (i + i_2_) / 2;
			int i_5_ = i;
			long l = ls[i_4_];
			ls[i_4_] = ls[i_2_];
			ls[i_2_] = l;
			Object object = objects[i_4_];
			objects[i_4_] = objects[i_2_];
			objects[i_2_] = object;
			int i_6_ = 9223372036854775807L == l ? 0 : 1;
			for (int i_7_ = i; i_7_ < i_2_; i_7_++) {
				if (ls[i_7_] < l + (long) (i_7_ & i_6_)) {
					long l_8_ = ls[i_7_];
					ls[i_7_] = ls[i_5_];
					ls[i_5_] = l_8_;
					Object object_9_ = objects[i_7_];
					objects[i_7_] = objects[i_5_];
					objects[i_5_++] = object_9_;
				}
			}
			ls[i_2_] = ls[i_5_];
			ls[i_5_] = l;
			objects[i_2_] = objects[i_5_];
			objects[i_5_] = object;
			method11685(ls, objects, i, i_5_ - 1, (byte) 1);
			method11685(ls, objects, i_5_ + 1, i_2_, (byte) 1);
		}
	}

	static final void method11686(Class477 class477, int i) {
		((Class477) class477).anInt6498 -= 436935797;
		int i_10_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]);
		int i_11_ = (((Class477) class477).anIntArray6497[1 + ((Class477) class477).anInt6498 * 2028895127]);
		int i_12_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498 + 2]);
		if (-1 == i_11_)
			throw new RuntimeException();
		Class418 class418 = client.aClass398_8099.method7145(i_11_, (byte) -112);
		if (i_10_ != class418.aChar6142)
			throw new RuntimeException();
		int[] is = class418.method7566(Integer.valueOf(i_12_), (byte) 1);
		int i_13_ = 0;
		if (is != null)
			i_13_ = is.length;
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = i_13_;
	}

	static final void method11687(Class477 class477, int i) {
		int i_14_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		Class587_Sub34_Sub12 class587_sub34_sub12 = Class92_Sub7.aClass401_8715.method7178(i_14_, (byte) 106);
		if (class587_sub34_sub12.anIntArray10739 == null)
			((Class477) class477).anIntArray6497[((((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1)] = 0;
		else
			((Class477) class477).anIntArray6497[((((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1)] = class587_sub34_sub12.anIntArray10739.length;
	}

	static final void method11688(Class477 class477, byte i) {
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub26_8613.method14043((byte) -13) ? 1 : 0;
	}
}
