// File: /workspace/github_cpp_makefile_star2_O1/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 0x2b942a
leaq 0x256066(%rip), %rsi    # 0x50f430
leaq 0x2a0217(%rip), %rdx    # 0x5595e8
movq %r12, %rdi
xorl %ecx, %ecx
callq 0x1204f0
testq %rax, %rax
je 0x2b942a
movq 0x8(%rbx), %rax
movsd 0x20(%rax), %xmm0
movsd %xmm0, (%rsp)
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x2, %eax
jne 0x2b94b5
movl (%r15), %eax
cmpl $0x3, %eax
je 0x2b962f
cmpl $0x2, %eax
jne 0x2b969c
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
addsd (%rsp), %xmm0
jmp 0x2b96b3
movq 0x8(%rbx), %r13
testq %r13, %r13
je 0x2b969c
leaq 0x255ff2(%rip), %rsi    # 0x50f430
leaq 0x2a01a3(%rip), %rdx    # 0x5595e8
xorl %r14d, %r14d
movq %r13, %rdi
xorl %ecx, %ecx
callq 0x1204f0
testq %rax, %rax
je 0x2b989b
leaq 0x8(%rbx), %rax
movq %rax, 0x8(%rsp)
movsd 0x20(%r12), %xmm0
movsd %xmm0, (%rsp)
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x2, %eax
jne 0x2b94f1
movl (%r15), %eax
cmpl $0x3, %eax
je 0x2b96d7
cmpl $0x2, %eax
jne 0x2b975e
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 0x2b9868
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x4, %eax
jne 0x2b956c
movl (%r15), %eax
cmpl $0x5, %eax
je 0x2b96a4
cmpl $0x4, %eax
jne 0x2b969c
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
jmp 0x2b96b3
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x3, %eax
jne 0x2b9640
movl (%r15), %eax
cmpl $0x3, %eax
je 0x2b9766
cmpl $0x2, %eax
jne 0x2b975e
leaq 0x10(%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 0x1200f0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x3183d0
jmp 0x2b97b0
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x3, %eax
jne 0x2b967c
movl (%r15), %eax
cmpl $0x3, %eax
je 0x2b9416
cmpl $0x2, %eax
jne 0x2b96d2
leaq 0x10(%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 0x1200f0
movq %rax, %r14
movq %rax, %rdi
movq %r15, %rsi
movsd (%rsp), %xmm0
callq 0x3183d0
movq %r14, %rdi
addq $0x8, %rdi
movq 0x8(%r14), %rax
callq *0x10(%rax)
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2b96c0
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x2b96c0
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2b9622
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x2b96c0
movq %rbx, %rdi
callq 0x1f1690
jmp 0x2b96c0
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
subsd (%rsp), %xmm0
jmp 0x2b96b3
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x4, %eax
jne 0x2b972a
movl (%r15), %eax
cmpl $0x5, %eax
je 0x2b97fb
cmpl $0x4, %eax
jne 0x2b975e
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
jmp 0x2b94a3
movq (%r12), %rax
movq %r12, %rdi
callq *0x38(%rax)
cmpl $0x5, %eax
jne 0x2b96d2
movl (%r15), %eax
cmpl $0x4, %eax
je 0x2b96a4
cmpl $0x5, %eax
je 0x2b94dd
xorl %r14d, %r14d
jmp 0x2b989b
movq (%r12), %rax
movq %r12, %rdi
callq *0x40(%rax)
divsd (%rsp), %xmm0
movq (%r12), %rax
movq %r12, %rdi
callq *0x48(%rax)
movq %r12, %r14
testq %r14, %r14
je 0x2b989b
addq $0x8, %rbx
jmp 0x2b986d
xorl %r14d, %r14d
jmp 0x2b96c0
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
subsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
leaq 0x10(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %rax, %r15
movl $0x38, %edi
callq 0x1200f0
movq %rax, %r14
movq %rax, %rdi
movsd (%rsp), %xmm0
movq %r15, %rsi
callq 0x317fa2
jmp 0x2b97b0
movq (%r13), %rax
movq %r13, %rdi
callq *0x38(%rax)
cmpl $0x5, %eax
jne 0x2b975e
movl (%r15), %eax
cmpl $0x5, %eax
je 0x2b9819
cmpl $0x4, %eax
jne 0x2b975e
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
divsd (%rsp), %xmm0
jmp 0x2b94a3
xorl %r14d, %r14d
jmp 0x2b9868
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
addsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
leaq 0x10(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %rax, %r15
movl $0x38, %edi
callq 0x1200f0
movq %rax, %r14
movq %rax, %rdi
movsd (%rsp), %xmm0
movq %r15, %rsi
callq 0x317fa2
movq %r14, %rdi
addq $0x8, %rdi
movq 0x8(%r14), %rax
callq *0x10(%rax)
movq 0x8(%rsp), %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x2b9868
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x2b9868
movq (%r15), %rdi
testq %rdi, %rdi
je 0x2b97f1
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x2b9868
movq %r15, %rdi
callq 0x1f1690
jmp 0x2b9868
movq 0x8(%rbp), %r14
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
movsd (%rsp), %xmm1
divsd %xmm0, %xmm1
movsd %xmm1, (%rsp)
jmp 0x2b9831
movq 0x8(%rbp), %r14
movq (%r13), %rax
movq %r13, %rdi
callq *0x40(%rax)
mulsd (%rsp), %xmm0
movsd %xmm0, (%rsp)
leaq 0x10(%rsp), %rsi
movq $0x0, (%rsi)
movq (%r13), %rax
movq %r13, %rdi
callq *0x50(%rax)
movq %r14, %rdi
movsd (%rsp), %xmm0
movq %rax, %rsi
callq 0x317cca
movq %rax, %r14
movq 0x8(%rbp), %rdi
movq 0x8(%rsp), %rsi
callq 0x20d702
testq %r14, %r14
je 0x2b989b
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2b989b
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x2b989b
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x2b9893
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x2b989b
movq %rbx, %rdi
callq 0x1f1690
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x2b98b3
jmp 0x2b98b3
jmp 0x2b98b3
movq %rax, %rbx
movl $0x38, %esi
movq %r14, %rdi
callq 0x1200c0
movq %rbx, %rdi
callq 0x120330
nop