// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]Triangulator/src/solver.cpp
// Function: main
int main(int argc, char** argv) {
	assert(argc == 1 || argc == 2 || argc == 3);
	int upperBound = -1;
	int problem = -1;
	
	for (int i = 1; i < argc; i++) {
		string s(argv[i]);
		if (s == "-treewidth") {
			problem = PROBLEM_TREEWIDTH;
		}
		else if (s == "-minfill") {
			problem = PROBLEM_MINFILL;
		}
		else if (s == "-bayes") {
			problem = PROBLEM_BAYES;
		}
		else if (s == "-hyper") {
			problem = PROBLEM_HYPER;
		}
		else if (s == "-frachyper") {
			problem = PROBLEM_FRACHYPER;
		}
		else if (s == "-pmcprogress") {
			PMC::setPrintProgress(true);
		}
		else if (s.size() > 3 && s.substr(0, 3) == "-k=") {
			upperBound = 0;
			for (int j = 3; j < (int)s.size(); j++) {
				assert(isdigit(s[j]));
				upperBound *= 10;
				upperBound += (s[j] - '0');
			}
			cerr<<"Upper bound set to "<<upperBound<<endl;
		}
		else {
			cerr<<"invalid arg"<<endl;
			abort();
		}
	}
	if (problem == -1) {
		cerr<<"No problem specified, defaulting to treewidth"<<endl;
		problem = PROBLEM_TREEWIDTH;
	}
	
	if (upperBound != -1 && problem != PROBLEM_MINFILL && problem != PROBLEM_TREEWIDTH) {
		cerr<<"WARNING: UPPER BOUND HAS EFFECT ONLY FOR TREEWIDTH AND MINFILL"<<endl;
	}
	
	if (problem == PROBLEM_BAYES) {
		Bayes::solve();
	}
	else if (problem == PROBLEM_HYPER) {
		Hyper::solve();
	}
	else if (problem == PROBLEM_FRACHYPER) {
		Hyper::solveFrac();
	}
	else {
		Timer timer;
		timer.start();
		set<pair<int, int> > edges;
		IO io;
		int n = io.readInput(cin, edges);
		assert(n <= maxN);
		Graph G(edges);
		
		if (upperBound == -1) {
			upperBound = (int)1e9;
		}
		if (problem == PROBLEM_MINFILL) {
			if (n == 0) return 0;
			vector<pair<int, int> > sol = MinFill::SolveGraph::solveGraph(G, 0, upperBound, 0);
			
			if (sol == FAILSOLUTION) {
				assert(upperBound < (int)1e9);
				cout<<"No fill in with <= "<<upperBound<<" edges"<<endl;
				cerr<<"No fill in with <= "<<upperBound<<" edges"<<endl;
			}
			else {
				// check correctness
				G.addEdges(sol);
				auto fill0 = MCS::MCS_MP(G);
				assert(fill0.F.size() == 0);
				
				sol = G.mapBack(sol);
				
				io.printFill(cout, sol);
				
				cerr<<"Fill edges: "<<sol.size()<<endl;
				cerr<<"*Treewidth: "<<MCS::getTreeWidth(G)<<endl;
				cerr<<"Time: "<<timer.getTime().count()<<endl;
			}
		}
		else if (problem == PROBLEM_TREEWIDTH) {
			pair<int, vector<pair<int, int> > > sol = TreeWidth::SolveGraph::solveGraph(G, 0, 0, upperBound);
			
			if (sol.S == FAILSOLUTION) {
				assert(upperBound < (int)1e9);
				cout<<"Treewidth > "<<upperBound<<endl;
				cerr<<"Treewidth > "<<upperBound<<endl;
			}
			else {
				// check correctness
				G.addEdges(sol.S);
				auto fill0 = MCS::MCS_MP(G);
				assert(fill0.F.size() == 0);
				
				int treeWidth = MCS::getTreeWidth(G);
				
				assert(treeWidth == sol.F);
				
				auto treeDecomposition = MCS::getTreeDecomposition(G);
				treeDecomposition = G.mapBack(treeDecomposition);
				
				for (auto& bag : treeDecomposition.F) {
					assert((int)bag.size()-1 <= treeWidth);
				}
				
				if (G.n > 0) {
					Graph testT(treeDecomposition.S);
					assert(testT.isConnected());
					assert(testT.n == G.n);
					assert(testT.m == G.n - 1);
				}
				
				io.printTreeDecomposition(cout, treeDecomposition);
				
				cerr<<"Treewidth: "<<treeWidth<<endl;
				cerr<<"*Fill edges: "<<sol.S.size()<<endl;
				cerr<<"Time: "<<timer.getTime().count()<<endl;
			}
		}
		else {
			abort();
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp            # imm = 0x288
movq %rsi, 0x138(%rsp)
leal -0x1(%rdi), %eax
cmpl $0x2, %eax
ja 0x3cec
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
cmpl $0x2, %edi
jl 0x31a7
movl %edi, %r13d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl $0x1, %r12d
leaq 0x68(%rsp), %r15
movl $0xffffffff, %r14d      # imm = 0xFFFFFFFF
movq 0x138(%rsp), %rax
movq (%rax,%r12,8), %rsi
movq %r15, %rdi
leaq 0xe0(%rsp), %rdx
callq 0x3fec
movq %r15, %rdi
leaq 0x270a2(%rip), %rsi     # 0x2a066
callq 0x2070
testl %eax, %eax
je 0x3078
movq %r15, %rdi
leaq 0x27096(%rip), %rsi     # 0x2a071
callq 0x2070
testl %eax, %eax
je 0x3083
movq %r15, %rdi
leaq 0x27088(%rip), %rsi     # 0x2a07a
callq 0x2070
testl %eax, %eax
je 0x308e
movq %r15, %rdi
leaq 0x27078(%rip), %rsi     # 0x2a081
callq 0x2070
testl %eax, %eax
je 0x3099
movq %r15, %rdi
leaq 0x27068(%rip), %rsi     # 0x2a088
callq 0x2070
testl %eax, %eax
je 0x30a4
movq %r15, %rdi
leaq 0x27060(%rip), %rsi     # 0x2a093
callq 0x2070
testl %eax, %eax
je 0x30af
movq 0x70(%rsp), %rbx
cmpq $0x4, %rbx
jb 0x30be
movl $0x3, %ecx
leaq 0x250(%rsp), %rbp
movq %rbp, %rdi
movq %r15, %rsi
xorl %edx, %edx
callq 0x2230
movq %rbp, %rdi
leaq 0x27035(%rip), %rsi     # 0x2a0a0
callq 0x2070
testl %eax, %eax
sete %bpl
jmp 0x30c0
movl $0x2, %r14d
jmp 0x317f
movl $0x1, %r14d
jmp 0x317f
movl $0x3, %r14d
jmp 0x317f
movl $0x4, %r14d
jmp 0x317f
movl $0x6, %r14d
jmp 0x317f
movl $0x1, %edi
callq 0x1b290
jmp 0x317f
xorl %ebp, %ebp
cmpq $0x4, %rbx
jb 0x30eb
movq 0x250(%rsp), %rdi
leaq 0x260(%rsp), %rax
cmpq %rax, %rdi
je 0x30eb
movq 0x260(%rsp), %rsi
incq %rsi
callq 0x2210
testb %bpl, %bpl
je 0x3d0b
movq 0x70(%rsp), %rax
xorl %ebx, %ebx
cmpl $0x4, %eax
jl 0x312f
movq 0x68(%rsp), %rcx
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
xorl %ebx, %ebx
movl $0x3, %edx
movsbl (%rcx,%rdx), %esi
addl $-0x30, %esi
cmpl $0xa, %esi
jae 0x3cae
leal (%rbx,%rbx,4), %edi
leal (%rsi,%rdi,2), %ebx
incq %rdx
cmpq %rdx, %rax
jne 0x3111
movl $0x13, %edx
movq 0x32eb5(%rip), %rdi     # 0x35ff0
leaq 0x26f70(%rip), %rsi     # 0x2a0b2
callq 0x2250
movq 0x32ea2(%rip), %rdi     # 0x35ff0
movl %ebx, %esi
callq 0x2300
movq %rax, %rbp
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbp, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbp, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x319b
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2210
incq %r12
cmpq %r13, %r12
jne 0x2f9e
movq %r14, %r15
cmpl $-0x1, %r15d
jne 0x31f8
movq 0x32e39(%rip), %r14     # 0x35ff0
leaq 0x26f14(%rip), %rsi     # 0x2a0d2
movl $0x2d, %edx
movq %r14, %rdi
callq 0x2250
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movl $0x2, %r15d
cmpl $-0x1, %ebx
je 0x3248
leal -0x3(%r15), %eax
cmpl $-0x3, %eax
ja 0x3248
movq 0x32de3(%rip), %r14     # 0x35ff0
leaq 0x26eec(%rip), %rsi     # 0x2a100
movl $0x3e, %edx
movq %r14, %rdi
callq 0x2250
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
cmpl $0x6, %r15d
je 0x326e
cmpl $0x4, %r15d
je 0x3264
cmpl $0x3, %r15d
jne 0x3278
callq 0x5486
jmp 0x3c9a
callq 0xdf69
jmp 0x3c9a
callq 0xe561
jmp 0x3c9a
leaq 0x238(%rsp), %r14
movq %r14, %rdi
callq 0x270c8
movq %r14, %rdi
callq 0x270d4
leaq 0x210(%rsp), %rax
xorl %ecx, %ecx
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
leaq 0x1c0(%rsp), %rax
movl %ecx, (%rax)
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rax)
movups %xmm0, 0x30(%rax)
movq 0x32d04(%rip), %rsi     # 0x35fd8
leaq 0x1b8(%rsp), %rdi
leaq 0x208(%rsp), %rdx
callq 0x10cb4
movl %eax, %r14d
cmpl $0xc351, %eax           # imm = 0xC351
jge 0x3d34
leaq 0x68(%rsp), %rdi
leaq 0x208(%rsp), %rsi
callq 0x92a6
cmpl $-0x1, %ebx
movl $0x3b9aca00, %ebp       # imm = 0x3B9ACA00
cmovnel %ebx, %ebp
cmpl $0x1, %r15d
je 0x33cb
cmpl $0x2, %r15d
jne 0x3d2f
leaq 0xc0(%rsp), %rdi
leaq 0x68(%rsp), %rsi
xorl %edx, %edx
xorl %ecx, %ecx
movl %ebp, %r8d
callq 0x27dcc
movq 0xc8(%rsp), %rcx
movq 0xd0(%rsp), %rax
movq %rax, %rsi
subq %rcx, %rsi
movq 0x32e7a(%rip), %rdi     # 0x361d8
movq 0x32e6b(%rip), %rdx     # 0x361d0
subq %rdx, %rdi
cmpq %rdi, %rsi
jne 0x3528
cmpq %rax, %rcx
sete %sil
je 0x346e
movl (%rcx), %esi
cmpl (%rdx), %esi
jne 0x3528
movl 0x4(%rdx), %esi
cmpl %esi, 0x4(%rcx)
jne 0x3528
addq $0x8, %rcx
addq $0xc, %rdx
cmpq %rax, %rcx
sete %sil
je 0x346e
movl (%rcx), %esi
cmpl -0x4(%rdx), %esi
jne 0x3528
leaq 0x8(%rcx), %rsi
movl (%rdx), %edi
addq $0x8, %rdx
cmpl %edi, 0x4(%rcx)
movq %rsi, %rcx
je 0x339c
jmp 0x3528
testl %r14d, %r14d
je 0x3c40
leaq 0x38(%rsp), %rdi
leaq 0x68(%rsp), %rsi
xorl %edx, %edx
movl %ebp, %ecx
xorl %r8d, %r8d
callq 0x16405
movq 0x38(%rsp), %rcx
movq 0x40(%rsp), %rax
movq %rax, %rsi
subq %rcx, %rsi
movq 0x32dd7(%rip), %rdi     # 0x361d8
movq 0x32dc8(%rip), %rdx     # 0x361d0
subq %rdx, %rdi
cmpq %rdi, %rsi
jne 0x39fa
cmpq %rax, %rcx
sete %sil
je 0x3918
movl (%rcx), %esi
cmpl (%rdx), %esi
jne 0x39fa
movl 0x4(%rdx), %esi
cmpl %esi, 0x4(%rcx)
jne 0x39fa
addq $0x8, %rcx
addq $0xc, %rdx
cmpq %rax, %rcx
sete %sil
je 0x3918
movl (%rcx), %esi
cmpl -0x4(%rdx), %esi
jne 0x39fa
leaq 0x8(%rcx), %rsi
movl (%rdx), %edi
addq $0x8, %rdx
cmpl %edi, 0x4(%rcx)
movq %rsi, %rcx
je 0x343f
jmp 0x39fa
testb %sil, %sil
je 0x3528
cmpl $0x3b9aca00, %ebp       # imm = 0x3B9ACA00
jge 0x3e0d
movq 0x32b3e(%rip), %rdi     # 0x35fc8
leaq 0x26d11(%rip), %rsi     # 0x2a1a2
movl $0xc, %edx
callq 0x2250
movq 0x32b26(%rip), %rdi     # 0x35fc8
movl %ebp, %esi
callq 0x2300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x32b16(%rip), %rdi     # 0x35ff0
leaq 0x26cc1(%rip), %rsi     # 0x2a1a2
movl $0xc, %edx
callq 0x2250
movq 0x32afe(%rip), %rdi     # 0x35ff0
movl %ebp, %esi
callq 0x2300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
jmp 0x38fa
leaq 0xc8(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x9880
leaq 0x38(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x12a60
movq 0x40(%rsp), %rax
cmpq 0x38(%rsp), %rax
jne 0x3d53
leaq 0x68(%rsp), %rdi
callq 0x1374a
movl %eax, %ebx
cmpl 0xc0(%rsp), %eax
jne 0x3d72
movq %rsp, %rdi
leaq 0x68(%rsp), %rsi
callq 0x14877
leaq 0x188(%rsp), %rdi
movq %rsp, %rsi
callq 0x40d0
leaq 0xe0(%rsp), %rdi
leaq 0x68(%rsp), %rsi
leaq 0x188(%rsp), %rdx
callq 0x9fdc
xorps %xmm0, %xmm0
leaq 0x270(%rsp), %rdi
movaps %xmm0, (%rdi)
movups (%rsp), %xmm0
movq 0x10(%rsp), %rax
movups 0xe0(%rsp), %xmm1
movups %xmm1, (%rsp)
movq 0xf0(%rsp), %rcx
movq %rcx, 0x10(%rsp)
movaps (%rdi), %xmm1
movaps %xmm0, (%rdi)
movq %rax, 0x10(%rdi)
movups %xmm1, 0xe0(%rsp)
xorl %r14d, %r14d
movq %r14, 0xf0(%rsp)
callq 0x41fe
movq 0x18(%rsp), %rdi
movq 0x28(%rsp), %rsi
movq 0xf8(%rsp), %rax
movq %rax, 0x18(%rsp)
movups 0x100(%rsp), %xmm0
movups %xmm0, 0x20(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, 0xf8(%rsp)
movq %r14, 0x108(%rsp)
testq %rdi, %rdi
je 0x363f
subq %rdi, %rsi
callq 0x2210
movq 0xf8(%rsp), %rdi
testq %rdi, %rdi
je 0x365c
movq 0x108(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0xe0(%rsp), %rdi
callq 0x41fe
movq 0x1a0(%rsp), %rdi
testq %rdi, %rdi
je 0x3686
movq 0x1b0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0x188(%rsp), %rdi
callq 0x41fe
movq (%rsp), %rax
movq 0x8(%rsp), %rcx
cmpq %rcx, %rax
je 0x36bc
movq 0x8(%rax), %rdx
subq (%rax), %rdx
shrq $0x2, %rdx
decl %edx
cmpl %ebx, %edx
jg 0x3ccd
addq $0x18, %rax
jmp 0x369c
cmpl $0x0, 0xb8(%rsp)
jle 0x374a
leaq 0x18(%rsp), %rsi
leaq 0xe0(%rsp), %rdi
callq 0x95cc
leaq 0xe0(%rsp), %rdi
callq 0xa156
testb %al, %al
je 0x3db0
movl 0xb8(%rsp), %eax
cmpl %eax, 0x130(%rsp)
jne 0x3dcf
decl %eax
cmpl %eax, 0x134(%rsp)
jne 0x3dee
leaq 0x118(%rsp), %rdi
callq 0x41fe
leaq 0xf8(%rsp), %r14
movq %r14, %rdi
callq 0x43b8
movq -0x18(%r14), %rdi
testq %rdi, %rdi
je 0x374a
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0x158(%rsp), %rdi
movq %rsp, %rsi
callq 0x40d0
movq 0x32867(%rip), %rsi     # 0x35fc8
leaq 0x1b8(%rsp), %rdi
leaq 0x158(%rsp), %rdx
callq 0x11a7a
movq 0x170(%rsp), %rdi
testq %rdi, %rdi
je 0x3793
movq 0x180(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0x158(%rsp), %rdi
callq 0x41fe
movq 0x32849(%rip), %rdi     # 0x35ff0
leaq 0x269e1(%rip), %rsi     # 0x2a18f
movl $0xb, %edx
callq 0x2250
movq 0x32831(%rip), %rdi     # 0x35ff0
movl %ebx, %esi
callq 0x2300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x327f9(%rip), %rdi     # 0x35ff0
leaq 0x26a19(%rip), %rsi     # 0x2a217
movl $0xd, %edx
callq 0x2250
movq 0xd0(%rsp), %rsi
subq 0xc8(%rsp), %rsi
sarq $0x3, %rsi
movq 0x327cd(%rip), %rdi     # 0x35ff0
callq 0x2150
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x32797(%rip), %rdi     # 0x35ff0
leaq 0x2693b(%rip), %rsi     # 0x2a19b
movl $0x6, %edx
callq 0x2250
leaq 0x238(%rsp), %rdi
callq 0x2711a
movq 0x32772(%rip), %rdi     # 0x35ff0
callq 0x22d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0x38c4
movq 0x28(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq %rsp, %rdi
callq 0x41fe
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x38e3
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x38fa
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0xc8(%rsp), %rdi
testq %rdi, %rdi
je 0x3c40
movq 0xd8(%rsp), %rsi
jmp 0x3c38
testb %sil, %sil
je 0x39fa
cmpl $0x3b9aca00, %ebp       # imm = 0x3B9ACA00
jge 0x3e2c
movq 0x32694(%rip), %rdi     # 0x35fc8
leaq 0x26824(%rip), %rsi     # 0x2a15f
movl $0x13, %edx
callq 0x2250
movq 0x3267c(%rip), %rdi     # 0x35fc8
movl %ebp, %esi
callq 0x2300
movq %rax, %rbx
leaq 0x26816(%rip), %rsi     # 0x2a173
movl $0x6, %edx
movq %rax, %rdi
callq 0x2250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x32658(%rip), %rdi     # 0x35ff0
leaq 0x267c0(%rip), %rsi     # 0x2a15f
movl $0x13, %edx
callq 0x2250
movq 0x32640(%rip), %rdi     # 0x35ff0
movl %ebp, %esi
callq 0x2300
movq %rax, %rbx
leaq 0x267b2(%rip), %rsi     # 0x2a173
movl $0x6, %edx
movq %rax, %rdi
callq 0x2250
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
jmp 0x3c29
leaq 0x68(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x9880
leaq 0xe0(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x12a60
movq 0xe8(%rsp), %rax
cmpq 0xe0(%rsp), %rax
jne 0x3d91
leaq 0x140(%rsp), %rdi
leaq 0x38(%rsp), %rsi
callq 0x402a
movq %rsp, %rdi
leaq 0x68(%rsp), %rsi
leaq 0x140(%rsp), %rdx
callq 0x9f86
movq 0x38(%rsp), %rdi
movq 0x48(%rsp), %rsi
movq (%rsp), %rax
movq %rax, 0x38(%rsp)
movups 0x8(%rsp), %xmm0
movups %xmm0, 0x40(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq $0x0, 0x10(%rsp)
testq %rdi, %rdi
je 0x3a92
subq %rdi, %rsi
callq 0x2210
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x3aa8
movq 0x10(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x3ac5
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x324fc(%rip), %rsi     # 0x35fc8
leaq 0x1b8(%rsp), %rdi
leaq 0x38(%rsp), %rdx
callq 0x11902
movq 0x3250b(%rip), %rdi     # 0x35ff0
leaq 0x2672c(%rip), %rsi     # 0x2a218
movl $0xc, %edx
callq 0x2250
movq 0x40(%rsp), %rsi
subq 0x38(%rsp), %rsi
sarq $0x3, %rsi
movq 0x324e5(%rip), %rdi     # 0x35ff0
callq 0x2150
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x324af(%rip), %rdi     # 0x35ff0
leaq 0x26646(%rip), %rsi     # 0x2a18e
movl $0xc, %edx
callq 0x2250
leaq 0x68(%rsp), %rdi
callq 0x1374a
movq 0x3248d(%rip), %rdi     # 0x35ff0
movl %eax, %esi
callq 0x2300
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0x32455(%rip), %rdi     # 0x35ff0
leaq 0x265f9(%rip), %rsi     # 0x2a19b
movl $0x6, %edx
callq 0x2250
leaq 0x238(%rsp), %rdi
callq 0x2711a
movq 0x32430(%rip), %rdi     # 0x35ff0
callq 0x22d0
movq %rax, %rbx
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21f0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2160
movq 0xf8(%rsp), %rdi
testq %rdi, %rdi
je 0x3c0c
movq 0x108(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0xe0(%rsp), %rdi
testq %rdi, %rdi
je 0x3c29
movq 0xf0(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3c40
movq 0x48(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0xa0(%rsp), %rdi
callq 0x41fe
leaq 0x80(%rsp), %rbx
movq %rbx, %rdi
callq 0x43b8
movq -0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x3c73
movq 0x78(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0x1e8(%rsp), %rdi
callq 0x4406
leaq 0x1b8(%rsp), %rdi
callq 0x4462
leaq 0x208(%rsp), %rdi
callq 0x44da
xorl %eax, %eax
addq $0x288, %rsp            # imm = 0x288
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x263ef(%rip), %rdi     # 0x2a0a4
leaq 0x26388(%rip), %rsi     # 0x2a044
leaq 0x2638c(%rip), %rcx     # 0x2a04f
movl $0x31, %edx
callq 0x2140
leaq 0x264ee(%rip), %rdi     # 0x2a1c2
leaq 0x26369(%rip), %rsi     # 0x2a044
leaq 0x2636d(%rip), %rcx     # 0x2a04f
movl $0x88, %edx
callq 0x2140
leaq 0x2632d(%rip), %rdi     # 0x2a020
leaq 0x2634a(%rip), %rsi     # 0x2a044
leaq 0x2634e(%rip), %rcx     # 0x2a04f
movl $0x16, %edx
callq 0x2140
movq 0x322de(%rip), %rdi     # 0x35ff0
leaq 0x263ad(%rip), %rsi     # 0x2a0c6
movl $0xb, %edx
callq 0x2250
movq 0x322c6(%rip), %rdi     # 0x35ff0
callq 0x20d0
callq 0x2120
leaq 0x26404(%rip), %rdi     # 0x2a13f
leaq 0x26302(%rip), %rsi     # 0x2a044
leaq 0x26306(%rip), %rcx     # 0x2a04f
movl $0x54, %edx
callq 0x2140
leaq 0x26420(%rip), %rdi     # 0x2a17a
leaq 0x262e3(%rip), %rsi     # 0x2a044
leaq 0x262e7(%rip), %rcx     # 0x2a04f
movl $0x7e, %edx
callq 0x2140
leaq 0x26436(%rip), %rdi     # 0x2a1af
leaq 0x262c4(%rip), %rsi     # 0x2a044
leaq 0x262c8(%rip), %rcx     # 0x2a04f
movl $0x82, %edx
callq 0x2140
leaq 0x263e2(%rip), %rdi     # 0x2a17a
leaq 0x262a5(%rip), %rsi     # 0x2a044
leaq 0x262a9(%rip), %rcx     # 0x2a04f
movl $0x67, %edx
callq 0x2140
leaq 0x2642a(%rip), %rdi     # 0x2a1e1
leaq 0x26286(%rip), %rsi     # 0x2a044
leaq 0x2628a(%rip), %rcx     # 0x2a04f
movl $0x8d, %edx
callq 0x2140
leaq 0x2641f(%rip), %rdi     # 0x2a1f5
leaq 0x26267(%rip), %rsi     # 0x2a044
leaq 0x2626b(%rip), %rcx     # 0x2a04f
movl $0x8e, %edx
callq 0x2140
leaq 0x2640f(%rip), %rdi     # 0x2a204
leaq 0x26248(%rip), %rsi     # 0x2a044
leaq 0x2624c(%rip), %rcx     # 0x2a04f
movl $0x8f, %edx
callq 0x2140
leaq 0x26335(%rip), %rdi     # 0x2a149
leaq 0x26229(%rip), %rsi     # 0x2a044
leaq 0x2622d(%rip), %rcx     # 0x2a04f
movl $0x76, %edx
callq 0x2140
leaq 0x26316(%rip), %rdi     # 0x2a149
leaq 0x2620a(%rip), %rsi     # 0x2a044
leaq 0x2620e(%rip), %rcx     # 0x2a04f
movl $0x5f, %edx
callq 0x2140
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x412c
jmp 0x3eff
jmp 0x3efc
movq %rax, %rbx
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x3ede
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
jmp 0x3ede
jmp 0x3edb
jmp 0x3ebc
jmp 0x3eb7
movq %rax, %rbx
leaq 0x158(%rsp), %rdi
jmp 0x3ea5
movq %rax, %rbx
leaq 0x188(%rsp), %rdi
callq 0x410a
jmp 0x3eff
jmp 0x3efc
jmp 0x3eb0
movq %rax, %rbx
jmp 0x3f07
jmp 0x3ec8
movq %rax, %rbx
jmp 0x3f2e
movq %rax, %rbx
jmp 0x3eeb
jmp 0x3ec3
movq %rax, %rbx
jmp 0x3f38
movq %rax, %rbx
jmp 0x3f11
jmp 0x3edb
jmp 0x3f61
jmp 0x3efc
jmp 0x3f61
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x40a0
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x3f2e
movq 0x48(%rsp), %rsi
jmp 0x3f26
movq %rax, %rbx
movq %rsp, %rdi
callq 0x410a
leaq 0x38(%rsp), %rdi
callq 0x40a0
movq 0xc8(%rsp), %rdi
testq %rdi, %rdi
je 0x3f2e
movq 0xd8(%rsp), %rsi
subq %rdi, %rsi
callq 0x2210
leaq 0x68(%rsp), %rdi
callq 0x412c
leaq 0x1e8(%rsp), %rdi
callq 0x4406
leaq 0x1b8(%rsp), %rdi
callq 0x4462
leaq 0x208(%rsp), %rdi
callq 0x44da
jmp 0x3f85
movq %rax, %rbx
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x3f85
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x2210
jmp 0x3f85
movq %rax, %rbx
movq %rbx, %rdi
callq 0x2310
nop