// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/test/test_run.cc
// Function: run_single_Test::TestBody()
TEST(run, single) {
    int c = 0, d = 0;
    to::option opts[] = {
        { to::increment(c), "-c", to::flag, to::single },
        { to::increment(d), "-c", to::flag, to::single }
    };

    mockargs M("-c\0-c\0-c\0");
    auto r = to::run(opts, M.argc, M.argv);
    EXPECT_EQ(1, c);
    EXPECT_EQ(1, d);
    EXPECT_EQ(1, M.argc);
    EXPECT_TRUE(r);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x1c0, %rsp            # imm = 0x1C0
xorl %eax, %eax
leaq 0x54(%rsp), %rcx
movl %eax, (%rcx)
movl %eax, 0x44(%rsp)
xorps %xmm0, %xmm0
leaq 0xc0(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
movq %rcx, (%rsi)
leaq -0x2235d(%rip), %rbx    # 0x1676c
movq %rbx, 0x18(%rsi)
leaq -0x22360(%rip), %r15    # 0x16774
movq %r15, 0x10(%rsi)
leaq 0x78(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x58(%rsp), %r8
movl $0x4, (%r8)
leaq 0x36895(%rip), %rdx     # 0x6f38b
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
callq 0x3d6fe
leaq 0x150(%rsp), %r14
leaq 0xa0(%rsp), %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
leaq 0x44(%rsp), %rax
movq %rax, (%rsi)
movq %rbx, 0x18(%rsi)
movq %r15, 0x10(%rsi)
leaq 0x20(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x10(%rsp), %r8
movl $0x4, (%r8)
leaq 0x3683d(%rip), %rdx     # 0x6f38b
movq %r14, %rdi
callq 0x3d6fe
movq 0xb0(%rsp), %rax
testq %rax, %rax
je 0x38b75
leaq 0xa0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0xd0(%rsp), %rax
testq %rax, %rax
je 0x38b94
leaq 0xc0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x38c02(%rip), %rsi     # 0x7179d
leaq 0x78(%rsp), %rdi
callq 0x2a408
leaq 0x78(%rsp), %rdx
movq 0x8(%rdx), %rcx
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %r8
movaps %xmm0, (%r8)
movq $0x0, 0x10(%r8)
leaq 0x58(%rsp), %rdi
leaq 0xe0(%rsp), %rsi
callq 0x3d2c3
leaq 0x20(%rsp), %rdi
callq 0x20fca
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x373df(%rip), %rsi     # 0x6ffcf
leaq 0x36795(%rip), %rdx     # 0x6f38c
leaq 0x20(%rsp), %rdi
leaq 0x54(%rsp), %r8
callq 0x15aba
cmpb $0x0, 0x20(%rsp)
jne 0x38c71
leaq 0x10(%rsp), %rdi
callq 0x4e2e8
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x38c26
movq (%rax), %r8
jmp 0x38c2d
leaq 0x383cb(%rip), %r8      # 0x70ff8
leaq 0x38644(%rip), %rdx     # 0x71278
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x6c, %ecx
callq 0x4a84c
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x481aa
leaq 0x8(%rsp), %rdi
callq 0x4a8b8
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38c71
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x38c85
leaq 0x28(%rsp), %rdi
callq 0x156d0
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x37338(%rip), %rsi     # 0x6ffcf
leaq 0x3841a(%rip), %rdx     # 0x710b8
leaq 0x20(%rsp), %rdi
leaq 0x44(%rsp), %r8
callq 0x15aba
cmpb $0x0, 0x20(%rsp)
jne 0x38d18
leaq 0x10(%rsp), %rdi
callq 0x4e2e8
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x38ccd
movq (%rax), %r8
jmp 0x38cd4
leaq 0x38324(%rip), %r8      # 0x70ff8
leaq 0x3859d(%rip), %rdx     # 0x71278
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x6d, %ecx
callq 0x4a84c
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x481aa
leaq 0x8(%rsp), %rdi
callq 0x4a8b8
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38d18
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x38d2c
leaq 0x28(%rsp), %rdi
callq 0x156d0
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x37291(%rip), %rsi     # 0x6ffcf
leaq 0x3720d(%rip), %rdx     # 0x6ff52
leaq 0x20(%rsp), %rdi
leaq 0x78(%rsp), %r8
callq 0x15aba
cmpb $0x0, 0x20(%rsp)
jne 0x38dbf
leaq 0x10(%rsp), %rdi
callq 0x4e2e8
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x38d74
movq (%rax), %r8
jmp 0x38d7b
leaq 0x3827d(%rip), %r8      # 0x70ff8
leaq 0x384f6(%rip), %rdx     # 0x71278
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x6e, %ecx
callq 0x4a84c
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x481aa
leaq 0x8(%rsp), %rdi
callq 0x4a8b8
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38dbf
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x38dd3
leaq 0x28(%rsp), %rdi
callq 0x156d0
movb 0x58(%rsp), %al
leaq 0x18(%rsp), %r14
movb %al, -0x8(%r14)
movq $0x0, (%r14)
testb %al, %al
jne 0x38e81
leaq 0x8(%rsp), %rdi
callq 0x4e2e8
leaq 0x375d4(%rip), %rdx     # 0x703d4
leaq 0x352ff(%rip), %rcx     # 0x6e106
leaq 0x352fe(%rip), %r8      # 0x6e10c
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x48021
movq 0x20(%rsp), %r8
leaq 0x3844f(%rip), %rdx     # 0x71278
leaq 0x48(%rsp), %rdi
movl $0x1, %esi
movl $0x6f, %ecx
callq 0x4a84c
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x481aa
leaq 0x48(%rsp), %rdi
callq 0x4a8b8
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x38e71
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x38e81
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rsi
testq %rsi, %rsi
je 0x38e93
movq %r14, %rdi
callq 0x156d0
cmpb $0x1, 0x58(%rsp)
jne 0x38ea4
leaq 0x60(%rsp), %rdi
callq 0x20fca
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x38ec1
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
movl $0xe0, %r14d
leaq (%rsp,%r14), %rdi
addq $0xc0, %rdi
callq 0x21caa
leaq (%rsp,%r14), %rdi
addq $0xa8, %rdi
callq 0x21cda
leaq (%rsp,%r14), %rbx
addq $0x90, %rbx
movq %rbx, %rdi
callq 0x21d0a
movq -0x10(%rbx), %rax
testq %rax, %rax
je 0x38f15
leaq (%rsp,%r14), %rdi
addq $0x70, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
addq $-0x70, %r14
jne 0x38ec7
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x4a8b8
jmp 0x38f3a
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x38f5a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x38f5a
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x38f6a
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x8(%rsp)
jmp 0x38f7a
jmp 0x38f98
movq %rax, %rbx
movq 0x18(%rsp), %rsi
testq %rsi, %rsi
je 0x38ff8
movq %r14, %rdi
callq 0x156d0
jmp 0x38ff8
jmp 0x38fa7
jmp 0x38fc5
jmp 0x38f98
jmp 0x38fa7
jmp 0x38fc5
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4a8b8
jmp 0x38faa
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x38fba
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0x10(%rsp)
jmp 0x38fc8
movq %rax, %rbx
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x38fdc
leaq 0x28(%rsp), %rdi
callq 0x156d0
movq $0x0, 0x28(%rsp)
jmp 0x38ff8
jmp 0x390d4
jmp 0x390d4
jmp 0x38ff5
jmp 0x38ff5
movq %rax, %rbx
cmpb $0x1, 0x58(%rsp)
jne 0x39009
leaq 0x60(%rsp), %rdi
callq 0x20fca
movb $0x0, 0x58(%rsp)
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x3902b
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
movl $0x70, %r14d
leaq (%rsp,%r14), %rdi
addq $0xe0, %rdi
callq 0x20f42
addq $-0x70, %r14
cmpq $-0x70, %r14
jne 0x39031
movq %rbx, %rdi
callq 0xda70
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x20fca
jmp 0x3900e
movq %rax, %rbx
jmp 0x3902b
movq %rax, %rbx
movq 0xb0(%rsp), %rax
testq %rax, %rax
je 0x39090
leaq 0xa0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x39090
jmp 0x390d4
movq %rax, %rbx
movq 0xd0(%rsp), %rax
testq %rax, %rax
je 0x390af
leaq 0xc0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0xe0(%rsp), %r15
cmpq %r14, %r15
je 0x3904b
addq $-0x70, %r14
movq %r14, %rdi
callq 0x20f42
cmpq %r15, %r14
jne 0x390bc
jmp 0x3904b
jmp 0x390d4
movq %rax, %rdi
callq 0x15674