// File: /workspace/github_cpp_makefile_star2_O3/conp-solutions[P]cnfmiter/AtLeastTwoSolutions.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 AtLeastTwoSolutions, Norbert Manthey, 2021" << 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 0x39b6(%rip), %r14      # 0x5fc0
leaq 0x1a0f(%rip), %rsi      # 0x4020
movl $0x2c, %edx
movq %r14, %rdi
callq 0x2190
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
cmpq $0x0, 0x8(%r15)
je 0x26a0
movq 0x396d(%rip), %r12      # 0x5fc0
leaq 0x19f3(%rip), %rsi      # 0x404d
movl $0x2, %edx
movq %r12, %rdi
callq 0x2190
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %r12, %rdi
callq 0x2190
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x19a6(%rip), %rsi      # 0x404d
movl $0x2, %edx
movq %r14, %rdi
callq 0x2190
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
leaq 0x196e(%rip), %rsi      # 0x4050
movl $0x6, %edx
movq %r14, %rdi
callq 0x2190
movl (%r13), %esi
movq %r14, %rdi
callq 0x2260
movq %rax, %r14
leaq 0x1979(%rip), %rsi      # 0x407e
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x10(%r13), %rax
subq 0x8(%r13), %rax
sarq $0x3, %rax
movabsq $-0x5555555555555555, %rsi # imm = 0xAAAAAAAAAAAAAAAB
imulq %rax, %rsi
movq %r14, %rdi
callq 0x20f0
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x2160
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2100
movq 0x8(%r13), %rbx
movq 0x10(%r13), %rax
movq %rax, -0x30(%rbp)
cmpq %rax, %rbx
je 0x2847
leaq -0x1c8(%rbp), %r14
leaq -0x1d8(%rbp), %r12
leaq 0x18f6(%rip), %r13      # 0x407e
movq %r12, %r15
movq %r12, %rdi
callq 0x2110
movq (%rbx), %rax
cmpq %rax, 0x8(%rbx)
je 0x27e7
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 0x2260
movq %rax, %rdi
callq 0x2100
movl $0x1, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0x2190
incq %r12
movq (%rbx), %rax
movq 0x8(%rbx), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x279f
leaq -0x50(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x2210
movq -0x50(%rbp), %rsi
leaq 0x1855(%rip), %rdi      # 0x4057
xorl %eax, %eax
callq 0x2040
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
movq %r15, %r12
je 0x281e
callq 0x2150
movq %r12, %rdi
movq 0x3770(%rip), %rsi      # 0x5f98
callq 0x2120
leaq -0x158(%rbp), %rdi
callq 0x2070
addq $0x18, %rbx
cmpq -0x30(%rbp), %rbx
jne 0x2788
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x285b
movq %rax, %rbx
movq 0x3733(%rip), %rsi      # 0x5f98
leaq -0x1d8(%rbp), %rdi
callq 0x2120
leaq -0x158(%rbp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x2270