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

public class Class88
{
    boolean aBool997;
    static short[] aShortArray998;
    static short[] aShortArray999;
    byte[] aByteArray1000;
    static short[] aShortArray1001;
    static short[] aShortArray1002 = new short[500];
    static short[] aShortArray1003;
    int anInt1004;
    static byte[] aByteArray1005;
    short[] aShortArray1006;
    short[] aShortArray1007;
    short[] aShortArray1008;
    short[] aShortArray1009;
    short[] aShortArray1010;
    boolean aBool1011;
    Class243_Sub21 aClass243_Sub21_1012 = null;
    boolean aBool1013;
    static final int anInt1014 = 1;
    static final int anInt1015 = 2;
    static final int anInt1016 = 2;
    
    Class88(byte[] is, Class243_Sub21 class243_sub21) {
	((Class88) this).anInt1004 = 0;
	((Class88) this).aBool1011 = false;
	((Class88) this).aBool997 = false;
	((Class88) this).aBool1013 = false;
	((Class88) this).aClass243_Sub21_1012 = class243_sub21;
	try {
	    Class243_Sub10 class243_sub10 = new Class243_Sub10(is);
	    Class243_Sub10 class243_sub10_0_ = new Class243_Sub10(is);
	    int i = class243_sub10.method14878((byte) -117);
	    class243_sub10.anInt8688 += 205276410;
	    int i_1_ = class243_sub10.method14908((byte) -42);
	    int i_2_ = 0;
	    int i_3_ = -1;
	    int i_4_ = -1;
	    class243_sub10_0_.anInt8688
		= (class243_sub10.anInt8688 * 126215893 + i_1_) * -2044845443;
	    for (int i_5_ = 0; i_5_ < i_1_; i_5_++) {
		int i_6_
		    = (((Class243_Sub21) ((Class88) this).aClass243_Sub21_1012)
		       .anIntArray9788[i_5_]);
		if (i_6_ == 0)
		    i_3_ = i_5_;
		int i_7_ = class243_sub10.method14878((byte) -40);
		if (i_7_ > 0) {
		    if (i_6_ == 0)
			i_4_ = i_5_;
		    aShortArray1002[i_2_] = (short) i_5_;
		    short i_8_ = 0;
		    if (i_6_ == 3 || i_6_ == 10)
			i_8_ = (short) 128;
		    if (i >= 2 && i_6_ == 7) {
			if ((i_7_ & 0x1) != 0) {
			    aShortArray998[i_2_]
				= (short) class243_sub10_0_
					      .method14679(2100119913);
			    class243_sub10_0_.method14679(2129187165);
			} else
			    aShortArray998[i_2_] = i_8_;
			if ((i_7_ & 0x2) != 0) {
			    aShortArray999[i_2_]
				= (short) class243_sub10_0_
					      .method14679(2102318020);
			    class243_sub10_0_.method14679(2085522313);
			} else
			    aShortArray999[i_2_] = i_8_;
			if ((i_7_ & 0x4) != 0) {
			    aShortArray1003[i_2_]
				= (short) class243_sub10_0_
					      .method14679(2130986477);
			    class243_sub10_0_.method14679(2090586409);
			} else
			    aShortArray1003[i_2_] = i_8_;
		    } else {
			if ((i_7_ & 0x1) != 0)
			    aShortArray998[i_2_]
				= (short) class243_sub10_0_
					      .method14679(2099941035);
			else
			    aShortArray998[i_2_] = i_8_;
			if ((i_7_ & 0x2) != 0)
			    aShortArray999[i_2_]
				= (short) class243_sub10_0_
					      .method14679(2121446970);
			else
			    aShortArray999[i_2_] = i_8_;
			if ((i_7_ & 0x4) != 0)
			    aShortArray1003[i_2_]
				= (short) class243_sub10_0_
					      .method14679(2098273579);
			else
			    aShortArray1003[i_2_] = i_8_;
		    }
		    aByteArray1005[i_2_] = (byte) (i_7_ >>> 3 & 0x3);
		    if (i_6_ == 2 || i_6_ == 9) {
			aShortArray998[i_2_]
			    = (short) (aShortArray998[i_2_] << 2 & 0x3fff);
			aShortArray999[i_2_]
			    = (short) (aShortArray999[i_2_] << 2 & 0x3fff);
			aShortArray1003[i_2_]
			    = (short) (aShortArray1003[i_2_] << 2 & 0x3fff);
		    }
		    aShortArray1001[i_2_] = (short) -1;
		    if (i_6_ == 1 || i_6_ == 2 || i_6_ == 3) {
			if (i_3_ > i_4_) {
			    aShortArray1001[i_2_] = (short) i_3_;
			    i_4_ = i_3_;
			}
		    } else if (i_6_ == 5)
			((Class88) this).aBool1011 = true;
		    else if (i_6_ == 7)
			((Class88) this).aBool997 = true;
		    else if (i_6_ == 9 || i_6_ == 10 || i_6_ == 8)
			((Class88) this).aBool1013 = true;
		    i_2_++;
		}
	    }
	    if (class243_sub10_0_.anInt8688 * 126215893 != is.length)
		throw new RuntimeException();
	    ((Class88) this).anInt1004 = i_2_;
	    ((Class88) this).aShortArray1010 = new short[i_2_];
	    ((Class88) this).aShortArray1006 = new short[i_2_];
	    ((Class88) this).aShortArray1007 = new short[i_2_];
	    ((Class88) this).aShortArray1008 = new short[i_2_];
	    ((Class88) this).aShortArray1009 = new short[i_2_];
	    ((Class88) this).aByteArray1000 = new byte[i_2_];
	    for (int i_9_ = 0; i_9_ < i_2_; i_9_++) {
		((Class88) this).aShortArray1010[i_9_] = aShortArray1002[i_9_];
		((Class88) this).aShortArray1006[i_9_] = aShortArray998[i_9_];
		((Class88) this).aShortArray1007[i_9_] = aShortArray999[i_9_];
		((Class88) this).aShortArray1008[i_9_] = aShortArray1003[i_9_];
		((Class88) this).aShortArray1009[i_9_] = aShortArray1001[i_9_];
		((Class88) this).aByteArray1000[i_9_] = aByteArray1005[i_9_];
	    }
	} catch (Exception exception) {
	    ((Class88) this).anInt1004 = 0;
	    ((Class88) this).aBool1011 = false;
	    ((Class88) this).aBool997 = false;
	}
    }
    
    static {
	aShortArray998 = new short[500];
	aShortArray999 = new short[500];
	aShortArray1003 = new short[500];
	aShortArray1001 = new short[500];
	aByteArray1005 = new byte[500];
    }
}
