	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_list_free_list
_menu_list_free_list:                   ## @menu_list_free_list
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %eax
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_RARCH_MENU_CTL_LIST_FREE@GOTPCREL(%rip), %r12
	leaq	-48(%rbp), %r14
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, -40(%rbp)
	movl	%ebx, -48(%rbp)
	movl	%eax, -44(%rbp)
	movl	(%r12), %edi
	movq	%r14, %rsi
	callq	_menu_driver_ctl
	incl	%ebx
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jb	LBB0_2
LBB0_3:
	movq	%r15, %rdi
	callq	_file_list_free
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RARCH_MENU_CTL_LIST_FREE,4,2   ## @RARCH_MENU_CTL_LIST_FREE
	.no_dead_strip	_menu_list_free_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_list_free_list
_menu_list_free_list:                   ; @menu_list_free_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w20, #0
Lloh0:
	adrp	x21, _RARCH_MENU_CTL_LIST_FREE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RARCH_MENU_CTL_LIST_FREE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	str	x19, [sp, #8]
	stp	w20, w8, [sp]
	ldr	w0, [x21]
	mov	x1, sp
	bl	_menu_driver_ctl
	add	w20, w20, #1
	ldr	w8, [x19]
	cmp	w20, w8
	b.lo	LBB0_2
LBB0_3:
	mov	x0, x19
	bl	_file_list_free
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RARCH_MENU_CTL_LIST_FREE,4,2   ; @RARCH_MENU_CTL_LIST_FREE
	.no_dead_strip	_menu_list_free_list
.subsections_via_symbols
