// File: demon386[P]git-store/./libs/program_options/src/cmdline.cpp
// Function: boost::program_options::detail::cmdline::parse_long_option(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>>>>&)
vector<option> 
    cmdline::parse_long_option(vector<string>& args)
    {
        vector<option> result;
        const string& tok = args[0];
        if (tok.size() >= 3 && tok[0] == '-' && tok[1] == '-')
        {   
            string name, adjacent;

            string::size_type p = tok.find('=');
            if (p != tok.npos)
            {
                name = tok.substr(2, p-2);
                adjacent = tok.substr(p+1);
                if (adjacent.empty())
                    boost::throw_exception( invalid_command_line_syntax(
                                                      invalid_command_line_syntax::empty_adjacent_parameter, 
                                                      name,
                                                      name,
                                                      get_canonical_option_prefix()) );
            }
            else
            {
                name = tok.substr(2);
            }
            option opt;
            opt.string_key = name;
            if (!adjacent.empty())
                opt.value.push_back(adjacent);
            opt.original_tokens.push_back(tok);
            result.push_back(opt);
            args.erase(args.begin());
        }
        return result;
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x250, %rsp            # imm = 0x250
movq %rdi, -0x230(%rbp)
movq %rdi, %rax
movq %rax, -0x228(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x220(%rbp)
movb $0x0, -0x19(%rbp)
callq 0x12450
movq -0x18(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x12820
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0xd430
cmpq $0x3, %rax
jb 0x1035f
movq -0x28(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xd6d0
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x1035f
movq -0x28(%rbp), %rdi
movl $0x1, %esi
callq 0xd6d0
movsbl (%rax), %eax
cmpl $0x2d, %eax
jne 0x1035f
leaq -0x48(%rbp), %rdi
callq 0xd8f0
leaq -0x68(%rbp), %rdi
callq 0xd8f0
movq -0x28(%rbp), %rdi
movl $0x3d, %esi
xorl %eax, %eax
movl %eax, %edx
callq 0xd850
movq %rax, -0x70(%rbp)
cmpq $-0x1, -0x70(%rbp)
je 0x10206
movq -0x28(%rbp), %rsi
movq -0x70(%rbp), %rcx
addq $-0x2, %rcx
leaq -0x90(%rbp), %rdi
movl $0x2, %edx
callq 0xd650
jmp 0x10125
leaq -0x48(%rbp), %rdi
leaq -0x90(%rbp), %rsi
movq %rsi, -0x238(%rbp)
callq 0xd790
movq -0x238(%rbp), %rdi
callq 0xdca8
movq -0x28(%rbp), %rsi
movq -0x70(%rbp), %rdx
incq %rdx
leaq -0xc0(%rbp), %rdi
movq $-0x1, %rcx
callq 0xd650
jmp 0x10168
leaq -0x68(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0xd790
leaq -0xc0(%rbp), %rdi
callq 0xdca8
leaq -0x68(%rbp), %rdi
callq 0xdab0
testb $0x1, %al
jne 0x10193
jmp 0x10204
movq -0x220(%rbp), %rdi
callq 0xec00
movl %eax, %r8d
leaq -0x180(%rbp), %rdi
movl $0x21, %esi
leaq -0x48(%rbp), %rcx
movq %rcx, %rdx
callq 0x12f00
jmp 0x101bc
leaq -0x180(%rbp), %rdi
callq 0x12e20
jmp 0x101ca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
jmp 0x1033f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
leaq -0x180(%rbp), %rdi
callq 0x12f50
jmp 0x1033f
jmp 0x10240
movq -0x28(%rbp), %rsi
leaq -0x1a0(%rbp), %rdi
movl $0x2, %edx
movq $-0x1, %rcx
callq 0xd650
jmp 0x10224
leaq -0x48(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0xd790
leaq -0x1a0(%rbp), %rdi
callq 0xdca8
leaq -0x200(%rbp), %rdi
callq 0x12760
jmp 0x1024e
leaq -0x200(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0xd060
jmp 0x10260
leaq -0x68(%rbp), %rdi
callq 0xdab0
testb $0x1, %al
jne 0x102a4
leaq -0x1d8(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x127b0
jmp 0x1027f
jmp 0x102a4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x98(%rbp)
movl %eax, -0x9c(%rbp)
leaq -0x200(%rbp), %rdi
callq 0x12920
jmp 0x1033f
leaq -0x1c0(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0x127b0
jmp 0x102b6
movq -0x230(%rbp), %rdi
leaq -0x200(%rbp), %rsi
callq 0x12690
jmp 0x102cb
movq -0x18(%rbp), %rdi
movq %rdi, -0x248(%rbp)
callq 0x128b0
movq %rax, -0x210(%rbp)
leaq -0x208(%rbp), %rdi
leaq -0x210(%rbp), %rsi
callq 0x128e0
movq -0x248(%rbp), %rdi
movq -0x208(%rbp), %rsi
callq 0x12840
movq %rax, -0x240(%rbp)
jmp 0x10311
movq -0x240(%rbp), %rax
movq %rax, -0x218(%rbp)
leaq -0x200(%rbp), %rdi
callq 0x12920
leaq -0x68(%rbp), %rdi
callq 0xdca8
leaq -0x48(%rbp), %rdi
callq 0xdca8
jmp 0x1035f
leaq -0x68(%rbp), %rdi
callq 0xdca8
leaq -0x48(%rbp), %rdi
callq 0xdca8
movq -0x230(%rbp), %rdi
callq 0x12700
jmp 0x10385
movb $0x1, -0x19(%rbp)
testb $0x1, -0x19(%rbp)
jne 0x10375
movq -0x230(%rbp), %rdi
callq 0x12700
movq -0x228(%rbp), %rax
addq $0x250, %rsp            # imm = 0x250
popq %rbp
retq
movq -0x98(%rbp), %rdi
callq 0xdb30
nopw %cs:(%rax,%rax)