/* Class519 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.ArrayList;
import java.util.List;

public class Class519 implements Interface54 {
	boolean aBool6937;
	Class522 aClass522_6938 = Class522.aClass522_6959;
	int anInt6939;
	int anInt6940;
	Interface52 anInterface52_6941;
	byte[] aByteArray6942;
	boolean aBool6943;
	Class113 aClass113_6944;
	Class310 aClass310_6945;
	Class279 aClass279_6946;

	void method11644() {
		/* empty */
	}

	public Class215 method367(byte i) {
		return Class215.aClass215_2573;
	}

	public Class206 method393(int i) {
		Class206 class206 = new Class206(((Class519) this).aClass310_6945);
		class206.method4293(this, 1527678478);
		return class206;
	}

	public Class519(Class279 class279, int i, Class310 class310, Interface52 interface52, Class113 class113) {
		((Class519) this).aClass279_6946 = class279;
		((Class519) this).anInt6939 = i * -465723263;
		((Class519) this).aClass310_6945 = class310;
		((Class519) this).anInterface52_6941 = interface52;
		((Class519) this).aClass113_6944 = class113;
		((Class519) this).aBool6937 = null != ((Class519) this).aClass113_6944;
		((Class519) this).aClass522_6938 = Class522.aClass522_6960;
	}

	public boolean method366(byte i) {
		return false;
	}

	void method11645(int i) {
		/* empty */
	}

	public Class215 method404() {
		return Class215.aClass215_2573;
	}

	public int method394(int i) {
		if (((Class519) this).aByteArray6942 != null)
			return ((Class519) this).aByteArray6942.length;
		return 0;
	}

	public boolean method403() {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		List list = method11647(-52331112);
		if (null == list || list.size() <= 0)
			((Class519) this).aBool6943 = false;
		return ((Class519) this).aBool6943;
	}

	public int method372(byte i) {
		return -717054079 * ((Class519) this).anInt6939;
	}

	public void method40() {
		if (((Class519) this).aClass522_6938 == Class522.aClass522_6960) {
			byte[] is = (((Class519) this).aClass279_6946.method5587(((Class519) this).anInt6939 * -717054079, 2028895127));
			if (null != is) {
				((Class519) this).aByteArray6942 = is;
				method11645(458423769);
				((Class519) this).aClass522_6938 = Class522.aClass522_6961;
				if (((Class519) this).anInterface52_6941 != null)
					((Class519) this).anInterface52_6941.method354(this, is.length, -717054079 * ((Class519) this).anInt6939, false, -742391787);
			}
		}
	}

	public Class587_Sub4 method373(int i, int i_0_) {
		if (null == ((Class519) this).aClass113_6944)
			return null;
		Class587_Sub4 class587_sub4 = null;
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 71);
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-321280710);
			if (list.size() > i)
				class587_sub4 = (Class587_Sub4) list.get(i);
		}
		return class587_sub4;
	}

	public boolean method371(int i, int i_1_) {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		boolean bool = false;
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-406895553);
			if (null != list && list.size() > i)
				bool = list.get(i) != null;
		}
		return bool;
	}

	public boolean method374(int i) {
		return (null != ((Class519) this).aClass113_6944 && ((Class519) this).aBool6937);
	}

	public int method376(byte i) {
		if (null == ((Class519) this).aClass113_6944)
			return 0;
		int i_2_ = 0;
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-704986433);
			if (list != null)
				i_2_ = list.size();
		}
		return i_2_;
	}

	public void method377(boolean bool, byte i) {
		if (((Class519) this).anInterface52_6941 != null)
			((Class519) this).anInterface52_6941.method355(this, (byte) 81);
		((Class519) this).aBool6943 = bool;
	}

	public boolean method378(int i) {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		List list = method11647(-1099523428);
		if (null == list || list.size() <= 0)
			((Class519) this).aBool6943 = false;
		return ((Class519) this).aBool6943;
	}

	void method11646(List list, int i, short i_3_) {
		if (null != ((Class519) this).aClass113_6944 && null != list && i >= 0) {
			synchronized (((Class519) this).aClass113_6944) {
				((Class519) this).aClass113_6944.method2670((long) (((Class519) this).anInt6939 * -717054079));
				if (i <= ((Class519) this).aClass113_6944.method2654((byte) -115))
					((Class519) this).aClass113_6944.method2672(list, (long) (((Class519) this).anInt6939 * -717054079), i, 941711651);
				else {
					((Class519) this).aBool6937 = false;
					((Class519) this).aBool6943 = false;
					((Class519) this).anInt6940 = 0;
				}
			}
		}
	}

	List method11647(int i) {
		if (null == ((Class519) this).aClass113_6944 || !((Class519) this).aBool6937)
			return null;
		Object object = null;
		List list;
		synchronized (((Class519) this).aClass113_6944) {
			list = (List) (((Class519) this).aClass113_6944.method2636((long) (((Class519) this).anInt6939 * -717054079)));
			if (list == null && ((Class519) this).aBool6937) {
				list = new ArrayList();
				((Class519) this).aClass113_6944.method2672(list, (long) (-717054079 * ((Class519) this).anInt6939), 0, 941711651);
			}
		}
		return list;
	}

	public boolean method402() {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		List list = method11647(407026002);
		if (null == list || list.size() <= 0)
			((Class519) this).aBool6943 = false;
		return ((Class519) this).aBool6943;
	}

	public int method390() {
		return -717054079 * ((Class519) this).anInt6939;
	}

	public Class522 method381() {
		return ((Class519) this).aClass522_6938;
	}

	public Class522 method382() {
		return ((Class519) this).aClass522_6938;
	}

	public void method22(int i) {
		if (((Class519) this).aClass522_6938 == Class522.aClass522_6960) {
			byte[] is = (((Class519) this).aClass279_6946.method5587(((Class519) this).anInt6939 * -717054079, 2028895127));
			if (null != is) {
				((Class519) this).aByteArray6942 = is;
				method11645(931823619);
				((Class519) this).aClass522_6938 = Class522.aClass522_6961;
				if (((Class519) this).anInterface52_6941 != null)
					((Class519) this).anInterface52_6941.method354(this, is.length, -717054079 * ((Class519) this).anInt6939, false, -1677982204);
			}
		}
	}

	public boolean method384() {
		return false;
	}

	void method11648() {
		/* empty */
	}

	public Class587_Sub4 method391(int i) {
		if (null == ((Class519) this).aClass113_6944)
			return null;
		Class587_Sub4 class587_sub4 = null;
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 52);
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(1352982669);
			if (list.size() > i)
				class587_sub4 = (Class587_Sub4) list.get(i);
		}
		return class587_sub4;
	}

	void method11649() {
		/* empty */
	}

	public byte[] method385(int i) {
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 19);
		return ((Class519) this).aByteArray6942;
	}

	public int method405() {
		if (((Class519) this).aByteArray6942 != null)
			return ((Class519) this).aByteArray6942.length;
		return 0;
	}

	List method11650() {
		if (null == ((Class519) this).aClass113_6944 || !((Class519) this).aBool6937)
			return null;
		Object object = null;
		List list;
		synchronized (((Class519) this).aClass113_6944) {
			list = (List) (((Class519) this).aClass113_6944.method2636((long) (((Class519) this).anInt6939 * -717054079)));
			if (list == null && ((Class519) this).aBool6937) {
				list = new ArrayList();
				((Class519) this).aClass113_6944.method2672(list, (long) (-717054079 * ((Class519) this).anInt6939), 0, 941711651);
			}
		}
		return list;
	}

	public int method388() {
		if (((Class519) this).aByteArray6942 != null)
			return ((Class519) this).aByteArray6942.length;
		return 0;
	}

	public Class522 method398(int i) {
		return ((Class519) this).aClass522_6938;
	}

	public Class587_Sub4 method380(int i) {
		if (null == ((Class519) this).aClass113_6944)
			return null;
		Class587_Sub4 class587_sub4 = null;
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 121);
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-414255120);
			if (list.size() > i)
				class587_sub4 = (Class587_Sub4) list.get(i);
		}
		return class587_sub4;
	}

	public Class206 method370() {
		Class206 class206 = new Class206(((Class519) this).aClass310_6945);
		class206.method4293(this, 1624230542);
		return class206;
	}

	public Class522 method406() {
		return ((Class519) this).aClass522_6938;
	}

	public Class587_Sub4 method386(int i) {
		if (null == ((Class519) this).aClass113_6944)
			return null;
		Class587_Sub4 class587_sub4 = null;
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 121);
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-489529659);
			if (list.size() > i)
				class587_sub4 = (Class587_Sub4) list.get(i);
		}
		return class587_sub4;
	}

	public Class587_Sub4 method400(int i) {
		if (null == ((Class519) this).aClass113_6944)
			return null;
		Class587_Sub4 class587_sub4 = null;
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 64);
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(1157612816);
			if (list.size() > i)
				class587_sub4 = (Class587_Sub4) list.get(i);
		}
		return class587_sub4;
	}

	public boolean method395(int i) {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		boolean bool = false;
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-172984207);
			if (null != list && list.size() > i)
				bool = list.get(i) != null;
		}
		return bool;
	}

	public boolean method396(int i) {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		boolean bool = false;
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(934183724);
			if (null != list && list.size() > i)
				bool = list.get(i) != null;
		}
		return bool;
	}

	public void method401(boolean bool) {
		if (((Class519) this).anInterface52_6941 != null)
			((Class519) this).anInterface52_6941.method355(this, (byte) 72);
		((Class519) this).aBool6943 = bool;
	}

	public boolean method379() {
		return (null != ((Class519) this).aClass113_6944 && ((Class519) this).aBool6937);
	}

	public int method399() {
		if (null == ((Class519) this).aClass113_6944)
			return 0;
		int i = 0;
		synchronized (((Class519) this).aClass113_6944) {
			List list = method11647(-822821808);
			if (list != null)
				i = list.size();
		}
		return i;
	}

	public boolean method397() {
		return (null != ((Class519) this).aClass113_6944 && ((Class519) this).aBool6937);
	}

	public byte[] method389(int i, byte i_4_) {
		if (null != ((Class519) this).anInterface52_6941)
			((Class519) this).anInterface52_6941.method355(this, (byte) 122);
		return ((Class519) this).aByteArray6942;
	}

	public void method368(boolean bool) {
		if (((Class519) this).anInterface52_6941 != null)
			((Class519) this).anInterface52_6941.method355(this, (byte) 76);
		((Class519) this).aBool6943 = bool;
	}

	public int method387() {
		if (((Class519) this).aByteArray6942 != null)
			return ((Class519) this).aByteArray6942.length;
		return 0;
	}

	public boolean method383() {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		List list = method11647(1773626910);
		if (null == list || list.size() <= 0)
			((Class519) this).aBool6943 = false;
		return ((Class519) this).aBool6943;
	}

	public boolean method375() {
		if (((Class519) this).aClass113_6944 == null)
			return false;
		List list = method11647(-937209898);
		if (null == list || list.size() <= 0)
			((Class519) this).aBool6943 = false;
		return ((Class519) this).aBool6943;
	}

	void method11651(List list, int i) {
		if (null != ((Class519) this).aClass113_6944 && null != list && i >= 0) {
			synchronized (((Class519) this).aClass113_6944) {
				((Class519) this).aClass113_6944.method2670((long) (((Class519) this).anInt6939 * -717054079));
				if (i <= ((Class519) this).aClass113_6944.method2654((byte) -8))
					((Class519) this).aClass113_6944.method2672(list, (long) (((Class519) this).anInt6939 * -717054079), i, 941711651);
				else {
					((Class519) this).aBool6937 = false;
					((Class519) this).aBool6943 = false;
					((Class519) this).anInt6940 = 0;
				}
			}
		}
	}

	List method11652() {
		if (null == ((Class519) this).aClass113_6944 || !((Class519) this).aBool6937)
			return null;
		Object object = null;
		List list;
		synchronized (((Class519) this).aClass113_6944) {
			list = (List) (((Class519) this).aClass113_6944.method2636((long) (((Class519) this).anInt6939 * -717054079)));
			if (list == null && ((Class519) this).aBool6937) {
				list = new ArrayList();
				((Class519) this).aClass113_6944.method2672(list, (long) (-717054079 * ((Class519) this).anInt6939), 0, 941711651);
			}
		}
		return list;
	}

	public void method392(Class587_Sub4 class587_sub4, int i) {
		if (null != ((Class519) this).aClass113_6944) {
			if (((Class519) this).anInterface52_6941 != null)
				((Class519) this).anInterface52_6941.method355(this, (byte) 115);
			if (((Class519) this).aBool6943)
				throw new RuntimeException("");
			synchronized (((Class519) this).aClass113_6944) {
				List list = method11647(-152139783);
				if (null != list) {
					list.add(class587_sub4);
					((Class519) this).anInt6940 += class587_sub4.aByteArray8460.length * 1746746449;
					method11646(list, -809661263 * ((Class519) this).anInt6940, (short) -28157);
				}
			}
		}
	}

	public void method369(Class587_Sub4 class587_sub4) {
		if (null != ((Class519) this).aClass113_6944) {
			if (((Class519) this).anInterface52_6941 != null)
				((Class519) this).anInterface52_6941.method355(this, (byte) 6);
			if (((Class519) this).aBool6943)
				throw new RuntimeException("");
			synchronized (((Class519) this).aClass113_6944) {
				List list = method11647(-839928843);
				if (null != list) {
					list.add(class587_sub4);
					((Class519) this).anInt6940 += class587_sub4.aByteArray8460.length * 1746746449;
					method11646(list, -809661263 * ((Class519) this).anInt6940, (short) -8349);
				}
			}
		}
	}

	public void method407(Class587_Sub4 class587_sub4) {
		if (null != ((Class519) this).aClass113_6944) {
			if (((Class519) this).anInterface52_6941 != null)
				((Class519) this).anInterface52_6941.method355(this, (byte) 127);
			if (((Class519) this).aBool6943)
				throw new RuntimeException("");
			synchronized (((Class519) this).aClass113_6944) {
				List list = method11647(884414637);
				if (null != list) {
					list.add(class587_sub4);
					((Class519) this).anInt6940 += class587_sub4.aByteArray8460.length * 1746746449;
					method11646(list, -809661263 * ((Class519) this).anInt6940, (short) -15511);
				}
			}
		}
	}

	static final void method11653(Class477 class477, int i) {
		Class480 class480 = (((Class477) class477).aBool6510 ? ((Class477) class477).aClass480_6506 : ((Class477) class477).aClass480_6492);
		Class35 class35 = ((Class480) class480).aClass35_6531;
		((Class477) class477).anInt6498 -= -1140365234;
		int i_5_ = (((Class477) class477).anIntArray6497[((Class477) class477).anInt6498 * 2028895127]);
		int i_6_ = (((Class477) class477).anIntArray6497[1 + 2028895127 * ((Class477) class477).anInt6498]);
		Class616 class616 = Class12.aClass623_76.method13188(i_5_, (byte) -101);
		if (class616.anInt7858 * -162093731 != i_6_)
			class35.method1042(i_5_, i_6_, (byte) 56);
		else
			class35.method1025(i_5_, 2006495918);
	}

	static final void method11654(Class477 class477, int i) {
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = Class92_Sub20.aClass587_Sub11_10075.aClass441_Sub2_8607.method13724(1691734880);
	}
}
