	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltElementComp
_xsltElementComp:                       ## @xsltElementComp
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_18
## %bb.2:
	movq	(%rbx), %rax
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_18
## %bb.3:
	movq	%rdi, %r14
	movq	_XSLT_FUNC_ELEMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_xsltNewStylePreComp
	testq	%rax, %rax
	je	LBB0_18
## %bb.4:
	movq	%rax, %r15
	movq	%rax, 16(%rbx)
	movq	%rbx, 48(%rax)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	movq	%rax, %r8
	callq	_xsltEvalStaticAttrValueTemplate
	movq	%rax, 24(%r15)
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.6:
	leaq	4(%r15), %r8
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_xsltEvalStaticAttrValueTemplate
	movq	%rax, 40(%r15)
	movq	24(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.7:
	xorl	%esi, %esi
	callq	_xmlValidateQName
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	24(%r15), %r8
	leaq	L_.str.3(%rip), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	(%r14)
LBB0_17:
	movq	%r15, %r8
	addq	$8, %r8
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_xsltEvalStaticAttrValueTemplate
	movq	%rax, 16(%r15)
	jmp	LBB0_18
LBB0_5:
	leaq	L_.str.1(%rip), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	(%r14)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	$0, -32(%rbp)
	movl	4(%r14), %edi
	movq	24(%r15), %rsi
	leaq	-32(%rbp), %rdx
	callq	_xsltSplitQName
	cmpl	$0, 4(%r15)
	jne	LBB0_14
## %bb.10:
	movl	8(%rbx), %edi
	movq	-32(%rbp), %rdx
	movq	%rbx, %rsi
	callq	_xmlSearchNs
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movl	4(%r14), %edi
	movl	(%rax), %esi
	movl	$-1, %edx
	callq	_xmlDictLookup
	movq	%rax, 40(%r15)
	movl	$1, 4(%r15)
	jmp	LBB0_14
LBB0_12:
	cmpq	$0, -32(%rbp)
	je	LBB0_17
## %bb.13:
	movq	24(%r15), %r8
	leaq	L_.str.4(%rip), %rcx
	xorl	%edi, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	(%r14)
LBB0_14:
	movq	-32(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.15:
	leaq	L_.str.5(%rip), %rsi
	movl	$3, %edx
	callq	_xmlStrncasecmp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	$0, (%r15)
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
	.comm	_XSLT_FUNC_ELEMENT,4,2          ## @XSLT_FUNC_ELEMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name"

L_.str.1:                               ## @.str.1
	.asciz	"xsl:element: The attribute 'name' is missing.\n"

L_.str.2:                               ## @.str.2
	.asciz	"namespace"

L_.str.3:                               ## @.str.3
	.asciz	"xsl:element: The value '%s' of the attribute 'name' is not a valid QName.\n"

L_.str.4:                               ## @.str.4
	.asciz	"xsl:element: The prefixed QName '%s' has no namespace binding in scope in the stylesheet; this is an error, since the namespace was not specified by the instruction itself.\n"

L_.str.5:                               ## @.str.5
	.asciz	"xml"

L_.str.6:                               ## @.str.6
	.asciz	"use-attribute-sets"

	.no_dead_strip	_xsltElementComp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltElementComp
_xsltElementComp:                       ; @xsltElementComp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_10
; %bb.2:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _XML_ELEMENT_NODE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XML_ELEMENT_NODE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
; %bb.3:
	mov	x19, x0
Lloh3:
	adrp	x8, _XSLT_FUNC_ELEMENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XSLT_FUNC_ELEMENT@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_xsltNewStylePreComp
	cbz	x0, LBB0_10
; %bb.4:
	mov	x21, x0
	str	x0, [x20, #16]
	str	x20, [x0, #48]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	mov	x4, x21
	bl	_xsltEvalStaticAttrValueTemplate
	str	x0, [x21, #24]
	ldr	w8, [x21]
	cbz	w8, LBB0_9
; %bb.5:
	add	x4, x21, #4
Lloh8:
	adrp	x2, l_.str.2@PAGE
Lloh9:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_xsltEvalStaticAttrValueTemplate
	str	x0, [x21, #40]
	ldr	x0, [x21, #24]
	cbz	x0, LBB0_8
; %bb.6:
	mov	w1, #0
	bl	_xmlValidateQName
	cbz	x0, LBB0_11
; %bb.7:
	ldr	x8, [x21, #24]
	str	x8, [sp]
Lloh10:
	adrp	x3, l_.str.3@PAGE
Lloh11:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	mov	x2, x20
	bl	_xsltTransformError
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_8:
	add	x4, x21, #8
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_xsltEvalStaticAttrValueTemplate
	str	x0, [x21, #16]
	b	LBB0_10
LBB0_9:
Lloh14:
	adrp	x3, l_.str.1@PAGE
Lloh15:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	mov	x2, x20
	bl	_xsltTransformError
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_10:
	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
	add	sp, sp, #64
	ret
LBB0_11:
	str	xzr, [sp, #8]
	ldr	w0, [x19, #4]
	ldr	x1, [x21, #24]
	add	x2, sp, #8
	bl	_xsltSplitQName
	ldr	w8, [x21, #4]
	cbnz	w8, LBB0_16
; %bb.12:
	ldr	w0, [x20, #8]
	ldr	x2, [sp, #8]
	mov	x1, x20
	bl	_xmlSearchNs
	cbz	x0, LBB0_14
; %bb.13:
	ldr	w8, [x19, #4]
	ldr	w1, [x0]
	mov	x0, x8
	mov	w2, #-1
	bl	_xmlDictLookup
	str	x0, [x21, #40]
	mov	w8, #1
	str	w8, [x21, #4]
	b	LBB0_16
LBB0_14:
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_8
; %bb.15:
	ldr	x8, [x21, #24]
	str	x8, [sp]
Lloh16:
	adrp	x3, l_.str.4@PAGE
Lloh17:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, #0
	mov	x1, x19
	mov	x2, x20
	bl	_xsltTransformError
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_16:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.17:
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #3
	bl	_xmlStrncasecmp
	cbnz	w0, LBB0_8
; %bb.18:
	str	wzr, [x21]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
	.comm	_XSLT_FUNC_ELEMENT,4,2          ; @XSLT_FUNC_ELEMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name"

l_.str.1:                               ; @.str.1
	.asciz	"xsl:element: The attribute 'name' is missing.\n"

l_.str.2:                               ; @.str.2
	.asciz	"namespace"

l_.str.3:                               ; @.str.3
	.asciz	"xsl:element: The value '%s' of the attribute 'name' is not a valid QName.\n"

l_.str.4:                               ; @.str.4
	.asciz	"xsl:element: The prefixed QName '%s' has no namespace binding in scope in the stylesheet; this is an error, since the namespace was not specified by the instruction itself.\n"

l_.str.5:                               ; @.str.5
	.asciz	"xml"

l_.str.6:                               ; @.str.6
	.asciz	"use-attribute-sets"

	.no_dead_strip	_xsltElementComp
.subsections_via_symbols
