// File: /workspace/github_cpp_makefile_star2_O1/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::strconv_attribute_impl<pugi::impl::(anonymous namespace)::opt_true>::parse_wnorm(char*, char)
static char_t* parse_wnorm(char_t* s, char_t end_quote)
		{
			gap g;

			// trim leading whitespaces
			if (PUGI__IS_CHARTYPE(*s, ct_space))
			{
				char_t* str = s;

				do ++str;
				while (PUGI__IS_CHARTYPE(*str, ct_space));

				g.push(s, str - s);
			}

			while (true)
			{
				PUGI__SCANWHILE_UNROLL(!PUGI__IS_CHARTYPE(ss, ct_parse_attr_ws | ct_space));

				if (*s == end_quote)
				{
					char_t* str = g.flush(s);

					do *str-- = 0;
					while (PUGI__IS_CHARTYPE(*str, ct_space));

					return s + 1;
				}
				else if (PUGI__IS_CHARTYPE(*s, ct_space))
				{
					*s++ = ' ';

					if (PUGI__IS_CHARTYPE(*s, ct_space))
					{
						char_t* str = s + 1;
						while (PUGI__IS_CHARTYPE(*str, ct_space)) ++str;

						g.push(s, str - s);
					}
				}
				else if (opt_escape::value && *s == '&')
				{
					s = strconv_escape(s, g);
				}
				else if (!*s)
				{
					return 0;
				}
				else ++s;
			}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, (%rsp)
movzbl (%rdi), %eax
leaq 0x99d2(%rip), %r13      # 0x32c80
testb $0x8, (%rax,%r13)
je 0x292f9
xorl %r15d, %r15d
movzbl 0x1(%r14,%r15), %eax
incq %r15
testb $0x8, (%rax,%r13)
jne 0x292b8
movq (%rsp), %rsi
testq %rsi, %rsi
je 0x292ed
cmpq %r14, %rsi
ja 0x2942a
movq %rsi, %rdi
subq 0x8(%rsp), %rdi
movq %r14, %rdx
subq %rsi, %rdx
callq 0x6100
addq %r15, %r14
movq %r14, (%rsp)
addq %r15, 0x8(%rsp)
movq %rsp, %r15
movzbl (%r14), %eax
testb $0xc, (%rax,%r13)
jne 0x293ed
movzbl 0x1(%r14), %eax
testb $0xc, (%rax,%r13)
jne 0x293e4
movzbl 0x2(%r14), %eax
testb $0xc, (%rax,%r13)
jne 0x293e9
leaq 0x3(%r14), %rcx
movzbl 0x3(%r14), %eax
addq $0x4, %r14
testb $0xc, (%rax,%r13)
sete %al
cmovneq %rcx, %r14
movq %r14, %r12
testb %al, %al
jne 0x292fc
movzbl (%r12), %eax
cmpb %bl, %al
je 0x293f4
testb $0x8, (%rax,%r13)
jne 0x29375
cmpq $0x26, %rax
je 0x293d1
testl %eax, %eax
je 0x29425
incq %r12
movq %r12, %r14
jmp 0x292fc
leaq 0x1(%r12), %r14
movb $0x20, (%r12)
movzbl 0x1(%r12), %eax
testb $0x8, (%rax,%r13)
je 0x292fc
xorl %ebp, %ebp
movzbl 0x2(%r12,%rbp), %eax
incq %rbp
testb $0x8, (%rax,%r13)
jne 0x29392
movq (%rsp), %rsi
testq %rsi, %rsi
je 0x293c0
movq %r14, %rdx
subq %rsi, %rdx
jb 0x2942a
movq %rsi, %rdi
subq 0x8(%rsp), %rdi
callq 0x6100
addq %rbp, %r14
movq %r14, (%rsp)
addq %rbp, 0x8(%rsp)
jmp 0x292fc
movq %r12, %rdi
movq %r15, %rsi
callq 0x294a1
movq %rax, %r14
jmp 0x292fc
incq %r14
jmp 0x293ed
addq $0x2, %r14
xorl %eax, %eax
jmp 0x29344
movq %rsp, %rdi
movq %r12, %rsi
callq 0x2944a
movb $0x0, (%rax)
movzbl -0x1(%rax), %ecx
decq %rax
testb $0x8, (%rcx,%r13)
jne 0x293ff
incq %r12
movq %r12, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x29413
leaq 0xaefd(%rip), %rdi      # 0x3432e
leaq 0x9abd(%rip), %rsi      # 0x32ef5
leaq 0xaf38(%rip), %rcx      # 0x34377
movl $0x974, %edx            # imm = 0x974
callq 0x6120
nop