// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xpath_parser::parse_path_or_unary_expression()
xpath_ast_node* parse_path_or_unary_expression()
		{
			// Clarification.
			// PathExpr begins with either LocationPath or FilterExpr.
			// FilterExpr begins with PrimaryExpr
			// PrimaryExpr begins with '$' in case of it being a variable reference,
			// '(' in case of it being an expression, string literal, number constant or
			// function call.
			if (_lexer.current() == lex_var_ref || _lexer.current() == lex_open_brace ||
				_lexer.current() == lex_quoted_string || _lexer.current() == lex_number ||
				_lexer.current() == lex_string)
			{
				if (_lexer.current() == lex_string)
				{
					// This is either a function call, or not - if not, we shall proceed with location path
					const char_t* state = _lexer.state();

					while (PUGI__IS_CHARTYPE(*state, ct_space)) ++state;

					if (*state != '(')
						return parse_location_path();

					// This looks like a function call; however this still can be a node-test. Check it.
					if (parse_node_test_type(_lexer.contents()) != nodetest_none)
						return parse_location_path();
				}

				xpath_ast_node* n = parse_filter_expression();
				if (!n) return 0;

				if (_lexer.current() == lex_slash || _lexer.current() == lex_double_slash)
				{
					lexeme_t l = _lexer.current();
					_lexer.next();

					if (l == lex_double_slash)
					{
						if (n->rettype() != xpath_type_node_set)
							return error("Step has to be applied to node set");

						n = alloc_node(ast_step, n, axis_descendant_or_self, nodetest_type_node, 0);
						if (!n) return 0;
					}

					// select from location path
					return parse_relative_location_path(n);
				}

				return n;
			}
			else if (_lexer.current() == lex_minus)
			{
				_lexer.next();

				// precedence 7+ - only parses union expressions
				xpath_ast_node* n = parse_expression(7);
				if (!n) return 0;

				return alloc_node(ast_op_negate, xpath_type_number, n);
			}
			else
			{
				return parse_location_path();
			}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl 0x28(%rdi), %eax
leal -0x8(%rax), %ecx
cmpl $0xc, %ecx
ja 0x25eb7
leaq 0x8(%rbx), %r13
leaq 0x5d99(%rip), %rdx      # 0x2bb08
movslq (%rdx,%rcx,4), %rcx
addq %rdx, %rcx
jmpq *%rcx
addl $-0xb, %eax
cmpl $0x9, %eax
ja 0x25f2b
leaq 0x5db1(%rip), %rcx      # 0x2bb3c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %r13, %rdi
callq 0x269fe
movq 0x38(%rbx), %r15
testq %r15, %r15
je 0x25f0b
movq %r13, 0x20(%rsp)
movq (%rax), %rbp
movq 0x8(%rax), %r12
leaq 0x48(%rbx), %r14
subq %rbp, %r12
movq %r14, %r13
cmpq $0x20, %r12
jb 0x25ddc
leaq 0x1(%r12), %rdi
callq *0x1da98(%rip)          # 0x43868
movq %rax, %r13
testq %rax, %rax
je 0x2614b
movq %r13, %rdi
movq %rbp, %rsi
movq %r12, %rdx
callq 0x6080
movb $0x0, (%r13,%r12)
movq %r15, %rdi
movq %r13, %rsi
callq 0x1e802
movq %rax, %r12
cmpq %r14, %r13
je 0x25e0c
movq %r13, %rdi
callq *0x1da54(%rip)          # 0x43860
testq %r12, %r12
je 0x2613b
movq 0x20(%rsp), %r13
movq %r13, %rdi
callq 0x25a0e
movl (%r12), %ebp
movq %rbx, %rdi
callq 0x26c50
testq %rax, %rax
je 0x261df
movq %rax, %r15
movb $0x14, (%rax)
movb %bpl, 0x1(%rax)
andw $0x0, 0x2(%rax)
jmp 0x25f7c
movq %r13, %rdi
callq 0x25a0e
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25d12
testq %rax, %rax
je 0x261e2
cmpl $0xd, 0x28(%rbx)
jne 0x25f1b
movq %rax, %r15
movq %r13, %rdi
callq 0x25a0e
jmp 0x2603d
movq (%r13), %rax
leaq 0x5e32(%rip), %rcx      # 0x2bcc0
movzbl (%rax), %edx
incq %rax
testb $0x8, (%rdx,%rcx)
jne 0x25e8e
cmpb $0x28, %dl
jne 0x25eb7
movq %r13, %rdi
callq 0x269fe
movq %rax, %rdi
callq 0x2698e
testl %eax, %eax
je 0x261f4
movq %rbx, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x268da
movq %r13, %rdi
callq 0x25a0e
pushq $0x7
popq %rsi
movq %rbx, %rdi
callq 0x25d12
testq %rax, %rax
je 0x261df
pushq $0xe
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
movq %rax, %rcx
xorl %r8d, %r8d
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x26b18
movq 0x40(%rbx), %rax
leaq 0x7ec2(%rip), %rcx      # 0x2ddd8
jmp 0x261d0
movq 0x40(%rbx), %rax
leaq 0x7f20(%rip), %rcx      # 0x2de46
jmp 0x261d0
movq 0x40(%rbx), %rax
leaq 0x7f74(%rip), %rcx      # 0x2deaa
jmp 0x261d0
movq %r13, %rdi
callq 0x269fe
movq %rbx, %rdi
movq %rax, %rsi
callq 0x26bfc
testq %rax, %rax
je 0x261df
movq %rax, %r12
movq %r13, %rdi
callq 0x25a0e
movq %rbx, %rdi
callq 0x26c50
testq %rax, %rax
je 0x261df
movq %rax, %r15
movl $0x312, (%rax)          # imm = 0x312
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
andq $0x0, 0x18(%r15)
movq %r12, 0x20(%r15)
jmp 0x2603d
leaq 0x48(%rbx), %rbp
movq %r13, %rdi
callq 0x269fe
movq (%rax), %r15
movq %r13, %r14
movq %r13, %rdi
callq 0x269fe
movq 0x8(%rax), %r13
subq %r15, %r13
movq %rbp, %r12
cmpq $0x20, %r13
jb 0x25fd2
leaq 0x1(%r13), %rdi
callq *0x1d8a2(%rip)          # 0x43868
movq %rax, %r12
testq %rax, %rax
je 0x2614b
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x6080
movb $0x0, (%r12,%r13)
movq %r12, %rdi
callq 0x26cda
movsd %xmm0, 0x20(%rsp)
cmpq %rbp, %r12
je 0x26001
movq %r12, %rdi
callq *0x1d85f(%rip)          # 0x43860
movq %r14, %r13
movq %r14, %rdi
callq 0x25a0e
movq %rbx, %rdi
callq 0x26c50
testq %rax, %rax
je 0x261df
movq %rax, %r15
movl $0x213, (%rax)          # imm = 0x213
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rax)
andq $0x0, 0x18(%rax)
movsd 0x20(%rsp), %xmm0
movsd %xmm0, 0x20(%rax)
xorl %r12d, %r12d
pushq $0x11
popq %rbp
movl 0x28(%rbx), %r14d
cmpl $0x12, %r14d
jne 0x26158
movq %r13, %rdi
callq 0x25a0e
cmpb $0x1, 0x1(%r15)
jne 0x261b8
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25d12
testq %rax, %rax
je 0x261e2
movq %rbx, %rdi
movl %ebp, %esi
movq %r15, %rdx
movq %rax, %rcx
callq 0x26b6e
testq %rax, %rax
je 0x261e2
cmpl $0x13, 0x28(%rbx)
jne 0x261c5
movq %rax, %r15
movq %r13, %rdi
callq 0x25a0e
jmp 0x26043
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movq %r13, %rdi
callq 0x269fe
movups (%rax), %xmm0
movaps %xmm0, 0x10(%rsp)
movq %r13, %rdi
callq 0x25a0e
cmpl $0xc, 0x28(%rbx)
jne 0x261fc
movq %r13, %r14
movq %r13, %rdi
callq 0x25a0e
movq %rsp, %r13
xorl %r12d, %r12d
leaq 0x7d9e(%rip), %r15      # 0x2de86
xorl %ebp, %ebp
movl 0x28(%rbx), %eax
cmpl $0xd, %eax
je 0x26211
testq %r12, %r12
je 0x2610c
cmpl $0x15, %eax
jne 0x26203
movq %r14, %rdi
callq 0x25a0e
movq %rbx, %rdi
xorl %esi, %esi
callq 0x25d12
testq %rax, %rax
je 0x261df
addq $0x18, %rbp
cmpq $0x2, %r12
cmovbq %r13, %rbp
movq %rax, (%rbp)
incq %r12
addq $0x8, %r13
movq %rax, %rbp
jmp 0x260ea
movq 0x40(%rbx), %rax
leaq 0x7cc1(%rip), %rcx      # 0x2de07
jmp 0x261d0
movq %rbx, %rdi
callq 0x26bcc
jmp 0x261df
movl %r14d, %eax
andl $-0x2, %eax
cmpl $0x10, %eax
jne 0x2620c
movq %r13, %rdi
callq 0x25a0e
cmpl $0x11, %r14d
jne 0x2619f
cmpb $0x1, 0x1(%r15)
jne 0x26269
xorl %r12d, %r12d
pushq $0x5
popq %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
movq %r15, %rsi
xorl %r8d, %r8d
callq 0x26a38
movq %rax, %r15
testq %rax, %rax
je 0x261e2
movq %rbx, %rdi
movq %r15, %rsi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x26a7c
movq 0x40(%rbx), %rax
leaq 0x7bc8(%rip), %rcx      # 0x2dd8b
jmp 0x261d0
movq 0x40(%rbx), %rax
leaq 0x7be3(%rip), %rcx      # 0x2ddb3
movq %rcx, (%rax)
movq 0x10(%rbx), %rcx
subq 0x30(%rbx), %rcx
movq %rcx, 0x8(%rax)
xorl %r12d, %r12d
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl 0x28(%rbx), %eax
jmp 0x25d78
leaq 0x7c68(%rip), %r15      # 0x2de6b
movq 0x40(%rbx), %rax
movq %r15, (%rax)
jmp 0x261d3
movq %r15, %r12
jmp 0x261e2
movq %r14, %r13
movq %r14, %rdi
callq 0x25a0e
movq 0x10(%rsp), %rax
movzbl (%rax), %eax
leaq 0x7de3(%rip), %r15      # 0x2e00e
addl $-0x62, %eax
cmpl $0x12, %eax
ja 0x26203
leaq 0x592a(%rip), %rcx      # 0x2bb64
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x7cde(%rip), %rsi      # 0x2df28
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
pushq $0x2d
jmp 0x26687
movq 0x40(%rbx), %rax
leaq 0x7a04(%rip), %rcx      # 0x2dc78
jmp 0x261d0
leaq 0x70e8(%rip), %rsi      # 0x2d368
leaq 0x10(%rsp), %rdi
callq 0x26b58
testq %r12, %r12
jne 0x26439
testb %al, %al
je 0x26439
pushq $0x30
jmp 0x2652f
leaq 0x7b98(%rip), %rsi      # 0x2de41
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x26468
testb %al, %al
je 0x26468
movq (%rsp), %rcx
cmpq $0x1, %r12
jne 0x262d9
cmpb $0x1, 0x1(%rcx)
jne 0x267e7
cmpq $0x1, %r12
pushq $0x1e
jmp 0x26620
leaq 0x881c(%rip), %rsi      # 0x2eb07
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x264aa
testb %al, %al
je 0x264aa
movq (%rsp), %rcx
cmpb $0x1, 0x1(%rcx)
jne 0x267e7
pushq $0x17
jmp 0x26462
leaq 0x7c84(%rip), %rsi      # 0x2dfa7
leaq 0x10(%rsp), %rdi
callq 0x26b58
testq %r12, %r12
jne 0x26203
testb %al, %al
je 0x26203
pushq $0x16
jmp 0x263c8
leaq 0x7c64(%rip), %rsi      # 0x2dfb0
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
pushq $0x37
jmp 0x26462
leaq 0x3d6a(%rip), %rsi      # 0x2a0e4
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
pushq $0x18
popq %rsi
pushq $0x1
jmp 0x2668a
leaq 0x7bca(%rip), %rsi      # 0x2df75
leaq 0x10(%rsp), %rdi
callq 0x26b58
testq %r12, %r12
jne 0x264dd
testb %al, %al
je 0x264dd
pushq $0x15
popq %rsi
pushq $0x2
jmp 0x26532
leaq 0x7c28(%rip), %rsi      # 0x2dfff
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x3, %r12
jne 0x2650b
testb %al, %al
je 0x2650b
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x2c
jmp 0x266fb
leaq 0x791f(%rip), %rsi      # 0x2dd29
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x2653d
testb %al, %al
je 0x2653d
cmpq $0x1, %r12
pushq $0x20
popq %rsi
sbbl $0x0, %esi
movq (%rsp), %rcx
jmp 0x26624
leaq 0x7b2f(%rip), %rsi      # 0x2df6f
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
pushq $0x35
popq %rsi
jmp 0x2656e
leaq 0x7b16(%rip), %rsi      # 0x2df85
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x26575
testb %al, %al
je 0x26575
movq (%rsp), %rcx
cmpq $0x1, %r12
jne 0x2649f
cmpb $0x1, 0x1(%rcx)
jne 0x267e7
cmpq $0x1, %r12
pushq $0x1c
jmp 0x26620
leaq 0x7aa6(%rip), %rsi      # 0x2df57
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x2, %r12
jne 0x265b0
testb %al, %al
je 0x265b0
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x23
jmp 0x26656
leaq 0x7eba(%rip), %rsi      # 0x2e39e
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x265e3
testb %al, %al
je 0x265e3
movq (%rsp), %rcx
pushq $0x31
jmp 0x26687
leaq 0x7af7(%rip), %rsi      # 0x2e009
leaq 0x10(%rsp), %rdi
callq 0x26b58
testq %r12, %r12
jne 0x26203
testb %al, %al
je 0x26203
pushq $0x2f
popq %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
jmp 0x2668e
leaq 0x7a72(%rip), %rsi      # 0x2dfb6
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x26628
testb %al, %al
je 0x26628
cmpq $0x1, %r12
pushq $0x29
popq %rsi
sbbl $0x0, %esi
movq (%rsp), %rcx
pushq $0x2
jmp 0x2668a
leaq 0x7a17(%rip), %rsi      # 0x2df93
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x2665e
testb %al, %al
je 0x2665e
cmpq $0x1, %r12
pushq $0x2b
popq %rsi
sbbl $0x0, %esi
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
jmp 0x266fc
leaq 0x79a9(%rip), %rsi      # 0x2df60
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x2, %r12
jb 0x266a7
testb %al, %al
je 0x266a7
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x21
jmp 0x266fb
leaq 0x7990(%rip), %rsi      # 0x2df7a
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
cmpq $0x1, %r12
jne 0x2661a
cmpb $0x1, 0x1(%rcx)
jne 0x267e7
cmpq $0x1, %r12
pushq $0x1a
popq %rsi
sbbl $0x0, %esi
pushq $0x3
jmp 0x2668a
leaq 0x7995(%rip), %rsi      # 0x2dfc4
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x2, %r12
jne 0x266d5
testb %al, %al
je 0x266d5
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x22
popq %rsi
pushq $0x4
jmp 0x266fe
leaq 0x793e(%rip), %rsi      # 0x2dfa3
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26704
testb %al, %al
je 0x26704
movq (%rsp), %rcx
pushq $0x2e
popq %rsi
pushq $0x4
popq %rdx
movq %rbx, %rdi
xorl %r8d, %r8d
callq 0x26b18
movq %rax, %r15
testq %r15, %r15
jne 0x2603d
jmp 0x261df
leaq 0x78b9(%rip), %rsi      # 0x2df67
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
pushq $0x36
jmp 0x26462
leaq 0x78f4(%rip), %rsi      # 0x2dfd0
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x2, %r12
jne 0x26735
testb %al, %al
je 0x26735
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x24
popq %rsi
pushq $0x3
popq %rdx
movq %rbx, %rdi
jmp 0x26691
leaq 0x8933(%rip), %rsi      # 0x2f03e
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
ja 0x26203
testb %al, %al
je 0x26203
movq %r14, %r13
cmpq $0x1, %r12
pushq $0x33
jmp 0x26566
leaq 0x78a5(%rip), %rsi      # 0x2dfe1
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x2, %r12
jne 0x2675e
testb %al, %al
je 0x2675e
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x25
popq %rsi
jmp 0x26796
leaq 0x788c(%rip), %rsi      # 0x2dff1
leaq 0x10(%rsp), %rdi
callq 0x26b58
movq %r12, %rcx
andq $-0x2, %rcx
cmpq $0x2, %rcx
jne 0x267ac
testb %al, %al
je 0x267ac
xorl %esi, %esi
cmpq $0x2, %r12
sete %sil
xorl $0x27, %esi
movq (%rsp), %rcx
movq 0x8(%rsp), %r8
pushq $0x3
popq %rdx
movq %rbx, %rdi
callq 0x26b18
movq %rax, %r15
movq %r14, %r13
jmp 0x26699
leaq 0x7848(%rip), %rsi      # 0x2dffb
leaq 0x10(%rsp), %rdi
callq 0x26b58
cmpq $0x1, %r12
jne 0x26203
testb %al, %al
je 0x26203
movq (%rsp), %rcx
cmpb $0x1, 0x1(%rcx)
jne 0x267e7
pushq $0x34
popq %rsi
pushq $0x2
popq %rdx
movq %rbx, %rdi
xorl %r8d, %r8d
jmp 0x2679c
leaq 0x7742(%rip), %r15      # 0x2df30
jmp 0x26203
nop