	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltCheckStackElem
_xsltCheckStackElem:                    ## @xsltCheckStackElem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.2:
	callq	_xsltStackLookup
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	(%rax), %rcx
	movq	_XSLT_FUNC_WITHPARAM@GOTPCREL(%rip), %rdx
	movl	$3, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_8
## %bb.6:
	movq	_XSLT_FUNC_PARAM@GOTPCREL(%rip), %rdx
	movl	$2, %eax
	cmpq	(%rdx), %rcx
	je	LBB0_8
LBB0_7:
	movl	$1, %eax
LBB0_8:
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XSLT_FUNC_WITHPARAM,8,3        ## @XSLT_FUNC_WITHPARAM
	.comm	_XSLT_FUNC_PARAM,8,3            ## @XSLT_FUNC_PARAM
	.no_dead_strip	_xsltCheckStackElem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltCheckStackElem
_xsltCheckStackElem:                    ; @xsltCheckStackElem
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	mov	w0, #-1
	cbz	x8, LBB0_9
; %bb.1:
	cbz	x1, LBB0_9
; %bb.2:
	mov	x0, x8
	bl	_xsltStackLookup
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _XSLT_FUNC_WITHPARAM@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XSLT_FUNC_WITHPARAM@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #3
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh3:
	adrp	x9, _XSLT_FUNC_PARAM@GOTPAGE
Lloh4:
	ldr	x9, [x9, _XSLT_FUNC_PARAM@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	mov	w0, #2
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XSLT_FUNC_WITHPARAM,8,3        ; @XSLT_FUNC_WITHPARAM
	.comm	_XSLT_FUNC_PARAM,8,3            ; @XSLT_FUNC_PARAM
	.no_dead_strip	_xsltCheckStackElem
.subsections_via_symbols
