// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::details::expression_node<double>* exprtk::parser<double>::expression_generator<double>::function<4ul>(exprtk::ifunction<double>*, exprtk::details::expression_node<double>* (&) [4ul])
inline expression_node_ptr function(ifunction_t* f, expression_node_ptr (&b)[N])
         {
            typedef typename details::function_N_node<T,ifunction_t,N> function_N_node_t;
            expression_node_ptr result = synthesize_expression<function_N_node_t,N>(f,b);

            if (0 == result)
               return error_node();
            else
            {
               // Can the function call be completely optimised?
               if (details::is_constant_node(result))
                  return result;
               else if (!all_nodes_valid(b))
               {
                  details::free_node(*node_allocator_,result);
                  std::fill_n(b, N, reinterpret_cast<expression_node_ptr>(0));

                  return error_node();
               }
               else if (N != f->param_count)
               {
                  details::free_node(*node_allocator_,result);
                  std::fill_n(b, N, reinterpret_cast<expression_node_ptr>(0));

                  return error_node();
               }

               function_N_node_t* func_node_ptr = reinterpret_cast<function_N_node_t*>(result);

               if (!func_node_ptr->init_branches(b))
               {
                  details::free_node(*node_allocator_,result);
                  std::fill_n(b, N, reinterpret_cast<expression_node_ptr>(0));

                  return error_node();
               }

               if (result && result->valid())
               {
                  return result;
               }

               parser_->set_error(parser_error::make_error(
                  parser_error::e_synthesis,
                  token_t(),
                  "ERR264 - Failed to synthesize node: function_N_node_t",
                  exprtk_error_location));

               details::free_node(*node_allocator_, result);
               return error_node();
            }
         }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x148, %rsp            # imm = 0x148
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
callq 0x35c670
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x35c3ab
movq %rax, %r14
movq (%rax), %rax
movq %r14, %rdi
callq *0x28(%rax)
cmpl $0x2, %eax
je 0x35c3ae
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
cmpl $0x13, %eax
je 0x35c3ae
cmpq $0x0, (%rbx)
je 0x35c37b
movq $-0x1, %rax
cmpq $0x2, %rax
je 0x35c212
leaq 0x1(%rax), %rcx
cmpq $0x0, 0x10(%rbx,%rax,8)
movq %rcx, %rax
jne 0x35c1f3
cmpq $0x2, %rcx
jbe 0x35c37b
cmpq $0x4, 0x20(%r12)
jne 0x35c37b
movq %r14, %rdi
movq %rbx, %rsi
callq 0x35c8fe
movq (%r14), %rcx
movq %r14, %rdi
testb %al, %al
je 0x35c3c3
callq *0x30(%rcx)
testb %al, %al
jne 0x35c3ae
movq 0x68(%r15), %rbx
leaq 0x88(%rsp), %r13
movl $0x0, -0x18(%r13)
movq %r13, -0x10(%r13)
movq $0x0, -0x8(%r13)
movb $0x0, (%r13)
movq $-0x1, 0x10(%r13)
leaq 0x60(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x3bc94(%rip), %rsi     # 0x397f13
leaq 0x3bcc2(%rip), %rdx     # 0x397f48
leaq 0x50(%rsp), %rdi
callq 0x1e4740
leaq 0x20(%rsp), %r14
movq %r14, -0x10(%r14)
movq $0x0, -0x8(%r14)
movb $0x0, (%r14)
leaq 0x10(%rsp), %rdi
movl $0x30, %esi
callq 0x11e5d0
leaq 0x10(%rsp), %rdi
movl $0x35, %esi
callq 0x11e5d0
leaq 0x10(%rsp), %rdi
movl $0x37, %esi
callq 0x11e5d0
leaq 0x10(%rsp), %rdi
movl $0x33, %esi
callq 0x11e5d0
leaq 0x10(%rsp), %rdi
movl $0x33, %esi
callq 0x11e5d0
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
testq %rcx, %rcx
setne %dl
addq %rax, %rcx
decq %rcx
cmpq %rax, %rcx
seta %sil
andb %dl, %sil
cmpb $0x1, %sil
jne 0x35c334
incq %rax
movb -0x1(%rax), %dl
movb (%rcx), %sil
movb %sil, -0x1(%rax)
movb %dl, (%rcx)
decq %rcx
leaq 0x1(%rax), %rdx
cmpq %rcx, %rax
movq %rdx, %rax
jb 0x35c319
leaq 0x38210(%rip), %rcx     # 0x39454b
leaq 0x10(%rsp), %rdi
movl $0xb, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x11e110
leaq 0x78(%rsp), %rsi
leaq 0x40(%rsp), %rdi
movq %rdi, -0x10(%rdi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x35c3c8
movq %rdx, 0x30(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x40(%rsp)
jmp 0x35c3ce
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x35c3a1
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x35c3a1
leaq 0x8(%rsp), %rdi
callq 0x1ea63e
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rbx)
movups %xmm0, (%rbx)
xorl %r14d, %r14d
movq %r14, %rax
addq $0x148, %rsp            # imm = 0x148
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq *0x28(%rcx)
jmp 0x35c384
movups (%rcx), %xmm0
movups %xmm0, (%rdi)
movq 0x8(%rax), %rdx
movq %rdx, 0x38(%rsp)
movq %rcx, (%rax)
xorl %ecx, %ecx
movq %rcx, 0x8(%rax)
movb %cl, 0x10(%rax)
leaq 0xa8(%rsp), %rdi
leaq 0xb8(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %rcx, -0x8(%rbp)
movb %cl, (%rbp)
movq $-0x1, 0x10(%rbp)
leaq 0xe8(%rsp), %r15
movq %r15, -0x10(%r15)
movq %rcx, -0x8(%r15)
movb %cl, (%r15)
leaq 0x108(%rsp), %r12
movq %r12, -0x10(%r12)
movq %rcx, -0x8(%r12)
movb %cl, (%r12)
leaq 0x128(%rsp), %r14
movq %r14, -0x10(%r14)
movq %rcx, -0x8(%r14)
movb %cl, (%r14)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%r14)
movl $0x7, -0x58(%r14)
movl 0x70(%rsp), %eax
movl %eax, -0x68(%r12)
callq 0x11e5a0
leaq 0xd8(%rsp), %rdi
movq 0x98(%rsp), %rax
movq %rax, -0x10(%rdi)
leaq 0x50(%rsp), %rsi
callq 0x11e5a0
leaq 0xf8(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x11e5a0
addq $0x308, %rbx            # imm = 0x308
leaq 0xa0(%rsp), %rsi
movq %rbx, %rdi
callq 0x24d3b4
movq 0x118(%rsp), %rdi
cmpq %r14, %rdi
je 0x35c4c4
movq 0x128(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0xf8(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x60(%rsp), %rbx
leaq 0x20(%rsp), %r14
je 0x35c4eb
movq 0x108(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0xd8(%rsp), %rdi
cmpq %r15, %rdi
je 0x35c508
movq 0xe8(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0xa8(%rsp), %rdi
cmpq %rbp, %rdi
je 0x35c525
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x35c541
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x35c558
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x50(%rsp), %rdi
cmpq %rbx, %rdi
je 0x35c56f
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x35c589
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x35c3ab
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x35c3ab
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x35c5bf
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x35c3ab
leaq 0x8(%rsp), %rdi
callq 0x1ea63e
jmp 0x35c3ab
jmp 0x35c5da
movq %rax, %rbx
jmp 0x35c606
movq %rax, %rbx
jmp 0x35c64d
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x249100
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x35c606
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x10(%rsp), %rdi
leaq 0x20(%rsp), %rax
cmpq %rax, %rdi
jne 0x35c624
jmp 0x35c631
movq %rax, %rbx
movq 0x10(%rsp), %rdi
cmpq %r14, %rdi
je 0x35c631
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x50(%rsp), %rdi
leaq 0x60(%rsp), %rax
cmpq %rax, %rdi
je 0x35c64d
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq 0x78(%rsp), %rdi
cmpq %r13, %rdi
je 0x35c667
movq 0x88(%rsp), %rsi
incq %rsi
callq 0x11e0c0
movq %rbx, %rdi
callq 0x11e330
nop