// File: /workspace/github_cpp_makefile_star2_O3/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 0x383858
movq (%r12), %r15
testq %r15, %r15
je 0x383841
movq (%r15), %rax
testq %rax, %rax
je 0x383839
decq %rax
movq %rax, (%r15)
jne 0x383839
movq %r15, %rdi
callq 0x1ea4a4
movl $0x40, %esi
movq %r15, %rdi
callq 0x11e0c0
movq $0x0, (%r12)
movq (%r14), %rax
movq %rax, 0x28(%rbx)
incq (%rax)
leaq 0x8(%r14), %rsi
leaq 0x30(%rbx), %rdi
callq 0x38695e
movq (%r14), %rsi
testq %rsi, %rsi
je 0x383866
addq $0x10, %rsi
jmp 0x38387b
movb 0x1ed19c(%rip), %al     # 0x570a08
testb %al, %al
je 0x383a80
leaq 0x1ed175(%rip), %rsi    # 0x5709f0
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x386ebe
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movq (%r14), %rax
movq 0x8(%r14), %rcx
cmpq %rax, %rcx
je 0x383a15
movl $0x10, %r12d
xorl %r13d, %r13d
movabsq $-0x5555555555555555, %rbp # imm = 0xAAAAAAAAAAAAAAAB
leaq 0x10(%rsp), %r14
movq %rsp, %r15
movl -0x8(%rax,%r12), %edx
cmpl $0x3, %edx
jb 0x38390d
cmpq $0x0, (%rax,%r12)
je 0x38390d
movq %r13, (%rsp)
movl %edx, 0x8(%rsp)
movq 0x18(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
je 0x3838f8
movups (%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x18(%rsp)
jmp 0x383903
movq %r14, %rdi
movq %r15, %rdx
callq 0x386f4e
movq 0x28(%rsp), %rax
movq 0x30(%rsp), %rcx
incq %r13
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
imulq %rbp, %rdx
addq $0x18, %r12
cmpq %rdx, %r13
jb 0x3838c4
movq 0x10(%rsp), %rdi
movq 0x18(%rsp), %rax
subq %rdi, %rax
je 0x383a17
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 0x3839b2
movl 0x8(%r12), %eax
leal -0x3(%rax), %ecx
cmpl $0x2, %ecx
jae 0x3839bf
movq (%r12), %rax
movq 0x10(%r12), %rcx
movq %rax, (%rsp)
movq %rcx, 0x8(%rsp)
movq 0x68(%rbx), %rsi
cmpq 0x70(%rbx), %rsi
je 0x3839d9
movups (%rsp), %xmm0
movups %xmm0, (%rsi)
addq $0x10, 0x68(%rbx)
jmp 0x3839e6
movq (%r12), %rax
movq %rax, (%rcx,%r14,8)
incq %r14
jmp 0x3839f2
cmpl $0x5, %eax
jne 0x3839f2
movq (%r12), %rax
movq %rax, (%rsp)
movq %r15, %rdi
movq %rsp, %rsi
callq 0x38708e
jmp 0x3839f2
movq 0x40(%rsp), %rdi
movq %rsp, %rdx
callq 0x3871e6
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 0x383953
jmp 0x383a17
xorl %edi, %edi
movq 0x48(%rbx), %rax
movq 0x50(%rbx), %rcx
subq %rax, %rcx
je 0x383a45
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 0x383a32
testq %rdi, %rdi
je 0x383a57
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x11e0c0
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x383a6e
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x11e0c0
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 0x11ec96
movq (%r14), %rsi
jmp 0x38387b
jmp 0x383a99
jmp 0x383a99
movq %rax, %rbx
movq 0x10(%rsp), %rdi
testq %rdi, %rdi
je 0x383ab3
movq 0x20(%rsp), %rsi
subq %rdi, %rsi
callq 0x11e0c0
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x383aca
movq 0x38(%rsp), %rsi
subq %rdi, %rsi
callq 0x11e0c0
movq %rbx, %rdi
callq 0x11e330