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

public final class Class46
{
    static long aLong629;
    static long aLong630;
    
    public static final synchronized long method1238(int i) {
	long l = System.currentTimeMillis();
	if (l < -710360722305628649L * aLong629)
	    aLong630 += ((-710360722305628649L * aLong629 - l)
			 * -6120989014259336937L);
	aLong629 = l * -3493377084475158105L;
	return l + -4075122764739260761L * aLong630;
    }
    
    Class46() throws Throwable {
	throw new Error();
    }
    
    public static final synchronized long method1239() {
	long l = System.currentTimeMillis();
	if (l < -710360722305628649L * aLong629)
	    aLong630 += ((-710360722305628649L * aLong629 - l)
			 * -6120989014259336937L);
	aLong629 = l * -3493377084475158105L;
	return l + -4075122764739260761L * aLong630;
    }
    
    public static final boolean method1240(String string, String string_0_,
					   String string_1_, String string_2_,
					   int i) {
	if (string == null || string_1_ == null)
	    return false;
	if (string.startsWith("#") || string_1_.startsWith("#"))
	    return string.equals(string_1_);
	return string_0_.equals(string_2_);
    }
    
    public static Class330 method1241(int i, int i_3_) {
	Class330 class330
	    = (Class330) Class330.aClass132_5227.method3282((long) i);
	if (null != class330)
	    return class330;
	byte[] is = Class533.aClass272_6984.method5250(0, i, -895287911);
	class330 = new Class330();
	if (null != is)
	    class330.method6330(new Class243_Sub10(is), i, -1753245318);
	Class330.aClass132_5227.method3293(class330, (long) i);
	return class330;
    }
    
    static final void method1242(Class479 class479, int i) {
	((Class479) class479).anInt6442 -= 1977707898;
	int i_4_ = (((Class479) class479).anIntArray6435
		    [-117934955 * ((Class479) class479).anInt6442]);
	boolean bool
	    = 1 == (((Class479) class479).anIntArray6435
		    [1 + -117934955 * ((Class479) class479).anInt6442]);
	if (null != Class564_Sub1.aClass431_9900) {
	    Class243 class243
		= Class564_Sub1.aClass431_9900.method7744((long) i_4_);
	    if (null != class243 && !bool)
		class243.method4894(2083203368);
	    else if (class243 == null && bool) {
		class243 = new Class243();
		Class564_Sub1.aClass431_9900.method7748(class243, (long) i_4_);
	    }
	}
    }
    
    static void method1243(int i, int i_5_, Class117 class117, int i_6_) {
	int i_7_ = class117.anInt1387 * -719017229 + i;
	int i_8_ = i_5_ + 15;
	if (client.aBool8141) {
	    int i_9_ = -256;
	    if (client.anInt7648 * -2111501311 < 20)
		i_9_ = -65536;
	    Class23.aClass99_259.method2611
		(new StringBuilder().append("Fps:").append
		     (client.anInt7648 * -2111501311).append
		     (" (").append
		     (-1731973691 * client.anInt7653).append
		     (" ms)").toString(),
		 i_7_, i_8_, i_9_, -1, (byte) -13);
	    i_8_ += 15;
	    Runtime runtime = Runtime.getRuntime();
	    long l = runtime.totalMemory() / 1024L;
	    long l_10_ = l - runtime.freeMemory() / 1024L;
	    int i_11_ = -256;
	    if (l_10_ > 262144L)
		i_11_ = -65536;
	    Class23.aClass99_259.method2611(new StringBuilder().append
						("Mem:").append
						(l_10_).append
						("/").append
						(l).append
						("k").toString(),
					    i_7_, i_8_, i_11_, -1,
					    (byte) -120);
	    i_8_ += 15;
	    long l_12_ = ((Class194) client.aClass194_8163).aClass9_2320
			     .method536(860320144);
	    String string = "N/A";
	    if (-1L != l_12_) {
		string = new StringBuilder().append(l_12_).append("ms")
			     .toString();
		if (l_12_ > 500L)
		    string
			= new StringBuilder().append
			      (Class239.method4869(16711680, (byte) 44)).append
			      (string).append
			      (Class239.method4869(16776960, (byte) 34))
			      .toString();
	    }
	    Class23.aClass99_259.method2611
		(new StringBuilder().append("Game: In:").append
		     (((Class194) client.aClass194_8163).anInt2328
		      * -1647781371)
		     .append
		     ("B/s ").append
		     ("Out:").append
		     (945345241 * ((Class194) client.aClass194_8163).anInt2322)
		     .append
		     ("B/s ").append
		     ("Ping:").append
		     (string).toString(),
		 i_7_, i_8_, -256, -1, (byte) -121);
	    i_8_ += 15;
	    long l_13_ = ((Class194) client.aClass194_8114).aClass9_2320
			     .method536(860320144);
	    String string_14_ = "N/A";
	    if (-1L != l_13_) {
		string_14_ = new StringBuilder().append(l_13_).append("ms")
				 .toString();
		if (l_13_ > 500L)
		    string_14_
			= new StringBuilder().append
			      (Class239.method4869(16711680, (byte) 59)).append
			      (string_14_).append
			      (Class239.method4869(16776960, (byte) 22))
			      .toString();
	    }
	    Class23.aClass99_259.method2611
		(new StringBuilder().append("Lobby: In:").append
		     (((Class194) client.aClass194_8114).anInt2328
		      * -1647781371)
		     .append
		     ("B/s ").append
		     ("Out:").append
		     (((Class194) client.aClass194_8114).anInt2322 * 945345241)
		     .append
		     ("B/s ").append
		     ("Ping:").append
		     (string_14_).toString(),
		 i_7_, i_8_, -256, -1, (byte) -64);
	    i_8_ += 15;
	    int i_15_ = Class455.aClass87_6287.method2082() / 1024;
	    Class23.aClass99_259.method2611(new StringBuilder().append
						("Offheap:").append
						(i_15_).append
						("k").toString(),
					    i_7_, i_8_,
					    i_15_ > 65536 ? -65536 : -256, -1,
					    (byte) -7);
	    i_8_ += 15;
	    int i_16_ = 0;
	    int i_17_ = 0;
	    int i_18_ = 0;
	    for (int i_19_ = 0;
		 i_19_ < Class495.aClass284_Sub1Array6582.length; i_19_++) {
		if (Class495.aClass284_Sub1Array6582[i_19_] != null
		    && Class495.aClass284_Sub1Array6582[i_19_]
			   .method16514(137524672)) {
		    i_16_ += Class495.aClass284_Sub1Array6582[i_19_]
				 .method16509(-1315309560);
		    i_17_ += Class495.aClass284_Sub1Array6582[i_19_]
				 .method16510(-2109268824);
		    i_18_ += Class495.aClass284_Sub1Array6582[i_19_]
				 .method16511(1789563691);
		}
	    }
	    int i_20_ = i_16_ == 0 ? 0 : 100 * i_18_ / i_16_;
	    int i_21_ = 0 == i_16_ ? 0 : 10000 * i_17_ / i_16_;
	    String string_22_
		= new StringBuilder().append("Cache:").append
		      (Class103.method2780((long) i_21_, 2, true,
					   Class457.aClass457_6304, (byte) -2))
		      .append
		      ("% (").append
		      (i_20_).append
		      ("%)").toString();
	    Class20.aClass99_190.method2611(string_22_, i_7_, i_8_, -256, -1,
					    (byte) -66);
	    i_8_ += 12;
	}
    }
}
