	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltEvalStaticAttrValueTemplate ## -- Begin function xsltEvalStaticAttrValueTemplate
	.p2align	4, 0x90
_xsltEvalStaticAttrValueTemplate:       ## @xsltEvalStaticAttrValueTemplate
	.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_8
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.3:
	movq	%rdi, %rbx
	movq	(%rsi), %rax
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rax
	jne	LBB0_8
## %bb.4:
	movq	%r8, %r14
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movq	%rcx, %rdx
	callq	_xsltGetNsProp
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movl	$1, (%r14)
	movq	%rax, %rdi
	movl	$123, %esi
	callq	_xmlStrchr
	testq	%rax, %rax
	je	LBB0_10
## %bb.7:
	movq	%r15, %rdi
	callq	_xmlFree
	jmp	LBB0_8
LBB0_5:
	movl	$0, (%r14)
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movl	$-1, %edx
	callq	_xmlDictLookup
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_xmlFree
	movq	%rbx, %rax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltEvalStaticAttrValueTemplate ; -- Begin function xsltEvalStaticAttrValueTemplate
	.p2align	2
_xsltEvalStaticAttrValueTemplate:       ; @xsltEvalStaticAttrValueTemplate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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_8
; %bb.1:
	cbz	x1, LBB0_8
; %bb.2:
	cbz	x2, LBB0_8
; %bb.3:
	ldr	x8, [x1]
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_8
; %bb.4:
	mov	x20, x4
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_xsltGetNsProp
	cbz	x0, LBB0_7
; %bb.5:
	mov	x21, x0
	mov	w8, #1
	str	w8, [x20]
	mov	w1, #123
	bl	_xmlStrchr
	cbz	x0, LBB0_10
; %bb.6:
	mov	x0, x21
	bl	_xmlFree
	b	LBB0_8
LBB0_7:
	str	wzr, [x20]
LBB0_8:
	mov	x0, #0
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
	ldr	w0, [x19]
	mov	x1, x21
	mov	w2, #-1
	bl	_xmlDictLookup
	mov	x19, x0
	mov	x0, x21
	bl	_xmlFree
	mov	x0, x19
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
.subsections_via_symbols
