LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::node_copy_contents(pugi::xml_node_struct*, pugi::xml_node_struct*, pugi::impl::(anonymous namespace)::xml_allocator*)
PUGI__FN void node_copy_contents(xml_node_struct* dn, xml_node_struct* sn, xml_allocator* shared_alloc)
	{
		node_copy_string(dn->name, dn->header, xml_memory_page_name_allocated_mask, sn->name, sn->header, shared_alloc);
		node_copy_string(dn->value, dn->header, xml_memory_page_value_allocated_mask, sn->value, sn->header, shared_alloc);

		for (xml_attribute_struct* sa = sn->first_attribute; sa; sa = sa->next_attribute)
		{
			xml_attribute_struct* da = append_new_attribute(dn, get_allocator(dn));

			if (da)
			{
				node_copy_string(da->name, da->header, xml_memory_page_name_allocated_mask, sa->name, sa->header, shared_alloc);
				node_copy_string(da->value, da->header, xml_memory_page_value_allocated_mask, sa->value, sa->header, shared_alloc);
			}
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x8(%rdi), %rdi
movq 0x8(%rsi), %rcx
pushq $0x20
popq %r12
movq %r15, %rsi
movq %r12, %rdx
movq %r14, %r8
movq %rbx, %r9
callq 0x22a5d
leaq 0x10(%r15), %rdi
movq 0x10(%r14), %rcx
pushq $0x10
popq %r13
movq %r15, %rsi
movq %r13, %rdx
movq %r14, %r8
movq %rbx, %r9
callq 0x22a5d
addq $0x38, %r14
movq (%r14), %r14
testq %r14, %r14
je 0x22ba2
movq (%r15), %rax
shrq $0x8, %rax
negq %rax
movq (%r15,%rax), %rsi
movq %r15, %rdi
callq 0x22be0
testq %rax, %rax
je 0x22b9c
movq %rax, %rbp
leaq 0x8(%rax), %rdi
movq 0x8(%r14), %rcx
movq %rax, %rsi
movq %r12, %rdx
movq %r14, %r8
movq %rbx, %r9
callq 0x22a5d
movq %rbp, %rdi
addq $0x10, %rdi
movq 0x10(%r14), %rcx
movq %rbp, %rsi
movq %r13, %rdx
movq %r14, %r8
movq %rbx, %r9
callq 0x22a5d
addq $0x20, %r14
jmp 0x22b41
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::append_new_attribute(pugi::xml_node_struct*, pugi::impl::(anonymous namespace)::xml_allocator&)
PUGI__FN_NO_INLINE xml_attribute_struct* append_new_attribute(xml_node_struct* node, xml_allocator& alloc)
	{
		if (!alloc.reserve()) return 0;

		xml_attribute_struct* attr = allocate_attribute(alloc);
		if (!attr) return 0;

		append_attribute(attr, node);

		return attr;
	}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movq %rsi, %rdi
callq 0x18d21
testq %rax, %rax
je 0x22c1a
movq 0x38(%rbx), %rcx
testq %rcx, %rcx
je 0x22c0c
movq 0x18(%rcx), %rdx
addq $0x18, %rcx
movq %rax, 0x20(%rdx)
movq %rdx, 0x18(%rax)
jmp 0x22c17
movq %rax, 0x38(%rbx)
movq %rax, %rcx
addq $0x18, %rcx
movq %rax, (%rcx)
popq %rbx
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xml_allocator::deallocate_memory(void*, unsigned long, pugi::impl::(anonymous namespace)::xml_memory_page*)
void deallocate_memory(void* ptr, size_t size, xml_memory_page* page)
		{
			if (page == _root) page->busy_size = _busy_size;

			assert(ptr >= reinterpret_cast<char*>(page) + sizeof(xml_memory_page) && ptr < reinterpret_cast<char*>(page) + sizeof(xml_memory_page) + page->busy_size);
			(void)!ptr;

			page->freed_size += size;
			assert(page->freed_size <= page->busy_size);

			if (page->freed_size == page->busy_size)
			{
				if (page->next == 0)
				{
					assert(_root == page);

					// top page freed, just reset sizes
					page->busy_size = 0;
					page->freed_size = 0;

				#ifdef PUGIXML_COMPACT
					// reset compact state to maximize efficiency
					page->compact_string_base = 0;
					page->compact_shared_parent = 0;
					page->compact_page_marker = 0;
				#endif

					_busy_size = 0;
				}
				else
				{
					assert(_root != page);
					assert(page->prev);

					// remove from the list
					page->prev->next = page->next;
					page->next->prev = page->prev;

					// deallocate
					deallocate_page(page);
				}
			}
		}

// Assembly:
pushq %rax
movq (%rdi), %rax
cmpq %rcx, %rax
jne 0x22c59
movq 0x8(%rdi), %r8
movq %r8, 0x18(%rcx)
leaq 0x28(%rcx), %r9
cmpq %rsi, %r9
ja 0x22cc8
movq 0x18(%rcx), %r8
addq %r8, %r9
cmpq %rsi, %r9
jbe 0x22cc8
leaq 0x18(%rcx), %rsi
addq 0x20(%rcx), %rdx
movq %rdx, 0x20(%rcx)
cmpq %r8, %rdx
ja 0x22ce7
jne 0x22cc6
movq 0x10(%rcx), %rdx
testq %rdx, %rdx
je 0x22cb2
cmpq %rcx, %rax
je 0x22d06
movq 0x8(%rcx), %rax
testq %rax, %rax
je 0x22d25
movq %rdx, 0x10(%rax)
movq 0x10(%rcx), %rdx
movq %rax, 0x8(%rdx)
movq %rcx, %rdi
popq %rax
jmpq *0x20bae(%rip)          # 0x43860
cmpq %rcx, %rax
jne 0x22d44
xorps %xmm0, %xmm0
movups %xmm0, (%rsi)
andq $0x0, 0x8(%rdi)
popq %rax
retq
leaq 0x9eb0(%rip), %rdi      # 0x2cb7f
leaq 0x925f(%rip), %rsi      # 0x2bf35
leaq 0x9f34(%rip), %rcx      # 0x2cc11
movl $0x255, %edx            # imm = 0x255
callq 0x6100
leaq 0x9f8f(%rip), %rdi      # 0x2cc7d
leaq 0x9240(%rip), %rsi      # 0x2bf35
leaq 0x9f15(%rip), %rcx      # 0x2cc11
movl $0x259, %edx            # imm = 0x259
callq 0x6100
leaq 0x9fa2(%rip), %rdi      # 0x2ccaf
leaq 0x9221(%rip), %rsi      # 0x2bf35
leaq 0x9ef6(%rip), %rcx      # 0x2cc11
movl $0x270, %edx            # imm = 0x270
callq 0x6100
leaq 0x997d(%rip), %rdi      # 0x2c6a9
leaq 0x9202(%rip), %rsi      # 0x2bf35
leaq 0x9ed7(%rip), %rcx      # 0x2cc11
movl $0x271, %edx            # imm = 0x271
callq 0x6100
leaq 0x9f56(%rip), %rdi      # 0x2cca1
leaq 0x91e3(%rip), %rsi      # 0x2bf35
leaq 0x9eb8(%rip), %rcx      # 0x2cc11
movl $0x25f, %edx            # imm = 0x25F
callq 0x6100
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xml_allocator::allocate_memory_oob(unsigned long, pugi::impl::(anonymous namespace)::xml_memory_page*&)
PUGI__FN_NO_INLINE void* xml_allocator::allocate_memory_oob(size_t size, xml_memory_page*& out_page)
	{
		const size_t large_allocation_threshold = xml_memory_page_size / 4;

		xml_memory_page* page = allocate_page(size <= large_allocation_threshold ? xml_memory_page_size : size);
		out_page = page;

		if (!page) return 0;

		if (size <= large_allocation_threshold)
		{
			_root->busy_size = _busy_size;

			// insert page at the end of linked list
			page->prev = _root;
			_root->next = page;
			_root = page;

			_busy_size = size;
		}
		else
		{
			// insert page before the end of linked list, so that it is deleted as soon as possible
			// the last page is not deleted even if it's empty (see deallocate_memory)
			assert(_root->prev);

			page->prev = _root->prev;
			page->next = _root;

			_root->prev->next = page;
			_root->prev = page;

			page->busy_size = size;
		}

		return reinterpret_cast<char*>(page) + sizeof(xml_memory_page);
	}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x28(%rsi), %rax
cmpq $0x1ff7, %rsi           # imm = 0x1FF7
movl $0x8000, %edi           # imm = 0x8000
cmovaeq %rax, %rdi
callq *0x20adc(%rip)          # 0x43868
testq %rax, %rax
je 0x22dd1
andq $0x0, 0x20(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rax)
movups %xmm0, (%rax)
movq (%r14), %rcx
movq (%rcx), %rcx
movq %rcx, (%rax)
movq %rax, (%r15)
cmpq $0x1ff6, %rbx           # imm = 0x1FF6
ja 0x22dd9
leaq 0x8(%r14), %rcx
movq (%r14), %rdx
movq 0x8(%r14), %rsi
movq %rsi, 0x18(%rdx)
movq %rdx, 0x8(%rax)
movq %rax, 0x10(%rdx)
movq %rax, (%r14)
jmp 0x22dfd
andq $0x0, (%r15)
xorl %eax, %eax
jmp 0x22e04
movq (%r14), %rcx
movq 0x8(%rcx), %rdx
testq %rdx, %rdx
je 0x22e0a
movq %rdx, 0x8(%rax)
movq %rcx, 0x10(%rax)
movq 0x8(%rcx), %rdx
movq %rax, 0x10(%rdx)
movq %rax, 0x8(%rcx)
leaq 0x18(%rax), %rcx
movq %rbx, (%rcx)
addq $0x28, %rax
popq %rbx
popq %r14
popq %r15
retq
leaq 0x9eac(%rip), %rdi      # 0x2ccbd
leaq 0x911d(%rip), %rsi      # 0x2bf35
leaq 0x9eaa(%rip), %rcx      # 0x2ccc9
movl $0x2db, %edx            # imm = 0x2DB
callq 0x6100
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::get_mutable_buffer(char*&, unsigned long&, void const*, unsigned long, bool)
PUGI__FN bool get_mutable_buffer(char_t*& out_buffer, size_t& out_length, const void* contents, size_t size, bool is_mutable)
	{
		size_t length = size / sizeof(char_t);

		if (is_mutable)
		{
			out_buffer = static_cast<char_t*>(const_cast<void*>(contents));
			out_length = length;
		}
		else
		{
			char_t* buffer = static_cast<char_t*>(xml_memory::allocate((length + 1) * sizeof(char_t)));
			if (!buffer) return false;

			if (contents)
				memcpy(buffer, contents, length * sizeof(char_t));
			else
				assert(length == 0);

			buffer[length] = 0;

			out_buffer = buffer;
			out_length = length + 1;
		}

		return true;
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r15
movq %rdx, %rbp
movq %rsi, %rbx
movq %rdi, %r14
testl %r8d, %r8d
je 0x2325c
movq %rbp, %r13
movq %r15, %r12
jmp 0x23295
leaq 0x1(%r15), %r12
movq %r12, %rdi
callq *0x205ff(%rip)          # 0x43868
testq %rax, %rax
je 0x23286
movq %rax, %r13
testq %rbp, %rbp
je 0x2328a
movq %r13, %rdi
movq %rbp, %rsi
movq %r15, %rdx
callq 0x6080
jmp 0x2328f
xorl %eax, %eax
jmp 0x2329d
testq %r15, %r15
jne 0x232ac
movb $0x0, (%r13,%r15)
movq %r13, (%r14)
movq %r12, (%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x9b10(%rip), %rdi      # 0x2cdc3
leaq 0x8c7b(%rip), %rsi      # 0x2bf35
leaq 0x9b0e(%rip), %rcx      # 0x2cdcf
movl $0x809, %edx            # imm = 0x809
callq 0x6100
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::utf8_writer::low(unsigned char*, unsigned int)
static value_type low(value_type result, uint32_t ch)
		{
			// U+0000..U+007F
			if (ch < 0x80)
			{
				*result = static_cast<uint8_t>(ch);
				return result + 1;
			}
			// U+0080..U+07FF
			else if (ch < 0x800)
			{
				result[0] = static_cast<uint8_t>(0xC0 | (ch >> 6));
				result[1] = static_cast<uint8_t>(0x80 | (ch & 0x3F));
				return result + 2;
			}
			// U+0800..U+FFFF
			else
			{
				result[0] = static_cast<uint8_t>(0xE0 | (ch >> 12));
				result[1] = static_cast<uint8_t>(0x80 | ((ch >> 6) & 0x3F));
				result[2] = static_cast<uint8_t>(0x80 | (ch & 0x3F));
				return result + 3;
			}
		}

// Assembly:
movq %rdi, %rax
cmpl $0x7f, %esi
ja 0x232db
movb %sil, (%rax)
pushq $0x1
jmp 0x23321
movl %esi, %ecx
cmpl $0x7ff, %esi            # imm = 0x7FF
ja 0x232fd
shrl $0x6, %ecx
orb $-0x40, %cl
movb %cl, (%rax)
andb $0x3f, %sil
orb $-0x80, %sil
movb %sil, 0x1(%rax)
pushq $0x2
jmp 0x23321
shrl $0xc, %ecx
orb $-0x20, %cl
movb %cl, (%rax)
movl %esi, %ecx
shrl $0x6, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x1(%rax)
andb $0x3f, %sil
orb $-0x80, %sil
movb %sil, 0x2(%rax)
pushq $0x3
popq %rcx
addq %rcx, %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::utf8_writer::high(unsigned char*, unsigned int)
static value_type high(value_type result, uint32_t ch)
		{
			// U+10000..U+10FFFF
			result[0] = static_cast<uint8_t>(0xF0 | (ch >> 18));
			result[1] = static_cast<uint8_t>(0x80 | ((ch >> 12) & 0x3F));
			result[2] = static_cast<uint8_t>(0x80 | ((ch >> 6) & 0x3F));
			result[3] = static_cast<uint8_t>(0x80 | (ch & 0x3F));
			return result + 4;
		}

// Assembly:
movl %esi, %eax
shrl $0x12, %eax
orb $-0x10, %al
movb %al, (%rdi)
movl %esi, %eax
shrl $0xc, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x1(%rdi)
movl %esi, %eax
shrl $0x6, %eax
andb $0x3f, %al
orb $-0x80, %al
movb %al, 0x2(%rdi)
andb $0x3f, %sil
orb $-0x80, %sil
movb %sil, 0x3(%rdi)
leaq 0x4(%rdi), %rax
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::utf8_counter::value_type pugi::impl::(anonymous namespace)::utf32_decoder<pugi::impl::(anonymous namespace)::opt_false>::process<pugi::impl::(anonymous namespace)::utf8_counter>(unsigned int const*, unsigned long, pugi::impl::(anonymous namespace)::utf8_counter::value_type, pugi::impl::(anonymous namespace)::utf8_counter)
static inline typename Traits::value_type process(const uint32_t* data, size_t size, typename Traits::value_type result, Traits)
		{
			while (size)
			{
				uint32_t lead = opt_swap::value ? endian_swap(*data) : *data;

				// U+0000..U+FFFF
				if (lead < 0x10000)
				{
					result = Traits::low(result, lead);
					data += 1;
					size -= 1;
				}
				// U+10000..U+10FFFF
				else
				{
					result = Traits::high(result, lead);
					data += 1;
					size -= 1;
				}
			}

			return result;
		}

// Assembly:
xorl %ecx, %ecx
pushq $0x3
popq %rdx
pushq $0x1
popq %r8
xorl %eax, %eax
cmpq %rcx, %rsi
je 0x2339c
movl (%rdi,%rcx,4), %r9d
cmpl $0xffff, %r9d           # imm = 0xFFFF
ja 0x23393
cmpl $0x800, %r9d            # imm = 0x800
movq %rdx, %r10
sbbq $0x0, %r10
cmpl $0x80, %r9d
cmovbq %r8, %r10
addq %r10, %rax
jmp 0x23397
addq $0x4, %rax
incq %rcx
jmp 0x23363
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::strconv_attribute_impl<pugi::impl::(anonymous namespace)::opt_true>::parse_simple(char*, char)
static char_t* parse_simple(char_t* s, char_t end_quote)
		{
			gap g;

			while (true)
			{
				PUGI__SCANWHILE_UNROLL(!PUGI__IS_CHARTYPE(ss, ct_parse_attr));

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

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

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebx
movq %rdi, %rax
xorps %xmm0, %xmm0
movq %rsp, %r15
movaps %xmm0, (%r15)
leaq 0x8845(%rip), %r12      # 0x2bcc0
movq %rax, %r14
movzbl (%rax), %ecx
testb $0x2, (%rcx,%r12)
jne 0x234bf
movzbl 0x1(%r14), %ecx
testb $0x2, (%rcx,%r12)
jne 0x234b6
movzbl 0x2(%r14), %ecx
testb $0x2, (%rcx,%r12)
jne 0x234bb
movzbl 0x3(%r14), %ecx
leaq 0x4(%r14), %rax
testb $0x2, (%rcx,%r12)
je 0x2347b
addq $0x3, %r14
jmp 0x234bf
incq %r14
jmp 0x234bf
addq $0x2, %r14
cmpb %bl, %cl
je 0x234e4
cmpb $0x26, %cl
je 0x234d7
movzbl %cl, %eax
testl %eax, %eax
je 0x234f7
incq %r14
movq %r14, %rax
jmp 0x2347b
movq %r14, %rdi
movq %r15, %rsi
callq 0x23bcf
jmp 0x2347b
movq %rsp, %rdi
movq %r14, %rsi
callq 0x23b78
movb $0x0, (%rax)
incq %r14
jmp 0x234fa
xorl %r14d, %r14d
movq %r14, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::strconv_attribute_impl<pugi::impl::(anonymous namespace)::opt_true>::parse_eol(char*, char)
static char_t* parse_eol(char_t* s, char_t end_quote)
		{
			gap g;

			while (true)
			{
				PUGI__SCANWHILE_UNROLL(!PUGI__IS_CHARTYPE(ss, ct_parse_attr));

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

					return s + 1;
				}
				else if (*s == '\r')
				{
					*s++ = '\n';

					if (*s == '\n') g.push(s, 1);
				}
				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 $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r14
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r15
movaps %xmm0, (%r15)
leaq 0x86ae(%rip), %rbp      # 0x2bcc0
leaq 0x8(%rsp), %r12
pushq $0x1
popq %r13
movzbl (%r14), %eax
testb $0x2, (%rax,%rbp)
jne 0x2365b
movzbl 0x1(%r14), %eax
testb $0x2, (%rax,%rbp)
jne 0x2364c
movzbl 0x2(%r14), %eax
testb $0x2, (%rax,%rbp)
jne 0x23651
movzbl 0x3(%r14), %eax
testb $0x2, (%rax,%rbp)
jne 0x23657
addq $0x4, %r14
jmp 0x2361b
incq %r14
jmp 0x2365b
addq $0x2, %r14
jmp 0x2365b
addq $0x3, %r14
movq %r14, 0x8(%rsp)
cmpb %bl, %al
je 0x236bc
cmpb $0xd, %al
je 0x23690
movzbl %al, %eax
cmpl $0x26, %eax
je 0x2367e
testl %eax, %eax
je 0x236d1
incq %r14
movq %r14, 0x8(%rsp)
jmp 0x236b2
movq %r14, %rdi
movq %r15, %rsi
callq 0x23bcf
movq %rax, 0x8(%rsp)
jmp 0x236b2
leaq 0x1(%r14), %rax
movq %rax, 0x8(%rsp)
movb $0xa, (%r14)
cmpb $0xa, 0x1(%r14)
jne 0x236b2
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x23d90
movq 0x8(%rsp), %r14
jmp 0x2361b
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x23b78
movb $0x0, (%rax)
incq %r14
jmp 0x236d4
xorl %r14d, %r14d
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::strconv_attribute_impl<pugi::impl::(anonymous namespace)::opt_true>::parse_wconv(char*, char)
static char_t* parse_wconv(char_t* s, char_t end_quote)
		{
			gap g;

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

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

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

						if (*s == '\n') g.push(s, 1);
					}
					else *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 $0x28, %rsp
movl %esi, %ebx
movq %rdi, %r12
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r14
movaps %xmm0, (%r14)
leaq 0x84c8(%rip), %rbp      # 0x2bcc0
leaq 0x8(%rsp), %r15
pushq $0x1
popq %r13
movzbl (%r12), %eax
movb (%rax,%rbp), %cl
testb $0x4, %cl
jne 0x2384d
movzbl 0x1(%r12), %eax
movb (%rax,%rbp), %cl
testb $0x4, %cl
jne 0x2383e
movzbl 0x2(%r12), %eax
movb (%rax,%rbp), %cl
testb $0x4, %cl
jne 0x23843
movzbl 0x3(%r12), %eax
movb (%rax,%rbp), %cl
testb $0x4, %cl
jne 0x23849
addq $0x4, %r12
jmp 0x23801
incq %r12
jmp 0x2384d
addq $0x2, %r12
jmp 0x2384d
addq $0x3, %r12
movq %r12, 0x8(%rsp)
cmpb %bl, %al
je 0x238b2
testb $0x8, %cl
jne 0x23870
cmpb $0x26, %al
je 0x23898
movzbl %al, %eax
testl %eax, %eax
je 0x238d7
incq %r12
movq %r12, 0x8(%rsp)
jmp 0x238a8
leaq 0x1(%r12), %rcx
movq %rcx, 0x8(%rsp)
movb $0x20, (%r12)
cmpb $0xd, %al
jne 0x238a8
cmpb $0xa, (%rcx)
jne 0x238a8
movq %r14, %rdi
movq %r15, %rsi
movq %r13, %rdx
callq 0x23d90
jmp 0x238a8
movq %r12, %rdi
movq %r14, %rsi
callq 0x23bcf
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %r12
jmp 0x23801
leaq 0x10(%rsp), %rdi
movq %r12, %rsi
callq 0x23b78
movb $0x0, (%rax)
incq %r12
movq %r12, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
xorl %r12d, %r12d
jmp 0x238c5
// File: /workspace/github_cpp_makefile_star2_O2/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %esi, %ebx
movq %rdi, 0x8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
movzbl (%rdi), %eax
leaq 0x8280(%rip), %r13      # 0x2bcc0
testb $0x8, (%rax,%r13)
je 0x23a67
xorl %edx, %edx
movzbl 0x1(%rdi,%rdx), %eax
incq %rdx
testb $0x8, (%rax,%r13)
jne 0x23a49
leaq 0x10(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x23d90
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r12
movq 0x8(%rsp), %r14
addq $0x3, %r14
movzbl -0x3(%r14), %eax
movb (%rax,%r13), %cl
testb $0xc, %cl
jne 0x23ab7
movzbl -0x2(%r14), %eax
movb (%rax,%r13), %cl
testb $0xc, %cl
jne 0x23abd
movzbl -0x1(%r14), %eax
movb (%rax,%r13), %cl
testb $0xc, %cl
jne 0x23ac3
movzbl (%r14), %eax
movb (%rax,%r13), %cl
testb $0xc, %cl
jne 0x23ac6
addq $0x4, %r14
jmp 0x23a7a
addq $-0x3, %r14
jmp 0x23ac6
addq $-0x2, %r14
jmp 0x23ac6
decq %r14
movq %r14, 0x8(%rsp)
cmpb %bl, %al
je 0x23b41
testb $0x8, %cl
jne 0x23aed
cmpb $0x26, %al
je 0x23b2c
movzbl %al, %eax
testl %eax, %eax
je 0x23b73
incq %r14
movq %r14, 0x8(%rsp)
jmp 0x23a71
leaq 0x1(%r14), %rax
movq %rax, 0x8(%rsp)
movb $0x20, (%r14)
movzbl 0x1(%r14), %eax
testb $0x8, (%rax,%r13)
je 0x23a71
xorl %edx, %edx
movzbl 0x2(%r14,%rdx), %eax
incq %rdx
testb $0x8, (%rax,%r13)
jne 0x23b0c
movq %r15, %rdi
movq %r12, %rsi
callq 0x23d90
jmp 0x23a71
movq %r14, %rdi
movq %r15, %rsi
callq 0x23bcf
movq %rax, 0x8(%rsp)
jmp 0x23a71
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x23b78
movb $0x0, (%rax)
movzbl -0x1(%rax), %ecx
decq %rax
testb $0x8, (%rcx,%r13)
jne 0x23b4e
incq %r14
movq %r14, %rax
addq $0x20, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
xorl %r14d, %r14d
jmp 0x23b62
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::gap::flush(char*)
char_t* flush(char_t* s)
		{
			if (end)
			{
				// Move [old_gap_end, current_pos) to [old_gap_start, ...)
				assert(s >= end);
				memmove(end - size, end, reinterpret_cast<char*>(s) - reinterpret_cast<char*>(end));

				return s - size;
			}
			else return s;
		}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq (%rdi), %rsi
testq %rsi, %rsi
je 0x23ba5
cmpq %rbx, %rsi
ja 0x23bb0
movq %rdi, %r14
movq %rsi, %rdi
subq 0x8(%r14), %rdi
movq %rbx, %rdx
subq %rsi, %rdx
callq 0x60f0
subq 0x8(%r14), %rbx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x97b7(%rip), %rdi      # 0x2d36e
leaq 0x8377(%rip), %rsi      # 0x2bf35
leaq 0x97b2(%rip), %rcx      # 0x2d377
movl $0x985, %edx            # imm = 0x985
callq 0x6100
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::gap::push(char*&, unsigned long)
void push(char_t*& s, size_t count)
		{
			if (end) // there was a gap already; collapse it
			{
				// Move [old_gap_end, new_gap_start) to [old_gap_start, ...)
				assert(s >= end);
				memmove(end - size, end, reinterpret_cast<char*>(s) - reinterpret_cast<char*>(end));
			}

			s += count; // end of current gap

			// "merge" two gaps
			end = s;
			size += count;
		}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
movq (%rdi), %rsi
testq %rsi, %rsi
je 0x23dba
movq (%r15), %rdx
subq %rsi, %rdx
jb 0x23dd0
movq %rsi, %rdi
subq 0x8(%r14), %rdi
callq 0x60f0
movq (%r15), %rax
addq %rbx, %rax
movq %rax, (%r15)
movq %rax, (%r14)
addq %rbx, 0x8(%r14)
popq %rbx
popq %r14
popq %r15
retq
leaq 0x9597(%rip), %rdi      # 0x2d36e
leaq 0x8157(%rip), %rsi      # 0x2bf35
leaq 0x95d2(%rip), %rcx      # 0x2d3b7
movl $0x974, %edx            # imm = 0x974
callq 0x6100
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::strconv_pcdata_impl<pugi::impl::(anonymous namespace)::opt_true, pugi::impl::(anonymous namespace)::opt_true, pugi::impl::(anonymous namespace)::opt_true>::parse(char*)
static char_t* parse(char_t* s)
		{
			gap g;

			char_t* begin = s;

			while (true)
			{
				PUGI__SCANWHILE_UNROLL(!PUGI__IS_CHARTYPE(ss, ct_parse_pcdata));

				if (*s == '<') // PCDATA ends here
				{
					char_t* end = g.flush(s);

					if (opt_trim::value)
						while (end > begin && PUGI__IS_CHARTYPE(end[-1], ct_space))
							--end;

					*end = 0;

					return s + 1;
				}
				else if (opt_eol::value && *s == '\r') // Either a single 0x0d or 0x0d 0x0a pair
				{
					*s++ = '\n'; // replace first one with 0x0a

					if (*s == '\n') g.push(s, 1);
				}
				else if (opt_escape::value && *s == '&')
				{
					s = strconv_escape(s, g);
				}
				else if (*s == 0)
				{
					char_t* end = g.flush(s);

					if (opt_trim::value)
						while (end > begin && PUGI__IS_CHARTYPE(end[-1], ct_space))
							--end;

					*end = 0;

					return s;
				}
				else ++s;
			}
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
xorps %xmm0, %xmm0
leaq 0x10(%rsp), %r15
movaps %xmm0, (%r15)
leaq 0x78a8(%rip), %rbp      # 0x2bcc0
leaq 0x8(%rsp), %r12
pushq $0x1
popq %r13
movq %rdi, %r14
movzbl (%r14), %eax
testb $0x1, (%rax,%rbp)
jne 0x24464
movzbl 0x1(%r14), %eax
testb $0x1, (%rax,%rbp)
jne 0x24455
movzbl 0x2(%r14), %eax
testb $0x1, (%rax,%rbp)
jne 0x2445a
movzbl 0x3(%r14), %eax
testb $0x1, (%rax,%rbp)
jne 0x24460
addq $0x4, %r14
jmp 0x24424
incq %r14
jmp 0x24464
addq $0x2, %r14
jmp 0x24464
addq $0x3, %r14
movq %r14, 0x8(%rsp)
cmpb $0xd, %al
je 0x24488
movzbl %al, %eax
cmpl $0x26, %eax
je 0x244ac
testl %eax, %eax
je 0x244f1
cmpl $0x3c, %eax
je 0x244c6
incq %r14
movq %r14, 0x8(%rsp)
jmp 0x244bc
leaq 0x1(%r14), %rax
movq %rax, 0x8(%rsp)
movb $0xa, (%r14)
cmpb $0xa, 0x1(%r14)
jne 0x244bc
movq %r15, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x23d90
jmp 0x244bc
movq %r14, %rdi
movq %r15, %rsi
callq 0x23bcf
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %r14
jmp 0x24424
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x23b78
movq %rax, %rcx
cmpq %rbx, %rax
jbe 0x244e9
leaq -0x1(%rcx), %rax
movzbl -0x1(%rcx), %edx
testb $0x8, (%rdx,%rbp)
jne 0x244d3
movb $0x0, (%rcx)
incq %r14
jmp 0x24517
leaq 0x10(%rsp), %rdi
movq %r14, %rsi
callq 0x23b78
movq %rax, %rcx
cmpq %rbx, %rax
jbe 0x24514
leaq -0x1(%rcx), %rax
movzbl -0x1(%rcx), %edx
testb $0x8, (%rdx,%rbp)
jne 0x244fe
movb $0x0, (%rcx)
movq %r14, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::text_output_indent(pugi::impl::(anonymous namespace)::xml_buffered_writer&, char const*, unsigned long, unsigned int)
PUGI__FN void text_output_indent(xml_buffered_writer& writer, const char_t* indent, size_t indent_length, unsigned int depth)
	{
		switch (indent_length)
		{
		case 1:
		{
			for (unsigned int i = 0; i < depth; ++i)
				writer.write(indent[0]);
			break;
		}

		case 2:
		{
			for (unsigned int i = 0; i < depth; ++i)
				writer.write(indent[0], indent[1]);
			break;
		}

		case 3:
		{
			for (unsigned int i = 0; i < depth; ++i)
				writer.write(indent[0], indent[1], indent[2]);
			break;
		}

		case 4:
		{
			for (unsigned int i = 0; i < depth; ++i)
				writer.write(indent[0], indent[1], indent[2], indent[3]);
			break;
		}

		default:
		{
			for (unsigned int i = 0; i < depth; ++i)
				writer.write_buffer(indent, indent_length);
		}
		}
	}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq -0x1(%rdx), %rax
cmpq $0x3, %rax
ja 0x24996
leaq 0x715f(%rip), %rcx      # 0x2ba78
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
subl $0x1, %ebx
jb 0x2498a
movsbl (%r14), %esi
movq %r15, %rdi
callq 0x1d952
jmp 0x24922
subl $0x1, %ebx
jb 0x2498a
movsbl (%r14), %esi
movsbl 0x1(%r14), %edx
movsbl 0x2(%r14), %ecx
movsbl 0x3(%r14), %r8d
movq %r15, %rdi
callq 0x24c88
jmp 0x24935
subl $0x1, %ebx
jb 0x2498a
movsbl (%r14), %esi
movsbl 0x1(%r14), %edx
movq %r15, %rdi
callq 0x1d914
jmp 0x24957
movsbl (%r14), %esi
movsbl 0x1(%r14), %edx
movsbl 0x2(%r14), %ecx
movq %r15, %rdi
callq 0x1d814
subl $0x1, %ebx
jae 0x2496f
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movq %rdx, %r12
subl $0x1, %ebx
jb 0x2498a
movq %r15, %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x24cde
jmp 0x24999
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::text_output(pugi::impl::(anonymous namespace)::xml_buffered_writer&, char const*, pugi::impl::(anonymous namespace)::chartypex_t, unsigned int)
PUGI__FN void text_output(xml_buffered_writer& writer, const char_t* s, chartypex_t type, unsigned int flags)
	{
		if (flags & format_no_escapes)
			writer.write_string(s);
		else
			text_output_escaped(writer, s, type);
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
testb $0x10, %cl
jne 0x24b08
movl %edx, %ebx
leaq 0x73f2(%rip), %r15      # 0x2bdc0
pushq $0x26
popq %rbp
pushq $0x3b
popq %r13
cmpb $0x0, (%rsi)
je 0x24b1e
leaq 0x1(%rsi), %r12
movzbl -0x1(%r12), %eax
movzbl (%rax,%r15), %eax
testl %ebx, %eax
jne 0x24a27
movzbl (%r12), %eax
movzbl (%rax,%r15), %eax
testl %ebx, %eax
jne 0x24a2f
movzbl 0x1(%r12), %eax
movzbl (%rax,%r15), %eax
testl %ebx, %eax
jne 0x24a2c
movzbl 0x2(%r12), %eax
movzbl (%rax,%r15), %eax
addq $0x4, %r12
testl %ebx, %eax
je 0x249e2
addq $-0x2, %r12
jmp 0x24a2f
decq %r12
jmp 0x24a2f
incq %r12
movq %r12, %rdx
subq %rsi, %rdx
movq %r14, %rdi
callq 0x24cde
movzbl (%r12), %eax
movq %r12, %rsi
testl %eax, %eax
je 0x249d5
cmpl $0x22, %eax
je 0x24a76
cmpl $0x3e, %eax
je 0x24ab5
cmpl $0x3c, %eax
je 0x24aac
cmpl $0x26, %eax
jne 0x24ad3
movq %r14, %rdi
movl %ebp, %esi
pushq $0x61
popq %rdx
pushq $0x6d
popq %rcx
pushq $0x70
popq %r8
movl %r13d, %r9d
callq 0x24c20
jmp 0x24ac8
movq 0x2808(%r14), %rax
cmpq $0x7fb, %rax            # imm = 0x7FB
jb 0x24a8f
movq %r14, %rdi
callq 0x1bd66
xorl %eax, %eax
movl $0x6f757126, (%r14,%rax) # imm = 0x6F757126
movw $0x3b74, 0x4(%r14,%rax) # imm = 0x3B74
addq $0x6, %rax
movq %rax, 0x2808(%r14)
jmp 0x24ac8
movq %r14, %rdi
movl %ebp, %esi
pushq $0x6c
jmp 0x24abc
movq %r14, %rdi
movl %ebp, %esi
pushq $0x67
popq %rdx
pushq $0x74
popq %rcx
movl %r13d, %r8d
callq 0x24c88
incq %r12
movq %r12, %rsi
jmp 0x249d5
cmpb $0x20, %al
jae 0x24b2d
movzbl %al, %eax
movb $0xa, %cl
divb %cl
incq %r12
movzbl %ah, %edx
orb $0x30, %al
orb $0x30, %dl
movzbl %al, %ecx
movzbl %dl, %r8d
movq %r14, %rdi
movl %ebp, %esi
pushq $0x23
popq %rdx
movl %r13d, %r9d
callq 0x24c20
movq %r12, %rsi
jmp 0x249d5
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1d864
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x8aff(%rip), %rdi      # 0x2d633
leaq 0x73fa(%rip), %rsi      # 0x2bf35
leaq 0x8af9(%rip), %rcx      # 0x2d63b
movl $0xf63, %edx            # imm = 0xF63
callq 0x6100
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::node_output_attributes(pugi::impl::(anonymous namespace)::xml_buffered_writer&, pugi::xml_node_struct*, char const*, unsigned long, unsigned int, unsigned int)
PUGI__FN void node_output_attributes(xml_buffered_writer& writer, xml_node_struct* node, const char_t* indent, size_t indent_length, unsigned int flags, unsigned int depth)
	{
		const char_t* default_name = PUGIXML_TEXT(":anonymous");

		for (xml_attribute_struct* a = node->first_attribute; a; a = a->next_attribute)
		{
			if ((flags & (format_indent_attributes | format_raw)) == format_indent_attributes)
			{
				writer.write('\n');

				text_output_indent(writer, indent, indent_length, depth + 1);
			}
			else
			{
				writer.write(' ');
			}

			writer.write_string(a->name ? a->name + 0 : default_name);
			writer.write('=', '"');

			if (a->value)
				text_output(writer, a->value, ctx_special_attr, flags);

			writer.write('"');
		}
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %ebx
movl %r8d, %r14d
movq %rcx, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq %rsi, %r12
movq %rdi, %r13
addq $0x38, %r12
movl %r8d, %ebp
andl $0x44, %ebp
incl %ebx
pushq $0x22
popq %r15
movq (%r12), %r12
testq %r12, %r12
je 0x24c10
movq %r13, %rdi
cmpl $0x40, %ebp
jne 0x24bb3
pushq $0xa
popq %rsi
callq 0x1d952
movq %r13, %rdi
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movl %ebx, %ecx
callq 0x248f4
jmp 0x24bbb
pushq $0x20
popq %rsi
callq 0x1d952
movq 0x8(%r12), %rsi
testq %rsi, %rsi
leaq 0x89eb(%rip), %rax      # 0x2d5b5
cmoveq %rax, %rsi
movq %r13, %rdi
callq 0x1d864
movq %r13, %rdi
pushq $0x3d
popq %rsi
movl %r15d, %edx
callq 0x1d914
movq 0x10(%r12), %rsi
testq %rsi, %rsi
je 0x24bfc
movq %r13, %rdi
pushq $0x2
popq %rdx
movl %r14d, %ecx
callq 0x249ae
movq %r13, %rdi
movl %r15d, %esi
callq 0x1d952
addq $0x20, %r12
jmp 0x24b80
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xml_buffered_writer::write(char, char, char, char, char)
void write(char_t d0, char_t d1, char_t d2, char_t d3, char_t d4)
		{
			size_t offset = bufsize;
			if (offset > bufcapacity - 5) offset = flush();

			buffer[offset + 0] = d0;
			buffer[offset + 1] = d1;
			buffer[offset + 2] = d2;
			buffer[offset + 3] = d3;
			buffer[offset + 4] = d4;
			bufsize = offset + 5;
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r9d, %ebx
movl %r8d, %ebp
movl %ecx, %r15d
movl %edx, %r12d
movl %esi, %r13d
movq %rdi, %r14
movq 0x2808(%rdi), %rax
cmpq $0x7fc, %rax            # imm = 0x7FC
jb 0x24c56
movq %r14, %rdi
callq 0x1bd66
xorl %eax, %eax
movb %r13b, (%r14,%rax)
movb %r12b, 0x1(%r14,%rax)
movb %r15b, 0x2(%r14,%rax)
movb %bpl, 0x3(%r14,%rax)
movb %bl, 0x4(%r14,%rax)
addq $0x5, %rax
movq %rax, 0x2808(%r14)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xml_buffered_writer::write(char, char, char, char)
void write(char_t d0, char_t d1, char_t d2, char_t d3)
		{
			size_t offset = bufsize;
			if (offset > bufcapacity - 4) offset = flush();

			buffer[offset + 0] = d0;
			buffer[offset + 1] = d1;
			buffer[offset + 2] = d2;
			buffer[offset + 3] = d3;
			bufsize = offset + 4;
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %r8d, %ebx
movl %ecx, %ebp
movl %edx, %r15d
movl %esi, %r12d
movq %rdi, %r14
movq 0x2808(%rdi), %rax
cmpq $0x7fd, %rax            # imm = 0x7FD
jb 0x24cb7
movq %r14, %rdi
callq 0x1bd66
xorl %eax, %eax
movb %r12b, (%r14,%rax)
movb %r15b, 0x1(%r14,%rax)
movb %bpl, 0x2(%r14,%rax)
movb %bl, 0x3(%r14,%rax)
addq $0x4, %rax
movq %rax, 0x2808(%r14)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xml_buffered_writer::write_buffer(char const*, unsigned long)
void write_buffer(const char_t* data, size_t length)
		{
			size_t offset = bufsize;

			if (offset + length <= bufcapacity)
			{
				memcpy(buffer + offset, data, length * sizeof(char_t));
				bufsize = offset + length;
			}
			else
			{
				write_direct(data, length);
			}
		}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x2808(%rdi), %rdi
leaq (%rdi,%rdx), %r14
cmpq $0x800, %r14            # imm = 0x800
ja 0x24d10
addq %rbx, %rdi
callq 0x6080
movq %r14, 0x2808(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x24d1c
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xml_buffered_writer::write_direct(char const*, unsigned long)
void write_direct(const char_t* data, size_t length)
		{
			// flush the remaining buffer contents
			flush();

			// handle large chunks
			if (length > bufcapacity)
			{
				if (encoding == get_write_native_encoding())
				{
					// fast path, can just write data chunk
					writer.write(data, length * sizeof(char_t));
					return;
				}

				// need to convert in suitable chunks
				while (length > bufcapacity)
				{
					// get chunk size by selecting such number of characters that are guaranteed to fit into scratch buffer
					// and form a complete codepoint sequence (i.e. discard start of last codepoint if necessary)
					size_t chunk_size = get_valid_length(data, bufcapacity);
					assert(chunk_size);

					// convert chunk and write
					flush(data, chunk_size);

					// iterate
					data += chunk_size;
					length -= chunk_size;
				}

				// small tail is copied below
				bufsize = 0;
			}

			memcpy(buffer + bufsize, data, length * sizeof(char_t));
			bufsize += length;
		}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x1bd66
cmpq $0x800, %rbx            # imm = 0x800
jbe 0x24d9a
cmpl $0x1, 0x2810(%r15)
jne 0x24d66
movq 0x2800(%r15), %rdi
movq (%rdi), %rax
movq 0x10(%rax), %rax
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
jmpq *%rax
cmpq $0x801, %rbx            # imm = 0x801
jb 0x24da3
movl $0x800, %esi            # imm = 0x800
movq %r14, %rdi
callq 0x24ded
testq %rax, %rax
je 0x24dce
movq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x24e18
addq %r12, %r14
subq %r12, %rbx
jmp 0x24d66
movq 0x2808(%r15), %rdi
jmp 0x24dad
andq $0x0, 0x2808(%r15)
xorl %edi, %edi
addq %r15, %rdi
movq %r14, %rsi
movq %rbx, %rdx
callq 0x6080
addq %rbx, 0x2808(%r15)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
leaq 0x88d6(%rip), %rdi      # 0x2d6ab
leaq 0x7159(%rip), %rsi      # 0x2bf35
leaq 0x88d3(%rip), %rcx      # 0x2d6b6
movl $0xea5, %edx            # imm = 0xEA5
callq 0x6100
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::get_valid_length(char const*, unsigned long)
PUGI__FN size_t get_valid_length(const char_t* data, size_t length)
	{
		if (length < 5) return 0;

		for (size_t i = 1; i <= 4; ++i)
		{
			uint8_t ch = static_cast<uint8_t>(data[length - i]);

			// either a standalone character or a leading one
			if ((ch & 0xc0) != 0x80) return length - i;
		}

		// there are four non-leading characters at the end, sequence tail is broken so might as well process the whole chunk
		return length;
	}

// Assembly:
cmpq $0x5, %rsi
jae 0x24df6
xorl %eax, %eax
retq
pushq $-0x4
popq %rcx
movq %rsi, %rax
testq %rcx, %rcx
je 0x24e13
movb -0x1(%rdi,%rax), %dl
andb $-0x40, %dl
incq %rcx
decq %rax
negb %dl
jo 0x24dfc
retq
movq %rsi, %rax
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::document_order_comparator::operator()(pugi::xpath_node const&, pugi::xpath_node const&) const
bool operator()(const xpath_node& lhs, const xpath_node& rhs) const
		{
			// optimized document order based check
			const void* lo = document_buffer_order(lhs);
			const void* ro = document_buffer_order(rhs);

			if (lo && ro) return lo < ro;

			// slow comparison
			xml_node ln = lhs.node(), rn = rhs.node();

			// compare attributes
			if (lhs.attribute() && rhs.attribute())
			{
				// shared parent
				if (lhs.parent() == rhs.parent())
				{
					// determine sibling order
					for (xml_attribute a = lhs.attribute(); a; a = a.next_attribute())
						if (a == rhs.attribute())
							return true;

					return false;
				}

				// compare attribute parents
				ln = lhs.parent();
				rn = rhs.parent();
			}
			else if (lhs.attribute())
			{
				// attributes go after the parent element
				if (lhs.parent() == rhs.node()) return false;

				ln = lhs.parent();
			}
			else if (rhs.attribute())
			{
				// attributes go after the parent element
				if (rhs.parent() == lhs.node()) return true;

				rn = rhs.parent();
			}

			if (ln == rn) return false;

			if (!ln || !rn) return ln < rn;

			return node_is_before(ln.internal_object(), rn.internal_object());
		}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
callq 0x258dd
movq %rax, %r15
movq %rbx, %rdi
callq 0x258dd
testq %r15, %r15
sete %cl
testq %rax, %rax
sete %dl
orb %cl, %dl
jne 0x25803
cmpq %rax, %r15
setb %al
jmp 0x2586b
movq (%r14), %rcx
movq 0x8(%r14), %rax
movq (%rbx), %rdx
movq 0x8(%rbx), %rsi
testq %rax, %rax
je 0x25830
testq %rsi, %rsi
je 0x25845
cmpq %rdx, %rcx
jne 0x25845
testq %rax, %rax
je 0x25865
cmpq %rsi, %rax
je 0x25865
movq 0x20(%rax), %rax
jmp 0x25820
testq %rsi, %rsi
setne %sil
cmpq %rcx, %rdx
sete %dil
movb $0x1, %al
testb %dil, %sil
jne 0x2586b
cmpq %rdx, %rcx
jne 0x2584e
xorl %eax, %eax
jmp 0x2586b
testq %rcx, %rcx
sete %al
testq %rdx, %rdx
sete %sil
orb %al, %sil
je 0x25871
cmpq %rdx, %rcx
jmp 0x257fe
testq %rax, %rax
setne %al
popq %rbx
popq %r14
popq %r15
retq
movq %rcx, %rax
movq %rdx, %r8
movq %r8, %rsi
movq %rax, %rdi
testq %rax, %rax
je 0x25896
testq %rsi, %rsi
je 0x25896
movq 0x18(%rdi), %rax
movq 0x18(%rsi), %r8
cmpq %r8, %rax
jne 0x25877
jmp 0x258d3
movq %rdi, %rax
testq %rax, %rax
je 0x258b0
movq 0x18(%rax), %rax
movq 0x18(%rcx), %rcx
jmp 0x25899
movq 0x18(%rsi), %rsi
movq 0x18(%rdx), %rdx
testq %rsi, %rsi
jne 0x258a8
testq %rdi, %rdi
sete %al
cmpq %rdx, %rcx
je 0x2586b
movq %rdx, %rsi
movq %rcx, %rdi
movq 0x18(%rcx), %rcx
movq 0x18(%rdx), %rdx
cmpq %rdx, %rcx
jne 0x258c0
popq %rbx
popq %r14
popq %r15
jmp 0x2596c
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::node_is_before_sibling(pugi::xml_node_struct*, pugi::xml_node_struct*)
PUGI__FN bool node_is_before_sibling(xml_node_struct* ln, xml_node_struct* rn)
	{
		assert(ln->parent == rn->parent);

		// there is no common ancestor (the shared parent is null), nodes are from different documents
		if (!ln->parent) return ln < rn;

		// determine sibling order
		xml_node_struct* ls = ln;
		xml_node_struct* rs = rn;

		while (ls && rs)
		{
			if (ls == rn) return true;
			if (rs == ln) return false;

			ls = ls->next_sibling;
			rs = rs->next_sibling;
		}

		// if rn sibling chain ended ln must be before rn
		return !rs;
	}

// Assembly:
pushq %rax
movq 0x18(%rdi), %rax
cmpq 0x18(%rsi), %rax
jne 0x259b3
testq %rax, %rax
je 0x259a3
movq %rdi, %rdx
movq %rsi, %rcx
testq %rdx, %rdx
je 0x259ab
testq %rcx, %rcx
je 0x259ab
cmpq %rsi, %rdx
sete %al
je 0x259b1
cmpq %rdi, %rcx
je 0x259b1
movq 0x30(%rdx), %rdx
movq 0x30(%rcx), %rcx
jmp 0x25982
cmpq %rsi, %rdi
setb %al
jmp 0x259b1
testq %rcx, %rcx
sete %al
popq %rcx
retq
leaq 0x8086(%rip), %rdi      # 0x2da40
leaq 0x6574(%rip), %rsi      # 0x2bf35
leaq 0x8091(%rip), %rcx      # 0x2da59
movl $0x1eda, %edx           # imm = 0x1EDA
callq 0x6100
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xpath_allocator::release()
void release()
		{
			xpath_memory_block* cur = _root;
			assert(cur);

			while (cur->next)
			{
				xpath_memory_block* next = cur->next;

				xml_memory::deallocate(cur);

				cur = next;
			}
		}

// Assembly:
pushq %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
jne 0x25a03
leaq 0x823f(%rip), %rdi      # 0x2dc21
leaq 0x654c(%rip), %rsi      # 0x2bf35
leaq 0x8235(%rip), %rcx      # 0x2dc25
movl $0x1db8, %edx           # imm = 0x1DB8
callq 0x6100
callq *0x1de60(%rip)          # 0x43860
movq %rbx, %rdi
movq (%rdi), %rbx
testq %rbx, %rbx
jne 0x259fa
popq %rbx
retq
nop
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xpath_parser::parse_expression_rec(pugi::impl::(anonymous namespace)::xpath_ast_node*, int)
xpath_ast_node* parse_expression_rec(xpath_ast_node* lhs, int limit)
		{
			binary_op_t op = binary_op_t::parse(_lexer);

			while (op.asttype != ast_unknown && op.precedence >= limit)
			{
				_lexer.next();

				xpath_ast_node* rhs = parse_path_or_unary_expression();
				if (!rhs) return 0;

				binary_op_t nextop = binary_op_t::parse(_lexer);

				while (nextop.asttype != ast_unknown && nextop.precedence > op.precedence)
				{
					rhs = parse_expression_rec(rhs, nextop.precedence);
					if (!rhs) return 0;

					nextop = binary_op_t::parse(_lexer);
				}

				if (op.asttype == ast_op_union && (lhs->rettype() != xpath_type_node_set || rhs->rettype() != xpath_type_node_set))
					return error("Union operator has to be applied to node sets");

				lhs = alloc_node(op.asttype, op.rettype, lhs, rhs);
				if (!lhs) return 0;

				op = binary_op_t::parse(_lexer);
			}

			return lhs;
		}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r13d
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x8(%rdi), %r15
movl %edx, 0x4(%rsp)
movq %r15, %rdi
callq 0x27250
movq %rax, %r12
testl %r12d, %r12d
je 0x268aa
movl %edx, %ebp
cmpl %r13d, %edx
jl 0x268aa
movq %r15, %rdi
callq 0x25a0e
movq %r14, %rdi
callq 0x25d44
testq %rax, %rax
je 0x268c9
movq %rax, %r13
movq %r15, %rdi
callq 0x27250
testl %eax, %eax
je 0x2686c
cmpl %ebp, %edx
jle 0x2686c
movq %r14, %rdi
movq %r13, %rsi
callq 0x267f4
movq %rax, %r13
testq %rax, %rax
jne 0x26847
jmp 0x268c9
cmpl $0xf, %r12d
jne 0x2687f
cmpb $0x1, 0x1(%rbx)
jne 0x268af
cmpb $0x1, 0x1(%r13)
jne 0x268af
movq %r12, %rdx
shrq $0x20, %rdx
movq %r14, %rdi
movl %r12d, %esi
movq %rbx, %rcx
movq %r13, %r8
callq 0x26b18
movq %rax, %rbx
testq %rax, %rax
movl 0x4(%rsp), %r13d
jne 0x26810
jmp 0x268c9
movq %rbx, %rax
jmp 0x268cb
movq 0x40(%r14), %rax
leaq 0x79cd(%rip), %rcx      # 0x2e287
movq %rcx, (%rax)
movq 0x10(%r14), %rcx
subq 0x30(%r14), %rcx
movq %rcx, 0x8(%rax)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O2/jliesch[P]ofxget/pugixml/pugixml.cpp
// Function: pugi::impl::(anonymous namespace)::xpath_parser::parse_location_path()
xpath_ast_node* parse_location_path()
		{
			if (_lexer.current() == lex_slash)
			{
				_lexer.next();

				xpath_ast_node* n = alloc_node(ast_step_root, xpath_type_node_set);
				if (!n) return 0;

				// relative location path can start from axis_attribute, dot, double_dot, multiply and string lexemes; any other lexeme means standalone root path
				lexeme_t l = _lexer.current();

				if (l == lex_string || l == lex_axis_attribute || l == lex_dot || l == lex_double_dot || l == lex_multiply)
					return parse_relative_location_path(n);
				else
					return n;
			}
			else if (_lexer.current() == lex_double_slash)
			{
				_lexer.next();

				xpath_ast_node* n = alloc_node(ast_step_root, xpath_type_node_set);
				if (!n) return 0;

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

				return parse_relative_location_path(n);
			}

			// else clause moved outside of if because of bogus warning 'control may reach end of non-void function being inlined' in gcc 4.0.1
			return parse_relative_location_path(0);
		}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
addq $0x8, %rdi
movl 0x28(%rbx), %eax
cmpl $0x11, %eax
je 0x2692d
cmpl $0x10, %eax
jne 0x2697c
callq 0x25a0e
xorl %r14d, %r14d
pushq $0x39
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x26b18
testq %rax, %rax
je 0x26971
movl 0x28(%rbx), %ecx
cmpl $0x18, %ecx
ja 0x26928
movl $0x1d00200, %edx        # imm = 0x1D00200
btl %ecx, %edx
jb 0x26969
movq %rax, %r14
jmp 0x26971
callq 0x25a0e
xorl %r14d, %r14d
pushq $0x39
popq %rsi
pushq $0x1
popq %rdx
movq %rbx, %rdi
xorl %ecx, %ecx
xorl %r8d, %r8d
callq 0x26b18
testq %rax, %rax
je 0x26971
xorl %r14d, %r14d
pushq $0x5
popq %rdx
pushq $0x2
popq %rcx
movq %rbx, %rdi
movq %rax, %rsi
xorl %r8d, %r8d
callq 0x26a38
testq %rax, %rax
je 0x26971
movq %rbx, %rdi
movq %rax, %rsi
jmp 0x26981
movq %r14, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rbx, %rdi
xorl %esi, %esi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x26a7c
nop