/* Class564 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.ListIterator;

public class Class564 {
	int anInt7319;
	boolean aBool7320;
	public List aList7321 = new LinkedList();
	int anInt7322;

	public void method12215() {
		Iterator iterator = aList7321.iterator();
		while (iterator.hasNext()) {
			Class568 class568 = (Class568) iterator.next();
			iterator.remove();
			Class294.method5931(class568, (byte) 1);
		}
	}

	public void method12216(byte i) {
		Iterator iterator = aList7321.iterator();
		while (iterator.hasNext()) {
			if (i >= 1)
				break;
			Class568 class568 = (Class568) iterator.next();
			iterator.remove();
			Class294.method5931(class568, (byte) 1);
		}
	}

	void method12217(Class568 class568, int i) {
		Class497_Sub1 class497_sub1 = class568.aClass497_Sub1_7350;
		boolean bool = true;
		Class95[] class95s = class568.aClass497_Sub1_7350.aClass95Array8405;
		for (int i_0_ = 0; i_0_ < class95s.length; i_0_++) {
			if (class95s[i_0_].aBool1377) {
				bool = false;
				break;
			}
		}
		if (!bool) {
			((Class568) class568).aClass564_7347 = this;
			if (((Class564) this).aBool7320) {
				Iterator iterator = aList7321.iterator();
				while (iterator.hasNext()) {
					Class568 class568_1_ = (Class568) iterator.next();
					if (class497_sub1 == class568_1_.aClass497_Sub1_7350) {
						iterator.remove();
						Class294.method5931(class568_1_, (byte) 1);
					}
				}
			}
			ListIterator listiterator = aList7321.listIterator();
			while (listiterator.hasNext()) {
				Class568 class568_2_ = (Class568) listiterator.next();
				if (((Class497_Sub1) class497_sub1).anInt8404 * 1274282421 >= (1274282421 * (((Class497_Sub1) class568_2_.aClass497_Sub1_7350).anInt8404))) {
					listiterator.previous();
					listiterator.add(class568);
					return;
				}
			}
			aList7321.add(class568);
		}
	}

	public void method12218() {
		Iterator iterator = aList7321.iterator();
		while (iterator.hasNext()) {
			Class568 class568 = (Class568) iterator.next();
			iterator.remove();
			Class294.method5931(class568, (byte) 1);
		}
	}

	public void method12219() {
		Iterator iterator = aList7321.iterator();
		while (iterator.hasNext()) {
			Class568 class568 = (Class568) iterator.next();
			iterator.remove();
			Class294.method5931(class568, (byte) 1);
		}
	}

	public void method12220() {
		Iterator iterator = aList7321.iterator();
		while (iterator.hasNext()) {
			Class568 class568 = (Class568) iterator.next();
			iterator.remove();
			Class294.method5931(class568, (byte) 1);
		}
	}

	void method12221(Class568 class568) {
		Class497_Sub1 class497_sub1 = class568.aClass497_Sub1_7350;
		boolean bool = true;
		Class95[] class95s = class568.aClass497_Sub1_7350.aClass95Array8405;
		for (int i = 0; i < class95s.length; i++) {
			if (class95s[i].aBool1377) {
				bool = false;
				break;
			}
		}
		if (!bool) {
			((Class568) class568).aClass564_7347 = this;
			if (((Class564) this).aBool7320) {
				Iterator iterator = aList7321.iterator();
				while (iterator.hasNext()) {
					Class568 class568_3_ = (Class568) iterator.next();
					if (class497_sub1 == class568_3_.aClass497_Sub1_7350) {
						iterator.remove();
						Class294.method5931(class568_3_, (byte) 1);
					}
				}
			}
			ListIterator listiterator = aList7321.listIterator();
			while (listiterator.hasNext()) {
				Class568 class568_4_ = (Class568) listiterator.next();
				if (((Class497_Sub1) class497_sub1).anInt8404 * 1274282421 >= (1274282421 * (((Class497_Sub1) class568_4_.aClass497_Sub1_7350).anInt8404))) {
					listiterator.previous();
					listiterator.add(class568);
					return;
				}
			}
			aList7321.add(class568);
		}
	}

	public void method12222() {
		Iterator iterator = aList7321.iterator();
		while (iterator.hasNext()) {
			Class568 class568 = (Class568) iterator.next();
			iterator.remove();
			Class294.method5931(class568, (byte) 1);
		}
	}

	Class564(boolean bool) {
		((Class564) this).aBool7320 = false;
		((Class564) this).anInt7319 = 0;
		((Class564) this).anInt7322 = 0;
		((Class564) this).aBool7320 = bool;
	}

	void method12223(Class568 class568) {
		Class497_Sub1 class497_sub1 = class568.aClass497_Sub1_7350;
		boolean bool = true;
		Class95[] class95s = class568.aClass497_Sub1_7350.aClass95Array8405;
		for (int i = 0; i < class95s.length; i++) {
			if (class95s[i].aBool1377) {
				bool = false;
				break;
			}
		}
		if (!bool) {
			((Class568) class568).aClass564_7347 = this;
			if (((Class564) this).aBool7320) {
				Iterator iterator = aList7321.iterator();
				while (iterator.hasNext()) {
					Class568 class568_5_ = (Class568) iterator.next();
					if (class497_sub1 == class568_5_.aClass497_Sub1_7350) {
						iterator.remove();
						Class294.method5931(class568_5_, (byte) 1);
					}
				}
			}
			ListIterator listiterator = aList7321.listIterator();
			while (listiterator.hasNext()) {
				Class568 class568_6_ = (Class568) listiterator.next();
				if (((Class497_Sub1) class497_sub1).anInt8404 * 1274282421 >= (1274282421 * (((Class497_Sub1) class568_6_.aClass497_Sub1_7350).anInt8404))) {
					listiterator.previous();
					listiterator.add(class568);
					return;
				}
			}
			aList7321.add(class568);
		}
	}

	static final void method12224(Class477 class477, byte i) {
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub10_8604.method13848(-801517137);
	}

	static final void method12225(Class477 class477, int i) {
		Class480 class480 = (((Class477) class477).aBool6510 ? ((Class477) class477).aClass480_6506 : ((Class477) class477).aClass480_6492);
		Class35 class35 = ((Class480) class480).aClass35_6531;
		Class118 class118 = ((Class480) class480).aClass118_6532;
		Class261.method5171(class35, class118, class477, -1793157128);
	}

	static byte method12226(int i, int i_7_, byte i_8_) {
		if (-1642219389 * Class523.aClass523_6978.anInt6986 != i)
			return (byte) 0;
		if (0 == (i_7_ & 0x1))
			return (byte) 1;
		return (byte) 2;
	}

	static int method12227(Class497_Sub1_Sub3_Sub5_Sub1 class497_sub1_sub3_sub5_sub1, byte i) {
		int i_9_ = class497_sub1_sub3_sub5_sub1.anInt11127 * -1781255499;
		Class555 class555 = class497_sub1_sub3_sub5_sub1.method17364((byte) 72);
		int i_10_ = class497_sub1_sub3_sub5_sub1.aClass436_Sub1_11067.method7869(19773074);
		while_136_: do {
			do {
				if (-1 != i_10_) {
					if (i != -1)
						throw new IllegalStateException();
					if (!class497_sub1_sub3_sub5_sub1.aClass436_Sub1_11067.aBool8318)
						break;
					if (i != -1)
						throw new IllegalStateException();
				}
				i_9_ = class497_sub1_sub3_sub5_sub1.anInt11119 * -4983295;
				break while_136_;
			} while (false);
			do {
				if (i_10_ != -1991782699 * class555.anInt7211) {
					if (i != -1) {
						/* empty */
					}
					if (i_10_ != class555.anInt7200 * -2072304315) {
						if (i != -1) {
							/* empty */
						}
						if (class555.anInt7244 * -1467726663 != i_10_) {
							if (i != -1) {
								/* empty */
							}
							if (i_10_ != class555.anInt7213 * -862588423)
								break;
							if (i != -1)
								throw new IllegalStateException();
						}
					}
				}
				i_9_ = 254641199 * class497_sub1_sub3_sub5_sub1.anInt11128;
				break while_136_;
			} while (false);
			if (i_10_ != class555.anInt7204 * -2101463867) {
				if (i != -1)
					throw new IllegalStateException();
				if (-119979771 * class555.anInt7215 != i_10_) {
					if (i != -1)
						throw new IllegalStateException();
					if (i_10_ != class555.anInt7216 * 2082824807) {
						if (i != -1)
							throw new IllegalStateException();
						if (i_10_ != class555.anInt7217 * -1351354327)
							break;
						if (i != -1)
							throw new IllegalStateException();
					}
				}
			}
			i_9_ = class497_sub1_sub3_sub5_sub1.anInt11126 * -282330889;
		} while (false);
		return i_9_;
	}

	public static Class74 method12228(int i, int i_11_) {
		if (-915842219 * ((Class74) Class74.aClass74_1105).anInt1104 == i)
			return Class74.aClass74_1105;
		if (((Class74) Class74.aClass74_1102).anInt1104 * -915842219 == i)
			return Class74.aClass74_1102;
		if (i == ((Class74) Class74.aClass74_1101).anInt1104 * -915842219)
			return Class74.aClass74_1101;
		if (i == -915842219 * ((Class74) Class74.aClass74_1099).anInt1104)
			return Class74.aClass74_1099;
		if (((Class74) Class74.aClass74_1103).anInt1104 * -915842219 == i)
			return Class74.aClass74_1103;
		if (i == -915842219 * ((Class74) Class74.aClass74_1100).anInt1104)
			return Class74.aClass74_1100;
		return null;
	}

	static final void method12229(Class477 class477, byte i) {
		int i_12_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class266.method5295((char) i_12_, 1051614473) ? 1 : 0;
	}

	public static Class457 method12230(int i) {
		if (Class14.aClass457_137 == null)
			return Class457.aClass457_6397;
		return Class14.aClass457_137;
	}
}
