// File: /workspace/github_cpp_makefile_star2_O2/ArashPartow[P]exprtk/./exprtk.hpp
// Function: exprtk::parser<double>::expression_generator<double>::synthesize_swap_expression(exprtk::details::expression_node<double>* (&) [2])
inline expression_node_ptr synthesize_swap_expression(expression_node_ptr (&branch)[2])
         {
            const bool v0_is_ivar = details::is_ivariable_node(branch[0]);
            const bool v1_is_ivar = details::is_ivariable_node(branch[1]);

            const bool v0_is_ivec = details::is_ivector_node  (branch[0]);
            const bool v1_is_ivec = details::is_ivector_node  (branch[1]);

            #ifndef exprtk_disable_string_capabilities
            const bool v0_is_str = details::is_generally_string_node(branch[0]);
            const bool v1_is_str = details::is_generally_string_node(branch[1]);
            #endif

            expression_node_ptr result = error_node();
            std::string node_name      = "Unknown";

            if (v0_is_ivar && v1_is_ivar)
            {
               typedef details::variable_node<T>* variable_node_ptr;

               variable_node_ptr v0 = variable_node_ptr(0);
               variable_node_ptr v1 = variable_node_ptr(0);

               if (
                    (0 != (v0 = dynamic_cast<variable_node_ptr>(branch[0]))) &&
                    (0 != (v1 = dynamic_cast<variable_node_ptr>(branch[1])))
                  )
               {
                  result    = node_allocator_->allocate<details::swap_node<T> >(v0,v1);
                  node_name = "swap_node";
               }
               else
               {
                  result    = node_allocator_->allocate<details::swap_generic_node<T> >(branch[0],branch[1]);
                  node_name = "swap_generic_node";
               }
            }
            else if (v0_is_ivec && v1_is_ivec)
            {
               result    = node_allocator_->allocate<details::swap_vecvec_node<T> >(branch[0],branch[1]);
               node_name = "swap_vecvec_node";
            }
            #ifndef exprtk_disable_string_capabilities
            else if (v0_is_str && v1_is_str)
            {
               if (is_string_node(branch[0]) && is_string_node(branch[1]))
               {
                  result = node_allocator_->allocate<details::swap_string_node<T> >
                                               (branch[0], branch[1]);
                  node_name = "swap_string_node";
               }
               else
               {
                  result = node_allocator_->allocate<details::swap_genstrings_node<T> >
                                               (branch[0], branch[1]);
                  node_name = "swap_genstrings_node";
               }
            }
            #endif
            else
            {
               parser_->set_synthesis_error("Only variables, strings, vectors or vector elements can be swapped");
               return error_node();
            }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rsi, %r14
movq %rdi, 0x10(%rsp)
movq (%rsi), %rdi
callq 0x22d9e1
movl %eax, %ebp
leaq 0x8(%r14), %rax
movq %rax, 0x18(%rsp)
movq 0x8(%r14), %rdi
callq 0x22d9e1
movl %eax, %r12d
movq (%r14), %rdi
callq 0x208d51
movl %eax, %r13d
movq 0x8(%r14), %rdi
callq 0x208d51
movl %eax, %r15d
movq (%r14), %rdi
callq 0x20b691
movl %eax, %ebx
movq 0x8(%r14), %rdi
callq 0x20b691
movb %al, 0x7(%rsp)
andq $0x0, 0x8(%rsp)
leaq 0xb57d3(%rip), %rsi     # 0x2da902
leaq 0x20(%rsp), %rdi
leaq 0xd0(%rsp), %rdx
callq 0x127016
testb %bpl, %bpl
je 0x2251a6
testb %r12b, %r12b
je 0x2251a6
andq $0x0, 0x40(%rsp)
movq (%r14), %rcx
testq %rcx, %rcx
je 0x225169
leaq 0x229eb0(%rip), %rax    # 0x44f010
cmpq %rax, (%rcx)
je 0x22529d
andq $0x0, 0xd0(%rsp)
movq 0x10(%rsp), %rbx
movq 0x18(%rsp), %rdx
movq 0x8(%rbx), %rdi
movq %r14, %rsi
callq 0x22dad4
movq %rax, %r14
movq %rax, 0x8(%rsp)
leaq 0xb577d(%rip), %rsi     # 0x2da914
leaq 0x20(%rsp), %rdi
callq 0x118600
jmp 0x225320
andb %r15b, %r13b
cmpb $0x1, %r13b
jne 0x2251e3
movq 0x10(%rsp), %rbx
movq 0x8(%rbx), %rdi
movq %r14, %rsi
movq 0x18(%rsp), %rdx
callq 0x22db26
movq %rax, %r14
movq %rax, 0x8(%rsp)
leaq 0xb5752(%rip), %rsi     # 0x2da926
leaq 0x20(%rsp), %rdi
callq 0x118600
jmp 0x225320
andb 0x7(%rsp), %bl
cmpb $0x1, %bl
movq 0x18(%rsp), %r15
jne 0x225259
movq (%r14), %rdi
testq %rdi, %rdi
movq 0x10(%rsp), %rbx
je 0x2252f8
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
jne 0x2252f8
movq (%r15), %rdi
testq %rdi, %rdi
je 0x2252f8
movq (%rdi), %rax
callq *0x28(%rax)
cmpl $0x12, %eax
jne 0x2252f8
movq 0x8(%rbx), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x22db78
movq %rax, %r14
movq %rax, 0x8(%rsp)
leaq 0xb56ed(%rip), %rsi     # 0x2da937
leaq 0x20(%rsp), %rdi
callq 0x118600
jmp 0x225320
movq 0x10(%rsp), %rax
movq 0x68(%rax), %rbx
leaq 0xb56f4(%rip), %rsi     # 0x2da95d
leaq 0xd0(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x127016
leaq 0xd0(%rsp), %rsi
movq %rbx, %rdi
callq 0x229d82
leaq 0xd0(%rsp), %rdi
callq 0x118648
jmp 0x22544a
movq %rcx, 0xd0(%rsp)
movq 0x18(%rsp), %rdx
movq (%rdx), %rcx
testq %rcx, %rcx
movq 0x10(%rsp), %rbx
je 0x22517c
cmpq %rax, (%rcx)
jne 0x22517c
leaq 0x40(%rsp), %rdx
movq %rcx, (%rdx)
movq 0x8(%rbx), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x22da8e
movq %rax, %r14
movq %rax, 0x8(%rsp)
leaq 0xb561e(%rip), %rsi     # 0x2da90a
leaq 0x20(%rsp), %rdi
callq 0x118600
jmp 0x225320
movq 0x8(%rbx), %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x22dbca
movq %rax, %r14
movq %rax, 0x8(%rsp)
leaq 0xb5632(%rip), %rsi     # 0x2da948
leaq 0x20(%rsp), %rdi
callq 0x118600
testq %r14, %r14
je 0x225376
movq (%r14), %rax
movq %r14, %rdi
callq *0x30(%rax)
testb %al, %al
je 0x225376
movq 0x68(%rbx), %rbx
leaq 0xb5663(%rip), %rsi     # 0x2da9a0
leaq 0xd0(%rsp), %rdi
leaq 0x40(%rsp), %rdx
callq 0x127016
cmpb $0x0, 0x3ac(%rbx)
jne 0x22535f
movb $0x1, 0x3ac(%rbx)
leaq 0xd0(%rsp), %rdi
callq 0x118648
movq 0x8(%rsp), %rbx
jmp 0x22544c
movq 0x68(%rbx), %r14
leaq 0x40(%rsp), %rdi
callq 0x19e4ae
leaq 0xb5632(%rip), %rsi     # 0x2da9bd
leaq 0xb0(%rsp), %rdi
leaq 0x20(%rsp), %rdx
callq 0x1f8aab
leaq 0x70(%rsp), %rdi
movl $0x8888, %esi           # imm = 0x8888
callq 0x1f7a3c
leaq 0xb4848(%rip), %rsi     # 0x2d9bfb
leaq 0x90(%rsp), %rdi
leaq 0x70(%rsp), %rdx
callq 0x1b4349
leaq 0xd0(%rsp), %rdi
pushq $0x7
popq %rsi
leaq 0x40(%rsp), %rdx
leaq 0xb0(%rsp), %rcx
leaq 0x90(%rsp), %r8
callq 0x1f7341
addq $0x308, %r14            # imm = 0x308
leaq 0xd0(%rsp), %rsi
movq %r14, %rdi
callq 0x1f76ce
leaq 0xd0(%rsp), %rdi
callq 0x1f5c4c
leaq 0x90(%rsp), %rdi
callq 0x118648
leaq 0x70(%rsp), %rdi
callq 0x118648
leaq 0xb0(%rsp), %rdi
callq 0x118648
leaq 0x48(%rsp), %rdi
callq 0x118648
movq 0x8(%rbx), %rdi
leaq 0x8(%rsp), %rsi
callq 0x1ad9c8
xorl %ebx, %ebx
leaq 0x20(%rsp), %rdi
callq 0x118648
movq %rbx, %rax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
jmp 0x2254c9
jmp 0x2254d4
jmp 0x2254d4
movq %rax, %rbx
leaq 0xd0(%rsp), %rdi
callq 0x1f5c4c
jmp 0x225491
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x118648
jmp 0x2254a3
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x118648
jmp 0x2254b2
movq %rax, %rbx
leaq 0xb0(%rsp), %rdi
callq 0x118648
jmp 0x2254c4
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x118648
jmp 0x2254d7
jmp 0x2254d4
jmp 0x2254d4
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x118648
movq %rbx, %rdi
callq 0x118360
nop