// File: /workspace/github_cpp_makefile_star2_O3/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 0x30854
leaq 0x148(%r14), %rcx
cmpq %rcx, %rax
je 0x2fc1c
incl 0x198(%r14)
movq %r12, %rdi
movq %r15, %rsi
callq 0x3011c
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x188(%r14), %r13
movq %r12, %rdi
movq %r15, %rsi
callq 0x3011c
movq %r13, (%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movq 0x138(%r14), %rax
movq %rax, %rcx
subq 0x118(%r14), %rcx
shrq $0x3, %rcx
cmpq $0x1, %rax
adcq $-0x1, %rcx
shlq $0x5, %rcx
movq 0x120(%r14), %rax
subq 0x128(%r14), %rax
movq 0x110(%r14), %r12
shrq $0x4, %rax
subq 0x100(%r14), %r12
shrq $0x4, %r12
addq %rax, %r12
addq %rcx, %r12
testl %r12d, %r12d
jle 0x2fc6c
andl $0x7fffffff, %r12d      # imm = 0x7FFFFFFF
movq %r12, %rbp
decq %r12
movq 0x100(%r14), %rdx
movq 0x118(%r14), %rcx
movq %rdx, %rax
subq 0x108(%r14), %rax
sarq $0x4, %rax
addq %r12, %rax
js 0x2fae1
cmpq $0x20, %rax
jae 0x2faea
movq %r12, %rsi
shlq $0x4, %rsi
movq 0x10(%rsp), %rdi
cmpq %rdi, (%rdx,%rsi)
jb 0x2fc6c
movq 0x1a0(%r14), %rsi
jmp 0x2fb24
movq %rax, %rsi
sarq $0x5, %rsi
jmp 0x2faf1
movq %rax, %rsi
shrq $0x5, %rsi
movq (%rcx,%rsi,8), %rdi
shlq $0x5, %rsi
movq %rax, %r8
subq %rsi, %r8
shlq $0x4, %r8
movq 0x10(%rsp), %rsi
cmpq %rsi, (%rdi,%r8)
jb 0x2fc6c
movq 0x1a0(%r14), %rsi
testq %rax, %rax
js 0x2fb30
cmpq $0x1f, %rax
ja 0x2fb39
movq %r12, %rdi
shlq $0x4, %rdi
addq %rdx, %rdi
jmp 0x2fb55
movq %rax, %r8
sarq $0x5, %r8
jmp 0x2fb40
movq %rax, %r8
shrq $0x5, %r8
movq %r8, %r9
shlq $0x5, %r9
movq %rax, %rdi
subq %r9, %rdi
shlq $0x4, %rdi
addq (%rcx,%r8,8), %rdi
movslq 0x8(%rdi), %rdi
movq (%rsi), %rsi
leaq (%rdi,%rdi,4), %rdi
movq 0x8(%rsi,%rdi,8), %r8
subq (%rsi,%rdi,8), %r8
cmpq $0x8, %r8
jne 0x2fc10
testq %rax, %rax
js 0x2fb8d
cmpq $0x1f, %rax
ja 0x2fb96
movq %r12, %rax
shlq $0x4, %rax
addq %rax, %rdx
movq %rdx, %rax
jmp 0x2fbaf
movq %rax, %rdx
sarq $0x5, %rdx
jmp 0x2fb9d
movq %rax, %rdx
shrq $0x5, %rdx
movq %rdx, %rdi
shlq $0x5, %rdi
subq %rdi, %rax
shlq $0x4, %rax
addq (%rcx,%rdx,8), %rax
movslq 0x8(%rax), %rax
leaq (%rax,%rax,4), %rax
movq (%rsi,%rax,8), %r13
movq 0x8(%rsi,%rax,8), %r15
cmpq %r15, %r13
je 0x2fc10
movslq (%r13), %rax
movl %eax, 0xc(%rsp)
movq 0x170(%r14), %rcx
movl 0x198(%r14), %edx
cmpl %edx, (%rcx,%rax,4)
je 0x2fc0a
movl %edx, (%rcx,%rax,4)
movq 0x8(%rbx), %rsi
cmpq 0x10(%rbx), %rsi
je 0x2fbfd
movl 0xc(%rsp), %eax
movl %eax, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x8(%rbx)
jmp 0x2fc0a
movq %rbx, %rdi
leaq 0xc(%rsp), %rdx
callq 0x98f8
addq $0x4, %r13
jmp 0x2fbc0
cmpq $0x1, %rbp
jg 0x2fa95
jmp 0x2fc6c
movq 0x188(%r14), %r13
movq %r12, %rdi
movq %r15, %rsi
callq 0x3011c
movq %r13, (%rax)
movslq 0x19c(%r14), %rsi
addq %rsi, %rsi
leaq 0xb(%rsp), %rdx
movq %rbx, %rdi
callq 0x8c20
cmpl $0x0, 0x19c(%r14)
jle 0x2fc6c
movq (%rbx), %rax
xorl %ecx, %ecx
movl %ecx, (%rax,%rcx,4)
incq %rcx
movslq 0x19c(%r14), %rdx
addq %rdx, %rdx
cmpq %rdx, %rcx
jl 0x2fc57
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
testq %rdi, %rdi
je 0x2fc95
movq 0x10(%rbx), %rsi
subq %rdi, %rsi
callq 0x32b0
movq %r14, %rdi
callq 0x34a0
nop