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

public class Class8
{
    public static Class8 aClass8_52;
    public static Class8 aClass8_53;
    public static Class8 aClass8_54;
    public static Class8 aClass8_55;
    public static Class8 aClass8_56;
    public static Class8 aClass8_57;
    public static Class8 aClass8_58;
    public static Class8 aClass8_59;
    Interface4 anInterface4_60;
    public static Class8 aClass8_61;
    public static Class8 aClass8_62;
    public static Class8 aClass8_63;
    public static Class8 aClass8_64;
    public static Class8 aClass8_65;
    public static Class8 aClass8_66;
    public static Class8 aClass8_67;
    public static Class8 aClass8_68;
    public static Class8 aClass8_69;
    public static Class8 aClass8_70;
    public static Class8 aClass8_71;
    public static Class8 aClass8_72;
    public static Class8 aClass8_73;
    public static Class8 aClass8_74;
    public static Class8 aClass8_75;
    int anInt76;
    Class18 aClass18_77;
    public static Class8 aClass8_78 = new Class8(Class18.aClass18_297);
    public static Class8 aClass8_79;
    
    public int method541(short i) {
	return ((Class8) this).anInt76 * 983699197;
    }
    
    Class8(Class18 class18) {
	((Class8) this).aClass18_77 = class18;
	((Class8) this).anInt76 = 943390293;
    }
    
    public void method542(int i, int i_0_) {
	((Class8) this).anInt76 = 943390293 * i;
    }
    
    static final void method543(Class612 class612, byte i) {
	int i_1_
	    = (((Class612) class612).anIntArray8021
	       [(((Class612) class612).anInt8022 -= 201091009) * -40654783]);
	Class211 class211 = Class156.method2513(i_1_, (short) -16284);
	((Class612) class612).anObjectArray8034
	    [(((Class612) class612).anInt8017 += 1516150619) * -1930397485 - 1]
	    = class211.aString2323;
    }
    
    public Interface4 method544(short i) {
	return ((Class8) this).anInterface4_60;
    }
    
    public int method545() {
	return ((Class8) this).anInt76 * 983699197;
    }
    
    static {
	aClass8_53 = new Class8(Class18.aClass18_298);
	aClass8_75 = new Class8(Class18.aClass18_298);
	aClass8_55 = new Class8(Class18.aClass18_298);
	aClass8_56 = new Class8(Class18.aClass18_298);
	aClass8_79 = new Class8(Class18.aClass18_298);
	aClass8_58 = new Class8(Class18.aClass18_297);
	aClass8_57 = new Class8(Class18.aClass18_297);
	aClass8_64 = new Class8(Class18.aClass18_297);
	aClass8_65 = new Class8(Class18.aClass18_297);
	aClass8_62 = new Class8(Class18.aClass18_297);
	aClass8_63 = new Class8(Class18.aClass18_297);
	aClass8_54 = new Class8(Class18.aClass18_297);
	aClass8_72 = new Class8(Class18.aClass18_297);
	aClass8_66 = new Class8(Class18.aClass18_297);
	aClass8_67 = new Class8(Class18.aClass18_297);
	aClass8_68 = new Class8(Class18.aClass18_297);
	aClass8_69 = new Class8(Class18.aClass18_297);
	aClass8_70 = new Class8(Class18.aClass18_297);
	aClass8_71 = new Class8(Class18.aClass18_297);
	aClass8_59 = new Class8(Class18.aClass18_295);
	aClass8_73 = new Class8(Class18.aClass18_297);
	aClass8_74 = new Class8(Class18.aClass18_297);
	aClass8_61 = new Class8(Class18.aClass18_297);
	aClass8_52 = new Class8(Class18.aClass18_296);
    }
    
    public static Class8[] method546(int i) {
	return (new Class8[]
		{ aClass8_78, aClass8_53, aClass8_75, aClass8_55, aClass8_56,
		  aClass8_79, aClass8_58, aClass8_57, aClass8_64, aClass8_65,
		  aClass8_62, aClass8_63, aClass8_54, aClass8_72, aClass8_66,
		  aClass8_67, aClass8_68, aClass8_69, aClass8_70, aClass8_71,
		  aClass8_59, aClass8_73, aClass8_74, aClass8_61,
		  aClass8_52 });
    }
    
