	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltKeyFunction                ## -- Begin function xsltKeyFunction
	.p2align	4, 0x90
_xsltKeyFunction:                       ## @xsltKeyFunction
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	cmpl	$2, %esi
	jne	LBB0_12
## %bb.1:
	callq	_valuePop
	movq	%rax, %rbx
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_xmlXPathStringFunction
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.2:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_14
## %bb.3:
	movq	(%rax), %rax
	movq	_XPATH_STRING@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_14
## %bb.4:
	movq	%r13, %rdi
	callq	_valuePop
	movq	%rax, %r15
	movq	(%rbx), %rax
	movq	_XPATH_NODESET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.5:
	movq	_XPATH_XSLT_TREE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.6:
	movq	16(%r13), %r12
	movq	%r13, %rdi
	callq	_xsltXPathGetTransformContext
	movq	%rax, %rsi
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	cmpq	$0, (%r12)
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	je	LBB0_20
## %bb.7:
	movq	%rsi, %r12
	movq	8(%r15), %rdi
	leaq	-72(%rbp), %rsi
	callq	_xmlSplitQName2
	testq	%rax, %rax
	je	LBB0_21
## %bb.8:
	movq	-72(%rbp), %rsi
	testq	%rsi, %rsi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_23
## %bb.9:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_xmlXPathNsLookup
	movq	%rax, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	16(%r12), %rdx
	movq	-72(%rbp), %r8
	leaq	L_.str.3(%rip), %rcx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_xsltTransformError
LBB0_11:
	movq	-72(%rbp), %rdi
	callq	_xmlFree
	jmp	LBB0_24
LBB0_12:
	callq	_xsltXPathGetTransformContext
	leaq	L_.str(%rip), %rcx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_xsltTransformError
	movq	_XPATH_INVALID_ARITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	%r13, %rdi
	callq	_xsltXPathGetTransformContext
	leaq	L_.str.1(%rip), %rcx
	movq	%rax, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_xsltTransformError
	movq	_XPATH_INVALID_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	%rbx, %rdi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xmlXPathFreeObject             ## TAILCALL
LBB0_15:
	xorl	%edi, %edi
	callq	_xmlXPathNewNodeSet
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	16(%rbx), %rax
	testq	%rax, %rax
	movq	%r15, %r14
	je	LBB0_19
## %bb.16:
	cmpl	$0, (%rax)
	jle	LBB0_19
## %bb.17:
	xorl	%r15d, %r15d
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_xmlXPathObjectCopy
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_valuePush
	movq	16(%rbx), %rax
	movq	8(%rax), %rax
	movq	(%rax,%r15,8), %rdi
	callq	_xmlXPathNewNodeSet
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_valuePush
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_xmlXPathStringFunction
	movq	%r13, %rdi
	movl	$2, %esi
	callq	_xsltKeyFunction
	movq	%r13, %rdi
	callq	_valuePop
	movq	%rax, %rbx
	movq	%r13, %r12
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	16(%r13), %rdi
	movq	16(%rax), %rsi
	callq	_xmlXPathNodeSetMerge
	movq	%rax, 16(%r13)
	movq	%r12, %r13
	movq	%rbx, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	callq	_xmlXPathFreeObject
	incq	%r15
	movq	16(%rbx), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r15
	jl	LBB0_18
LBB0_19:
	movq	%r13, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_valuePush
	movq	%r14, %rdi
	jmp	LBB0_47
LBB0_20:
	movq	16(%rsi), %rdx
	leaq	L_.str.2(%rip), %rcx
	movq	%rsi, %r12
	xorl	%r15d, %r15d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_xsltTransformError
	movq	_XSLT_STATE_STOPPED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	xorl	%r14d, %r14d
	jmp	LBB0_44
LBB0_21:
	movq	8(%r15), %rdi
	callq	_xmlStrdup
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.22:
	callq	_xmlFree
LBB0_23:
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_24:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_valuePush
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_xmlXPathStringFunction
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_37
## %bb.25:
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_37
## %bb.26:
	movq	%r13, %rdi
	callq	_valuePop
	movq	%rax, %rbx
	movq	8(%rax), %rcx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	movq	(%r14), %rax
	movq	_XML_NAMESPACE_DECL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_29
## %bb.27:
	testq	%rax, %rax
	je	LBB0_38
## %bb.28:
	movq	(%rax), %rsi
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rdx
	movq	%rax, %r14
	cmpq	(%rdx), %rsi
	jne	LBB0_38
