/* Class578 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.HashMap;
import java.util.Iterator;

class Class578 implements Runnable
{
    Class314_Sub2 this$0;
    static Class435 aClass435_7564;
    
    public void method12724() {
	try {
	    while (!((Class314_Sub2) ((Class578) this).this$0).aBool10237) {
		Iterator iterator = ((Class314_Sub2) ((Class578) this).this$0)
					.aList10240.iterator();
		while (iterator.hasNext()) {
		    Class573 class573 = (Class573) iterator.next();
		    class573.method12640(-1691109300);
		}
		HashMap hashmap
		    = ((Class578) this).this$0.method16681(1034490041);
		Iterator iterator_0_ = hashmap.keySet().iterator();
		while (iterator_0_.hasNext()) {
		    Class298 class298 = (Class298) iterator_0_.next();
		    if (!class298.aBool4338) {
			Class222[] class222s
			    = (Class222[]) hashmap.get(class298);
			for (int i = 0; i < class222s.length; i++)
			    class222s[i].method4484((byte) -3);
		    }
		}
		iterator_0_ = ((Class314_Sub2) ((Class578) this).this$0)
				  .aList10240.iterator();
		while (iterator_0_.hasNext()) {
		    Class573 class573 = (Class573) iterator_0_.next();
		    class573.method12641(-1946762036);
		}
		Class43.method1220(6L);
	    }
	} catch (Exception exception) {
	    Class14.method600(null, exception, 1875344510);
	    exception.printStackTrace();
	}
    }
    
    public void run() {
	try {
	    while (!((Class314_Sub2) ((Class578) this).this$0).aBool10237) {
		Iterator iterator = ((Class314_Sub2) ((Class578) this).this$0)
					.aList10240.iterator();
		while (iterator.hasNext()) {
		    Class573 class573 = (Class573) iterator.next();
		    class573.method12640(459072282);
		}
		HashMap hashmap
		    = ((Class578) this).this$0.method16681(39006042);
		Iterator iterator_1_ = hashmap.keySet().iterator();
		while (iterator_1_.hasNext()) {
		    Class298 class298 = (Class298) iterator_1_.next();
		    if (!class298.aBool4338) {
			Class222[] class222s
			    = (Class222[]) hashmap.get(class298);
			for (int i = 0; i < class222s.length; i++)
			    class222s[i].method4484((byte) -49);
		    }
		}
		iterator_1_ = ((Class314_Sub2) ((Class578) this).this$0)
				  .aList10240.iterator();
		while (iterator_1_.hasNext()) {
		    Class573 class573 = (Class573) iterator_1_.next();
		    class573.method12641(-510731366);
		}
		Class43.method1220(6L);
	    }
	} catch (Exception exception) {
	    Class14.method600(null, exception, 1490173984);
	    exception.printStackTrace();
	}
    }
    
    Class578(Class314_Sub2 class314_sub2) {
	((Class578) this).this$0 = class314_sub2;
    }
    
    public void method12725() {
	try {
	    while (!((Class314_Sub2) ((Class578) this).this$0).aBool10237) {
		Iterator iterator = ((Class314_Sub2) ((Class578) this).this$0)
					.aList10240.iterator();
		while (iterator.hasNext()) {
		    Class573 class573 = (Class573) iterator.next();
		    class573.method12640(126857041);
		}
		HashMap hashmap
		    = ((Class578) this).this$0.method16681(627507465);
		Iterator iterator_2_ = hashmap.keySet().iterator();
		while (iterator_2_.hasNext()) {
		    Class298 class298 = (Class298) iterator_2_.next();
		    if (!class298.aBool4338) {
			Class222[] class222s
			    = (Class222[]) hashmap.get(class298);
			for (int i = 0; i < class222s.length; i++)
			    class222s[i].method4484((byte) -8);
		    }
		}
		iterator_2_ = ((Class314_Sub2) ((Class578) this).this$0)
				  .aList10240.iterator();
		while (iterator_2_.hasNext()) {
		    Class573 class573 = (Class573) iterator_2_.next();
		    class573.method12641(-1064929614);
		}
		Class43.method1220(6L);
	    }
	} catch (Exception exception) {
	    Class14.method600(null, exception, 977080402);
	    exception.printStackTrace();
	}
    }
    
    public void method12726() {
	try {
	    while (!((Class314_Sub2) ((Class578) this).this$0).aBool10237) {
		Iterator iterator = ((Class314_Sub2) ((Class578) this).this$0)
					.aList10240.iterator();
		while (iterator.hasNext()) {
		    Class573 class573 = (Class573) iterator.next();
		    class573.method12640(-1519437007);
		}
		HashMap hashmap
		    = ((Class578) this).this$0.method16681(-660348297);
		Iterator iterator_3_ = hashmap.keySet().iterator();
		while (iterator_3_.hasNext()) {
		    Class298 class298 = (Class298) iterator_3_.next();
		    if (!class298.aBool4338) {
			Class222[] class222s
			    = (Class222[]) hashmap.get(class298);
			for (int i = 0; i < class222s.length; i++)
			    class222s[i].method4484((byte) -72);
		    }
		}
		iterator_3_ = ((Class314_Sub2) ((Class578) this).this$0)
				  .aList10240.iterator();
		while (iterator_3_.hasNext()) {
		    Class573 class573 = (Class573) iterator_3_.next();
		    class573.method12641(-1836947261);
		}
		Class43.method1220(6L);
	    }
	} catch (Exception exception) {
	    Class14.method600(null, exception, 1433375455);
	    exception.printStackTrace();
	}
    }
    
    public void method12727() {
	try {
	    while (!((Class314_Sub2) ((Class578) this).this$0).aBool10237) {
		Iterator iterator = ((Class314_Sub2) ((Class578) this).this$0)
					.aList10240.iterator();
		while (iterator.hasNext()) {
		    Class573 class573 = (Class573) iterator.next();
		    class573.method12640(475669052);
		}
		HashMap hashmap
		    = ((Class578) this).this$0.method16681(-516367544);
		Iterator iterator_4_ = hashmap.keySet().iterator();
		while (iterator_4_.hasNext()) {
		    Class298 class298 = (Class298) iterator_4_.next();
		    if (!class298.aBool4338) {
			Class222[] class222s
			    = (Class222[]) hashmap.get(class298);
			for (int i = 0; i < class222s.length; i++)
			    class222s[i].method4484((byte) -98);
		    }
		}
		iterator_4_ = ((Class314_Sub2) ((Class578) this).this$0)
				  .aList10240.iterator();
		while (iterator_4_.hasNext()) {
		    Class573 class573 = (Class573) iterator_4_.next();
		    class573.method12641(-514023514);
		}
		Class43.method1220(6L);
	    }
	} catch (Exception exception) {
	    Class14.method600(null, exception, 1429761774);
	    exception.printStackTrace();
	}
    }
    
    static final void method12728(Class117 class117, Class116 class116,
				  Class479 class479, int i) {
	String string = (String) (((Class479) class479).anObjectArray6437
				  [(((Class479) class479).anInt6432
				    -= -1049632545) * -611591393]);
	if (Class131.method3277(string, class479, (byte) -44) != null)
	    string = string.substring(0, string.length() - 1);
	class117.anObjectArray1474
	    = Class324.method6258(string, class479, -1162104649);
	class117.aBool1494 = true;
    }
    
    static final void method12729(Class479 class479, int i) {
	((Class479) class479).anInt6442 -= 819078199;
	int i_5_ = (((Class479) class479).anIntArray6435
		    [-117934955 * ((Class479) class479).anInt6442]);
	int i_6_ = (((Class479) class479).anIntArray6435
		    [1 + ((Class479) class479).anInt6442 * -117934955]);
	int i_7_ = (((Class479) class479).anIntArray6435
		    [2 + ((Class479) class479).anInt6442 * -117934955]);
	if (-1 == i_6_)
	    throw new RuntimeException();
	Class401 class401
	    = Class303.aClass616_4541.method13267(i_6_, 1630744336);
	if (i_5_ != class401.aChar5933)
	    throw new RuntimeException();
	int[] is = class401.method7276(Integer.valueOf(i_7_), (byte) -56);
	int i_8_ = 0;
	if (null != is)
	    i_8_ = is.length;
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = i_8_;
    }
    
    public static int method12730(int i, int i_9_) {
	int i_10_ = i >>> 1;
	i_10_ |= i_10_ >>> 1;
	i_10_ |= i_10_ >>> 2;
	i_10_ |= i_10_ >>> 4;
	i_10_ |= i_10_ >>> 8;
	i_10_ |= i_10_ >>> 16;
	return i & (i_10_ ^ 0xffffffff);
    }
    
    static final void method12731(Class479 class479, int i) {
	((Class479) class479).anInt6432 -= -2099265090;
	String string
	    = (String) (((Class479) class479).anObjectArray6437
			[((Class479) class479).anInt6432 * -611591393]);
	String string_11_
	    = (String) (((Class479) class479).anObjectArray6437
			[1 + ((Class479) class479).anInt6432 * -611591393]);
	((Class479) class479).anInt6442 -= 1977707898;
	int i_12_ = (((Class479) class479).anIntArray6435
		     [-117934955 * ((Class479) class479).anInt6442]);
	int i_13_ = (((Class479) class479).anIntArray6435
		     [-117934955 * ((Class479) class479).anInt6442 + 1]);
	if (null == string_11_)
	    string_11_ = "";
	if (string_11_.length() > 80)
	    string_11_ = string_11_.substring(0, 80);
	Class194 class194 = Class489.method11175(1749689597);
	Class243_Sub43 class243_sub43
	    = Class529.method11818(Class326.aClass326_4907,
				   class194.aClass432_2312, (short) 255);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14800
	    ((Class601.method13120(string, 1916269746) + 2
	      + Class601.method13120(string_11_, 1916269746)),
	     -1185116864);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14652(string,
							     (byte) -23);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14800(i_12_ - 1,
							     -502341026);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14800(i_13_, 72723128);
	class243_sub43.aClass243_Sub10_Sub1_9988.method14652(string_11_,
							     (byte) -96);
	class194.method4175(class243_sub43, (byte) 101);
    }
    
    static boolean method12732(byte i) {
	return client.aBool8237;
    }
}
