// File: /workspace/github_cpp_makefile_star2_O3/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 $0x78, %rsp
movl %ecx, %ebx
movq %rdx, %r14
movq %rdi, %r13
movq %rsi, -0x60(%rbp)
leaq -0xa0(%rbp), %rdi
leaq -0x48(%rbp), %rdx
callq 0xb0f0
leaq 0x40(%r13), %r15
leaq -0xa0(%rbp), %rsi
movq %r15, %rdi
callq 0x3bcba
movq %rax, %r12
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b0b4
callq 0xb280
addq $0x48, %r13
cmpq %r13, %r12
je 0x3b11b
movl 0x8(%r14), %eax
cmpl 0x5c(%r12), %eax
jne 0x3b232
leal 0x1(%rbx), %edx
imull %eax, %edx
subl 0x48(%r12), %edx
jbe 0x3b0ee
movq %r12, %rdi
addq $0x40, %rdi
movl $0xffffffff, %esi       # imm = 0xFFFFFFFF
callq 0x10ce8
movl 0x8(%r14), %eax
testl %eax, %eax
je 0x3b223
movl %eax, %edx
movq (%r14), %rsi
imull 0x5c(%r12), %ebx
shlq $0x2, %rdx
shlq $0x2, %rbx
addq 0x40(%r12), %rbx
movq %rbx, %rdi
callq 0xb450
jmp 0x3b223
movq %r15, -0x58(%rbp)
movq %r14, -0x50(%rbp)
movl 0x8(%r14), %r15d
leaq -0x30(%rbp), %rax
movq $0x0, -0x18(%rax)
xorl %r12d, %r12d
movl %r12d, -0x10(%rax)
movq %rax, -0x8(%rax)
movl %r12d, (%rax)
movl %r15d, 0x4(%rax)
leal 0x1(%rbx), %r14d
imull %r15d, %r14d
testl %r14d, %r14d
je 0x3b189
movl %r14d, %r13d
shlq $0x2, %r13
movq %r13, %rdi
callq 0xb380
movq %rax, -0x48(%rbp)
testq %rax, %rax
je 0x3b251
movq %rax, %r12
movl %r14d, -0x30(%rbp)
movq %rax, %rdi
movl $0xff, %esi
movq %r13, %rdx
callq 0xb160
movl %r14d, -0x40(%rbp)
testq %r15, %r15
je 0x3b1a9
movq -0x50(%rbp), %rax
movq (%rax), %rsi
movq %r15, %rdx
shlq $0x2, %rdx
imull %r15d, %ebx
leaq (%r12,%rbx,4), %rdi
callq 0xb450
leaq -0xa0(%rbp), %rdi
leaq -0x60(%rbp), %rsi
leaq -0x48(%rbp), %rdx
callq 0x3b880
leaq -0xa0(%rbp), %rsi
movq -0x58(%rbp), %rdi
callq 0x3bd58
leaq -0x90(%rbp), %rbx
cmpl $0x0, -0x68(%rbp)
je 0x3b1f7
movq -0x80(%rbp), %rdi
testq %rdi, %rdi
je 0x3b1f0
callq 0xb350
movq $0x0, -0x80(%rbp)
movl $0x0, -0x68(%rbp)
movl $0x0, -0x78(%rbp)
movq -0xa0(%rbp), %rdi
cmpq %rbx, %rdi
je 0x3b20f
callq 0xb280
cmpl $0x0, -0x30(%rbp)
je 0x3b223
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x3b223
callq 0xb350
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x1059d(%rip), %rdi     # 0x4b7d6
leaq 0x44ec(%rip), %rsi      # 0x3f72c
leaq 0x105ac(%rip), %rcx     # 0x4b7f3
movl $0x6d, %edx
callq 0xb180
leaq 0x45b9(%rip), %rdi      # 0x3f811
leaq 0x4544(%rip), %rsi      # 0x3f7a3
leaq 0x4555(%rip), %rcx      # 0x3f7bb
movl $0x38, %edx
callq 0xb180
movq %rax, %rbx
leaq -0xa0(%rbp), %rdi
callq 0x3b832
jmp 0x3b284
movq %rax, %rbx
cmpl $0x0, -0x30(%rbp)
je 0x3b2b7
movq -0x48(%rbp), %rdi
testq %rdi, %rdi
je 0x3b2b7
callq 0xb350
jmp 0x3b2b7
movq %rax, %rbx
leaq -0x90(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x3b2b7
callq 0xb280
jmp 0x3b2b7
movq %rax, %rbx
movq %rbx, %rdi
callq 0xb4e0
nop