LBB0_29:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_38
## %bb.30:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_32
## %bb.31:
	cmpq	%rsi, (%rax)
	je	LBB0_41
LBB0_32:
	movq	(%rsi), %rax
	testq	%rax, %rax
	je	LBB0_39
## %bb.33:
	cmpb	$32, (%rax)
	jne	LBB0_39
## %bb.34:
	cmpq	$0, 8(%rsi)
	jne	LBB0_36
## %bb.35:
	movq	%r12, %rdi
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	callq	_xsltNewDocument
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movq	8(%r14), %rsi
	movq	%rax, 8(%rsi)
	testq	%rax, %rax
	je	LBB0_50
LBB0_36:
	movq	8(%rsi), %rax
	jmp	LBB0_40
LBB0_37:
	movq	16(%r12), %rdx
	leaq	L_.str.1(%rip), %rcx
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_xsltTransformError
	movq	_XPATH_INVALID_TYPE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	jmp	LBB0_43
LBB0_38:
	movq	16(%r12), %rdx
	leaq	L_.str.4(%rip), %rcx
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_xsltTransformError
LBB0_43:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
LBB0_44:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%r12)
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_xmlXPathNodeSetMerge
	movq	%rax, %rdi
	callq	_xmlXPathWrapNodeSet
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_valuePush
	testq	%r15, %r15
	je	LBB0_46
## %bb.45:
	movq	%r15, %rdi
	callq	_xmlFree
LBB0_46:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
LBB0_47:
	testq	%rdi, %rdi
	je	LBB0_49
## %bb.48:
	callq	_xmlXPathFreeObject
LBB0_49:
	movq	%rbx, %rdi
	callq	_xmlXPathFreeObject
	jmp	LBB0_13
LBB0_39:
	movq	%r12, %rdi
	movq	%rcx, %r14
	callq	_xsltFindDocument
	movq	%r14, %rcx
LBB0_40:
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_42
LBB0_41:
	movq	%r12, %rdi
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_xsltGetKey
	movq	%rax, %r14
	jmp	LBB0_44
LBB0_42:
	movq	16(%r12), %rdx
	leaq	L_.str.5(%rip), %rcx
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%eax, %eax
	callq	_xsltTransformError
	movq	_XSLT_STATE_STOPPED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	jmp	LBB0_43
LBB0_50:
	xorl	%r14d, %r14d
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key() : expects two arguments\n"

	.comm	_XPATH_INVALID_ARITY,8,3        ## @XPATH_INVALID_ARITY
	.comm	_XPATH_STRING,8,3               ## @XPATH_STRING
L_.str.1:                               ## @.str.1
	.asciz	"key() : invalid arg expecting a string\n"

	.comm	_XPATH_INVALID_TYPE,8,3         ## @XPATH_INVALID_TYPE
	.comm	_XPATH_NODESET,8,3              ## @XPATH_NODESET
	.comm	_XPATH_XSLT_TREE,8,3            ## @XPATH_XSLT_TREE
L_.str.2:                               ## @.str.2
	.asciz	"Internal error in xsltKeyFunction(): The context node is not set on the XPath context.\n"

	.comm	_XSLT_STATE_STOPPED,8,3         ## @XSLT_STATE_STOPPED
L_.str.3:                               ## @.str.3
	.asciz	"key() : prefix %s is not bound\n"

	.comm	_XML_NAMESPACE_DECL,8,3         ## @XML_NAMESPACE_DECL
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
L_.str.4:                               ## @.str.4
	.asciz	"Internal error in xsltKeyFunction(): Couldn't get the doc of the XPath context node.\n"

L_.str.5:                               ## @.str.5
	.asciz	"Internal error in xsltKeyFunction(): Could not get the document info of a context doc.\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltKeyFunction                ; -- Begin function xsltKeyFunction
	.p2align	2
_xsltKeyFunction:                       ; @xsltKeyFunction
	.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
	mov	x19, x0
	cmp	w1, #2
	b.ne	LBB0_10
; %bb.1:
	bl	_valuePop
	mov	x20, x0
	mov	x0, x19
	mov	w1, #1
	bl	_xmlXPathStringFunction
	cbz	x20, LBB0_12
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_12
; %bb.3:
	ldr	x8, [x8]
Lloh0:
	adrp	x26, _XPATH_STRING@GOTPAGE
