// File: yeonnic[P]solparser/././argx.hpp
// Function: bool args::ArgumentParser::ParseLong<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*, 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>>>>>>(__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*, 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>>>>>&, __gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const*, 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>>>>>)
bool ParseLong(It &it, It end)
            {
                const auto &chunk = *it;
                const auto argchunk = chunk.substr(longprefix.size());
                // Try to separate it, in case of a separator:
                const auto separator = longseparator.empty() ? argchunk.npos : argchunk.find(longseparator);
                // If the separator is in the argument, separate it.
                const auto arg = (separator != argchunk.npos ?
                    std::string(argchunk, 0, separator)
                    : argchunk);
                const auto joined = (separator != argchunk.npos ?
                    argchunk.substr(separator + longseparator.size())
                    : std::string());

                if (auto flag = Match(arg))
                {
                    std::vector<std::string> values;
                    const std::string errorMessage = ParseArgsValues(*flag, arg, it, end, allowSeparateLongValue, allowJoinedLongValue,
                                                                     separator != argchunk.npos, joined, false, values);
                    if (!errorMessage.empty())
                    {
#ifndef ARGS_NOEXCEPT
                        throw ParseError(errorMessage);
#else
                        error = Error::Parse;
                        errorMsg = errorMessage;
                        return false;
#endif
                    }

                    if (!readCompletion)
                    {
                        flag->ParseValue(values);
                    }

                    if (flag->KickOut())
                    {
                        ++it;
                        return false;
                    }
                } else
                {
                    const std::string errorMessage("Flag could not be matched: " + arg);
#ifndef ARGS_NOEXCEPT
                    throw ParseError(errorMessage);
#else
                    error = Error::Parse;
                    errorMsg = errorMessage;
                    return false;
#endif
                }

                return true;
            }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdx, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movq %rsi, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x140(%rbp)
