	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltAttrTemplateValueProcessNode ## -- Begin function xsltAttrTemplateValueProcessNode
	.p2align	4, 0x90
_xsltAttrTemplateValueProcessNode:      ## @xsltAttrTemplateValueProcessNode
	.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
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	movq	(%rsi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	xorl	%edx, %edx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	movq	%r15, %r14
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rcx
	callq	_xsltTransformError
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rcx
	movq	%r12, %r15
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##       Child Loop BB0_23 Depth 3
                                        ##     Child Loop BB0_34 Depth 2
	cmpq	$123, %rcx
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$125, %rcx
	je	LBB0_39
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	testq	%rcx, %rcx
	je	LBB0_41
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	addq	$8, %r15
	movq	%r15, %r12
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	8(%r15), %rbx
	cmpq	$123, 8(%r15)
	jne	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	subq	%r14, %rbx
	shrq	$3, %rbx
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_39:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	8(%r15), %r12
	cmpq	$125, 8(%r15)
	jne	LBB0_5
## %bb.40:                              ##   in Loop: Header=BB0_7 Depth=1
	subq	%r14, %r12
	shrq	$3, %r12
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r12d, %edx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	callq	_xmlStrncat
	addq	$16, %r15
	movq	%r15, %r12
	movq	%r15, %r14
	jmp	LBB0_6
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdx
	subq	%r14, %rdx
	shrq	$3, %rdx
	movq	%rax, %rdi
	movq	%r14, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_xmlStrncat
	movq	%rbx, %r12
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_15 Depth=2
	leaq	-8(%r12), %rdx
	testq	%rcx, %rcx
	cmoveq	%rdx, %r12
LBB0_15:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_23 Depth 3
	movq	(%r12), %rdx
	cmpq	$38, %rdx
	jg	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$34, %rdx
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	testq	%rdx, %rdx
	jne	LBB0_21
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$39, %rdx
	jne	LBB0_20
LBB0_22:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	$8, %r12
	.p2align	4, 0x90
LBB0_23:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_15 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r12), %rcx
	addq	$8, %r12
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_23 Depth=3
	cmpq	%rdx, %rcx
	jne	LBB0_23
	jmp	LBB0_25
LBB0_20:                                ##   in Loop: Header=BB0_15 Depth=2
	cmpq	$125, %rdx
	je	LBB0_26
LBB0_21:                                ##   in Loop: Header=BB0_15 Depth=2
	addq	$8, %r12
	jmp	LBB0_15
LBB0_26:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rsi
	subq	%rbx, %rsi
	shrq	$3, %rsi
	movq	%rbx, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_xmlStrndup
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %r15
	cmpq	$123, (%rax)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_37
## %bb.29:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	je	LBB0_36
## %bb.30:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%rbx, %rbx
	jne	LBB0_36
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	(%rsi), %edi
	callq	_xmlGetNsList
	testq	%rax, %rax
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_34:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rbx,%r13,8)
	leaq	1(%r13), %r13
	jne	LBB0_34
## %bb.35:                              ##   in Loop: Header=BB0_7 Depth=1
	decl	%r13d
	jmp	LBB0_36
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r15, %rdi
	callq	_xmlXPathCompile
	movl	%eax, %r14d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%eax, %esi
	movl	%r13d, %edx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	callq	_xsltEvalXPathStringNs
	movq	%rax, %rbx
	movl	%r14d, %edi
	callq	_xmlXPathFreeCompExpr
	movq	%r15, %rdi
	callq	_xmlFree
	movq	%rbx, %r15
	testq	%rbx, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_38
LBB0_37:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_xmlStrcat
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_xmlFree
	movq	%r14, %rax
LBB0_38:                                ##   in Loop: Header=BB0_7 Depth=1
	addq	$8, %r12
	movq	%r12, %r14
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_46
LBB0_18:
	leaq	L_.str.1(%rip), %rcx
	movq	%rax, %rbx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_xsltTransformError
	subq	%r15, %r12
	shrq	$3, %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
LBB0_43:
	callq	_xmlStrncat
LBB0_44:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_46
## %bb.45:
	movq	%rax, %rbx
	callq	_xmlFree
	movq	%rbx, %rax
LBB0_46:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xmlStrndup                     ## TAILCALL
LBB0_41:
	subq	%r14, %r15
	je	LBB0_44
## %bb.42:
	shrq	$3, %r15
	movq	%rax, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	jmp	LBB0_43
LBB0_27:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_44
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"xsltAttrTemplateValueProcessNode: unmatched '{'\n"

L_.str.2:                               ## @.str.2
	.asciz	"xsltAttrTemplateValueProcessNode: unmatched '}'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltAttrTemplateValueProcessNode ; -- Begin function xsltAttrTemplateValueProcessNode
	.p2align	2
