LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/log.cpp
// Function: maxPreprocessor::Log::newRequest(maxPreprocessor::Log::Technique)
void Log::newRequest(Technique t) {
	askHistory.push_back(t);
	if (totalTimer.getTime().count() > timeLimit) return; // timelimit anyway
	if (tTimer[t].getTime().count() < tTimeLimit[t]) return; // has time left
	// try to allocate more time
	map<Technique, double> excessTime;
	for (int i = (int)askHistory.size() - 2; i >= 0; i--) {
		if (askHistory[i] == t) break;
		if (excessTime.count(askHistory[i]) == 0) {
			Technique tt = askHistory[i];
			if (tTimeLimit[tt] - tTimer[tt].getTime().count() > 0) {
				excessTime[tt] = tTimeLimit[tt] - tTimer[tt].getTime().count();
			}
		}
	}
	for (auto et : excessTime) {
		// magic constant
		tTimeLimit[t] += et.second/3; // reallocate third of the excess
		tTimeLimit[et.first] -= et.second/3;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
movq %rsp, %rax
movl %esi, (%rax)
leaq 0x30(%rdi), %r14
movq %r14, %rdi
movq %rax, %rsi
callq 0x22b7c
leaq 0x68(%rbx), %rdi
callq 0x21b26
ucomisd 0x58(%rbx), %xmm0
ja 0x22a4f
movl (%rsp), %eax
imulq $0x18, %rax, %rdi
addq 0x98(%rbx), %rdi
callq 0x21b26
movl (%rsp), %ecx
movq 0x18(%rbx), %rax
movsd (%rax,%rcx,8), %xmm1
ucomisd %xmm0, %xmm1
ja 0x22a4f
leaq 0x20(%rsp), %r13
andl $0x0, (%r13)
andq $0x0, 0x8(%r13)
movq %r13, 0x10(%r13)
movq %r13, 0x18(%r13)
andq $0x0, 0x20(%r13)
movq 0x38(%rbx), %rbp
subq 0x30(%rbx), %rbp
shrq $0x2, %rbp
addl $-0x2, %ebp
leaq 0x18(%rsp), %r15
testl %ebp, %ebp
js 0x229fc
movl %ebp, %r12d
movq (%r14), %rax
cmpl %ecx, (%rax,%r12,4)
je 0x229fc
leaq (%rax,%r12,4), %rsi
movq %r15, %rdi
callq 0x22b9a
testq %rax, %rax
jne 0x229f2
movq 0x30(%rbx), %rax
movl (%rax,%r12,4), %eax
movl %eax, 0x4(%rsp)
movq 0x18(%rbx), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x8(%rsp)
imulq $0x18, %rax, %rdi
addq 0x98(%rbx), %rdi
callq 0x21b26
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
jbe 0x229f2
movl 0x4(%rsp), %eax
movq 0x18(%rbx), %rcx
movsd (%rcx,%rax,8), %xmm0
movsd %xmm0, 0x8(%rsp)
imulq $0x18, %rax, %rdi
addq 0x98(%rbx), %rdi
callq 0x21b26
movsd %xmm0, 0x10(%rsp)
movq %r15, %rdi
leaq 0x4(%rsp), %rsi
callq 0x22bb4
movsd 0x8(%rsp), %xmm0
subsd 0x10(%rsp), %xmm0
movsd %xmm0, (%rax)
decl %ebp
movl (%rsp), %ecx
jmp 0x2294c
movq 0x30(%rsp), %rax
movl %ecx, %r14d
movq 0x18(%rbx), %rbx
cmpq %r13, %rax
je 0x22a45
movl 0x20(%rax), %ecx
movsd 0x28(%rax), %xmm0
divsd 0xdea3(%rip), %xmm0     # 0x308c0
movsd (%rbx,%r14,8), %xmm1
addsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%r14,8)
movsd (%rbx,%rcx,8), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rbx,%rcx,8)
movq %rax, %rdi
callq 0x3200
jmp 0x22a08
leaq 0x18(%rsp), %rdi
callq 0x22c5a
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x22a62
jmp 0x22a62
movq %rax, %rbx
leaq 0x18(%rsp), %rdi
callq 0x22c5a
movq %rbx, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/AMSLEX.cpp
// Function: maxPreprocessor::AMSLEX::assumeSize(unsigned int)
void AMSLEX::assumeSize(unsigned size) {
	if (dataSize < size) {
		unsigned newSize = max(2 * dataSize, size);
		data = (int*)realloc(data, newSize * sizeof(int));
		dataSize = newSize;
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movl 0x60(%rdi), %r14d
cmpl %esi, %r14d
jae 0x237db
movq %rdi, %rbx
addl %r14d, %r14d
cmpl %esi, %r14d
cmovbel %esi, %r14d
movq 0x58(%rdi), %rdi
leaq (,%r14,4), %rsi
callq 0x3470
movq %rax, 0x58(%rbx)
movl %r14d, 0x60(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/AMSLEX.cpp
// Function: maxPreprocessor::AMSLEX::amsLexSE(std::vector<int, std::allocator<int>> const&)
vector<int> AMSLEX::amsLexSE(const vector<int>& clauses) {
	if (clauses.size() <= 700) {
		return amsLexSENonPerm(clauses);
	}
	else {
		return amsLexSEPerm(clauses);
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdx), %rax
subq (%rdx), %rax
cmpq $0xaf3, %rax            # imm = 0xAF3
ja 0x24704
callq 0x23cd4
jmp 0x24709
callq 0x23f5a
movq %rbx, %rax
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::init(int)
void TouchedList::init(int vars_) {
	vars = vars_;
	itr = 1;
	frontItr = 1;
	getItr = 1;
	touchedLiterals.clear();
	modLiterals.clear();
	touchedClauses.clear();
	modClauses.clear();
	techniqueItr.clear();
	getI.resize(vars*2);
	for (int i = 0; i < (int)getI.size(); i++) {
		getI[i] = 0;
	}
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movl %esi, 0x19c(%rdi)
pushq $0x1
popq %rax
movq %rax, 0x188(%rdi)
movq %rax, 0x190(%rdi)
movl $0x1, 0x198(%rdi)
callq 0x27c42
leaq 0x50(%rbx), %rdi
callq 0x27c42
leaq 0xa0(%rbx), %rdi
callq 0x27c42
leaq 0xf0(%rbx), %rdi
callq 0x27c42
leaq 0x140(%rbx), %rdi
callq 0x27f1a
leaq 0x170(%rbx), %rdi
movslq 0x19c(%rbx), %rsi
addq %rsi, %rsi
callq 0x68c2
movq 0x170(%rbx), %rax
movq 0x178(%rbx), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
xorl %edx, %edx
cmpq %rcx, %rdx
jge 0x26d29
andl $0x0, (%rax,%rdx,4)
incq %rdx
jmp 0x26d1b
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::shrink(bool)
void TouchedList::shrink(bool log) {
	uint64_t mi = 1e18;
	for (auto t : techniqueItr) {
		mi = min(mi, t.S);
	}
	if (mi <= frontItr) return;
	if (mi - frontItr < (uint64_t)vars) return;
	frontItr = mi;
	int rm = 0;
	while (!touchedLiterals.empty() && touchedLiterals.front().F < frontItr) {
		touchedLiterals.pop_front();
		rm++;
	}
	touchedLiterals.shrink_to_fit();
	while (!touchedClauses.empty() && touchedClauses.front().F < frontItr) {
		touchedClauses.pop_front();
		rm++;
	}
	touchedClauses.shrink_to_fit();
	while (!modLiterals.empty() && modLiterals.front().F < frontItr) {
		modLiterals.pop_front();
		rm++;
	}
	modLiterals.shrink_to_fit();
	while (!modClauses.empty() && modClauses.front().F < frontItr) {
		modClauses.pop_front();
		rm++;
	}
	modClauses.shrink_to_fit();
	if (log) cerr<<"shrinked "<<rm<<endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r14
movq 0x158(%rdi), %r12
leaq 0x148(%rdi), %rbp
movabsq $0xde0b6b3a7640000, %r13 # imm = 0xDE0B6B3A7640000
movq %rsp, %r15
cmpq %rbp, %r12
je 0x26d8d
leaq 0x20(%r12), %rsi
movq %r15, %rdi
callq 0x27c62
movq 0x20(%rsp), %rax
cmpq %r13, %rax
cmovbq %rax, %r13
movq %r15, %rdi
callq 0x3130
movq %r12, %rdi
callq 0x3200
movq %rax, %r12
jmp 0x26d5a
movq %r13, %rax
subq 0x190(%r14), %rax
jbe 0x26ea8
movslq 0x19c(%r14), %rcx
cmpq %rcx, %rax
jb 0x26ea8
movq %r13, 0x190(%r14)
xorl %ebp, %ebp
movq 0x10(%r14), %rax
cmpq %rax, 0x30(%r14)
je 0x26dd8
movq (%rax), %rax
cmpq 0x190(%r14), %rax
jae 0x26dd8
movq %r14, %rdi
callq 0x27c82
incl %ebp
jmp 0x26db6
movq %r14, %rdi
callq 0x27f80
leaq 0xa0(%r14), %r15
movq 0xb0(%r14), %rax
cmpq %rax, 0xd0(%r14)
je 0x26e0f
movq (%rax), %rax
cmpq 0x190(%r14), %rax
jae 0x26e0f
movq %r15, %rdi
callq 0x27c82
incl %ebp
jmp 0x26de7
movq %r15, %rdi
callq 0x27f80
leaq 0x50(%r14), %r15
movq 0x60(%r14), %rax
cmpq %rax, 0x80(%r14)
je 0x26e40
movq (%rax), %rax
cmpq 0x190(%r14), %rax
jae 0x26e40
movq %r15, %rdi
callq 0x27c82
incl %ebp
jmp 0x26e1b
movq %r15, %rdi
callq 0x27f80
leaq 0xf0(%r14), %r15
movq 0x100(%r14), %rax
cmpq %rax, 0x120(%r14)
je 0x26e77
movq (%rax), %rax
cmpq 0x190(%r14), %rax
jae 0x26e77
movq %r15, %rdi
callq 0x27c82
incl %ebp
jmp 0x26e4f
movq %r15, %rdi
callq 0x27f80
testb %bl, %bl
je 0x26ea8
movq 0x1d166(%rip), %rdi     # 0x43ff0
leaq 0x9e23(%rip), %rsi      # 0x30cb4
callq 0x32a0
movq %rax, %rdi
movl %ebp, %esi
callq 0x3480
movq %rax, %rdi
callq 0x3140
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getTouchedLiteralsCh(unsigned long, std::vector<int, std::allocator<int>>&)
void TouchedList::getTouchedLiteralsCh(uint64_t eitr, std::vector<int>& ret) {
	for (int i = (int)touchedLiterals.size() - 1; i >= 0 && touchedLiterals[i].F >= eitr; i--) {
		if (getI[touchedLiterals[i].S] != getItr) {
			getI[touchedLiterals[i].S] = getItr;
			ret.push_back(touchedLiterals[i].S);
		}
	}
	for (int i = (int)touchedClauses.size() - 1; i >= 0 && touchedClauses[i].F >= eitr; i--) {
		for (int l : pi.clauses[touchedClauses[i].S].lit) {
			if (getI[l] != getItr) {
				getI[l] = getItr;
				ret.push_back(l);
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x27ca0
leaq 0x10(%r15), %r12
movl %eax, %r13d
testl %r13d, %r13d
jle 0x27041
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
cmpq %r14, (%rax)
jb 0x27041
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq 0x170(%r15), %rcx
movl 0x198(%r15), %ebp
cmpl %ebp, (%rcx,%rax,4)
je 0x26fd5
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq 0x170(%r15), %rcx
movl %ebp, (%rcx,%rax,4)
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
leaq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x68a4
jmp 0x26fd5
leaq 0xa0(%r15), %rdi
callq 0x27ca0
leaq 0xb0(%r15), %r12
movl %eax, %r13d
leaq 0x4(%rsp), %rbp
movq %r14, 0x10(%rsp)
movq %r12, 0x8(%rsp)
testl %r13d, %r13d
jle 0x270e3
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
cmpq %r14, (%rax)
jb 0x270e3
movq 0x1a0(%r15), %r14
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq (%r14), %rcx
imulq $0x28, %rax, %rax
movq (%rcx,%rax), %r14
movq 0x8(%rcx,%rax), %r12
cmpq %r12, %r14
je 0x270d7
movslq (%r14), %rax
movl %eax, 0x4(%rsp)
movq 0x170(%r15), %rcx
movl 0x198(%r15), %edx
cmpl %edx, (%rcx,%rax,4)
je 0x270d1
movl %edx, (%rcx,%rax,4)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x68a4
addq $0x4, %r14
jmp 0x270a4
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %r12
jmp 0x27066
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getModLiteralsCh(unsigned long, std::vector<int, std::allocator<int>>&)
void TouchedList::getModLiteralsCh(uint64_t eitr, std::vector<int>& ret) {
	for (int i = (int)modLiterals.size() - 1; i >= 0 && modLiterals[i].F >= eitr; i--) {
		if (getI[modLiterals[i].S] != getItr) {
			getI[modLiterals[i].S] = getItr;
			ret.push_back(modLiterals[i].S);
		}
	}
	for (int i = (int)modClauses.size() - 1; i >= 0 && modClauses[i].F >= eitr; i--) {
		for (int l : pi.clauses[modClauses[i].S].lit) {
			if (getI[l] != getItr) {
				getI[l] = getItr;
				ret.push_back(l);
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
addq $0x50, %rdi
callq 0x27ca0
leaq 0x60(%r15), %r12
movl %eax, %r13d
testl %r13d, %r13d
jle 0x27185
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
cmpq %r14, (%rax)
jb 0x27185
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq 0x170(%r15), %rcx
movl 0x198(%r15), %ebp
cmpl %ebp, (%rcx,%rax,4)
je 0x27119
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq 0x170(%r15), %rcx
movl %ebp, (%rcx,%rax,4)
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
leaq 0x8(%rax), %rsi
movq %rbx, %rdi
callq 0x68a4
jmp 0x27119
leaq 0xf0(%r15), %rdi
callq 0x27ca0
leaq 0x100(%r15), %r12
movl %eax, %r13d
leaq 0x4(%rsp), %rbp
movq %r14, 0x10(%rsp)
movq %r12, 0x8(%rsp)
testl %r13d, %r13d
jle 0x27227
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
cmpq %r14, (%rax)
jb 0x27227
movq 0x1a0(%r15), %r14
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq (%r14), %rcx
imulq $0x28, %rax, %rax
movq (%rcx,%rax), %r14
movq 0x8(%rcx,%rax), %r12
cmpq %r12, %r14
je 0x2721b
movslq (%r14), %rax
movl %eax, 0x4(%rsp)
movq 0x170(%r15), %rcx
movl 0x198(%r15), %edx
cmpl %edx, (%rcx,%rax,4)
je 0x27215
movl %edx, (%rcx,%rax,4)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x68a4
addq $0x4, %r14
jmp 0x271e8
movq 0x10(%rsp), %r14
movq 0x8(%rsp), %r12
jmp 0x271aa
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getTouchedVarsCh(unsigned long, std::vector<int, std::allocator<int>>&)
void TouchedList::getTouchedVarsCh(uint64_t eitr, std::vector<int>& ret) {
	for (int i = (int)touchedLiterals.size() - 1; i >= 0 && touchedLiterals[i].F >= eitr; i--) {
		if (getI[litVariable(touchedLiterals[i].S)] != getItr) {
			getI[litVariable(touchedLiterals[i].S)] = getItr;
			ret.push_back(litVariable(touchedLiterals[i].S));
		}
	}
	for (int i = (int)touchedClauses.size() - 1; i >= 0 && touchedClauses[i].F >= eitr; i--) {
		for (int l : pi.clauses[touchedClauses[i].S].lit) {
			if (getI[litVariable(l)] != getItr) {
				getI[litVariable(l)] = getItr;
				ret.push_back(litVariable(l));
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
callq 0x27ca0
leaq 0x10(%r15), %r12
movl %eax, %r13d
leaq 0x4(%rsp), %rbp
testl %r13d, %r13d
jle 0x272e4
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movq 0x8(%rsp), %rcx
cmpq %rcx, (%rax)
jb 0x272e4
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movl 0x8(%rax), %eax
sarl %eax
cltq
movq 0x170(%r15), %rcx
movl 0x198(%r15), %r14d
cmpl %r14d, (%rcx,%rax,4)
je 0x27260
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movl 0x8(%rax), %eax
sarl %eax
cltq
movq 0x170(%r15), %rcx
movl %r14d, (%rcx,%rax,4)
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movl 0x8(%rax), %eax
sarl %eax
movl %eax, 0x4(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x19ed4
jmp 0x27260
leaq 0xa0(%r15), %rdi
callq 0x27ca0
leaq 0xb0(%r15), %r12
movl %eax, %r13d
movq %rsp, %rbp
movq %r12, 0x10(%rsp)
testl %r13d, %r13d
jle 0x27382
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movq 0x8(%rsp), %rcx
cmpq %rcx, (%rax)
jb 0x27382
movq 0x1a0(%r15), %r14
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq (%r14), %rcx
imulq $0x28, %rax, %rax
movq (%rcx,%rax), %r14
movq 0x8(%rcx,%rax), %r12
cmpq %r12, %r14
je 0x2737b
movl (%r14), %eax
sarl %eax
cltq
movq 0x170(%r15), %rcx
movl 0x198(%r15), %edx
cmpl %edx, (%rcx,%rax,4)
je 0x27375
movl %edx, (%rcx,%rax,4)
movl %eax, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x19ed4
addq $0x4, %r14
jmp 0x27345
movq 0x10(%rsp), %r12
jmp 0x27302
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getModVarsCh(unsigned long, std::vector<int, std::allocator<int>>&)
void TouchedList::getModVarsCh(uint64_t eitr, std::vector<int>& ret) {
	for (int i = (int)modLiterals.size() - 1; i >= 0 && modLiterals[i].F >= eitr; i--) {
		if (getI[litVariable(modLiterals[i].S)] != getItr) {
			getI[litVariable(modLiterals[i].S)] = getItr;
			ret.push_back(litVariable(modLiterals[i].S));
		}
	}
	for (int i = (int)modClauses.size() - 1; i >= 0 && modClauses[i].F >= eitr; i--) {
		for (int l : pi.clauses[modClauses[i].S].lit) {
			if (getI[litVariable(l)] != getItr) {
				getI[litVariable(l)] = getItr;
				ret.push_back(litVariable(l));
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
addq $0x50, %rdi
callq 0x27ca0
leaq 0x60(%r15), %r12
movl %eax, %r13d
leaq 0x4(%rsp), %rbp
testl %r13d, %r13d
jle 0x27444
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movq 0x8(%rsp), %rcx
cmpq %rcx, (%rax)
jb 0x27444
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movl 0x8(%rax), %eax
sarl %eax
cltq
movq 0x170(%r15), %rcx
movl 0x198(%r15), %r14d
cmpl %r14d, (%rcx,%rax,4)
je 0x273c0
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movl 0x8(%rax), %eax
sarl %eax
cltq
movq 0x170(%r15), %rcx
movl %r14d, (%rcx,%rax,4)
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movl 0x8(%rax), %eax
sarl %eax
movl %eax, 0x4(%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x19ed4
jmp 0x273c0
leaq 0xf0(%r15), %rdi
callq 0x27ca0
leaq 0x100(%r15), %r12
movl %eax, %r13d
movq %rsp, %rbp
movq %r12, 0x10(%rsp)
testl %r13d, %r13d
jle 0x274e2
decq %r13
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movq 0x8(%rsp), %rcx
cmpq %rcx, (%rax)
jb 0x274e2
movq 0x1a0(%r15), %r14
movq %r12, %rdi
movq %r13, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq (%r14), %rcx
imulq $0x28, %rax, %rax
movq (%rcx,%rax), %r14
movq 0x8(%rcx,%rax), %r12
cmpq %r12, %r14
je 0x274db
movl (%r14), %eax
sarl %eax
cltq
movq 0x170(%r15), %rcx
movl 0x198(%r15), %edx
cmpl %edx, (%rcx,%rax,4)
je 0x274d5
movl %edx, (%rcx,%rax,4)
movl %eax, (%rsp)
movq %rbx, %rdi
movq %rbp, %rsi
callq 0x19ed4
addq $0x4, %r14
jmp 0x274a5
movq 0x10(%rsp), %r12
jmp 0x27462
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getModLiterals(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<int> TouchedList::getModLiterals(string technique) {
	if (techniqueItr.count(technique) == 0) {
		techniqueItr[technique] = itr;
		vector<int> ret(2*vars);
		for (int i = 0; i < 2*vars; i++) {
			ret[i] = i;
		}
		return ret;
	}
	else {
		getItr++;
		uint64_t eitr = techniqueItr[technique];
		techniqueItr[technique] = itr;
		vector<int> ret;
		getModLiteralsCh(eitr, ret);
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsi), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x27cb0
testq %rax, %rax
je 0x27572
incl 0x198(%r14)
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq (%rax), %r13
movq 0x188(%r14), %rbp
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq %rbp, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x270f2
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x188(%r14), %r13
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq %r13, (%rax)
movslq 0x19c(%r14), %rsi
addq %rsi, %rsi
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
callq 0x6852
movq (%rbx), %rax
xorl %ecx, %ecx
movslq 0x19c(%r14), %rdx
addq %rdx, %rdx
cmpq %rdx, %rcx
jge 0x27560
movl %ecx, (%rax,%rcx,4)
incq %rcx
jmp 0x275a3
movq %rax, %r14
movq %rbx, %rdi
callq 0x7512
movq %r14, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getModVariables(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<int> TouchedList::getModVariables(string technique) {
	if (techniqueItr.count(technique) == 0) {
		techniqueItr[technique] = itr;
		vector<int> ret(vars);
		for (int i = 0; i < vars; i++) {
			ret[i] = i;
		}
		return ret;
	}
	else {
		getItr++;
		uint64_t eitr = techniqueItr[technique];
		techniqueItr[technique] = itr;
		vector<int> ret;
		getModVarsCh(eitr, ret);
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsi), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x27cb0
testq %rax, %rax
je 0x2764e
incl 0x198(%r14)
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq (%rax), %r13
movq 0x188(%r14), %rbp
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq %rbp, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x27392
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x188(%r14), %r13
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq %r13, (%rax)
movslq 0x19c(%r14), %rsi
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
callq 0x6852
movq (%rbx), %rax
xorl %ecx, %ecx
movslq 0x19c(%r14), %rdx
cmpq %rdx, %rcx
jge 0x2763c
movl %ecx, (%rax,%rcx,4)
incq %rcx
jmp 0x2767c
movq %rax, %r14
movq %rbx, %rdi
callq 0x7512
movq %r14, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getTouchedLiterals(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<int> TouchedList::getTouchedLiterals(string technique) {
	if (techniqueItr.count(technique) == 0) {
		techniqueItr[technique] = itr;
		vector<int> ret(2*vars);
		for (int i = 0; i < 2*vars; i++) {
			ret[i] = i;
		}
		return ret;
	}
	else {
		getItr++;
		uint64_t eitr = techniqueItr[technique];
		techniqueItr[technique] = itr;
		vector<int> ret;
		getModLiteralsCh(eitr, ret);
		getTouchedLiteralsCh(eitr, ret);
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsi), %r13
movq %r13, %rdi
movq %rdx, %rsi
callq 0x27cb0
testq %rax, %rax
je 0x27732
incl 0x198(%r14)
movq %r13, %rdi
movq %r15, %rsi
callq 0x27cca
movq (%rax), %r12
movq 0x188(%r14), %rbp
movq %r13, %rdi
movq %r15, %rsi
callq 0x27cca
movq %rbp, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x270f2
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x26fb2
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x188(%r14), %r12
movq %r13, %rdi
movq %r15, %rsi
callq 0x27cca
movq %r12, (%rax)
movslq 0x19c(%r14), %rsi
addq %rsi, %rsi
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
callq 0x6852
movq (%rbx), %rax
xorl %ecx, %ecx
movslq 0x19c(%r14), %rdx
addq %rdx, %rdx
cmpq %rdx, %rcx
jge 0x27720
movl %ecx, (%rax,%rcx,4)
incq %rcx
jmp 0x27763
movq %rax, %r14
movq %rbx, %rdi
callq 0x7512
movq %r14, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getTouchedVariables(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<int> TouchedList::getTouchedVariables(string technique) {
	if (techniqueItr.count(technique) == 0) {
		techniqueItr[technique] = itr;
		vector<int> ret(vars);
		for (int i = 0; i < vars; i++) {
			ret[i] = i;
		}
		return ret;
	}
	else {
		getItr++;
		uint64_t eitr = techniqueItr[technique];
		techniqueItr[technique] = itr;
		vector<int> ret;
		getModVarsCh(eitr, ret);
		getTouchedVarsCh(eitr, ret);
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsi), %r13
movq %r13, %rdi
movq %rdx, %rsi
callq 0x27cb0
testq %rax, %rax
je 0x2781c
incl 0x198(%r14)
movq %r13, %rdi
movq %r15, %rsi
callq 0x27cca
movq (%rax), %r12
movq 0x188(%r14), %rbp
movq %r13, %rdi
movq %r15, %rsi
callq 0x27cca
movq %rbp, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x27392
movq %r14, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x27236
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x188(%r14), %r12
movq %r13, %rdi
movq %r15, %rsi
callq 0x27cca
movq %r12, (%rax)
movslq 0x19c(%r14), %rsi
leaq 0x7(%rsp), %rdx
movq %rbx, %rdi
callq 0x6852
movq (%rbx), %rax
xorl %ecx, %ecx
movslq 0x19c(%r14), %rdx
cmpq %rdx, %rcx
jge 0x2780a
movl %ecx, (%rax,%rcx,4)
incq %rcx
jmp 0x2784a
movq %rax, %r14
movq %rbx, %rdi
callq 0x7512
movq %r14, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/touchedlist.cpp
// Function: maxPreprocessor::TouchedList::getBinaryLiterals(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
vector<int> TouchedList::getBinaryLiterals(string technique) {
	if (techniqueItr.count(technique) == 0) {
		techniqueItr[technique] = itr;
		vector<int> ret(2*vars);
		for (int i = 0; i < 2*vars; i++) {
			ret[i] = i;
		}
		return ret;
	}
	else {
		getItr++;
		uint64_t eitr = techniqueItr[technique];
		techniqueItr[technique] = itr;
		vector<int> ret;
		for (int i = (int)modClauses.size() - 1; i >= 0 && modClauses[i].F >= eitr; i--) {
			if (pi.clauses[modClauses[i].S].lit.size() == 2) {
				for (int l : pi.clauses[modClauses[i].S].lit) {
					if (getI[l] != getItr) {
						getI[l] = getItr;
						ret.push_back(l);
					}
				}
			}
		}
		return ret;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x140(%rsi), %r12
movq %r12, %rdi
movq %rdx, %rsi
callq 0x27cb0
testq %rax, %rax
je 0x279b4
incl 0x198(%r14)
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x188(%r14), %r13
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq %r13, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
leaq 0xf0(%r14), %rdi
callq 0x27ca0
leaq 0x100(%r14), %rcx
movq %rcx, 0x8(%rsp)
movl %eax, %r12d
leaq 0x4(%rsp), %r13
testl %r12d, %r12d
movq 0x8(%rsp), %rbp
jle 0x279fc
decq %r12
movq %rbp, %rdi
movq %r12, %rsi
callq 0x286a2
movq 0x10(%rsp), %rcx
cmpq %rcx, (%rax)
jb 0x279fc
movq 0x1a0(%r14), %r15
movq %rbp, %rdi
movq %r12, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq (%r15), %rcx
imulq $0x28, %rax, %rax
movq 0x8(%rcx,%rax), %rdx
subq (%rcx,%rax), %rdx
cmpq $0x8, %rdx
jne 0x278fe
movq 0x1a0(%r14), %r15
movq 0x8(%rsp), %rdi
movq %r12, %rsi
callq 0x286a2
movslq 0x8(%rax), %rax
movq (%r15), %rcx
imulq $0x28, %rax, %rax
movq (%rcx,%rax), %rbp
movq 0x8(%rcx,%rax), %r15
cmpq %r15, %rbp
je 0x278fe
movslq (%rbp), %rax
movl %eax, 0x4(%rsp)
movq 0x170(%r14), %rcx
movl 0x198(%r14), %edx
cmpl %edx, (%rcx,%rax,4)
je 0x279ae
movl %edx, (%rcx,%rax,4)
movq %rbx, %rdi
movq %r13, %rsi
callq 0x68a4
addq $0x4, %rbp
jmp 0x2797c
movq 0x188(%r14), %r13
movq %r12, %rdi
movq %r15, %rsi
callq 0x27cca
movq %r13, (%rax)
movslq 0x19c(%r14), %rsi
addq %rsi, %rsi
leaq 0x3(%rsp), %rdx
movq %rbx, %rdi
callq 0x6852
movq (%rbx), %rax
xorl %ecx, %ecx
movslq 0x19c(%r14), %rdx
addq %rdx, %rdx
cmpq %rdx, %rcx
jge 0x279fc
movl %ecx, (%rax,%rcx,4)
incq %rcx
jmp 0x279e5
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
movq %rbx, %rdi
callq 0x7512
movq %r14, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::PreprocessorInterface(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>> const&, std::vector<unsigned long, std::allocator<unsigned long>> const&, unsigned long, bool)
PreprocessorInterface::PreprocessorInterface(const vector<vector<int> >& clauses, const vector<uint64_t>& weights, uint64_t topWeight_, bool inProcessMode_) 
	: preprocessor(clauses, weights, topWeight_), topWeight(topWeight_), inProcessMode(inProcessMode_) {
		variables = 0;
		originalVariables = 0;
		for (auto& clause : clauses) {
			for (int lit : clause) {
				assert(lit != 0);
				variables = max(variables, abs(lit));
			}
		}
		originalVariables = variables;
		preprocessed = false;
		useBVEGateExtraction = false;
		useLabelMatching = false;
		skipTechnique = 0;
    BVEsortMaxFirst = false;
    BVElocalGrow = 0;
    BVEglobalGrow = 0;

		if (inProcessMode) {
			PPVarToSolverVar.resize(variables);
			solverVarToPPVar.resize(variables);
			for (auto& clause : clauses) {
				for (int lit : clause) {
					PPVarToSolverVar[abs(lit)-1] = abs(lit);
					solverVarToPPVar[abs(lit)-1] = abs(lit);
				}
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %r13d
movq %rcx, %rbx
movq %rsi, %r12
movq %rdi, %rbp
leaq 0x8(%rdi), %r15
movq %r15, %rdi
callq 0x7a54
leaq 0x1800(%rbp), %r10
xorps %xmm0, %xmm0
movups %xmm0, 0x1830(%rbp)
movups %xmm0, 0x1820(%rbp)
movups %xmm0, 0x1810(%rbp)
movups %xmm0, 0x1800(%rbp)
andq $0x0, 0x1840(%rbp)
movq %rbx, 0x1848(%rbp)
movb %r13b, 0x1850(%rbp)
andq $0x0, (%rbp)
leaq 0x1868(%rbp), %rbx
leaq 0x1880(%rbp), %r14
movups %xmm0, 0x1868(%rbp)
movups %xmm0, 0x1878(%rbp)
movups %xmm0, 0x1888(%rbp)
movq (%r12), %rcx
movq 0x8(%r12), %rdx
xorl %eax, %eax
cmpq %rdx, %rcx
je 0x28bcb
movq (%rcx), %rsi
movq 0x8(%rcx), %rdi
cmpq %rdi, %rsi
je 0x28bc5
movl (%rsi), %r8d
testl %r8d, %r8d
je 0x28c51
movl %r8d, %r9d
negl %r9d
cmovsl %r8d, %r9d
cmpl %r9d, %eax
cmovlel %r9d, %eax
movl %eax, (%rbp)
addq $0x4, %rsi
jmp 0x28b9a
addq $0x18, %rcx
jmp 0x28b8e
movl %eax, 0x4(%rbp)
andq $0x0, 0x185c(%rbp)
andq $0x0, 0x1851(%rbp)
testb %r13b, %r13b
je 0x28c42
movq %r10, %r13
movl %eax, %esi
movq %r14, %rdi
callq 0x68c2
movslq (%rbp), %rsi
movq %rbx, %rdi
callq 0x68c2
movq (%r12), %rax
movq 0x8(%r12), %rcx
cmpq %rcx, %rax
je 0x28c42
movq (%rax), %rdx
movq 0x8(%rax), %rsi
movq (%r14), %rdi
movq (%rbx), %r8
cmpq %rsi, %rdx
je 0x28c3c
movl (%rdx), %r9d
movl %r9d, %r10d
negl %r10d
cmovsl %r9d, %r10d
movslq %r10d, %r9
movl %r9d, -0x4(%rdi,%r9,4)
movl %r9d, -0x4(%r8,%r9,4)
addq $0x4, %rdx
jmp 0x28c17
addq $0x18, %rax
jmp 0x28c05
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8066(%rip), %rdi      # 0x30cbe
leaq 0x8068(%rip), %rsi      # 0x30cc7
leaq 0x807b(%rip), %rcx      # 0x30ce1
pushq $0x17
popq %rdx
callq 0x31c0
movq %rax, %r12
movq %r14, %rdi
callq 0x7512
movq %rbx, %rdi
callq 0x7512
movq %r13, %rdi
callq 0x6b26
movq %r15, %rdi
callq 0x6b46
movq %r12, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::preprocess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, double)
void PreprocessorInterface::preprocess(string techniques, int logLevel, double timeLimit) {
		preprocessor.logLevel = logLevel;
		preprocessor.printComments = false;
		preprocessor.skipTechnique = skipTechnique;

    preprocessor.BVEsortMaxFirst = BVEsortMaxFirst;
    preprocessor.BVElocalGrow = BVElocalGrow;
    preprocessor.BVEglobalGrow = BVEglobalGrow;
		
		preprocessor.preprocess(techniques, timeLimit, false, useBVEGateExtraction, !preprocessed, useLabelMatching);
		preprocessed = true;
		variables = max(variables, preprocessor.pi.vars);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movsd %xmm0, 0x8(%rsp)
movq %rdi, %rbx
leaq 0x8(%rdi), %r14
movl %edx, 0x2f0(%rdi)
movb $0x0, 0x2f4(%rdi)
movl 0x1854(%rdi), %eax
movl %eax, 0x470(%rdi)
movb 0x1858(%rdi), %al
movb %al, 0x3a9(%rdi)
movq 0x185c(%rdi), %rax
movq %rax, 0x3ac(%rdi)
leaq 0x10(%rsp), %r15
movq %r15, %rdi
callq 0x33a0
movzbl 0x1852(%rbx), %ecx
movzbl 0x1851(%rbx), %r8d
movzbl 0x1853(%rbx), %r9d
xorl $0x1, %r8d
movq %r14, %rdi
movq %r15, %rsi
movsd 0x8(%rsp), %xmm0
xorl %edx, %edx
callq 0x1504a
leaq 0x10(%rsp), %rdi
callq 0x3130
movb $0x1, 0x1851(%rbx)
movl (%rbx), %eax
movl 0x68(%rbx), %ecx
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, (%rbx)
addq $0x30, %rsp
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3130
movq %rbx, %rdi
callq 0x3490
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::getInstance(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, std::vector<unsigned long, std::allocator<unsigned long>>&, std::vector<int, std::allocator<int>>&)
void PreprocessorInterface::getInstance(std::vector<std::vector<int> >& retClauses, std::vector<uint64_t>& retWeights, std::vector<int>& retLabels) {
		preprocessedInstance = preprocessor.getPreprocessedInstance();
		
		retClauses = preprocessedInstance.clauses;
		retWeights = preprocessedInstance.weights;
		
		for (unsigned i = 0; i < preprocessedInstance.labels.size(); i++) {
			retLabels.push_back(litToSolver(litToDimacs(preprocessedInstance.labels[i].F)));
		}
		for (auto& clause : retClauses) {
			for (int& lit : clause) {
				lit = litToDimacs(lit);
				variables = max(variables, abs(lit));
				lit = litToSolver(lit);
			}
		}
		
		for (uint64_t& w : retWeights) {
			if (w == HARDWEIGHT) {
				w = topWeight;
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rcx, %r12
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x8(%rdi), %rsi
movq %rsp, %r13
movq %r13, %rdi
callq 0x14580
leaq 0x1800(%rbx), %rbp
movq %rbp, %rdi
movq %r13, %rsi
callq 0x29ca8
movq %r13, %rdi
callq 0x6b26
movq %r15, %rdi
movq %rbp, %rsi
callq 0x29ce0
leaq 0x1818(%rbx), %rsi
movq %r14, %rdi
callq 0x29dbe
xorl %eax, %eax
movl %eax, %ebp
movq 0x1830(%rbx), %rax
movq 0x1838(%rbx), %rcx
subq %rax, %rcx
sarq $0x4, %rcx
cmpq %rbp, %rcx
jbe 0x28e01
movq %rbp, %rcx
shlq $0x4, %rcx
movl (%rax,%rcx), %edi
callq 0x20efd
movq %rbx, %rdi
movl %eax, %esi
callq 0x28e86
movl %eax, (%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x19ed4
leal 0x1(%rbp), %eax
jmp 0x28db9
movq (%r15), %r12
movq 0x8(%r15), %r15
cmpq %r15, %r12
je 0x28e54
movq (%r12), %r13
movq 0x8(%r12), %rbp
cmpq %rbp, %r13
je 0x28e4e
movl (%r13), %edi
callq 0x20efd
movl %eax, (%r13)
movl %eax, %ecx
negl %ecx
cmovsl %eax, %ecx
movl (%rbx), %eax
cmpl %ecx, %eax
cmovgl %eax, %ecx
movl %ecx, (%rbx)
movl (%r13), %esi
movq %rbx, %rdi
callq 0x28e86
movl %eax, (%r13)
addq $0x4, %r13
jmp 0x28e16
addq $0x18, %r12
jmp 0x28e08
movq (%r14), %rax
movq 0x8(%r14), %rcx
xorl %edx, %edx
cmpq %rcx, %rax
je 0x28e77
cmpq (%rax), %rdx
jno 0x28e71
movq 0x1848(%rbx), %rsi
movq %rsi, (%rax)
addq $0x8, %rax
jmp 0x28e5d
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::litToSolver(int)
int PreprocessorInterface::litToSolver(int lit) {
		if (PPVarToSolverVar.size() < abs(lit)) PPVarToSolverVar.resize(abs(lit));
		if (PPVarToSolverVar[abs(lit)-1] == 0) {
			PPVarToSolverVar[abs(lit)-1] = solverVarToPPVar.size() + 1;
			solverVarToPPVar.push_back(abs(lit));
		}
		if (lit > 0) return PPVarToSolverVar[abs(lit)-1];
		else return -PPVarToSolverVar[abs(lit)-1];
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq %rdi, %r12
leaq 0x1880(%rdi), %r14
movq 0x1880(%rdi), %rax
movq 0x1888(%rdi), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
movl %esi, %r15d
negl %r15d
cmovsl %esi, %r15d
cmpq %r15, %rcx
jae 0x28ed1
movq %r14, %rdi
movq %r15, %rsi
callq 0x68c2
movq (%r14), %rax
movslq %r15d, %rcx
leaq -0x1(%rcx), %r13
cmpl $0x0, -0x4(%rax,%rcx,4)
jne 0x28f0e
leaq 0x1868(%r12), %rdi
movq 0x1870(%r12), %rcx
subq 0x1868(%r12), %rcx
shrq $0x2, %rcx
incl %ecx
movl %ecx, (%rax,%r13,4)
leaq 0xc(%rsp), %rsi
movl %r15d, (%rsi)
callq 0x19ed4
movq (%r14), %rax
movl (%rax,%r13,4), %ecx
movl %ecx, %eax
negl %eax
testl %ebx, %ebx
cmovgl %ecx, %eax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::reconstruct(std::vector<int, std::allocator<int>> const&)
vector<int> PreprocessorInterface::reconstruct(const vector<int>& trueLiterals) {
		vector<int> ppTrueLiterals;
		for (int lit : trueLiterals) {
			lit = litToPP(lit);
			if (lit == 0) continue;
			ppTrueLiterals.push_back(lit);
		}
		return preprocessor.trace.getSolution(ppTrueLiterals, 0, variables, originalVariables).F;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movq %rsp, %r15
andq $0x0, 0x10(%r15)
movaps %xmm0, (%r15)
movq (%rdx), %r13
movq 0x8(%rdx), %rbp
leaq 0x20(%rsp), %r12
cmpq %rbp, %r13
je 0x28f89
movl (%r13), %esi
movl %esi, 0x20(%rsp)
movq %r14, %rdi
callq 0x28ff8
movl %eax, 0x20(%rsp)
testl %eax, %eax
je 0x28f83
movq %r15, %rdi
movq %r12, %rsi
callq 0x68a4
addq $0x4, %r13
jmp 0x28f5b
leaq 0x2f8(%r14), %rsi
movl (%r14), %r8d
movl 0x4(%r14), %r9d
leaq 0x20(%rsp), %rdi
movq %rsp, %rdx
xorl %ecx, %ecx
callq 0x207ec
leaq 0x20(%rsp), %rdi
movaps (%rdi), %xmm0
movups %xmm0, (%rbx)
movq 0x10(%rdi), %rax
movq %rax, 0x10(%rbx)
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
andq $0x0, 0x10(%rdi)
callq 0x7512
movq %rsp, %rdi
callq 0x7512
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x28fe5
movq %rax, %rbx
movq %rsp, %rdi
callq 0x7512
movq %rbx, %rdi
callq 0x3490
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::printSolution(std::vector<int, std::allocator<int>> const&, std::ostream&, unsigned long)
void PreprocessorInterface::printSolution(const vector<int>& trueLiterals, ostream& output, uint64_t ansWeight) {
		vector<int> ppTrueLiterals;
		for (int lit : trueLiterals) {
			lit = litToPP(lit);
			if (lit == 0) continue;
			ppTrueLiterals.push_back(lit);
		}
		preprocessor.trace.printSolution(output, ppTrueLiterals, ansWeight, variables, originalVariables);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, 0x8(%rsp)
movq %rdx, %r14
movq %rdi, %r15
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r12
andq $0x0, 0x10(%r12)
movaps %xmm0, (%r12)
movq (%rsi), %rbp
movq 0x8(%rsi), %rbx
leaq 0x4(%rsp), %r13
cmpq %rbx, %rbp
je 0x2908f
movl (%rbp), %esi
movl %esi, 0x4(%rsp)
movq %r15, %rdi
callq 0x28ff8
movl %eax, 0x4(%rsp)
testl %eax, %eax
je 0x29089
movq %r12, %rdi
movq %r13, %rsi
callq 0x68a4
addq $0x4, %rbp
jmp 0x29062
leaq 0x2f8(%r15), %rdi
movl (%r15), %r8d
movl 0x4(%r15), %r9d
leaq 0x10(%rsp), %rdx
movq %r14, %rsi
movq 0x8(%rsp), %rcx
callq 0x20e10
leaq 0x10(%rsp), %rdi
callq 0x7512
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x290ca
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7512
movq %rbx, %rdi
callq 0x3490
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::addVar(int)
int PreprocessorInterface::addVar(int var) {
		if (!inProcessMode) return 0;
		assert(var >= 0);
		if (var == 0) {
			var = solverVarToPPVar.size() + 1;
		}
		if (var > (int)solverVarToPPVar.size()) {
			solverVarToPPVar.resize(var);
		}
		if (solverVarToPPVar[var-1] != 0) return 0;
		int nv = preprocessor.pi.addVar()+1;
		solverVarToPPVar[var-1] = nv;
		assert((int)PPVarToSolverVar.size() < nv);
		PPVarToSolverVar.resize(nv);
		PPVarToSolverVar[nv-1] = var;
		return var;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
xorl %r14d, %r14d
cmpb $0x1, 0x1850(%rdi)
jne 0x291b0
movl %esi, %ebp
testl %esi, %esi
js 0x291bc
movq %rdi, %rbx
je 0x29123
movq 0x1870(%rbx), %rax
subq 0x1868(%rbx), %rax
shrq $0x2, %rax
jmp 0x29138
movq 0x1870(%rbx), %rax
subq 0x1868(%rbx), %rax
shrq $0x2, %rax
leal 0x1(%rax), %ebp
leaq 0x1868(%rbx), %r12
movslq %ebp, %r15
cmpl %eax, %ebp
jle 0x29151
movq %r12, %rdi
movq %r15, %rsi
callq 0x68c2
movq (%r12), %rax
cmpl $0x0, -0x4(%rax,%r15,4)
jne 0x291b0
decq %r15
leaq 0x8(%rbx), %rdi
callq 0x215a4
movl %eax, %r14d
leal 0x1(%r14), %eax
movq 0x1868(%rbx), %rcx
movl %eax, (%rcx,%r15,4)
movq 0x1888(%rbx), %rcx
subq 0x1880(%rbx), %rcx
shrq $0x2, %rcx
cmpl %ecx, %r14d
jl 0x291d5
addq $0x1880, %rbx           # imm = 0x1880
movslq %eax, %rsi
movq %rbx, %rdi
callq 0x68c2
movslq %r14d, %rax
movq (%rbx), %rcx
movl %ebp, (%rcx,%rax,4)
movl %ebp, %r14d
movl %r14d, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7ba3(%rip), %rdi      # 0x30d66
leaq 0x7afd(%rip), %rsi      # 0x30cc7
leaq 0x7b9e(%rip), %rcx      # 0x30d6f
pushq $0x70
jmp 0x291ec
leaq 0x7bcb(%rip), %rdi      # 0x30da7
leaq 0x7ae4(%rip), %rsi      # 0x30cc7
leaq 0x7b85(%rip), %rcx      # 0x30d6f
pushq $0x7a
popq %rdx
callq 0x31c0
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::addLabel(int, unsigned long)
int PreprocessorInterface::addLabel(int lbl, uint64_t weight) {
		if (!inProcessMode) return 0;
		lbl = addVar(lbl);
		if (lbl == 0) return 0;
		if (weight >= topWeight) weight = HARDWEIGHT;
		int iVar = solverVarToPPVar[lbl-1]-1;
		preprocessor.pi.addClause({negLit(iVar)}, weight);
		preprocessor.pi.isLabel[iVar] = VAR_FALSE;
		return lbl;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
xorl %r15d, %r15d
cmpb $0x1, 0x1850(%rdi)
jne 0x2928b
movq %rdx, %r14
movq %rdi, %rbx
callq 0x290e8
testl %eax, %eax
je 0x2928b
movl %eax, %ebp
movq 0x1848(%rbx), %r13
movq 0x1868(%rbx), %rax
movslq %ebp, %rcx
movslq -0x4(%rax,%rcx,4), %r12
leal -0x1(%r12,%r12), %eax
leaq 0xc(%rsp), %rsi
movl %eax, (%rsi)
leaq 0x10(%rsp), %r15
pushq $0x1
popq %rdx
leaq 0xb(%rsp), %rcx
movq %r15, %rdi
callq 0x18af6
leaq 0x8(%rbx), %rdi
cmpq %r14, %r13
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
cmovaq %r14, %rdx
movq %r15, %rsi
callq 0x214e8
leaq 0x10(%rsp), %rdi
callq 0x7512
movq 0x50(%rbx), %rax
movl $0x2, -0x4(%rax,%r12,4)
movl %ebp, %r15d
movl %r15d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7512
movq %rbx, %rdi
callq 0x3490
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::addClause(std::vector<int, std::allocator<int>>)
bool PreprocessorInterface::addClause(std::vector<int> clause) {
		if (!inProcessMode) return false;
		for (int& lit : clause) {
			assert(lit != 0);
			int tlit = litToPP(lit);
			if (tlit == 0) {
				int nvar = addVar(abs(lit));
				assert(nvar == abs(lit));
				tlit = litToPP(lit);
				assert(lit == litToSolver(tlit));
			}
			tlit = litFromDimacs(tlit);
			lit = tlit;
		}
		sort(clause.begin(), clause.end());
		clause.erase(unique(clause.begin(), clause.end()), clause.end());
		for (int i = 1; i < (int)clause.size(); i++) {
			if (clause[i] == litNegation(clause[i-1])) return true;
		}
		preprocessor.pi.addClause(clause);
		return true;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movb 0x1850(%rdi), %bl
cmpb $0x1, %bl
jne 0x29595
movq %rsi, %r14
movq %rdi, %r15
movb %bl, 0x7(%rsp)
movq (%rsi), %r13
movq 0x8(%rsi), %rbx
cmpq %rbx, %r13
je 0x29527
movl (%r13), %r12d
testl %r12d, %r12d
je 0x295a6
movq %r15, %rdi
movl %r12d, %esi
callq 0x28ff8
testl %eax, %eax
je 0x294d0
movl %eax, %ebp
jmp 0x29516
movl %r12d, %esi
negl %esi
cmovsl %r12d, %esi
movq %r15, %rdi
callq 0x290e8
movl (%r13), %r12d
movl %r12d, %ecx
negl %ecx
cmovsl %r12d, %ecx
cmpl %ecx, %eax
jne 0x295c5
movq %r15, %rdi
movl %r12d, %esi
callq 0x28ff8
movl %eax, %ebp
movq %r15, %rdi
movl %eax, %esi
callq 0x28e86
cmpl %eax, %r12d
jne 0x295e4
movl %ebp, %edi
callq 0x20ee4
movl %eax, (%r13)
addq $0x4, %r13
jmp 0x294ab
movq (%r14), %rdi
movq 0x8(%r14), %rsi
callq 0x1c706
movq (%r14), %rdi
movq 0x8(%r14), %rsi
callq 0x1cd6f
movq 0x8(%r14), %rdx
movq %r14, %rdi
movq %rax, %rsi
callq 0x1902e
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
movslq %ecx, %rcx
pushq $0x1
popq %rdx
movb 0x7(%rsp), %bl
cmpq %rcx, %rdx
jge 0x2957c
movl -0x4(%rax,%rdx,4), %esi
xorl (%rax,%rdx,4), %esi
incq %rdx
cmpl $0x1, %esi
jne 0x29566
jmp 0x29595
addq $0x8, %r15
movabsq $-0x8000000000000000, %rdx # imm = 0x8000000000000000
movq %r15, %rdi
movq %r14, %rsi
callq 0x214e8
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x7711(%rip), %rdi      # 0x30cbe
leaq 0x7713(%rip), %rsi      # 0x30cc7
leaq 0x7924(%rip), %rcx      # 0x30edf
movl $0xae, %edx
callq 0x31c0
leaq 0x795c(%rip), %rdi      # 0x30f28
leaq 0x76f4(%rip), %rsi      # 0x30cc7
leaq 0x7905(%rip), %rcx      # 0x30edf
movl $0xb2, %edx
callq 0x31c0
leaq 0x794e(%rip), %rdi      # 0x30f39
leaq 0x76d5(%rip), %rsi      # 0x30cc7
leaq 0x78e6(%rip), %rcx      # 0x30edf
movl $0xb4, %edx
callq 0x31c0
nop
// File: /workspace/github_cpp_makefile_star2_O2/Laakeri[P]maxpre/src/preprocessorinterface.cpp
// Function: maxPreprocessor::PreprocessorInterface::labelToVar(int)
bool PreprocessorInterface::labelToVar(int lbl) {
		if (!inProcessMode) return false;
		if (lbl < 1) return false;
		int iVar = solverVarToPPVar[lbl-1]-1;
		assert(iVar >= 0);
		int softClause = -1;
		if (preprocessor.pi.isLabel[iVar] == VAR_TRUE) {
			assert(preprocessor.pi.litClauses[posLit(iVar)].size() >= 1);
			softClause = preprocessor.pi.litClauses[posLit(iVar)][0];
		}
		else if (preprocessor.pi.isLabel[iVar] == VAR_FALSE) {
			assert(preprocessor.pi.litClauses[negLit(iVar)].size() >= 1);
			softClause = preprocessor.pi.litClauses[negLit(iVar)][0];
		}
		else {
			return true;
		}
		preprocessor.pi.isLabel[iVar] = 0;
		preprocessor.pi.removeClause(softClause);
		return true;
	}

// Assembly:
pushq %rbx
testl %esi, %esi
setg %bl
andb 0x1850(%rdi), %bl
cmpb $0x1, %bl
jne 0x296a2
movq 0x1868(%rdi), %rax
movl %esi, %ecx
movl -0x4(%rax,%rcx,4), %edx
testl %edx, %edx
jle 0x296a6
decl %edx
movl %edx, %eax
movq 0x50(%rdi), %rcx
movl (%rcx,%rax,4), %esi
cmpl $0x2, %esi
je 0x29676
cmpl $0x1, %esi
jne 0x296a2
addl %edx, %edx
movslq %edx, %rdx
movq 0x20(%rdi), %rsi
imulq $0x18, %rdx, %r8
movq (%rsi,%r8), %rdx
cmpq %rdx, 0x8(%rsi,%r8)
jne 0x29693
leaq 0x7931(%rip), %rdi      # 0x30f8f
leaq 0x7662(%rip), %rsi      # 0x30cc7
leaq 0x78e6(%rip), %rcx      # 0x30f52
movl $0xc9, %edx
callq 0x31c0
leal 0x1(,%rdx,2), %edx
movslq %edx, %rdx
movq 0x20(%rdi), %rsi
imulq $0x18, %rdx, %r8
movq (%rsi,%r8), %rdx
cmpq %rdx, 0x8(%rsi,%r8)
je 0x296c5
addq $0x8, %rdi
movl (%rdx), %esi
andl $0x0, (%rcx,%rax,4)
callq 0x21490
movl %ebx, %eax
popq %rbx
retq
leaq 0x771c(%rip), %rdi      # 0x30dc9
leaq 0x7613(%rip), %rsi      # 0x30cc7
leaq 0x7897(%rip), %rcx      # 0x30f52
movl $0xc6, %edx
callq 0x31c0
leaq 0x78f8(%rip), %rdi      # 0x30fc4
leaq 0x75f4(%rip), %rsi      # 0x30cc7
leaq 0x7878(%rip), %rcx      # 0x30f52
movl $0xcd, %edx
callq 0x31c0