// File: /workspace/github_cpp_makefile_star2_O1/vsklad[P]cgen/./bal/formula/formula.cpp
// Function: bal::Formula::add_named_variable(char const*, bal::VariablesArray const&, unsigned int)
void Formula::add_named_variable(const char* const name, const VariablesArray& value, const variables_size_t index) {
        auto it = named_variables_.find(name);
        if (it == named_variables_.end()) {
            VariablesArray variable_value(0, value.size());
            variable_value.expand_append_element(index, value);
            named_variables_.insert({name, variable_value});
        } else {
            it->second.expand_append_element(index, value);
        };
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movl %ecx, %ebx
movq %rdx, %r14
movq %rdi, %r13
movq %rsi, -0x50(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0xc0f0
leaq 0x40(%r13), %r15
leaq -0x90(%rbp), %rsi
movq %r15, %rdi
callq 0x3dc92
movq %rax, %r12
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3d003
callq 0xc280
addq $0x48, %r13
cmpq %r13, %r12
je 0x3d069
movl 0x5c(%r12), %edx
cmpl %edx, 0x8(%r14)
jne 0x3d18f
leal 0x1(%rbx), %eax
imull %eax, %edx
subl 0x48(%r12), %edx
jbe 0x3d039
movq %r12, %rdi
addq $0x40, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x12094
movl 0x8(%r14), %edx
testq %rdx, %rdx
je 0x3d180
movq (%r14), %rsi
imull 0x5c(%r12), %ebx
shlq $0x2, %rdx
shlq $0x2, %rbx
addq 0x40(%r12), %rbx
movq %rbx, %rdi
callq 0xc450
jmp 0x3d180
movl 0x8(%r14), %eax
leaq -0x30(%rbp), %rcx
movq $0x0, -0x18(%rcx)
xorl %edx, %edx
movl %edx, -0x10(%rcx)
movq %rcx, -0x8(%rcx)
movl %edx, (%rcx)
movl %eax, 0x4(%rcx)
leal 0x1(%rbx), %r13d
imull %eax, %r13d
testl %r13d, %r13d
je 0x3d0d5
movl %r13d, %r12d
leaq (,%r12,4), %rdi
callq 0xc380
movq %rax, -0x48(%rbp)
testq %rax, %rax
je 0x3d1ae
movl $0x0, -0x40(%rbp)
movl %r13d, -0x30(%rbp)
movq -0x48(%rbp), %rdi
shlq $0x2, %r12
movl $0xff, %esi
movq %r12, %rdx
callq 0xc160
addl %r13d, -0x40(%rbp)
movl 0x8(%r14), %edx
testq %rdx, %rdx
je 0x3d0f9
movq (%r14), %rsi
imull -0x2c(%rbp), %ebx
shlq $0x2, %rdx
shlq $0x2, %rbx
addq -0x48(%rbp), %rbx
movq %rbx, %rdi
callq 0xc450
leaq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x3d840
leaq -0x90(%rbp), %rsi
movq %r15, %rdi
callq 0x3dd30
cmpl $0x0, -0x58(%rbp)
je 0x3d140
movq -0x70(%rbp), %rdi
testq %rdi, %rdi
je 0x3d138
callq 0xc350
movq $0x0, -0x70(%rbp)
xorl %eax, %eax
movl %eax, -0x68(%rbp)
movl %eax, -0x58(%rbp)
movl $0x0, -0x68(%rbp)
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x3d15c
callq 0xc280
cmpl $0x0, -0x30(%rbp)
je 0x3d180
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x3d178
callq 0xc350
movq $0x0, -0x48(%rbp)
xorl %eax, %eax
movl %eax, -0x40(%rbp)
movl %eax, -0x30(%rbp)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10758(%rip), %rdi     # 0x4d8ee
leaq 0x458f(%rip), %rsi      # 0x4172c
leaq 0x10767(%rip), %rcx     # 0x4d90b
movl $0x6d, %edx
callq 0xc180
leaq 0x4670(%rip), %rdi      # 0x41825
leaq 0x45fb(%rip), %rsi      # 0x417b7
leaq 0x460c(%rip), %rcx      # 0x417cf
movl $0x38, %edx
callq 0xc180
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
callq 0x3d7f2
jmp 0x3d1e1
movq %rax, %rbx
cmpl $0x0, -0x30(%rbp)
je 0x3d221
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x3d1fd
callq 0xc350
movq $0x0, -0x48(%rbp)
xorl %eax, %eax
movl %eax, -0x40(%rbp)
movl %eax, -0x30(%rbp)
jmp 0x3d221
movq %rax, %rbx
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3d221
callq 0xc280
jmp 0x3d221
movq %rax, %rbx
movq %rbx, %rdi
callq 0xc4e0
nop