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

public class Class396 {
	static final int anInt5720 = 2;
	static final int anInt5721 = 1;
	static final int anInt5722 = 4;
	static final int anInt5723 = 8;
	public short[] aShortArray5724;
	public int[] anIntArray5725;
	public int[] anIntArray5726 = new int[3];
	public int[] anIntArray5727;
	public short[] aShortArray5728;
	public int[] anIntArray5729;

	public static Class396 method7140(Class417 class417, Class587_Sub4 class587_sub4) {
		Class396 class396 = new Class396(class417);
		int i = class587_sub4.method14349(-1130636365);
		boolean bool = (i & 0x1) != 0;
		boolean bool_0_ = 0 != (i & 0x2);
		boolean bool_1_ = (i & 0x4) != 0;
		boolean bool_2_ = 0 != (i & 0x8);
		if (bool) {
			class396.anIntArray5726[0] = class587_sub4.method14227(207544697);
			class396.anIntArray5725[0] = class587_sub4.method14227(-435043066);
			if (((Class417) class417).anInt6099 * 339693651 != -1 || -1 != ((Class417) class417).anInt6101 * 713892333) {
				class396.anIntArray5726[1] = class587_sub4.method14227(-956235954);
				class396.anIntArray5725[1] = class587_sub4.method14227(126952441);
			}
			if (-1 != ((Class417) class417).anInt6102 * 567663103 || 1334319663 * ((Class417) class417).anInt6119 != -1) {
				class396.anIntArray5726[2] = class587_sub4.method14227(-1703088781);
				class396.anIntArray5725[2] = class587_sub4.method14227(-575515579);
			}
		}
		if (bool_0_) {
			class396.anIntArray5729[0] = class587_sub4.method14227(159377976);
			class396.anIntArray5727[0] = class587_sub4.method14227(796820443);
			if (((Class417) class417).anInt6111 * 672576193 != -1 || ((Class417) class417).anInt6067 * -1504088425 != -1) {
				class396.anIntArray5729[1] = class587_sub4.method14227(-1441018500);
				class396.anIntArray5727[1] = class587_sub4.method14227(-1307534474);
			}
		}
		if (bool_1_) {
			int i_3_ = class587_sub4.method14191((byte) -21);
			int[] is = new int[4];
			is[0] = i_3_ & 0xf;
			is[1] = i_3_ >> 4 & 0xf;
			is[2] = i_3_ >> 8 & 0xf;
			is[3] = i_3_ >> 12 & 0xf;
			for (int i_4_ = 0; i_4_ < 4; i_4_++) {
				if (is[i_4_] != 15)
					class396.aShortArray5728[is[i_4_]] = (short) class587_sub4.method14191((byte) -109);
			}
		}
		if (bool_2_) {
			int i_5_ = class587_sub4.method14349(-1130636365);
			int[] is = new int[2];
			is[0] = i_5_ & 0xf;
			is[1] = i_5_ >> 4 & 0xf;
			for (int i_6_ = 0; i_6_ < 2; i_6_++) {
				if (15 != is[i_6_])
					class396.aShortArray5724[is[i_6_]] = (short) class587_sub4.method14191((byte) -47);
			}
		}
		return class396;
	}

	Class396(Class417 class417) {
		anIntArray5725 = new int[3];
		anIntArray5729 = new int[2];
		anIntArray5727 = new int[2];
		anIntArray5726[0] = ((Class417) class417).anInt6086 * -1157051005;
		anIntArray5726[1] = 339693651 * ((Class417) class417).anInt6099;
		anIntArray5726[2] = ((Class417) class417).anInt6102 * 567663103;
		anIntArray5725[0] = -2043671451 * ((Class417) class417).anInt6100;
		anIntArray5725[1] = 713892333 * ((Class417) class417).anInt6101;
		anIntArray5725[2] = 1334319663 * ((Class417) class417).anInt6119;
		anIntArray5729[0] = ((Class417) class417).anInt6110 * 207570243;
		anIntArray5729[1] = 672576193 * ((Class417) class417).anInt6111;
		anIntArray5727[0] = 1132707073 * ((Class417) class417).anInt6090;
		anIntArray5727[1] = ((Class417) class417).anInt6067 * -1504088425;
		if (null != ((Class417) class417).aShortArray6127) {
			aShortArray5728 = new short[((Class417) class417).aShortArray6127.length];
			System.arraycopy(((Class417) class417).aShortArray6127, 0, aShortArray5728, 0, aShortArray5728.length);
		}
		if (((Class417) class417).aShortArray6078 != null) {
			aShortArray5724 = new short[((Class417) class417).aShortArray6078.length];
			System.arraycopy(((Class417) class417).aShortArray6078, 0, aShortArray5724, 0, aShortArray5724.length);
		}
	}

	public static boolean method7141(int i, byte i_7_) {
		return i == 7 || 11 == i || 18 == i || i == 12;
	}

	static void method7142(int i, int i_8_, int i_9_) {
		Class587_Sub34_Sub2 class587_sub34_sub2 = Class488_Sub1.method14158(15, (long) i);
		class587_sub34_sub2.method16879((byte) -36);
		((Class587_Sub34_Sub2) class587_sub34_sub2).anInt10660 = 889228231 * i_8_;
	}
}
