// File: /workspace/github_cpp_makefile_star2_O3/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 0x2e6a
leaq 0x58(%rsp), %r15
movb $0x30, %bpl
movl $0xcccccccd, %ebx       # imm = 0xCCCCCCCD
leaq 0x48(%rsp), %r12
xorl %r14d, %r14d
movl 0x44(%rsp), %eax
movl %ebp, %r13d
movq %r15, 0x48(%rsp)
movq $0x0, 0x50(%rsp)
movb %bpl, 0xf(%rsp)
movb $0x0, 0x58(%rsp)
movl %r14d, %r15d
movl %eax, %ebp
testl %eax, %eax
je 0x2c3b
movl %r15d, %eax
imulq %rbx, %rax
movl %r13d, %ecx
shrq $0x23, %rax
addl %eax, %eax
leal (%rax,%rax,4), %eax
subb %al, %cl
movsbl %cl, %esi
movq %r12, %rdi
callq 0x21d0
addb $0x7, %r13b
addl $0x7, %r15d
decl %ebp
jne 0x2c0f
movl %r14d, %eax
imulq %rbx, %rax
movl %r14d, %ecx
leaq 0x23b8(%rip), %rdx      # 0x5004
shrq $0x22, %rax
leal (%rax,%rax,4), %eax
subl %eax, %ecx
cmpb $0x0, 0x40(%rsp)
movl $0x0, %eax
cmovnel %eax, %ecx
movslq (%rdx,%rcx,4), %rax
addq %rdx, %rax
jmpq *%rax
movq 0x30(%rsp), %rdi
movq %r12, %rsi
leaq 0x58(%rsp), %r15
callq 0x3c46
movb 0xf(%rsp), %bpl
jmp 0x2dba
leaq 0x68(%rsp), %r15
leaq 0x2449(%rip), %rsi      # 0x50dc
movq %r12, %rdx
movq %r15, %rdi
callq 0x3cfd
leaq 0x20(%rsp), %r13
leaq 0x2438(%rip), %rsi      # 0x50e2
movq %r15, %rdi
callq 0x2300
movq %r13, 0x10(%rsp)
movb 0xf(%rsp), %bpl
movq %rax, %rcx
addq $0x10, %rcx
leaq 0x58(%rsp), %r15
movq (%rax), %rdx
cmpq %rcx, %rdx
je 0x2ddf
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x2de9
leaq 0x10(%rsp), %r15
movl $0x2b, %esi
movq %r12, %rdx
movq %r15, %rdi
callq 0x3c83
leaq 0x20(%rsp), %r13
movq 0x30(%rsp), %rdi
movq %r15, %rsi
leaq 0x58(%rsp), %r15
callq 0x4878
movb 0xf(%rsp), %bpl
jmp 0x2dab
leaq 0x68(%rsp), %r15
leaq 0x23aa(%rip), %rsi      # 0x50d2
movq %r12, %rdx
movq %r15, %rdi
callq 0x3cfd
leaq 0x20(%rsp), %r13
leaq 0x2399(%rip), %rsi      # 0x50d8
movq %r15, %rdi
callq 0x2300
movq %r13, 0x10(%rsp)
movb 0xf(%rsp), %bpl
movq %rax, %rcx
addq $0x10, %rcx
leaq 0x58(%rsp), %r15
movq (%rax), %rdx
cmpq %rcx, %rdx
je 0x2e12
movq %rdx, 0x10(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x20(%rsp)
jmp 0x2e1c
leaq 0x10(%rsp), %rdi
movl $0x2d, %esi
movq %r12, %rdx
leaq 0x58(%rsp), %r15
callq 0x3c83
movb 0xf(%rsp), %bpl
leaq 0x20(%rsp), %r13
movq 0x30(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x4878
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x2dba
callq 0x21f0
movq 0x48(%rsp), %rdi
cmpq %r15, %rdi
je 0x2dc9
callq 0x21f0
incl %r14d
incb %bpl
cmpl 0x3c(%rsp), %r14d
jne 0x2be7
jmp 0x2e6a
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 0x4878
jmp 0x2e43
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 0x4878
movq 0x10(%rsp), %rdi
cmpq %r13, %rdi
je 0x2e52
callq 0x21f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
jne 0x2db5
jmp 0x2dba
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2e99
jmp 0x2ec8
jmp 0x2ec8
jmp 0x2e86
jmp 0x2ec8
movq 0x10(%rsp), %rdi
movq %rax, %rbx
cmpq %r13, %rdi
jne 0x2ec1
jmp 0x2ecb
jmp 0x2ec8
jmp 0x2ea0
movq %rax, %rbx
jmp 0x2eb2
jmp 0x2ec8
movq 0x10(%rsp), %rdi
movq %rax, %rbx
cmpq %r13, %rdi
je 0x2eb2
callq 0x21f0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2ecb
callq 0x21f0
jmp 0x2ecb
movq %rax, %rbx
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2edf
callq 0x21f0
movq %rbx, %rdi
callq 0x22d0