	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__free_vita_heap                ## -- Begin function _free_vita_heap
	.p2align	4, 0x90
__free_vita_heap:                       ## @_free_vita_heap
	.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	__newlib_sbrk_mutex@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_sceKernelDeleteLwMutex
	movq	__newlib_heap_memblock@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_sceKernelFreeMemBlock
	movq	__newlib_vm_memblock@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_sceKernelFreeMemBlock
LBB0_2:
	movq	$0, (%rbx)
	movq	$0, (%r14)
	movq	__newlib_heap_base@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	__newlib_heap_cur@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__newlib_sbrk_mutex,8,3         ## @_newlib_sbrk_mutex
	.comm	__newlib_heap_memblock,8,3      ## @_newlib_heap_memblock
	.comm	__newlib_vm_memblock,8,3        ## @_newlib_vm_memblock
	.comm	__newlib_heap_base,8,3          ## @_newlib_heap_base
	.comm	__newlib_heap_cur,8,3           ## @_newlib_heap_cur
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__free_vita_heap                ; -- Begin function _free_vita_heap
	.p2align	2
__free_vita_heap:                       ; @_free_vita_heap
	.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
Lloh0:
	adrp	x8, __newlib_sbrk_mutex@GOTPAGE
Lloh1:
	ldr	x8, [x8, __newlib_sbrk_mutex@GOTPAGEOFF]
Lloh2:
	ldr	x0, [x8]
	bl	_sceKernelDeleteLwMutex
Lloh3:
	adrp	x19, __newlib_heap_memblock@GOTPAGE
Lloh4:
	ldr	x19, [x19, __newlib_heap_memblock@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_sceKernelFreeMemBlock
Lloh5:
	adrp	x20, __newlib_vm_memblock@GOTPAGE
Lloh6:
	ldr	x20, [x20, __newlib_vm_memblock@GOTPAGEOFF]
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_sceKernelFreeMemBlock
LBB0_2:
	str	xzr, [x20]
	str	xzr, [x19]
Lloh7:
	adrp	x8, __newlib_heap_base@GOTPAGE
Lloh8:
	ldr	x8, [x8, __newlib_heap_base@GOTPAGEOFF]
Lloh9:
	str	xzr, [x8]
Lloh10:
	adrp	x8, __newlib_heap_cur@GOTPAGE
Lloh11:
	ldr	x8, [x8, __newlib_heap_cur@GOTPAGEOFF]
Lloh12:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	__newlib_sbrk_mutex,8,3         ; @_newlib_sbrk_mutex
	.comm	__newlib_heap_memblock,8,3      ; @_newlib_heap_memblock
	.comm	__newlib_vm_memblock,8,3        ; @_newlib_vm_memblock
	.comm	__newlib_heap_base,8,3          ; @_newlib_heap_base
	.comm	__newlib_heap_cur,8,3           ; @_newlib_heap_cur
.subsections_via_symbols
