// File: ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::synthesize_cocov_expression1::process(exprtk::parser<double>::expression_generator<double>&, exprtk::details::operator_type const&, exprtk::details::expression_node<double>* (&) [2])
static inline expression_node_ptr process(expression_generator<Type>& expr_gen,
                                                      const details::operator_type& operation,
                                                      expression_node_ptr (&branch)[2])
            {
               // (c0) o0 (c1 o1 v)
               const details::cov_base_node<Type>* cov = static_cast<details::cov_base_node<Type>*>(branch[1]);
               const Type  c0 = static_cast<details::literal_node<Type>*>(branch[0])->value();
               const Type  c1 = cov->c();
               const Type&  v = cov->v();
               const details::operator_type o0 = operation;
               const details::operator_type o1 = cov->operation();

               details::free_node(*(expr_gen.node_allocator_),branch[0]);
               details::free_node(*(expr_gen.node_allocator_),branch[1]);

               expression_node_ptr result = error_node();

               if (expr_gen.parser_->settings_.strength_reduction_enabled())
               {
                  // (c0) + (c1 + v) --> (cov) (c0 + c1) + v
                  if ((details::e_add == o0) && (details::e_add == o1))
                  {
                     exprtk_debug(("(c0) + (c1 + v) --> (cov) (c0 + c1) + v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::add_op<Type> > >(c0 + c1, v);
                  }
                  // (c0) + (c1 - v) --> (cov) (c0 + c1) - v
                  else if ((details::e_add == o0) && (details::e_sub == o1))
                  {
                     exprtk_debug(("(c0) + (c1 - v) --> (cov) (c0 + c1) - v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::sub_op<Type> > >(c0 + c1, v);
                  }
                  // (c0) - (c1 + v) --> (cov) (c0 - c1) - v
                  else if ((details::e_sub == o0) && (details::e_add == o1))
                  {
                     exprtk_debug(("(c0) - (c1 + v) --> (cov) (c0 - c1) - v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::sub_op<Type> > >(c0 - c1, v);
                  }
                  // (c0) - (c1 - v) --> (cov) (c0 - c1) + v
                  else if ((details::e_sub == o0) && (details::e_sub == o1))
                  {
                     exprtk_debug(("(c0) - (c1 - v) --> (cov) (c0 - c1) + v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::add_op<Type> > >(c0 - c1, v);
                  }
                  // (c0) * (c1 * v) --> (cov) (c0 * c1) * v
                  else if ((details::e_mul == o0) && (details::e_mul == o1))
                  {
                     exprtk_debug(("(c0) * (c1 * v) --> (cov) (c0 * c1) * v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::mul_op<Type> > >(c0 * c1, v);
                  }
                  // (c0) * (c1 / v) --> (cov) (c0 * c1) / v
                  else if ((details::e_mul == o0) && (details::e_div == o1))
                  {
                     exprtk_debug(("(c0) * (c1 / v) --> (cov) (c0 * c1) / v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::div_op<Type> > >(c0 * c1, v);
                  }
                  // (c0) / (c1 * v) --> (cov) (c0 / c1) / v
                  else if ((details::e_div == o0) && (details::e_mul == o1))
                  {
                     exprtk_debug(("(c0) / (c1 * v) --> (cov) (c0 / c1) / v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::div_op<Type> > >(c0 / c1, v);
                  }
                  // (c0) / (c1 / v) --> (cov) (c0 / c1) * v
                  else if ((details::e_div == o0) && (details::e_div == o1))
                  {
                     exprtk_debug(("(c0) / (c1 / v) --> (cov) (c0 / c1) * v\n"));

                     return expr_gen.node_allocator_->
                               template allocate_cr<typename details::cov_node<Type,details::mul_op<Type> > >(c0 / c1, v);
                  }
               }

               const bool synthesis_result =
                  synthesize_sf3ext_expression::template compile<ctype, ctype, vtype>
                     (expr_gen, id(expr_gen, o0, o1), c0, c1, v, result);

               if (synthesis_result)
                  return result;

               binary_functor_t f0 = reinterpret_cast<binary_functor_t>(0);
               binary_functor_t f1 = reinterpret_cast<binary_functor_t>(0);

               if (!expr_gen.valid_operator(o0,f0))
                  return error_node();
               else if (!expr_gen.valid_operator(o1,f1))
                  return error_node();
               else
                  return node_type::allocate(*(expr_gen.node_allocator_), c0, c1, v, f0, f1);
            }

// Assembly:
subq $0xf8, %rsp
movq %rdi, 0xe8(%rsp)
movq %rsi, 0xe0(%rsp)
movq %rdx, 0xd8(%rsp)
movq 0xd8(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0xd0(%rsp)
movq 0xd8(%rsp), %rax
movq (%rax), %rdi
callq 0x284bc0
movsd %xmm0, 0xc8(%rsp)
movq 0xd0(%rsp), %rdi
movq (%rdi), %rax
callq *0x40(%rax)
movsd %xmm0, 0xc0(%rsp)
movq 0xd0(%rsp), %rdi
movq (%rdi), %rax
callq *0x48(%rax)
movq %rax, 0xb8(%rsp)
movq 0xe0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0xb4(%rsp)
movq 0xd0(%rsp), %rdi
movq (%rdi), %rax
callq *0x38(%rax)
movl %eax, 0xb0(%rsp)
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0xd8(%rsp), %rsi
callq 0x284bd0
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0xd8(%rsp), %rsi
addq $0x8, %rsi
callq 0x284bd0
callq 0x2821f0
movq %rax, 0xa8(%rsp)
movq 0xe8(%rsp), %rax
movq 0x68(%rax), %rdi
addq $0xd0, %rdi
callq 0x250d10
testb $0x1, %al
jne 0x273a83
jmp 0x273da9
movl $0x2, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273ae8
movl $0x2, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273ae8
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
addsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0xa0(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0xa0(%rsp), %rsi
callq 0x284c50
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x2, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273b4d
movl $0x3, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273b4d
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
addsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x98(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x98(%rsp), %rsi
callq 0x284ce0
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x3, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273bb2
movl $0x2, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273bb2
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
subsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x90(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x90(%rsp), %rsi
callq 0x284ce0
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x3, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273c17
movl $0x3, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273c17
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
subsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x88(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x88(%rsp), %rsi
callq 0x284c50
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x4, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273c7c
movl $0x4, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273c7c
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
mulsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x80(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x80(%rsp), %rsi
callq 0x284d70
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x4, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273cdb
movl $0x5, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273cdb
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
mulsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x78(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x78(%rsp), %rsi
callq 0x284e00
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x5, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273d3a
movl $0x4, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273d3a
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
divsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x70(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x70(%rsp), %rsi
callq 0x284e00
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movl $0x5, %eax
cmpl 0xb4(%rsp), %eax
jne 0x273d99
movl $0x5, %eax
cmpl 0xb0(%rsp), %eax
jne 0x273d99
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
divsd 0xc0(%rsp), %xmm0
movsd %xmm0, 0x68(%rsp)
movq 0xb8(%rsp), %rdx
leaq 0x68(%rsp), %rsi
callq 0x284d70
movq %rax, 0xf0(%rsp)
jmp 0x273f00
jmp 0x273d9b
jmp 0x273d9d
jmp 0x273d9f
jmp 0x273da1
jmp 0x273da3
jmp 0x273da5
jmp 0x273da7
jmp 0x273da9
movq 0xe8(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movl 0xb4(%rsp), %edx
movl 0xb0(%rsp), %ecx
leaq 0x40(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x2b6ea0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rsi
movsd 0xc8(%rsp), %xmm0
movsd 0xc0(%rsp), %xmm1
movq 0xb8(%rsp), %rdx
leaq 0xa8(%rsp), %rcx
callq 0x2b6e20
movb %al, 0x1f(%rsp)
jmp 0x273e0a
leaq 0x40(%rsp), %rdi
callq 0x11b838
movb 0x1f(%rsp), %al
andb $0x1, %al
movb %al, 0x67(%rsp)
testb $0x1, 0x67(%rsp)
je 0x273e57
movq 0xa8(%rsp), %rax
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x38(%rsp)
movl %eax, 0x34(%rsp)
leaq 0x40(%rsp), %rdi
callq 0x11b838
jmp 0x273f10
movq $0x0, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
movq 0xe8(%rsp), %rdi
leaq 0xb4(%rsp), %rsi
leaq 0x28(%rsp), %rdx
callq 0x2974b0
testb $0x1, %al
jne 0x273e96
callq 0x2821f0
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movq 0xe8(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
leaq 0x20(%rsp), %rdx
callq 0x2974b0
testb $0x1, %al
jne 0x273ec3
callq 0x2821f0
movq %rax, 0xf0(%rsp)
jmp 0x273f00
movq 0xe8(%rsp), %rax
movq 0x8(%rax), %rdi
movsd 0xc8(%rsp), %xmm0
movsd 0xc0(%rsp), %xmm1
movq 0xb8(%rsp), %rsi
movq 0x28(%rsp), %rdx
movq 0x20(%rsp), %rcx
callq 0x2b7060
movq %rax, 0xf0(%rsp)
movq 0xf0(%rsp), %rax
addq $0xf8, %rsp
retq
movq 0x38(%rsp), %rdi
callq 0x11b4e0
nopw (%rax,%rax)