// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::synthesize_cob_expression::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])
            {
               const Type c = static_cast<details::literal_node<Type>*>(branch[0])->value();

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

               if (std::equal_to<T>()(T(0),c) && (details::e_mul == operation))
               {
                  details::free_node(*expr_gen.node_allocator_,branch[1]);

                  return expr_gen(T(0));
               }
               else if (std::equal_to<T>()(T(0),c) && (details::e_div == operation))
               {
                  details::free_node(*expr_gen.node_allocator_, branch[1]);

                  return expr_gen(T(0));
               }
               else if (std::equal_to<T>()(T(0),c) && (details::e_add == operation))
                  return branch[1];
               else if (std::equal_to<T>()(T(1),c) && (details::e_mul == operation))
                  return branch[1];

               if (details::is_cob_node(branch[1]))
               {
                  // Simplify expressions of the form:
                  // 1. (1 * (2 * (3 * (4 * (5 * (6 * (7 * (8 * (9 + x))))))))) --> 40320 * (9 + x)
                  // 2. (1 + (2 + (3 + (4 + (5 + (6 + (7 + (8 + (9 + x))))))))) --> 45 + x
                  if (
                       (details::e_mul == operation) ||
                       (details::e_add == operation)
                     )
                  {
                     details::cob_base_node<Type>* cobnode = static_cast<details::cob_base_node<Type>*>(branch[1]);

                     if (operation == cobnode->operation())
                     {
                        switch (operation)
                        {
                           case details::e_add : cobnode->set_c(c + cobnode->c()); break;
                           case details::e_mul : cobnode->set_c(c * cobnode->c()); break;
                           default             : return error_node();
                        }

                        return cobnode;
                     }
                  }

                  if (operation == details::e_mul)
                  {
                     details::cob_base_node<Type>* cobnode = static_cast<details::cob_base_node<Type>*>(branch[1]);
                     details::operator_type cob_opr = cobnode->operation();

                     if (
                          (details::e_div == cob_opr) ||
                          (details::e_mul == cob_opr)
                        )
                     {
                        switch (cob_opr)
                        {
                           case details::e_div : cobnode->set_c(c * cobnode->c()); break;
                           case details::e_mul : cobnode->set_c(cobnode->c() / c); break;
                           default             : return error_node();
                        }

                        return cobnode;
                     }
                  }
                  else if (operation == details::e_div)
                  {
                     details::cob_base_node<Type>* cobnode = static_cast<details::cob_base_node<Type>*>(branch[1]);
                     details::operator_type cob_opr = cobnode->operation();

                     if (
                          (details::e_div == cob_opr) ||
                          (details::e_mul == cob_opr)
                        )
                     {
                        details::expression_node<Type>* new_cobnode = error_node();

                        switch (cob_opr)
                        {
                           case details::e_div : new_cobnode = expr_gen.node_allocator_->
                                                    template allocate_tt<typename details::cob_node<Type,details::mul_op<Type> > >
                                                       (c / cobnode->c(), cobnode->move_branch(0));
                                                 break;

                           case details::e_mul : new_cobnode = expr_gen.node_allocator_->
                                                    template allocate_tt<typename details::cob_node<Type,details::div_op<Type> > >
                                                       (c / cobnode->c(), cobnode->move_branch(0));
                                                 break;

                           default             : return error_node();
                        }

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

                        return new_cobnode;
                     }
                  }
               }
               #ifndef exprtk_disable_enhanced_features
               else if (details::is_sf3ext_node(branch[1]))
               {
                  expression_node_ptr result = error_node();

                  const bool synthesis_result =
                     synthesize_sf4ext_expression::template compile_right<ctype>
                        (expr_gen, c, operation, branch[1], result);

                  if (synthesis_result)
                  {
                     details::free_node(*expr_gen.node_allocator_,branch[1]);

                     return result;
                  }
               }
               #endif

               switch (operation)
               {
                  #define case_stmt(op0, op1)                                                      \
                  case op0 : return expr_gen.node_allocator_->                                     \
                                template allocate_tt<typename details::cob_node<Type,op1<Type> > > \
                                   (c,  branch[1]);                                                \

                  basic_opr_switch_statements
                  extended_opr_switch_statements
                  #undef case_stmt
                  default : return error_node();
               }
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
movq (%rdx), %rdi
movsd 0x20(%rdi), %xmm0
movsd %xmm0, (%rsp)
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29d812
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29d80a
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29d812
movq %rbx, %rdi
callq 0x1ea63e
xorpd %xmm0, %xmm0
movsd (%rsp), %xmm1
ucomisd %xmm0, %xmm1
movl (%r12), %ebp
jne 0x29d8a9
jp 0x29d8a9
cmpl $0x2, %ebp
je 0x29d8c5
cmpl $0x5, %ebp
je 0x29d842
cmpl $0x4, %ebp
jne 0x29d8ce
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x29d875
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29d875
addq $0x8, %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29d86d
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29d875
movq %rbx, %rdi
callq 0x1ea63e
movl $0x28, %edi
callq 0x11e0f0
movq %rax, %r14
movb $0x0, 0x10(%rax)
xorpd %xmm0, %xmm0
movupd %xmm0, 0x18(%rax)
leaq 0x23a422(%rip), %rax    # 0x4d7cb8
movq %rax, (%r14)
leaq 0x23a460(%rip), %rax    # 0x4d7d00
movq %rax, 0x8(%r14)
jmp 0x29dbcf
ucomisd 0xeb76f(%rip), %xmm1    # 0x389020
setnp %al
sete %cl
andb %al, %cl
cmpl $0x4, %ebp
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0x29d8ce
movq 0x8(%rbx), %r14
jmp 0x29dbcf
movq 0x8(%rbx), %r14
addq $0x8, %rbx
testq %r14, %r14
je 0x29d940
leaq 0x23880e(%rip), %rsi    # 0x4d60f0
leaq 0x281c1f(%rip), %rdx    # 0x51f508
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x11e4f0
testq %rax, %rax
je 0x29d940
cmpl $0x4, %ebp
je 0x29d906
cmpl $0x2, %ebp
jne 0x29d9b4
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
cmpl %eax, %ebp
movl (%r12), %ebp
jne 0x29d9b4
cmpl $0x4, %ebp
je 0x29daa7
cmpl $0x2, %ebp
jne 0x29dac3
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
addsd (%rsp), %xmm0
jmp 0x29dab5
movq (%r14), %rax
movq %r14, %rdi
callq *0x28(%rax)
addl $-0x6a, %eax
cmpl $0x4, %eax
ja 0x29da6e
leaq 0x8(%rsp), %rcx
movq $0x0, (%rcx)
movq %r15, %rdi
movsd (%rsp), %xmm0
movq %r12, %rsi
movq %rbx, %rdx
callq 0x30111a
testb %al, %al
je 0x29da6e
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29d9aa
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29d9aa
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29d9a2
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29d9aa
movq %rbx, %rdi
callq 0x1ea63e
movq 0x8(%rsp), %r14
jmp 0x29dbcf
cmpl $0x5, %ebp
je 0x29da0a
cmpl $0x4, %ebp
jne 0x29da6e
movq (%rbx), %r14
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
movl %eax, %ebp
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x29da6e
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
movq (%r14), %rax
movq 0x48(%rax), %rax
cmpl $0x5, %ebp
jne 0x29dbdf
movsd (%rsp), %xmm1
mulsd %xmm0, %xmm1
movq %r14, %rdi
movapd %xmm1, %xmm0
jmp 0x29dbe7
movq (%rbx), %r14
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
movl %eax, %ebp
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x29da6e
movq 0x8(%r15), %r12
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
leaq 0x8(%rsp), %rsi
cmpl $0x5, %ebp
jne 0x29dbeb
movq $0x0, (%rsi)
movq (%r14), %rax
movq %r14, %rdi
callq *0x50(%rax)
movq %r12, %rdi
movsd (%rsp), %xmm0
movq %rax, %rsi
callq 0x2fc952
jmp 0x29dc0b
movl (%r12), %eax
xorl %r14d, %r14d
addl $-0x2, %eax
cmpl $0x19, %eax
movsd (%rsp), %xmm0
ja 0x29dbcf
leaq 0xede3f(%rip), %rcx     # 0x38b8cc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x2fc8f8
jmp 0x29dbcc
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
jmp 0x29dbcf
xorl %r14d, %r14d
jmp 0x29dbcf
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301b6a
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301a02
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301840
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301b10
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x2fc89e
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x30189a
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x3019a8
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x2fc844
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x2fc952
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x3018f4
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x30194e
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301bc4
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301c1e
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301ab6
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301a5c
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301cd2
jmp 0x29dbcc
movq 0x8(%r15), %rdi
movq (%rbx), %rsi
callq 0x301c78
movq %rax, %r14
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
divsd (%rsp), %xmm0
movq %r14, %rdi
callq *%rax
jmp 0x29dbcf
movq $0x0, (%rsi)
movq (%r14), %rax
movq %r14, %rdi
callq *0x50(%rax)
movq %r12, %rdi
movsd (%rsp), %xmm0
movq %rax, %rsi
callq 0x2fc844
movq %rax, %r14
movq 0x8(%r15), %rdi
movq %rbx, %rsi
callq 0x205f00
jmp 0x29dbcf