// File: /workspace/github_cpp_makefile_star2_O3/Laakeri[P]maxpre/src/./BIG.cpp
// Function: maxPreprocessor::Preprocessor::tryBIG(int, bool)
int Preprocessor::tryBIG(int lit, bool doTC) {
	vector<int> cc;
	BIGdfs1(lit, cc);
	for (unsigned i = 0; i < cc.size(); i++) {
		BIGu[cc[i]] = BIGIt - 1;
		BIGid[cc[i]] = (int)i;
		BIGu2[i] = 0;
	}
	vector<vector<int> > g(cc.size());
	vector<vector<int> > rg(cc.size());
	for (int x : cc) {
		// forward edges
		for (int c : pi.litClauses[litNegation(x)]) {
			if (pi.clauses[c].lit.size() == 2) {
				for (int nx : pi.clauses[c].lit) {
					if (nx != litNegation(x) && pi.isLabel[litVariable(nx)] == VAR_UNDEFINED && BIGu[nx] != BIGIt) {
						g[BIGid[x]].push_back(BIGid[nx]);
					}
				}
			}
		}
		// backward edges
		for (int c : pi.litClauses[x]) {
			if (pi.clauses[c].lit.size() == 2) {
				for (int nx : pi.clauses[c].lit) {
					if (nx != x && pi.isLabel[litVariable(nx)] == VAR_UNDEFINED && BIGu[litNegation(nx)] != BIGIt) {
						rg[BIGid[x]].push_back(BIGid[litNegation(nx)]);
					}
				}
			}
		}
	}
	for (int x : cc) {
		BIGu[x] = BIGIt;
	}
	vector<int> ns;
	for (int i = 0; i < (int)cc.size(); i++) {
		BIGdfs2(g, i, ns);
	}
	int removed = 0;
	vector<vector<int> > sccs;
	vector<int> topo1;
	topo1.reserve(cc.size());
	for (int i = (int)ns.size() - 1; i >= 0; i--) {
		if (BIGu2[ns[i]] != 2) {
			vector<int> scc;
			BIGdfs3(rg, ns[i], scc);
			if (scc.size() > 1) {
				for (int& x : scc) {
					x = cc[x];
				}
				sccs.push_back(scc);
			}
			else {
				topo1.push_back(scc[0]);
			}
		}
	}
	for (auto& scc : sccs) {
		if (scc.size() > 1 && BIGu2[litVariable(scc[0])] != 3) {
			sort(scc.begin(), scc.end());
			bool unsat = false;
			for (unsigned j = 1; j < scc.size(); j++) {
				if (scc[j - 1] == litNegation(scc[j])) {
					unsat = true;
					break;
				}
			}
			if (unsat) {
				for (int l : scc) {
					vector<int> pCls = pi.litClauses[l];
					vector<int> nCls = pi.litClauses[litNegation(l)];
					for (int c : pCls) {
						pi.removeClause(c);
						rLog.removeClause(1);
					}
					for (int c : nCls) {
						pi.removeClause(c);
						rLog.removeClause(1);
					}
				}
				pi.addClause({scc[0]});
				pi.addClause({litNegation(scc[0])});
				rLog.removeVariable((int)scc.size() - 1);
				continue;
			}
			for (unsigned j = 0; j < scc.size(); j++) {
				assert(BIGu2[litVariable(scc[j])] != 3);
				BIGu2[litVariable(scc[j])] = 3;
			}
			for (unsigned j = 1; j < scc.size(); j++) {
				vector<int> pCls = pi.litClauses[scc[j]];
				vector<int> nCls = pi.litClauses[litNegation(scc[j])];
				for (int c : pCls) {
					pi.removeLiteralFromClause(scc[j], c);
				}
				for (int c : nCls) {
					pi.removeLiteralFromClause(litNegation(scc[j]), c);
				}
				for (int c : pCls) {
					bool f = false;
					bool fn = false;
					for (int l : pi.clauses[c].lit) {
						if (l == scc[0]) f = true;
						if (l == litNegation(scc[0])) fn = true;
					}
					if (fn) {
						pi.removeClause(c);
						rLog.removeClause(1);
					}
					else if (!f) {
						pi.addLiteralToClause(scc[0], c);
					}
				}
				for (int c : nCls) {
					bool f = false;
					bool fn = false;
					for (int l : pi.clauses[c].lit) {
						if (l == litNegation(scc[0])) f = true;
						if (l == scc[0]) fn = true;
					}
					if (fn) {
						pi.removeClause(c);
						rLog.removeClause(1);
					}
					else if (!f) {
						pi.addLiteralToClause(litNegation(scc[0]), c);
					}
				}
				trace.setEqual(scc[0], scc[j]);
			}
			rLog.removeVariable((int)scc.size() - 1);
			removed += (int)scc.size() - 1;
		}
	}
	if (sccs.size() > 0 || cc.size() == 1) {
		return removed;
	}
	if (!doTC) return 0;
	if (doneUnhiding) return 0;
	doneUnhiding = true;
	rLog.stopTechnique(Log::Technique::EE);
	rLog.startTechnique(Log::Technique::UH);
	int stamp = 1;
	vector<pair<int, int> > pcc(cc.size());
	for (int i = 0; i < (int)cc.size(); i++) {
		pcc[i] = {cc[i], i};
	}
	sort(pcc.begin(), pcc.end());
	
	vector<int> trueLits;
	vector<pair<int, int> > rmLit;
	vector<int> rmClause;
	vector<pair<int, int> > qrs;
	for (int i = 1; i < (int)pcc.size(); i++) {
		if (pcc[i].F == litNegation(pcc[i - 1].F)) {
			int a = pcc[i].S;
			int b = pcc[i - 1].S;
			qrs.push_back({a, b});
		}
	}
	vector<int> leIndex(cc.size());
	vector<int> riIndex(cc.size());
	vector<int> up1(cc.size());
	vector<int> up2(cc.size());
	vector<int> perm(cc.size());
	for (int i = 0; i < (int)cc.size(); i++) perm[i] = i;
	for (int trys = 0; trys < 9; trys++) { // magic constant
		random_shuffle(perm.begin(), perm.end());
		for (int i = 0; i < (int)cc.size(); i++) BIGu2[i] = 0;
		for (int i : perm) {
			genIndex(g, rg, i, i, i, stamp, leIndex, riIndex, up1, up2, trys%3);
		}
		// FAILED LITERALS
		for (auto qq : qrs) {
			if (BIGisPath(qq.F, qq.S, leIndex, riIndex, up1, up2)) trueLits.push_back(cc[qq.S]);
			else if (BIGisPath(qq.S, qq.F, leIndex, riIndex, up1, up2)) trueLits.push_back(cc[qq.F]);
		}
		for (int x : cc) {
			BIGu2[x] = 5;
		}
		//HLE
		for (int l1 : cc) {
			for (int c : pi.litClauses[l1]) {
// 				if (pi.clauses[c].lit.size() <= 2) continue;
				for (int l2 : pi.clauses[c].lit) {
					if (l2 != l1 && BIGu2[l2] == 5) {
						if (BIGisPath(BIGid[l1], BIGid[l2], leIndex, riIndex, up1, up2)) {
							rmLit.push_back({l1, c});
						}
					}
				}
			}
		}
		//HTE
		for (int l1 : cc) {
			for (int c : pi.litClauses[l1]) {
				if (pi.clauses[c].lit.size() <= 2) continue;
				for (int l2 : pi.clauses[c].lit) {
					if (l2 != l1 && BIGu2[litNegation(l2)] == 5) {
						if (BIGisPath(BIGid[litNegation(l2)], BIGid[l1], leIndex, riIndex, up1, up2)) {
							rmClause.push_back(c);
						}
					}
				}
			}
		}
		for (int x : cc) {
			BIGu2[x] = 0;
		}
	}
	sort(rmLit.begin(), rmLit.end());
	rmLit.erase(unique(rmLit.begin(), rmLit.end()), rmLit.end());
	for (auto rm : rmLit) {
		pi.removeLiteralFromClause(rm.F, rm.S);
		rLog.removeLiteral(1);
		removed++;
	}
	sort(rmClause.begin(), rmClause.end());
	rmClause.erase(unique(rmClause.begin(), rmClause.end()), rmClause.end());
	for (int c : rmClause) {
		pi.removeClause(c);
		rLog.removeClause(1);
	}
	sort(trueLits.begin(), trueLits.end());
	trueLits.erase(unique(trueLits.begin(), trueLits.end()), trueLits.end());
	for (int l : trueLits) {
		int rmC = 0;
		if (litValue(l) == true) {
			rmC = setVariable(litVariable(l), true);
		}
		else {
			rmC = setVariable(litVariable(l), false);
		}
		removed++;
		rLog.removeVariable(1);
		rLog.removeClause(rmC);
	}
	rLog.stopTechnique(Log::Technique::UH);
	rLog.startTechnique(Log::Technique::EE);
	return removed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movl %edx, 0x6c(%rsp)
movq %rdi, %rbx
pxor %xmm0, %xmm0
leaq 0x30(%rsp), %rdx
movdqa %xmm0, (%rdx)
movq $0x0, 0x10(%rdx)
callq 0x137a0
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
movq %rcx, %rsi
subq %rax, %rsi
sarq $0x2, %rsi
cmpq %rax, %rcx
je 0x1439e
movq 0x3b0(%rbx), %rcx
movq 0x3c8(%rbx), %rdx
movq 0x3e0(%rbx), %rdi
xorl %r8d, %r8d
movl 0x3ac(%rbx), %r9d
decl %r9d
movslq (%rax,%r8,4), %r10
movl %r9d, (%rcx,%r10,4)
movslq (%rax,%r8,4), %r9
movl %r8d, (%rdi,%r9,4)
movl $0x0, (%rdx,%r8,4)
incq %r8
movl %r8d, %r9d
cmpq %r9, %rsi
ja 0x14371
leaq 0x1f0(%rsp), %rdi
leaq 0x1d0(%rsp), %rdx
callq 0x1f360
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0x1d0(%rsp), %rdi
leaq 0x110(%rsp), %rdx
callq 0x1f360
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %rax
movq %rax, 0x78(%rsp)
cmpq %rax, %r8
je 0x145d3
movq %r8, 0x80(%rsp)
movslq (%r8), %r12
movq %r12, %r13
xorq $0x1, %r13
movq 0x18(%rbx), %rax
leaq (,%r13,2), %rcx
addq %r13, %rcx
movq (%rax,%rcx,8), %rbp
movq 0x8(%rax,%rcx,8), %rcx
movq %rcx, 0x8(%rsp)
cmpq %rcx, %rbp
je 0x144d1
movslq (%rbp), %rax
movq (%rbx), %rcx
leaq (%rax,%rax,4), %rax
movq (%rcx,%rax,8), %r14
movq 0x8(%rcx,%rax,8), %r15
movq %r15, %rax
subq %r14, %rax
sete %cl
cmpq $0x8, %rax
setne %al
orb %cl, %al
jne 0x144be
movslq (%r14), %rax
cmpl %r13d, %eax
je 0x144b5
movl %eax, %ecx
sarl %ecx
movslq %ecx, %rcx
movq 0x48(%rbx), %rdx
cmpl $0x0, (%rdx,%rcx,4)
jne 0x144b5
movq 0x3b0(%rbx), %rcx
movl (%rcx,%rax,4), %ecx
cmpl 0x3ac(%rbx), %ecx
je 0x144b5
movq 0x3e0(%rbx), %rcx
movslq (%rcx,%r12,4), %rdx
movq 0x1f0(%rsp), %rsi
leaq (%rdx,%rdx,2), %rdx
leaq (%rsi,%rdx,8), %rdi
leaq (%rcx,%rax,4), %rdx
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x144b0
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x144b5
callq 0x98f8
addq $0x4, %r14
cmpq %r15, %r14
jne 0x1444e
addq $0x4, %rbp
cmpq 0x8(%rsp), %rbp
jne 0x14426
movq 0x18(%rbx), %rax
leaq (%r12,%r12,2), %rcx
movq (%rax,%rcx,8), %r13
movq 0x8(%rax,%rcx,8), %rbp
cmpq %rbp, %r13
je 0x1458c
movslq (%r13), %rax
movq (%rbx), %rcx
leaq (%rax,%rax,4), %rax
movq (%rcx,%rax,8), %r15
movq 0x8(%rcx,%rax,8), %r14
movq %r14, %rax
subq %r15, %rax
sete %cl
cmpq $0x8, %rax
setne %al
orb %cl, %al
jne 0x14583
movslq (%r15), %rax
cmpl %r12d, %eax
je 0x1457a
movl %eax, %ecx
sarl %ecx
movslq %ecx, %rcx
movq 0x48(%rbx), %rdx
cmpl $0x0, (%rdx,%rcx,4)
jne 0x1457a
xorq $0x1, %rax
movq 0x3b0(%rbx), %rcx
movl (%rcx,%rax,4), %ecx
cmpl 0x3ac(%rbx), %ecx
je 0x1457a
movq 0x3e0(%rbx), %rcx
movslq (%rcx,%r12,4), %rdx
movq 0x1d0(%rsp), %rsi
leaq (%rdx,%rdx,2), %rdx
leaq (%rsi,%rdx,8), %rdi
leaq (%rcx,%rax,4), %rdx
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x14575
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rdi)
jmp 0x1457a
callq 0x98f8
addq $0x4, %r15
cmpq %r14, %r15
jne 0x1450f
addq $0x4, %r13
jmp 0x144de
movq 0x80(%rsp), %r8
addq $0x4, %r8
cmpq 0x78(%rsp), %r8
jne 0x143ee
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %rsi
cmpq %rsi, %r8
je 0x145d6
movq 0x3b0(%rbx), %rax
movl 0x3ac(%rbx), %ecx
movq %r8, %rdx
movslq (%rdx), %rdi
movl %ecx, (%rax,%rdi,4)
addq $0x4, %rdx
cmpq %rsi, %rdx
jne 0x145c2
jmp 0x145d6
movq %r8, %rsi
subq %r8, %rsi
pxor %xmm0, %xmm0
movdqa %xmm0, 0x110(%rsp)
movq $0x0, 0x120(%rsp)
sarq $0x2, %rsi
testl %esi, %esi
jle 0x14630
xorl %ebp, %ebp
leaq 0x1f0(%rsp), %r14
leaq 0x110(%rsp), %r15
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
movq %r15, %rcx
callq 0x13a52
incl %ebp
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
cmpl %esi, %ebp
jl 0x1460c
pxor %xmm0, %xmm0
movdqa %xmm0, 0x1b0(%rsp)
xorl %eax, %eax
movq %rax, 0x1c0(%rsp)
leaq 0x190(%rsp), %rdi
movq %rax, 0x10(%rdi)
movdqa %xmm0, (%rdi)
callq 0x1f18c
movq 0x118(%rsp), %rbp
subq 0x110(%rsp), %rbp
shrq $0x2, %rbp
testl %ebp, %ebp
jle 0x1476d
andl $0x7fffffff, %ebp       # imm = 0x7FFFFFFF
leaq 0x1d0(%rsp), %r14
leaq 0x10(%rsp), %r15
leaq 0x1b0(%rsp), %r12
leaq -0x1(%rbp), %r13
movq 0x110(%rsp), %rax
movslq -0x4(%rax,%rbp,4), %rcx
movq 0x3c8(%rbx), %rdx
cmpl $0x2, (%rdx,%rcx,4)
je 0x14760
pxor %xmm0, %xmm0
movdqa %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movl (%rax,%r13,4), %edx
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rcx
callq 0x13bbc
movq 0x10(%rsp), %rdx
movq 0x18(%rsp), %rax
movq %rax, %rcx
subq %rdx, %rcx
cmpq $0x5, %rcx
jb 0x14718
cmpq %rax, %rdx
je 0x1470b
movq 0x30(%rsp), %rcx
movslq (%rdx), %rsi
movl (%rcx,%rsi,4), %esi
movl %esi, (%rdx)
addq $0x4, %rdx
cmpq %rax, %rdx
jne 0x146fa
movq %r12, %rdi
movq %r15, %rsi
callq 0x1f07e
jmp 0x14749
movq 0x198(%rsp), %rsi
cmpq 0x1a0(%rsp), %rsi
je 0x1473c
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x198(%rsp)
jmp 0x14749
leaq 0x190(%rsp), %rdi
callq 0x98f8
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14760
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
cmpq $0x1, %rbp
movq %r13, %rbp
jg 0x14693
movq 0x1b0(%rsp), %r15
movq 0x1b8(%rsp), %rdx
xorl %ecx, %ecx
movl $0x0, %r14d
cmpq %rdx, %r15
movq %rbx, 0x8(%rsp)
je 0x14cf2
leaq 0x218(%rbx), %r14
leaq 0x2f0(%rbx), %rax
movq %rax, 0x78(%rsp)
movq $0x0, 0x70(%rsp)
movq %rdx, 0xd0(%rsp)
movq (%r15), %rbp
movq 0x8(%r15), %r13
movq %r13, %rsi
subq %rbp, %rsi
sarq $0x2, %rsi
cmpq $0x2, %rsi
jb 0x14cc2
movl (%rbp), %eax
sarl %eax
cltq
movq 0x3c8(%rbx), %rcx
cmpl $0x3, (%rcx,%rax,4)
je 0x14cc2
cmpq %r13, %rbp
je 0x14823
bsrq %rsi, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2226b
movq %rbp, %rdi
movq %r13, %rsi
callq 0x2234e
movq (%r15), %rbp
movq 0x8(%r15), %r13
movq %r13, %rsi
subq %rbp, %rsi
sarq $0x2, %rsi
cmpq $0x2, %rsi
jb 0x14850
movl $0x1, %ecx
movl $0x2, %eax
leal -0x2(%rax), %edx
movl (%rbp,%rcx,4), %ecx
xorl (%rbp,%rdx,4), %ecx
cmpl $0x1, %ecx
je 0x14b16
movl %eax, %ecx
incl %eax
cmpq %rcx, %rsi
ja 0x14833
cmpq %rbp, %r13
je 0x14886
movq 0x3c8(%rbx), %rax
movl $0x1, %ecx
xorl %edx, %edx
movl (%rbp,%rdx,4), %edx
sarl %edx
movslq %edx, %rdx
cmpl $0x3, (%rax,%rdx,4)
je 0x15998
movl $0x3, (%rax,%rdx,4)
movl %ecx, %edx
incl %ecx
cmpq %rdx, %rsi
ja 0x14863
cmpq $0x2, %rsi
jb 0x14ae6
movl $0x1, %r12d
movl $0x1, %r13d
movq %r12, 0x80(%rsp)
movslq (%rbp,%r13,4), %rax
leaq (%rax,%rax,2), %rsi
shlq $0x3, %rsi
addq 0x18(%rbx), %rsi
leaq 0x10(%rsp), %rdi
callq 0x1f3de
movq (%r15), %rax
movslq (%rax,%r13,4), %rax
xorq $0x1, %rax
leaq (%rax,%rax,2), %rsi
shlq $0x3, %rsi
addq 0x18(%rbx), %rsi
leaq 0x50(%rsp), %rdi
callq 0x1f3de
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
cmpq %r12, %rbx
je 0x1490d
movl (%rbx), %edx
movq (%r15), %rax
movl (%rax,%r13,4), %esi
movq 0x8(%rsp), %rdi
movl $0x1, %ecx
callq 0x28218
addq $0x4, %rbx
jmp 0x148ea
movq 0x50(%rsp), %rbx
movq 0x58(%rsp), %r12
cmpq %r12, %rbx
je 0x1493d
movl (%rbx), %edx
movq (%r15), %rax
movl (%rax,%r13,4), %esi
xorl $0x1, %esi
movq 0x8(%rsp), %rdi
movl $0x1, %ecx
callq 0x28218
addq $0x4, %rbx
jmp 0x14917
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %rbp
cmpq %rbp, %r12
movq 0x8(%rsp), %rbx
je 0x149e0
movslq (%r12), %rdx
movq (%rbx), %rcx
leaq (%rdx,%rdx,4), %rsi
movq (%rcx,%rsi,8), %rax
movq 0x8(%rcx,%rsi,8), %rcx
cmpq %rcx, %rax
je 0x149c1
movq (%r15), %rsi
movl (%rsi), %edi
xorl %esi, %esi
xorl %r8d, %r8d
movl (%rax), %r9d
cmpl %edi, %r9d
sete %r10b
orb %r10b, %sil
xorl %edi, %r9d
cmpl $0x1, %r9d
sete %r9b
orb %r9b, %r8b
addq $0x4, %rax
cmpq %rcx, %rax
jne 0x14978
testb $0x1, %r8b
je 0x149bb
movq %rbx, %rdi
movl %edx, %esi
callq 0x27f28
movq %r14, %rdi
movl $0x1, %esi
callq 0x28c28
jmp 0x149d3
testb $0x1, %sil
jne 0x149d3
movq (%r15), %rax
movl (%rax), %esi
movq %rbx, %rdi
movl $0x1, %ecx
callq 0x28164
addq $0x4, %r12
cmpq %rbp, %r12
jne 0x14955
movq 0x50(%rsp), %rbp
movq 0x58(%rsp), %r12
cmpq %r12, %rbp
je 0x14a80
movslq (%rbp), %rdx
movq (%rbx), %rcx
leaq (%rdx,%rdx,4), %rsi
movq (%rcx,%rsi,8), %rax
movq 0x8(%rcx,%rsi,8), %rcx
cmpq %rcx, %rax
je 0x14a62
movq (%r15), %rsi
movl (%rsi), %edi
xorl %esi, %esi
xorl %r8d, %r8d
movl (%rax), %r9d
movl %edi, %r10d
xorl %r9d, %r10d
cmpl $0x1, %r10d
sete %r10b
orb %r10b, %sil
cmpl %edi, %r9d
sete %r9b
orb %r9b, %r8b
addq $0x4, %rax
cmpq %rcx, %rax
jne 0x14a16
testb $0x1, %r8b
je 0x14a5c
movq %rbx, %rdi
movl %edx, %esi
callq 0x27f28
movq %r14, %rdi
movl $0x1, %esi
callq 0x28c28
jmp 0x14a77
testb $0x1, %sil
jne 0x14a77
movq (%r15), %rax
movl (%rax), %esi
xorl $0x1, %esi
movq %rbx, %rdi
movl $0x1, %ecx
callq 0x28164
addq $0x4, %rbp
jmp 0x149ea
movq (%r15), %rax
movl (%rax), %esi
movl (%rax,%r13,4), %edx
movq 0x78(%rsp), %rdi
callq 0x26d6e
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x14aaa
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
movq 0x80(%rsp), %r12
je 0x14ac9
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
incl %r12d
movq (%r15), %rbp
movq 0x8(%r15), %rsi
subq %rbp, %rsi
sarq $0x2, %rsi
movq %r12, %r13
cmpq %r12, %rsi
ja 0x1489c
decl %esi
movq %r14, %rdi
callq 0x28c64
movq 0xd0(%rsp), %rdx
movq 0x8(%r15), %rax
subq (%r15), %rax
shrq $0x2, %rax
movq 0x70(%rsp), %rcx
addl %eax, %ecx
decl %ecx
movq %rcx, 0x70(%rsp)
jmp 0x14cc2
cmpq %r13, %rbp
je 0x14bfc
movslq (%rbp), %rbx
leaq (%rbx,%rbx,2), %rsi
shlq $0x3, %rsi
movq 0x8(%rsp), %r12
addq 0x18(%r12), %rsi
leaq 0x10(%rsp), %rdi
callq 0x1f3de
xorq $0x1, %rbx
leaq (%rbx,%rbx,2), %rsi
shlq $0x3, %rsi
addq 0x18(%r12), %rsi
leaq 0x50(%rsp), %rdi
callq 0x1f3de
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %r12
cmpq %r12, %rbx
je 0x14b88
movl (%rbx), %esi
movq 0x8(%rsp), %rdi
callq 0x27f28
movq %r14, %rdi
movl $0x1, %esi
callq 0x28c28
addq $0x4, %rbx
jmp 0x14b64
movq 0x50(%rsp), %r12
movq 0x58(%rsp), %rbx
cmpq %rbx, %r12
je 0x14bc0
movl (%r12), %esi
movq 0x8(%rsp), %rdi
callq 0x27f28
movq %r14, %rdi
movl $0x1, %esi
callq 0x28c28
addq $0x4, %r12
cmpq %rbx, %r12
jne 0x14b97
movq 0x50(%rsp), %r12
testq %r12, %r12
je 0x14bd5
movq 0x60(%rsp), %rsi
subq %r12, %rsi
movq %r12, %rdi
callq 0x32b0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14bec
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x4, %rbp
cmpq %r13, %rbp
jne 0x14b1f
movq (%r15), %rbp
movl (%rbp), %eax
movl %eax, 0x50(%rsp)
movl $0x1, %edx
leaq 0x10(%rsp), %r12
movq %r12, %rdi
leaq 0x50(%rsp), %rsi
leaq 0x90(%rsp), %rcx
callq 0x1e9a8
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
movq %r12, %rsi
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
callq 0x27f82
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14c53
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq (%r15), %rax
movl (%rax), %eax
xorl $0x1, %eax
movl %eax, 0x50(%rsp)
movl $0x1, %edx
movq %r12, %rdi
leaq 0x50(%rsp), %rsi
leaq 0x90(%rsp), %rcx
callq 0x1e9a8
movq %rbx, %rdi
movq %r12, %rsi
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
callq 0x27f82
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x14ca5
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x8(%r15), %rsi
subq (%r15), %rsi
shrq $0x2, %rsi
decl %esi
movq %r14, %rdi
callq 0x28c64
movq 0xd0(%rsp), %rdx
addq $0x18, %r15
cmpq %rdx, %r15
jne 0x147b7
movq 0x1b8(%rsp), %rax
movq 0x70(%rsp), %r14
movl %r14d, %ebp
cmpq 0x1b0(%rsp), %rax
movl $0x0, %ecx
jne 0x158b0
movq 0x38(%rsp), %rax
subq 0x30(%rsp), %rax
cmpq $0x4, %rax
cmovel %r14d, %ecx
setne %al
andb 0x6c(%rsp), %al
movl %ecx, %ebp
cmpb $0x1, %al
jne 0x158b0
xorl %ebp, %ebp
cmpb $0x0, 0x3f8(%rbx)
jne 0x158b0
movb $0x1, 0x3f8(%rbx)
leaq 0x218(%rbx), %r13
movq %r13, %rdi
movl $0x9, %esi
callq 0x28be0
movq %r13, %rdi
movl $0xd, %esi
callq 0x28b9e
movl $0x1, 0x10c(%rsp)
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0x10(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x1f45e
movq %r14, 0x70(%rsp)
movq 0x30(%rsp), %rax
movq 0x38(%rsp), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
testl %ecx, %ecx
jle 0x14dad
movq 0x10(%rsp), %rdx
andl $0x7fffffff, %ecx       # imm = 0x7FFFFFFF
xorl %esi, %esi
movl (%rax,%rsi,4), %edi
movl %edi, (%rdx,%rsi,8)
movl %esi, 0x4(%rdx,%rsi,8)
incq %rsi
cmpq %rsi, %rcx
jne 0x14d9b
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
cmpq %r15, %r14
je 0x14df5
movq %r15, %rax
subq %r14, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x22ea7
movq %r14, %rdi
movq %r15, %rsi
callq 0x22f5a
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %rax
jmp 0x14df8
movq %r14, %rax
pxor %xmm0, %xmm0
movdqa %xmm0, 0x50(%rsp)
xorl %ecx, %ecx
movq %rcx, 0x60(%rsp)
movq %rcx, 0xa0(%rsp)
movdqa %xmm0, 0x90(%rsp)
movq %rcx, 0xc0(%rsp)
movdqa %xmm0, 0xb0(%rsp)
movq %rcx, 0x180(%rsp)
movdqa %xmm0, 0x170(%rsp)
movq %rax, %rcx
subq %r14, %rcx
shrq $0x3, %rcx
cmpl $0x2, %ecx
jl 0x14eb0
movl $0x1, %ebx
leaq 0x170(%rsp), %r15
leaq 0xf0(%rsp), %r12
movl -0x8(%r14,%rbx,8), %ecx
xorl (%r14,%rbx,8), %ecx
cmpl $0x1, %ecx
jne 0x14e9b
movl -0x4(%r14,%rbx,8), %eax
movl 0x4(%r14,%rbx,8), %ecx
movl %ecx, 0xf0(%rsp)
movl %eax, 0xf4(%rsp)
movq %r15, %rdi
movq %r12, %rsi
callq 0x22d46
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %rax
incq %rbx
movq %rax, %rcx
subq %r14, %rcx
shrq $0x3, %rcx
movslq %ecx, %rcx
cmpq %rcx, %rbx
jl 0x14e60
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0xf0(%rsp), %r12
leaq 0xd8(%rsp), %rdx
movq %r12, %rdi
callq 0x8c20
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0xd8(%rsp), %rbp
leaq 0x158(%rsp), %rdx
movq %rbp, %rdi
callq 0x8c20
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0x158(%rsp), %rdi
leaq 0x140(%rsp), %rdx
callq 0x8c20
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0x140(%rsp), %rdi
leaq 0x128(%rsp), %rdx
callq 0x8c20
movq 0x38(%rsp), %rsi
subq 0x30(%rsp), %rsi
sarq $0x2, %rsi
leaq 0x128(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x8c20
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %rdx
movq %rdx, %rax
subq %r8, %rax
shrq $0x2, %rax
testl %eax, %eax
jle 0x1501d
movq 0x128(%rsp), %rcx
movl %eax, %esi
andl $0x7fffffff, %esi       # imm = 0x7FFFFFFF
incl %eax
andl $-0x2, %eax
decq %rsi
movq %rsi, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x232e5(%rip), %xmm1    # 0x38290
xorl %edi, %edi
movdqa 0x232eb(%rip), %xmm2    # 0x382a0
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x232eb(%rip), %xmm4    # 0x382b0
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %esi
notl %esi
testb $0x1, %sil
je 0x14ffa
movl %edi, (%rcx,%rdi,4)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %esi
testb $0x1, %sil
je 0x15010
leal 0x1(%rdi), %esi
movl %esi, 0x4(%rcx,%rdi,4)
addq $0x2, %rdi
paddq %xmm4, %xmm1
cmpq %rdi, %rax
jne 0x14fc5
movl $0x0, 0x6c(%rsp)
movq %r13, 0x1e8(%rsp)
movq 0x128(%rsp), %rbx
movq 0x130(%rsp), %r14
cmpq %r14, %rbx
je 0x1509f
leaq 0x4(%rbx), %rax
cmpq %r14, %rax
je 0x1509f
movl $0x4, %r15d
callq 0x3090
cltq
movq %r15, %rcx
sarq $0x2, %rcx
incq %rcx
cqto
idivq %rcx
leaq (,%rdx,4), %rax
cmpq %rax, %r15
je 0x15084
leaq (%rbx,%r15), %rax
leaq (%rbx,%rdx,4), %rcx
movl (%rax), %edx
movl (%rcx), %esi
movl %esi, (%rax)
movl %edx, (%rcx)
leaq (%rbx,%r15), %rax
addq $0x4, %rax
addq $0x4, %r15
cmpq %r14, %rax
jne 0x15051
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %rdx
subq %r8, %rdx
movq %rdx, %rax
shrq $0x2, %rax
testl %eax, %eax
jle 0x150cd
movq 0x8(%rsp), %rax
movq 0x3c8(%rax), %rdi
movabsq $0x1fffffffc, %rax      # imm = 0x1FFFFFFFC
andq %rax, %rdx
xorl %esi, %esi
callq 0x3170
movq 0x128(%rsp), %rbx
movq 0x130(%rsp), %r14
cmpq %r14, %rbx
je 0x1514d
movl 0x6c(%rsp), %ecx
movl %ecx, %eax
movl $0xaaaaaaab, %edx       # imm = 0xAAAAAAAB
imulq %rdx, %rax
shrq $0x21, %rax
leal (%rax,%rax,2), %eax
movl %ecx, %r15d
subl %eax, %r15d
movl (%rbx), %ecx
movq 0x8(%rsp), %rdi
leaq 0x1f0(%rsp), %rsi
leaq 0x1d0(%rsp), %rdx
movl %ecx, %r8d
movl %ecx, %r9d
pushq %r15
leaq 0x148(%rsp), %rax
pushq %rax
leaq 0x168(%rsp), %rax
pushq %rax
pushq %rbp
pushq %r12
leaq 0x134(%rsp), %rax
pushq %rax
callq 0x13d82
addq $0x30, %rsp
addq $0x4, %rbx
cmpq %r14, %rbx
jne 0x150fe
movq 0x170(%rsp), %r14
movq 0x178(%rsp), %r13
cmpq %r13, %r14
movq 0x8(%rsp), %rbx
je 0x15242
movslq (%r14), %rax
movslq 0x4(%r14), %rdx
movq 0x158(%rsp), %r8
movslq (%r8,%rax,4), %r10
movq 0x140(%rsp), %rcx
movq 0xf0(%rsp), %rsi
movl (%rsi,%rdx,4), %edi
cmpl %edi, (%rsi,%r10,4)
jg 0x151c1
movq 0xd8(%rsp), %r9
movl (%r9,%rdx,4), %r11d
cmpl (%r9,%r10,4), %r11d
jg 0x151c1
movslq (%rcx,%rdx,4), %r10
movl (%rsi,%r10,4), %r11d
cmpl (%rsi,%rax,4), %r11d
jg 0x151c1
movl (%r9,%rax,4), %r11d
cmpl (%r9,%r10,4), %r11d
jle 0x15207
movslq (%r8,%rdx,4), %r9
movl (%rsi,%r9,4), %r8d
cmpl (%rsi,%rax,4), %r8d
jg 0x15235
movq 0xd8(%rsp), %r8
movl (%r8,%rax,4), %r10d
cmpl (%r8,%r9,4), %r10d
jg 0x15235
movslq (%rcx,%rax,4), %rcx
cmpl %edi, (%rsi,%rcx,4)
jg 0x15235
movl (%r8,%rdx,4), %edx
cmpl (%r8,%rcx,4), %edx
jg 0x15235
shlq $0x2, %rax
addq 0x30(%rsp), %rax
movq 0x58(%rsp), %rsi
movq %rax, %rdx
jmp 0x15215
shlq $0x2, %rdx
addq 0x30(%rsp), %rdx
movq 0x58(%rsp), %rsi
cmpq 0x60(%rsp), %rsi
je 0x1522b
movl (%rdx), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x58(%rsp)
jmp 0x15235
leaq 0x50(%rsp), %rdi
callq 0x98f8
addq $0x8, %r14
cmpq %r13, %r14
jne 0x1516b
movq 0x30(%rsp), %rdx
movq 0x38(%rsp), %rdi
cmpq %rdi, %rdx
je 0x153bb
movq 0x3c8(%rbx), %rax
movq %rdx, %rcx
movslq (%rcx), %rsi
movl $0x5, (%rax,%rsi,4)
addq $0x4, %rcx
cmpq %rdi, %rcx
jne 0x1525f
cmpq %rdi, %rdx
movq %rdi, 0xd0(%rsp)
je 0x153bb
movq %rdx, 0x78(%rsp)
movl (%rdx), %r14d
movslq %r14d, %r15
movq 0x18(%rbx), %rax
leaq (%r15,%r15,2), %rcx
movq (%rax,%rcx,8), %r12
movq 0x8(%rax,%rcx,8), %r9
cmpq %r9, %r12
movq %r9, 0x80(%rsp)
je 0x1539c
movslq (%r12), %r10
movq (%rbx), %rax
leaq (%r10,%r10,4), %rcx
movq (%rax,%rcx,8), %r13
movq 0x8(%rax,%rcx,8), %rbx
cmpq %rbx, %r13
je 0x1538a
movslq (%r13), %rcx
cmpl %r14d, %ecx
je 0x15381
movq 0x8(%rsp), %rax
movq 0x3c8(%rax), %rax
cmpl $0x5, (%rax,%rcx,4)
jne 0x15381
movq 0x8(%rsp), %rax
movq 0x3e0(%rax), %rdx
movslq (%rdx,%r15,4), %rax
movslq (%rdx,%rcx,4), %rcx
movq 0x158(%rsp), %rdx
movslq (%rdx,%rax,4), %rdi
movq 0xf0(%rsp), %rdx
movl (%rdx,%rdi,4), %esi
cmpl (%rdx,%rcx,4), %esi
jg 0x15381
movq 0xd8(%rsp), %rsi
movl (%rsi,%rcx,4), %r8d
cmpl (%rsi,%rdi,4), %r8d
jg 0x15381
movq 0x140(%rsp), %rdi
movslq (%rdi,%rcx,4), %rcx
movl (%rdx,%rcx,4), %edi
cmpl (%rdx,%rax,4), %edi
jg 0x15381
movl (%rsi,%rax,4), %eax
cmpl (%rsi,%rcx,4), %eax
jg 0x15381
movl %r14d, 0x88(%rsp)
movq %r10, %rbp
movl %r10d, 0x8c(%rsp)
leaq 0x90(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x22d46
movq 0x80(%rsp), %r9
movq %rbp, %r10
addq $0x4, %r13
jmp 0x152c4
addq $0x4, %r12
cmpq %r9, %r12
movq 0x8(%rsp), %rbx
jne 0x152b0
movq 0x78(%rsp), %rdx
addq $0x4, %rdx
movq 0xd0(%rsp), %rdi
cmpq %rdi, %rdx
jne 0x15283
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %r8
cmpq %rdx, %r8
je 0x15519
movq %rdx, 0x78(%rsp)
movq %r8, 0x80(%rsp)
movslq (%r8), %r14
movq 0x18(%rbx), %rax
leaq (%r14,%r14,2), %rcx
movq (%rax,%rcx,8), %r12
movq 0x8(%rax,%rcx,8), %r15
cmpq %r15, %r12
je 0x154f5
movslq (%r12), %rax
movl %eax, 0x88(%rsp)
movq (%rbx), %rcx
leaq (%rax,%rax,4), %rax
movq (%rcx,%rax,8), %r13
movq 0x8(%rcx,%rax,8), %rbp
movq %rbp, %rax
subq %r13, %rax
sete %cl
cmpq $0x9, %rax
setb %al
orb %cl, %al
jne 0x154ec
movslq (%r13), %rax
cmpl %r14d, %eax
je 0x154df
xorq $0x1, %rax
movq 0x3c8(%rbx), %rcx
cmpl $0x5, (%rcx,%rax,4)
jne 0x154df
movq 0x3e0(%rbx), %rcx
movslq (%rcx,%rax,4), %rax
movslq (%rcx,%r14,4), %rcx
movq 0x158(%rsp), %rdx
movslq (%rdx,%rax,4), %rdi
movq 0xf0(%rsp), %rdx
movl (%rdx,%rdi,4), %esi
cmpl (%rdx,%rcx,4), %esi
jg 0x154df
movq 0xd8(%rsp), %rsi
movl (%rsi,%rcx,4), %r8d
cmpl (%rsi,%rdi,4), %r8d
jg 0x154df
movq 0x140(%rsp), %rdi
movslq (%rdi,%rcx,4), %rcx
movl (%rdx,%rcx,4), %edi
cmpl (%rdx,%rax,4), %edi
jg 0x154df
movl (%rsi,%rax,4), %eax
cmpl (%rsi,%rcx,4), %eax
jg 0x154df
movq 0xb8(%rsp), %rsi
cmpq 0xc0(%rsp), %rsi
je 0x154ca
movl 0x88(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0xb8(%rsp)
jmp 0x154df
leaq 0xb0(%rsp), %rdi
leaq 0x88(%rsp), %rdx
callq 0x98f8
addq $0x4, %r13
cmpq %rbp, %r13
jne 0x15426
addq $0x4, %r12
jmp 0x153ea
movq 0x80(%rsp), %r8
addq $0x4, %r8
movq 0x78(%rsp), %rdx
cmpq %rdx, %r8
jne 0x153ce
movq 0x30(%rsp), %r8
movq 0x38(%rsp), %rdx
leaq 0xd8(%rsp), %rbp
cmpq %rdx, %r8
movq 0x1e8(%rsp), %r13
je 0x1554b
movq 0x3c8(%rbx), %rax
movq %r8, %rcx
movslq (%rcx), %rsi
movl $0x0, (%rax,%rsi,4)
addq $0x4, %rcx
cmpq %rdx, %rcx
jne 0x15538
movl 0x6c(%rsp), %eax
incl %eax
movl %eax, 0x6c(%rsp)
cmpl $0x9, %eax
leaq 0xf0(%rsp), %r12
jne 0x1502d
movq 0x90(%rsp), %r15
movq 0x98(%rsp), %r14
cmpq %r14, %r15
je 0x155b8
movq %r14, %rax
subq %r15, %rax
sarq $0x3, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x22ea7
movq %r15, %rdi
movq %r14, %rsi
callq 0x22f5a
movq 0x90(%rsp), %r15
movq 0x98(%rsp), %r14
movq %r15, %rdi
movq %r14, %rsi
callq 0x2331d
movq %rax, %r14
movq 0x90(%rsp), %rbx
cmpq %rax, 0x98(%rsp)
je 0x15613
movq %r14, 0x98(%rsp)
jmp 0x15613
movl (%rbx), %esi
movl 0x4(%rbx), %edx
movq 0x8(%rsp), %rdi
movl $0x1, %ecx
callq 0x28218
movq %r13, %rdi
movl $0x1, %esi
callq 0x28ca0
movq 0x70(%rsp), %rax
incl %eax
movq %rax, 0x70(%rsp)
addq $0x8, %rbx
cmpq %r14, %rbx
jne 0x155e2
movq 0xb0(%rsp), %r14
movq 0xb8(%rsp), %r15
cmpq %r15, %r14
movq 0x8(%rsp), %rbx
je 0x156e4
movq %r15, %rax
subq %r14, %rax
sarq $0x2, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2226b
movq %r14, %rdi
movq %r15, %rsi
callq 0x2234e
movq 0xb0(%rsp), %r14
movq 0xb8(%rsp), %r15
cmpq %r15, %r14
je 0x156df
leaq 0x4(%r14), %rax
cmpq %r15, %rax
je 0x156df
movl -0x4(%rax), %ecx
leaq 0x4(%rax), %rdx
cmpl (%rax), %ecx
movq %rdx, %rax
jne 0x1567c
leaq -0x8(%rdx), %rax
cmpq %r15, %rdx
je 0x156ad
movl %ecx, %esi
movl (%rdx), %ecx
cmpl %ecx, %esi
je 0x156a7
movl %ecx, 0x4(%rax)
addq $0x4, %rax
addq $0x4, %rdx
jmp 0x15693
addq $0x4, %rax
cmpq %r15, %rax
je 0x156df
movq %rax, 0xb8(%rsp)
movq %rax, %r15
jmp 0x156df
movl (%r14), %esi
movq %rbx, %rdi
callq 0x27f28
movq %r13, %rdi
movl $0x1, %esi
callq 0x28c28
addq $0x4, %r14
cmpq %r15, %r14
jne 0x156c3
movq 0x50(%rsp), %r14
movq 0x58(%rsp), %r15
cmpq %r15, %r14
je 0x15779
movq %r15, %rax
subq %r14, %rax
sarq $0x2, %rax
bsrq %rax, %rdx
xorl $0x3f, %edx
addl %edx, %edx
xorq $0x7e, %rdx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2226b
movq %r14, %rdi
movq %r15, %rsi
callq 0x2234e
movq 0x50(%rsp), %r15
movq 0x58(%rsp), %r12
cmpq %r12, %r15
je 0x1593c
leaq 0x4(%r15), %rax
movq 0x70(%rsp), %rdi
cmpq %r12, %rax
je 0x15954
movl -0x4(%rax), %ecx
leaq 0x4(%rax), %rdx
cmpl (%rax), %ecx
movq %rdx, %rax
jne 0x15740
leaq -0x8(%rdx), %rax
cmpq %r12, %rdx
je 0x15943
movl %ecx, %esi
movl (%rdx), %ecx
cmpl %ecx, %esi
je 0x15773
movl %ecx, 0x4(%rax)
addq $0x4, %rax
addq $0x4, %rdx
jmp 0x1575b
movq 0x70(%rsp), %rax
movl %eax, %ebp
movq %r13, %rdi
movl $0xd, %esi
callq 0x28be0
movq %r13, %rdi
movl $0x9, %esi
callq 0x28b9e
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0x157b7
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x157d4
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x158(%rsp), %rdi
testq %rdi, %rdi
je 0x157f1
movq 0x168(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x1580e
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x1582b
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x170(%rsp), %rdi
testq %rdi, %rdi
je 0x15848
movq 0x180(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x15865
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x15882
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x15899
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x158b0
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x190(%rsp), %rdi
testq %rdi, %rdi
je 0x158cd
movq 0x1a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
leaq 0x1b0(%rsp), %rdi
callq 0x8f5e
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x158f7
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
leaq 0x1d0(%rsp), %rdi
callq 0x8f5e
leaq 0x1f0(%rsp), %rdi
callq 0x8f5e
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x15928
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movl %ebp, %eax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x70(%rsp), %rdi
jmp 0x15954
addq $0x4, %rax
cmpq %r12, %rax
je 0x15954
movq %rax, 0x58(%rsp)
movq %rax, %r12
movl %edi, %ebp
cmpq %r12, %r15
je 0x15780
movl (%r15), %esi
xorl %edx, %edx
testb $0x1, %sil
sete %dl
sarl %esi
movq %rbx, %rdi
callq 0xa026
movl %eax, %r14d
movq %r13, %rdi
movl $0x1, %esi
callq 0x28c64
movq %r13, %rdi
movl %r14d, %esi
callq 0x28c28
addq $0x4, %r15
incl %ebp
jmp 0x15956
leaq 0x23366(%rip), %rdi     # 0x38d05
leaq 0x232a3(%rip), %rsi     # 0x38c49
leaq 0x23378(%rip), %rcx     # 0x38d25
movl $0xd4, %edx
callq 0x31b0
jmp 0x15a45
movq %rax, %rbx
jmp 0x15a65
movq %rax, %rbx
jmp 0x15a82
movq %rax, %rbx
jmp 0x15a9f
movq %rax, %rbx
jmp 0x15abc
jmp 0x159f6
jmp 0x15a27
jmp 0x15a2f
jmp 0x15a45
movq %rax, %rbx
jmp 0x15bc1
jmp 0x159ee
movq %rax, %rbx
jmp 0x15bce
movq %rax, %rbx
jmp 0x15ad9
jmp 0x15a2f
jmp 0x15a27
jmp 0x15a2f
jmp 0x15a27
jmp 0x15a27
jmp 0x15a45
jmp 0x15a45
jmp 0x15a27
jmp 0x15a45
jmp 0x15a45
jmp 0x15a27
jmp 0x15a2f
movq %rax, %rbx
jmp 0x15b97
jmp 0x15a2f
jmp 0x15a27
jmp 0x15b3c
movq %rax, %rbx
jmp 0x15b6d
movq %rax, %rbx
jmp 0x15b56
jmp 0x15a45
jmp 0x15a45
jmp 0x15a3d
movq %rax, %rbx
jmp 0x15bb4
movq %rax, %rbx
movq 0x128(%rsp), %rdi
testq %rdi, %rdi
je 0x15a65
movq 0x138(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x140(%rsp), %rdi
testq %rdi, %rdi
je 0x15a82
movq 0x150(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x158(%rsp), %rdi
testq %rdi, %rdi
je 0x15a9f
movq 0x168(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0xd8(%rsp), %rdi
testq %rdi, %rdi
je 0x15abc
movq 0xe8(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0xf0(%rsp), %rdi
testq %rdi, %rdi
je 0x15ad9
movq 0x100(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x170(%rsp), %rdi
testq %rdi, %rdi
je 0x15af6
movq 0x180(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x15b13
movq 0xc0(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x15b3f
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
jmp 0x15b3f
jmp 0x15b3c
jmp 0x15b3c
jmp 0x15b3c
jmp 0x15b3c
jmp 0x15b3c
movq %rax, %rbx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0x15b56
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x15b6d
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x190(%rsp), %rdi
testq %rdi, %rdi
je 0x15b8a
movq 0x1a0(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
leaq 0x1b0(%rsp), %rdi
callq 0x8f5e
movq 0x110(%rsp), %rdi
testq %rdi, %rdi
je 0x15bb4
movq 0x120(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
leaq 0x1d0(%rsp), %rdi
callq 0x8f5e
leaq 0x1f0(%rsp), %rdi
callq 0x8f5e
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x15be5
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
nop