	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltEvalTemplateString         ## -- Begin function xsltEvalTemplateString
	.p2align	4, 0x90
_xsltEvalTemplateString:                ## @xsltEvalTemplateString
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.2:
	movq	%rdx, %rbx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.3:
	movq	(%rbx), %rax
	movq	_XML_ELEMENT_NODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	cmpq	$0, 8(%rbx)
	je	LBB0_7
## %bb.5:
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_xmlNewDocNode
	testq	%rax, %rax
	je	LBB0_6
## %bb.9:
	movq	%rax, %r12
	movq	(%r15), %r13
	movq	%rax, (%r15)
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_xsltApplyOneTemplate
	movq	%r13, (%r15)
	movq	%r12, %rdi
	callq	_xmlNodeGetContent
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_xmlFreeNode
	movq	%rbx, %rax
	jmp	LBB0_8
LBB0_6:
	leaq	L_.str.1(%rip), %rcx
	movq	%r15, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_xsltTransformError
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ## @XML_ELEMENT_NODE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fake"

L_.str.1:                               ## @.str.1
	.asciz	"Failed to create temporary node\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltEvalTemplateString         ; -- Begin function xsltEvalTemplateString
	.p2align	2
_xsltEvalTemplateString:                ; @xsltEvalTemplateString
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_8
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_8
; %bb.2:
	mov	x21, x2
	cbz	x2, LBB0_8
; %bb.3:
	ldr	x8, [x21]
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:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_8
; %bb.5:
	mov	x19, x0
	ldr	w0, [x0, #8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	mov	x3, #0
	bl	_xmlNewDocNode
	cbz	x0, LBB0_7
; %bb.6:
	mov	x22, x0
	ldr	x23, [x19]
	str	x0, [x19]
	ldr	x2, [x21, #8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	mov	x4, #0
	bl	_xsltApplyOneTemplate
	str	x23, [x19]
	mov	x0, x22
	bl	_xmlNodeGetContent
	mov	x19, x0
	mov	x0, x22
	bl	_xmlFreeNode
	mov	x0, x19
	b	LBB0_9
LBB0_7:
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, #0
	mov	x2, x20
	bl	_xsltTransformError
LBB0_8:
	mov	x0, #0
LBB0_9:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_XML_ELEMENT_NODE,8,3           ; @XML_ELEMENT_NODE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fake"

l_.str.1:                               ; @.str.1
	.asciz	"Failed to create temporary node\n"

.subsections_via_symbols
