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

public class Class437 {
	static int anInt6287;

	static int method7896(char c, Class469 class469) {
		int i = c << 4;
		if (Character.isUpperCase(c) || Character.isTitleCase(c)) {
			c = Character.toLowerCase(c);
			i = (c << 4) + 1;
		}
		if (241 == c && Class469.aClass469_6444 == class469)
			i = 1762;
		return i;
	}

	static char method7897(char c) {
		if ('\u00c6' == c)
			return 'E';
		if ('\u00e6' == c)
			return 'e';
		if (c == '\u00df')
			return 's';
		if (c == '\u0152')
			return 'E';
		if (c == '\u0153')
			return 'e';
		return '\0';
	}

	static char method7898(char c, Class469 class469) {
		if (c >= '\u00c0' && c <= '\u00ff') {
			if (c >= '\u00c0' && c <= '\u00c6')
				return 'A';
			if ('\u00c7' == c)
				return 'C';
			if (c >= '\u00c8' && c <= '\u00cb')
				return 'E';
			if (c >= '\u00cc' && c <= '\u00cf')
				return 'I';
			if (c == '\u00d1' && class469 != Class469.aClass469_6444)
				return 'N';
			if (c >= '\u00d2' && c <= '\u00d6')
				return 'O';
			if (c >= '\u00d9' && c <= '\u00dc')
				return 'U';
			if ('\u00dd' == c)
				return 'Y';
			if (c == '\u00df')
				return 's';
			if (c >= '\u00e0' && c <= '\u00e6')
				return 'a';
			if ('\u00e7' == c)
				return 'c';
			if (c >= '\u00e8' && c <= '\u00eb')
				return 'e';
			if (c >= '\u00ec' && c <= '\u00ef')
				return 'i';
			if (c == '\u00f1' && class469 != Class469.aClass469_6444)
				return 'n';
			if (c >= '\u00f2' && c <= '\u00f6')
				return 'o';
			if (c >= '\u00f9' && c <= '\u00fc')
				return 'u';
			if ('\u00fd' == c || '\u00ff' == c)
				return 'y';
		}
		if (c == '\u0152')
			return 'O';
		if ('\u0153' == c)
			return 'o';
		if ('\u0178' == c)
			return 'Y';
		return c;
	}

	Class437() throws Throwable {
		throw new Error();
	}

	public static String method7899(long l, int i, boolean bool, Class469 class469) {
		char c = ',';
		char c_0_ = '.';
		if (class469 == Class469.aClass469_6450) {
			c = '.';
			c_0_ = ',';
		}
		if (Class469.aClass469_6441 == class469)
			c_0_ = '\u00a0';
		boolean bool_1_ = false;
		if (l < 0L) {
			bool_1_ = true;
			l = -l;
		}
		StringBuilder stringbuilder = new StringBuilder(26);
		if (i > 0) {
			for (int i_2_ = 0; i_2_ < i; i_2_++) {
				int i_3_ = (int) l;
				l /= 10L;
				stringbuilder.append((char) (48 + i_3_ - 10 * (int) l));
			}
			stringbuilder.append(c);
		}
		int i_4_ = 0;
		for (;;) {
			int i_5_ = (int) l;
			l /= 10L;
			stringbuilder.append((char) (48 + i_5_ - 10 * (int) l));
			if (0L == l)
				break;
			if (bool) {
				i_4_++;
				if (0 == i_4_ % 3)
					stringbuilder.append(c_0_);
			}
		}
		if (bool_1_)
			stringbuilder.append('-');
		return stringbuilder.reverse().toString();
	}

