	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltCopyTextString             ## -- Begin function xsltCopyTextString
	.p2align	4, 0x90
_xsltCopyTextString:                    ## @xsltCopyTextString
	.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
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	cmpq	$0, 40(%r15)
	jne	LBB0_5
LBB0_4:
	movq	$0, 16(%r14)
LBB0_5:
	movq	%r12, %rdi
	callq	_xmlStrlen
	movl	%eax, %ebx
	movq	(%r14), %rax
	movq	_XSLT_OUTPUT_XML@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.6:
	testq	%r15, %r15
	je	LBB0_17
## %bb.7:
	movq	32(%r14), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.8:
	movq	(%r15), %rax
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.9:
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_10
LBB0_13:
	movq	24(%r15), %rsi
	movq	(%rax), %rdx
	callq	_xmlHashLookup2
	testq	%rax, %rax
	jne	LBB0_14
LBB0_17:
	testl	%r13d, %r13d
	je	LBB0_24
## %bb.18:
	testq	%r15, %r15
	je	LBB0_22
## %bb.19:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.20:
	movq	(%rsi), %rax
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_22
## %bb.21:
	movq	8(%rsi), %rax
	movq	_xmlStringTextNoenc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_37
LBB0_22:
	movq	%r12, %rdi
	movl	%ebx, %r12d
	movl	%ebx, %esi
	callq	_xmlNewTextLen
	testq	%rax, %rax
	je	LBB0_35
## %bb.23:
	movq	%rax, %rbx
	movq	_xmlStringTextNoenc@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	testq	%r15, %r15
	jne	LBB0_31
	jmp	LBB0_33
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_36
LBB0_24:
	testq	%r15, %r15
	je	LBB0_28
## %bb.25:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_28
## %bb.26:
	movq	(%rsi), %rax
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_28
## %bb.27:
	movq	8(%rsi), %rax
	movq	_xmlStringText@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_37
LBB0_28:
	movq	%r12, %rdi
	movl	%ebx, %r12d
	movl	%ebx, %esi
	callq	_xmlNewTextLen
LBB0_29:
	movq	%rax, %rbx
	testq	%r15, %r15
	je	LBB0_33
LBB0_31:
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.32:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_xsltAddChild
	movq	%rax, %rbx
LBB0_33:
	testq	%rbx, %rbx
	je	LBB0_35
## %bb.34:
	movq	8(%rbx), %rax
	movq	%rax, 16(%r14)
	movl	%r12d, 8(%r14)
	movl	%r12d, 12(%r14)
	jmp	LBB0_36
LBB0_35:
	leaq	L_.str(%rip), %rcx
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_xsltTransformError
	movq	$0, 16(%r14)
LBB0_36:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	24(%r15), %rsi
	xorl	%edx, %edx
	callq	_xmlHashLookup2
	testq	%rax, %rax
	je	LBB0_11
