	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltAddKey                     ## -- Begin function xsltAddKey
	.p2align	4, 0x90
_xsltAddKey:                            ## @xsltAddKey
	.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
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_41
## %bb.2:
	movq	%rcx, %r12
	testq	%rcx, %rcx
	je	LBB0_41
## %bb.3:
	testq	%r8, %r8
	je	LBB0_41
## %bb.4:
	movq	%r9, %r13
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%r8, %rbx
	callq	_xsltNewKeyDef
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_xmlStrdup
	movq	%rax, (%r14)
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_xmlStrdup
	movq	%rax, 56(%r14)
	movq	%r13, 48(%r14)
	movl	(%r13), %edi
	movq	%r13, %rsi
	callq	_xmlGetNsList
	movq	%rax, 40(%r14)
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movl	$-1, %ecx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ecx
	cmpq	$0, (%rax)
	leaq	8(%rax), %rax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	xorl	%ecx, %ecx
LBB0_8:
	movl	%ecx, 8(%r14)
	cmpb	$0, (%r12)
	je	LBB0_38
## %bb.9:
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%r12, %r15
	xorl	%eax, %eax
LBB0_10:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_11 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movslq	%r13d, %rbx
	leal	-1(%rbx), %r14d
	addq	%r12, %rbx
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rbx), %edi
	callq	_IS_BLANK_CH
	incl	%r14d
	incq	%rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=1
	movl	%r14d, %ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_skipPredicate
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_35
LBB0_14:                                ##   Parent Loop BB0_10 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	%ebx, %r15
	movzbl	(%r12,%r15), %eax
	cmpb	$91, %al
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	testb	%al, %al
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpb	$124, %al
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=2
	incl	%ebx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_10 Depth=1
	cmpl	%r14d, %ebx
	je	LBB0_43
## %bb.19:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	cmpb	$47, (%r14)
	jne	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_10 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	callq	_xmlStrcat
	testq	%rax, %rax
	je	LBB0_42
LBB0_22:                                ##   in Loop: Header=BB0_10 Depth=1
	movl	%ebx, %edx
	subl	%r13d, %edx
	movq	%rax, %rdi
	movq	%r14, %rsi
	callq	_xmlStrncat
	testq	%rax, %rax
	je	LBB0_42
## %bb.23:                              ##   in Loop: Header=BB0_10 Depth=1
	movb	(%r12,%r15), %cl
	cmpb	$124, %cl
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_10 Depth=1
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_xmlStrcat
	movslq	%ebx, %r15
	movb	1(%r12,%r15), %cl
	incq	%r15
	movl	%r15d, %ebx
LBB0_25:                                ##   in Loop: Header=BB0_10 Depth=1
	addq	%r12, %r15
	movl	%ebx, %r13d
	testb	%cl, %cl
	jne	LBB0_10
## %bb.26:
	testq	%rax, %rax
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_38
## %bb.27:
	movq	%r15, %rdi
	movq	%rax, %r12
	movq	%rax, %rsi
	callq	_xsltXPathCompile
	movq	%rax, 32(%r14)
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:
	leaq	L_.str.4(%rip), %rcx
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %r8
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	8(%r15)
LBB0_29:
	movq	%r15, %rdi
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_xsltXPathCompile
	movq	%rax, 24(%r14)
	testq	%rax, %rax
	jne	LBB0_31
