// File: /workspace/github_cpp_makefile_star2_O1/halfflat[P]tinyopt/ex/ex5-run.cc
// Function: main
int main(int argc, char** argv) {
    try {
        to::option opts[] = {
            // 'echo' and 'ohce' are always recognized:
            { {}, to::flag, "echo", to::then(1) },
            { {}, to::flag, "ohce", to::then(2) },

            // If mode is zero and we see a word, it's an error.
            { to::error("unrecognized keyword"), to::when(0) },

            // If mode is one, echo argument.
            { to::action(echo), to::when(1) },

            // If mode is two, echo argument in reverse.
            { to::action(ohce), to::when(2) }
        };

        to::run(opts, argc, argv+1);
    }
    catch (to::option_error& e) {
        to::usage_error(argv[0], usage_str, e.what());
        return 1;
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x3e8, %rsp            # imm = 0x3E8
movq %rsi, 0x58(%rsp)
movl %edi, 0x2c(%rsp)
xorps %xmm0, %xmm0
leaq 0x170(%rsp), %rsi
movaps %xmm0, (%rsi)
leaq 0xea1(%rip), %r15       # 0x33d4
movq %r15, 0x18(%rsi)
leaq 0xe9a(%rip), %r12       # 0x33d8
movq %r12, 0x10(%rsi)
movl $0x1, %eax
leaq 0xac(%rsp), %rdx
movl %eax, (%rdx)
leaq 0x80(%rsp), %r8
movaps %xmm0, (%r8)
movaps %xmm0, 0x10(%r8)
movl %eax, (%r8)
leaq 0xe84(%rip), %r13       # 0x33f0
movq %r13, 0x18(%r8)
leaq 0xe7d(%rip), %rbp       # 0x33f4
movq %rbp, 0x10(%r8)
leaq 0x4b13(%rip), %rcx      # 0x7095
leaq 0x1b0(%rsp), %r14
movq %r14, %rdi
callq 0x2d26
leaq 0x220(%rsp), %r14
leaq 0x150(%rsp), %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
movq %r15, 0x18(%rsi)
movq %r12, 0x10(%rsi)
leaq 0xa8(%rsp), %rdx
movl $0x1, (%rdx)
leaq 0x30(%rsp), %r8
movaps %xmm0, (%r8)
movaps %xmm0, 0x10(%r8)
movl $0x2, (%r8)
movq %r13, 0x18(%r8)
movq %rbp, 0x10(%r8)
leaq 0x4ab8(%rip), %rcx      # 0x709a
movq %r14, %rdi
callq 0x2d26
leaq 0x290(%rsp), %r14
leaq 0x70(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x4a9d(%rip), %rsi      # 0x709f
leaq 0x4aaa(%rip), %rdx      # 0x70b3
leaq 0x60(%rsp), %rdi
callq 0x3920
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq 0x60(%rsp), %rax
cmpq %r13, %rax
je 0x2636
movq %rax, (%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x263f
movups (%r13), %xmm0
movups %xmm0, (%rbp)
movq 0x68(%rsp), %rax
movq %rsp, %rsi
movq %rax, 0x8(%rsi)
movq %r13, 0x60(%rsp)
movq $0x0, 0x68(%rsp)
movb $0x0, 0x70(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x341a
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x2681
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2140
xorps %xmm0, %xmm0
movq %rsp, %rdx
movaps %xmm0, 0x10(%rdx)
movaps %xmm0, (%rdx)
leaq 0x10a7(%rip), %r15      # 0x373c
movq %r15, 0x18(%rdx)
leaq 0x10a4(%rip), %r12      # 0x3744
movq %r12, 0x10(%rdx)
leaq 0xf0(%rsp), %rsi
movq %r14, %rdi
callq 0x2e1c
leaq 0x300(%rsp), %r14
leaq 0x130(%rsp), %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
leaq -0x299(%rip), %rax      # 0x243c
movq %rax, (%rsi)
leaq 0x1349(%rip), %rbp      # 0x3a28
movq %rbp, 0x18(%rsi)
leaq 0x1344(%rip), %rbx      # 0x3a2e
movq %rbx, 0x10(%rsi)
leaq 0xd0(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movl $0x1, (%rdx)
movq %r15, 0x18(%rdx)
movq %r12, 0x10(%rdx)
movq %r14, %rdi
callq 0x2e1c
leaq 0x370(%rsp), %r14
xorps %xmm0, %xmm0
leaq 0x110(%rsp), %rsi
movaps %xmm0, (%rsi)
movaps %xmm0, 0x10(%rsi)
leaq -0x2cf(%rip), %rax      # 0x2465
movq %rax, (%rsi)
movq %rbp, 0x18(%rsi)
movq %rbx, 0x10(%rsi)
leaq 0xb0(%rsp), %rdx
movaps %xmm0, (%rdx)
movaps %xmm0, 0x10(%rdx)
movl $0x2, (%rdx)
movq %r15, 0x18(%rdx)
movq %r12, 0x10(%rdx)
movq %r14, %rdi
callq 0x2e1c
movq 0xc0(%rsp), %rax
testq %rax, %rax
je 0x2783
leaq 0xb0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x120(%rsp), %rax
testq %rax, %rax
je 0x27a2
leaq 0x110(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0xe0(%rsp), %rax
testq %rax, %rax
je 0x27c1
leaq 0xd0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x140(%rsp), %rax
testq %rax, %rax
je 0x27e0
leaq 0x130(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x27f7
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x100(%rsp), %rax
testq %rax, %rax
je 0x2816
leaq 0xf0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x60(%rsp), %rdi
cmpq %r13, %rdi
je 0x282d
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2140
movq 0x40(%rsp), %rax
testq %rax, %rax
movq 0x58(%rsp), %rbx
je 0x284b
leaq 0x30(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x160(%rsp), %rax
testq %rax, %rax
je 0x286a
leaq 0x150(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x90(%rsp), %rax
testq %rax, %rax
je 0x2889
leaq 0x80(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x180(%rsp), %rax
testq %rax, %rax
je 0x28a8
leaq 0x170(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x8(%rbx), %rcx
xorps %xmm0, %xmm0
movq %rsp, %r8
movaps %xmm0, (%r8)
movq $0x0, 0x10(%r8)
leaq 0x190(%rsp), %rdi
leaq 0x1b0(%rsp), %rsi
leaq 0x2c(%rsp), %rdx
callq 0x2f3f
cmpb $0x1, 0x190(%rsp)
jne 0x28ef
leaq 0x198(%rsp), %rdi
callq 0x323c
movb $0x0, 0x190(%rsp)
movq %rsp, %rdi
callq 0x323c
movl $0x230, %r14d           # imm = 0x230
leaq (%rsp,%r14), %rdi
addq $0x190, %rdi            # imm = 0x190
callq 0x376a
leaq (%rsp,%r14), %rdi
addq $0x178, %rdi            # imm = 0x178
callq 0x379a
leaq (%rsp,%r14), %rbx
addq $0x160, %rbx            # imm = 0x160
movq %rbx, %rdi
callq 0x37ca
movq -0x10(%rbx), %rax
testq %rax, %rax
je 0x2956
leaq (%rsp,%r14), %rdi
addq $0x140, %rdi            # imm = 0x140
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
addq $-0x70, %r14
jne 0x2905
xorl %eax, %eax
addq $0x3e8, %rsp            # imm = 0x3E8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
jmp 0x2d1d
movq %rdx, %r12
movq %rax, %r15
movq %rsp, %rdi
callq 0x323c
movl $0x1c0, %ebx            # imm = 0x1C0
leaq (%rsp,%rbx), %rdi
addq $0x1b0, %rdi            # imm = 0x1B0
callq 0x51dc
addq $-0x70, %rbx
cmpq $-0x70, %rbx
jne 0x29b5
jmp 0x2b9f
movq %rdx, %r12
movq %rax, %r15
movq 0xc0(%rsp), %rax
testq %rax, %rax
je 0x29f9
leaq 0xb0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x120(%rsp), %rax
testq %rax, %rax
je 0x2a2a
leaq 0x110(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2a2a
jmp 0x2d1d
jmp 0x2d1d
movq %rdx, %r12
movq %rax, %r15
movq 0xe0(%rsp), %rax
testq %rax, %rax
je 0x2a49
leaq 0xd0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x140(%rsp), %rax
testq %rax, %rax
je 0x2a7a
leaq 0x130(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2a7a
jmp 0x2d1d
jmp 0x2d1d
movq %rdx, %r12
movq %rax, %r15
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x2a91
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x100(%rsp), %rax
testq %rax, %rax
je 0x2ad8
leaq 0xf0(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2ad8
jmp 0x2d1d
jmp 0x2d1d
movq %rdx, %r12
movq %rax, %r15
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x2ad8
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x2140
movq 0x60(%rsp), %rdi
cmpq %r13, %rdi
je 0x2af9
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x2140
jmp 0x2af9
jmp 0x2af3
movq %rdx, %r12
movq %rax, %r15
movq 0x40(%rsp), %rax
testq %rax, %rax
je 0x2b12
leaq 0x30(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x160(%rsp), %rax
testq %rax, %rax
je 0x2b43
leaq 0x150(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x2b43
jmp 0x2d1d
jmp 0x2d1d
movq %rdx, %r12
movq %rax, %r15
movq 0x90(%rsp), %rax
testq %rax, %rax
je 0x2b62
leaq 0x80(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x180(%rsp), %rax
testq %rax, %rax
je 0x2b81
leaq 0x170(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x1b0(%rsp), %rbx
cmpq %r14, %rbx
je 0x2b9f
addq $-0x70, %r14
movq %r14, %rdi
callq 0x51dc
cmpq %rbx, %r14
jne 0x2b8e
cmpl $0x1, %r12d
jne 0x2d13
movq %r15, %rdi
callq 0x2080
movq %rax, %r14
movq 0x58(%rsp), %rax
movq (%rax), %rbx
movq 0x856d(%rip), %rsi      # 0xb130
leaq 0x1b0(%rsp), %rdi
leaq 0xd0(%rsp), %rdx
callq 0x2dde
movq (%r14), %rax
movq %r14, %rdi
callq *0x10(%rax)
leaq 0x80(%rsp), %rdi
leaq 0xb0(%rsp), %rdx
movq %rax, %rsi
callq 0x2dde
leaq 0x40(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x44ab(%rip), %rsi      # 0x70b4
leaq 0x44ab(%rip), %rdx      # 0x70bb
leaq 0x30(%rsp), %rdi
callq 0x3920
leaq 0x1b0(%rsp), %rsi
leaq 0x80(%rsp), %rdx
leaq 0x30(%rsp), %rcx
movq %rbx, %rdi
callq 0x3297
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2c4e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2140
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2c6f
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2140
leaq 0x1c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2c90
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x2140
callq 0x21e0
movl $0x1, %eax
jmp 0x295e
jmp 0x2d1d
jmp 0x2d1d
movq %rax, %r15
movq 0x30(%rsp), %rdi
cmpq %r14, %rdi
je 0x2cc2
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x2140
jmp 0x2cc2
movq %rax, %r15
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2ce8
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x2140
jmp 0x2ce8
movq %rax, %r15
leaq 0x1c0(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x2d0e
movq 0x1c0(%rsp), %rsi
incq %rsi
callq 0x2140
jmp 0x2d0e
movq %rax, %r15
callq 0x21e0
movq %r15, %rdi
callq 0x2210
jmp 0x2d1d
movq %rax, %rdi
callq 0x33c9
nop