// File: ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::synthesize_binary_ext_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 bool left_neg  = is_neg_unary_node(branch[0]);
               const bool right_neg = is_neg_unary_node(branch[1]);

               if (left_neg && right_neg)
               {
                  if (
                       (details::e_add == operation) ||
                       (details::e_sub == operation) ||
                       (details::e_mul == operation) ||
                       (details::e_div == operation)
                     )
                  {
                     if (
                          !expr_gen.parser_->simplify_unary_negation_branch(branch[0]) ||
                          !expr_gen.parser_->simplify_unary_negation_branch(branch[1])
                        )
                     {
                        details::free_all_nodes(*expr_gen.node_allocator_,branch);

                        return error_node();
                     }
                  }

                  switch (operation)
                  {
                                           // -f(x + 1) + -g(y + 1) --> -(f(x + 1) + g(y + 1))
                     case details::e_add : return expr_gen(details::e_neg,
                                              expr_gen.node_allocator_->
                                                 template allocate<typename details::binary_ext_node<Type,details::add_op<Type> > >
                                                    (branch[0],branch[1]));

                                           // -f(x + 1) - -g(y + 1) --> g(y + 1) - f(x + 1)
                     case details::e_sub : return expr_gen.node_allocator_->
                                              template allocate<typename details::binary_ext_node<Type,details::sub_op<Type> > >
                                                 (branch[1],branch[0]);

                     default             : break;
                  }
               }
               else if (left_neg && !right_neg)
               {
                  if (
                       (details::e_add == operation) ||
                       (details::e_sub == operation) ||
                       (details::e_mul == operation) ||
                       (details::e_div == operation)
                     )
                  {
                     if (!expr_gen.parser_->simplify_unary_negation_branch(branch[0]))
                     {
                        details::free_all_nodes(*expr_gen.node_allocator_,branch);

                        return error_node();
                     }

                     switch (operation)
                     {
                                              // -f(x + 1) + g(y + 1) --> g(y + 1) - f(x + 1)
                        case details::e_add : return expr_gen.node_allocator_->
                                                 template allocate<typename details::binary_ext_node<Type,details::sub_op<Type> > >
                                                   (branch[1], branch[0]);

                                              // -f(x + 1) - g(y + 1) --> -(f(x + 1) + g(y + 1))
                        case details::e_sub : return expr_gen(details::e_neg,
                                                 expr_gen.node_allocator_->
                                                    template allocate<typename details::binary_ext_node<Type,details::add_op<Type> > >
                                                       (branch[0], branch[1]));

                                              // -f(x + 1) * g(y + 1) --> -(f(x + 1) * g(y + 1))
                        case details::e_mul : return expr_gen(details::e_neg,
                                                 expr_gen.node_allocator_->
                                                    template allocate<typename details::binary_ext_node<Type,details::mul_op<Type> > >
                                                       (branch[0], branch[1]));

                                              // -f(x + 1) / g(y + 1) --> -(f(x + 1) / g(y + 1))
                        case details::e_div : return expr_gen(details::e_neg,
                                                 expr_gen.node_allocator_->
                                                    template allocate<typename details::binary_ext_node<Type,details::div_op<Type> > >
                                                       (branch[0], branch[1]));

                        default             : return error_node();
                     }
                  }
               }
               else if (!left_neg && right_neg)
               {
                  if (
                       (details::e_add == operation) ||
                       (details::e_sub == operation) ||
                       (details::e_mul == operation) ||
                       (details::e_div == operation)
                     )
                  {
                     if (!expr_gen.parser_->simplify_unary_negation_branch(branch[1]))
                     {
                        details::free_all_nodes(*expr_gen.node_allocator_,branch);

                        return error_node();
                     }

                     switch (operation)
                     {
                                              // f(x + 1) + -g(y + 1) --> f(x + 1) - g(y + 1)
                        case details::e_add : return expr_gen.node_allocator_->
                                                 template allocate<typename details::binary_ext_node<Type,details::sub_op<Type> > >
                                                   (branch[0], branch[1]);

                                              // f(x + 1) - - g(y + 1) --> f(x + 1) + g(y + 1)
                        case details::e_sub : return expr_gen.node_allocator_->
                                                 template allocate<typename details::binary_ext_node<Type,details::add_op<Type> > >
                                                   (branch[0], branch[1]);

                                              // f(x + 1) * -g(y + 1) --> -(f(x + 1) * g(y + 1))
                        case details::e_mul : return expr_gen(details::e_neg,
                                                 expr_gen.node_allocator_->
                                                    template allocate<typename details::binary_ext_node<Type,details::mul_op<Type> > >
                                                       (branch[0], branch[1]));

                                              // f(x + 1) / -g(y + 1) --> -(f(x + 1) / g(y + 1))
                        case details::e_div : return expr_gen(details::e_neg,
                                                 expr_gen.node_allocator_->
                                                    template allocate<typename details::binary_ext_node<Type,details::div_op<Type> > >
                                                       (branch[0], branch[1]));

                        default             : return error_node();
                     }
                  }
               }

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

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

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x78(%rsp)
movq %rsi, 0x70(%rsp)
movq %rdx, 0x68(%rsp)
movq 0x68(%rsp), %rax
movq (%rax), %rdi
callq 0x383ee0
andb $0x1, %al
movb %al, 0x67(%rsp)
movq 0x68(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0x383ee0
andb $0x1, %al
movb %al, 0x66(%rsp)
testb $0x1, 0x67(%rsp)
je 0x3e6920
testb $0x1, 0x66(%rsp)
je 0x3e6920
movq 0x70(%rsp), %rcx
movl $0x2, %eax
cmpl (%rcx), %eax
je 0x3e682b
movq 0x70(%rsp), %rcx
movl $0x3, %eax
cmpl (%rcx), %eax
je 0x3e682b
movq 0x70(%rsp), %rcx
movl $0x4, %eax
cmpl (%rcx), %eax
je 0x3e682b
movq 0x70(%rsp), %rcx
movl $0x5, %eax
cmpl (%rcx), %eax
jne 0x3e6886
movq 0x78(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x68(%rsp), %rsi
callq 0x383f20
testb $0x1, %al
jne 0x3e6844
jmp 0x3e685f
movq 0x78(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x68(%rsp), %rsi
addq $0x8, %rsi
callq 0x383f20
testb $0x1, %al
jne 0x3e6884
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
callq 0x3ebbf0
callq 0x2821f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
jmp 0x3e6886
movq 0x70(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x48(%rsp)
subl $0x2, %eax
je 0x3e68a3
jmp 0x3e6898
movl 0x48(%rsp), %eax
subl $0x3, %eax
je 0x3e68f0
jmp 0x3e6919
movq 0x78(%rsp), %rax
movq %rax, 0x40(%rsp)
movl $0x34, 0x60(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d77c0
movq 0x40(%rsp), %rdi
movq %rax, %rdx
leaq 0x60(%rsp), %rsi
callq 0x3842f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
addq $0x8, %rsi
movq 0x68(%rsp), %rdx
callq 0x4d7850
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
jmp 0x3e691b
jmp 0x3e6cc9
testb $0x1, 0x67(%rsp)
je 0x3e6b04
testb $0x1, 0x66(%rsp)
jne 0x3e6b04
movq 0x70(%rsp), %rcx
movl $0x2, %eax
cmpl (%rcx), %eax
je 0x3e6972
movq 0x70(%rsp), %rcx
movl $0x3, %eax
cmpl (%rcx), %eax
je 0x3e6972
movq 0x70(%rsp), %rcx
movl $0x4, %eax
cmpl (%rcx), %eax
je 0x3e6972
movq 0x70(%rsp), %rcx
movl $0x5, %eax
cmpl (%rcx), %eax
jne 0x3e6aff
movq 0x78(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x68(%rsp), %rsi
callq 0x383f20
testb $0x1, %al
jne 0x3e69ae
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
callq 0x3ebbf0
callq 0x2821f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x70(%rsp), %rax
movl (%rax), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, 0x38(%rsp)
subl $0x3, %eax
ja 0x3e6aed
movq 0x38(%rsp), %rax
leaq 0x1b6a1c(%rip), %rcx    # 0x59d3f0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
addq $0x8, %rsi
movq 0x68(%rsp), %rdx
callq 0x4d7850
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq %rax, 0x30(%rsp)
movl $0x34, 0x5c(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d77c0
movq 0x30(%rsp), %rdi
movq %rax, %rdx
leaq 0x5c(%rsp), %rsi
callq 0x3842f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq %rax, 0x28(%rsp)
movl $0x34, 0x58(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d78e0
movq 0x28(%rsp), %rdi
movq %rax, %rdx
leaq 0x58(%rsp), %rsi
callq 0x3842f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq %rax, 0x20(%rsp)
movl $0x34, 0x54(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7970
movq 0x20(%rsp), %rdi
movq %rax, %rdx
leaq 0x54(%rsp), %rsi
callq 0x3842f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
callq 0x2821f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
jmp 0x3e6cc7
testb $0x1, 0x67(%rsp)
jne 0x3e6cc5
testb $0x1, 0x66(%rsp)
je 0x3e6cc5
movq 0x70(%rsp), %rcx
movl $0x2, %eax
cmpl (%rcx), %eax
je 0x3e6b56
movq 0x70(%rsp), %rcx
movl $0x3, %eax
cmpl (%rcx), %eax
je 0x3e6b56
movq 0x70(%rsp), %rcx
movl $0x4, %eax
cmpl (%rcx), %eax
je 0x3e6b56
movq 0x70(%rsp), %rcx
movl $0x5, %eax
cmpl (%rcx), %eax
jne 0x3e6cc3
movq 0x78(%rsp), %rax
movq 0x68(%rax), %rdi
movq 0x68(%rsp), %rsi
addq $0x8, %rsi
callq 0x383f20
testb $0x1, %al
jne 0x3e6b96
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
callq 0x3ebbf0
callq 0x2821f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x70(%rsp), %rax
movl (%rax), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, 0x18(%rsp)
subl $0x3, %eax
ja 0x3e6cb1
movq 0x18(%rsp), %rax
leaq 0x1b6844(%rip), %rcx    # 0x59d400
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7850
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d77c0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsp)
movl $0x34, 0x50(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d78e0
movq 0x10(%rsp), %rdi
movq %rax, %rdx
leaq 0x50(%rsp), %rsi
callq 0x3842f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq %rax, 0x8(%rsp)
movl $0x34, 0x4c(%rsp)
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7970
movq 0x8(%rsp), %rdi
movq %rax, %rdx
leaq 0x4c(%rsp), %rsi
callq 0x3842f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
callq 0x2821f0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
jmp 0x3e6cc5
jmp 0x3e6cc7
jmp 0x3e6cc9
movq 0x70(%rsp), %rax
movl (%rax), %eax
addl $-0x2, %eax
movl %eax, %ecx
movq %rcx, (%rsp)
subl $0x19, %eax
ja 0x3e6fcc
movq (%rsp), %rax
leaq 0x1b6723(%rip), %rcx    # 0x59d410
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d77c0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7850
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d78e0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7970
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7a00
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7a90
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7b20
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7bb0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7c40
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7cd0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7d60
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7df0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7e80
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7f10
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d7fa0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d8030
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d80c0
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
movq 0x78(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x68(%rsp), %rsi
movq 0x68(%rsp), %rdx
addq $0x8, %rdx
callq 0x4d8150
movq %rax, 0x80(%rsp)
jmp 0x3e6fd9
callq 0x2821f0
movq %rax, 0x80(%rsp)
movq 0x80(%rsp), %rax
addq $0x88, %rsp
retq
nopl (%rax)