// File: vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::add_parameter(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)
void Formula::add_parameter(const std::string& key, const std::string& name,
                       const std::string& value, const bool b_quote) {
        std::string item = (b_quote) ?
        std::string(name).append(": \"").append(value).append("\"") :
        std::string(name).append(": ").append(value);
        
        auto it = parameters_.find(key);
        if (it != parameters_.end()) {
            if (it->second.size() > 0) {
                it->second.append(", ");
            };
            it->second.append(item);
        } else {
            parameters_.insert({key, item});
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x170, %rsp            # imm = 0x170
movb %r8b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
andb $0x1, %al
movb %al, -0x21(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x110(%rbp)
movb -0x21(%rbp), %al
movb $0x0, -0x69(%rbp)
movb $0x0, -0xa1(%rbp)
testb $0x1, %al
je 0x556d9
movq -0x18(%rbp), %rsi
leaq -0x68(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0xd130
movq -0x120(%rbp), %rdi
movb $0x1, -0x69(%rbp)
leaq 0x12860(%rip), %rsi     # 0x67ee6
callq 0xd610
movq %rax, -0x118(%rbp)
jmp 0x55694
movq -0x118(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xd620
movq %rax, -0x128(%rbp)
jmp 0x556ad
movq -0x128(%rbp), %rdi
leaq 0x11a1b(%rip), %rsi     # 0x670d6
callq 0xd610
movq %rax, -0x130(%rbp)
jmp 0x556c9
movq -0x130(%rbp), %rax
movq %rax, -0x138(%rbp)
jmp 0x55737
movq -0x18(%rbp), %rsi
leaq -0xa0(%rbp), %rdi
callq 0xd130
jmp 0x556eb
movb $0x1, -0xa1(%rbp)
leaq 0xccbc(%rip), %rsi      # 0x623b5
leaq -0xa0(%rbp), %rdi
callq 0xd610
movq %rax, -0x140(%rbp)
jmp 0x5570e
movq -0x140(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xd620
movq %rax, -0x148(%rbp)
jmp 0x55727
movq -0x148(%rbp), %rax
movq %rax, -0x138(%rbp)
jmp 0x55737
movq -0x138(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0xd130
jmp 0x55749
testb $0x1, -0xa1(%rbp)
jne 0x55754
jmp 0x55760
leaq -0xa0(%rbp), %rdi
callq 0xd1b0
testb $0x1, -0x69(%rbp)
jne 0x55768
jmp 0x55771
leaq -0x68(%rbp), %rdi
callq 0xd1b0
movq -0x110(%rbp), %rdi
addq $0x10, %rdi
movq -0x10(%rbp), %rsi
callq 0x55e10
movq %rax, -0x150(%rbp)
jmp 0x5578e
movq -0x110(%rbp), %rdi
movq -0x150(%rbp), %rax
movq %rax, -0xb0(%rbp)
addq $0x10, %rdi
callq 0x55e70
movq %rax, -0xb8(%rbp)
leaq -0xb0(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x55e40
testb $0x1, %al
jne 0x557cf
jmp 0x5588d
leaq -0xb0(%rbp), %rdi
callq 0x55ea0
movq %rax, %rdi
addq $0x20, %rdi
callq 0xd1f0
cmpq $0x0, %rax
jbe 0x5586a
leaq -0xb0(%rbp), %rdi
callq 0x55ea0
movq %rax, %rdi
addq $0x20, %rdi
leaq 0xcbbb(%rip), %rsi      # 0x623c2
callq 0xd610
jmp 0x5580e
jmp 0x5586a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x55843
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
testb $0x1, -0xa1(%rbp)
jne 0x55835
jmp 0x55841
leaq -0xa0(%rbp), %rdi
callq 0xd1b0
jmp 0x55843
testb $0x1, -0x69(%rbp)
jne 0x5584b
jmp 0x55854
leaq -0x68(%rbp), %rdi
callq 0xd1b0
jmp 0x55934
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x5592b
leaq -0xb0(%rbp), %rdi
callq 0x55ea0
movq %rax, %rdi
addq $0x20, %rdi
leaq -0x48(%rbp), %rsi
callq 0xd620
jmp 0x55888
jmp 0x55919
movq -0x110(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x158(%rbp)
movq -0x10(%rbp), %rsi
leaq -0xf8(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0x55f00
jmp 0x558b5
movq -0x158(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x55ec0
movb %dl, -0x161(%rbp)
movq %rax, -0x160(%rbp)
jmp 0x558d7
movb -0x161(%rbp), %al
movq -0x160(%rbp), %rcx
movq %rcx, -0x108(%rbp)
movb %al, -0x100(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x35120
jmp 0x55919
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xf8(%rbp), %rdi
callq 0x35120
jmp 0x5592b
leaq -0x48(%rbp), %rdi
callq 0xd1b0
addq $0x170, %rsp            # imm = 0x170
popq %rbp
retq
leaq -0x48(%rbp), %rdi
callq 0xd1b0
movq -0x78(%rbp), %rdi
callq 0xd5a0
nopl (%rax)