// File: /workspace/github_cpp_makefile_star2_O2/demon386[P]git-store/./libs/program_options/src/value_semantic.cpp
// Function: boost::program_options::error_with_option_name::substitute_placeholders(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
void error_with_option_name::substitute_placeholders(const string& error_template) const
    {
        m_message = error_template;
        std::map<std::string, std::string> substitutions(m_substitutions);
        substitutions["canonical_option"]   = get_canonical_option_name();
        substitutions["prefix"]             = get_canonical_option_prefix();


        //
        //  replace placeholder with defaults if values are missing 
        // 
        for (map<string, string_pair>::const_iterator iter = m_substitution_defaults.begin();
              iter != m_substitution_defaults.end(); ++iter)
        {
            // missing parameter: use default
            if (substitutions.count(iter->first) == 0 ||
                substitutions[iter->first].length() == 0)
                replace_token(iter->second.first, iter->second.second);
        }


        //
        //  replace placeholder with values
        //  placeholder are denoted by surrounding '%'
        // 
        for (map<string, string>::iterator iter = substitutions.begin();
              iter != substitutions.end(); ++iter)
            replace_token('%' + iter->first + '%', iter->second);
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
addq $0x98, %rdi
callq 0xc2b0
leaq 0x18(%rbx), %rsi
leaq -0xa0(%rbp), %rdi
callq 0x117ec
leaq -0x70(%rbp), %rdi
movq %rbx, %rsi
callq 0x1d234
leaq 0x118eb(%rip), %rsi     # 0x2ed88
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0xc1b0
leaq -0xa0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x1303c
leaq -0x70(%rbp), %r14
movq %rax, %rdi
movq %r14, %rsi
callq 0xc5a0
leaq -0x50(%rbp), %rdi
callq 0xc9a0
movq %r14, %rdi
callq 0xc9a0
leaq -0x70(%rbp), %rdi
movq %rbx, %rsi
callq 0x1d170
leaq 0x118c1(%rip), %rsi     # 0x2edae
leaq -0x50(%rbp), %rdi
leaq -0x29(%rbp), %rdx
callq 0xc1b0
leaq -0xa0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x1303c
movq %rax, %rdi
movq %r14, %rsi
callq 0xc5a0
leaq -0x50(%rbp), %rdi
callq 0xc9a0
movq %r14, %rdi
callq 0xc9a0
movq 0x60(%rbx), %r15
leaq 0x50(%rbx), %r13
leaq -0xa0(%rbp), %r14
cmpq %r13, %r15
je 0x1d57d
leaq 0x20(%r15), %r12
movq %r14, %rdi
movq %r12, %rsi
callq 0x1e17a
testq %rax, %rax
je 0x1d560
movq %r14, %rdi
movq %r12, %rsi
callq 0xf180
cmpq $0x0, 0x8(%rax)
jne 0x1d570
leaq 0x40(%r15), %rsi
leaq 0x60(%r15), %rdx
movq %rbx, %rdi
callq 0x1d120
movq %r15, %rdi
callq 0xc550
movq %rax, %r15
jmp 0x1d535
leaq -0x98(%rbp), %rax
movq 0x10(%rax), %r13
leaq -0x50(%rbp), %r14
pushq $0x25
popq %r15
leaq -0x70(%rbp), %r12
leaq -0x98(%rbp), %rax
cmpq %rax, %r13
je 0x1d5e9
leaq 0x20(%r13), %rdx
movq %r14, %rdi
movl %r15d, %esi
callq 0x1e19e
movq %r12, %rdi
movq %r14, %rsi
movl %r15d, %edx
callq 0xef0e
leaq 0x40(%r13), %rdx
movq %rbx, %rdi
movq %r12, %rsi
callq 0x1d120
movq %r12, %rdi
callq 0xc9a0
movq %r14, %rdi
callq 0xc9a0
movq %r13, %rdi
callq 0xc360
movq %rax, %r13
jmp 0x1d594
leaq -0xa0(%rbp), %rdi
callq 0xf7f2
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1d60a
jmp 0x1d618
jmp 0x1d641
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0xc9a0
jmp 0x1d61b
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
jmp 0x1d63a
jmp 0x1d641
jmp 0x1d641
movq %rax, %rbx
jmp 0x1d636
movq %rax, %rbx
leaq -0x70(%rbp), %rdi
callq 0xc9a0
leaq -0x50(%rbp), %rdi
callq 0xc9a0
jmp 0x1d644
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0xf7f2
movq %rbx, %rdi
callq 0xc850