// File: /workspace/github_cpp_makefile_star2_O2/zeeev[P]DASVC/bamtools/src/utils/bamtools_options.h
// Function: void BamTools::Options::AddValueOption<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>>>>, 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::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>>>>&, 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, %rbx
movq %rdx, %r13
leaq 0x98(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movq %rsi, %rbp
xorl %ecx, %ecx
movb %cl, (%rax)
leaq 0xb8(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movq %rdi, %r14
movb %cl, (%rax)
leaq 0xd8(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb %cl, (%rax)
movw $0x1, 0x10(%rax)
andq $0x0, 0x18(%rax)
leaq 0x88(%rsp), %rdi
movq %r14, %rsi
callq 0x35340
leaq 0xa8(%rsp), %rdi
movq %rbp, %rsi
callq 0x35340
leaq 0xc8(%rsp), %rdi
movq %r13, %rsi
callq 0x35340
movq 0x138(%rsp), %rsi
leaq 0x68(%rsp), %rdi
callq 0x35810
leaq 0x28(%rsp), %rdi
leaq 0x68(%rsp), %rsi
callq 0x3b144
leaq 0xf0(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x3b1b6
leaq 0x28(%rsp), %rdi
callq 0x3b1ea
leaq 0x68(%rsp), %rdi
callq 0x35730
movq 0x130(%rsp), %rdi
leaq 0x88(%rsp), %rsi
movb $0x1, 0x61(%rsi)
addq $0x20, %rdi
callq 0x3b1f8
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
xorl %ecx, %ecx
movb %cl, (%rax)
movw $0x100, 0x10(%rax)      # imm = 0x100
movb %cl, 0x12(%rax)
andq $0x0, 0x18(%rax)
movq %r12, -0x20(%rax)
movq %r15, -0x18(%rax)
leaq 0x10(%rsp), %rdi
movq %r15, %rsi
callq 0x3b224
leaq 0x8(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x3b280
leaq 0x60(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x3b1b6
leaq 0x8(%rsp), %rdi
callq 0x3b1ea
leaq 0x10(%rsp), %rdi
callq 0x3abf0
cmpq $0x0, 0x8(%rbx)
leaq 0x38(%rsp), %rdi
setne 0x22(%rdi)
movq %rbx, %rsi
callq 0x35340
leaq 0x5c149(%rip), %rdi     # 0x96698
movq %r14, %rsi
callq 0x3b2fa
leaq 0x28(%rsp), %rsi
movq %rax, %rdi
callq 0x3b3ca
leaq 0x28(%rsp), %rdi
callq 0x3b412
leaq 0x88(%rsp), %rdi
callq 0x3b454
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3a5de
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x3b1ea
jmp 0x3a5b2
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x3b1ea
jmp 0x3a5c3
jmp 0x3a5cf
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x3abf0
jmp 0x3a5d2
jmp 0x3a5de
movq %rax, %rbx
leaq 0x68(%rsp), %rdi
callq 0x35730
jmp 0x3a5e1
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x3b412
jmp 0x3a5e1
movq %rax, %rbx
leaq 0x88(%rsp), %rdi
callq 0x3b454
movq %rbx, %rdi
callq 0x35b50
movq %rax, %rdi
callq 0x3a198