/* 
 * Script decompiled by jagdecs2 v3.2
 * Decompiler opts:
 * --------------
 * t1LocalAnalyzer:true
 * t2LocalAnalyzer:true
 * beautifier:true
 * --------------
 * Made by mgi125 ;)
 */


int script_967(int a0,int a1) {
	if (a0 > a1) {
		if (cs2method_10461(a0, a1) <= 1024) {
			return cs2method_10872(cs2method_10060(a1, 6), a0);
		}
		if (a1 >= 6) {
			return cs2method_10461(a1, 6);
		}
		return cs2method_11048(script_686(cs2method_10461(a1, 6), 2048), a0);
	}
	if (cs2method_10461(a1, a0) <= 1024) {
		return cs2method_11048(cs2method_10461(a1, 6), a0);
	}
	if (a1 < cs2method_10461(2048, 6)) {
		return cs2method_10060(a1, 6);
	}
	return cs2method_10872(cs2method_10038(cs2method_10060(a1, 6), 2048), a0);
}
