	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltUnparsedEntityURIFunction  ## -- Begin function xsltUnparsedEntityURIFunction
	.p2align	4, 0x90
_xsltUnparsedEntityURIFunction:         ## @xsltUnparsedEntityURIFunction
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	cmpl	$1, %esi
	jne	LBB0_9
## %bb.1:
	cmpq	$0, 16(%rbx)
	je	LBB0_9
## %bb.2:
	movq	%rbx, %rdi
	callq	_valuePop
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_XPATH_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	callq	_xmlXPathConvertString
	movq	%rax, %r14
LBB0_4:
	movq	8(%r14), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.5:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_xmlGetDocEntity
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	jne	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
LBB0_8:
	callq	_xmlXPathNewString
	movl	%eax, %esi
	movq	%rbx, %rdi
	callq	_valuePush
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_xmlXPathFreeObject             ## TAILCALL
LBB0_9:
	movq	_xsltGenericErrorContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_xsltGenericError
	movq	_XPATH_INVALID_ARITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_xsltGenericErrorContext,4,2    ## @xsltGenericErrorContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unparsed-entity-uri() : expects one string arg\n"

	.comm	_XPATH_INVALID_ARITY,4,2        ## @XPATH_INVALID_ARITY
	.comm	_XPATH_STRING,8,3               ## @XPATH_STRING
L_.str.1:                               ## @.str.1
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_xsltUnparsedEntityURIFunction  ; -- Begin function xsltUnparsedEntityURIFunction
	.p2align	2
_xsltUnparsedEntityURIFunction:         ; @xsltUnparsedEntityURIFunction
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cmp	w1, #1
	b.ne	LBB0_9
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.2:
	mov	x0, x19
	bl	_valuePop
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _XPATH_STRING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XPATH_STRING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x20
	bl	_xmlXPathConvertString
	mov	x20, x0
LBB0_4:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_7
; %bb.5:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_xmlGetDocEntity
	cbz	x0, LBB0_7
; %bb.6:
	ldr	x0, [x0]
	cbnz	x0, LBB0_8
LBB0_7:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_8:
	bl	_xmlXPathNewString
	mov	x1, x0
	mov	x0, x19
	bl	_valuePush
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_xmlXPathFreeObject
LBB0_9:
Lloh5:
	adrp	x8, _xsltGenericErrorContext@GOTPAGE
Lloh6:
	ldr	x8, [x8, _xsltGenericErrorContext@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_xsltGenericError
Lloh10:
	adrp	x8, _XPATH_INVALID_ARITY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _XPATH_INVALID_ARITY@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_xsltGenericErrorContext,4,2    ; @xsltGenericErrorContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unparsed-entity-uri() : expects one string arg\n"

	.comm	_XPATH_INVALID_ARITY,4,2        ; @XPATH_INVALID_ARITY
	.comm	_XPATH_STRING,8,3               ; @XPATH_STRING
l_.str.1:                               ; @.str.1
	.space	1

.subsections_via_symbols
