// File: /workspace/github_cpp_makefile_star2_O1/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 $0xc8, %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 0x2cf20
movq %rsi, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2636c
movsd %xmm0, (%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2636c
ucomisd (%rsp), %xmm0
seta %bpl
jmp 0x2d22b
movl %ecx, %edx
xorb $0x1, %dl
movl %eax, %edi
xorb $0x1, %dil
orb %dl, %dil
jne 0x2d066
movq (%rbx), %rax
movq %rax, 0x10(%rsp)
movupd (%rax), %xmm0
movupd %xmm0, 0x18(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
leaq 0x50(%rsp), %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x27cf4
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x27cf4
movq 0x58(%rsp), %r14
cmpq 0x60(%rsp), %r14
setne %bpl
je 0x2d221
movb $0x1, %bpl
leaq 0x98(%rsp), %r13
leaq 0x90(%rsp), %r15
movq (%rbx), %rdx
movq %rdx, 0x70(%rsp)
movq 0x10(%rdx), %rax
leaq 0x78(%rsp), %rcx
movq %rax, 0x10(%rcx)
movupd (%rdx), %xmm0
movupd %xmm0, (%rcx)
movq %r15, %rdi
movq %r14, %rsi
callq 0x2d721
movq 0x90(%rsp), %rdi
callq 0x2c5ae
movsd %xmm0, 0x8(%rsp)
movq 0x38(%rsp), %r12
cmpq 0x40(%rsp), %r12
je 0x2d044
movq (%rbx), %rdx
movq %rdx, 0x90(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%r13)
movupd (%rdx), %xmm0
movupd %xmm0, (%r13)
leaq 0xb0(%rsp), %rdi
movq %r12, %rsi
callq 0x2d721
movq 0xb0(%rsp), %rdi
callq 0x2c5ae
movsd %xmm0, (%rsp)
movq %r15, %rdi
callq 0x2d6a0
movsd (%rsp), %xmm0
ucomisd 0x8(%rsp), %xmm0
ja 0x2d147
addq $0x10, %r12
jmp 0x2cfdf
leaq 0x70(%rsp), %rdi
callq 0x2d6a0
addq $0x10, %r14
cmpq 0x60(%rsp), %r14
setne %bpl
jne 0x2cf9f
jmp 0x2d221
cmpb $0x1, %al
setne %dl
cmpb $0x1, %cl
sete %dil
orb %dl, %dil
jne 0x2d156
movq (%rbx), %rax
movq %rax, 0x10(%rsp)
movupd (%rax), %xmm0
movupd %xmm0, 0x18(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
movq %rsi, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2636c
movsd %xmm0, 0x8(%rsp)
leaq 0x50(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x27cf4
movq 0x58(%rsp), %r14
cmpq 0x60(%rsp), %r14
setne %bpl
je 0x2d221
movb $0x1, %bpl
leaq 0x38(%rsp), %r13
leaq 0x70(%rsp), %r15
leaq 0x30(%rsp), %r12
movq (%rbx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%r13)
movupd (%rdx), %xmm0
movupd %xmm0, (%r13)
movq %r15, %rdi
movq %r14, %rsi
callq 0x2d721
movq 0x70(%rsp), %rdi
callq 0x2c5ae
movsd %xmm0, (%rsp)
movq %r12, %rdi
callq 0x2d6a0
movsd (%rsp), %xmm0
ucomisd 0x8(%rsp), %xmm0
ja 0x2d221
addq $0x10, %r14
cmpq 0x60(%rsp), %r14
setne %bpl
jne 0x2d0e6
jmp 0x2d221
leaq 0x70(%rsp), %rdi
callq 0x2d6a0
jmp 0x2d221
cmpb $0x1, %cl
jne 0x2d243
cmpb $0x1, %al
je 0x2d243
movq (%rbx), %rax
movq %rax, 0x10(%rsp)
movupd (%rax), %xmm0
movupd %xmm0, 0x18(%rsp)
movq 0x10(%rax), %rax
movq %rax, 0x28(%rsp)
leaq 0x50(%rsp), %rdi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x27cf4
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x2636c
movsd %xmm0, 0x8(%rsp)
movq 0x58(%rsp), %r14
cmpq 0x60(%rsp), %r14
setne %bpl
je 0x2d221
movb $0x1, %bpl
leaq 0x38(%rsp), %r13
leaq 0x70(%rsp), %r15
leaq 0x30(%rsp), %r12
movq (%rbx), %rdx
movq %rdx, 0x30(%rsp)
movq 0x10(%rdx), %rax
movq %rax, 0x10(%r13)
movups (%rdx), %xmm0
movups %xmm0, (%r13)
movq %r15, %rdi
movq %r14, %rsi
callq 0x2d721
movq 0x70(%rsp), %rdi
callq 0x2c5ae
movsd %xmm0, (%rsp)
movq %r12, %rdi
callq 0x2d6a0
movsd 0x8(%rsp), %xmm0
ucomisd (%rsp), %xmm0
ja 0x2d221
addq $0x10, %r14
cmpq 0x60(%rsp), %r14
setne %bpl
jne 0x2d1cb
leaq 0x10(%rsp), %rdi
callq 0x2d6a0
andb $0x1, %bpl
movl %ebp, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x81c8(%rip), %rdi      # 0x35412
leaq 0x5ca4(%rip), %rsi      # 0x32ef5
leaq 0x8472(%rip), %rcx      # 0x356ca
movl $0x255f, %edx           # imm = 0x255F
callq 0x6120
jmp 0x2d26c
jmp 0x2d26c
jmp 0x2d26c
jmp 0x2d26c
jmp 0x2d26c
movq %rax, %rbx
jmp 0x2d29c
movq %rax, %rbx
jmp 0x2d292
jmp 0x2d278
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x2d297
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x2d6a0
leaq 0x70(%rsp), %rdi
callq 0x2d6a0
leaq 0x10(%rsp), %rdi
callq 0x2d6a0
movq %rbx, %rdi
callq 0x6430