// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::function_compositor<double>::base_func::setup(exprtk::expression<double>&)
inline function_t& setup(expression_t& expr)
         {
            expression = expr;

            typedef typename expression_t::control_block  ctrlblk_t;
            typedef typename ctrlblk_t::local_data_list_t ldl_t;
            typedef typename ctrlblk_t::data_type         data_t;
            typedef typename ldl_t::value_type            ldl_value_type;

            const ldl_t ldl = expr.local_data_list();

            std::vector<std::pair<std::size_t,data_t> > index_list;

            for (std::size_t i = 0; i < ldl.size(); ++i)
            {
               exprtk_debug(("base_func::setup() - element[%02d] type: %s size: %d\n",
                             static_cast<int>(i),
                             expression_t::control_block::to_str(ldl[i].type).c_str(),
                             static_cast<int>(ldl[i].size)));

               switch (ldl[i].type)
               {
                  case ctrlblk_t::e_unknown   : continue;
                  case ctrlblk_t::e_expr      : continue;
                  case ctrlblk_t::e_vecholder : continue;
                  default                     : break;
               }

               if (ldl[i].size)
               {
                  index_list.push_back(std::make_pair(i,ldl[i].type));
               }
            }

            std::size_t input_param_count = 0;

            for (std::size_t i = 0; i < index_list.size(); ++i)
            {
               const std::size_t index         = index_list[i].first;
               const ldl_value_type& local_var = ldl[index];

               assert(local_var.pointer);

               if (i < (index_list.size() - v.size()))
               {
                  if (local_var.type == ctrlblk_t::e_string)
                  {
                     local_str_vars.push_back(
                        reinterpret_cast<std::string*>(local_var.pointer));
                  }
                  else if (
                            (local_var.type == ctrlblk_t::e_data   ) ||
                            (local_var.type == ctrlblk_t::e_vecdata)
                          )
                  {
                     local_vars.push_back(std::make_pair(
                        reinterpret_cast<T*>(local_var.pointer),
                        local_var.size));

                     local_var_stack_size += local_var.size;
                  }
               }
               else
               {
                  v[input_param_count++] = reinterpret_cast<T*>(local_var.pointer);
               }
            }

            clear_stack();

            return (*this);
         }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x28(%rdi), %r12
cmpq %rsi, %r12
je 0x3ac60a
movq (%r12), %r15
testq %r15, %r15
je 0x3ac5f3
movq (%r15), %rax
testq %rax, %rax
je 0x3ac5eb
decq %rax
movq %rax, (%r15)
jne 0x3ac5eb
movq %r15, %rdi
callq 0x1f14de
movl $0x40, %esi
movq %r15, %rdi
callq 0x1200c0
movq $0x0, (%r12)
movq (%r14), %rax
movq %rax, 0x28(%rbx)
incq (%rax)
leaq 0x8(%r14), %rsi
leaq 0x30(%rbx), %rdi
callq 0x3af84e
movq (%r14), %rsi
testq %rsi, %rsi
je 0x3ac618
addq $0x10, %rsi
jmp 0x3ac62d
movb 0x1fe3ea(%rip), %al     # 0x5aaa08
testb %al, %al
je 0x3ac826
leaq 0x1fe3c3(%rip), %rsi    # 0x5aa9f0
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x3afda8
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq (%r14), %rax
cmpq %rax, 0x8(%r14)
je 0x3ac6d1
movl $0x8, %r12d
xorl %r13d, %r13d
movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x10(%rsp), %r14
movq %rsp, %r15
cmpl $0x3, (%rax,%r12)
jb 0x3ac6b0
cmpq $0x0, 0x8(%rax,%r12)
je 0x3ac6b0
movl (%rax,%r12), %eax
movq %r13, (%rsp)
movl %eax, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3ac6a5
movups (%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x18(%rsp)
jmp 0x3ac6b0
movq %r14, %rdi
movq %r15, %rdx
callq 0x3afe38
incq %r13
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
subq %rax, %rcx
sarq $0x3, %rcx
imulq %rbp, %rcx
addq $0x18, %r12
cmpq %rcx, %r13
jb 0x3ac66f
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
subq %rdi, %rax
je 0x3ac7bd
sarq $0x4, %rax
leaq 0x60(%rbx), %rcx
movq %rcx, 0x40(%rsp)
leaq 0x78(%rbx), %r15
xorl %r13d, %r13d
xorl %ebp, %ebp
xorl %r14d, %r14d
movq (%rdi,%r13), %rcx
leaq (%rcx,%rcx,2), %r12
shlq $0x3, %r12
addq 0x28(%rsp), %r12
movq 0x48(%rbx), %rcx
movq 0x50(%rbx), %rdx
subq %rcx, %rdx
sarq $0x3, %rdx
subq %rdx, %rax
cmpq %rax, %rbp
jae 0x3ac75c
movl 0x8(%r12), %eax
leal -0x3(%rax), %ecx
cmpl $0x2, %ecx
jae 0x3ac769
movq (%r12), %rax
movq 0x10(%r12), %rcx
movq %rax, (%rsp)
movq %rcx, 0x8(%rsp)
movq 0x68(%rbx), %rsi
cmpq 0x70(%rbx), %rsi
je 0x3ac783
movups (%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x68(%rbx)
jmp 0x3ac790
movq (%r12), %rax
movq %rax, (%rcx,%r14,8)
incq %r14
jmp 0x3ac79c
cmpl $0x5, %eax
jne 0x3ac79c
movq (%r12), %rax
movq %rax, (%rsp)
movq %r15, %rdi
movq %rsp, %rsi
callq 0x3aff78
jmp 0x3ac79c
movq 0x40(%rsp), %rdi
movq %rsp, %rdx
callq 0x3b00c8
movq 0x10(%r12), %rax
addq %rax, 0x90(%rbx)
incq %rbp
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
subq %rdi, %rax
sarq $0x4, %rax
addq $0x10, %r13
cmpq %rax, %rbp
jb 0x3ac6fd
movq 0x48(%rbx), %rax
movq 0x50(%rbx), %rcx
subq %rax, %rcx
je 0x3ac7eb
sarq $0x3, %rcx
cmpq $0x1, %rcx
adcq $0x0, %rcx
xorl %edx, %edx
movq (%rax,%rdx,8), %rsi
movq $0x0, (%rsi)
incq %rdx
cmpq %rdx, %rcx
jne 0x3ac7d8
testq %rdi, %rdi
je 0x3ac7fd
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x1200c0
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3ac814
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x1200c0
movq %rbx, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x120ce2
movq (%r14), %rsi
jmp 0x3ac62d
jmp 0x3ac83f
jmp 0x3ac83f
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x3ac859
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x1200c0
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x3ac870
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x1200c0
movq %rbx, %rdi
callq 0x120330