// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: bool pugi::impl::(anonymous namespace)::xpath_ast_node::compare_rel<pugi::impl::(anonymous namespace)::less>(pugi::impl::(anonymous namespace)::xpath_ast_node*, pugi::impl::(anonymous namespace)::xpath_ast_node*, pugi::impl::(anonymous namespace)::xpath_context const&, pugi::impl::(anonymous namespace)::xpath_stack const&, pugi::impl::(anonymous namespace)::less const&)
static bool compare_rel(xpath_ast_node* lhs, xpath_ast_node* rhs, const xpath_context& c, const xpath_stack& stack, const Comp& comp)
		{
			xpath_value_type lt = lhs->rettype(), rt = rhs->rettype();

			if (lt != xpath_type_node_set && rt != xpath_type_node_set)
				return comp(lhs->eval_number(c, stack), rhs->eval_number(c, stack));
			else if (lt == xpath_type_node_set && rt == xpath_type_node_set)
			{
				xpath_allocator_capture cr(stack.result);

				xpath_node_set_raw ls = lhs->eval_node_set(c, stack, nodeset_eval_all);
				xpath_node_set_raw rs = rhs->eval_node_set(c, stack, nodeset_eval_all);

				for (const xpath_node* li = ls.begin(); li != ls.end(); ++li)
				{
					xpath_allocator_capture cri(stack.result);

					double l = convert_string_to_number(string_value(*li, stack.result).c_str());

					for (const xpath_node* ri = rs.begin(); ri != rs.end(); ++ri)
					{
						xpath_allocator_capture crii(stack.result);

						if (comp(l, convert_string_to_number(string_value(*ri, stack.result).c_str())))
							return true;
					}
				}

				return false;
			}
			else if (lt != xpath_type_node_set && rt == xpath_type_node_set)
			{
				xpath_allocator_capture cr(stack.result);

				double l = lhs->eval_number(c, stack);
				xpath_node_set_raw rs = rhs->eval_node_set(c, stack, nodeset_eval_all);

				for (const xpath_node* ri = rs.begin(); ri != rs.end(); ++ri)
				{
					xpath_allocator_capture cri(stack.result);

					if (comp(l, convert_string_to_number(string_value(*ri, stack.result).c_str())))
						return true;
				}

				return false;
			}
			else if (lt == xpath_type_node_set && rt != xpath_type_node_set)
			{
				xpath_allocator_capture cr(stack.result);

				xpath_node_set_raw ls = lhs->eval_node_set(c, stack, nodeset_eval_all);
				double r = rhs->eval_number(c, stack);

				for (const xpath_node* li = ls.begin(); li != ls.end(); ++li)
				{
					xpath_allocator_capture cri(stack.result);

					if (comp(convert_string_to_number(string_value(*li, stack.result).c_str()), r))
						return true;
				}

				return false;
			}
			else
			{
				assert(false && "Wrong types"); // unreachable
				return false;
			}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rsi
movb 0x1(%rdi), %cl
movb 0x1(%r15), %al
cmpb $0x1, %cl
sete %dl
cmpb $0x1, %al
sete %dil
orb %dl, %dil
jne 0x27460
movq %rsi, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1ffb8
movsd %xmm0, 0x8(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1ffb8
ucomisd 0x8(%rsp), %xmm0
seta %bpl
jmp 0x27764
movl %ecx, %edx
xorb $0x1, %dl
movl %eax, %edi
xorb $0x1, %dil
orb %dl, %dil
jne 0x275af
movq (%rbx), %rax
movq %rax, 0x18(%rsp)
movupd (%rax), %xmm0
movupd %xmm0, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
leaq 0x78(%rsp), %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x217e0
leaq 0x38(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x217e0
movq 0x80(%rsp), %rsi
leaq 0x60(%rsp), %rcx
leaq 0xa8(%rsp), %r14
leaq 0xa0(%rsp), %r15
leaq 0xc0(%rsp), %r13
cmpq 0x88(%rsp), %rsi
setne %bpl
je 0x2775a
movq (%rbx), %rdx
movq %rdx, 0x58(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%rcx)
movupd (%rdx), %xmm0
movupd %xmm0, (%rcx)
movq %r15, %rdi
movq %rsi, 0x98(%rsp)
callq 0x27c4d
movq 0xa0(%rsp), %rdi
callq 0x26cda
movsd %xmm0, 0x10(%rsp)
movq 0x40(%rsp), %r12
cmpq 0x48(%rsp), %r12
je 0x2758f
movq (%rbx), %rdx
movq %rdx, 0xa0(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%r14)
movupd (%rdx), %xmm0
movupd %xmm0, (%r14)
movq %r13, %rdi
movq %r12, %rsi
callq 0x27c4d
movq 0xc0(%rsp), %rdi
callq 0x26cda
movsd %xmm0, 0x8(%rsp)
movq %r15, %rdi
callq 0x27be6
addq $0x10, %r12
movsd 0x8(%rsp), %xmm0
ucomisd 0x10(%rsp), %xmm0
jbe 0x2752f
jmp 0x27686
leaq 0x58(%rsp), %rdi
callq 0x27be6
movq 0x98(%rsp), %rsi
addq $0x10, %rsi
leaq 0x60(%rsp), %rcx
jmp 0x274dd
cmpb $0x1, %al
setne %dl
cmpb $0x1, %cl
sete %dil
orb %dl, %dil
jne 0x27695
movq (%rbx), %rax
movq %rax, 0x18(%rsp)
movupd (%rax), %xmm0
movupd %xmm0, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
movq %rsi, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1ffb8
movsd %xmm0, 0x10(%rsp)
leaq 0x78(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x217e0
movq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r13
leaq 0x58(%rsp), %r15
leaq 0x38(%rsp), %r12
cmpq 0x88(%rsp), %r14
setne %bpl
je 0x2775a
movq (%rbx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%r13)
movupd (%rdx), %xmm0
movupd %xmm0, (%r13)
movq %r15, %rdi
movq %r14, %rsi
callq 0x27c4d
movq 0x58(%rsp), %rdi
callq 0x26cda
movsd %xmm0, 0x8(%rsp)
movq %r12, %rdi
callq 0x27be6
addq $0x10, %r14
movsd 0x8(%rsp), %xmm0
ucomisd 0x10(%rsp), %xmm0
jbe 0x27620
jmp 0x2775a
leaq 0x58(%rsp), %rdi
callq 0x27be6
jmp 0x2775a
cmpb $0x1, %cl
jne 0x27778
cmpb $0x1, %al
je 0x27778
movq (%rbx), %rax
movq %rax, 0x18(%rsp)
movupd (%rax), %xmm0
movupd %xmm0, 0x20(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x30(%rsp)
leaq 0x78(%rsp), %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x217e0
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1ffb8
movsd %xmm0, 0x10(%rsp)
movq 0x80(%rsp), %r14
leaq 0x40(%rsp), %r13
leaq 0x58(%rsp), %r15
leaq 0x38(%rsp), %r12
cmpq 0x88(%rsp), %r14
setne %bpl
je 0x2775a
movq (%rbx), %rdx
movq %rdx, 0x38(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%r13)
movups (%rdx), %xmm0
movups %xmm0, (%r13)
movq %r15, %rdi
movq %r14, %rsi
callq 0x27c4d
movq 0x58(%rsp), %rdi
callq 0x26cda
movsd %xmm0, 0x8(%rsp)
movq %r12, %rdi
callq 0x27be6
addq $0x10, %r14
movsd 0x10(%rsp), %xmm0
ucomisd 0x8(%rsp), %xmm0
jbe 0x276ff
leaq 0x18(%rsp), %rdi
callq 0x27be6
movl %ebp, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x6cec(%rip), %rdi      # 0x2e46b
leaq 0x47af(%rip), %rsi      # 0x2bf35
leaq 0x6f96(%rip), %rcx      # 0x2e723
movl $0x255f, %edx           # imm = 0x255F
callq 0x6100
jmp 0x277a1
jmp 0x277a1
jmp 0x277a1
jmp 0x277a1
jmp 0x277a1
movq %rax, %rbx
jmp 0x277d1
movq %rax, %rbx
jmp 0x277c7
jmp 0x277ad
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
jmp 0x277cc
movq %rax, %rbx
leaq 0xa0(%rsp), %rdi
callq 0x27be6
leaq 0x58(%rsp), %rdi
callq 0x27be6
leaq 0x18(%rsp), %rdi
callq 0x27be6
movq %rbx, %rdi
callq 0x6460
nop