Lloh1:
	ldr	x26, [x26, _XPATH_STRING@GOTPAGEOFF]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.4:
	mov	x0, x19
	bl	_valuePop
	mov	x21, x0
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _XPATH_NODESET@GOTPAGE
Lloh3:
	ldr	x9, [x9, _XPATH_NODESET@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _XPATH_XSLT_TREE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _XPATH_XSLT_TREE@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.5:
	mov	x0, #0
	bl	_xmlXPathNewNodeSet
	mov	x22, x0
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_9
; %bb.6:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x24, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_xmlXPathObjectCopy
	mov	x1, x0
	mov	x0, x19
	bl	_valuePush
	ldr	x8, [x20, #16]
	ldr	x8, [x8, #8]
	ldr	x0, [x8, x24, lsl #3]
	bl	_xmlXPathNewNodeSet
	mov	x1, x0
	mov	x0, x19
	bl	_valuePush
	mov	x0, x19
	mov	w1, #1
	bl	_xmlXPathStringFunction
	mov	x0, x19
	mov	w1, #2
	bl	_xsltKeyFunction
	mov	x0, x19
	bl	_valuePop
	mov	x23, x0
	ldr	x0, [x22, #16]
	ldr	x1, [x23, #16]
	bl	_xmlXPathNodeSetMerge
	str	x0, [x22, #16]
	mov	x0, x23
	bl	_xmlXPathFreeObject
	add	x24, x24, #1
	ldr	x8, [x20, #16]
	ldrsw	x8, [x8]
	cmp	x24, x8
	b.lt	LBB0_8
LBB0_9:
	mov	x0, x19
	mov	x1, x22
	bl	_valuePush
	b	LBB0_44
LBB0_10:
	bl	_xsltXPathGetTransformContext
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_xsltTransformError
Lloh10:
	adrp	x8, _XPATH_INVALID_ARITY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XPATH_INVALID_ARITY@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_11:
	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_12:
	mov	x0, x19
	bl	_xsltXPathGetTransformContext
Lloh13:
	adrp	x3, l_.str.1@PAGE
Lloh14:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x1, #0
	mov	x2, #0
	bl	_xsltTransformError
Lloh15:
	adrp	x8, _XPATH_INVALID_TYPE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _XPATH_INVALID_TYPE@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [x19]
	mov	x0, x20
	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	_xmlXPathFreeObject
LBB0_13:
	ldr	x25, [x19, #16]
	mov	x0, x19
	bl	_xsltXPathGetTransformContext
	mov	x22, x0
	ldr	x27, [x0]
	ldr	x8, [x25]
	cbz	x8, LBB0_19
; %bb.14:
	ldr	x0, [x21, #8]
	add	x1, sp, #8
	bl	_xmlSplitQName2
	cbz	x0, LBB0_21
; %bb.15:
	mov	x23, x0
	ldr	x1, [sp, #8]
	cbz	x1, LBB0_23
; %bb.16:
	mov	x0, x25
	bl	_xmlXPathNsLookup
	mov	x24, x0
	cbnz	x0, LBB0_18
; %bb.17:
	ldr	x2, [x22, #16]
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh18:
	adrp	x3, l_.str.3@PAGE
Lloh19:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	bl	_xsltTransformError
LBB0_18:
	ldr	x0, [sp, #8]
	bl	_xmlFree
	b	LBB0_24
LBB0_19:
	ldr	x2, [x22, #16]
Lloh20:
	adrp	x3, l_.str.2@PAGE
Lloh21:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	bl	_xsltTransformError
	mov	x23, #0
LBB0_20:
	mov	x1, #0
Lloh22:
	adrp	x8, _XSLT_STATE_STOPPED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _XSLT_STATE_STOPPED@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	str	x8, [x22, #8]
	b	LBB0_42
LBB0_21:
	ldr	x0, [x21, #8]
	bl	_xmlStrdup
	mov	x23, x0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_23
; %bb.22:
	bl	_xmlFree
LBB0_23:
	mov	x24, #0
LBB0_24:
	mov	x0, x19
	mov	x1, x20
	bl	_valuePush
	mov	x0, x19
	mov	w1, #1
	bl	_xmlXPathStringFunction
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_37
; %bb.25:
	ldr	x8, [x8]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_37
; %bb.26:
	mov	x0, x19
	bl	_valuePop
	mov	x20, x0
	ldr	x26, [x0, #8]
	ldr	x25, [x25]
	ldr	x8, [x25]
Lloh25:
	adrp	x9, _XML_NAMESPACE_DECL@GOTPAGE
Lloh26:
	ldr	x9, [x9, _XML_NAMESPACE_DECL@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.27:
	cbz	x8, LBB0_38
; %bb.28:
	ldr	x9, [x8]
Lloh28:
	adrp	x10, _XML_ELEMENT_NODE@GOTPAGE
Lloh29:
	ldr	x10, [x10, _XML_ELEMENT_NODE@GOTPAGEOFF]
Lloh30:
	ldr	x10, [x10]
	mov	x25, x8
	cmp	x9, x10
	b.ne	LBB0_38
LBB0_29:
	ldr	x1, [x25, #8]
	cbz	x1, LBB0_38
; %bb.30:
	ldr	x8, [x22]
	cbz	x8, LBB0_32
; %bb.31:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_41
LBB0_32:
	ldr	x8, [x1]
	cbz	x8, LBB0_39
; %bb.33:
	ldrb	w8, [x8]
	cmp	w8, #32
	b.ne	LBB0_39
; %bb.34:
	ldr	x8, [x1, #8]
	cbnz	x8, LBB0_36
; %bb.35:
	mov	x0, x22
	bl	_xsltNewDocument
	ldr	x1, [x25, #8]
	str	x0, [x1, #8]
	cbz	x0, LBB0_48
LBB0_36:
	ldr	x0, [x1, #8]
	b	LBB0_40
LBB0_37:
	ldr	x2, [x22, #16]
Lloh31:
	adrp	x3, l_.str.1@PAGE
Lloh32:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	bl	_xsltTransformError
	mov	x1, #0
Lloh33:
	adrp	x8, _XPATH_INVALID_TYPE@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XPATH_INVALID_TYPE@GOTPAGEOFF]
Lloh35:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_42
LBB0_38:
	ldr	x2, [x22, #16]
Lloh36:
	adrp	x3, l_.str.4@PAGE
Lloh37:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	bl	_xsltTransformError
	mov	x1, #0
	b	LBB0_42
LBB0_39:
	mov	x0, x22
	bl	_xsltFindDocument
LBB0_40:
	str	x0, [x22]
	cbz	x0, LBB0_47
LBB0_41:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x24
	mov	x3, x26
	bl	_xsltGetKey
	mov	x1, x0
LBB0_42:
	str	x27, [x22]
	mov	x0, #0
	bl	_xmlXPathNodeSetMerge
	bl	_xmlXPathWrapNodeSet
	mov	x1, x0
	mov	x0, x19
	bl	_valuePush
	cbz	x23, LBB0_44
; %bb.43:
	mov	x0, x23
	bl	_xmlFree
LBB0_44:
	cbz	x21, LBB0_46
; %bb.45:
	mov	x0, x21
	bl	_xmlXPathFreeObject
LBB0_46:
	mov	x0, x20
	bl	_xmlXPathFreeObject
	b	LBB0_11
LBB0_47:
	ldr	x2, [x22, #16]
Lloh38:
	adrp	x3, l_.str.5@PAGE
Lloh39:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	bl	_xsltTransformError
	b	LBB0_20
LBB0_48:
	mov	x1, #0
	b	LBB0_42
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key() : expects two arguments\n"

	.comm	_XPATH_INVALID_ARITY,8,3        ; @XPATH_INVALID_ARITY
	.comm	_XPATH_STRING,8,3               ; @XPATH_STRING
l_.str.1:                               ; @.str.1
	.asciz	"key() : invalid arg expecting a string\n"

	.comm	_XPATH_INVALID_TYPE,8,3         ; @XPATH_INVALID_TYPE
	.comm	_XPATH_NODESET,8,3              ; @XPATH_NODESET
	.comm	_XPATH_XSLT_TREE,8,3            ; @XPATH_XSLT_TREE
l_.str.2:                               ; @.str.2
	.asciz	"Internal error in xsltKeyFunction(): The context node is not set on the XPath context.\n"

	.comm	_XSLT_STATE_STOPPED,8,3         ; @XSLT_STATE_STOPPED
l_.str.3:                               ; @.str.3
	.asciz	"key() : prefix %s is not bound\n"

	.comm	_XML_NAMESPACE_DECL,8,3         ; @XML_NAMESPACE_DECL
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
l_.str.4:                               ; @.str.4
	.asciz	"Internal error in xsltKeyFunction(): Couldn't get the doc of the XPath context node.\n"

l_.str.5:                               ; @.str.5
	.asciz	"Internal error in xsltKeyFunction(): Could not get the document info of a context doc.\n"

.subsections_via_symbols
