// File: /workspace/github_cpp_makefile_star2_O1/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, %rbx
movq 0x499f(%rip), %r14      # 0x6fc0
leaq 0x29f8(%rip), %rsi      # 0x5020
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 0x26b7
movq 0x4956(%rip), %r12      # 0x6fc0
leaq 0x29dc(%rip), %rsi      # 0x504d
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 0x298f(%rip), %rsi      # 0x504d
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 0x2957(%rip), %rsi      # 0x5050
movl $0x6, %edx
movq %r14, %rdi
callq 0x2190
movl (%rbx), %esi
movq %r14, %rdi
callq 0x2260
movq %rax, %r14
leaq 0x2964(%rip), %rsi      # 0x507e
movl $0x1, %edx
movq %rax, %rdi
callq 0x2190
movq 0x10(%rbx), %rax
subq 0x8(%rbx), %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(%rbx), %r14
movq 0x10(%rbx), %rax
movq %rax, -0x30(%rbp)
cmpq %rax, %r14
je 0x285c
leaq -0x1c8(%rbp), %rbx
leaq -0x1d8(%rbp), %r12
leaq 0x28e1(%rip), %r13      # 0x507e
movq %r12, %r15
movq %r12, %rdi
callq 0x2110
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x27fc
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 0x2260
movq %rax, %rdi
callq 0x2100
movl $0x1, %edx
movq %rbx, %rdi
movq %r13, %rsi
callq 0x2190
incq %r12
movq (%r14), %rax
movq 0x8(%r14), %rcx
subq %rax, %rcx
sarq $0x2, %rcx
cmpq %r12, %rcx
ja 0x27b4
leaq -0x50(%rbp), %rdi
leaq -0x1c0(%rbp), %rsi
callq 0x2210
movq -0x50(%rbp), %rsi
leaq 0x2840(%rip), %rdi      # 0x5057
xorl %eax, %eax
callq 0x2040
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
movq %r15, %r12
je 0x2833
callq 0x2150
movq %r12, %rdi
movq 0x475b(%rip), %rsi      # 0x6f98
callq 0x2120
leaq -0x158(%rbp), %rdi
callq 0x2070
addq $0x18, %r14
cmpq -0x30(%rbp), %r14
jne 0x279d
addq $0x1b8, %rsp            # imm = 0x1B8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2870
movq %rax, %rbx
movq 0x471e(%rip), %rsi      # 0x6f98
leaq -0x1d8(%rbp), %rdi
callq 0x2120
leaq -0x158(%rbp), %rdi
callq 0x2070
movq %rbx, %rdi
callq 0x2270