// File: /workspace/github_cpp_makefile_star2_O3/conp-solutions[P]cnfmiter/Main.cc
// Function: print_formula(CNFMITER::Formula&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void print_formula(Formula &f, std::string s)
{
    std::cout << "c CNFmiter, Norbert Manthey, 2020" << std::endl;
    if (!s.empty()) std::cout << "c " << s << std::endl;
    std::cout << "c " << std::endl;
    std::cout << "p cnf " << f.nVars() << " " << f.clauses.size() << std::endl;
    for (const auto &c : f.clauses) {
        std::stringstream s;
        s << c;
        printf("%s 0\n", s.str().c_str());
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1b8, %rsp            # imm = 0x1B8
movq %rsi, %r15
movq %rdi, %r13
movq 0x4282(%rip), %r14      # 0x6fc0
leaq 0x2377(%rip), %rsi      # 0x50bc
movl $0x21, %edx
movq %r14, %rdi
callq 0x21d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
cmpq $0x0, 0x8(%r15)
je 0x2dd4
movq 0x4239(%rip), %r12      # 0x6fc0
leaq 0x2350(%rip), %rsi      # 0x50de
movl $0x2, %edx
movq %r12, %rdi
callq 0x21d0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x21d0
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
leaq 0x2303(%rip), %rsi      # 0x50de
movl $0x2, %edx
movq %r14, %rdi
callq 0x21d0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
leaq 0x22cb(%rip), %rsi      # 0x50e1
movl $0x6, %edx
movq %r14, %rdi
callq 0x21d0
movl (%r13), %esi
movq %r14, %rdi
callq 0x22a0
movq %rax, %r14
leaq 0x247d(%rip), %rsi      # 0x52b6
movl $0x1, %edx
movq %rax, %rdi
callq 0x21d0
movq 0x10(%r13), %rax
subq 0x8(%r13), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq %r14, %rdi
callq 0x2120
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21a0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2130
movq 0x8(%r13), %rbx
movq 0x10(%r13), %rax
movq %rax, -0x30(%rbp)
cmpq %rax, %rbx
je 0x2f7b
leaq -0x1c8(%rbp), %r14
leaq -0x1d8(%rbp), %r12
leaq 0x23fa(%rip), %r13      # 0x52b6
movq %r12, %r15
movq %r12, %rdi
callq 0x2140
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x2f1b
xorl %r12d, %r12d
movl (%rax,%r12,4), %eax
movl %eax, %esi
sarl %esi
leal 0x1(%rsi), %ecx
testb $0x1, %al
notl %esi
cmovel %ecx, %esi
movq %r14, %rdi
callq 0x22a0
movq %rax, %rdi
callq 0x2130
movl $0x1, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x21d0
incq %r12
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x2ed3
leaq -0x50(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x2260
movq -0x50(%rbp), %rsi
leaq 0x21b2(%rip), %rdi      # 0x50e8
xorl %eax, %eax
callq 0x2040
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
movq %r15, %r12
je 0x2f52
callq 0x2180
movq %r12, %rdi
movq 0x403c(%rip), %rsi      # 0x6f98
callq 0x2150
leaq -0x158(%rbp), %rdi
callq 0x2090
addq $0x18, %rbx
cmpq -0x30(%rbp), %rbx
jne 0x2ebc
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2f8f
movq %rax, %rbx
movq 0x3fff(%rip), %rsi      # 0x6f98
leaq -0x1d8(%rbp), %rdi
callq 0x2150
leaq -0x158(%rbp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x22b0