// File: /workspace/github_cpp_makefile_star2_O3/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 $0x138, %rsp            # imm = 0x138
movq %rdi, %rbp
xorl %eax, %eax
movq %rax, 0xa0(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x90(%rsp)
movq %rax, 0x80(%rsp)
movaps %xmm0, 0x70(%rsp)
leaq 0x60(%rsp), %r12
movq %r12, -0x10(%r12)
movq %rax, -0x8(%r12)
movb $0x0, (%r12)
movq (%rsi), %r13
movq 0x8(%rsi), %rbx
cmpq %rbx, %r13
je 0xf843
leaq 0x18(%rsp), %r15
leaq 0x8(%rsp), %r14
movq %rbp, 0xb0(%rsp)
movq %rbx, 0x48(%rsp)
movq %r15, 0x8(%rsp)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x1e780
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0xf6da
cmpq $0x1, %rax
je 0xf693
movq 0x8(%rsp), %rcx
cmpb $0x2d, (%rcx)
jne 0xf63c
movb 0x1(%rcx), %cl
cmpb $0x2d, %cl
jne 0xf703
cmpq $0x3, %rax
jb 0xf693
movl $0x2, %ecx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x52e0
movq %rbx, %rdi
leaq 0x13c0a(%rip), %rsi     # 0x2326d
callq 0x50d0
movl %eax, %ebx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xf686
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52c0
testl %ebx, %ebx
movq 0x48(%rsp), %rbx
je 0xf741
movq %r14, %rdi
leaq 0x13bd1(%rip), %rsi     # 0x2326e
callq 0x50d0
testl %eax, %eax
je 0xf8a0
movq %r14, %rdi
leaq 0x13bb9(%rip), %rsi     # 0x2326d
callq 0x50d0
testl %eax, %eax
je 0xf8a0
cmpq $0x0, 0x58(%rsp)
jne 0xf904
leaq 0x50(%rsp), %rdi
movq %r14, %rsi
callq 0x51a0
movq 0x8(%rsp), %rdi
cmpq %r15, %rdi
je 0xf6f1
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52c0
addq $0x20, %r13
cmpq %rbx, %r13
jne 0xf5fa
jmp 0xf843
cmpq $0x2, %rax
jne 0xf968
movsbl %cl, %edi
callq 0xfd74
testb %al, %al
je 0xf968
movl $0x1, 0x28(%rsp)
movq 0x8(%rsp), %rdx
incq %rdx
leaq 0x90(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0xfdcc
jmp 0xf6da
movl $0x2, %edx
leaq 0x28(%rsp), %rbx
movq %rbx, %rdi
movq %r14, %rsi
movq $-0x1, %rcx
callq 0x52e0
movq %r14, %rdi
movq %rbx, %rsi
callq 0x5370
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xf784
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52c0
cmpq $0x0, 0x10(%rsp)
je 0xf9c9
movq 0x8(%rsp), %rax
movsbl (%rax), %edi
callq 0xfd74
testb %al, %al
je 0xf9c9
movl $0x1, %edx
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq $-0x1, %rcx
callq 0x52e0
movq 0x28(%rsp), %rbx
movq 0x30(%rsp), %r15
testq %r15, %r15
je 0xf7f9
decq %r15
xorl %r12d, %r12d
movsbl (%rbx,%r12), %edi
callq 0x10690
movl %eax, %ebp
cmpq %r12, %r15
setne %al
incq %r12
testb %al, %bpl
jne 0xf7d3
movq 0x28(%rsp), %rbx
leaq 0x60(%rsp), %r12
jmp 0xf7fc
movb $0x1, %bpl
leaq 0x38(%rsp), %rax
cmpq %rax, %rbx
leaq 0x18(%rsp), %r15
je 0xf81b
movq 0x38(%rsp), %rsi
incq %rsi
movq %rbx, %rdi
callq 0x52c0
testb %bpl, %bpl
movq 0xb0(%rsp), %rbp
movq 0x48(%rsp), %rbx
je 0xf9c9
leaq 0x70(%rsp), %rdi
movq %r14, %rsi
callq 0xe1c4
jmp 0xf6da
leaq 0x90(%rsp), %rsi
leaq 0x70(%rsp), %rdx
leaq 0x50(%rsp), %rcx
movq %rbp, %rdi
callq 0x10700
movq 0x50(%rsp), %rdi
cmpq %r12, %rdi
je 0xf874
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x70(%rsp), %rdi
callq 0x714a
leaq 0x90(%rsp), %rdi
callq 0x714a
movq %rbp, %rax
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0xe8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xd8(%rsp), %rdi
callq 0x1e780
movb $0x1, %bpl
leaq 0xd8(%rsp), %rsi
movq %r14, %rdi
callq 0xff08
xorl %ebp, %ebp
leaq 0x1fd48(%rip), %rsi     # 0x2f638
leaq 0xc091(%rip), %rdx      # 0x1b988
movq %r14, %rdi
callq 0x54d0
jmp 0xfa28
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0xc8(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xb8(%rsp), %rdi
callq 0x1e780
movb $0x1, %bpl
leaq 0xb8(%rsp), %rsi
movq %r14, %rdi
callq 0xff80
xorl %ebp, %ebp
leaq 0x1fce4(%rip), %rsi     # 0x2f638
leaq 0xc02d(%rip), %rdx      # 0x1b988
movq %r14, %rdi
callq 0x54d0
jmp 0xfa28
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0x128(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0x118(%rsp), %rdi
callq 0x1e780
movb $0x1, %bpl
leaq 0x118(%rsp), %rsi
movq %r14, %rdi
callq 0xfe18
xorl %ebp, %ebp
leaq 0x1fc80(%rip), %rsi     # 0x2f638
leaq 0xbfc9(%rip), %rdx      # 0x1b988
movq %r14, %rdi
callq 0x54d0
jmp 0xfa28
movl $0x38, %edi
callq 0x5170
movq %rax, %r14
leaq 0x108(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
addq %rsi, %rdx
leaq 0xf8(%rsp), %rdi
callq 0x1e780
movb $0x1, %bpl
leaq 0xf8(%rsp), %rsi
movq %r14, %rdi
callq 0xfe90
xorl %ebp, %ebp
leaq 0x1fc1f(%rip), %rsi     # 0x2f638
leaq 0xbf68(%rip), %rdx      # 0x1b988
movq %r14, %rdi
callq 0x54d0
jmp 0xfabe
jmp 0xfb00
movq %rax, %rbx
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfaaa
movq 0x108(%rsp), %rsi
jmp 0xfaa2
jmp 0xfab1
movq %rax, %rbx
movq 0x118(%rsp), %rdi
cmpq %r12, %rdi
je 0xfaaa
movq 0x128(%rsp), %rsi
jmp 0xfaa2
jmp 0xfab1
jmp 0xfabe
jmp 0xfabe
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfaaa
movq 0xc8(%rsp), %rsi
jmp 0xfaa2
jmp 0xfab1
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %r12, %rdi
je 0xfaaa
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x52c0
testb %bpl, %bpl
jne 0xfab4
jmp 0xfae2
movq %rax, %rbx
movq %r14, %rdi
callq 0x5230
jmp 0xfae2
movq %rax, %rbx
jmp 0xfae2
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xfae2
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xfb03
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0xfb03
movq %rax, %rbx
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0xfb1f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x52c0
leaq 0x70(%rsp), %rdi
callq 0x714a
leaq 0x90(%rsp), %rdi
callq 0x714a
movq %rbx, %rdi
callq 0x5510