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

public class Class135
{
    static short[] aShortArray1552;
    short[] aShortArray1553;
    static final int anInt1554 = 2;
    static final int anInt1555 = 2;
    static short[] aShortArray1556;
    static short[] aShortArray1557 = new short[500];
    Class487_Sub10 aClass487_Sub10_1558 = null;
    int anInt1559 = 0;
    short[] aShortArray1560;
    short[] aShortArray1561;
    boolean aBool1562;
    short[] aShortArray1563;
    short[] aShortArray1564;
    byte[] aByteArray1565;
    boolean aBool1566 = false;
    static short[] aShortArray1567;
    boolean aBool1568;
    static final int anInt1569 = 1;
    static byte[] aByteArray1570;
    static short[] aShortArray1571;
    
    static {
	aShortArray1552 = new short[500];
	aShortArray1567 = new short[500];
	aShortArray1571 = new short[500];
	aShortArray1556 = new short[500];
	aByteArray1570 = new byte[500];
    }
    
    Class135(byte[] is, Class487_Sub10 class487_sub10) {
	((Class135) this).aBool1562 = false;
	((Class135) this).aBool1568 = false;
	((Class135) this).aClass487_Sub10_1558 = class487_sub10;
	try {
	    Class487_Sub17 class487_sub17 = new Class487_Sub17(is);
	    Class487_Sub17 class487_sub17_0_ = new Class487_Sub17(is);
	    int i = class487_sub17.method9219(-1299576047);
	    class487_sub17.anInt10192 += 1701982554;
	    int i_1_ = class487_sub17.method9220((byte) -86);
	    int i_2_ = 0;
	    int i_3_ = -1;
	    int i_4_ = -1;
	    class487_sub17_0_.anInt10192
		= (class487_sub17.anInt10192 * -1980757211 + i_1_) * 850991277;
	    for (int i_5_ = 0; i_5_ < i_1_; i_5_++) {
		int i_6_ = (((Class487_Sub10)
			     ((Class135) this).aClass487_Sub10_1558)
			    .anIntArray10141[i_5_]);
		if (i_6_ == 0)
		    i_3_ = i_5_;
		int i_7_ = class487_sub17.method9219(-1662020215);
		if (i_7_ > 0) {
		    if (i_6_ == 0)
			i_4_ = i_5_;
		    aShortArray1557[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) {
			    aShortArray1552[i_2_]
				= (short) class487_sub17_0_
					      .method9233((byte) 50);
			    class487_sub17_0_.method9233((byte) 119);
			} else
			    aShortArray1552[i_2_] = i_8_;
			if ((i_7_ & 0x2) != 0) {
			    aShortArray1567[i_2_]
				= (short) class487_sub17_0_
					      .method9233((byte) 25);
			    class487_sub17_0_.method9233((byte) 66);
			} else
			    aShortArray1567[i_2_] = i_8_;
			if ((i_7_ & 0x4) != 0) {
			    aShortArray1571[i_2_]
				= (short) class487_sub17_0_
					      .method9233((byte) 127);
			    class487_sub17_0_.method9233((byte) 109);
			} else
			    aShortArray1571[i_2_] = i_8_;
		    } else {
			if ((i_7_ & 0x1) != 0)
			    aShortArray1552[i_2_]
				= (short) class487_sub17_0_
					      .method9233((byte) 34);
			else
			    aShortArray1552[i_2_] = i_8_;
			if ((i_7_ & 0x2) != 0)
			    aShortArray1567[i_2_]
				= (short) class487_sub17_0_
					      .method9233((byte) 22);
			else
			    aShortArray1567[i_2_] = i_8_;
			if ((i_7_ & 0x4) != 0)
			    aShortArray1571[i_2_]
				= (short) class487_sub17_0_
					      .method9233((byte) 39);
			else
			    aShortArray1571[i_2_] = i_8_;
		    }
		    aByteArray1570[i_2_] = (byte) (i_7_ >>> 3 & 0x3);
		    if (i_6_ == 2 || i_6_ == 9) {
			aShortArray1552[i_2_]
			    = (short) (aShortArray1552[i_2_] << 2 & 0x3fff);
			aShortArray1567[i_2_]
			    = (short) (aShortArray1567[i_2_] << 2 & 0x3fff);
			aShortArray1571[i_2_]
			    = (short) (aShortArray1571[i_2_] << 2 & 0x3fff);
		    }
		    aShortArray1556[i_2_] = (short) -1;
		    if (i_6_ == 1 || i_6_ == 2 || i_6_ == 3) {
			if (i_3_ > i_4_) {
			    aShortArray1556[i_2_] = (short) i_3_;
			    i_4_ = i_3_;
			}
		    } else if (i_6_ == 5)
			((Class135) this).aBool1566 = true;
		    else if (i_6_ == 7)
			((Class135) this).aBool1562 = true;
		    else if (i_6_ == 9 || i_6_ == 10 || i_6_ == 8)
			((Class135) this).aBool1568 = true;
		    i_2_++;
		}
	    }
	    if (class487_sub17_0_.anInt10192 * -1980757211 != is.length)
		throw new RuntimeException();
	    ((Class135) this).anInt1559 = i_2_;
	    ((Class135) this).aShortArray1560 = new short[i_2_];
	    ((Class135) this).aShortArray1561 = new short[i_2_];
	    ((Class135) this).aShortArray1553 = new short[i_2_];
	    ((Class135) this).aShortArray1563 = new short[i_2_];
	    ((Class135) this).aShortArray1564 = new short[i_2_];
	    ((Class135) this).aByteArray1565 = new byte[i_2_];
	    for (int i_9_ = 0; i_9_ < i_2_; i_9_++) {
		((Class135) this).aShortArray1560[i_9_]
		    = aShortArray1557[i_9_];
		((Class135) this).aShortArray1561[i_9_]
		    = aShortArray1552[i_9_];
		((Class135) this).aShortArray1553[i_9_]
		    = aShortArray1567[i_9_];
		((Class135) this).aShortArray1563[i_9_]
		    = aShortArray1571[i_9_];
		((Class135) this).aShortArray1564[i_9_]
		    = aShortArray1556[i_9_];
		((Class135) this).aByteArray1565[i_9_] = aByteArray1570[i_9_];
	    }
	} catch (Exception exception) {
	    ((Class135) this).anInt1559 = 0;
	    ((Class135) this).aBool1566 = false;
	    ((Class135) this).aBool1562 = false;
	}
    }
}
