// File: /workspace/github_cpp_makefile_star2_O3/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::synthesize_boc_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[1])->value();

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

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

                  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[0]);

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

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

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

                        return bocnode;
                     }
                  }
                  else if (operation == details::e_div)
                  {
                     details::boc_base_node<Type>* bocnode = static_cast<details::boc_base_node<Type>*>(branch[0]);
                     details::operator_type        boc_opr = bocnode->operation();

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

                        return bocnode;
                     }
                  }
                  else if (operation == details::e_pow)
                  {
                     // (v ^ c0) ^ c1 --> v ^(c0 * c1)
                     details::boc_base_node<Type>* bocnode = static_cast<details::boc_base_node<Type>*>(branch[0]);
                     details::operator_type        boc_opr = bocnode->operation();

                     if (details::e_pow == boc_opr)
                     {
                        bocnode->set_c(bocnode->c() * c);

                        return bocnode;
                     }
                  }
               }

               #ifndef exprtk_disable_enhanced_features
               if (details::is_sf3ext_node(branch[0]))
               {
                  expression_node_ptr result = error_node();

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

                  if (synthesis_result)
                  {
                     free_node(*expr_gen.node_allocator_, branch[0]);

                     return result;
                  }
               }
               #endif

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

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, %r12
movq %rdi, %r15
movq 0x8(%rdx), %rdi
movsd 0x20(%rdi), %xmm0
movsd %xmm0, 0x8(%rsp)
movsd %xmm0, (%rsp)
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29dce5
leaq 0x8(%rbx), %r14
movq (%r14), %rdi
testq %rdi, %rdi
je 0x29dcdd
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29dce5
movq %r14, %rdi
callq 0x1ea63e
xorpd %xmm0, %xmm0
movsd 0x8(%rsp), %xmm1
ucomisd %xmm0, %xmm1
movl (%r12), %r13d
jne 0x29dd83
jp 0x29dd83
cmpl $0x2, %r13d
je 0x29dda0
cmpl $0x5, %r13d
je 0x29de2e
cmpl $0x4, %r13d
jne 0x29dda8
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29dd4f
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29dd4f
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29dd47
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29dd4f
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 0x239f48(%rip), %rax    # 0x4d7cb8
movq %rax, (%r14)
leaq 0x239f86(%rip), %rax    # 0x4d7d00
movq %rax, 0x8(%r14)
jmp 0x29e0eb
ucomisd 0xeb295(%rip), %xmm1    # 0x389020
setnp %al
sete %cl
andb %al, %cl
cmpl $0x4, %r13d
sete %al
andb %cl, %al
cmpb $0x1, %al
jne 0x29dda8
movq (%rbx), %r14
jmp 0x29e0eb
movq (%rbx), %r14
testq %r14, %r14
je 0x29df0a
leaq 0x238335(%rip), %rsi    # 0x4d60f0
leaq 0x281a1e(%rip), %rdx    # 0x51f7e0
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x11e4f0
testq %rax, %rax
je 0x29df0a
leal -0x2(%r13), %eax
cmpl $0x5, %eax
ja 0x29df0a
leaq 0xedb4b(%rip), %rcx     # 0x38b934
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
cmpl %eax, %r13d
jne 0x29df0a
movl (%r12), %eax
cmpl $0x4, %eax
je 0x29deab
cmpl $0x2, %eax
jne 0x29e0fd
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
addsd 0x8(%rsp), %xmm0
jmp 0x29deba
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29de5c
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29de5c
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29de54
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29de5c
movq %rbx, %rdi
callq 0x1ea63e
movl $0x28, %edi
callq 0x11e0f0
movq %rax, %r14
movb $0x0, 0x10(%rax)
movq $0x0, 0x18(%rax)
leaq 0x239e3c(%rip), %rax    # 0x4d7cb8
movq %rax, (%r14)
leaq 0x239e7a(%rip), %rax    # 0x4d7d00
movq %rax, 0x8(%r14)
movabsq $0x7ff8000000000000, %rax # imm = 0x7FF8000000000000
movq %rax, 0x20(%r14)
jmp 0x29e0eb
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
cmpl $0x7, %eax
jne 0x29df0a
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
mulsd 0x8(%rsp), %xmm0
movq (%r14), %rax
movq %r14, %rdi
callq *0x48(%rax)
jmp 0x29e0eb
movq (%r14), %rax
movq %r14, %rdi
callq *0x38(%rax)
movl %eax, %ebp
andl $-0x2, %eax
cmpl $0x4, %eax
jne 0x29df0a
movq (%r14), %rax
movq %r14, %rdi
callq *0x40(%rax)
movq (%r14), %rax
movq 0x48(%rax), %rax
cmpl $0x5, %ebp
jne 0x29e102
movsd 0x8(%rsp), %xmm1
mulsd %xmm0, %xmm1
movq %r14, %rdi
movapd %xmm1, %xmm0
jmp 0x29e10b
movq (%rbx), %rdi
movq (%rdi), %rax
callq *0x28(%rax)
addl $-0x6a, %eax
cmpl $0x4, %eax
ja 0x29df77
leaq 0x10(%rsp), %rcx
movq $0x0, (%rcx)
movq %r15, %rdi
movsd 0x8(%rsp), %xmm0
movq %r12, %rsi
movq %rbx, %rdx
callq 0x3090b2
testb %al, %al
je 0x29df77
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29df6d
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x11, %eax
je 0x29df6d
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x29df65
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
je 0x29df6d
movq %rbx, %rdi
callq 0x1ea63e
movq 0x10(%rsp), %r14
jmp 0x29e0eb
movl (%r12), %eax
xorl %r14d, %r14d
addl $-0x2, %eax
cmpl $0x19, %eax
ja 0x29e0eb
leaq 0xed9bb(%rip), %rcx     # 0x38b94c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x3097da
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309c52
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309af2
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x30993a
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309bfa
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309832
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309992
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309a9a
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x3098e2
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x30988a
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x3099ea
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309a42
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309caa
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309d02
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309ba2
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309b4a
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309db2
jmp 0x29e0e8
movq 0x8(%r15), %rdi
movq %rsp, %rdx
movq %rbx, %rsi
callq 0x309d5a
movq %rax, %r14
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r14d, %r14d
jmp 0x29e0eb
divsd 0x8(%rsp), %xmm0
movq %r14, %rdi
callq *%rax
jmp 0x29e0eb
nop