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

public final class Class466 {
	static long[] aLongArray6423;
	static char[] aCharArray6424 = { '_', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
	static Class279 aClass279_6425;
	static Class576 aClass576_6426;

	static String method8295(long l) {
		if (l <= 0L || l >= 6582952005840035281L)
			return null;
		if (0L == l % 37L)
			return null;
		int i = 0;
		for (long l_0_ = l; 0L != l_0_; l_0_ /= 37L)
			i++;
		StringBuilder stringbuilder = new StringBuilder(i);
		while (l != 0L) {
			long l_1_ = l;
			l /= 37L;
			char c = aCharArray6424[(int) (l_1_ - l * 37L)];
			if (c == '_') {
				int i_2_ = stringbuilder.length() - 1;
				stringbuilder.setCharAt(i_2_, Character.toUpperCase(stringbuilder.charAt(i_2_)));
				c = '\u00a0';
			}
			stringbuilder.append(c);
		}
		stringbuilder.reverse();
		stringbuilder.setCharAt(0, Character.toUpperCase(stringbuilder.charAt(0)));
		return stringbuilder.toString();
	}

	public static String method8296(CharSequence charsequence) {
		String string = Class295.method6011(Class458.method8136(charsequence, (byte) 6));
		if (string == null)
			string = "";
		return string;
	}

	static String method8297(long l) {
		if (l <= 0L || l >= 6582952005840035281L)
			return null;
		if (0L == l % 37L)
			return null;
		int i = 0;
		for (long l_3_ = l; 0L != l_3_; l_3_ /= 37L)
			i++;
		StringBuilder stringbuilder = new StringBuilder(i);
		while (l != 0L) {
			long l_4_ = l;
			l /= 37L;
			char c = aCharArray6424[(int) (l_4_ - l * 37L)];
			if (c == '_') {
				int i_5_ = stringbuilder.length() - 1;
				stringbuilder.setCharAt(i_5_, Character.toUpperCase(stringbuilder.charAt(i_5_)));
				c = '\u00a0';
			}
			stringbuilder.append(c);
		}
		stringbuilder.reverse();
		stringbuilder.setCharAt(0, Character.toUpperCase(stringbuilder.charAt(0)));
		return stringbuilder.toString();
	}

	static {
		aLongArray6423 = new long[12];
		for (int i = 0; i < aLongArray6423.length; i++)
			aLongArray6423[i] = (long) Math.pow(37.0, (double) i);
	}

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

	public static String method8298(CharSequence charsequence) {
		String string = Class295.method6011(Class458.method8136(charsequence, (byte) -17));
		if (string == null)
			string = "";
		return string;
	}

	static String method8299(long l) {
		if (l <= 0L || l >= 6582952005840035281L)
			return null;
		if (0L == l % 37L)
			return null;
		int i = 0;
		for (long l_6_ = l; 0L != l_6_; l_6_ /= 37L)
			i++;
		StringBuilder stringbuilder = new StringBuilder(i);
		while (l != 0L) {
			long l_7_ = l;
			l /= 37L;
			char c = aCharArray6424[(int) (l_7_ - l * 37L)];
			if (c == '_') {
				int i_8_ = stringbuilder.length() - 1;
				stringbuilder.setCharAt(i_8_, Character.toUpperCase(stringbuilder.charAt(i_8_)));
				c = '\u00a0';
			}
			stringbuilder.append(c);
		}
		stringbuilder.reverse();
		stringbuilder.setCharAt(0, Character.toUpperCase(stringbuilder.charAt(0)));
		return stringbuilder.toString();
	}

	static final void method8300(Class477 class477, int i) {
		int i_9_ = (((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 -= 1577301031) * 2028895127]);
		((Class477) class477).anIntArray6497[(((Class477) class477).anInt6498 += 1577301031) * 2028895127 - 1] = i_9_ ^ 0xffffffff;
	}

	public static String method8301(long l, int i, int i_10_) {
		Class600.method12913(l);
		int i_11_ = Class617.aCalendar7862.get(5);
		int i_12_ = Class617.aCalendar7862.get(2);
		int i_13_ = Class617.aCalendar7862.get(1);
		if (i == 3)
			return Class90.method2311(l, i, (byte) 0);
		return new StringBuilder().append(Integer.toString(i_11_ / 10)).append(i_11_ % 10).append("-").append(Class617.aStringArrayArray7863[i][i_12_]).append("-").append(i_13_).toString();
	}
}
