	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltCopyTree
_xsltCopyTree:                          ## @xsltCopyTree
	.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
	subq	$40, %rsp
	.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_4
## %bb.1:
	movq	%rcx, %r12
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdx), %eax
	addl	$-128, %eax
	cmpl	$20, %eax
	ja	LBB0_6
## %bb.2:
	xorl	%r13d, %r13d
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_3:
	movq	_xmlStringTextNoenc@GOTPCREL(%rip), %rax
	movl	4(%rbx), %esi
	movl	72(%rbx), %edx
	xorl	%ecx, %ecx
	cmpl	(%rax), %esi
	sete	%cl
	movq	%r15, %rdi
	movq	%r12, %rsi
	jmp	LBB0_11
LBB0_6:
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	%r9d, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	callq	_XSLT_IS_RES_TREE_FRAG
	testq	%rax, %rax
	je	LBB0_13
## %bb.7:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.8:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsltCopyTreeList               ## TAILCALL
LBB0_4:
	xorl	%r13d, %r13d
LBB0_5:
	movq	%r13, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	_xsltShallowCopyNsNode
	movslq	%eax, %r13
	jmp	LBB0_5
LBB0_10:
	movl	72(%rbx), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
LBB0_11:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsltCopyTextString             ## TAILCALL
LBB0_12:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%ebx, %ecx
	callq	_xsltShallowCopyAttr
	movslq	%eax, %r13
	jmp	LBB0_5