_xsltAttrTemplateValueProcessNode:      ; @xsltAttrTemplateValueProcessNode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x1, LBB0_34
; %bb.1:
	mov	x25, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_40
; %bb.2:
	mov	x21, x2
	mov	x22, x0
	mov	x20, #0
	mov	x19, #0
	mov	w24, #0
	mov	x26, x25
Lloh0:
	adrp	x23, l_.str.2@PAGE
Lloh1:
	add	x23, x23, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, #0
	mov	x2, x21
	mov	x3, x23
	bl	_xsltTransformError
	mov	x25, x27
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x25]
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;       Child Loop BB0_18 Depth 3
                                        ;     Child Loop BB0_29 Depth 2
	cmp	x8, #123
	b.eq	LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x8, #125
	b.eq	LBB0_20
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	x8, LBB0_41
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #8
	b	LBB0_4
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x25
	ldr	x8, [x27, #8]!
	cmp	x8, #123
	b.eq	LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x25, x26
	lsr	x2, x8, #3
	mov	x0, x20
	mov	x1, x26
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_xmlStrncat
	mov	x20, x0
	mov	x28, x27
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	cmp	x8, #125
	b.eq	LBB0_23
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x28, x28, #8
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_18 Depth 3
	ldr	x8, [x28]
	cmp	x8, #38
	b.gt	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	cmp	x8, #34
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	cbnz	x8, LBB0_12
	b	LBB0_35
LBB0_16:                                ;   in Loop: Header=BB0_13 Depth=2
	cmp	x8, #39
	b.ne	LBB0_11
LBB0_17:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x9, x28, #8
LBB0_18:                                ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_13 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x10, [x9], #8
	cmp	x10, #0
	ccmp	x10, x8, #4, ne
	b.ne	LBB0_18
; %bb.19:                               ;   in Loop: Header=BB0_13 Depth=2
	sub	x8, x9, #8
	cmp	x10, #0
	csel	x28, x8, x9, eq
	b	LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x27, x25
	ldr	x8, [x27, #8]!
	cmp	x8, #125
	b.ne	LBB0_3
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x27, x26
	lsr	x2, x8, #3
	mov	x0, x20
	mov	x1, x26
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_xmlStrncat
	mov	x20, x0
	add	x25, x25, #16
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x26, x25
	b	LBB0_4
LBB0_23:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	x8, x28, x27
	lsr	x1, x8, #3
	mov	x0, x27
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_xmlStrndup
	cbz	x0, LBB0_37
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x25, x0
	ldr	x8, [x0]
	cmp	x8, #123
	b.eq	LBB0_32
; %bb.25:                               ;   in Loop: Header=BB0_5 Depth=1
	cbz	x21, LBB0_31
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x19, LBB0_31
; %bb.27:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21]
	mov	x1, x21
	bl	_xmlGetNsList
	mov	x19, x0
	cbz	x0, LBB0_31
; %bb.28:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x8, #0
LBB0_29:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, x8, lsl #3]
	add	x8, x8, #1
	cbnz	x9, LBB0_29
; %bb.30:                               ;   in Loop: Header=BB0_5 Depth=1
	sub	w24, w8, #1
LBB0_31:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x25
	bl	_xmlXPathCompile
	mov	x26, x0
	mov	x0, x22
	mov	x1, x26
	mov	x2, x24
	mov	x3, x19
	bl	_xsltEvalXPathStringNs
	mov	x27, x0
	mov	x0, x26
	bl	_xmlXPathFreeCompExpr
	mov	x0, x25
	bl	_xmlFree
	mov	x25, x27
	cbz	x27, LBB0_33
LBB0_32:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_xmlStrcat
	mov	x20, x0
	mov	x0, x25
	bl	_xmlFree
LBB0_33:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x28, #8
	b	LBB0_22
LBB0_34:
	mov	x20, #0
	b	LBB0_39
LBB0_35:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x1, #0
	mov	x2, x21
	bl	_xsltTransformError
	sub	x8, x28, x25
	lsr	x2, x8, #3
	mov	x0, x20
	mov	x1, x25
LBB0_36:
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_xmlStrncat
	mov	x20, x0
LBB0_37:
	cbz	x19, LBB0_39
; %bb.38:
	mov	x0, x19
	bl	_xmlFree
LBB0_39:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_40:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_xmlStrndup
LBB0_41:
	subs	x8, x25, x26
	b.eq	LBB0_37
; %bb.42:
	lsr	x2, x8, #3
	mov	x0, x20
	mov	x1, x26
	b	LBB0_36
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"xsltAttrTemplateValueProcessNode: unmatched '{'\n"

l_.str.2:                               ; @.str.2
	.asciz	"xsltAttrTemplateValueProcessNode: unmatched '}'\n"

.subsections_via_symbols
