	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cleanup_xml_node
_cleanup_xml_node:                      ## @cleanup_xml_node
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.1:
	xorl	%r14d, %r14d
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %r15
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %r12
	movq	_XML_CDATA_SECTION_NODE@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	24(%rbx), %edi
	callq	_is_blank
	movq	%rax, %r14
	testq	%rax, %rax
	cmovneq	%rbx, %r14
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_xmlUnlinkNode
	movq	%r14, %rdi
	callq	_xmlFreeNode
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
	cmpq	(%r15), %rax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	(%r12), %rax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r14
	cmpq	(%r13), %rax
	jne	LBB0_11
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_cleanup_xml_node
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_12:
	testq	%r14, %r14
	je	LBB0_13
## %bb.14:
	movq	%r14, %rdi
	callq	_xmlUnlinkNode
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xmlFreeNode                    ## TAILCALL
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_TEXT_NODE,8,3              ## @XML_TEXT_NODE
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
	.comm	_XML_CDATA_SECTION_NODE,8,3     ## @XML_CDATA_SECTION_NODE
	.no_dead_strip	_cleanup_xml_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cleanup_xml_node
_cleanup_xml_node:                      ; @cleanup_xml_node
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x19, [x0, #16]
	cbz	x19, LBB0_13
; %bb.1:
	mov	x20, #0
Lloh0:
	adrp	x21, _XML_TEXT_NODE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh2:
	adrp	x22, _XML_ELEMENT_NODE@GOTPAGE
Lloh3:
	ldr	x22, [x22, _XML_ELEMENT_NODE@GOTPAGEOFF]
Lloh4:
	adrp	x23, _XML_CDATA_SECTION_NODE@GOTPAGE
Lloh5:
	ldr	x23, [x23, _XML_CDATA_SECTION_NODE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, #24]
	bl	_is_blank
	cmp	x0, #0
	csel	x20, xzr, x19, eq
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x20, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x20
	bl	_xmlUnlinkNode
	mov	x0, x20
	bl	_xmlFreeNode
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x22]
	ldr	x10, [x23]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	mov	x20, x19
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_cleanup_xml_node
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, #0
	b	LBB0_3
LBB0_11:
	cbz	x20, LBB0_13
; %bb.12:
	mov	x0, x20
	bl	_xmlUnlinkNode
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_xmlFreeNode
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_TEXT_NODE,8,3              ; @XML_TEXT_NODE
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
	.comm	_XML_CDATA_SECTION_NODE,8,3     ; @XML_CDATA_SECTION_NODE
	.no_dead_strip	_cleanup_xml_node
.subsections_via_symbols
