// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::synthesize_coboc_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])
            {
               expression_node_ptr result = error_node();

               // (boc) o c --> boc
               if (details::is_boc_node(branch[0]))
               {
                  details::boc_base_node<Type>* bocnode = static_cast<details::boc_base_node<Type>*>(branch[0]);

                  const Type c = static_cast<details::literal_node<Type>*>(branch[1])->value();

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

                     result = bocnode;
                  }
                  else if (details::e_mul == bocnode->operation())
                  {
                     switch (operation)
                     {
                        case details::e_mul : bocnode->set_c(bocnode->c() * c); break;
                        case details::e_div : bocnode->set_c(bocnode->c() / c); break;
                        default             : return error_node();
                     }

                     result = bocnode;
                  }
                  else if (details::e_sub == bocnode->operation())
                  {
                     if (details::e_add == operation)
                     {
                        result = expr_gen.node_allocator_->
                                    template allocate_tt<typename details::boc_node<Type,details::add_op<Type> > >
                                       (bocnode->move_branch(0), c - bocnode->c());

                        details::free_node(*expr_gen.node_allocator_,branch[0]);
                     }
                     else if (details::e_sub == operation)
                     {
                        bocnode->set_c(bocnode->c() + c);
                        result = bocnode;
                     }
                  }
                  else if (details::e_div == bocnode->operation())
                  {
                     switch (operation)
                     {
                        case details::e_div : bocnode->set_c(bocnode->c() * c); break;
                        case details::e_mul : bocnode->set_c(bocnode->c() / c); break;
                        default             : return error_node();
                     }

                     result = bocnode;
                  }

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

               // c o (boc) --> boc
               else if (details::is_boc_node(branch[1]))
               {
                  details::boc_base_node<Type>* bocnode = static_cast<details::boc_base_node<Type>*>(branch[1]);

                  const Type c = static_cast<details::literal_node<Type>*>(branch[0])->value();

                  if (details::e_add == bocnode->operation())
                  {
                     if (details::e_add == operation)
                     {
                        bocnode->set_c(c + bocnode->c());
                        result = bocnode;
                     }
                     else if (details::e_sub == operation)
                     {
                        result = expr_gen.node_allocator_->
                                    template allocate_tt<typename details::cob_node<Type,details::sub_op<Type> > >
                                       (c - bocnode->c(), bocnode->move_branch(0));

                        details::free_node(*expr_gen.node_allocator_,branch[1]);
                     }
                  }
                  else if (details::e_sub == bocnode->operation())
                  {
                     if (details::e_add == operation)
                     {
                        result = expr_gen.node_allocator_->
                                    template allocate_tt<typename details::boc_node<Type,details::add_op<Type> > >
                                       (bocnode->move_branch(0), c - bocnode->c());

                        details::free_node(*expr_gen.node_allocator_,branch[1]);
                     }
                     else if (details::e_sub == operation)
                     {
                        result = expr_gen.node_allocator_->
                                    template allocate_tt<typename details::cob_node<Type,details::sub_op<Type> > >
                                       (c + bocnode->c(), bocnode->move_branch(0));

                        details::free_node(*expr_gen.node_allocator_,branch[1]);
                     }
                  }
                  else if (details::e_mul == bocnode->operation())
                  {
                     if (details::e_mul == operation)
                     {
                        bocnode->set_c(c * bocnode->c());
                        result = bocnode;
                     }
                     else if (details::e_div == operation)
                     {
                        result = expr_gen.node_allocator_->
                                    template allocate_tt<typename details::cob_node<Type,details::div_op<Type> > >
                                       (c / bocnode->c(), bocnode->move_branch(0));

                        details::free_node(*expr_gen.node_allocator_,branch[1]);
                     }
                  }
                  else if (details::e_div == bocnode->operation())
                  {
                     if (details::e_mul == operation)
                     {
                        bocnode->set_c(bocnode->c() / c);
                        result = bocnode;
                     }
                     else if (details::e_div == operation)
                     {
                        result = expr_gen.node_allocator_->
                                    template allocate_tt<typename details::cob_node<Type,details::div_op<Type> > >
                                       (c * bocnode->c(), bocnode->move_branch(0));

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

                  if (result)
                  {
                     details::free_node(*expr_gen.node_allocator_,branch[0]);
                  }
               }

               return result;
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %rbp
movq (%rdx), %r12
testq %r12, %r12
je 0x29c56a
leaq 0x239be6(%rip), %rsi    # 0x4d60f0
leaq 0x2832cf(%rip), %rdx    # 0x51f7e0
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x11e4f0
testq %rax, %rax
je 0x29c56a
movq 0x8(%rbx), %rax
movsd 0x20(%rax), %xmm0
movsd %xmm0, (%rsp)
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x2, %eax
jne 0x29c5f5
movl (%r15), %eax
cmpl $0x3, %eax
je 0x29c76f
cmpl $0x2, %eax
jne 0x29c9ed
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
addsd (%rsp), %xmm0
jmp 0x29c7f4
movq 0x8(%rbx), %r13
testq %r13, %r13
je 0x29c9ed
leaq 0x239b72(%rip), %rsi    # 0x4d60f0
leaq 0x28325b(%rip), %rdx    # 0x51f7e0
xorl %r14d, %r14d
movq %r13, %rdi
xorl %ecx, %ecx
callq 0x11e4f0
testq %rax, %rax
je 0x29c9f0
leaq 0x8(%rbx), %rax
movq %rax, 0x10(%rsp)
movsd 0x20(%r12), %xmm0
movsd %xmm0, (%rsp)
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x2, %eax
jne 0x29c631
movl (%r15), %eax
cmpl $0x3, %eax
je 0x29c844
cmpl $0x2, %eax
jne 0x29c9ed
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
addsd (%rsp), %xmm0
movq (%r13), %rax
movq %r13, %rdi
callq *0x48(%rax)
movq %r13, %r14
jmp 0x29c805
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x4, %eax
jne 0x29c6ac
movl (%r15), %eax
cmpl $0x5, %eax
je 0x29c7e5
cmpl $0x4, %eax
jne 0x29c9ed
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
jmp 0x29c7f4
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x3, %eax
jne 0x29c780
movl (%r15), %eax
cmpl $0x3, %eax
je 0x29c8d3
cmpl $0x2, %eax
jne 0x29c9ed
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %rax, %r15
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movl $0x38, %edi
callq 0x11e0f0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x2fcf54
jmp 0x29c91d
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x3, %eax
jne 0x29c7bc
movl (%r15), %eax
cmpl $0x3, %eax
je 0x29c556
cmpl $0x2, %eax
jne 0x29c9ed
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r12), %rax
movq %r12, %rdi
callq *0x50(%rax)
movq %rax, %r15
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
movl $0x38, %edi
callq 0x11e0f0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x2fcf54
movq %r14, %rdi
addq $0x8, %rdi
movq 0x8(%r14), %rax
callq *0x10(%rax)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29c801
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29c801
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29c762
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29c801
movq %rbx, %rdi
callq 0x1ea63e
jmp 0x29c801
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
subsd (%rsp), %xmm0
jmp 0x29c7f4
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x4, %eax
jne 0x29c897
movl (%r15), %eax
cmpl $0x5, %eax
je 0x29c96f
cmpl $0x4, %eax
jne 0x29c9ed
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
jmp 0x29c5e3
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x5, %eax
jne 0x29c9ed
movl (%r15), %eax
cmpl $0x4, %eax
je 0x29c7e5
cmpl $0x5, %eax
je 0x29c61d
jmp 0x29c9ed
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
divsd (%rsp), %xmm0
movq (%r12), %rax
movq %r12, %rdi
callq *0x48(%rax)
movq %r12, %r14
addq $0x8, %rbx
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29c9f0
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29c9f0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29c837
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29c9f0
movq %rbx, %rdi
callq 0x1ea63e
jmp 0x29c9f0
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %rax, %r15
movl $0x38, %edi
callq 0x11e0f0
movq %rax, %r14
movq %rax, %rdi
movsd (%rsp), %xmm0
movq %r15, %rsi
callq 0x2fcb1a
jmp 0x29c91d
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x5, %eax
jne 0x29c9ed
movl (%r15), %eax
cmpl $0x5, %eax
je 0x29c991
cmpl $0x4, %eax
jne 0x29c9ed
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
divsd (%rsp), %xmm0
jmp 0x29c5e3
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
addsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %rax, %r15
movl $0x38, %edi
callq 0x11e0f0
movq %rax, %r14
movq %rax, %rdi
movsd (%rsp), %xmm0
movq %r15, %rsi
callq 0x2fcb1a
movq %r14, %rdi
addq $0x8, %rdi
movq 0x8(%r14), %rax
callq *0x10(%rax)
movq 0x10(%rsp), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x29c805
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29c805
movq (%r15), %rdi
testq %rdi, %rdi
je 0x29c962
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29c805
movq %r15, %rdi
callq 0x1ea63e
jmp 0x29c805
movq 0x8(%rbp), %r14
addq $0x8, %rbp
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
jmp 0x29c9ad
movq 0x8(%rbp), %r14
addq $0x8, %rbp
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %r14, %rdi
movsd (%rsp), %xmm0
movq %rax, %rsi
callq 0x2fc844
movq %rax, %r14
movq (%rbp), %rdi
movq 0x10(%rsp), %rsi
callq 0x205f00
testq %r14, %r14
jne 0x29c805
xorl %r14d, %r14d
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x29ca08
jmp 0x29ca08
jmp 0x29ca08
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x11e0c0
movq %rbx, %rdi
callq 0x11e330