// File: /workspace/github_cpp_makefile_star2_O3/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 0x2cae0
movq %rsi, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x25fbc
movsd %xmm0, (%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x25fbc
ucomisd (%rsp), %xmm0
seta %bpl
jmp 0x2cdf1
movl %ecx, %edx
xorb $0x1, %dl
movl %eax, %edi
xorb $0x1, %dil
orb %dl, %dil
jne 0x2cc27
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 0x279d6
leaq 0x30(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x279d6
movq 0x58(%rsp), %r13
cmpq 0x60(%rsp), %r13
je 0x2cde5
leaq 0x98(%rsp), %r15
leaq 0x90(%rsp), %r14
leaq 0xb0(%rsp), %r12
movq (%rbx), %rcx
movq %rcx, 0x70(%rsp)
movq 0x10(%rcx), %rax
leaq 0x78(%rsp), %rdx
movq %rax, 0x10(%rdx)
movupd (%rcx), %xmm0
movupd %xmm0, (%rdx)
movq (%r13), %rsi
movq 0x8(%r13), %rdx
movq %r14, %rdi
callq 0x2d2a6
movq 0x90(%rsp), %rdi
callq 0x2c042
movsd %xmm0, 0x8(%rsp)
movq 0x38(%rsp), %rbp
cmpq 0x40(%rsp), %rbp
je 0x2cc09
movq (%rbx), %rcx
movq %rcx, 0x90(%rsp)
movq 0x10(%rcx), %rax
movq %rax, 0x10(%r15)
movupd (%rcx), %xmm0
movupd %xmm0, (%r15)
movq (%rbp), %rsi
movq 0x8(%rbp), %rdx
movq %r12, %rdi
callq 0x2d2a6
movq 0xb0(%rsp), %rdi
callq 0x2c042
movsd %xmm0, (%rsp)
movq %r14, %rdi
callq 0x2d264
movsd (%rsp), %xmm0
ucomisd 0x8(%rsp), %xmm0
ja 0x2cd07
addq $0x10, %rbp
jmp 0x2cba5
leaq 0x70(%rsp), %rdi
callq 0x2d264
addq $0x10, %r13
cmpq 0x60(%rsp), %r13
jne 0x2cb60
jmp 0x2cde5
cmpb $0x1, %al
setne %dl
cmpb $0x1, %cl
sete %dil
orb %dl, %dil
jne 0x2cd19
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 0x25fbc
movsd %xmm0, 0x8(%rsp)
leaq 0x50(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %rbx, %rcx
xorl %r8d, %r8d
callq 0x279d6
movq 0x58(%rsp), %r12
cmpq 0x60(%rsp), %r12
je 0x2cde5
leaq 0x38(%rsp), %r13
leaq 0x70(%rsp), %r14
leaq 0x30(%rsp), %r15
movq (%rbx), %rcx
movq %rcx, 0x30(%rsp)
movq 0x10(%rcx), %rax
movq %rax, 0x10(%r13)
movupd (%rcx), %xmm0
movupd %xmm0, (%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0x2d2a6
movq 0x70(%rsp), %rdi
callq 0x2c042
movsd %xmm0, (%rsp)
movq %r15, %rdi
callq 0x2d264
movsd (%rsp), %xmm0
ucomisd 0x8(%rsp), %xmm0
seta %bpl
ja 0x2cde7
addq $0x10, %r12
cmpq 0x60(%rsp), %r12
jne 0x2cca0
jmp 0x2cde7
leaq 0x70(%rsp), %rdi
callq 0x2d264
movb $0x1, %bpl
jmp 0x2cde7
cmpb $0x1, %cl
jne 0x2ce05
cmpb $0x1, %al
je 0x2ce05
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 0x279d6
movq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x25fbc
movsd %xmm0, 0x8(%rsp)
movq 0x58(%rsp), %r12
cmpq 0x60(%rsp), %r12
je 0x2cde5
leaq 0x38(%rsp), %r13
leaq 0x70(%rsp), %r14
leaq 0x30(%rsp), %r15
movq (%rbx), %rcx
movq %rcx, 0x30(%rsp)
movq 0x10(%rcx), %rax
movq %rax, 0x10(%r13)
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r14, %rdi
callq 0x2d2a6
movq 0x70(%rsp), %rdi
callq 0x2c042
movsd %xmm0, (%rsp)
movq %r15, %rdi
callq 0x2d264
movsd 0x8(%rsp), %xmm0
ucomisd (%rsp), %xmm0
seta %bpl
ja 0x2cde7
addq $0x10, %r12
cmpq 0x60(%rsp), %r12
jne 0x2cd87
jmp 0x2cde7
xorl %ebp, %ebp
leaq 0x10(%rsp), %rdi
callq 0x2d264
movl %ebp, %eax
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x745c(%rip), %rdi      # 0x34268
leaq 0x5112(%rip), %rsi      # 0x31f25
leaq 0x7706(%rip), %rcx      # 0x34520
movl $0x255f, %edx           # imm = 0x255F
callq 0x6120
jmp 0x2ce2e
jmp 0x2ce2e
jmp 0x2ce2e
jmp 0x2ce2e
jmp 0x2ce2e
movq %rax, %rbx
jmp 0x2ce5e
movq %rax, %rbx
jmp 0x2ce54
jmp 0x2ce3a
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
jmp 0x2ce59
movq %rax, %rbx
leaq 0x90(%rsp), %rdi
callq 0x2d264
leaq 0x70(%rsp), %rdi
callq 0x2d264
leaq 0x10(%rsp), %rdi
callq 0x2d264
movq %rbx, %rdi
callq 0x6430