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

public class Class306
{
    static Class306 aClass306_4554;
    static Class306 aClass306_4555 = new Class306();
    static Class306 aClass306_4556;
    
    public static Class306[] method6081() {
	return (new Class306[]
		{ aClass306_4555, aClass306_4554, aClass306_4556 });
    }
    
    public int method6082(int i, int i_0_) {
	int i_1_ = (-1641316675 * Class2.anInt17 > i_0_
		    ? -1641316675 * Class2.anInt17 : i_0_);
	if (aClass306_4555 == this)
	    return 0;
	if (this == aClass306_4556)
	    return i_1_ - i;
	if (this == aClass306_4554)
	    return (i_1_ - i) / 2;
	return 0;
    }
    
    static {
	aClass306_4554 = new Class306();
	aClass306_4556 = new Class306();
    }
    
    public static Class306[] method6083() {
	return (new Class306[]
		{ aClass306_4555, aClass306_4554, aClass306_4556 });
    }
    
    public static Class306[] method6084() {
	return (new Class306[]
		{ aClass306_4555, aClass306_4554, aClass306_4556 });
    }
    
    public int method6085(int i, int i_2_, byte i_3_) {
	int i_4_ = (-1641316675 * Class2.anInt17 > i_2_
		    ? -1641316675 * Class2.anInt17 : i_2_);
	if (aClass306_4555 == this)
	    return 0;
	if (this == aClass306_4556)
	    return i_4_ - i;
	if (this == aClass306_4554)
	    return (i_4_ - i) / 2;
	return 0;
    }
    
    Class306() {
	/* empty */
    }
    
    static final void method6086(Class479 class479, int i) {
	((Class479) class479).anIntArray6435
	    [(((Class479) class479).anInt6442 += -1158629699) * -117934955 - 1]
	    = 100;
    }
    
    static boolean method6087(int i, int i_5_) {
	return 2 == i || i == 9 || 14 == i || 17 == i || i == 15;
    }
    
    static Class199 method6088(int i, int i_6_) {
	if (i == 0) {
	    if (3.0 == (double) Class564_Sub1.aFloat7297)
		return Class120_Sub20.aClass199_10330;
	    if (4.0 == (double) Class564_Sub1.aFloat7297)
		return Class318.aClass199_4703;
	    if ((double) Class564_Sub1.aFloat7297 == 6.0)
		return Class408.aClass199_5987;
	    if ((double) Class564_Sub1.aFloat7297 >= 8.0)
		return Class564_Sub1.aClass199_9903;
	} else if (i == 1) {
	    if ((double) Class564_Sub1.aFloat7297 == 3.0)
		return Class408.aClass199_5987;
	    if (4.0 == (double) Class564_Sub1.aFloat7297)
		return Class564_Sub1.aClass199_9903;
	    if ((double) Class564_Sub1.aFloat7297 == 6.0)
		return Class469.aClass199_6379;
	    if ((double) Class564_Sub1.aFloat7297 >= 8.0)
		return Class271.aClass199_4090;
	} else if (2 == i) {
	    if (3.0 == (double) Class564_Sub1.aFloat7297)
		return Class469.aClass199_6379;
	    if ((double) Class564_Sub1.aFloat7297 == 4.0)
		return Class271.aClass199_4090;
	    if (6.0 == (double) Class564_Sub1.aFloat7297)
		return Class243_Sub44_Sub1.aClass199_10884;
	    if ((double) Class564_Sub1.aFloat7297 >= 8.0)
		return Class319.aClass199_4722;
	}
	return null;
    }
    
    static long method6089(CharSequence charsequence, int i) {
	long l = 0L;
	int i_7_ = charsequence.length();
	for (int i_8_ = 0; i_8_ < i_7_; i_8_++) {
	    l *= 37L;
	    char c = charsequence.charAt(i_8_);
	    if (c >= 'A' && c <= 'Z')
		l += (long) (c + '\001' - 'A');
	    else if (c >= 'a' && c <= 'z')
		l += (long) ('\001' + c - 'a');
	    else if (c >= '0' && c <= '9')
		l += (long) ('\033' + c - '0');
	    if (l >= 177917621779460413L)
		break;
	}
	for (/**/; l % 37L == 0L && 0L != l; l /= 37L) {
	    /* empty */
	}
	return l;
    }
}