LBB0_13:
	movl	40(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_xmlDocCopyNode
	testq	%rax, %rax
	je	LBB0_22
## %bb.14:
	movl	(%r15), %ecx
	movl	%ecx, 40(%rax)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_xsltAddChild
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:
	movq	%rax, %r10
	movq	64(%r12), %r13
	cmpq	%rax, %r13
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	jne	LBB0_5
## %bb.16:
	movq	$0, 56(%r10)
	cmpl	$138, (%rbx)
	jne	LBB0_44
## %bb.17:
	testl	%r9d, %r9d
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_23
LBB0_18:
	movq	32(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_35
## %bb.19:
	testl	%r8d, %r8d
	je	LBB0_33
## %bb.20:
	movq	%r15, %rdi
	movq	%r10, %rsi
	callq	_xsltCopyNamespaceList
	jmp	LBB0_34
LBB0_22:
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rcx
	xorl	%r13d, %r13d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_xsltTransformError
	jmp	LBB0_5
LBB0_23:
	movq	48(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.24:
	movl	(%rax), %eax
	orl	$8, %eax
	cmpl	$142, %eax
	je	LBB0_18
## %bb.25:
	movl	40(%rbx), %edi
	movq	%rbx, %rsi
	callq	_xmlGetNsList
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_35
## %bb.26:
	movq	%rax, %r13
	movq	(%rax), %rax
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_28
LBB0_27:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	8(%r13), %rax
	addq	$8, %r13
	testq	%rax, %rax
	je	LBB0_47
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	40(%r12), %edi
	movq	(%rax), %rdx
	movq	%r12, %rsi
	callq	_xmlSearchNs
	testq	%rax, %rax
	je	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	8(%rax), %rdi
	movq	(%r13), %rcx
	movq	8(%rcx), %rsi
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_xmlStrEqual
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, %eax
	jne	LBB0_31
LBB0_30:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	(%r13), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_xmlNewNs
	movq	%rax, %rcx
LBB0_31:                                ##   in Loop: Header=BB0_28 Depth=1
	movq	24(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_27
## %bb.32:                              ##   in Loop: Header=BB0_28 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rcx, 24(%rax)
	jmp	LBB0_27
LBB0_33:
	movq	%r10, %rdi
	movq	%rdx, %rsi
	callq	_xsltCopyNamespaceListInternal
LBB0_34:
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
LBB0_35:
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_38
## %bb.36:
	cmpq	$0, 24(%r10)
	jne	LBB0_41
## %bb.37:
	movq	(%rax), %rcx
	movq	8(%rax), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r10, %r8
	callq	_xsltGetSpecialNamespace
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movq	%rax, 24(%r10)
	jmp	LBB0_41
LBB0_38:
	cmpl	$138, (%r12)
	jne	LBB0_41
## %bb.39:
	cmpq	$0, 24(%r12)
	je	LBB0_41
## %bb.40:
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r10, %r8
	callq	_xsltGetSpecialNamespace
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
LBB0_41:
	movq	16(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_43
## %bb.42:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r10, %rdx
	callq	_xsltCopyAttrListNoOverwrite
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
LBB0_43:
	testl	%r9d, %r9d
	movl	$1, %eax
	cmovel	%eax, %r9d
LBB0_44:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_46
## %bb.45:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%r10, %rcx
	movq	%r10, %r13
	callq	_xsltCopyTreeList
	jmp	LBB0_5
LBB0_46:
	movq	%r10, %r13
	jmp	LBB0_5
LBB0_47:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_xmlFree
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movq	-56(%rbp), %r10                 ## 8-byte Reload
	jmp	LBB0_35
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_xmlStringTextNoenc,4,2         ## @xmlStringTextNoenc
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltCopyTree: Copying of '%s' failed.\n"

	.no_dead_strip	_xsltCopyTree
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltCopyTree
_xsltCopyTree:                          ; @xsltCopyTree
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	cbz	x2, LBB0_26
; %bb.1:
	mov	x22, x5
	mov	x23, x4
	mov	x24, x3
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x2]
	sub	w8, w8, #128
	cmp	w8, #20
	b.hi	LBB0_4
; %bb.2:
	mov	x0, #0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	ldr	w8, [x21, #4]
Lloh2:
	adrp	x9, _xmlStringTextNoenc@GOTPAGE
Lloh3:
	ldr	x9, [x9, _xmlStringTextNoenc@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w3, eq
	ldr	w2, [x21, #72]
	mov	x0, x19
	mov	x1, x24
	b	LBB0_9
LBB0_4:
	mov	x0, x21
	bl	_XSLT_IS_RES_TREE_FRAG
	cbz	x0, LBB0_12
; %bb.5:
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_26
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	mov	x3, x24
	mov	w4, #0
	mov	w5, #0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_xsltCopyTreeList
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	mov	x3, x21
	bl	_xsltShallowCopyNsNode
	b	LBB0_11
LBB0_8:
	ldr	w2, [x21, #72]
	mov	x0, x19
	mov	x1, x24
	mov	w3, #0
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_xsltCopyTextString
LBB0_10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x24
	mov	x3, x21
	bl	_xsltShallowCopyAttr
LBB0_11:
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	b	LBB0_27
LBB0_12:
	ldr	w1, [x24, #40]
	mov	x0, x21
	mov	w2, #0
	bl	_xmlDocCopyNode
	mov	x1, x0
	cbz	x0, LBB0_23
; %bb.13:
	ldr	w8, [x19]
	str	w8, [x1, #40]
	mov	x0, x24
	bl	_xsltAddChild
	cbz	x0, LBB0_24
; %bb.14:
	mov	x25, x0
	ldr	x0, [x24, #64]
	cmp	x0, x25
	b.ne	LBB0_27
; %bb.15:
	str	xzr, [x25, #56]
	ldr	w8, [x21]
	cmp	w8, #138
	b.ne	LBB0_45
; %bb.16:
	cbz	w22, LBB0_28
LBB0_17:
	ldr	x2, [x21, #32]
	cbz	x2, LBB0_39
; %bb.18:
	cbz	w23, LBB0_38
; %bb.19:
	mov	x0, x19
	mov	x1, x25
	bl	_xsltCopyNamespaceList
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_40
LBB0_20:
	ldr	w8, [x24]
	cmp	w8, #138
	b.ne	LBB0_42
; %bb.21:
	ldr	x8, [x24, #24]
	cbz	x8, LBB0_42
; %bb.22:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	mov	x3, #0
	mov	x4, x25
	bl	_xsltGetSpecialNamespace
	b	LBB0_42
LBB0_23:
	ldr	w4, [x21, #4]
Lloh5:
	adrp	x3, l_.str@PAGE
Lloh6:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	b	LBB0_25
LBB0_24:
	ldr	w4, [x21, #4]
Lloh7:
	adrp	x3, l_.str@PAGE
Lloh8:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, #0
LBB0_25:
	mov	x2, x20
	bl	_xsltTransformError
LBB0_26:
	mov	x0, #0
LBB0_27:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_28:
	ldr	x8, [x21, #48]
	cbz	x8, LBB0_17
; %bb.29:
	ldr	w8, [x8]
	orr	w8, w8, #0x8
	cmp	w8, #142
	b.eq	LBB0_17
; %bb.30:
	ldr	w0, [x21, #40]
	mov	x1, x21
	bl	_xmlGetNsList
	cbz	x0, LBB0_39
; %bb.31:
	ldr	x8, [x0]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x27, x0
	b	LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x27, #8]!
	cbz	x8, LBB0_48
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, #40]
	ldr	x2, [x8]
	mov	x1, x24
	bl	_xmlSearchNs
	cbz	x0, LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=1
	mov	x26, x0
	ldr	x0, [x0, #8]
	ldr	x8, [x27]
	ldr	x1, [x8, #8]
	bl	_xmlStrEqual
	cbnz	w0, LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x27]
	ldp	x2, x1, [x8]
	mov	x0, x25
	bl	_xmlNewNs
	mov	x26, x0
LBB0_36:                                ;   in Loop: Header=BB0_33 Depth=1
	ldr	x8, [x21, #24]
	ldr	x9, [x27]
	cmp	x8, x9
	b.ne	LBB0_32
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=1
	str	x26, [x25, #24]
	b	LBB0_32
LBB0_38:
	mov	x0, x25
	mov	x1, x2
	bl	_xsltCopyNamespaceListInternal
LBB0_39:
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_20
LBB0_40:
	ldr	x9, [x25, #24]
	cbnz	x9, LBB0_42
; %bb.41:
	ldp	x3, x2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x4, x25
	bl	_xsltGetSpecialNamespace
	str	x0, [x25, #24]
LBB0_42:
	ldr	x3, [x21, #16]
	cbz	x3, LBB0_44
; %bb.43:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x25
	bl	_xsltCopyAttrListNoOverwrite
LBB0_44:
	cmp	w22, #0
	csinc	w22, w22, wzr, ne
LBB0_45:
	ldr	x2, [x21, #8]
	cbz	x2, LBB0_47
; %bb.46:
	mov	x0, x19
	mov	x1, x20
	mov	x3, x25
	mov	x4, x23
	mov	x5, x22
	bl	_xsltCopyTreeList
LBB0_47:
	mov	x0, x25
	b	LBB0_27
LBB0_48:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_xmlFree
	ldr	x8, [x21, #24]
	cbnz	x8, LBB0_40
	b	LBB0_20
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_27-LBB0_3)>>2
                                        ; -- End function
	.comm	_xmlStringTextNoenc,4,2         ; @xmlStringTextNoenc
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltCopyTree: Copying of '%s' failed.\n"

	.no_dead_strip	_xsltCopyTree
.subsections_via_symbols
