// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/./CLI11.hpp
// Function: CLI::detail::get_names(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>>>> const&)
inline std::tuple<std::vector<std::string>, std::vector<std::string>, std::string>
get_names(const std::vector<std::string> &input) {

    std::vector<std::string> short_names;
    std::vector<std::string> long_names;
    std::string pos_name;

    for(std::string name : input) {
        if(name.length() == 0)
            continue;
        else if(name.length() > 1 && name[0] == '-' && name[1] != '-') {
            if(name.length() == 2 && valid_first_char(name[1]))
                short_names.emplace_back(1, name[1]);
            else
                throw BadNameString::OneCharName(name);
        } else if(name.length() > 2 && name.substr(0, 2) == "--") {
            name = name.substr(2);
            if(valid_name_string(name))
                long_names.push_back(name);
            else
                throw BadNameString::BadLongName(name);
        } else if(name == "-" || name == "--") {
            throw BadNameString::DashesOnly(name);
        } else {
            if(pos_name.length() > 0)
                throw BadNameString::MultiPositionalNames(name);
            pos_name = name;
        }
    }

    return std::tuple<std::vector<std::string>, std::vector<std::string>, std::string>(
        short_names, long_names, pos_name);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdi, 0x98(%rsp)
xorl %eax, %eax
movq %rax, 0x90(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x80(%rsp)
movq %rax, 0x70(%rsp)
movaps %xmm0, 0x60(%rsp)
leaq 0x30(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb $0x0, (%rcx)
movq (%rsi), %rbp
movq 0x8(%rsi), %rax
movq %rax, 0xa0(%rsp)
cmpq %rax, %rbp
je 0xf8d7
leaq 0x10(%rsp), %r13
movq %rsp, %rbx
leaq 0x128(%rsp), %r14
movq %r13, (%rsp)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x1eb20
movq 0x8(%rsp), %r12
testq %r12, %r12
je 0xf8af
cmpq $0x1, %r12
je 0xf6d2
movq (%rsp), %rax
cmpb $0x2d, (%rax)
jne 0xf6d2
movb 0x1(%rax), %al
cmpb $0x2d, %al
jne 0xf874
cmpq $0x3, %r12
jb 0xf703
movl $0x2, %ecx
movq %r14, %r15
movq %r14, %rdi
movq %rbx, %rsi
xorl %edx, %edx
callq 0x52e0
movq %r15, %rdi
leaq 0x13b76(%rip), %rsi     # 0x2326d
callq 0x50d0
testl %eax, %eax
sete %bl
jmp 0xf705
xorl %ebx, %ebx
cmpq $0x3, %r12
leaq 0x40(%rsp), %r15
jb 0xf735
movq 0x128(%rsp), %rdi
leaq 0x138(%rsp), %rax
cmpq %rax, %rdi
je 0xf735
movq 0x138(%rsp), %rsi
incq %rsi
callq 0x52c0
testb %bl, %bl
je 0xf828
movl $0x2, %edx
movq %r15, %rdi
movq %rsp, %rbx
movq %rbx, %rsi
movq $-0x1, %rcx
callq 0x52e0
movq %rbx, %rdi
movq %r15, %rsi
callq 0x5370
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xf77e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x52c0
cmpq $0x0, 0x8(%rsp)
je 0xf941
movq (%rsp), %rax
movsbl (%rax), %edi
callq 0xfe22
testb %al, %al
je 0xf941
movl $0x1, %edx
leaq 0x40(%rsp), %rdi
movq %rbx, %rsi
movq $-0x1, %rcx
callq 0x52e0
movq 0x48(%rsp), %rbx
testq %rbx, %rbx
sete %r12b
je 0xf7e8
movq 0x40(%rsp), %r13
xorl %r15d, %r15d
movsbl (%r13,%r15), %edi
callq 0x1075c
testb %al, %al
je 0xf7e8
incq %r15
cmpq %r15, %rbx
sete %r12b
jne 0xf7cd
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xf804
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x52c0
testb $0x1, %r12b
leaq 0x10(%rsp), %r13
movq %rsp, %rbx
je 0xf941
leaq 0x60(%rsp), %rdi
movq %rbx, %rsi
callq 0xe21c
jmp 0xf8af
movq %rsp, %rbx
movq %rbx, %rdi
leaq 0x13a39(%rip), %rsi     # 0x2326e
callq 0x50d0
testl %eax, %eax
je 0xf9a4
movq %rbx, %rdi
leaq 0x13a21(%rip), %rsi     # 0x2326d
callq 0x50d0
testl %eax, %eax
je 0xf9a4
cmpq $0x0, 0x28(%rsp)
jne 0xfa07
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0x51a0
jmp 0xf8af
cmpq $0x2, %r12
jne 0xfa67
movsbl %al, %edi
callq 0xfe22
testb %al, %al
je 0xfa67
movl $0x1, 0x40(%rsp)
movq (%rsp), %rdx
incq %rdx
leaq 0x80(%rsp), %rdi
leaq 0x40(%rsp), %rsi
callq 0xfe7a
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0xf8c5
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x52c0
addq $0x20, %rbp
cmpq 0xa0(%rsp), %rbp
jne 0xf693
leaq 0x80(%rsp), %rsi
leaq 0x60(%rsp), %rdx
leaq 0x20(%rsp), %rcx
movq 0x98(%rsp), %rbx
movq %rbx, %rdi
callq 0x107cc
movq 0x20(%rsp), %rdi
leaq 0x30(%rsp), %rax
cmpq %rax, %rdi
je 0xf915
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x60(%rsp), %rdi
callq 0x7172
leaq 0x80(%rsp), %rdi
callq 0x7172
movq %rbx, %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0xf8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xe8(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0xe8(%rsp), %rsi
movq %r14, %rdi
callq 0xff38
xorl %ebp, %ebp
leaq 0x1fca8(%rip), %rsi     # 0x2f638
leaq 0xc323(%rip), %rdx      # 0x1bcba
movq %r14, %rdi
callq 0x54d0
jmp 0xfac5
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0xd8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0xc8(%rsp), %rsi
movq %r14, %rdi
callq 0xffb0
xorl %ebp, %ebp
leaq 0x1fc45(%rip), %rsi     # 0x2f638
leaq 0xc2c0(%rip), %rdx      # 0x1bcba
movq %r14, %rdi
callq 0x54d0
jmp 0xfac5
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0xb8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0xa8(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0xa8(%rsp), %rsi
movq %r14, %rdi
callq 0x10028
xorl %ebp, %ebp
leaq 0x1fbe2(%rip), %rsi     # 0x2f638
leaq 0xc25d(%rip), %rdx      # 0x1bcba
movq %r14, %rdi
callq 0x54d0
jmp 0xfac5
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0x118(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
addq %rsi, %rdx
leaq 0x108(%rsp), %rdi
callq 0x1eb20
movb $0x1, %bpl
leaq 0x108(%rsp), %rsi
movq %r14, %rdi
callq 0xfec0
xorl %ebp, %ebp
leaq 0x1fb82(%rip), %rsi     # 0x2f638
leaq 0xc1fd(%rip), %rdx      # 0x1bcba
movq %r14, %rdi
callq 0x54d0
jmp 0xfb5b
movq %rax, %r15
movq 0x108(%rsp), %rdi
cmpq %r12, %rdi
je 0xfb4c
movq 0x118(%rsp), %rsi
jmp 0xfb3c
jmp 0xfb46
jmp 0xfb65
movq %rax, %r15
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfb4c
movq 0xb8(%rsp), %rsi
jmp 0xfb3c
jmp 0xfb46
jmp 0xfb65
jmp 0xfb65
movq %rax, %r15
movq 0xc8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfb4c
movq 0xd8(%rsp), %rsi
jmp 0xfb3c
jmp 0xfb46
movq %rax, %r15
movq 0xe8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfb4c
movq 0xf8(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0xfb4c
movq %rax, %r15
movb $0x1, %bpl
testb %bpl, %bpl
je 0xfb68
movq %r14, %rdi
callq 0x5230
jmp 0xfb68
movq %rax, %r15
leaq 0x30(%rsp), %rbx
jmp 0xfbae
movq %rax, %r15
leaq 0x30(%rsp), %rbx
jmp 0xfb98
movq %rax, %r15
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0xfb8e
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x30(%rsp), %rbx
leaq 0x10(%rsp), %r13
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0xfbae
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x20(%rsp), %rdi
cmpq %rbx, %rdi
je 0xfbc5
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x60(%rsp), %rdi
callq 0x7172
leaq 0x80(%rsp), %rdi
callq 0x7172
movq %r15, %rdi
callq 0x5510