// File: /workspace/github_cpp_makefile_star2_O3/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>, 4ul>, 4ul>(exprtk::ifunction<double>*, exprtk::details::expression_node<double>* (&) [4ul])
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, %r14
cmpq $0x0, (%rdx)
je 0x35c77a
movq %rsi, %r12
movq %rdi, %rbp
movq $-0x1, %rax
cmpq $0x2, %rax
je 0x35c6b7
leaq 0x1(%rax), %rcx
cmpq $0x0, 0x10(%r14,%rax,8)
movq %rcx, %rax
jne 0x35c698
cmpq $0x2, %rcx
jbe 0x35c77a
movl $0x78, %edi
callq 0x11e0f0
movq %rax, %rbx
movb $0x0, 0x10(%rax)
xorl %eax, %eax
movq %rax, 0x18(%rbx)
leaq 0x1dd9fb(%rip), %r15    # 0x53a0d0
movq %r15, (%rbx)
leaq 0x1dda41(%rip), %rcx    # 0x53a120
movq %rcx, 0x8(%rbx)
movq 0x20(%r12), %rcx
cmpq $0x4, %rcx
cmoveq %r12, %rax
leaq 0x8(%rbx), %rdi
movq %rax, 0x20(%rbx)
movq %rcx, 0x28(%rbx)
movl $0x38, %eax
movq $0x0, -0x8(%rbx,%rax)
movb $0x0, (%rbx,%rax)
addq $0x10, %rax
cmpq $0x78, %rax
jne 0x35c701
movb $0x0, 0x70(%rbx)
movq %rbx, %rsi
addq $0x30, %rsi
callq 0x315aac
movq %rbx, 0x10(%rsp)
cmpq %r15, (%rbx)
je 0x35c7ce
xorl %ebx, %ebx
xorl %r12d, %r12d
movq (%r14,%r12), %rdi
testq %rdi, %rdi
je 0x35c76e
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x35c76e
leaq (%r14,%r12), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x35c766
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x35c76e
movq %r15, %rdi
callq 0x1ea63e
addq $0x8, %r12
cmpq $0x20, %r12
jne 0x35c73b
jmp 0x35c7bc
xorl %ebx, %ebx
xorl %r12d, %r12d
movq (%r14,%r12), %rdi
testq %rdi, %rdi
je 0x35c7b2
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x35c7b2
leaq (%r14,%r12), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x35c7aa
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x35c7b2
movq %r15, %rdi
callq 0x1ea63e
addq $0x8, %r12
cmpq $0x20, %r12
jne 0x35c77f
movq %rbx, %rax
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rbx, %rdi
movq %r14, %rsi
callq 0x35c8fe
movq (%r14), %r13
testq %r13, %r13
je 0x35c833
movq %rbp, 0x8(%rsp)
xorl %ebp, %ebp
xorl %r15d, %r15d
movq (%r13), %rax
movq %r13, %rdi
callq *0x28(%rax)
cmpl $0x2, %eax
je 0x35c809
movq (%r13), %rax
movq %r13, %rdi
callq *0x28(%rax)
cmpl $0x13, %eax
jne 0x35c820
cmpq $0x3, %rbp
setae %r15b
je 0x35c820
movq 0x8(%r14,%rbp,8), %r13
incq %rbp
testq %r13, %r13
jne 0x35c7eb
testb $0x1, %r15b
movq 0x8(%rsp), %rbp
je 0x35c833
cmpb $0x0, 0x9(%r12)
je 0x35c88a
movq 0x68(%rbp), %r15
leaq 0x28(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x3b702(%rip), %rsi     # 0x397f49
leaq 0x3b720(%rip), %rdx     # 0x397f6e
leaq 0x18(%rsp), %rdi
callq 0x1e4740
cmpb $0x0, 0x3ac(%r15)
jne 0x35c86a
movb $0x1, 0x3ac(%r15)
movq 0x18(%rsp), %rdi
cmpq %r14, %rdi
je 0x35c7bc
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x11e0c0
jmp 0x35c7bc
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movsd %xmm0, 0x8(%rsp)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x35c8bf
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x35c8bf
leaq 0x10(%rsp), %rdi
callq 0x1ea63e
movl $0x28, %edi
callq 0x11e0f0
movq %rax, %rbx
movb $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
leaq 0x17b3d9(%rip), %rax    # 0x4d7cb8
movq %rax, (%rbx)
leaq 0x17b417(%rip), %rax    # 0x4d7d00
movq %rax, 0x8(%rbx)
movsd 0x8(%rsp), %xmm0
movsd %xmm0, 0x20(%rbx)
jmp 0x35c7bc
nop