movq -0x20(%rbp), %rdi
callq 0x206c0
movq -0x140(%rbp), %rdi
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq %rax, -0x148(%rbp)
addq $0x178, %rdi            # imm = 0x178
callq 0x6240
movq -0x148(%rbp), %rsi
movq %rax, %rdx
leaq -0x48(%rbp), %rdi
movq $-0x1, %rcx
callq 0x6350
movq -0x140(%rbp), %rdi
addq $0x1b8, %rdi            # imm = 0x1B8
callq 0x65c0
testb $0x1, %al
jne 0x25170
jmp 0x25180
movq $-0x1, %rax
movq %rax, -0x150(%rbp)
jmp 0x251a2
movq -0x140(%rbp), %rsi
addq $0x1b8, %rsi            # imm = 0x1B8
leaq -0x48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
callq 0x66a0
movq %rax, -0x150(%rbp)
movq -0x150(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $-0x1, -0x50(%rbp)
je 0x251cd
movq -0x50(%rbp), %rcx
xorl %eax, %eax
movl %eax, %edx
leaq -0x70(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x64e0
jmp 0x251cb
jmp 0x251de
leaq -0x70(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x6150
jmp 0x251dc
jmp 0x251de
cmpq $-0x1, -0x50(%rbp)
je 0x25228
movq -0x140(%rbp), %rdi
movq -0x50(%rbp), %rax
movq %rax, -0x158(%rbp)
addq $0x1b8, %rdi            # imm = 0x1B8
callq 0x6240
movq -0x158(%rbp), %rdx
addq %rax, %rdx
leaq -0xa0(%rbp), %rdi
leaq -0x48(%rbp), %rsi
movq $-0x1, %rcx
callq 0x6350
jmp 0x25226
jmp 0x25234
leaq -0xa0(%rbp), %rdi
callq 0x6510
leaq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x20200
jmp 0x25246
movq -0x140(%rbp), %rdi
movq (%rdi), %rax
movq 0x38(%rax), %rax
leaq -0xd0(%rbp), %rsi
callq *%rax
movq %rax, -0x160(%rbp)
jmp 0x25266
leaq -0xd0(%rbp), %rdi
callq 0x85f0
movq -0x160(%rbp), %rax
movq %rax, -0xa8(%rbp)
cmpq $0x0, -0xa8(%rbp)
je 0x254b8
leaq -0xe8(%rbp), %rdi
movq %rdi, -0x168(%rbp)
callq 0xb7d0
movq -0x168(%rbp), %r11
movq -0x140(%rbp), %rsi
movq -0xa8(%rbp), %rdx
movq -0x20(%rbp), %r8
movq -0x10(%rbp), %rax
movq %rax, -0x110(%rbp)
movq -0x50(%rbp), %rax
subq $-0x1, %rax
setne %r10b
movq -0x110(%rbp), %r9
movzbl 0x1fb(%rsi), %ecx
movzbl 0x1f9(%rsi), %edi
movq %rsp, %rax
movq %r11, 0x28(%rax)
leaq -0xa0(%rbp), %r11
movq %r11, 0x18(%rax)
movzbl %r10b, %r10d
movl %r10d, 0x10(%rax)
andl $0x1, %edi
movl %edi, 0x8(%rax)
andl $0x1, %ecx
movl %ecx, (%rax)
movl $0x0, 0x20(%rax)
leaq -0x108(%rbp), %rdi
leaq -0x70(%rbp), %rcx
callq 0x27840
jmp 0x25324
leaq -0x108(%rbp), %rdi
callq 0x65c0
testb $0x1, %al
jne 0x2540b
movl $0x10, %edi
callq 0x61a0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x170(%rbp)
leaq -0x108(%rbp), %rsi
callq 0x25d30
jmp 0x2535d
movq -0x170(%rbp), %rdi
leaq 0x27055(%rip), %rsi     # 0x4c3c0
leaq -0x4822(%rip), %rdx     # 0x20b50
callq 0x65e0
jmp 0x255aa
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x25598
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x2558f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x25583
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x85f0
jmp 0x25583
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x254a7
movq -0x170(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
callq 0x6270
jmp 0x2549b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x2549b
movq -0x140(%rbp), %rax
testb $0x1, 0x208(%rax)
jne 0x25439
movq -0xa8(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
leaq -0xe8(%rbp), %rsi
callq *%rax
jmp 0x25437
jmp 0x25439
movq -0xa8(%rbp), %rdi
callq 0x25fc0
testb $0x1, %al
jne 0x2544b
jmp 0x25464
movq -0x20(%rbp), %rdi
callq 0x206e0
movb $0x0, -0x1(%rbp)
movl $0x1, -0x114(%rbp)
jmp 0x2546e
movl $0x0, -0x114(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x61f0
leaq -0xe8(%rbp), %rdi
callq 0x13c70
movl -0x114(%rbp), %eax
testl %eax, %eax
jne 0x25557
jmp 0x25496
jmp 0x25549
leaq -0x108(%rbp), %rdi
callq 0x61f0
leaq -0xe8(%rbp), %rdi
callq 0x13c70
jmp 0x25583
leaq 0x11e6f(%rip), %rsi     # 0x3732e
leaq -0x138(%rbp), %rdi
leaq -0x70(%rbp), %rdx
callq 0x16920
jmp 0x254d1
movl $0x10, %edi
callq 0x61a0
movq %rax, %rdi
movq %rdi, %rax
movq %rax, -0x178(%rbp)
leaq -0x138(%rbp), %rsi
callq 0x25d30
jmp 0x254f6
movq -0x178(%rbp), %rdi
leaq 0x26ebc(%rip), %rsi     # 0x4c3c0
leaq -0x49bb(%rip), %rdx     # 0x20b50
callq 0x65e0
jmp 0x255aa
movq -0x178(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
callq 0x6270
jmp 0x2553b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x138(%rbp), %rdi
callq 0x61f0
jmp 0x25583
movb $0x1, -0x1(%rbp)
movl $0x1, -0x114(%rbp)
leaq -0xa0(%rbp), %rdi
callq 0x61f0
leaq -0x70(%rbp), %rdi
callq 0x61f0
leaq -0x48(%rbp), %rdi
callq 0x61f0
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
leaq -0xa0(%rbp), %rdi
callq 0x61f0
leaq -0x70(%rbp), %rdi
callq 0x61f0
leaq -0x48(%rbp), %rdi
callq 0x61f0
movq -0x78(%rbp), %rdi
callq 0x6620
nopw (%rax,%rax)