LBB0_14:
	movq	16(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.15:
	movq	(%rsi), %rax
	movq	_XML_CDATA_SECTION_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_16
LBB0_37:
	movq	%r14, %rdi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsltAddTextString              ## TAILCALL
LBB0_16:
	movl	24(%r14), %edi
	movq	%r12, %rsi
	movl	%ebx, %r12d
	movl	%ebx, %edx
	callq	_xmlNewCDataBlock
	jmp	LBB0_29
LBB0_11:
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.12:
	movq	32(%r14), %rcx
	movq	(%rcx), %rdi
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_XSLT_OUTPUT_XML,8,3            ## @XSLT_OUTPUT_XML
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
	.comm	_XML_CDATA_SECTION_NODE,8,3     ## @XML_CDATA_SECTION_NODE
	.comm	_XML_TEXT_NODE,8,3              ## @XML_TEXT_NODE
	.comm	_xmlStringTextNoenc,8,3         ## @xmlStringTextNoenc
	.comm	_xmlStringText,8,3              ## @xmlStringText
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltCopyTextString: text copy failed\n"

	.comm	_XSLT_TRACE_COPY_TEXT,4,2       ## @XSLT_TRACE_COPY_TEXT
	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltCopyTextString             ; -- Begin function xsltCopyTextString
	.p2align	2
_xsltCopyTextString:                    ; @xsltCopyTextString
	.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
	cbz	x2, LBB0_17
; %bb.1:
	mov	x23, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	cbz	x1, LBB0_3
; %bb.2:
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_4
LBB0_3:
	str	xzr, [x19, #16]
LBB0_4:
	mov	x0, x22
	bl	_xmlStrlen
	mov	x21, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _XSLT_OUTPUT_XML@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XSLT_OUTPUT_XML@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.5:
	cbz	x20, LBB0_10
; %bb.6:
	ldr	x8, [x19, #32]
	ldr	x0, [x8]
	cbz	x0, LBB0_10
; %bb.7:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _XML_ELEMENT_NODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XML_ELEMENT_NODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.8:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_30
LBB0_9:
	ldr	x1, [x20, #24]
	ldr	x2, [x8]
	bl	_xmlHashLookup2
	cbnz	x0, LBB0_31
LBB0_10:
	cbz	w23, LBB0_18
; %bb.11:
	cbz	x20, LBB0_15
; %bb.12:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_15
; %bb.13:
	ldr	x8, [x1]
Lloh6:
	adrp	x9, _XML_TEXT_NODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	ldr	x8, [x1, #8]
Lloh9:
	adrp	x9, _xmlStringTextNoenc@GOTPAGE
Lloh10:
	ldr	x9, [x9, _xmlStringTextNoenc@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_33
LBB0_15:
	mov	x0, x22
	mov	x1, x21
	bl	_xmlNewTextLen
	cbz	x0, LBB0_28
; %bb.16:
	mov	x1, x0
Lloh12:
	adrp	x8, _xmlStringTextNoenc@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xmlStringTextNoenc@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	str	x8, [x0, #24]
	cbnz	x20, LBB0_24
	b	LBB0_26
LBB0_17:
	mov	x1, #0
	b	LBB0_29
LBB0_18:
	cbz	x20, LBB0_22
; %bb.19:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_22
; %bb.20:
	ldr	x8, [x1]
Lloh15:
	adrp	x9, _XML_TEXT_NODE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.21:
	ldr	x8, [x1, #8]
Lloh18:
	adrp	x9, _xmlStringText@GOTPAGE
Lloh19:
	ldr	x9, [x9, _xmlStringText@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_33
LBB0_22:
	mov	x0, x22
	mov	x1, x21
	bl	_xmlNewTextLen
LBB0_23:
	mov	x1, x0
	cbz	x20, LBB0_26
LBB0_24:
	cbz	x1, LBB0_26
; %bb.25:
	mov	x0, x20
	bl	_xsltAddChild
	mov	x1, x0
LBB0_26:
	cbz	x1, LBB0_28
; %bb.27:
	ldr	x8, [x1, #8]
	str	x8, [x19, #16]
	stp	w21, w21, [x19, #8]
	b	LBB0_29
LBB0_28:
Lloh21:
	adrp	x3, l_.str@PAGE
Lloh22:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	bl	_xsltTransformError
	mov	x1, #0
	str	xzr, [x19, #16]
LBB0_29:
	mov	x0, x1
	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
LBB0_30:
	ldr	x1, [x20, #24]
	mov	x2, #0
	bl	_xmlHashLookup2
	cbz	x0, LBB0_35
LBB0_31:
	ldr	x1, [x20, #16]
	cbz	x1, LBB0_34
; %bb.32:
	ldr	x8, [x1]
Lloh23:
	adrp	x9, _XML_CDATA_SECTION_NODE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _XML_CDATA_SECTION_NODE@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_34
LBB0_33:
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	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	_xsltAddTextString
LBB0_34:
	ldr	w0, [x19, #24]
	mov	x1, x22
	mov	x2, x21
	bl	_xmlNewCDataBlock
	b	LBB0_23
LBB0_35:
	ldr	x8, [x20, #32]
	cbz	x8, LBB0_10
; %bb.36:
	ldr	x9, [x19, #32]
	ldr	x0, [x9]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_XSLT_OUTPUT_XML,8,3            ; @XSLT_OUTPUT_XML
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
	.comm	_XML_CDATA_SECTION_NODE,8,3     ; @XML_CDATA_SECTION_NODE
	.comm	_XML_TEXT_NODE,8,3              ; @XML_TEXT_NODE
	.comm	_xmlStringTextNoenc,8,3         ; @xmlStringTextNoenc
	.comm	_xmlStringText,8,3              ; @xmlStringText
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltCopyTextString: text copy failed\n"

	.comm	_XSLT_TRACE_COPY_TEXT,4,2       ; @XSLT_TRACE_COPY_TEXT
	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
.subsections_via_symbols
