// File: /workspace/github_cpp_makefile_star2_O1/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, %rbx
movq 0x4272(%rip), %r14      # 0x6fc0
leaq 0x2383(%rip), %rsi      # 0x50d8
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 0x2de4
movq 0x4229(%rip), %r12      # 0x6fc0
leaq 0x235c(%rip), %rsi      # 0x50fa
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 0x230f(%rip), %rsi      # 0x50fa
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 0x22d7(%rip), %rsi      # 0x50fd
movl $0x6, %edx
movq %r14, %rdi
callq 0x21d0
movl (%rbx), %esi
movq %r14, %rdi
callq 0x22a0
movq %rax, %r14
leaq 0x248b(%rip), %rsi      # 0x52d2
movl $0x1, %edx
movq %rax, %rdi
callq 0x21d0
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %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(%rbx), %r14
movq 0x10(%rbx), %rax
movq %rax, -0x30(%rbp)
cmpq %rax, %r14
je 0x2f89
leaq -0x1c8(%rbp), %rbx
leaq -0x1d8(%rbp), %r12
leaq 0x2408(%rip), %r13      # 0x52d2
movq %r12, %r15
movq %r12, %rdi
callq 0x2140
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x2f29
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 %rbx, %rdi
callq 0x22a0
movq %rax, %rdi
callq 0x2130
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x21d0
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x2ee1
leaq -0x50(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x2260
movq -0x50(%rbp), %rsi
leaq 0x21c0(%rip), %rdi      # 0x5104
xorl %eax, %eax
callq 0x2040
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
movq %r15, %r12
je 0x2f60
callq 0x2180
movq %r12, %rdi
movq 0x402e(%rip), %rsi      # 0x6f98
callq 0x2150
leaq -0x158(%rbp), %rdi
callq 0x2090
addq $0x18, %r14
cmpq -0x30(%rbp), %r14
jne 0x2eca
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2f9d
movq %rax, %rbx
movq 0x3ff1(%rip), %rsi      # 0x6f98
leaq -0x1d8(%rbp), %rdi
callq 0x2150
leaq -0x158(%rbp), %rdi
callq 0x2090
movq %rbx, %rdi
callq 0x22b0