	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltShallowCopyElem
_xsltShallowCopyElem:                   ## @xsltShallowCopyElem
	.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
	xorl	%r14d, %r14d
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.1:
	movl	%ecx, %r13d
	movq	%rsi, %r12
	movq	(%rsi), %rax
	movq	_XML_DTD_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_20
## %bb.2:
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movq	_XML_TEXT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.3:
	movq	_XML_CDATA_SECTION_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_21
## %bb.4:
	movl	32(%rbx), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_xmlDocCopyNode
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	movl	(%r15), %ecx
	movl	%ecx, 32(%rax)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_xsltAddChild
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.8:
	movq	24(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.9:
	testl	%r13d, %r13d
	je	LBB0_15
## %bb.10:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_xsltCopyNamespaceList
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rcx
LBB0_11:
	movq	16(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.12:
	testl	%r13d, %r13d
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %rcx
	callq	_xsltGetNamespace
	movq	%rax, 16(%r14)
	jmp	LBB0_20
LBB0_21:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xsltCopyText                   ## TAILCALL
LBB0_19:
	movl	8(%r12), %r8d
	leaq	L_.str.1(%rip), %rcx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	jmp	LBB0_20
LBB0_6:
	leaq	L_.str(%rip), %rcx
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	jmp	LBB0_20
LBB0_15:
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %r13
	callq	_xsltCopyNamespaceListInternal
	movq	%r13, %rcx
	movq	16(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
LBB0_14:
	movq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%r14, %r8
	callq	_xsltGetSpecialNamespace
	movq	%rax, 16(%r14)
	jmp	LBB0_20
LBB0_16:
	movq	(%rbx), %rax
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.17:
	cmpq	$0, 16(%rbx)
	je	LBB0_20
## %bb.18:
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_xsltGetSpecialNamespace
LBB0_20:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_DTD_NODE,8,3               ## @XML_DTD_NODE
	.comm	_XML_TEXT_NODE,8,3              ## @XML_TEXT_NODE
	.comm	_XML_CDATA_SECTION_NODE,8,3     ## @XML_CDATA_SECTION_NODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltShallowCopyElem: copy failed\n"

	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
L_.str.1:                               ## @.str.1
	.asciz	"xsltShallowCopyElem: copy %s failed\n"

	.no_dead_strip	_xsltShallowCopyElem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltShallowCopyElem
_xsltShallowCopyElem:                   ; @xsltShallowCopyElem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, #0
	cbz	x2, LBB0_20
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _XML_DTD_NODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XML_DTD_NODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_20
; %bb.2:
	mov	x22, x2
	mov	x20, x0
Lloh3:
	adrp	x9, _XML_TEXT_NODE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XML_TEXT_NODE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _XML_CDATA_SECTION_NODE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _XML_CDATA_SECTION_NODE@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	mov	w3, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_xsltCopyText
LBB0_4:
	mov	x23, x3
	ldr	w1, [x22, #32]
	mov	x0, x19
	mov	w2, #0
	bl	_xmlDocCopyNode
	mov	x1, x0
	cbz	x0, LBB0_13
; %bb.5:
	ldr	w8, [x20]
	str	w8, [x1, #32]
	mov	x0, x22
	bl	_xsltAddChild
	mov	x21, x0
	cbz	x0, LBB0_14
; %bb.6:
	ldr	x8, [x19]
Lloh9:
	adrp	x24, _XML_ELEMENT_NODE@GOTPAGE
Lloh10:
	ldr	x24, [x24, _XML_ELEMENT_NODE@GOTPAGEOFF]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.7:
	ldr	x2, [x19, #24]
	cbz	x2, LBB0_10
; %bb.8:
	cbz	w23, LBB0_15
; %bb.9:
	mov	x0, x20
	mov	x1, x21
	bl	_xsltCopyNamespaceList
LBB0_10:
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_17
; %bb.11:
	cbz	w23, LBB0_16
; %bb.12:
	mov	x0, x20
	mov	x1, x19
	mov	x3, x21
	bl	_xsltGetNamespace
	str	x0, [x21, #16]
	b	LBB0_20
LBB0_13:
	ldr	w8, [x19, #8]
	str	x8, [sp]
Lloh11:
	adrp	x3, l_.str.1@PAGE
Lloh12:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_xsltTransformError
	mov	x21, #0
	b	LBB0_20
LBB0_14:
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, #0
	mov	x2, x19
	bl	_xsltTransformError
	b	LBB0_20
LBB0_15:
	mov	x0, x21
	mov	x1, x2
	bl	_xsltCopyNamespaceListInternal
	ldr	x2, [x19, #16]
	cbz	x2, LBB0_17
LBB0_16:
	ldp	x3, x8, [x2]
	mov	x0, x20
	mov	x1, x19
	mov	x2, x8
	mov	x4, x21
	bl	_xsltGetSpecialNamespace
	str	x0, [x21, #16]
	b	LBB0_20
LBB0_17:
	ldr	x8, [x22]
	ldr	x9, [x24]
	cmp	x8, x9
	b.ne	LBB0_20
; %bb.18:
	ldr	x8, [x22, #16]
	cbz	x8, LBB0_20
; %bb.19:
	mov	x0, x20
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	mov	x4, x21
	bl	_xsltGetSpecialNamespace
LBB0_20:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_DTD_NODE,8,3               ; @XML_DTD_NODE
	.comm	_XML_TEXT_NODE,8,3              ; @XML_TEXT_NODE
	.comm	_XML_CDATA_SECTION_NODE,8,3     ; @XML_CDATA_SECTION_NODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltShallowCopyElem: copy failed\n"

	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
l_.str.1:                               ; @.str.1
	.asciz	"xsltShallowCopyElem: copy %s failed\n"

	.no_dead_strip	_xsltShallowCopyElem
.subsections_via_symbols
