// File: /workspace/github_cpp_makefile_star2_O3/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)
leaq 0xc0(%rsp), %rsi
movq $0x0, 0x8(%rsi)
movq %rcx, (%rsi)
leaq -0x212db(%rip), %rbx    # 0x16410
movq %rbx, 0x18(%rsi)
leaq -0x212de(%rip), %r15    # 0x16418
movq %r15, 0x10(%rsi)
leaq 0x78(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x58(%rsp), %r8
movl $0x4, (%r8)
leaq 0x358b6(%rip), %rdx     # 0x6cfce
leaq 0xe0(%rsp), %r14
movq %r14, %rdi
callq 0x3c0ee
leaq 0x150(%rsp), %r14
leaq 0xa0(%rsp), %rsi
movq $0x0, 0x8(%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 0x35860(%rip), %rdx     # 0x6cfce
movq %r14, %rdi
callq 0x3c0ee
movq 0xb0(%rsp), %rax
testq %rax, %rax
je 0x37795
leaq 0xa0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0xd0(%rsp), %rax
testq %rax, %rax
je 0x377b4
leaq 0xc0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x37fd0(%rip), %rsi     # 0x6f78b
leaq 0x78(%rsp), %rdi
callq 0x29a42
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 0x3bccd
leaq 0x20(%rsp), %rdi
callq 0x20770
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x3679f(%rip), %rsi     # 0x6dfaf
leaq 0x357b8(%rip), %rdx     # 0x6cfcf
leaq 0x20(%rsp), %rdi
leaq 0x54(%rsp), %r8
callq 0x157b7
cmpb $0x0, 0x20(%rsp)
jne 0x37891
leaq 0x10(%rsp), %rdi
callq 0x4ca86
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x37846
movq (%rax), %r8
jmp 0x3784d
leaq 0x37788(%rip), %r8      # 0x6efd5
leaq 0x37a12(%rip), %rdx     # 0x6f266
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x6c, %ecx
callq 0x4902a
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x46a1c
leaq 0x8(%rsp), %rdi
callq 0x49096
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x37891
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x378a5
leaq 0x28(%rsp), %rdi
callq 0x153ca
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x366f8(%rip), %rsi     # 0x6dfaf
leaq 0x377d7(%rip), %rdx     # 0x6f095
leaq 0x20(%rsp), %rdi
leaq 0x44(%rsp), %r8
callq 0x157b7
cmpb $0x0, 0x20(%rsp)
jne 0x37938
leaq 0x10(%rsp), %rdi
callq 0x4ca86
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x378ed
movq (%rax), %r8
jmp 0x378f4
leaq 0x376e1(%rip), %r8      # 0x6efd5
leaq 0x3796b(%rip), %rdx     # 0x6f266
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x6d, %ecx
callq 0x4902a
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x46a1c
leaq 0x8(%rsp), %rdi
callq 0x49096
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x37938
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x3794c
leaq 0x28(%rsp), %rdi
callq 0x153ca
leaq 0x10(%rsp), %rcx
movl $0x1, (%rcx)
leaq 0x36651(%rip), %rsi     # 0x6dfaf
leaq 0x365cd(%rip), %rdx     # 0x6df32
leaq 0x20(%rsp), %rdi
leaq 0x78(%rsp), %r8
callq 0x157b7
cmpb $0x0, 0x20(%rsp)
jne 0x379df
leaq 0x10(%rsp), %rdi
callq 0x4ca86
movq 0x28(%rsp), %rax
testq %rax, %rax
je 0x37994
movq (%rax), %r8
jmp 0x3799b
leaq 0x3763a(%rip), %r8      # 0x6efd5
leaq 0x378c4(%rip), %rdx     # 0x6f266
leaq 0x8(%rsp), %rdi
movl $0x1, %esi
movl $0x6e, %ecx
callq 0x4902a
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x46a1c
leaq 0x8(%rsp), %rdi
callq 0x49096
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x379df
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x379f3
leaq 0x28(%rsp), %rdi
callq 0x153ca
movb 0x58(%rsp), %al
movb %al, 0x10(%rsp)
movq $0x0, 0x18(%rsp)
testb %al, %al
jne 0x37ab5
leaq 0x18(%rsp), %r14
leaq 0x8(%rsp), %rdi
callq 0x4ca86
leaq 0x36992(%rip), %rdx     # 0x6e3b4
leaq 0x346dd(%rip), %rcx     # 0x6c106
leaq 0x346dc(%rip), %r8      # 0x6c10c
leaq 0x20(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x46893
movq 0x20(%rsp), %r8
leaq 0x3781b(%rip), %rdx     # 0x6f266
leaq 0x48(%rsp), %rdi
movl $0x1, %esi
movl $0x6f, %ecx
callq 0x4902a
leaq 0x48(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x46a1c
leaq 0x48(%rsp), %rdi
callq 0x49096
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x37a93
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37aa3
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rsi
testq %rsi, %rsi
je 0x37ab5
movq %r14, %rdi
callq 0x153ca
cmpb $0x1, 0x58(%rsp)
jne 0x37ac6
leaq 0x60(%rsp), %rdi
callq 0x20770
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x37ae3
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
movl $0xe0, %r14d
leaq (%rsp,%r14), %rdi
addq $0xc0, %rdi
callq 0x2145a
leaq (%rsp,%r14), %rdi
addq $0xa8, %rdi
callq 0x2148a
leaq (%rsp,%r14), %rbx
addq $0x90, %rbx
movq %rbx, %rdi
callq 0x214ba
movq -0x10(%rbx), %rax
testq %rax, %rax
je 0x37b37
leaq (%rsp,%r14), %rdi
addq $0x70, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
addq $-0x70, %r14
jne 0x37ae9
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbx
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x49096
jmp 0x37b5c
movq %rax, %rbx
leaq 0x30(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x37b7c
movq 0x30(%rsp), %rsi
incq %rsi
callq 0xd530
jmp 0x37b7c
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x37b93
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x37b93
jmp 0x37bac
movq %rax, %rbx
movq 0x18(%rsp), %rsi
testq %rsi, %rsi
je 0x37bfa
movq %r14, %rdi
jmp 0x37be2
jmp 0x37bbb
jmp 0x37bd0
jmp 0x37bac
jmp 0x37bbb
jmp 0x37bd0
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x49096
jmp 0x37bbe
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x37bd3
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x37bd3
movq %rax, %rbx
movq 0x28(%rsp), %rsi
testq %rsi, %rsi
je 0x37bfa
leaq 0x28(%rsp), %rdi
callq 0x153ca
jmp 0x37bfa
jmp 0x37cc9
jmp 0x37cc9
jmp 0x37bf7
jmp 0x37bf7
movq %rax, %rbx
cmpb $0x1, 0x58(%rsp)
jne 0x37c0b
leaq 0x60(%rsp), %rdi
callq 0x20770
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x37c28
movq 0x98(%rsp), %rsi
subq %rdi, %rsi
callq 0xd530
movl $0x70, %r14d
leaq (%rsp,%r14), %rdi
addq $0xe0, %rdi
callq 0x206e8
addq $-0x70, %r14
cmpq $-0x70, %r14
jne 0x37c2e
movq %rbx, %rdi
callq 0xda70
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
jmp 0x37c06
movq %rax, %rbx
jmp 0x37c28
movq %rax, %rbx
movq 0xb0(%rsp), %rax
testq %rax, %rax
je 0x37c88
leaq 0xa0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x37c88
jmp 0x37cc9
movq %rax, %rbx
movq 0xd0(%rsp), %rax
testq %rax, %rax
je 0x37ca7
leaq 0xc0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0xe0(%rsp), %r15
cmpq %r14, %r15
je 0x37c48
addq $-0x70, %r14
movq %r14, %rdi
callq 0x206e8
cmpq %r15, %r14
jne 0x37cb4
jmp 0x37c48
jmp 0x37cc9
movq %rax, %rdi
callq 0x1536f
nop