// File: /workspace/github_cpp_makefile_star2_O3/zeeev[P]DASVC/bamtools/src/utils/bamtools_options.h
// Function: void BamTools::Options::AddValueOption<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, 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&, 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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, BamTools::OptionGroup*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Options::AddValueOption(const std::string& argument, 
                             const std::string& valueDescription, 
                             const std::string& optionDescription, 
                             const std::string& valueTypeDescription, 
                             bool& foundArgument, 
                             T& val, 
                             OptionGroup* group, 
                             D& defaultValue) 
{
        Option o;
        o.Argument         = argument;
        o.ValueDescription = valueDescription;
        o.Description      = optionDescription;
        o.DefaultValue     = defaultValue;
        o.HasDefaultValue  = true;
        group->Options.push_back(o);

        OptionValue ov;
        ov.pFoundArgument       = &foundArgument;
        ov.pValue               = (void*)&val;
        ov.VariantValue         = val;
        ov.IsRequired           = (valueTypeDescription.empty() ? false : true);
        ov.ValueTypeDescription = valueTypeDescription;
        m_optionsMap[argument] = ov;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %r9, %r15
movq %r8, %r12
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %rbx
leaq 0x58(%rsp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x78(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq 0x98(%rsp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movw $0x1, 0x10(%rcx)
movq %rax, 0x18(%rcx)
leaq 0x48(%rsp), %rdi
movq %rbx, %rsi
callq 0x27350
leaq 0x68(%rsp), %rdi
movq %rbp, %rsi
callq 0x27350
leaq 0x88(%rsp), %rdi
movq %r13, %rsi
callq 0x27350
movq 0x138(%rsp), %rax
leaq 0xe8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq 0xd8(%rsp), %rdi
callq 0x2f10a
leaq 0x8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
callq 0x2f6a2
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2ec92
incq 0x8(%rdi)
movq 0xb0(%rsp), %rax
testq %rax, %rax
je 0x2ecb3
decq 0x8(%rax)
jne 0x2ecb3
movq (%rax), %rcx
movq %rax, %rdi
callq *0x8(%rcx)
movq 0x8(%rsp), %rdi
movq %rdi, 0xb0(%rsp)
testq %rdi, %rdi
je 0x2eccc
decq 0x8(%rdi)
jne 0x2eccc
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x130(%rsp), %r13
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2ece6
callq 0x27560
leaq 0x48(%rsp), %rsi
movb $0x1, 0x61(%rsi)
addq $0x20, %r13
movq %r13, %rdi
callq 0x2f796
leaq 0x28(%rsp), %r13
movq %r13, -0x10(%r13)
xorl %eax, %eax
movq %rax, -0x8(%r13)
movb %al, (%r13)
movw $0x100, 0x10(%r13)      # imm = 0x100
movb %al, 0x12(%r13)
movq %rax, 0x18(%r13)
movq %r12, -0x20(%r13)
movq %r15, -0x18(%r13)
leaq 0xc8(%rsp), %r12
movq %r12, -0x10(%r12)
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
leaq 0xb8(%rsp), %rdi
callq 0x2f10a
movq %rsp, %rdi
leaq 0xb8(%rsp), %rsi
callq 0x2f6a2
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2ed66
incq 0x8(%rdi)
movq 0x40(%rsp), %rax
testq %rax, %rax
je 0x2ed83
decq 0x8(%rax)
jne 0x2ed83
movq (%rax), %rcx
movq %rax, %rdi
callq *0x8(%rcx)
movq (%rsp), %rdi
movq %rdi, 0x40(%rsp)
testq %rdi, %rdi
je 0x2ed99
decq 0x8(%rdi)
jne 0x2ed99
movq (%rdi), %rax
callq *0x8(%rax)
leaq 0x18(%rsp), %r15
movq 0xb8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2edb0
callq 0x27560
cmpq $0x0, 0x8(%r14)
setne 0x3a(%rsp)
movq %r15, %rdi
movq %r14, %rsi
callq 0x27350
leaq 0x6188c(%rip), %rdi     # 0x90658
movq %rbx, %rsi
callq 0x2f8d6
movq %rax, %rbx
movups 0x8(%rsp), %xmm0
movups %xmm0, (%rax)
leaq 0x10(%rax), %rdi
movq %r15, %rsi
callq 0x27350
leaq 0x38(%rsp), %rax
leaq 0x40(%rsp), %rsi
movb 0x2(%rax), %cl
movb %cl, 0x32(%rbx)
movzwl (%rax), %eax
movw %ax, 0x30(%rbx)
addq $0x38, %rbx
movq %rbx, %rdi
callq 0x2f75a
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x2ee24
decq 0x8(%rdi)
jne 0x2ee24
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
je 0x2ee33
callq 0x27560
movq 0xb0(%rsp), %rdi
testq %rdi, %rdi
je 0x2ee4c
decq 0x8(%rdi)
jne 0x2ee4c
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x2ee66
callq 0x27560
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2ee7a
callq 0x27560
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2ee8e
callq 0x27560
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0x88(%rsp), %rdi
leaq 0x98(%rsp), %rax
cmpq %rax, %rdi
je 0x2eebd
callq 0x27560
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x2eed1
callq 0x27560
movq 0x48(%rsp), %rdi
leaq 0x58(%rsp), %rax
cmpq %rax, %rdi
je 0x2ef80
callq 0x27560
jmp 0x2ef80
movq %rax, %rbx
movq 0x18(%rsp), %rdi
cmpq %r13, %rdi
jne 0x2ef5d
jmp 0x2ef76
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x2ef39
decq 0x8(%rdi)
jne 0x2ef39
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x2ef39
movq %rax, %rbx
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x2ef50
decq 0x8(%rdi)
jne 0x2ef50
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x2ef50
jmp 0x2ef64
jmp 0x2ef73
movq %rax, %rbx
movq 0xb8(%rsp), %rdi
cmpq %r12, %rdi
je 0x2ef67
callq 0x27560
jmp 0x2ef67
movq %rax, %rbx
movq 0xd8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2ef76
callq 0x27560
jmp 0x2ef76
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x2fa84
jmp 0x2ef76
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x2fada
movq %rbx, %rdi
callq 0x27b10
movq %rax, %rdi
callq 0x2e1cd