// File: /workspace/github_cpp_makefile_star2_O1/quiath[P]fast-atoi/main.cpp
// Function: generate_add(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>&, int, int, bool)
void generate_add(std::vector<std::string>& v, int count, int length, bool digits_only)
{
    for (unsigned i = 0; i < count; ++i)
    {
        std::string s;
        for (unsigned j = 0; j < length; ++j)
        {
            s += '0' + (i + j * 7) % 10;
        }

        int mode = digits_only ? 0 : (i % 5);


        switch (mode)
        {
          case 0:
             v.push_back(s);
             break;
          case 1:
             v.push_back('-' + s);
             break;
          case 2:
              v.push_back('+' + s);
             break;
          case 3:
             v.push_back("    -" + s + ")))");
             break;
          case 4:
             v.push_back("    +" + s + ".12");
             break;
        }

    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movl %ecx, 0x40(%rsp)
movl %edx, 0x44(%rsp)
movq %rdi, 0x30(%rsp)
movl %esi, 0x3c(%rsp)
testl %esi, %esi
je 0x2eaa
leaq 0x58(%rsp), %r15
movb $0x30, %bpl
movl $0xcccccccd, %ebx       # imm = 0xCCCCCCCD
leaq 0x48(%rsp), %r12
xorl %r14d, %r14d
movq %r15, 0x48(%rsp)
movq $0x0, 0x50(%rsp)
movb $0x0, 0x58(%rsp)
movl %r14d, %r15d
movb %bpl, 0xf(%rsp)
movl %ebp, %r13d
movl 0x44(%rsp), %eax
movl %eax, %ebp
testl %eax, %eax
je 0x2c7b
movl %r15d, %eax
imulq %rbx, %rax
shrq $0x23, %rax
addl %eax, %eax
leal (%rax,%rax,4), %eax
movl %r13d, %ecx
subb %al, %cl
movsbl %cl, %esi
movq %r12, %rdi
callq 0x21d0
addb $0x7, %r13b
addl $0x7, %r15d
decl %ebp
jne 0x2c4f
movl %r14d, %eax
imulq %rbx, %rax
shrq $0x22, %rax
leal (%rax,%rax,4), %eax
movl %r14d, %ecx
subl %eax, %ecx
cmpb $0x0, 0x40(%rsp)
movl $0x0, %eax
cmovnel %eax, %ecx
leaq 0x2362(%rip), %rdx      # 0x5004
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movq 0x30(%rsp), %rdi
movq %r12, %rsi
leaq 0x58(%rsp), %r15
callq 0x3c54
movb 0xf(%rsp), %bpl
jmp 0x2dfa
leaq 0x68(%rsp), %r15
movq %r15, %rdi
leaq 0x2406(%rip), %rsi      # 0x50dc
movq %r12, %rdx
callq 0x3d0b
leaq 0x20(%rsp), %r13
movq %r15, %rdi
leaq 0x23f5(%rip), %rsi      # 0x50e2
callq 0x2300
movq %r13, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x58(%rsp), %r15
movb 0xf(%rsp), %bpl
je 0x2e1f
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x2e29
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movl $0x2b, %esi
movq %r12, %rdx
callq 0x3c91
leaq 0x20(%rsp), %r13
movq 0x30(%rsp), %rdi
movq %r15, %rsi
leaq 0x58(%rsp), %r15
callq 0x48c0
movb 0xf(%rsp), %bpl
jmp 0x2deb
leaq 0x68(%rsp), %r15
movq %r15, %rdi
leaq 0x2367(%rip), %rsi      # 0x50d2
movq %r12, %rdx
callq 0x3d0b
leaq 0x20(%rsp), %r13
movq %r15, %rdi
leaq 0x2356(%rip), %rsi      # 0x50d8
callq 0x2300
movq %r13, 0x10(%rsp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
leaq 0x58(%rsp), %r15
movb 0xf(%rsp), %bpl
je 0x2e52
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x2e5c
leaq 0x10(%rsp), %rdi
movl $0x2d, %esi
movq %r12, %rdx
leaq 0x58(%rsp), %r15
callq 0x3c91
leaq 0x20(%rsp), %r13
movb 0xf(%rsp), %bpl
movq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x48c0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x2dfa
callq 0x21f0
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x2e09
callq 0x21f0
incl %r14d
incb %bpl
cmpl 0x3c(%rsp), %r14d
jne 0x2c27
jmp 0x2eaa
vmovups (%rcx), %xmm0
vmovups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x48c0
jmp 0x2e83
vmovups (%rcx), %xmm0
vmovups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, 0x18(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x48c0
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e92
callq 0x21f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
jne 0x2df5
jmp 0x2dfa
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2ed9
jmp 0x2f08
jmp 0x2f08
jmp 0x2ec6
jmp 0x2f08
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
jne 0x2f01
jmp 0x2f0b
jmp 0x2f08
jmp 0x2ee0
movq %rax, %rbx
jmp 0x2ef2
jmp 0x2f08
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x2ef2
callq 0x21f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2f0b
callq 0x21f0
jmp 0x2f0b
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2f1f
callq 0x21f0
movq %rbx, %rdi
callq 0x22d0