// File: /workspace/github_cpp_makefile_star2_O2/myint[P]optparse/./optparse.h
// Function: optparse::Option::check_type(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
std::string check_type(const std::string &opt, const std::string &val) const
        {
            std::istringstream ss(val);
            std::stringstream err;

            if (type() == "int" or type() == "long")
            {
                long t;
                if (not (ss >> t))
                {
                    err << "option" << " " << opt << ": " << "invalid integer value" << ": '" << val << "'";
                }
            }
            else if (type() == "float" or type() == "double")
            {
                double t;
                if (not (ss >> t))
                {
                    err << "option" << " " << opt << ": " << "invalid floating-point value" << ": '" << val << "'";
                }
            }
            else if (type() == "choice")
            {
                if (find(choices().begin(), choices().end(), val) == choices().end())
                {
                    std::list<std::string> tmp = choices();
                    std::transform(tmp.begin(), tmp.end(), tmp.begin(), detail::str_wrap("'"));
                    err << "option" << " " << opt << ": " << "invalid choice" << ": '" << val << "'"
                        << " (" << "choose from" << " " << detail::str_join(", ", tmp.begin(), tmp.end()) << ")";
                }
            }
            else if (type() == "complex")
            {
                std::complex<double> t;
                if (not (ss >> t))
                {
                    err << "option" << " " << opt << ": " << "invalid complex value" << ": '" << val << "'";
                }
            }

            return err.str();
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x438, %rsp            # imm = 0x438
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
leaq 0x2b8(%rsp), %rdi
pushq $0x8
popq %rdx
movq %rcx, %rsi
callq 0x3400
leaq 0x130(%rsp), %rdi
callq 0x31c0
leaq 0x80(%r12), %r13
leaq 0x2958(%rip), %rsi      # 0xd75e
movq %r13, %rdi
callq 0x8a6f
testb %al, %al
jne 0xae29
leaq 0x2cab(%rip), %rsi      # 0xdac4
movq %r13, %rdi
callq 0x8a6f
testb %al, %al
je 0xaefd
leaq 0x2b8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x3280
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
je 0xaebe
leaq 0x140(%rsp), %rdi
leaq 0x2c65(%rip), %rsi      # 0xdabd
callq 0x3260
leaq 0x2cd7(%rip), %rsi      # 0xdb3b
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r15, %rsi
callq 0x3220
leaq 0x2b87(%rip), %rsi      # 0xda05
movq %rax, %rdi
callq 0x3260
leaq 0x2c3c(%rip), %rsi      # 0xdac9
movq %rax, %rdi
callq 0x3260
leaq 0x2c43(%rip), %rsi      # 0xdadf
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r14, %rsi
callq 0x3220
leaq 0x2c2b(%rip), %rsi      # 0xdae1
movq %rax, %rdi
callq 0x3260
leaq 0x148(%rsp), %rsi
movq %rbx, %rdi
callq 0x33b0
leaq 0x130(%rsp), %rdi
callq 0x31e0
leaq 0x2b8(%rsp), %rdi
callq 0x3110
movq %rbx, %rax
addq $0x438, %rsp            # imm = 0x438
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x287b(%rip), %rsi      # 0xd77f
movq %r13, %rdi
callq 0x8a6f
testb %al, %al
jne 0xaf27
leaq 0x2bcc(%rip), %rsi      # 0xdae3
movq %r13, %rdi
callq 0x8a6f
testb %al, %al
je 0xafc5
leaq 0x2b8(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x31a0
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
je 0xaebe
leaq 0x140(%rsp), %rdi
leaq 0x2b63(%rip), %rsi      # 0xdabd
callq 0x3260
leaq 0x2bd5(%rip), %rsi      # 0xdb3b
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r15, %rsi
callq 0x3220
leaq 0x2a85(%rip), %rsi      # 0xda05
movq %rax, %rdi
callq 0x3260
leaq 0x2b5b(%rip), %rsi      # 0xdaea
movq %rax, %rdi
callq 0x3260
leaq 0x2b41(%rip), %rsi      # 0xdadf
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r14, %rsi
callq 0x3220
leaq 0x2b29(%rip), %rsi      # 0xdae1
movq %rax, %rdi
callq 0x3260
jmp 0xaebe
leaq 0x2b43(%rip), %rsi      # 0xdb0f
movq %r13, %rdi
callq 0x8a6f
testb %al, %al
je 0xb1d0
movq 0x108(%r12), %rdi
addq $0x108, %r12            # imm = 0x108
movq %r12, %rsi
movq %r14, %rdx
callq 0xb48c
cmpq %r12, %rax
jne 0xaebe
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x7804
movq 0x10(%rsp), %r13
leaq 0x2ac9(%rip), %rsi      # 0xdae1
leaq 0x50(%rsp), %rdi
leaq 0xd0(%rsp), %rdx
callq 0x30d0
leaq 0xf0(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0xac70
leaq 0x10(%rsp), %rsi
leaq 0xf0(%rsp), %rcx
movq %r13, %rdi
movq %r13, %rdx
callq 0xb412
leaq 0xf0(%rsp), %rdi
callq 0xacae
leaq 0x50(%rsp), %rdi
callq 0x3300
leaq 0x140(%rsp), %rdi
leaq 0x2a43(%rip), %rsi      # 0xdabd
callq 0x3260
leaq 0x2ab5(%rip), %rsi      # 0xdb3b
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r15, %rsi
callq 0x3220
leaq 0x2965(%rip), %rsi      # 0xda05
movq %rax, %rdi
callq 0x3260
leaq 0x2a58(%rip), %rsi      # 0xdb07
movq %rax, %rdi
callq 0x3260
leaq 0x2a21(%rip), %rsi      # 0xdadf
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r14, %rsi
callq 0x3220
leaq 0x2a09(%rip), %rsi      # 0xdae1
movq %rax, %rdi
callq 0x3260
leaq 0x29c8(%rip), %rsi      # 0xdaaf
movq %rax, %rdi
callq 0x3260
leaq 0x2a20(%rip), %rsi      # 0xdb16
movq %rax, %rdi
callq 0x3260
leaq 0x2a36(%rip), %rsi      # 0xdb3b
movq %rax, %rdi
callq 0x3260
movq %rax, %r15
leaq 0x27b2(%rip), %rsi      # 0xd8c9
leaq 0x90(%rsp), %rdi
leaq 0xe(%rsp), %rdx
callq 0x30d0
movq 0x10(%rsp), %r14
leaq 0x2a0b(%rip), %rsi      # 0xdb40
leaq 0xb0(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x30d0
movq %r15, 0x28(%rsp)
leaq 0x50(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0xac70
leaq 0x40(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
leaq 0xd0(%rsp), %r15
leaq 0x50(%rsp), %r13
leaq 0x30(%rsp), %rbp
movq %r14, %r12
leaq 0x10(%rsp), %rax
cmpq %rax, %r12
je 0xb28b
cmpq %r14, %r12
je 0xb1a7
movq %rbp, %rdi
leaq 0x90(%rsp), %rsi
callq 0x3490
leaq 0x10(%r12), %rdx
movq %r15, %rdi
movq %r13, %rsi
callq 0xace8
movq %rbp, %rdi
movq %r15, %rsi
callq 0x3490
movq %r15, %rdi
callq 0x3300
movq (%r12), %r12
jmp 0xb184
leaq 0x25b3(%rip), %rsi      # 0xd78a
movq %r13, %rdi
callq 0x8a6f
testb %al, %al
je 0xaebe
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rsi
movaps %xmm0, (%rsi)
leaq 0x2b8(%rsp), %rdi
callq 0x3370
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
je 0xaebe
leaq 0x140(%rsp), %rdi
leaq 0x289d(%rip), %rsi      # 0xdabd
callq 0x3260
leaq 0x290f(%rip), %rsi      # 0xdb3b
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r15, %rsi
callq 0x3220
leaq 0x27bf(%rip), %rsi      # 0xda05
movq %rax, %rdi
callq 0x3260
leaq 0x28cd(%rip), %rsi      # 0xdb22
movq %rax, %rdi
callq 0x3260
leaq 0x287b(%rip), %rsi      # 0xdadf
movq %rax, %rdi
callq 0x3260
movq %rax, %rdi
movq %r14, %rsi
callq 0x3220
leaq 0x2863(%rip), %rsi      # 0xdae1
movq %rax, %rdi
callq 0x3260
jmp 0xaebe
leaq 0x50(%rsp), %rdi
callq 0xacae
leaq 0xb0(%rsp), %rdi
callq 0x3300
movq 0x28(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x3220
leaq 0x26b1(%rip), %rsi      # 0xd969
movq %rax, %rdi
callq 0x3260
leaq 0x30(%rsp), %rdi
callq 0x3300
leaq 0x90(%rsp), %rdi
callq 0x3300
leaq 0x10(%rsp), %rdi
callq 0x71e4
jmp 0xaebe
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0xacae
jmp 0xb315
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x3300
jmp 0xb367
jmp 0xb32a
movq %rax, %rbx
jmp 0xb35a
jmp 0xb38d
jmp 0xb32a
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x3300
jmp 0xb374
jmp 0xb38d
movq %rax, %rbx
jmp 0xb367
jmp 0xb38d
movq %rax, %rbx
jmp 0xb374
jmp 0xb343
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x3300
jmp 0xb346
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x3300
leaq 0x50(%rsp), %rdi
callq 0xacae
leaq 0xb0(%rsp), %rdi
callq 0x3300
leaq 0x90(%rsp), %rdi
callq 0x3300
leaq 0x10(%rsp), %rdi
callq 0x71e4
jmp 0xb390
jmp 0xb3b2
jmp 0xb3b2
jmp 0xb38d
movq %rax, %rbx
jmp 0xb39d
jmp 0xb38d
movq %rax, %rbx
leaq 0x130(%rsp), %rdi
callq 0x31e0
leaq 0x2b8(%rsp), %rdi
callq 0x3110
movq %rbx, %rdi
callq 0x3430
movq %rax, %rdi
callq 0x62a4