	public static int method7900(CharSequence charsequence, CharSequence charsequence_6_, Class469 class469) {
		int i = charsequence.length();
		int i_7_ = charsequence_6_.length();
		int i_8_ = 0;
		int i_9_ = 0;
		char c = '\0';
		char c_10_ = '\0';
		while (i_8_ - c < i || i_9_ - c_10_ < i_7_) {
			if (i_8_ - c >= i)
				return -1;
			if (i_9_ - c_10_ >= i_7_)
				return 1;
			char c_11_;
			if (0 != c) {
				c_11_ = c;
				boolean bool = false;
			} else
				c_11_ = charsequence.charAt(i_8_++);
			char c_12_;
			if (0 != c_10_) {
				c_12_ = c_10_;
				boolean bool = false;
			} else
				c_12_ = charsequence_6_.charAt(i_9_++);
			c = Class311.method6190(c_11_, 1763169619);
			c_10_ = Class311.method6190(c_12_, -1107517922);
			c_11_ = Class395.method7139(c_11_, class469, 306189254);
			c_12_ = Class395.method7139(c_12_, class469, -1710575787);
			if (c_11_ != c_12_ && (Character.toUpperCase(c_11_) != Character.toUpperCase(c_12_))) {
				c_11_ = Character.toLowerCase(c_11_);
				c_12_ = Character.toLowerCase(c_12_);
				if (c_12_ != c_11_)
					return (Class101.method2494(c_11_, class469, (byte) -111) - Class101.method2494(c_12_, class469, (byte) -54));
			}
		}
		int i_13_ = Math.min(i, i_7_);
		for (int i_14_ = 0; i_14_ < i_13_; i_14_++) {
			if (Class469.aClass469_6441 == class469) {
				i_8_ = i - 1 - i_14_;
				i_9_ = i_7_ - 1 - i_14_;
			} else
				i_8_ = i_9_ = i_14_;
			char c_15_ = charsequence.charAt(i_8_);
			char c_16_ = charsequence_6_.charAt(i_9_);
			if (c_15_ != c_16_ && (Character.toUpperCase(c_15_) != Character.toUpperCase(c_16_))) {
				c_15_ = Character.toLowerCase(c_15_);
				c_16_ = Character.toLowerCase(c_16_);
				if (c_15_ != c_16_)
					return (Class101.method2494(c_15_, class469, (byte) -64) - Class101.method2494(c_16_, class469, (byte) -66));
			}
		}
		int i_17_ = i - i_7_;
		if (i_17_ != 0)
			return i_17_;
		for (int i_18_ = 0; i_18_ < i_13_; i_18_++) {
			char c_19_ = charsequence.charAt(i_18_);
			char c_20_ = charsequence_6_.charAt(i_18_);
			if (c_19_ != c_20_)
				return (Class101.method2494(c_19_, class469, (byte) -18) - Class101.method2494(c_20_, class469, (byte) -55));
		}
		return 0;
	}

	public static String method7901(long l, int i, boolean bool, Class469 class469) {
		char c = ',';
		char c_21_ = '.';
		if (class469 == Class469.aClass469_6450) {
			c = '.';
			c_21_ = ',';
		}
		if (Class469.aClass469_6441 == class469)
			c_21_ = '\u00a0';
		boolean bool_22_ = false;
		if (l < 0L) {
			bool_22_ = true;
			l = -l;
		}
		StringBuilder stringbuilder = new StringBuilder(26);
		if (i > 0) {
			for (int i_23_ = 0; i_23_ < i; i_23_++) {
				int i_24_ = (int) l;
				l /= 10L;
				stringbuilder.append((char) (48 + i_24_ - 10 * (int) l));
			}
			stringbuilder.append(c);
		}
		int i_25_ = 0;
		for (;;) {
			int i_26_ = (int) l;
			l /= 10L;
			stringbuilder.append((char) (48 + i_26_ - 10 * (int) l));
			if (0L == l)
				break;
			if (bool) {
				i_25_++;
				if (0 == i_25_ % 3)
					stringbuilder.append(c_21_);
			}
		}
		if (bool_22_)
			stringbuilder.append('-');
		return stringbuilder.reverse().toString();
	}

	static final void method7902(Class477 class477, int i) {
		((Class477) class477).anInt6498 -= -1140365234;
		int i_27_ = (((Class477) class477).anIntArray6497[2028895127 * ((Class477) class477).anInt6498]);
		int i_28_ = (((Class477) class477).anIntArray6497[((Class477) class477).anInt6498 * 2028895127 + 1]);
		((Class477) class477).aClass330_6516.anIntArray5221[i_27_] = i_28_;
	}
}
