// File: /workspace/github_cpp_makefile_star2_O3/demon386[P]git-store/./libs/program_options/src/variables_map.cpp
// Function: boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool)
BOOST_PROGRAM_OPTIONS_DECL
    void store(const parsed_options& options, variables_map& xm,
               bool utf8)
    {
        // TODO: what if we have different definition
        // for the same option name during different calls
        // 'store'.
        assert(options.description);
        const options_description& desc = *options.description;

        // We need to access map's operator[], not the overriden version
        // variables_map. Ehmm.. messy.
        std::map<std::string, variable_value>& m = xm;

        std::set<std::string> new_final;

        // Declared once, to please Intel in VC++ mode;
        unsigned i;

        // Declared here so can be used to provide context for exceptions
        string option_name;
        string original_token;

        try
        {

            // First, convert/store all given options
            for (i = 0; i < options.options.size(); ++i) {

                option_name = options.options[i].string_key;
                original_token = options.options[i].original_tokens.size() ?
                                options.options[i].original_tokens[0] :
                                option_name;
                // Skip positional options without name
                if (option_name.empty())
                    continue;

                // Ignore unregistered option. The 'unregistered'
                // field can be true only if user has explicitly asked
                // to allow unregistered options. We can't store them
                // to variables map (lacking any information about paring),
                // so just ignore them.
                if (options.options[i].unregistered)
                    continue;

                // If option has final value, skip this assignment
                if (xm.m_final.count(option_name))
                    continue;

                string original_token = options.options[i].original_tokens.size() ?
                                        options.options[i].original_tokens[0]     : "";
                const option_description& d = desc.find(option_name, false,
                                                        false, false);

                variable_value& v = m[option_name];
                if (v.defaulted()) {
                    // Explicit assignment here erases defaulted value
                    v = variable_value();
                }

                d.semantic()->parse(v.value(), options.options[i].value, utf8);

                v.m_value_semantic = d.semantic();

                // The option is not composing, and the value is explicitly
                // provided. Ignore values of this option for subsequent
                // calls to 'store'. We store this to a temporary set,
                // so that several assignment inside *this* 'store' call
                // are allowed.
                if (!d.semantic()->is_composing())
                    new_final.insert(option_name);
            }
        }
#ifndef BOOST_NO_EXCEPTIONS
        catch(error_with_option_name& e)
        {
            // add context and rethrow
            e.add_context(option_name, original_token, options.m_options_prefix);
            throw;
        }
#endif
        xm.m_final.insert(new_final.begin(), new_final.end());



        // Second, apply default values and store required options.
        const vector<shared_ptr<option_description> >& all = desc.options();
        for(i = 0; i < all.size(); ++i)
        {
            const option_description& d = *all[i];
            string key = d.key("");
            // FIXME: this logic relies on knowledge of option_description
            // internals.
            // The 'key' is empty if options description contains '*'.
            // In that
            // case, default value makes no sense at all.
            if (key.empty())
            {
                continue;
            }
            if (m.count(key) == 0) {

                boost::any def;
                if (d.semantic()->apply_default(def)) {
                    m[key] = variable_value(def, true);
                    m[key].m_value_semantic = d.semantic();
                }
            }

            // add empty value if this is an required option
            if (d.semantic()->is_required()) {

                // For option names specified in multiple ways, e.g. on the command line,
                // config file etc, the following precedence rules apply:
                //  "--"  >  ("-" or "/")  >  ""
                //  Precedence is set conveniently by a single call to length()
                string canonical_name = d.canonical_display_name(options.m_options_prefix);
                if (canonical_name.length() > xm.m_required[key].length())
                    xm.m_required[key] = canonical_name;
            }
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movl %edx, -0xc4(%rbp)
movq 0x18(%rdi), %rax
movq %rax, -0xd0(%rbp)
testq %rax, %rax
je 0x24a62
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x10(%rsi), %rax
movq %rax, -0x88(%rbp)
leaq -0x120(%rbp), %rdx
movl $0x0, (%rdx)
xorl %eax, %eax
movq %rax, 0x8(%rdx)
movq %rdx, 0x10(%rdx)
movq %rdx, 0x18(%rdx)
movq %rax, 0x20(%rdx)
leaq -0xb0(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0xe8(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq (%rdi), %rsi
movq %rdx, %rax
cmpq %rsi, 0x8(%rdi)
je 0x246ec
leaq 0x40(%r14), %rax
movq %rax, -0xa0(%rbp)
movq %r14, -0x98(%rbp)
leaq 0x48(%r14), %rax
movq %rax, -0xd8(%rbp)
movl $0x1, %r13d
xorl %eax, %eax
leaq -0xc0(%rbp), %r15
leaq (%rax,%rax,2), %r14
shlq $0x5, %r14
addq %r14, %rsi
movq %r15, %rdi
callq 0xb290
movq (%rbx), %rax
movq 0x40(%rax,%r14), %rsi
cmpq %rsi, 0x48(%rax,%r14)
cmoveq %r15, %rsi
leaq -0xf8(%rbp), %rdi
callq 0xb290
cmpq $0x0, -0xb8(%rbp)
movq (%rbx), %rsi
je 0x246af
cmpb $0x0, 0x58(%rsi,%r14)
jne 0x246af
movq -0xa0(%rbp), %rdi
movq %r15, %rsi
callq 0x146f2
movq (%rbx), %rsi
cmpq -0xd8(%rbp), %rax
jne 0x246af
movq 0x40(%rsi,%r14), %rax
cmpq %rax, 0x48(%rsi,%r14)
leaq -0x70(%rbp), %rcx
movq %rcx, -0x80(%rbp)
je 0x24515
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %rdi
callq 0xf98c
jmp 0x24528
leaq -0x80(%rbp), %rdi
leaq 0xe98a(%rip), %rdx      # 0x32eaa
movq %rdx, %rsi
callq 0xf8ee
movq -0xd0(%rbp), %rdi
movq %r15, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x16290
movq %rax, %r12
movq -0x88(%rbp), %rdi
movq %r15, %rsi
callq 0x24ec6
movq %rax, %r15
cmpb $0x1, 0x8(%rax)
jne 0x245d5
xorl %eax, %eax
movq %rax, -0x48(%rbp)
movb $0x0, -0x40(%rbp)
leaq -0x38(%rbp), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rcx)
movq (%r15), %rcx
movq %rcx, -0x48(%rbp)
movq %rax, (%r15)
movq -0x48(%rbp), %rdi
movq %rax, -0x48(%rbp)
testq %rdi, %rdi
je 0x2458d
movq (%rdi), %rax
callq *0x8(%rax)
movb -0x40(%rbp), %al
movb %al, 0x8(%r15)
movups -0x38(%rbp), %xmm0
leaq -0x38(%rbp), %rax
xorps %xmm1, %xmm1
movups %xmm1, (%rax)
movq 0x10(%r15), %rax
movq %rax, -0x60(%rbp)
movq 0x18(%r15), %rax
movups %xmm0, 0x10(%r15)
movq %rax, -0x58(%rbp)
leaq -0x58(%rbp), %rdi
callq 0xf546
leaq -0x30(%rbp), %rdi
callq 0xf546
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x245d5
movq (%rdi), %rax
callq *0x8(%rax)
leaq -0x48(%rbp), %rdi
movq %r12, %rsi
callq 0x15ba0
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x24a24
movq (%rbx), %rax
leaq (%rax,%r14), %rdx
addq $0x28, %rdx
movq (%rdi), %rax
movzbl -0xc4(%rbp), %ecx
movq %r15, %rsi
callq *0x30(%rax)
leaq -0x40(%rbp), %rdi
callq 0xf546
leaq -0x60(%rbp), %rdi
movq %r12, %rsi
callq 0x15ba0
movaps -0x60(%rbp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, -0x60(%rbp)
movq 0x10(%r15), %rax
movq %rax, -0x48(%rbp)
movq 0x18(%r15), %rax
movups %xmm0, 0x10(%r15)
movq %rax, -0x40(%rbp)
leaq -0x40(%rbp), %rdi
callq 0xf546
leaq -0x58(%rbp), %rdi
callq 0xf546
leaq -0x48(%rbp), %rdi
movq %r12, %rsi
callq 0x15ba0
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x24a24
movq (%rdi), %rax
callq *0x20(%rax)
movl %eax, %r15d
leaq -0x40(%rbp), %rdi
callq 0xf546
testb %r15b, %r15b
jne 0x24693
leaq -0x128(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0x14086
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x246a5
callq 0xb430
movq (%rbx), %rsi
leaq -0xc0(%rbp), %r15
movl %r13d, %eax
movq 0x8(%rbx), %rcx
subq %rsi, %rcx
sarq $0x5, %rcx
movabsq $-0x5555555555555555, %rdx # imm = 0xAAAAAAAAAAAAAAAB
imulq %rdx, %rcx
incl %r13d
cmpq %rax, %rcx
ja 0x24480
movq -0x110(%rbp), %rax
movq -0x98(%rbp), %r14
leaq -0x120(%rbp), %rdx
leaq 0x40(%r14), %rdi
movq %rax, %rsi
callq 0x255e2
movq -0xd0(%rbp), %rdi
callq 0x165f0
movq %rax, %r12
movq (%rax), %rax
cmpq %rax, 0x8(%r12)
je 0x249d6
leaq 0x18(%r14), %rcx
movq %rcx, -0xa0(%rbp)
addq $0x70, %r14
movq %r14, -0x98(%rbp)
movl $0x1, %r14d
xorl %ecx, %ecx
leaq -0x48(%rbp), %r15
shlq $0x4, %rcx
movq (%rax,%rcx), %r13
testq %r13, %r13
je 0x24a43
leaq -0x38(%rbp), %rax
movq %rax, -0x48(%rbp)
movq %r15, %rdi
leaq 0xe750(%rip), %rdx      # 0x32eaa
movq %rdx, %rsi
callq 0xf8ee
movq %r13, %rdi
movq %r15, %rsi
callq 0x159b8
leaq -0x70(%rbp), %rcx
movq %rcx, -0x80(%rbp)
movq (%rax), %rsi
movq 0x8(%rax), %rdx
addq %rsi, %rdx
leaq -0x80(%rbp), %rdi
callq 0xf98c
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x2479a
callq 0xb430
cmpq $0x0, -0x78(%rbp)
je 0x249a5
movq -0x88(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x2563c
cmpq -0xa0(%rbp), %rax
jne 0x24919
movq $0x0, -0x90(%rbp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x15ba0
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x24a24
movq (%rdi), %rax
leaq -0x90(%rbp), %rsi
callq *0x38(%rax)
movl %eax, %r15d
leaq -0x40(%rbp), %rdi
callq 0xf546
testb %r15b, %r15b
leaq -0x48(%rbp), %r15
je 0x24907
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x2481f
movq (%rdi), %rax
callq *0x18(%rax)
jmp 0x24821
xorl %eax, %eax
movq %rax, -0x48(%rbp)
movb $0x1, -0x40(%rbp)
leaq -0x38(%rbp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq -0x88(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x24ec6
movq %rax, %r15
movq -0x48(%rbp), %rax
movq (%r15), %rcx
movq %rcx, -0x48(%rbp)
movq %rax, (%r15)
movq -0x48(%rbp), %rdi
movq $0x0, -0x48(%rbp)
testq %rdi, %rdi
je 0x2486b
movq (%rdi), %rax
callq *0x8(%rax)
movb -0x40(%rbp), %al
movb %al, 0x8(%r15)
movups -0x38(%rbp), %xmm0
leaq -0x38(%rbp), %rax
xorps %xmm1, %xmm1
movups %xmm1, (%rax)
movq 0x10(%r15), %rax
movq %rax, -0x60(%rbp)
movq 0x18(%r15), %rax
movups %xmm0, 0x10(%r15)
movq %rax, -0x58(%rbp)
leaq -0x58(%rbp), %rdi
callq 0xf546
leaq -0x30(%rbp), %rdi
callq 0xf546
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x248b6
movq (%rdi), %rax
callq *0x8(%rax)
leaq -0x60(%rbp), %rdi
movq %r13, %rsi
callq 0x15ba0
leaq -0x48(%rbp), %r15
movq -0x88(%rbp), %rdi
leaq -0x80(%rbp), %rsi
callq 0x24ec6
movaps -0x60(%rbp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, -0x60(%rbp)
movq 0x10(%rax), %rcx
movq %rcx, -0x48(%rbp)
movq 0x18(%rax), %rcx
movups %xmm0, 0x10(%rax)
movq %rcx, -0x40(%rbp)
leaq -0x40(%rbp), %rdi
callq 0xf546
leaq -0x58(%rbp), %rdi
callq 0xf546
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x24919
movq (%rdi), %rax
callq *0x8(%rax)
movq %r15, %rdi
movq %r13, %rsi
callq 0x15ba0
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x24a24
movq (%rdi), %rax
callq *0x28(%rax)
movl %eax, %r15d
leaq -0x40(%rbp), %rdi
callq 0xf546
testb %r15b, %r15b
leaq -0x48(%rbp), %r15
je 0x249a5
movl 0x20(%rbx), %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x159f8
movq -0x40(%rbp), %r15
movq -0x98(%rbp), %r13
movq %r13, %rdi
leaq -0x80(%rbp), %rsi
callq 0xf106
cmpq 0x8(%rax), %r15
jbe 0x2498f
movq %r13, %rdi
leaq -0x80(%rbp), %rsi
callq 0xf106
movq %rax, %rdi
leaq -0x48(%rbp), %rsi
callq 0xb290
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x249a1
callq 0xb430
leaq -0x48(%rbp), %r15
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x249b7
callq 0xb430
movl %r14d, %ecx
movq (%r12), %rax
movq 0x8(%r12), %rdx
subq %rax, %rdx
sarq $0x4, %rdx
incl %r14d
cmpq %rcx, %rdx
ja 0x24737
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x249ee
callq 0xb430
movq -0xc0(%rbp), %rdi
leaq -0xb0(%rbp), %rax
cmpq %rax, %rdi
je 0x24a06
callq 0xb430
leaq -0x128(%rbp), %rdi
callq 0x138f0
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xdc09(%rip), %rdi      # 0x32634
leaq 0xdc0a(%rip), %rsi      # 0x3263c
leaq 0xdc24(%rip), %rcx      # 0x3265d
movl $0x2af, %edx            # imm = 0x2AF
callq 0xb310
leaq 0xdbea(%rip), %rdi      # 0x32634
leaq 0xdbeb(%rip), %rsi      # 0x3263c
leaq 0xef9c(%rip), %rcx      # 0x339f4
movl $0x2a8, %edx            # imm = 0x2A8
callq 0xb310
leaq 0x10c1e(%rip), %rdi     # 0x35687
leaq 0x10c2b(%rip), %rsi     # 0x3569b
leaq 0x10c51(%rip), %rcx     # 0x356c8
movl $0x1d, %edx
callq 0xb310
jmp 0x24b6f
jmp 0x24b53
jmp 0x24b53
jmp 0x24b06
jmp 0x24b6f
movq %rax, %r14
leaq -0x58(%rbp), %rdi
jmp 0x24aff
jmp 0x24b06
movq %rax, %r14
leaq -0x30(%rbp), %rdi
callq 0xf546
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x24b09
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x24b09
jmp 0x24ac5
jmp 0x24ada
jmp 0x24ada
movq %rdx, %r15
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0xf546
jmp 0x24ae0
jmp 0x24ada
jmp 0x24ada
movq %rdx, %r15
movq %rax, %r14
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
cmpq %rax, %rdi
je 0x24b75
callq 0xb430
jmp 0x24b75
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0xf546
jmp 0x24b09
movq %rax, %r14
movq -0x90(%rbp), %rdi
testq %rdi, %rdi
je 0x24b49
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x24b49
jmp 0x24b21
jmp 0x24b21
movq %rax, %r14
jmp 0x24b49
movq %rax, %r14
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x24b49
callq 0xb430
jmp 0x24b49
movq %rax, %r14
leaq -0x40(%rbp), %rdi
callq 0xf546
movq -0x80(%rbp), %rdi
leaq -0x70(%rbp), %rax
jmp 0x24b63
movq %rax, %r14
jmp 0x24bb9
movq %rax, %r14
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x24bb9
callq 0xb430
jmp 0x24bb9
movq %rdx, %r15
movq %rax, %r14
cmpl $0x1, %r15d
jne 0x24bb9
movq %r14, %rdi
callq 0xb1e0
movq %rax, %r14
movl 0x20(%rbx), %ebx
movq (%rax), %rax
leaq -0xc0(%rbp), %rsi
movq %r14, %rdi
callq *0x18(%rax)
leaq -0xf8(%rbp), %rsi
movq %r14, %rdi
callq 0xf080
movl %ebx, 0x10(%r14)
callq 0xb680
movq %rax, %r14
callq 0xb780
leaq -0xb0(%rbp), %rbx
movq -0xf8(%rbp), %rdi
leaq -0xe8(%rbp), %rax
cmpq %rax, %rdi
je 0x24bd8
callq 0xb430
movq -0xc0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x24be9
callq 0xb430
leaq -0x128(%rbp), %rdi
callq 0x138f0
movq %r14, %rdi
callq 0xb7f0
movq %rax, %rdi
callq 0xe915