// File: /workspace/github_cpp_makefile_star2_O1/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::details::expression_node<double>* exprtk::parser<double>::expression_generator<double>::synthesize_expression<exprtk::details::function_N_node<double, exprtk::ifunction<double>, 3ul>, 3ul>(exprtk::ifunction<double>*, exprtk::details::expression_node<double>* (&) [3ul])
inline expression_node_ptr synthesize_expression(F* f, expression_node_ptr (&branch)[N])
         {
            if (!details::all_nodes_valid<N>(branch))
            {
               free_all_nodes(*node_allocator_,branch);

               return error_node();
            }

            typedef typename details::function_N_node<T,ifunction_t,N> function_N_node_t;

            // Attempt simple constant folding optimisation.

            expression_node_ptr expression_point = node_allocator_->allocate<NodeType>(f);
            function_N_node_t* func_node_ptr = dynamic_cast<function_N_node_t*>(expression_point);

            if (0 == func_node_ptr)
            {
               free_all_nodes(*node_allocator_,branch);

               return error_node();
            }
            else
               func_node_ptr->init_branches(branch);

            if (is_constant_foldable<N>(branch) && !f->has_side_effects())
            {
               Type v = expression_point->value();
               details::free_node(*node_allocator_,expression_point);

               return node_allocator_->allocate<literal_node_t>(v);
            }

            parser_->state_.activate_side_effect("synthesize_expression(function<NT,N>)");

            return expression_point;
         }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdx, %rbx
cmpq $0x0, (%rdx)
je 0x38305e
movq %rsi, %r15
movq %rdi, %r14
xorl %ecx, %ecx
movq %rcx, %rax
cmpq $0x2, %rcx
je 0x382fd2
leaq 0x1(%rax), %rcx
cmpq $0x0, 0x8(%rbx,%rax,8)
jne 0x382fbd
cmpq $0x1, %rax
jbe 0x38305e
movl $0x68, %edi
callq 0x1200f0
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x38334c
movq %r12, %rdi
addq $0x8, %rdi
movq 0x8(%r12), %rax
callq *0x10(%rax)
movq %r12, 0x8(%rsp)
leaq 0x1f1031(%rip), %rax    # 0x574040
cmpq %rax, (%r12)
je 0x3830b3
xorl %r14d, %r14d
xorl %r12d, %r12d
movq (%rbx,%r12), %rdi
testq %rdi, %rdi
je 0x383052
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x383052
leaq (%rbx,%r12), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x38304a
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x383052
movq %r15, %rdi
callq 0x1f1690
addq $0x8, %r12
cmpq $0x18, %r12
jne 0x38301f
jmp 0x3830a1
xorl %r14d, %r14d
xorl %r12d, %r12d
movq (%rbx,%r12), %rdi
testq %rdi, %rdi
je 0x383097
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x383097
leaq (%rbx,%r12), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x38308f
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x383097
movq %r15, %rdi
callq 0x1f1690
addq $0x8, %r12
cmpq $0x18, %r12
jne 0x383064
movq %r14, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r12, %rdi
movq %rbx, %rsi
callq 0x383202
movq (%rbx), %r12
testq %r12, %r12
je 0x38310d
xorl %r13d, %r13d
xorl %ebp, %ebp
movq (%r12), %rax
movq %r12, %rdi
callq *0x28(%rax)
cmpl $0x2, %eax
je 0x3830e9
movq (%r12), %rax
movq %r12, %rdi
callq *0x28(%rax)
cmpl $0x13, %eax
jne 0x383100
cmpq $0x2, %r13
setae %bpl
je 0x383100
movq 0x8(%rbx,%r13,8), %r12
incq %r13
testq %r12, %r12
jne 0x3830cb
testb $0x1, %bpl
je 0x38310d
cmpb $0x0, 0x9(%r15)
je 0x383165
movq 0x68(%r14), %r14
leaq 0x28(%rsp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0x3ddfe(%rip), %rsi     # 0x3c0f1f
leaq 0x3de1c(%rip), %rdx     # 0x3c0f44
leaq 0x18(%rsp), %rdi
callq 0x1eabb8
cmpb $0x0, 0x3ac(%r14)
jne 0x383144
movb $0x1, 0x3ac(%r14)
movq 0x18(%rsp), %rdi
cmpq %rbx, %rdi
je 0x38315b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x1200c0
movq 0x8(%rsp), %r14
jmp 0x3830a1
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
callq *0x18(%rax)
movsd %xmm0, 0x10(%rsp)
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3831aa
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x3831aa
movq 0x8(%rsp), %rdi
testq %rdi, %rdi
je 0x3831a0
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x3831aa
leaq 0x8(%rsp), %rdi
callq 0x1f1690
movl $0x28, %edi
callq 0x1200f0
movq %rax, %r14
movb $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
leaq 0x18e0be(%rip), %rax    # 0x511288
movq %rax, (%r14)
leaq 0x18e0fc(%rip), %rax    # 0x5112d0
movq %rax, 0x8(%r14)
movsd 0x10(%rsp), %xmm0
movsd %xmm0, 0x20(%r14)
jmp 0x3830a1
movq %rax, %rbx
movl $0x68, %esi
movq %r12, %rdi
callq 0x1200c0
movq %rbx, %rdi
callq 0x120330
nop