/* Class125 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.util.Random;

public class Class125 implements Interface69
{
    int anInt1507;
    static Class125 aClass125_1508;
    static Class125 aClass125_1509;
    static Class125 aClass125_1510;
    static Class125 aClass125_1511;
    static Class125 aClass125_1512 = new Class125(1, 1);
    static Class125 aClass125_1513;
    int anInt1514;
    static Class125 aClass125_1515;
    
    static {
	aClass125_1508 = new Class125(4, 2);
	aClass125_1509 = new Class125(2, 3);
	aClass125_1510 = new Class125(6, 4);
	aClass125_1511 = new Class125(3, 5);
	aClass125_1513 = new Class125(5, 6);
	aClass125_1515 = new Class125(0, 7);
    }
    
    Class125(int i, int i_0_) {
	((Class125) this).anInt1514 = 1679842685 * i;
	((Class125) this).anInt1507 = i_0_ * -1735116879;
    }
    
    public int method38() {
	return -1754681007 * ((Class125) this).anInt1507;
    }
    
    public int method24() {
	return -1754681007 * ((Class125) this).anInt1507;
    }
    
    public static String method1649(String string, byte i) {
	int i_1_ = string.length();
	int i_2_ = 0;
	for (int i_3_ = 0; i_3_ < i_1_; i_3_++) {
	    char c = string.charAt(i_3_);
	    if ('<' == c || c == '>')
		i_2_ += 3;
	}
	StringBuilder stringbuilder = new StringBuilder(i_1_ + i_2_);
	for (int i_4_ = 0; i_4_ < i_1_; i_4_++) {
	    char c = string.charAt(i_4_);
	    if (c == '<')
		stringbuilder.append("<lt>");
	    else if (c == '>')
		stringbuilder.append("<gt>");
	    else
		stringbuilder.append(c);
	}
	return stringbuilder.toString();
    }
    
    static final void method1650(Class612 class612, int i) {
	if (6 == 487402729 * client.anInt10701) {
	    Class487_Sub19 class487_sub19
		= Class667_Sub1.method9955(Class362.aClass362_3953,
					   client.aClass65_10676.aClass676_946,
					   852043838);
	    client.aClass65_10676.method1056(class487_sub19, (byte) 58);
	}
    }
    
    static final void method1651(Class612 class612, int i) {
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = ((Class612) class612).aClass590_Sub1_Sub4_Sub1_8036
		  .method9512(-1157512889);
    }
    
    static final void method1652(Class612 class612, byte i) {
	int i_5_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	int i_6_ = i_5_ >> 14 & 0x3fff;
	int i_7_ = i_5_ & 0x3fff;
	Class546 class546 = client.aClass452_10749.method5499((byte) 9);
	i_6_ -= -494362861 * class546.anInt7397;
	if (i_6_ < 0)
	    i_6_ = 0;
	else if (i_6_ >= client.aClass452_10749.method5543(-1307101375))
	    i_6_ = client.aClass452_10749.method5543(-1589344244);
	i_7_ -= class546.anInt7398 * 1139830351;
	if (i_7_ < 0)
	    i_7_ = 0;
	else if (i_7_ >= client.aClass452_10749.method5501(-401061065))
	    i_7_ = client.aClass452_10749.method5501(1714530773);
	client.anInt10786 = ((i_6_ << 9) + 256) * -165465533;
	client.anInt10679 = -1989164849 * (256 + (i_7_ << 9));
	Class168.anInt1964 = 1288931724;
	Class570.anInt7651 = -407569933;
	Class452.anInt5209 = -745385441;
    }
    
    public static int method1653(Random random, int i, int i_8_) {
	if (null == random) {
	    random = Class5.aRandom29;
	    if (null == random) {
		synchronized (Class5.anObject30) {
		    if (Class5.aRandom29 == null)
			Class5.aRandom29 = new Random();
		    random = Class5.aRandom29;
		}
	    }
	}
	if (i <= 0)
	    throw new IllegalArgumentException();
	if (Class609.method7421(i, -3187280))
	    return (int) (((long) random.nextInt() & 0xffffffffL) * (long) i
			  >> 32);
	int i_9_ = -2147483648 - (int) (4294967296L % (long) i);
	int i_10_;
	do
	    i_10_ = random.nextInt();
	while (i_10_ >= i_9_);
	return Class238.method3429(i_10_, i, 641223403);
    }
}
