// File: /workspace/github_cpp_makefile_star2_O1/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 0xb290
leaq 0x18(%rbx), %rsi
leaq -0xa0(%rbp), %rdi
callq 0x11d4c
leaq -0x70(%rbp), %rdi
movq %rbx, -0x30(%rbp)
movq %rbx, %rsi
callq 0x2063e
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
leaq 0x143ef(%rip), %rsi     # 0x34db8
leaq 0x143f8(%rip), %rdx     # 0x34dc8
leaq -0x50(%rbp), %rdi
callq 0xf97e
leaq -0xa0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x13a56
leaq -0x70(%rbp), %rsi
movq %rax, %rdi
callq 0xb560
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20a07
callq 0xb430
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x20a19
callq 0xb430
leaq -0x70(%rbp), %rdi
movq -0x30(%rbp), %rsi
callq 0x20566
leaq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
movq %rax, (%rdi)
leaq 0x143a6(%rip), %rsi     # 0x34dde
leaq 0x143a5(%rip), %rdx     # 0x34de4
callq 0xf97e
leaq -0xa0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x13a56
leaq -0x70(%rbp), %rsi
movq %rax, %rdi
callq 0xb560
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20a72
callq 0xb430
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x20a84
callq 0xb430
movq -0x30(%rbp), %rax
movq 0x60(%rax), %r14
leaq 0x50(%rax), %r13
cmpq %r13, %r14
je 0x20aea
leaq -0x98(%rbp), %rbx
leaq -0xa0(%rbp), %r15
leaq 0x20(%r14), %r12
movq %r15, %rdi
movq %r12, %rsi
callq 0x13c9e
cmpq %rbx, %rax
je 0x20ac9
movq %r15, %rdi
movq %r12, %rsi
callq 0xf18c
cmpq $0x0, 0x8(%rax)
jne 0x20ada
leaq 0x40(%r14), %rsi
leaq 0x60(%r14), %rdx
movq -0x30(%rbp), %rdi
callq 0x2050e
movq %r14, %rdi
callq 0xb510
movq %rax, %r14
cmpq %r13, %rax
jne 0x20aa3
leaq -0x98(%rbp), %r13
movq 0x10(%r13), %r14
cmpq %r13, %r14
je 0x20bb9
leaq -0x50(%rbp), %r15
leaq -0x70(%rbp), %r12
leaq 0x20(%r14), %rdx
movq %r15, %rdi
movl $0x25, %esi
callq 0x21a4d
movq -0x48(%rbp), %rsi
movl $0x1, %ecx
movq %r15, %rdi
xorl %edx, %edx
movl $0x25, %r8d
callq 0xb850
leaq -0x60(%rbp), %rsi
movq %rsi, -0x70(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x20b54
movq %rdx, -0x70(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x60(%rbp)
jmp 0x20b5a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, -0x68(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
leaq 0x40(%r14), %rdx
movq -0x30(%rbp), %rdi
movq %r12, %rsi
callq 0x2050e
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x20b93
callq 0xb430
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20ba5
callq 0xb430
movq %r14, %rdi
callq 0xb330
movq %rax, %r14
cmpq %r13, %rax
jne 0x20b06
leaq -0xa0(%rbp), %rdi
callq 0xf7a4
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20bee
callq 0xb430
jmp 0x20bee
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
jmp 0x20c44
jmp 0x20c50
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20c14
callq 0xb430
jmp 0x20c14
movq %rax, %rbx
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
jmp 0x20c44
jmp 0x20c50
jmp 0x20c50
movq %rax, %rbx
jmp 0x20c3c
movq %rax, %rbx
movq -0x70(%rbp), %rdi
leaq -0x60(%rbp), %rax
cmpq %rax, %rdi
je 0x20c3c
callq 0xb430
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x20c53
callq 0xb430
jmp 0x20c53
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0xf7a4
movq %rbx, %rdi
callq 0xb7f0
nop