// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/classes/xml/node.cpp
// Function: smooth::XML::Node::~Node()
S::XML::Node::~Node()
{
	/* Delete attributes.
	 */
	if (attributes != NIL)
	{
		foreach (Attribute *attribute, *attributes) delete attribute;

		delete attributes;
	}

	/* Delete subnodes.
	 */
	if (subnodes != NIL)
	{
		foreach (Node *subnode, *subnodes) delete subnode;

		delete subnodes;
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, (%rax)
je 0x10f84e
movl $0x0, -0xc(%rbp)
movl $0xffffffff, -0x10(%rbp) # imm = 0xFFFFFFFF
xorl %eax, %eax
cmpl $0x0, -0xc(%rbp)
movb %al, -0x31(%rbp)
jne 0x10f7b2
movq -0x30(%rbp), %rax
movl -0x10(%rbp), %ecx
movl %ecx, -0x3c(%rbp)
movq (%rax), %rdi
callq 0x5c990
movl %eax, -0x38(%rbp)
jmp 0x10f7a1
movl -0x3c(%rbp), %eax
movl -0x38(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
setl %al
movb %al, -0x31(%rbp)
movb -0x31(%rbp), %al
testb $0x1, %al
jne 0x10f7bb
jmp 0x10f831
movq -0x30(%rbp), %rax
movq (%rax), %rdi
movl -0x10(%rbp), %esi
incl %esi
movl %esi, -0x10(%rbp)
callq 0x1101f0
movq %rax, -0x48(%rbp)
jmp 0x10f7d5
movq -0x48(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x18(%rbp)
cmpl $0x0, -0xc(%rbp)
setne %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x10f7ef
jmp 0x10f821
movq -0x18(%rbp), %rax
movq %rax, -0x50(%rbp)
cmpq $0x0, %rax
je 0x10f814
movq -0x50(%rbp), %rdi
callq 0x5c130
movq -0x50(%rbp), %rdi
movl $0x20, %esi
callq 0x595b0
jmp 0x10f816
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x10f7e0
jmp 0x10f823
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x10f77f
movq -0x30(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, %rax
je 0x10f84c
movq -0x58(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x10f84e
movq -0x30(%rbp), %rax
cmpq $0x0, 0x8(%rax)
je 0x10f93d
movl $0x0, -0x1c(%rbp)
movl $0xffffffff, -0x20(%rbp) # imm = 0xFFFFFFFF
xorl %eax, %eax
cmpl $0x0, -0x1c(%rbp)
movb %al, -0x59(%rbp)
jne 0x10f89f
movq -0x30(%rbp), %rax
movl -0x20(%rbp), %ecx
movl %ecx, -0x64(%rbp)
movq 0x8(%rax), %rdi
callq 0x5c990
movl %eax, -0x60(%rbp)
jmp 0x10f88e
movl -0x64(%rbp), %eax
movl -0x60(%rbp), %ecx
subl $0x1, %ecx
cmpl %ecx, %eax
setl %al
movb %al, -0x59(%rbp)
movb -0x59(%rbp), %al
testb $0x1, %al
jne 0x10f8a8
jmp 0x10f91f
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rdi
movl -0x20(%rbp), %esi
incl %esi
movl %esi, -0x20(%rbp)
callq 0x1102d0
movq %rax, -0x70(%rbp)
jmp 0x10f8c3
movq -0x70(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
cmpl $0x0, -0x1c(%rbp)
setne %al
xorb $-0x1, %al
testb $0x1, %al
jne 0x10f8dd
jmp 0x10f90f
movq -0x28(%rbp), %rax
movq %rax, -0x78(%rbp)
cmpq $0x0, %rax
je 0x10f902
movq -0x78(%rbp), %rdi
callq 0x5a270
movq -0x78(%rbp), %rdi
movl $0x30, %esi
callq 0x595b0
jmp 0x10f904
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x10f8ce
jmp 0x10f911
movl -0x1c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x10f86b
movq -0x30(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, %rax
je 0x10f93b
movq -0x80(%rbp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x10f93d
movq -0x30(%rbp), %rdi
addq $0x18, %rdi
callq 0x5df00
addq $0x80, %rsp
popq %rbp
retq
movq %rax, %rdi
callq 0x61c50
nopl (%rax,%rax)