	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xsltFreeStackElem
_xsltFreeStackElem:                     ## @xsltFreeStackElem
	.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_15
## %bb.1:
	movq	%rdi, %r15
	movq	24(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_xmlXPathFreeObject
LBB0_3:
	movq	8(%r15), %r14
	testq	%r14, %r14
	je	LBB0_16
## %bb.4:
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.5:
	movq	_XSLT_RVT_LOCAL@GOTPCREL(%rip), %r12
	movq	_XSLT_RVT_FUNC_RESULT@GOTPCREL(%rip), %r13
	leaq	L_.str(%rip), %r14
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_xsltReleaseRVT
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rax
	movq	%rax, 16(%r15)
	movq	(%rbx), %rdx
	cmpq	(%r12), %rdx
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	(%r13), %rdx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %rdi
	movq	%rbx, %rsi
	callq	_xsltRegisterLocalRVT
	movq	(%r13), %rax
	movq	%rax, (%rbx)
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	_xmlGenericErrorContext@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_xmlGenericError
	jmp	LBB0_11
LBB0_12:
	movq	8(%r15), %r14
	testq	%r14, %r14
	je	LBB0_16
LBB0_13:
	movq	(%r14), %rax
	cmpl	$49, (%rax)
	jg	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, 8(%r15)
	movq	(%r14), %rax
	movq	8(%rax), %rcx
	movq	%rcx, (%r15)
	movq	%r15, 8(%rax)
	incl	(%rax)
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xmlFree                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_XSLT_RVT_LOCAL,8,3             ## @XSLT_RVT_LOCAL
	.comm	_XSLT_RVT_FUNC_RESULT,8,3       ## @XSLT_RVT_FUNC_RESULT
	.comm	_xmlGenericErrorContext,4,2     ## @xmlGenericErrorContext
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"xsltFreeStackElem: Unexpected RVT flag %p\n"

	.no_dead_strip	_xsltFreeStackElem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xsltFreeStackElem
_xsltFreeStackElem:                     ; @xsltFreeStackElem
	.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_15
; %bb.1:
	mov	x19, x0
	ldr	x0, [x0, #24]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_xmlXPathFreeObject
LBB0_3:
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_16
; %bb.4:
	ldr	x21, [x19, #16]
	cbz	x21, LBB0_13
; %bb.5:
Lloh0:
	adrp	x22, _XSLT_RVT_LOCAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _XSLT_RVT_LOCAL@GOTPAGEOFF]
Lloh2:
	adrp	x23, _XSLT_RVT_FUNC_RESULT@GOTPAGE
Lloh3:
	ldr	x23, [x23, _XSLT_RVT_FUNC_RESULT@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
Lloh6:
	adrp	x24, _xmlGenericErrorContext@GOTPAGE
Lloh7:
	ldr	x24, [x24, _xmlGenericErrorContext@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_xsltReleaseRVT
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x21, [x19, #16]
	cbz	x21, LBB0_12
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x2, x8, [x21]
	str	x8, [x19, #16]
	ldr	x8, [x22]
	cmp	x2, x8
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x23]
	cmp	x2, x8
	b.ne	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x0, [x19, #8]
	mov	x1, x21
	bl	_xsltRegisterLocalRVT
	ldr	x8, [x23]
	str	x8, [x21]
	b	LBB0_7
LBB0_11:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x24]
	mov	x1, x20
	bl	_xmlGenericError
	b	LBB0_7
LBB0_12:
	ldr	x20, [x19, #8]
	cbz	x20, LBB0_16
LBB0_13:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cmp	w8, #49
	b.gt	LBB0_16
; %bb.14:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	x8, [x20]
	ldr	x9, [x8, #8]
	stp	x9, x20, [x19]
	str	x19, [x8, #8]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
LBB0_15:
	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
LBB0_16:
	mov	x0, x19
	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
	b	_xmlFree
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_XSLT_RVT_LOCAL,8,3             ; @XSLT_RVT_LOCAL
	.comm	_XSLT_RVT_FUNC_RESULT,8,3       ; @XSLT_RVT_FUNC_RESULT
	.comm	_xmlGenericErrorContext,4,2     ; @xmlGenericErrorContext
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"xsltFreeStackElem: Unexpected RVT flag %p\n"

	.no_dead_strip	_xsltFreeStackElem
.subsections_via_symbols
