// File: /workspace/github_cpp_makefile_star2_O3/Laakeri[P]maxpre/src/preprocessor.cpp
// Function: maxPreprocessor::Preprocessor::eliminateReduntantLabels()
int Preprocessor::eliminateReduntantLabels() {
	map<int64_t, map<int, vector<int> > > labels;
	vector<int> ls;
	for (int var = 0; var < pi.vars; var++) {
		if (pi.isLabel[var]) {
			if (pi.isLabel[var] == VAR_TRUE) {
				if (pi.litClauses[negLit(var)].size() == 1) {
					int c = pi.litClauses[negLit(var)][0];
					for (int lit : pi.clauses[c].lit) {
						labels[pi.labelWeight(var)][lit].push_back(posLit(var));
					}
					ls.push_back(posLit(var));
				}
			}
			else {
				if (pi.litClauses[posLit(var)].size() == 1) {
					int c = pi.litClauses[posLit(var)][0];
					for (int lit : pi.clauses[c].lit) {
						labels[pi.labelWeight(var)][lit].push_back(negLit(var));
					}
					ls.push_back(negLit(var));
				}
			}
		}
	}
	vector<int> matched(pi.vars);
	int fnd = 0;
	//priorize matching ternary clauses
	for (int lb : ls) {
		if (matched[litVariable(lb)]) continue;
		int c = pi.litClauses[litNegation(lb)][0];
		if (pi.clauses[c].lit.size() != 3) continue;
		vector<int> lits;
		for (int lit : pi.clauses[c].lit) {
			if (!pi.isLabel[litVariable(lit)]) lits.push_back(litNegation(lit));
		}
		if (lits.size() != 2) continue;
		int tl = lits[0];
		if (pi.litClauses[lits[1]].size() < pi.litClauses[tl].size()) tl = lits[1];
		for (int c2 : pi.litClauses[tl]) {
			if (pi.clauses[c2].lit.size() != 3) continue;
			int lb2 = -1;
			vector<int> lits2;
			for (int lit : pi.clauses[c2].lit) {
				if (!pi.isLabel[litVariable(lit)]) lits2.push_back(lit);
				else lb2 = litNegation(lit);
			}
			if (lits2.size() != 2) continue;
			if (lb2 == -1) continue;
			if (lb2 == lb) continue;
			if (pi.labelWeight(litVariable(lb)) != pi.labelWeight(litVariable(lb2))) continue;
			if (matched[litVariable(lb2)]) continue;
			if (pi.litClauses[litNegation(lb2)].size() > 1) continue;
			if ((lits[0] == lits2[0] && lits[1] == lits2[1]) || (lits[1] == lits2[0] && lits[0] == lits2[1])) {
				fnd++;
				matched[litVariable(lb)] = 1;
				matched[litVariable(lb2)] = 1;
				pi.removeLiteralFromClause(litNegation(lb2), c2);
				pi.addLiteralToClause(litNegation(lb), c2);
				pi.removeClause(pi.litClauses[lb2][0]);
				assert(pi.isVarRemoved(litVariable(lb2)));
				trace.labelEliminate(lb, lb2, lits2[0]);
				trace.setVar(litVariable(lb2), litValue(lb2));
				pi.isLabel[litVariable(lb2)] = VAR_UNDEFINED;
				break;
			}
		}
	}
	//match greedily
	for (unsigned i = 0; i < ls.size(); i++) {
		if (matched[litVariable(ls[i])]) continue;
		int c1 = pi.litClauses[litNegation(ls[i])][0];
		for (int lit : pi.clauses[c1].lit) {
			if (pi.isLabel[litVariable(lit)]) continue;
			for (int l2 : labels[pi.labelWeight(litVariable(ls[i]))][litNegation(lit)]) {
				if (matched[litVariable(l2)]) continue;
				int c2 = pi.litClauses[litNegation(l2)][0];
				bool taut = false;
				int tautli = 0;
				unsigned j2 = 0;
				for (unsigned j = 0; j < pi.clauses[c1].lit.size(); j++) {
					while (j2 < pi.clauses[c2].lit.size() && pi.clauses[c2].lit[j2] < pi.clauses[c1].lit[j]) {
						if (pi.clauses[c2].lit[j2] == litNegation(pi.clauses[c1].lit[j])) {
							tautli = pi.clauses[c2].lit[j2];
							taut = true;
						}
						j2++;
					}
					if (j2 < pi.clauses[c2].lit.size() && pi.clauses[c2].lit[j2] == litNegation(pi.clauses[c1].lit[j])) {
						tautli = pi.clauses[c2].lit[j2];
						taut = true;
					}
					if (taut) break;
				}
				assert(taut == true);
				fnd++;
				matched[litVariable(ls[i])] = 1;
				matched[litVariable(l2)] = 1;
				pi.removeLiteralFromClause(litNegation(l2), c2);
				pi.addLiteralToClause(litNegation(ls[i]), c2);
				pi.removeClause(pi.litClauses[l2][0]);
				assert(pi.isVarRemoved(litVariable(l2)));
				trace.labelEliminate(ls[i], l2, tautli);
				trace.setVar(litVariable(l2), litValue(l2));
				pi.isLabel[litVariable(l2)] = VAR_UNDEFINED;
				break;
			}
			if (matched[litVariable(ls[i])]) break;
		}
	}
	return fnd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdi, %r15
leaq 0xd0(%rsp), %rax
movl $0x0, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movq %rax, 0x10(%rax)
movq %rax, 0x18(%rax)
movq %rcx, 0x20(%rax)
movq %rcx, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movslq 0x60(%rdi), %rsi
testq %rsi, %rsi
movq %rdi, (%rsp)
jle 0xa3f0
xorl %r14d, %r14d
leaq 0x80(%rsp), %r12
leaq 0x50(%rsp), %rbp
movq 0x48(%r15), %rax
movl (%rax,%r14,4), %eax
testl %eax, %eax
je 0xa3e0
cmpl $0x1, %eax
jne 0xa2ce
movq %r14, %rax
shlq $0x21, %rax
sarq $0x20, %rax
incq %rax
movq 0x18(%r15), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rcx
subq %rax, %rcx
cmpq $0x4, %rcx
jne 0xa3e0
movq %r15, %rcx
leaq (%r14,%r14), %r15
movslq (%rax), %rax
movq (%rcx), %rcx
leaq (%rax,%rax,4), %rax
movq (%rcx,%rax,8), %rbx
movq 0x8(%rcx,%rax,8), %r13
cmpq %r13, %rbx
je 0xa382
movl (%rbx), %eax
movl %eax, 0x50(%rsp)
movq (%rsp), %rdi
movl %r14d, %esi
callq 0x278de
movq %rax, 0x80(%rsp)
leaq 0xc8(%rsp), %rdi
movq %r12, %rsi
callq 0x1e876
movq %rax, %rdi
movq %rbp, %rsi
callq 0x1e8dc
movl %r15d, 0x30(%rsp)
movq 0x8(%rax), %rsi
cmpq 0x10(%rax), %rsi
je 0xa2bb
movl %r15d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rax)
jmp 0xa2c8
movq %rax, %rdi
leaq 0x30(%rsp), %rdx
callq 0x1ffb8
addq $0x4, %rbx
jmp 0xa261
movq %r14, %rax
shlq $0x21, %rax
sarq $0x20, %rax
movq 0x18(%r15), %rcx
leaq (%rax,%rax,2), %rdx
movq (%rcx,%rdx,8), %rax
movq 0x8(%rcx,%rdx,8), %rcx
subq %rax, %rcx
cmpq $0x4, %rcx
jne 0xa3e0
movq %r15, %rcx
leaq (%r14,%r14), %r15
movslq (%rax), %rax
movq (%rcx), %rcx
leaq (%rax,%rax,4), %rax
movq (%rcx,%rax,8), %rbx
movq 0x8(%rcx,%rax,8), %r13
orl $0x1, %r15d
cmpq %r13, %rbx
je 0xa3a9
movl (%rbx), %eax
movl %eax, 0x50(%rsp)
movq (%rsp), %rdi
movl %r14d, %esi
callq 0x278de
movq %rax, 0x80(%rsp)
leaq 0xc8(%rsp), %rdi
movq %r12, %rsi
callq 0x1e876
movq %rax, %rdi
movq %rbp, %rsi
callq 0x1e8dc
movl %r15d, 0x30(%rsp)
movq 0x8(%rax), %rsi
cmpq 0x10(%rax), %rsi
je 0xa36f
movl %r15d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rax)
jmp 0xa37c
movq %rax, %rdi
leaq 0x30(%rsp), %rdx
callq 0x1ffb8
addq $0x4, %rbx
jmp 0xa315
movl %r15d, 0x80(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
jne 0xa3bd
leaq 0x10(%rsp), %rdi
movq %r12, %rdx
callq 0x1ffb8
movq (%rsp), %r15
jmp 0xa3e0
movl %r15d, 0x80(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0xa3cf
movl %r15d, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
movq (%rsp), %r15
jmp 0xa3e0
leaq 0x10(%rsp), %rdi
movq %r12, %rdx
callq 0x1ffb8
movq (%rsp), %r15
incq %r14
movslq 0x60(%r15), %rsi
cmpq %rsi, %r14
jl 0xa202
leaq 0x80(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x8c20
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %r13
cmpq %r13, %r12
je 0xaafe
leaq 0x2f0(%r15), %rax
movq %rax, 0x78(%rsp)
movq $0x0, 0x68(%rsp)
leaq 0x50(%rsp), %rbp
movq %r13, 0xc0(%rsp)
movslq (%r12), %rsi
movl %esi, %edi
sarl %edi
movslq %edi, %r8
movq 0x80(%rsp), %rax
cmpl $0x0, (%rax,%r8,4)
jne 0xa815
movq %rsi, %r9
xorq $0x1, %r9
movq (%r15), %rax
movq 0x18(%r15), %rcx
leaq (%r9,%r9,2), %rdx
movq (%rcx,%rdx,8), %rcx
movslq (%rcx), %rcx
leaq (%rcx,%rcx,4), %rcx
movq 0x8(%rax,%rcx,8), %rdx
subq (%rax,%rcx,8), %rdx
cmpq $0xc, %rdx
jne 0xa815
movq %r9, 0x98(%rsp)
movq %r8, 0xa0(%rsp)
movl %edi, 0xa8(%rsp)
movq %rsi, 0x8(%rsp)
leaq (%rax,%rcx,8), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x50(%rsp)
movq $0x0, 0x60(%rsp)
movq (%rax), %rbx
movq 0x8(%rax), %r14
cmpq %r14, %rbx
je 0xa517
movl (%rbx), %eax
movl %eax, %ecx
sarl %ecx
movslq %ecx, %rcx
movq 0x48(%r15), %rdx
cmpl $0x0, (%rdx,%rcx,4)
jne 0xa502
xorl $0x1, %eax
movl %eax, 0x30(%rsp)
movq 0x58(%rsp), %rsi
cmpq 0x60(%rsp), %rsi
je 0xa4f5
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x58(%rsp)
jmp 0xa502
movq %rbp, %rdi
leaq 0x30(%rsp), %rdx
callq 0x1ffb8
addq $0x4, %rbx
cmpq %r14, %rbx
jne 0xa4c2
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rax
jmp 0xa51b
xorl %edi, %edi
xorl %eax, %eax
subq %rdi, %rax
cmpq $0x8, %rax
jne 0xa7f4
movslq (%rdi), %rax
movslq 0x4(%rdi), %rcx
movq 0x18(%r15), %rdx
leaq (%rcx,%rcx,2), %rsi
movq 0x8(%rdx,%rsi,8), %r8
subq (%rdx,%rsi,8), %r8
leaq (%rax,%rax,2), %rsi
movq 0x8(%rdx,%rsi,8), %r9
subq (%rdx,%rsi,8), %r9
cmpq %r9, %r8
cmovael %eax, %ecx
movslq %ecx, %rax
leaq (%rax,%rax,2), %rax
movq (%rdx,%rax,8), %rbp
movq 0x8(%rdx,%rax,8), %rax
movq %rax, 0xb0(%rsp)
cmpq %rax, %rbp
je 0xa7fb
movslq (%rbp), %rsi
movq (%r15), %rax
leaq (%rsi,%rsi,4), %rcx
movq 0x8(%rax,%rcx,8), %rdx
subq (%rax,%rcx,8), %rdx
cmpq $0xc, %rdx
jne 0xa7d0
leaq (%rax,%rcx,8), %rax
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movq (%rax), %rbx
movq 0x8(%rax), %r14
cmpq %r14, %rbx
je 0xa7a3
movq %rsi, 0x70(%rsp)
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movl (%rbx), %eax
movl %eax, 0xbc(%rsp)
movl %eax, %ecx
sarl %ecx
movslq %ecx, %rcx
movq 0x48(%r15), %rdx
cmpl $0x0, (%rdx,%rcx,4)
je 0xa5e4
xorl $0x1, %eax
movl %eax, %r13d
jmp 0xa60f
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0xa5fd
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0xa60f
leaq 0x30(%rsp), %rdi
leaq 0xbc(%rsp), %rdx
callq 0x98f8
addq $0x4, %rbx
cmpq %r14, %rbx
jne 0xa5c2
movq 0x38(%rsp), %rax
subq 0x30(%rsp), %rax
movl $0xe, %ebx
cmpq $0x8, %rax
jne 0xa7b0
cmpl $-0x1, %r13d
movq 0x8(%rsp), %rax
movl 0xa8(%rsp), %esi
je 0xa7b0
cmpl %eax, %r13d
je 0xa7b0
movq %r15, %rdi
callq 0x278de
movq %rax, %r14
movq %r15, %rdi
movl %r13d, %r15d
sarl %r15d
movl %r15d, %esi
callq 0x278de
cmpq %rax, %r14
jne 0xa7ac
movslq %r15d, %r14
movq 0x80(%rsp), %rax
cmpl $0x0, (%rax,%r14,4)
jne 0xa7ac
movl %r13d, %esi
xorl $0x1, %esi
movslq %esi, %rcx
movq (%rsp), %rdx
movq 0x18(%rdx), %rdx
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rdx,%rcx,8), %rdi
subq (%rdx,%rcx,8), %rdi
cmpq $0x4, %rdi
ja 0xa7ac
movq 0x50(%rsp), %rdx
movl (%rdx), %ecx
movl 0x4(%rdx), %edi
movq 0x30(%rsp), %rdx
movl (%rdx), %r8d
cmpl %r8d, %ecx
jne 0xa6cf
cmpl 0x4(%rdx), %edi
je 0xa6e3
xorl %ebx, %ebx
cmpl %r8d, %edi
jne 0xa7ac
cmpl 0x4(%rdx), %ecx
jne 0xa7ac
movl $0x1, %ecx
movq 0xa0(%rsp), %rdx
movl %ecx, (%rax,%rdx,4)
movl %ecx, (%rax,%r14,4)
movq (%rsp), %rbx
movq %rbx, %rdi
movq 0x70(%rsp), %rdx
callq 0x28218
movq %rbx, %rdi
movq 0x98(%rsp), %rsi
movq 0x70(%rsp), %rdx
movl $0x1, %ecx
callq 0x28164
movslq %r13d, %rax
movq 0x18(%rbx), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rax
movl (%rax), %esi
movq %rbx, %rdi
callq 0x27f28
movq %rbx, %rdi
movl %r15d, %esi
callq 0x278a0
testb %al, %al
je 0xaba0
movq 0x30(%rsp), %rax
movl (%rax), %ecx
movq 0x78(%rsp), %rdi
movq 0x8(%rsp), %rsi
movl %r13d, %edx
callq 0x26f72
movq (%rsp), %rbx
xorl %edx, %edx
testb $0x1, %r13b
sete %dl
movq 0x78(%rsp), %rdi
movl %r15d, %esi
callq 0x2684c
movq 0x68(%rsp), %rax
incl %eax
movq %rax, 0x68(%rsp)
movq 0x48(%rbx), %rax
movl $0x0, (%rax,%r14,4)
movq %rbx, %r15
movl $0xd, %ebx
jmp 0xa7b0
movl $0xe, %ebx
xorl %edi, %edi
jmp 0xa7b5
movq (%rsp), %r15
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xa7c7
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
cmpl $0xe, %ebx
je 0xa7d0
testl %ebx, %ebx
jne 0xa7e2
addq $0x4, %rbp
cmpq 0xb0(%rsp), %rbp
jne 0xa574
movq 0x50(%rsp), %rdi
movq 0xc0(%rsp), %r13
leaq 0x50(%rsp), %rbp
testq %rdi, %rdi
jne 0xa808
jmp 0xa815
movq 0xc0(%rsp), %r13
leaq 0x50(%rsp), %rbp
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x4, %r12
cmpq %r13, %r12
jne 0xa437
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %rax
movq 0x80(%rsp), %rdi
cmpq %r12, %rax
je 0xab0f
xorl %r13d, %r13d
movslq (%r12,%r13,4), %rcx
movl %ecx, %edx
sarl %edx
movslq %edx, %rdx
cmpl $0x0, (%rdi,%rdx,4)
jne 0xaae6
xorq $0x1, %rcx
movq (%r15), %rdx
movq 0x18(%r15), %rsi
leaq (%rcx,%rcx,2), %rcx
movq (%rsi,%rcx,8), %rcx
movslq (%rcx), %rcx
leaq (%rcx,%rcx,4), %rcx
movq (%rdx,%rcx,8), %r14
movq %rcx, 0x98(%rsp)
movq 0x8(%rdx,%rcx,8), %rcx
movq %rcx, 0xb0(%rsp)
cmpq %rcx, %r14
je 0xaae6
movq %r13, 0x8(%rsp)
movl (%r14), %ebx
movl %ebx, %eax
sarl %eax
cltq
movq 0x48(%r15), %rcx
cmpl $0x0, (%rcx,%rax,4)
jne 0xaacf
movl (%r12,%r13,4), %esi
sarl %esi
movq %r15, %rdi
callq 0x278de
movq %rax, 0x50(%rsp)
leaq 0xc8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x1e876
xorl $0x1, %ebx
movl %ebx, 0x30(%rsp)
movq %rax, %rdi
leaq 0x30(%rsp), %rsi
callq 0x1e942
movq (%rax), %rcx
movq 0x8(%rax), %rax
movq 0x80(%rsp), %rdi
cmpq %rax, %rcx
je 0xaab7
movslq (%rcx), %r12
movl %r12d, %ebp
sarl %ebp
movslq %ebp, %r13
cmpl $0x0, (%rdi,%r13,4)
je 0xa916
addq $0x4, %rcx
jmp 0xa8f5
movq %rdi, 0xa8(%rsp)
movq (%r15), %rax
movq 0x98(%rsp), %rcx
movq (%rax,%rcx,8), %rdi
movq 0x8(%rax,%rcx,8), %rcx
subq %rdi, %rcx
je 0xab62
movq %r12, %rsi
xorq $0x1, %rsi
movq (%rsp), %rdx
movq 0x18(%rdx), %rdx
sarq $0x2, %rcx
movq %rsi, 0xa0(%rsp)
leaq (%rsi,%rsi,2), %rsi
movq (%rdx,%rsi,8), %rdx
movslq (%rdx), %rdx
movq %rdx, 0x70(%rsp)
leaq (%rdx,%rdx,4), %rsi
movq (%rax,%rsi,8), %rdx
movq 0x8(%rax,%rsi,8), %r8
subq %rdx, %r8
sarq $0x2, %r8
xorl %r9d, %r9d
xorl %ebx, %ebx
xorl %r11d, %r11d
xorl %r10d, %r10d
movl %ebx, %r15d
cmpq %r15, %r8
jbe 0xa9bf
movl (%rdi,%r9,4), %esi
movl (%rdx,%r15,4), %r15d
movl %esi, %eax
xorl %r15d, %eax
cmpl %esi, %r15d
jge 0xa9ba
cmpl $0x1, %eax
movzbl %r10b, %r10d
cmovel %eax, %r10d
cmovel %r15d, %r11d
incl %ebx
movq %rbx, %r15
cmpq %rbx, %r8
ja 0xa991
jmp 0xa9bf
cmpl $0x1, %eax
je 0xa9da
testb $0x1, %r10b
jne 0xa9cd
incl %r9d
cmpq %r9, %rcx
ja 0xa985
movl %r11d, %r15d
testb $0x1, %r10b
je 0xab62
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %eax
sarl %eax
cltq
movl $0x1, %ecx
movq 0xa8(%rsp), %rdx
movl %ecx, (%rdx,%rax,4)
movl %ecx, (%rdx,%r13,4)
movq (%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq 0x70(%rsp), %rbx
movl %ebx, %edx
callq 0x28218
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %esi
xorl $0x1, %esi
movq (%rsp), %rdi
movl %ebx, %edx
movl $0x1, %ecx
callq 0x28164
movq (%rsp), %rdi
movq 0x18(%rdi), %rax
leaq (%r12,%r12,2), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %esi
callq 0x27f28
movq (%rsp), %rdi
movl %ebp, %esi
callq 0x278a0
testb %al, %al
je 0xab81
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
movl (%rax,%rcx,4), %esi
movq 0x78(%rsp), %rdi
movl %r12d, %edx
movl %r15d, %ecx
callq 0x26f72
movq (%rsp), %r15
xorl %edx, %edx
testb $0x1, %r12b
sete %dl
movq 0x78(%rsp), %rdi
movl %ebp, %esi
callq 0x2684c
movq 0x68(%rsp), %rax
incl %eax
movq %rax, 0x68(%rsp)
movq 0x48(%r15), %rax
movl $0x0, (%rax,%r13,4)
movq 0x80(%rsp), %rdi
movq 0x10(%rsp), %r12
movq 0x8(%rsp), %r13
movl (%r12,%r13,4), %eax
sarl %eax
cltq
cmpl $0x0, (%rdi,%rax,4)
jne 0xaae1
addq $0x4, %r14
cmpq 0xb0(%rsp), %r14
jne 0xa896
movq 0x18(%rsp), %rax
incl %r13d
movq %rax, %rcx
subq %r12, %rcx
sarq $0x2, %rcx
cmpq %r13, %rcx
ja 0xa840
jmp 0xab0f
movq $0x0, 0x68(%rsp)
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0xab29
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x10(%rsp), %r12
testq %r12, %r12
je 0xab3e
movq 0x20(%rsp), %rsi
subq %r12, %rsi
movq %r12, %rdi
callq 0x32b0
leaq 0xc8(%rsp), %rdi
callq 0x1f74a
movq 0x68(%rsp), %rax
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2d8cd(%rip), %rdi     # 0x38436
leaq 0x2d877(%rip), %rsi     # 0x383e7
leaq 0x2d881(%rip), %rcx     # 0x383f8
movl $0xb1, %edx
callq 0x31b0
leaq 0x2d8bb(%rip), %rdi     # 0x38443
leaq 0x2d858(%rip), %rsi     # 0x383e7
leaq 0x2d862(%rip), %rcx     # 0x383f8
movl $0xb8, %edx
callq 0x31b0
leaq 0x2d81e(%rip), %rdi     # 0x383c5
leaq 0x2d839(%rip), %rsi     # 0x383e7
leaq 0x2d843(%rip), %rcx     # 0x383f8
movl $0x8f, %edx
callq 0x31b0
jmp 0xac2b
jmp 0xac2b
jmp 0xac2b
movq %rax, %rbx
jmp 0xabec
jmp 0xabd2
jmp 0xac2b
jmp 0xac2b
jmp 0xac07
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0xabec
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xac0a
movq 0x60(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
jmp 0xac0a
jmp 0xac07
movq %rax, %rbx
movq 0x80(%rsp), %rdi
testq %rdi, %rdi
je 0xac2e
movq 0x90(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
jmp 0xac2e
jmp 0xac2b
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0xac45
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
leaq 0xc8(%rsp), %rdi
callq 0x1f74a
movq %rbx, %rdi
callq 0x34a0