	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pgxmlNodeSetToText
_pgxmlNodeSetToText:                    ## @pgxmlNodeSetToText
	.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	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_xmlBufferCreate
	movq	%rax, %r13
	testq	%r14, %r14
	je	LBB0_3
## %bb.1:
	movq	%r14, %rdi
	callq	_xmlStrlen
	testq	%rax, %rax
	jle	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_xmlBufferWriteChar
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_xmlBufferWriteCHAR
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_xmlBufferWriteChar
LBB0_3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.4:
	cmpl	$0, (%rbx)
	jle	LBB0_16
## %bb.5:
	xorl	%r14d, %r14d
	jmp	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdx
	movl	(%rdx), %esi
	movq	%r13, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_xmlNodeDump
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_16
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	testq	%r15, %r15
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	callq	_xmlXPathCastNodeToString
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_xmlBufferWriteCHAR
	movslq	(%rbx), %rax
	decq	%rax
	cmpq	%rax, %r14
	jge	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_xmlBufferWriteChar
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	testq	%r12, %r12
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r12, %rdi
	callq	_xmlStrlen
	testq	%rax, %rax
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	callq	_xmlBufferWriteChar
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_xmlBufferWriteCHAR
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_xmlBufferWriteChar
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdx
	movl	(%rdx), %esi
	movq	%r13, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	callq	_xmlNodeDump
	movq	%r12, %rdi
	callq	_xmlStrlen
	testq	%rax, %rax
	jle	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_xmlBufferWriteChar
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_xmlBufferWriteCHAR
	movq	%r13, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_xmlBufferWriteChar
	jmp	LBB0_15
LBB0_16:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.17:
	movq	%rbx, %rdi
	callq	_xmlStrlen
	testq	%rax, %rax
	jle	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_xmlBufferWriteChar
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_xmlBufferWriteCHAR
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_xmlBufferWriteChar
LBB0_19:
	movl	(%r13), %edi
	callq	_xmlStrdup
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_xmlBufferFree
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<"

L_.str.1:                               ## @.str.1
	.asciz	">"

L_.str.2:                               ## @.str.2
	.asciz	"</"

	.no_dead_strip	_pgxmlNodeSetToText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pgxmlNodeSetToText
_pgxmlNodeSetToText:                    ; @pgxmlNodeSetToText
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	bl	_xmlBufferCreate
	mov	x19, x0
	cbz	x20, LBB0_3
; %bb.1:
	mov	x0, x20
	bl	_xmlStrlen
	cmp	x0, #1
	b.lt	LBB0_3
; %bb.2:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_xmlBufferWriteChar
	mov	x0, x19
	mov	x1, x20
	bl	_xmlBufferWriteCHAR
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_xmlBufferWriteChar
LBB0_3:
	cbz	x23, LBB0_16
; %bb.4:
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.5:
	mov	x27, #0
Lloh4:
	adrp	x24, l_.str@PAGE
Lloh5:
	add	x24, x24, l_.str@PAGEOFF
Lloh6:
	adrp	x25, l_.str.1@PAGE
Lloh7:
	add	x25, x25, l_.str.1@PAGEOFF
Lloh8:
	adrp	x26, l_.str.2@PAGE
Lloh9:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23, #8]
	ldr	x2, [x8, x27, lsl #3]
	ldr	w1, [x2]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	bl	_xmlNodeDump
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x27, x27, #1
	ldrsw	x8, [x23]
	cmp	x27, x8
	b.ge	LBB0_16
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23, #8]
	ldr	x0, [x8, x27, lsl #3]
	bl	_xmlXPathCastNodeToString
	mov	x1, x0
	mov	x0, x19
	bl	_xmlBufferWriteCHAR
	ldrsw	x8, [x23]
	sub	x8, x8, #1
	cmp	x27, x8
	b.ge	LBB0_7
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_xmlBufferWriteChar
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x22, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	bl	_xmlStrlen
	cmp	x0, #1
	b.lt	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_xmlBufferWriteChar
	mov	x0, x19
	mov	x1, x22
	bl	_xmlBufferWriteCHAR
	mov	x0, x19
	mov	x1, x25
	bl	_xmlBufferWriteChar
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23, #8]
	ldr	x2, [x8, x27, lsl #3]
	ldr	w1, [x2]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	bl	_xmlNodeDump
	mov	x0, x22
	bl	_xmlStrlen
	cmp	x0, #1
	b.lt	LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	mov	x1, x26
	bl	_xmlBufferWriteChar
	mov	x0, x19
	mov	x1, x22
	bl	_xmlBufferWriteCHAR
	mov	x0, x19
	mov	x1, x25
	bl	_xmlBufferWriteChar
	b	LBB0_7
LBB0_16:
	cbz	x20, LBB0_19
; %bb.17:
	mov	x0, x20
	bl	_xmlStrlen
	cmp	x0, #1
	b.lt	LBB0_19
; %bb.18:
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_xmlBufferWriteChar
	mov	x0, x19
	mov	x1, x20
	bl	_xmlBufferWriteCHAR
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_xmlBufferWriteChar
LBB0_19:
	ldr	w0, [x19]
	bl	_xmlStrdup
	mov	x20, x0
	mov	x0, x19
	bl	_xmlBufferFree
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<"

l_.str.1:                               ; @.str.1
	.asciz	">"

l_.str.2:                               ; @.str.2
	.asciz	"</"

	.no_dead_strip	_pgxmlNodeSetToText
.subsections_via_symbols