## %bb.30:
	leaq	L_.str.5(%rip), %rcx
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	8(%r15)
LBB0_31:
	movq	(%r15), %rax
	movq	%r12, %rdi
	testq	%rax, %rax
	je	LBB0_34
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	movq	%rax, %r15
	movq	16(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_32
## %bb.33:
	addq	$16, %r15
LBB0_34:
	movq	%r14, (%r15)
	movq	$0, 16(%r14)
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	jne	LBB0_37
	jmp	LBB0_39
LBB0_35:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	(%r14), %r8
	leaq	L_.str(%rip), %rcx
	xorl	%edi, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	8(%rbx)
LBB0_36:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_39
LBB0_37:
	callq	_xmlFree
	jmp	LBB0_39
LBB0_38:
	leaq	L_.str.1(%rip), %rcx
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	8(%r15)
LBB0_39:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	je	LBB0_41
## %bb.40:
	movq	%r14, %rdi
	callq	_xsltFreeKeyDef
LBB0_41:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	8(%rax)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_39
LBB0_43:
	leaq	L_.str.1(%rip), %rcx
	xorl	%edi, %edi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_xsltTransformError
	incl	8(%rbx)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_36
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsl:key : 'match' pattern is malformed: %s"

L_.str.1:                               ## @.str.1
	.asciz	"xsl:key : 'match' pattern is empty\n"

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

L_.str.3:                               ## @.str.3
	.asciz	"|"

L_.str.4:                               ## @.str.4
	.asciz	"xsl:key : 'match' pattern compilation failed '%s'\n"

L_.str.5:                               ## @.str.5
	.asciz	"xsl:key : 'use' expression compilation failed '%s'\n"

	.comm	_XML_XPATH_NOVAR,4,2            ## @XML_XPATH_NOVAR
	.comm	_xsltGenericDebugContext,4,2    ## @xsltGenericDebugContext
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltAddKey                     ; -- Begin function xsltAddKey
	.p2align	2
_xsltAddKey:                            ; @xsltAddKey
	.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	x20, x0
	mov	w0, #-1
	cbz	x20, LBB0_41
; %bb.1:
	cbz	x1, LBB0_41
; %bb.2:
	mov	x24, x3
	cbz	x3, LBB0_41
; %bb.3:
	mov	x22, x4
	cbz	x4, LBB0_41
; %bb.4:
	mov	x21, x5
	mov	x0, x1
	mov	x1, x2
	bl	_xsltNewKeyDef
	mov	x19, x0
	mov	x0, x24
	bl	_xmlStrdup
	str	x0, [x19]
	mov	x0, x22
	bl	_xmlStrdup
	stp	x21, x0, [x19, #48]
	ldr	w0, [x21]
	mov	x1, x21
	bl	_xmlGetNsList
	str	x0, [x19, #40]
	cbz	x0, LBB0_7
; %bb.5:
	mov	w8, #-1
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x0], #8
	add	w8, w8, #1
	cbnz	x9, LBB0_6
	b	LBB0_8
LBB0_7:
	mov	w8, #0
LBB0_8:
	str	w8, [x19, #8]
	ldrb	w8, [x24]
	cbz	w8, LBB0_42
; %bb.9:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	mov	w27, #0
	mov	x23, #0
	mov	x28, x24
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_14 Depth 2
	mov	x8, x27
	sxtw	x25, w8
	sub	w22, w27, #1
	mov	x26, x25
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w0, [x24, x26]
	bl	_IS_BLANK_CH
	add	x26, x26, #1
	add	w22, w22, #1
	cbnz	x0, LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x27, x22
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=2
	mov	x0, x24
	mov	x1, x27
	bl	_skipPredicate
	mov	x27, x0
	cmp	w0, #0
	b.le	LBB0_34
LBB0_14:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtw	x26, w27
	ldrb	w8, [x24, x26]
	cmp	w8, #91
	b.eq	LBB0_13
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	cbz	w8, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	cmp	w8, #124
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_14 Depth=2
	add	w27, w27, #1
	b	LBB0_14
LBB0_18:                                ;   in Loop: Header=BB0_10 Depth=1
	cmp	w27, w22
	b.eq	LBB0_44
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x28]
	cmp	w8, #47
	b.eq	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
Lloh0:
	adrp	x1, l_.str.2@PAGE
Lloh1:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_xmlStrcat
	mov	x23, x0
	cbz	x0, LBB0_43
LBB0_21:                                ;   in Loop: Header=BB0_10 Depth=1
	sub	w2, w27, w25
	mov	x0, x23
	mov	x1, x28
	bl	_xmlStrncat
	cbz	x0, LBB0_43
; %bb.22:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, x0
	ldrb	w8, [x24, x26]
	cmp	w8, #124
	b.ne	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x23
Lloh2:
	adrp	x1, l_.str.3@PAGE
Lloh3:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_xmlStrcat
	mov	x23, x0
	add	x26, x26, #1
	ldrb	w8, [x24, x26]
	mov	x27, x26
LBB0_24:                                ;   in Loop: Header=BB0_10 Depth=1
	add	x28, x24, x26
	cbnz	w8, LBB0_10
; %bb.25:
	ldr	x22, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x23, LBB0_42
; %bb.26:
	mov	x0, x20
	mov	x1, x23
	bl	_xsltXPathCompile
	str	x0, [x19, #32]
	cbnz	x0, LBB0_28
; %bb.27:
	str	x23, [sp]
Lloh4:
	adrp	x3, l_.str.4@PAGE
Lloh5:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_xsltTransformError
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_28:
	mov	x0, x20
	mov	x1, x22
	bl	_xsltXPathCompile
	str	x0, [x19, #24]
	cbnz	x0, LBB0_30
; %bb.29:
	str	x22, [sp]
Lloh6:
	adrp	x3, l_.str.5@PAGE
Lloh7:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x1, x20
	mov	x2, x21
	bl	_xsltTransformError
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_30:
	ldr	x8, [x20]
	cbz	x8, LBB0_33
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x9, x8
	ldr	x8, [x8, #16]
	cbnz	x8, LBB0_31
; %bb.32:
	add	x20, x9, #16
LBB0_33:
	str	x19, [x20]
	str	xzr, [x19, #16]
	mov	x19, #0
	b	LBB0_36
LBB0_34:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh8:
	adrp	x3, l_.str@PAGE
Lloh9:
	add	x3, x3, l_.str@PAGEOFF
LBB0_35:
	mov	x0, #0
	mov	x1, x20
	mov	x2, x21
	bl	_xsltTransformError
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_36:
	cbz	x23, LBB0_38
; %bb.37:
	mov	x0, x23
	bl	_xmlFree
LBB0_38:
	cbz	x19, LBB0_40
LBB0_39:
	mov	x0, x19
	bl	_xsltFreeKeyDef
LBB0_40:
	mov	w0, #0
LBB0_41:
	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_42:
Lloh10:
	adrp	x3, l_.str.1@PAGE
Lloh11:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, #0
	mov	x1, x20
	mov	x2, x21
	bl	_xsltTransformError
LBB0_43:
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	cbnz	x19, LBB0_39
	b	LBB0_40
LBB0_44:
Lloh12:
	adrp	x3, l_.str.1@PAGE
Lloh13:
	add	x3, x3, l_.str.1@PAGEOFF
	b	LBB0_35
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsl:key : 'match' pattern is malformed: %s"

l_.str.1:                               ; @.str.1
	.asciz	"xsl:key : 'match' pattern is empty\n"

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

l_.str.3:                               ; @.str.3
	.asciz	"|"

l_.str.4:                               ; @.str.4
	.asciz	"xsl:key : 'match' pattern compilation failed '%s'\n"

l_.str.5:                               ; @.str.5
	.asciz	"xsl:key : 'use' expression compilation failed '%s'\n"

	.comm	_XML_XPATH_NOVAR,4,2            ; @XML_XPATH_NOVAR
	.comm	_xsltGenericDebugContext,4,2    ; @xsltGenericDebugContext
.subsections_via_symbols