    public int method547() {
	return ((Class8) this).anInt76 * 983699197;
    }
    
    public void method548(int i) {
	((Class8) this).anInt76 = 943390293 * i;
    }
    
    public void method549(int i) {
	((Class8) this).anInt76 = 943390293 * i;
    }
    
    public static int method550(int i, int i_2_, int i_3_, boolean bool,
				int i_4_) {
	if (0 != i && (i < 50 || i > 100))
	    i = 0;
	if (i_2_ != 0 && (i_2_ < 50 || i_2_ > 100))
	    i_2_ = 0;
	boolean bool_5_ = Class470.aString5331.startsWith("mac");
	int[] is = (Class68.aTwitchTV970.GetRecommendedSettings
		    (Class175.anInt2012 * 1881245841,
		     -1922042493 * Class570.anInt7649, i, 2000, i_3_,
		     Class545.aFloat7369, bool_5_));
	if (is[0] != 0)
	    return is[0];
	int i_6_ = is[1];
	int i_7_ = is[2];
	int i_8_ = is[3];
	int i_9_ = i_8_;
	Class545.aLong7361 = 0L;
	Class545.aLong7370
	    = (long) (1000.0F / (float) i_3_) * -5075688010145108701L;
	Class37.anInt458 = -710485277 * i_6_;
	Class425.anInt4900 = -547861529 * i_7_;
	if (i_2_ != 0)
	    i_8_ = i_8_ * i_2_ / 100;
	Class203.method3003(new StringBuilder().append("Stream - Input: ")
				.append
				(Class175.anInt2012 * 1881245841).append
				("x").append
				(Class570.anInt7649 * -1922042493).append
				(" (").append
				(i_9_).append
				("kbps)").append
				(" => ").append
				("Output: ").append
				(i_6_).append
				("x").append
				(i_7_).append
				(" [").append
				(0 == i ? "auto" : new StringBuilder().append
						       (i).append
						       ("%").toString())
				.append
				("] (").append
				(i_8_).append
				("kbps [").append
				(0 == i_2_ ? "auto"
				 : new StringBuilder().append(i_2_).append
				       ("%").toString())
				.append
				("])").toString(),
			    (byte) 34);
	return Class68.aTwitchTV970.StartStreaming(i_6_, i_7_, i_3_, i_8_,
						   0 != i_2_,
						   Class545.aFloat7369,
						   (2057487169
						    * Class545.anInt7388),
						   bool);
    }
    
    public void method551(Interface4 interface4, int i) {
	if (interface4.method20((byte) -90) != ((Class8) this).aClass18_77)
	    throw new IllegalArgumentException();
	((Class8) this).anInterface4_60 = interface4;
    }
    
    static final void method552(Class612 class612, int i) {
	Class625 class625 = (((Class612) class612).aBool8038
			     ? ((Class612) class612).aClass625_8045
			     : ((Class612) class612).aClass625_8029);
	Class211 class211 = ((Class625) class625).aClass211_8099;
	((Class612) class612).anIntArray8021
	    [(((Class612) class612).anInt8022 += 201091009) * -40654783 - 1]
	    = class211.anInt2257 * -1510378357;
    }
    
    static String method553(Class487_Sub17 class487_sub17, int i, int i_10_) {
	String string;
	try {
	    int i_11_ = class487_sub17.method9234((byte) -124);
	    if (i_11_ > i)
		i_11_ = i;
	    byte[] is = new byte[i_11_];
	    class487_sub17.anInt10192
		+= (Class251.aClass255_2950.method3535
		    (class487_sub17.aByteArray10193,
		     -1980757211 * class487_sub17.anInt10192, is, 0, i_11_,
		     -1858108667)) * 850991277;
	    String string_12_ = Class15.method592(is, 0, i_11_, (byte) 0);
	    string = string_12_;
	} catch (Exception exception) {
	    return "Cabbage";
	}
	return string;
    }
}
