LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SE.cpp
// Function: maxPreprocessor::Preprocessor::trySEgen(int, std::vector<int, std::allocator<int>>&)
void Preprocessor::trySEgen(int lit, vector<int>& toRemove) {
	if ((int)pi.litClauses[lit].size() <= 64) { // magic constant
		trySE(pi.litClauses[lit], toRemove);
	}
	else {
		int avg = 0;
		for (int c : pi.litClauses[lit]) {
			avg += pi.clauses[c].lit.size();
		}
		avg /= (int)pi.litClauses[lit].size();
		
		if (avg <= 10) { // magic constant
			trySEHash(pi.litClauses[lit], lit, toRemove);
		}
		else if (avg >= 30) { // magic constant
			trySEAmsLex(pi.litClauses[lit], toRemove);
		}
		else {
			if (avg * (int)pi.litClauses[lit].size() > 10000) { // magic constant
				trySEAmsLex(pi.litClauses[lit], toRemove);
			}
			else {
				trySEHash(pi.litClauses[lit], lit, toRemove);
			}
		}
	}
}

// Assembly:
movq %rdx, %rcx
movl %esi, %r8d
movslq %esi, %rax
movq 0x18(%rdi), %rdx
leaq (%rax,%rax,2), %rax
leaq (%rdx,%rax,8), %rsi
movq (%rsi), %rdx
movq 0x8(%rsi), %r10
movq %r10, %r9
subq %rdx, %r9
shrq $0x2, %r9
cmpl $0x41, %r9d
jge 0xc86a
movq %rcx, %rdx
jmp 0xc51e
pushq %r14
pushq %rbx
cmpq %r10, %rdx
je 0xc899
movq (%rdi), %r11
xorl %eax, %eax
movslq (%rdx), %rbx
leaq (%rbx,%rbx,4), %rbx
movq 0x8(%r11,%rbx,8), %r14
subq (%r11,%rbx,8), %r14
shrq $0x2, %r14
addl %r14d, %eax
addq $0x4, %rdx
cmpq %r10, %rdx
jne 0xc877
jmp 0xc89b
xorl %eax, %eax
cltd
idivl %r9d
cmpl $0xb, %eax
popq %rbx
popq %r14
jge 0xc8af
movl %r8d, %edx
jmp 0xbcb4
cmpl $0x1e, %eax
jge 0xc8bf
imull %r9d, %eax
cmpl $0x2711, %eax           # imm = 0x2711
jl 0xc8a7
movq %rcx, %rdx
jmp 0xc1b2
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SE.cpp
// Function: maxPreprocessor::Preprocessor::doSE2()
void Preprocessor::doSE2() {
	for (int lit = 0; lit < 2*pi.vars; lit++) {
		if (trySESlow(lit) != 0) {
			print("fail SE ", litToDimacs(lit));
			abort();
		}
	}
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
cmpl $0x0, 0x60(%rdi)
jle 0xcc49
movq %rdi, %rbx
xorl %ebp, %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0xba9e
testl %eax, %eax
jne 0xcc50
incl %ebp
movl 0x60(%rbx), %eax
addl %eax, %eax
cmpl %eax, %ebp
jl 0xcc30
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
movl %ebp, %edi
callq 0x284c3
leaq 0x2c80a(%rip), %rsi     # 0x39468
movq %rbx, %rdi
movl %eax, %edx
callq 0x1f71e
callq 0x3180
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BVE.cpp
// Function: maxPreprocessor::Preprocessor::getBVEHash(std::vector<int, std::allocator<int>> const&, int, int) const
vector<uint64_t> Preprocessor::getBVEHash(const vector<int>& cs, int var, int sw) const {
	vector<uint64_t> h(cs.size());
	for (unsigned i = 0; i < cs.size(); i++) {
		for (int l : pi.clauses[cs[i]].lit) {
			if (litVariable(l) != var) h[i] |= ((uint64_t)1<<(uint64_t)((l^sw)&63));
		}
	}
	return h;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %r8d, %ebx
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
movq 0x8(%rdx), %rsi
subq (%rdx), %rsi
sarq $0x2, %rsi
leaq 0xf(%rsp), %rdx
callq 0x1f784
movq (%r12), %rax
movq 0x8(%r12), %rdx
subq %rax, %rdx
je 0xccfd
sarq $0x2, %rdx
movq (%r15), %rsi
xorl %edi, %edi
movslq (%rax,%rdi,4), %rcx
leaq (%rcx,%rcx,4), %rcx
movq (%rsi,%rcx,8), %r8
movq 0x8(%rsi,%rcx,8), %r9
cmpq %r9, %r8
je 0xccf3
movq (%r14), %r10
movl (%r8), %ecx
movl %ecx, %r11d
sarl %r11d
cmpl %ebp, %r11d
je 0xccea
xorl %ebx, %ecx
movl $0x1, %r11d
shlq %cl, %r11
orq %r11, (%r10,%rdi,8)
addq $0x4, %r8
cmpq %r9, %r8
jne 0xcccd
incq %rdi
movl %edi, %ecx
cmpq %rcx, %rdx
ja 0xccb4
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BVE.cpp
// Function: maxPreprocessor::Preprocessor::doBVE2()
void Preprocessor::doBVE2() {
	for (int var = 0; var < pi.vars; var++) {
		if (pi.isLabel[var] == 0 && (pi.litClauses[posLit(var)].size() > 0 || pi.litClauses[negLit(var)].size() > 0)) {
			if (tryBVE(var) != 0) {
				print("fail BVE ", var + 1);
				abort();
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $0x0, 0x60(%rdi)
jle 0x1040a
movq %rdi, %rbx
movl $0x1, %ebp
xorl %r15d, %r15d
movabsq $0x200000000, %r12      # imm = 0x200000000
xorl %r14d, %r14d
movq 0x48(%rbx), %rax
cmpl $0x0, (%rax,%r14,4)
jne 0x103f8
movq %r15, %rcx
sarq $0x20, %rcx
movq 0x18(%rbx), %rax
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rax,%rcx,8), %rdx
cmpq (%rax,%rcx,8), %rdx
jne 0x103e9
movslq %ebp, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rax,%rcx,8), %rdx
cmpq (%rax,%rcx,8), %rdx
je 0x103f8
movq %rbx, %rdi
movl %r14d, %esi
callq 0xf7d6
testl %eax, %eax
jne 0x10413
incq %r14
movslq 0x60(%rbx), %rax
addl $0x2, %ebp
addq %r12, %r15
cmpq %rax, %r14
jl 0x103b2
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
incl %r14d
leaq 0x2938f(%rip), %rsi     # 0x397ac
movq %rbx, %rdi
movl %r14d, %edx
callq 0x1f71e
callq 0x3180
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SSR.cpp
// Function: maxPreprocessor::Preprocessor::SSRC(int, int, int)
bool Preprocessor::SSRC(int c1, int c2, int var) {
	uint64_t bmP = ((uint64_t)1 << (uint64_t)(posLit(var)&63));
	uint64_t bmN = ((uint64_t)1 << (uint64_t)(negLit(var)&63));
	
	bool canP = false;
	bool canN = false;
	
	if (((pi.clauses[c2].hash ^ bmN) | pi.clauses[c1].hash) == pi.clauses[c1].hash) canP = canSSR(var, pi.clauses[c2], pi.clauses[c1]);
	if (((pi.clauses[c1].hash ^ bmP) | pi.clauses[c2].hash) == pi.clauses[c2].hash) canN = canSSR(var, pi.clauses[c1], pi.clauses[c2]);
	if (pi.isClauseRemoved(c1)) return false;
	if (pi.isClauseRemoved(c2)) return false;
	if (canP && canN) {
		pi.removeLiteralFromClause(posLit(var), c1);
		pi.removeClause(c2);
		rLog.removeLiteral(1);
		rLog.removeClause(1);
		return true;
	}
	else if (canP) {
		pi.removeLiteralFromClause(posLit(var), c1);
		rLog.removeLiteral(1);
		return true;
	}
	else if (canN) {
		pi.removeLiteralFromClause(negLit(var), c2);
		rLog.removeLiteral(1);
		return true;
	}
	return false;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %ecx, %r13d
leal (%r13,%r13), %ecx
movl $0x1, %ebp
movl %ecx, 0x10(%rsp)
shlq %cl, %rbp
leal 0x1(,%r13,2), %r8d
movl %edx, 0xc(%rsp)
movslq %edx, %rax
movq %rdi, 0x18(%rsp)
movq (%rdi), %rcx
leaq (%rax,%rax,4), %rax
leaq (%rcx,%rax,8), %r15
movq 0x20(%r15), %r14
movq %r14, %rax
movq %r8, 0x20(%rsp)
btcq %r8, %rax
movl %esi, 0x14(%rsp)
movslq %esi, %rdx
leaq (%rdx,%rdx,4), %rdx
leaq (%rcx,%rdx,8), %r12
movq 0x20(%r12), %rbx
movq %rbx, %rcx
notq %rcx
testq %rax, %rcx
jne 0x10562
movl %r13d, %esi
movq %r15, %rdx
movq %r12, %rcx
callq 0x1042e
jmp 0x10564
xorl %eax, %eax
xorq %rbp, %rbx
notq %r14
testq %rbx, %r14
jne 0x10585
movl %eax, %r14d
movl %r13d, %esi
movq %r12, %rdx
movq %r15, %rcx
callq 0x1042e
movl %eax, %r15d
jmp 0x1058b
movl %eax, %r14d
xorl %r15d, %r15d
movq 0x18(%rsp), %rbx
movl 0x14(%rsp), %ebp
movq %rbx, %rdi
movl %ebp, %esi
callq 0x284dc
testb %al, %al
jne 0x105b2
movq %rbx, %rdi
movl 0xc(%rsp), %esi
callq 0x284dc
testb %al, %al
je 0x105b9
xorl %eax, %eax
jmp 0x10646
movl %r14d, %eax
andb %r15b, %al
cmpb $0x1, %al
jne 0x10605
movq %rbx, %rdi
movl 0x10(%rsp), %esi
movl %ebp, %edx
movl $0x1, %ecx
callq 0x28f40
movq %rbx, %rdi
movl 0xc(%rsp), %esi
callq 0x28c34
addq $0x218, %rbx            # imm = 0x218
movq %rbx, %rdi
movl $0x1, %esi
callq 0x299e8
movq %rbx, %rdi
movl $0x1, %esi
callq 0x29970
jmp 0x10644
testb %r14b, %r14b
je 0x10615
movq %rbx, %rdi
movl 0x10(%rsp), %esi
movl %ebp, %edx
jmp 0x10626
testb %r15b, %r15b
je 0x105b2
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
movl 0xc(%rsp), %edx
movl $0x1, %ecx
callq 0x28f40
addq $0x218, %rbx            # imm = 0x218
movq %rbx, %rdi
movl $0x1, %esi
callq 0x299e8
movb $0x1, %al
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SSR.cpp
// Function: maxPreprocessor::Preprocessor::trySSR2(int)
int Preprocessor::trySSR2(int var) {
	int removed = 0;
	
	uint64_t bmP = ((uint64_t)1 << (uint64_t)(posLit(var)&63));
	uint64_t bmN = ((uint64_t)1 << (uint64_t)(negLit(var)&63));
	
	bool f = true;
	while (f) {
		f = false;
		for (int c1 : pi.litClauses[posLit(var)]) {
			for (int c2 : pi.litClauses[negLit(var)]) {
				if ((((pi.clauses[c1].hash ^ bmP) | pi.clauses[c2].hash) != pi.clauses[c2].hash) && (((pi.clauses[c2].hash ^ bmN) | pi.clauses[c1].hash) != pi.clauses[c1].hash)) continue;
				
				if (SSRC(c1, c2, var)) {
					f = true;
					removed++;
					break;
				}
			}
			if (f) break;
		}
	}
	return removed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
leal (%rsi,%rsi), %eax
movl $0x1, %r12d
movl %eax, %ecx
shlq %cl, %r12
movq %rdi, %r14
movl $0x1, %edx
movq %rsi, 0x30(%rsp)
leal 0x1(,%rsi,2), %ecx
shlq %cl, %rdx
movq %rdx, 0x28(%rsp)
cltq
movslq %ecx, %rcx
movl $0x0, (%rsp)
leaq (%rax,%rax,2), %rax
movq %rax, 0x8(%rsp)
leaq (%rcx,%rcx,2), %rax
movq %rax, 0x10(%rsp)
movq 0x18(%r14), %rax
movq 0x8(%rsp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x8(%rax,%rcx,8), %rax
movq %rax, 0x18(%rsp)
cmpq %rax, %rdx
je 0x111dd
xorl %eax, %eax
movl %eax, 0x4(%rsp)
movq 0x18(%r14), %rax
movq 0x10(%rsp), %rcx
movq (%rax,%rcx,8), %r13
movq 0x8(%rax,%rcx,8), %rbx
cmpq %rbx, %r13
movq %rdx, 0x20(%rsp)
je 0x111bf
movslq (%rdx), %r15
leaq (%r15,%r15,4), %rbp
movslq (%r13), %rdx
movq (%r14), %rcx
movq 0x20(%rcx,%rbp,8), %rax
movq %rax, %rdi
xorq %r12, %rdi
leaq (%rdx,%rdx,4), %rsi
movq 0x20(%rcx,%rsi,8), %rsi
movq %rsi, %rcx
notq %rcx
testq %rdi, %rcx
je 0x11189
xorq 0x28(%rsp), %rsi
notq %rax
movl $0x7, %ecx
testq %rsi, %rax
jne 0x111ad
movq %r14, %rdi
movl %r15d, %esi
movq 0x30(%rsp), %rcx
callq 0x104e2
xorl %ecx, %ecx
testb %al, %al
je 0x111ad
incl (%rsp)
movb $0x1, %al
movl %eax, 0x4(%rsp)
movl $0x6, %ecx
cmpl $0x7, %ecx
je 0x111b6
testl %ecx, %ecx
jne 0x111bf
addq $0x4, %r13
cmpq %rbx, %r13
jne 0x11151
movl 0x4(%rsp), %eax
testb $0x1, %al
movq 0x20(%rsp), %rdx
jne 0x111df
addq $0x4, %rdx
cmpq 0x18(%rsp), %rdx
jne 0x1112a
jmp 0x111df
xorl %eax, %eax
testb $0x1, %al
jne 0x11108
movl (%rsp), %eax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SSR.cpp
// Function: maxPreprocessor::Preprocessor::trySSRgen(int)
int Preprocessor::trySSRgen(int var) {
	int eliminated = 0;
	if (pi.isLabel[var] == 0 && pi.litClauses[posLit(var)].size() > 0 && pi.litClauses[negLit(var)].size() > 0) {
		uint64_t n = (uint64_t)pi.litClauses[posLit(var)].size()*(uint64_t)pi.litClauses[negLit(var)].size();
		if (n <= 50000) { // magic constant
			eliminated += trySSR2(var);
		}
		else {
			int avg = 0;
			for (int c : pi.litClauses[posLit(var)]) {
				avg += pi.clauses[c].lit.size();
			}
			for (int c : pi.litClauses[negLit(var)]) {
				avg += pi.clauses[c].lit.size();
			}
			avg /= (int)(pi.litClauses[posLit(var)].size() + pi.litClauses[negLit(var)].size());
			
			if (avg <= 4) { // magic constant
				eliminated += trySSRHash(var);
			}
			else if (avg >= 8) { // magic constant
				eliminated += trySSRAmsLex(var);
			}
			else {
				if (avg * (int)(pi.litClauses[posLit(var)].size() + pi.litClauses[negLit(var)].size()) > 10000) { // magic constant
					eliminated += trySSRAmsLex(var);
				}
				else {
					eliminated += trySSRHash(var);
				}
			}
		}
	}
	return eliminated;
}

// Assembly:
movslq %esi, %rax
movq 0x48(%rdi), %rcx
cmpl $0x0, (%rcx,%rax,4)
je 0x1143e
xorl %eax, %eax
retq
leal (%rsi,%rsi), %ecx
movslq %ecx, %rdx
movq 0x18(%rdi), %rax
leaq (%rdx,%rdx,2), %rdx
movq (%rax,%rdx,8), %r10
movq 0x8(%rax,%rdx,8), %r11
movq %r11, %rdx
subq %r10, %rdx
je 0x1143b
orl $0x1, %ecx
movslq %ecx, %rcx
leaq (%rcx,%rcx,2), %rcx
movq (%rax,%rcx,8), %r8
movq 0x8(%rax,%rcx,8), %r9
movq %r9, %rcx
subq %r8, %rcx
je 0x1143b
sarq $0x2, %rdx
sarq $0x2, %rcx
movq %rcx, %rax
imulq %rdx, %rax
cmpq $0xc351, %rax           # imm = 0xC351
jae 0x11494
jmp 0x110b2
pushq %r15
pushq %r14
pushq %rbx
cmpq %r11, %r10
je 0x114c5
movq (%rdi), %rbx
xorl %eax, %eax
movslq (%r10), %r14
leaq (%r14,%r14,4), %r14
movq 0x8(%rbx,%r14,8), %r15
subq (%rbx,%r14,8), %r15
shrq $0x2, %r15
addl %r15d, %eax
addq $0x4, %r10
cmpq %r11, %r10
jne 0x114a3
jmp 0x114c7
xorl %eax, %eax
cmpq %r9, %r8
je 0x114ee
movq (%rdi), %r10
movslq (%r8), %r11
leaq (%r11,%r11,4), %r11
movq 0x8(%r10,%r11,8), %rbx
subq (%r10,%r11,8), %rbx
shrq $0x2, %rbx
addl %ebx, %eax
addq $0x4, %r8
cmpq %r9, %r8
jne 0x114cf
addl %edx, %ecx
cltd
idivl %ecx
cmpl $0x5, %eax
popq %rbx
popq %r14
popq %r15
jge 0x11502
jmp 0x109c6
cmpl $0x8, %eax
jge 0x11511
imull %ecx, %eax
cmpl $0x2711, %eax           # imm = 0x2711
jl 0x114fd
jmp 0x10656
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SSR.cpp
// Function: maxPreprocessor::Preprocessor::doSSR2()
void Preprocessor::doSSR2() {
	for (int var = 0; var < pi.vars; var++) {
		if (pi.isLabel[var] == 0 && pi.litClauses[posLit(var)].size() > 0 && pi.litClauses[negLit(var)].size() > 0) {
			if (trySSR(var) != 0){
				print("fail SSR ", var + 1);
				abort();
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $0x0, 0x60(%rdi)
jle 0x11872
movq %rdi, %rbx
movl $0x1, %ebp
xorl %r15d, %r15d
movabsq $0x200000000, %r12      # imm = 0x200000000
xorl %r14d, %r14d
movq 0x48(%rbx), %rax
cmpl $0x0, (%rax,%r14,4)
je 0x1181d
incq %r14
movslq 0x60(%rbx), %rax
addl $0x2, %ebp
addq %r12, %r15
cmpq %rax, %r14
jl 0x117fe
jmp 0x11872
movq %r15, %rcx
sarq $0x20, %rcx
movq 0x18(%rbx), %rax
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rax,%rcx,8), %rdx
cmpq (%rax,%rcx,8), %rdx
je 0x11809
movslq %ebp, %rcx
leaq (%rcx,%rcx,2), %rcx
movq 0x8(%rax,%rcx,8), %rdx
cmpq (%rax,%rcx,8), %rdx
je 0x11809
movq %rbx, %rdi
movl %r14d, %esi
callq 0x111fa
testl %eax, %eax
je 0x11809
incl %r14d
leaq 0x27f73(%rip), %rsi     # 0x397d5
movq %rbx, %rdi
movl %r14d, %edx
callq 0x1f71e
callq 0x3180
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SLE.cpp
// Function: maxPreprocessor::Preprocessor::doSLE2()
void Preprocessor::doSLE2() {
	vector<int> lbs;
	for (int var = 0; var < pi.vars; var++) {
		if (pi.isLabel[var] != VAR_UNDEFINED && !pi.isVarRemoved(var)) {
			lbs.push_back(var);
		}
	}
	for (int lb1 : lbs) {
		for (int lb2 : lbs) {
			if (lb1 != lb2 && !pi.isVarRemoved(lb1) && !pi.isVarRemoved(lb2)) {
				if (trySLESlow(lb1, lb2)) {
					print("fail SLE");
					print(lb1 + 1, " ", lb2 + 1);
					abort();
				}
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movl $0x0, 0xc(%rsp)
cmpl $0x0, 0x60(%rdi)
jle 0x126ea
xorl %esi, %esi
leaq 0x10(%rsp), %r14
leaq 0xc(%rsp), %r15
movslq %esi, %rax
movq 0x48(%rbx), %rcx
cmpl $0x0, (%rcx,%rax,4)
je 0x126db
movq %rbx, %rdi
callq 0x2859c
testb %al, %al
jne 0x126db
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x126d0
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x126db
movq %r14, %rdi
movq %r15, %rdx
callq 0x98e8
movl 0xc(%rsp), %esi
incl %esi
movl %esi, 0xc(%rsp)
cmpl 0x60(%rbx), %esi
jl 0x1269a
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %rax
movq %rax, 0x30(%rsp)
cmpq %rax, %r15
je 0x1275b
movq 0x10(%rsp), %r13
movq 0x18(%rsp), %r12
cmpq %r12, %r13
je 0x12750
movl (%r15), %ebp
movl (%r13), %r14d
cmpl %r14d, %ebp
je 0x12747
movq %rbx, %rdi
movl %ebp, %esi
callq 0x2859c
testb %al, %al
jne 0x12747
movq %rbx, %rdi
movl %r14d, %esi
callq 0x2859c
testb %al, %al
jne 0x12747
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x11ece
testl %eax, %eax
jne 0x12781
addq $0x4, %r13
cmpq %r12, %r13
jne 0x12710
addq $0x4, %r15
cmpq 0x30(%rsp), %r15
jne 0x126fe
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x12772
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2715e(%rip), %rsi     # 0x398e6
movq %rbx, %rdi
callq 0x1fc9e
incl %ebp
incl %r14d
leaq 0x27a28(%rip), %rdx     # 0x3a1c4
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %ecx
callq 0x1fd1a
callq 0x3180
jmp 0x127b2
jmp 0x127b2
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x127cc
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SIE.cpp
// Function: maxPreprocessor::Preprocessor::doSIE()
int Preprocessor::doSIE() {
	rLog.startTechnique(Log::Technique::SIE);
	int removed = 0;
	vector<int> checkLit = pi.tl.getTouchedLiterals("SIE");
	for (int lit : checkLit) {
		removed += trySIE(lit);
	}
	log(removed, " clauses removed by SIE");
	rLog.stopTechnique(Log::Technique::SIE);
	return removed;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %r14
leaq 0x218(%rdi), %rbx
movq %rbx, %rdi
movl $0x8, %esi
callq 0x298e6
leaq 0x30(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x25d79(%rip), %rsi     # 0x39b8b
leaq 0x25d75(%rip), %rdx     # 0x39b8e
leaq 0x20(%rsp), %r15
movq %r15, %rdi
callq 0x945c
leaq 0x68(%r14), %rsi
leaq 0x8(%rsp), %rdi
movq %r15, %rdx
callq 0x306be
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x13e4e
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x8(%rsp), %r15
movq 0x10(%rsp), %r12
xorl %ebp, %ebp
cmpq %r12, %r15
je 0x13e72
movl (%r15), %esi
movq %r14, %rdi
callq 0x13918
addl %eax, %ebp
addq $0x4, %r15
jmp 0x13e5a
leaq 0x25cfe(%rip), %rdx     # 0x39b77
movq %r14, %rdi
movl %ebp, %esi
callq 0x1f426
movq %rbx, %rdi
movl $0x8, %esi
callq 0x29928
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x13ea7
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movl %ebp, %eax
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r12, %rdi
je 0x13ee9
movq 0x30(%rsp), %rsi
incq %rsi
jmp 0x13ee4
jmp 0x13ecf
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x13ee9
movq 0x18(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./SIE.cpp
// Function: maxPreprocessor::Preprocessor::doSIE2()
void Preprocessor::doSIE2() {
	for (int litX = 0; litX < pi.vars*2; litX++) {
		for (int litY = 0; litY < pi.vars*2; litY++) {
			if (litVariable(litX) != litVariable(litY) && pi.isLabel[litVariable(litX)] == VAR_UNDEFINED && pi.isLabel[litVariable(litY)] == VAR_UNDEFINED) {
				if (!pi.isVarRemoved(litVariable(litX)) && !pi.isVarRemoved(litVariable(litY))) {
					if (try2SIE(litX, litY)) {
						print("fail SIE ", litToDimacs(litX), " ", litToDimacs(litY));
						print("fail SIE ");
						abort();
					}
				}
			}
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
cmpl $0x0, 0x60(%rdi)
jle 0x13f7a
movq %rdi, %rbx
xorl %ebp, %ebp
cmpl $0x0, 0x60(%rbx)
jle 0x13f6f
movl %ebp, %r15d
shrl %r15d
xorl %r14d, %r14d
movl %r14d, %r12d
shrl %r12d
cmpl %r12d, %r15d
je 0x13f62
movq 0x48(%rbx), %rax
cmpl $0x0, (%rax,%r15,4)
jne 0x13f62
movl %r12d, %ecx
cmpl $0x0, (%rax,%rcx,4)
jne 0x13f62
movq %rbx, %rdi
movl %r15d, %esi
callq 0x2859c
testb %al, %al
jne 0x13f62
movq %rbx, %rdi
movl %r12d, %esi
callq 0x2859c
testb %al, %al
jne 0x13f62
movq %rbx, %rdi
movl %ebp, %esi
movl %r14d, %edx
callq 0x136ea
testl %eax, %eax
jne 0x13f83
incl %r14d
movl 0x60(%rbx), %eax
addl %eax, %eax
cmpl %eax, %r14d
jl 0x13f14
incl %ebp
movl 0x60(%rbx), %eax
addl %eax, %eax
cmpl %eax, %ebp
jl 0x13f05
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movl %ebp, %edi
callq 0x284c3
movl %eax, %ebp
movl %r14d, %edi
callq 0x284c3
leaq 0x25bf4(%rip), %r14     # 0x39b8f
leaq 0x26222(%rip), %rcx     # 0x3a1c4
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
movl %eax, %r8d
callq 0x1fde6
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1fc9e
callq 0x3180
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BIG.cpp
// Function: maxPreprocessor::Preprocessor::BIGdfs2(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, int, std::vector<int, std::allocator<int>>&)
void Preprocessor::BIGdfs2(vector<vector<int> >& g, int x, vector<int>& ns) {
	stack<pair<int, int>, vector<pair<int, int> >  > dfs;
	dfs.push({x, 0});
	while (!dfs.empty()) {
		int v = dfs.top().F;
		int ci = dfs.top().S;
		dfs.pop();
		if (ci == 0 && BIGu2[v] == 1) continue;
		BIGu2[v] = 1;
		if (ci >= (int)g[v].size()) {
			ns.push_back(v);
		}
		else {
			dfs.push({v, ci + 1});
			dfs.push({g[v][ci], 0});
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x8(%rsp), %rsi
movl %edx, (%rsi)
movl $0x0, 0x4(%rsi)
callq 0x23a38
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x14394
leaq 0x10(%rsp), %r12
leaq 0x8(%rsp), %r13
leaq -0x8(%rax), %rdx
movslq -0x8(%rax), %rcx
movl %ecx, 0x4(%rsp)
movslq -0x4(%rax), %rbp
movq %rdx, 0x18(%rsp)
testq %rbp, %rbp
jne 0x142f1
movq 0x3c8(%r15), %rax
cmpl $0x1, (%rax,%rcx,4)
je 0x14381
movq 0x3c8(%r15), %rax
movl $0x1, (%rax,%rcx,4)
movslq 0x4(%rsp), %rax
movq (%r14), %rcx
leaq (%rax,%rax,2), %rdx
movq 0x8(%rcx,%rdx,8), %rsi
subq (%rcx,%rdx,8), %rsi
shrq $0x2, %rsi
cmpl %esi, %ebp
jge 0x1435e
leal 0x1(%rbp), %ecx
movl %eax, 0x8(%rsp)
movl %ecx, 0xc(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x23a38
movslq 0x4(%rsp), %rax
movq (%r14), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rax
movl (%rax,%rbp,4), %eax
movl %eax, 0x8(%rsp)
movl $0x0, 0xc(%rsp)
movq %r12, %rdi
movq %r13, %rsi
callq 0x23a38
jmp 0x14381
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x14374
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x14381
movq %rbx, %rdi
leaq 0x4(%rsp), %rdx
callq 0x98e8
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x142c6
testq %rdi, %rdi
je 0x143a6
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x143bb
jmp 0x143bb
jmp 0x143bb
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x143d5
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BIG.cpp
// Function: maxPreprocessor::Preprocessor::BIGdfs3(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, int, std::vector<int, std::allocator<int>>&)
void Preprocessor::BIGdfs3(vector<vector<int> >& rg, int x, vector<int>& scc) {
	stack<pair<int, int>, vector<pair<int, int> > > dfs;
	dfs.push({x, 0});
	while (!dfs.empty()) {
		int v = dfs.top().F;
		int ci = dfs.top().S;
		dfs.pop();
		if (ci == 0 && BIGu2[v] == 2) continue;
		BIGu2[v] = 2;
		if (ci == 0) scc.push_back(v);
		if (ci < (int)rg[v].size()) {
			dfs.push({v, ci + 1});
			dfs.push({rg[v][ci], 0});
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rcx, %rbx
movq %rsi, %r14
movq %rdi, %r15
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %rdi
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
leaq 0x8(%rsp), %rsi
movl %edx, (%rsi)
movl $0x0, 0x4(%rsi)
callq 0x23a38
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x1451b
leaq 0x10(%rsp), %r13
leaq 0x8(%rsp), %rbp
leaq -0x8(%rax), %rdx
movslq -0x8(%rax), %rcx
movl %ecx, 0x4(%rsp)
movslq -0x4(%rax), %r12
movq %rdx, 0x18(%rsp)
testq %r12, %r12
je 0x144c3
movq 0x3c8(%r15), %rax
movl $0x2, (%rax,%rcx,4)
movslq 0x4(%rsp), %rax
movq (%r14), %rcx
leaq (%rax,%rax,2), %rdx
movq 0x8(%rcx,%rdx,8), %rsi
subq (%rcx,%rdx,8), %rsi
shrq $0x2, %rsi
cmpl %esi, %r12d
jge 0x144d0
leal 0x1(%r12), %ecx
movl %eax, 0x8(%rsp)
movl %ecx, 0xc(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x23a38
movslq 0x4(%rsp), %rax
movq (%r14), %rcx
leaq (%rax,%rax,2), %rax
movq (%rcx,%rax,8), %rax
movl (%rax,%r12,4), %eax
movl %eax, 0x8(%rsp)
movl $0x0, 0xc(%rsp)
movq %r13, %rdi
movq %rbp, %rsi
callq 0x23a38
jmp 0x144d0
movq 0x3c8(%r15), %rax
cmpl $0x2, (%rax,%rcx,4)
jne 0x144e5
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
cmpq %rax, %rdi
jne 0x14438
jmp 0x1451b
movl $0x2, (%rax,%rcx,4)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x14509
movl 0x4(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x14460
movq %rbx, %rdi
leaq 0x4(%rsp), %rdx
callq 0x98e8
jmp 0x14460
testq %rdi, %rdi
je 0x1452d
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x14542
jmp 0x14542
jmp 0x14542
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1455c
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BIG.cpp
// Function: maxPreprocessor::Preprocessor::doBIG2(bool)
void Preprocessor::doBIG2(bool doTC) {
	BIGIt++;
	rLog.startTechnique(Log::Technique::EE);
	if ((int)BIGu.size() < 2*pi.vars) BIGu.resize(2*pi.vars);
	if ((int)BIGu2.size() < 2*pi.vars) BIGu2.resize(2*pi.vars);
	if ((int)BIGid.size() < 2*pi.vars) BIGid.resize(2*pi.vars);
	for (int lit = 0; lit < 2*pi.vars; lit++) {
		if (BIGu[lit] == BIGIt || pi.isLabel[litVariable(lit)]) continue;
		if (tryBIG(lit, doTC)) {
			print("fail BIG ", litToDimacs(lit));
			abort();
		}
	}
	rLog.stopTechnique(Log::Technique::EE);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
incl 0x3ac(%rdi)
leaq 0x218(%rdi), %r14
movq %r14, %rdi
movl $0x9, %esi
callq 0x298e6
movq 0x3b8(%rbx), %rax
subq 0x3b0(%rbx), %rax
shrq $0x2, %rax
movslq 0x60(%rbx), %rsi
addq %rsi, %rsi
cmpl %eax, %esi
jle 0x165f7
leaq 0x3b0(%rbx), %rdi
callq 0x8cbc
movq 0x3d0(%rbx), %rax
subq 0x3c8(%rbx), %rax
shrq $0x2, %rax
movslq 0x60(%rbx), %rsi
addq %rsi, %rsi
cmpl %eax, %esi
jle 0x16620
leaq 0x3c8(%rbx), %rdi
callq 0x8cbc
movq 0x3e8(%rbx), %rax
subq 0x3e0(%rbx), %rax
shrq $0x2, %rax
movslq 0x60(%rbx), %rsi
addq %rsi, %rsi
cmpl %eax, %esi
jle 0x16649
leaq 0x3e0(%rbx), %rdi
callq 0x8cbc
cmpl $0x0, 0x60(%rbx)
jle 0x16698
xorl %r15d, %r15d
movzbl %bpl, %ebp
movq 0x3b0(%rbx), %rax
movl (%rax,%r15,4), %eax
cmpl 0x3ac(%rbx), %eax
je 0x16689
movl %r15d, %eax
shrl %eax
movq 0x48(%rbx), %rcx
cmpl $0x0, (%rcx,%rax,4)
jne 0x16689
movq %rbx, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0x14b6a
testl %eax, %eax
jne 0x166af
incq %r15
movslq 0x60(%rbx), %rax
addq %rax, %rax
cmpq %rax, %r15
jl 0x16656
movq %r14, %rdi
movl $0x9, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x29928
movl %r15d, %edi
callq 0x284c3
leaq 0x23609(%rip), %rsi     # 0x39cc7
movq %rbx, %rdi
movl %eax, %edx
callq 0x1f71e
callq 0x3180
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BVA.cpp
// Function: maxPreprocessor::Preprocessor::addBVAHash(std::vector<int, std::allocator<int>>&, std::unordered_map<unsigned long, int, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, int>>>&)
void Preprocessor::addBVAHash(vector<int>& lits, unordered_map<uint64_t, int>& hashes) {
	if (lits.size() <= 1) return;
	if (sfH.size() < lits.size() + 1) sfH.resize(lits.size() + 1);
	if (tMul.size() < lits.size() + 1) tMul.resize(lits.size() + 1);
	tMul[lits.size()] = 1;
	sfH[lits.size()] = 0;
	uint64_t mul = 1;
	for (int i = (int)lits.size() - 1; i >= 0; i--) {
		sfH[i] = sfH[i + 1];
		sfH[i] += mul * (uint64_t)lits[i];
		mul *= polyHashMul;
		tMul[i] = mul;
	}
	hashes[sfH[1]]++;
	uint64_t preH = 0;
	for (int i = 0; i < (int)lits.size() - 1; i++) {
		preH *= polyHashMul;
		preH += (uint64_t)lits[i];
		uint64_t mHash = preH * tMul[i + 2] + sfH[i + 2];
		hashes[mHash]++;
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq 0x8(%rsi), %rsi
subq (%r14), %rsi
sarq $0x2, %rsi
cmpq $0x2, %rsi
jb 0x16865
movq %rdx, %r10
movq %rdi, %r15
movq 0x408(%rdi), %rax
subq 0x400(%rdi), %rax
leaq 0x400(%rdi), %r12
sarq $0x3, %rax
incq %rsi
cmpq %rsi, %rax
movq %rdx, 0x8(%rsp)
jae 0x1672d
movq %r12, %rdi
callq 0x2009e
movq 0x8(%rsp), %r10
movq 0x420(%r15), %rax
subq 0x418(%r15), %rax
leaq 0x418(%r15), %r13
movq 0x8(%r14), %rsi
subq (%r14), %rsi
sarq $0x3, %rax
sarq $0x2, %rsi
incq %rsi
cmpq %rsi, %rax
jae 0x16766
movq %r13, %rdi
callq 0x2009e
movq 0x8(%rsp), %r10
movq (%r14), %rax
movq 0x8(%r14), %rdx
subq %rax, %rdx
movq (%r13), %rcx
movq $0x1, (%rcx,%rdx,2)
movq (%r12), %rsi
movq $0x0, (%rsi,%rdx,2)
sarq $0x2, %rdx
testl %edx, %edx
jle 0x167cf
andl $0x7fffffff, %edx       # imm = 0x7FFFFFFF
incq %rdx
movl $0x1, %edi
movq -0x8(%rsi,%rdx,8), %r8
movq %r8, -0x10(%rsi,%rdx,8)
movslq -0x8(%rax,%rdx,4), %r9
imulq %rdi, %r9
addq %r8, %r9
movq %r9, -0x10(%rsi,%rdx,8)
imulq 0x328(%r15), %rdi
movq %rdi, -0x10(%rcx,%rdx,8)
decq %rdx
cmpq $0x1, %rdx
jg 0x1679e
addq $0x8, %rsi
movq %r10, %rdi
callq 0x241d6
movq 0x8(%rsp), %rdi
incl (%rax)
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shrq $0x2, %rcx
cmpl $0x2, %ecx
jl 0x16865
xorl %r13d, %r13d
leaq 0x10(%rsp), %r12
movabsq $-0x100000000, %rbp     # imm = 0xFFFFFFFF00000000
xorl %ebx, %ebx
imulq 0x328(%r15), %rbx
movslq (%rax,%r13,4), %rax
addq %rax, %rbx
movq 0x400(%r15), %rax
movq 0x418(%r15), %rcx
movq 0x10(%rcx,%r13,8), %rcx
imulq %rbx, %rcx
addq 0x10(%rax,%r13,8), %rcx
movq %rcx, 0x10(%rsp)
movq %r12, %rsi
callq 0x241d6
movq 0x8(%rsp), %rdi
incl (%rax)
incq %r13
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
shlq $0x1e, %rcx
addq %rbp, %rcx
sarq $0x20, %rcx
cmpq %rcx, %r13
jl 0x16809
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BVA.cpp
// Function: maxPreprocessor::Preprocessor::canBVA(int, int, int)
int Preprocessor::canBVA(int c, int d, int lit) {
	if (pi.clauses[d].lit.size() != pi.clauses[c].lit.size()) return -1;
	int hc = -1;
	int hd = -1;
	unsigned i1 = 0;
	unsigned i2 = 0;
	while (i1 < pi.clauses[c].lit.size() || i2 < pi.clauses[d].lit.size()) {
		if (i1 < pi.clauses[c].lit.size() && i2 < pi.clauses[d].lit.size() && pi.clauses[c].lit[i1] == pi.clauses[d].lit[i2]) {
			i1++;
			i2++;
		}
		else if (i1 < pi.clauses[c].lit.size() && (i2 == pi.clauses[d].lit.size() || pi.clauses[d].lit[i2] > pi.clauses[c].lit[i1])) {
			if (hc != -1) {
				return -1;
			}
			hc = pi.clauses[c].lit[i1];
			if (hc != lit) {
				return -1;
			}
			i1++;
		}
		else if (i2 < pi.clauses[d].lit.size() && (i1 == pi.clauses[c].lit.size() || pi.clauses[c].lit[i1] > pi.clauses[d].lit[i2])) {
			if (hd != -1) {
				return -1;
			}
			hd = pi.clauses[d].lit[i2];
			i2++;
		}
	}
	return hd;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
movslq %edx, %rax
movq (%rdi), %r8
leaq (%rax,%rax,4), %rax
movq (%r8,%rax,8), %rdx
movq 0x8(%r8,%rax,8), %r9
movq %r9, %rdi
subq %rdx, %rdi
sarq $0x2, %rdi
movslq %esi, %rax
leaq (%rax,%rax,4), %rax
movq (%r8,%rax,8), %rsi
movq 0x8(%r8,%rax,8), %r10
movq %r10, %r8
subq %rsi, %r8
sarq $0x2, %r8
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpq %r8, %rdi
jne 0x1696f
cmpq %rsi, %r10
setne %bpl
xorq %rsi, %r10
xorq %rdx, %r9
orq %r10, %r9
je 0x1696f
movl $0xffffffff, %r9d       # imm = 0xFFFFFFFF
xorl %r14d, %r14d
xorl %r10d, %r10d
xorl %r11d, %r11d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %r10d, %eax
testb $0x1, %bpl
je 0x16931
cmpq %rax, %rdi
jbe 0x16906
movl (%rsi,%r14,4), %r15d
cmpl (%rdx,%rax,4), %r15d
jne 0x16906
incl %r11d
jmp 0x1694e
testb $0x1, %bpl
je 0x16931
cmpq %rax, %rdi
je 0x1691a
movl (%rdx,%rax,4), %ebp
cmpl (%rsi,%r14,4), %ebp
jle 0x16931
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
cmpl $-0x1, %ebx
jne 0x1696f
movl (%rsi,%r14,4), %ebx
cmpl %ecx, %ebx
jne 0x1696f
incl %r11d
jmp 0x16951
cmpq %rax, %rdi
jbe 0x16951
cmpq %r14, %r8
je 0x16944
movl (%rsi,%r14,4), %ebp
cmpl (%rdx,%rax,4), %ebp
jle 0x16951
cmpl $-0x1, %r9d
jne 0x1696a
movl (%rdx,%rax,4), %r9d
incl %r10d
movl %r11d, %r14d
cmpq %r14, %r8
seta %bpl
ja 0x168e9
movl %r10d, %r15d
movl %r9d, %eax
cmpq %r15, %rdi
ja 0x168e9
jmp 0x1696f
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./BVA.cpp
// Function: maxPreprocessor::Preprocessor::doBVA2()
void Preprocessor::doBVA2() {
	rLog.startTechnique(Log::Technique::BVA);
	unordered_map<uint64_t, int> hashes;
	for (int lit = 0; lit < 2*pi.vars; lit++) {
		if (tryBVA(lit, hashes)) {
			if (pi.litClauses[lit].size() < 2) continue;
			print("fail BVA ", litToDimacs(lit));
			abort();
		}
	}
	rLog.stopTechnique(Log::Technique::BVA);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
leaq 0x218(%rdi), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x298e6
leaq 0x38(%rsp), %rax
movq %rax, -0x30(%rax)
movq $0x1, -0x28(%rax)
xorps %xmm0, %xmm0
movups %xmm0, -0x20(%rax)
movl $0x3f800000, -0x10(%rax) # imm = 0x3F800000
movups %xmm0, -0x8(%rax)
cmpl $0x0, 0x60(%rbx)
jle 0x17f55
movl $0x8, %r13d
xorl %r15d, %r15d
leaq 0x8(%rsp), %r12
movq %rbx, %rdi
movl %r15d, %esi
movq %r12, %rdx
callq 0x16976
testl %eax, %eax
je 0x17f42
movq 0x18(%rbx), %rax
movq (%rax,%r13), %rcx
subq -0x8(%rax,%r13), %rcx
cmpq $0x5, %rcx
jae 0x17f7a
incq %r15
movslq 0x60(%rbx), %rax
addq %rax, %rax
addq $0x18, %r13
cmpq %rax, %r15
jl 0x17f1d
movq %r14, %rdi
movl $0xa, %esi
callq 0x29928
leaq 0x8(%rsp), %rdi
callq 0x91b6
addq $0x40, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movl %r15d, %edi
callq 0x284c3
leaq 0x21f1a(%rip), %rsi     # 0x39ea3
movq %rbx, %rdi
movl %eax, %edx
callq 0x1f71e
callq 0x3180
jmp 0x17f9c
jmp 0x17f9c
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x91b6
movq %rbx, %rdi
callq 0x34a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./GSLE.cpp
// Function: maxPreprocessor::Preprocessor::GSLEBT(int, unsigned long, std::vector<int, std::allocator<int>>&, std::vector<unsigned long, std::allocator<unsigned long>>&, std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, bool&, unsigned long&)
void Preprocessor::GSLEBT(int i, uint64_t w, vector<int>& sel, vector<uint64_t>& weights, vector<vector<int> >& hs, bool& found, uint64_t& itLim) {
	if (i == (int)hs.size()) {
		found = true;
		return;
	}
	if (itLim == 0) {
		return;
	}
	itLim--;
	bool f = false;
	for (int l : hs[i]) {
		if (sel[l]) {
			f = true;
			break;
		}
	}
	if (f) {
		GSLEBT(i + 1, w, sel, weights, hs, found, itLim);
	}
	else {
		for (int l : hs[i]) {
			if (weights[l] > w) continue;
			sel[l] = 1;
			GSLEBT(i + 1, w - weights[l], sel, weights, hs, found, itLim);
			sel[l] = 0;
		}
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r15
movq %rdx, %r11
movq %rdi, 0x10(%rsp)
movq 0x58(%rsp), %rbp
movl $0x1, %eax
movq (%r15), %rdi
movq 0x8(%r15), %rdx
subq %rdi, %rdx
shrq $0x3, %rdx
imull $0xaaaaaaab, %edx, %edx # imm = 0xAAAAAAAB
cmpl %esi, %edx
je 0x180bb
movq (%rbp), %rdx
testq %rdx, %rdx
je 0x180c3
decq %rdx
movq %rdx, (%rbp)
movslq %esi, %rdx
leaq (%rdx,%rdx,2), %rdx
movq (%rdi,%rdx,8), %r12
movq 0x8(%rdi,%rdx,8), %r13
cmpq %r13, %r12
je 0x1804a
movq (%rcx), %r10
leaq 0x4(%r12), %rbx
xorl %edx, %edx
movslq -0x4(%rbx), %rdi
cmpl $0x0, (%r10,%rdi,4)
movzbl %dl, %edx
cmovnel %eax, %edx
jne 0x18041
leaq 0x4(%rbx), %rdi
cmpq %r13, %rbx
movq %rdi, %rbx
jne 0x18024
testb $0x1, %dl
je 0x1804a
incl %esi
jmp 0x17fd5
cmpq %r13, %r12
je 0x180c3
incl %esi
movq %rcx, 0x8(%rsp)
movl %esi, 0x4(%rsp)
movslq (%r12), %r14
movq (%r8), %rax
movq %r11, %rdx
subq (%rax,%r14,8), %rdx
jb 0x180b0
movq (%rcx), %rax
movl $0x1, (%rax,%r14,4)
movq 0x10(%rsp), %rdi
movq %r8, %rbx
movq %r15, %r9
pushq %rbp
pushq 0x58(%rsp)
movq %r11, %rbp
callq 0x17fb2
movq %rbp, %r11
movq 0x68(%rsp), %rbp
movq 0x18(%rsp), %rcx
movq %rbx, %r8
movl 0x14(%rsp), %esi
addq $0x10, %rsp
movq (%rcx), %rax
movl $0x0, (%rax,%r14,4)
addq $0x4, %r12
cmpq %r13, %r12
jne 0x1805a
jmp 0x180c3
movq 0x50(%rsp), %rax
movb $0x1, (%rax)
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./GSLE.cpp
// Function: maxPreprocessor::Preprocessor::GSLEtryBackTrack(std::vector<std::vector<int, std::allocator<int>>, std::allocator<std::vector<int, std::allocator<int>>>>&, std::vector<unsigned long, std::allocator<unsigned long>>&, unsigned long, unsigned long)
bool Preprocessor::GSLEtryBackTrack(vector<vector<int> >& hs, vector<uint64_t>& weights, uint64_t w, uint64_t itLim) {
	if (hs.size() == 0) return true;
	bool found = false;
	vector<int> sel(weights.size());
	found = false;
	int tries = 10; // magic constant
	for (int l : hs[0]) {
		if (weights[l] > w) continue;
		uint64_t lm = itLim;
		sel[l] = 1;
		GSLEBT(1, w - weights[l], sel, weights, hs, found, lm);
		sel[l] = 0;
		if (found) break;
		tries--;
		if (tries < 0) break;
	}
	return found;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, 0x28(%rsp)
movq %rdi, 0x20(%rsp)
movq 0x8(%rsi), %rax
cmpq (%rsi), %rax
je 0x18200
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
xorl %ebx, %ebx
movb %bl, 0xf(%rsp)
movq 0x8(%rdx), %rsi
subq (%rdx), %rsi
sarq $0x3, %rsi
leaq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rdx
callq 0x8c32
movb %bl, 0xf(%rsp)
movq %r12, 0x18(%rsp)
movq (%r12), %rax
movq (%rax), %rbp
movq 0x8(%rax), %rbx
cmpq %rbx, %rbp
je 0x181e3
movl $0xa, %r13d
movslq (%rbp), %r12
movq (%r15), %rcx
movl $0x3, %eax
cmpq %r14, (%rcx,%r12,8)
ja 0x181cd
movq 0x28(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x30(%rsp), %rax
movl $0x1, (%rax,%r12,4)
movq %r14, %rdx
subq (%rcx,%r12,8), %rdx
movq 0x20(%rsp), %rdi
movl $0x1, %esi
leaq 0x30(%rsp), %rcx
movq %r15, %r8
movq 0x18(%rsp), %r9
leaq 0x10(%rsp), %rax
pushq %rax
leaq 0x17(%rsp), %rax
pushq %rax
callq 0x17fb2
addq $0x10, %rsp
movq 0x30(%rsp), %rax
movl $0x0, (%rax,%r12,4)
movzbl 0xf(%rsp), %ecx
xorl %eax, %eax
testl %r13d, %r13d
setle %al
addl %eax, %eax
movl %ecx, %edx
xorl $0x1, %edx
subl %edx, %r13d
testl %ecx, %ecx
movl $0x2, %ecx
cmovnel %ecx, %eax
cmpl $0x3, %eax
je 0x181d6
testl %eax, %eax
jne 0x181e3
addq $0x4, %rbp
cmpq %rbx, %rbp
jne 0x18143
movb 0xf(%rsp), %bl
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x18202
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
jmp 0x18202
movb $0x1, %bl
movl %ebx, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./GSLE.cpp
// Function: maxPreprocessor::Preprocessor::doGSLE2()
void Preprocessor::doGSLE2() {
	vector<int> lbs;
	for (int var = 0; var < pi.vars; var++) {
		if (pi.isLabel[var] != VAR_UNDEFINED && !pi.isVarRemoved(var)) {
			lbs.push_back(var);
		}
	}
	for (int var : lbs) {
		if (pi.isLabel[var] == VAR_TRUE) {
			if (tryGSLE(negLit(var))) {
				print("fail GSLE");
				print(var + 1);
				abort();
			}
		}
		else {
			if (tryGSLE(posLit(var))) {
				print("fail GSLE");
				print(var + 1);
				abort();
			}
		}
	}
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movl $0x0, 0xc(%rsp)
cmpl $0x0, 0x60(%rdi)
jle 0x18f85
xorl %esi, %esi
leaq 0x10(%rsp), %r14
leaq 0xc(%rsp), %r15
movslq %esi, %rax
movq 0x48(%rbx), %rcx
cmpl $0x0, (%rcx,%rax,4)
je 0x18f76
movq %rbx, %rdi
callq 0x2859c
testb %al, %al
jne 0x18f76
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x18f6b
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x18(%rsp)
jmp 0x18f76
movq %r14, %rdi
movq %r15, %rdx
callq 0x98e8
movl 0xc(%rsp), %esi
incl %esi
movl %esi, 0xc(%rsp)
cmpl 0x60(%rbx), %esi
jl 0x18f35
movq 0x10(%rsp), %r15
movq 0x18(%rsp), %r12
cmpq %r12, %r15
je 0x18fc9
movslq (%r15), %r14
movq 0x48(%rbx), %rax
leal (%r14,%r14), %esi
cmpl $0x1, (%rax,%r14,4)
jne 0x18fb7
orl $0x1, %esi
movq %rbx, %rdi
callq 0x18214
testl %eax, %eax
je 0x18fc3
jmp 0x18fec
movq %rbx, %rdi
callq 0x18214
testl %eax, %eax
jne 0x19009
addq $0x4, %r15
jmp 0x18f8f
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x18fe0
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x20f3b(%rip), %rsi     # 0x39f2e
movq %rbx, %rdi
callq 0x1fc9e
leal 0x1(%r14), %esi
movq %rbx, %rdi
callq 0x200d0
jmp 0x19024
leaq 0x20f1e(%rip), %rsi     # 0x39f2e
movq %rbx, %rdi
callq 0x1fc9e
leal 0x1(%r14), %esi
movq %rbx, %rdi
callq 0x200d0
callq 0x3180
jmp 0x1902d
jmp 0x1902d
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x19047
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/./LS.cpp
// Function: maxPreprocessor::Preprocessor::doLS()
int Preprocessor::doLS() {
	while (doBCE());
	rLog.startTechnique(Log::Technique::LS);
	if (!rLog.requestTime(Log::Technique::LS)) {
		rLog.stopTechnique(Log::Technique::LS);
		return 0;
	}
	int added = 0;
	vector<int> checkVar = pi.tl.getTouchedVariables("LS");
	for (int var : checkVar) {
		if (pi.isLabel[var] == VAR_UNDEFINED) continue;
		if (pi.isVarRemoved(var)) continue;
		if (!rLog.requestTime(Log::Technique::LS)) break;
		added += tryLS(var);
	}
	log(added, " clauses labeled by LS");
	rLog.stopTechnique(Log::Technique::LS);
	return added;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %r14
movq %r14, %rdi
callq 0x11ac2
testl %eax, %eax
jne 0x19f47
leaq 0x218(%r14), %rbx
movq %rbx, %rdi
movl $0xe, %esi
callq 0x298e6
movq %rbx, %rdi
movl $0xe, %esi
callq 0x2a464
testb %al, %al
je 0x1a03e
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
leaq 0x20086(%rip), %rsi     # 0x3a013
leaq 0x20081(%rip), %rdx     # 0x3a015
leaq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x945c
leaq 0x68(%r14), %rsi
leaq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x307c8
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x19fc9
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x10(%rsp), %r12
movq 0x18(%rsp), %r13
cmpq %r13, %r12
je 0x1a04f
movl $0x0, 0xc(%rsp)
movslq (%r12), %r15
movq 0x48(%r14), %rax
movl $0x5, %ebp
cmpl $0x0, (%rax,%r15,4)
je 0x1a02a
movq %r14, %rdi
movl %r15d, %esi
callq 0x2859c
testb %al, %al
jne 0x1a02a
movq %rbx, %rdi
movl $0xe, %esi
callq 0x2a464
movl $0x4, %ebp
testb %al, %al
je 0x1a02a
movq %r14, %rdi
movl %r15d, %esi
callq 0x19bb0
addl %eax, 0xc(%rsp)
xorl %ebp, %ebp
cmpl $0x5, %ebp
je 0x1a033
testl %ebp, %ebp
jne 0x1a057
addq $0x4, %r12
cmpq %r13, %r12
jne 0x19fe0
jmp 0x1a057
movq %rbx, %rdi
movl $0xe, %esi
callq 0x29928
xorl %ebp, %ebp
jmp 0x1a090
movl $0x0, 0xc(%rsp)
leaq 0x1ffa1(%rip), %rdx     # 0x39fff
movq %r14, %rdi
movl 0xc(%rsp), %ebp
movl %ebp, %esi
callq 0x1f426
movq %rbx, %rdi
movl $0xe, %esi
callq 0x29928
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1a090
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
je 0x1a0d4
movq 0x38(%rsp), %rsi
incq %rsi
jmp 0x1a0cf
jmp 0x1a0ba
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x1a0d4
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x34a0
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/preprocessor.cpp
// Function: maxPreprocessor::Preprocessor::validTechniques(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
bool Preprocessor::validTechniques(string techniques) const {
	int sb = 0;
	string vt = "buvsrilceagpht";
	for (int i = 0; i < (int)techniques.size(); i++) {
		if(techniques[i] == '[') {
			sb++;
		}
		else if(techniques[i] == ']') {
			sb--;
			if (sb < 0) return false;
			if (techniques[i - 1] == '[') return false;
		}
		else {
			bool f = false;
			for (char c : vt) {
				if (techniques[i] == c) {
					f = true;
					break;
				}
			}
			if (!f) return false;
		}
	}
	if (sb != 0) return false;
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1f9bd(%rip), %rsi     # 0x3a140
leaq 0x1f9c4(%rip), %rdx     # 0x3a14e
movq %rsp, %rdi
callq 0x945c
movq 0x8(%r14), %rax
testl %eax, %eax
setle %bl
jle 0x1a830
movq (%r14), %rcx
movq (%rsp), %rdx
movq 0x8(%rsp), %rsi
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
leaq -0x1(%rsi), %rdi
xorl %r8d, %r8d
movl $0x1, %r10d
xorl %r9d, %r9d
movzbl (%rcx,%r8), %r11d
cmpl $0x5d, %r11d
je 0x1a7d8
cmpl $0x5b, %r11d
jne 0x1a7ee
incl %r9d
jmp 0x1a818
leal -0x1(%r9), %r11d
testl %r9d, %r9d
jle 0x1a825
cmpb $0x5b, -0x1(%rcx,%r8)
movl %r11d, %r9d
jne 0x1a818
jmp 0x1a828
testq %rsi, %rsi
je 0x1a828
xorl %r14d, %r14d
xorl %ebp, %ebp
movzbl %bpl, %ebp
cmpb (%rdx,%r14), %r11b
cmovel %r10d, %ebp
je 0x1a812
leaq 0x1(%r14), %r12
cmpq %r14, %rdi
movq %r12, %r14
jne 0x1a7f8
testb $0x1, %bpl
je 0x1a828
incq %r8
cmpq %rax, %r8
setae %bl
jne 0x1a7c2
jmp 0x1a828
movl %r11d, %r9d
testl %r9d, %r9d
sete %al
andb %al, %bl
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1a846
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32b0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O1/Laakeri[P]maxpre/src/preprocessor.cpp
// Function: maxPreprocessor::Preprocessor::validPreTechniques(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) const
bool Preprocessor::validPreTechniques(string techniques) const {
	int sb = 0;
	string vt = "bus";
	for (int i = 0; i < (int)techniques.size(); i++) {
		if(techniques[i] == '[') {
			sb++;
		}
		else if(techniques[i] == ']') {
			sb--;
			if (sb < 0) return false;
			if (techniques[i - 1] == '[') return false;
		}
		else {
			bool f = false;
			for (char c : vt) {
				if (techniques[i] == c) {
					f = true;
					break;
				}
			}
			if (!f) return false;
		}
	}
	if (sb != 0) return false;
	return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
leaq 0x10(%rsp), %r15
movq %r15, -0x10(%r15)
leaq 0x1f8da(%rip), %rsi     # 0x3a14f
leaq 0x1f8d6(%rip), %rdx     # 0x3a152
movq %rsp, %rdi
callq 0x945c
movq 0x8(%r14), %rax
testl %eax, %eax
setle %bl
jle 0x1a922
movq (%r14), %rcx
movq (%rsp), %rdx
movq 0x8(%rsp), %rsi
andl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
leaq -0x1(%rsi), %rdi
xorl %r8d, %r8d
movl $0x1, %r10d
xorl %r9d, %r9d
movzbl (%rcx,%r8), %r11d
cmpl $0x5d, %r11d
je 0x1a8ca
cmpl $0x5b, %r11d
jne 0x1a8e0
incl %r9d
jmp 0x1a90a
leal -0x1(%r9), %r11d
testl %r9d, %r9d
jle 0x1a917
cmpb $0x5b, -0x1(%rcx,%r8)
movl %r11d, %r9d
jne 0x1a90a
jmp 0x1a91a
testq %rsi, %rsi
je 0x1a91a
xorl %r14d, %r14d
xorl %ebp, %ebp
movzbl %bpl, %ebp
cmpb (%rdx,%r14), %r11b
cmovel %r10d, %ebp
je 0x1a904
leaq 0x1(%r14), %r12
cmpq %r14, %rdi
movq %r12, %r14
jne 0x1a8ea
testb $0x1, %bpl
je 0x1a91a
incq %r8
cmpq %rax, %r8
setae %bl
jne 0x1a8b4
jmp 0x1a91a
movl %r11d, %r9d
testl %r9d, %r9d
sete %al
andb %al, %bl
movq (%rsp), %rdi
cmpq %r15, %rdi
je 0x1a938
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x32b0
movl %ebx, %eax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop