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

public class Class433 implements Interface69
{
    String aString5022;
    static Class433 aClass433_5023 = new Class433("UNCOMPRESSED", 0);
    static Class433 aClass433_5024;
    int anInt5025;
    static Class433 aClass433_5026 = new Class433("BZIP2", 1);
    static int anInt5027;
    
    public int method24() {
	return 1188486485 * ((Class433) this).anInt5025;
    }
    
    public int method38() {
	return 1188486485 * ((Class433) this).anInt5025;
    }
    
    static {
	aClass433_5024 = new Class433("GZIP", 2);
    }
    
    Class433(String string, int i) {
	((Class433) this).aString5022 = string;
	((Class433) this).anInt5025 = 867317757 * i;
    }
    
    static Class433[] method5298(int i) {
	return (new Class433[]
		{ aClass433_5026, aClass433_5024, aClass433_5023 });
    }
    
    public static int method5299(byte i) {
	return 10;
    }
    
    static final void method5300(Class211 class211, Class203 class203,
				 Class612 class612, int i) {
	class211.anInt2274
	    = ((((Class612) class612).anIntArray8021
		[(((Class612) class612).anInt8022 -= 201091009) * -40654783])
	       * 1055435631);
	Class67_Sub1_Sub2.method10127(class211, (short) 492);
    }
    
    static final void method5301(Class612 class612, int i) {
	int i_0_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	int i_1_ = client.aClass464Array10949[i_0_].method5714(-421947682);
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = i_1_ == 0 ? 1 : 0;
    }
    
    static final void method5302(Class612 class612, int i) {
	((Class612) class612).anInt8022 -= 402182018;
	int i_2_ = (((Class612) class612).anIntArray8021
		    [((Class612) class612).anInt8022 * -40654783]);
	int i_3_ = (((Class612) class612).anIntArray8021
		    [1 + ((Class612) class612).anInt8022 * -40654783]);
	((Class612) class612).aClass365_8031.anIntArray3993[i_2_] = i_3_;
    }
    
    static final void method5303(Class612 class612, byte i) {
	Class127.aClass258_Sub1_1526.method3583(-1598324046);
    }
    
    public static String method5304(String string, int i) {
	StringBuilder stringbuilder = new StringBuilder();
	int i_4_ = string.length();
	for (int i_5_ = 0; i_5_ < i_4_; i_5_++) {
	    char c = string.charAt(i_5_);
	    if (37 == c && i_4_ > 2 + i_5_) {
		c = string.charAt(1 + i_5_);
		boolean bool = false;
		int i_6_;
		if (c >= 48 && c <= 57)
		    i_6_ = c - 48;
		else if (c >= 97 && c <= 102)
		    i_6_ = c + 10 - 97;
		else if (c >= 65 && c <= 70)
		    i_6_ = c + 10 - 65;
		else {
		    stringbuilder.append('%');
		    continue;
		}
		i_6_ *= 16;
		int i_7_ = string.charAt(2 + i_5_);
		if (i_7_ >= 48 && i_7_ <= 57)
		    i_6_ += i_7_ - 48;
		else if (i_7_ >= 97 && i_7_ <= 102)
		    i_6_ += 10 + i_7_ - 97;
		else if (i_7_ >= 65 && i_7_ <= 70)
		    i_6_ += i_7_ + 10 - 65;
		else {
		    stringbuilder.append('%');
		    continue;
		}
		if (i_6_ != 0 && Class463.method5710((byte) i_6_, 1458890099))
		    stringbuilder.append(Class254.method3530((byte) i_6_,
							     (byte) -80));
		i_5_ += 2;
	    } else if (43 == c)
		stringbuilder.append(' ');
	    else
		stringbuilder.append(c);
	}
	return stringbuilder.toString();
    }
}
