// File: myint[P]optparse/./optparse.h
// Function: optparse::OptionParser::handle_long_opt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void handle_long_opt(const std::string &optstr)
        {
            _remaining.pop_front();
            std::string opt;
            std::string value;

            size_t delim = optstr.find('=');
            if (delim != std::string::npos)
            {
                opt = optstr.substr(0, delim);
                value = optstr.substr(delim + 1);
            }
            else
            {
                opt = optstr;
            }

            const Option &option = lookup_long_opt(opt);
            if (option._nargs == 1 and delim == std::string::npos)
            {
                if (not _remaining.empty())
                {
                    value = _remaining.front();
                    _remaining.pop_front();
                }
            }

            if (option._nargs == 1 and value.empty())
            {
                error("--" + opt + " " + "option requires an argument");
            }

            process_opt(option, std::string("--") + opt, value);
        }

// Assembly:
subq $0x198, %rsp            # imm = 0x198
movq %rdi, 0x190(%rsp)
movq %rsi, 0x188(%rsp)
movq 0x190(%rsp), %rdi
movq %rdi, 0x38(%rsp)
addq $0x208, %rdi            # imm = 0x208
callq 0x182b0
leaq 0x168(%rsp), %rdi
callq 0x4460
leaq 0x148(%rsp), %rdi
callq 0x4460
jmp 0x1832c
movq 0x188(%rsp), %rdi
xorl %eax, %eax
movl %eax, %edx
movl $0x3d, %esi
callq 0x4410
movq %rax, 0x30(%rsp)
jmp 0x18349
movq 0x30(%rsp), %rax
movq %rax, 0x130(%rsp)
cmpq $-0x1, 0x130(%rsp)
je 0x18484
movq 0x188(%rsp), %rsi
movq 0x130(%rsp), %rcx
xorl %eax, %eax
movl %eax, %edx
leaq 0x110(%rsp), %rdi
callq 0x4360
jmp 0x18388
leaq 0x168(%rsp), %rdi
leaq 0x110(%rsp), %rsi
callq 0x4040
jmp 0x1839f
leaq 0x110(%rsp), %rdi
callq 0x4618
jmp 0x183ae
movq 0x188(%rsp), %rsi
movq 0x130(%rsp), %rdx
incq %rdx
leaq 0xf0(%rsp), %rdi
movq $-0x1, %rcx
callq 0x4360
jmp 0x183d7
leaq 0x148(%rsp), %rdi
leaq 0xf0(%rsp), %rsi
callq 0x4040
jmp 0x183ee
leaq 0xf0(%rsp), %rdi
callq 0x4618
jmp 0x183fd
jmp 0x1849d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
jmp 0x187ad
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
jmp 0x1879c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
leaq 0x110(%rsp), %rdi
callq 0x4618
jmp 0x18457
jmp 0x1879c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
leaq 0xf0(%rsp), %rdi
callq 0x4618
jmp 0x1847f
jmp 0x1879c
movq 0x188(%rsp), %rsi
leaq 0x168(%rsp), %rdi
callq 0x4040
jmp 0x1849b
jmp 0x1849d
movq 0x38(%rsp), %rdi
leaq 0x168(%rsp), %rsi
callq 0x19840
movq %rax, 0x28(%rsp)
jmp 0x184b6
movq 0x28(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0xe8(%rsp), %rax
cmpq $0x1, 0xe0(%rax)
jne 0x18538
cmpq $-0x1, 0x130(%rsp)
jne 0x18538
movq 0x38(%rsp), %rdi
addq $0x208, %rdi            # imm = 0x208
callq 0x18260
testb $0x1, %al
jne 0x18536
movq 0x38(%rsp), %rdi
addq $0x208, %rdi            # imm = 0x208
callq 0x18280
movq %rax, 0x20(%rsp)
jmp 0x1850d
movq 0x20(%rsp), %rsi
leaq 0x148(%rsp), %rdi
callq 0x4040
jmp 0x18521
movq 0x38(%rsp), %rdi
addq $0x208, %rdi            # imm = 0x208
callq 0x182b0
jmp 0x18534
jmp 0x18536
jmp 0x18538
movq 0xe8(%rsp), %rax
cmpq $0x1, 0xe0(%rax)
jne 0x18685
leaq 0x148(%rsp), %rdi
callq 0x4510
movb %al, 0x1f(%rsp)
jmp 0x18561
movb 0x1f(%rsp), %al
testb $0x1, %al
jne 0x1856e
jmp 0x18685
leaq 0x955c(%rip), %rsi      # 0x21ad1
leaq 0x88(%rsp), %rdi
leaq 0x168(%rsp), %rdx
callq 0x1a090
jmp 0x1858c
leaq 0x95cd(%rip), %rdx      # 0x21b60
leaq 0xa8(%rsp), %rdi
leaq 0x88(%rsp), %rsi
callq 0x1a000
jmp 0x185aa
leaq 0x94f1(%rip), %rdx      # 0x21aa2
leaq 0xc8(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x1a000
jmp 0x185c8
movq 0x38(%rsp), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
leaq 0xc8(%rsp), %rsi
callq *%rax
jmp 0x185e0
leaq 0xc8(%rsp), %rdi
callq 0x4618
jmp 0x185ef
leaq 0xa8(%rsp), %rdi
callq 0x4618
jmp 0x185fe
leaq 0x88(%rsp), %rdi
callq 0x4618
jmp 0x1860d
jmp 0x18685
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
jmp 0x18671
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
jmp 0x18660
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x4618
jmp 0x1865e
jmp 0x18660
leaq 0xa8(%rsp), %rdi
callq 0x4618
jmp 0x1866f
jmp 0x18671
leaq 0x88(%rsp), %rdi
callq 0x4618
jmp 0x18680
jmp 0x1879c
movq 0xe8(%rsp), %rax
movq %rax, 0x8(%rsp)
leaq 0x47(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x4580
movq 0x10(%rsp), %rdx
leaq 0x9424(%rip), %rsi      # 0x21ad1
leaq 0x48(%rsp), %rdi
callq 0x4450
jmp 0x186b9
leaq 0x68(%rsp), %rdi
leaq 0x48(%rsp), %rsi
leaq 0x168(%rsp), %rdx
callq 0x1aa30
jmp 0x186d2
movq 0x8(%rsp), %rsi
movq 0x38(%rsp), %rdi
leaq 0x68(%rsp), %rdx
leaq 0x148(%rsp), %rcx
callq 0x1a1d0
jmp 0x186f0
leaq 0x68(%rsp), %rdi
callq 0x4618
jmp 0x186fc
leaq 0x48(%rsp), %rdi
callq 0x4618
jmp 0x18708
leaq 0x47(%rsp), %rdi
callq 0x4390
leaq 0x148(%rsp), %rdi
callq 0x4618
jmp 0x18721
leaq 0x168(%rsp), %rdi
callq 0x4618
addq $0x198, %rsp            # imm = 0x198
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
jmp 0x18792
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
jmp 0x18784
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x140(%rsp)
movl %eax, 0x13c(%rsp)
leaq 0x68(%rsp), %rdi
callq 0x4618
jmp 0x18782
jmp 0x18784
leaq 0x48(%rsp), %rdi
callq 0x4618
jmp 0x18790
jmp 0x18792
leaq 0x47(%rsp), %rdi
callq 0x4390
leaq 0x148(%rsp), %rdi
callq 0x4618
jmp 0x187ab
jmp 0x187ad
leaq 0x168(%rsp), %rdi
callq 0x4618
jmp 0x187bc
jmp 0x187be
movq 0x140(%rsp), %rdi
callq 0x4570
movq %rax, %rdi
callq 0xcc60
nopw %cs:(%rax,%rax)
nopl (%rax)