	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generic_menu_init_list         ## -- Begin function generic_menu_init_list
	.p2align	4, 0x90
_generic_menu_init_list:                ## @generic_menu_init_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	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%edi, %edi
	callq	_menu_entries_get_menu_stack_ptr
	movq	%rax, %r12
	xorl	%edi, %edi
	callq	_menu_entries_get_selection_buf_ptr
	movq	%rax, %r15
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	callq	_menu_displaylist_info_init
	movq	_MENU_ENUM_LABEL_MAIN_MENU@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_msg_hash_to_str
	movl	%eax, %edi
	callq	_strdup
	movl	%eax, -48(%rbp)
	movl	(%rbx), %ecx
	movl	%ecx, -40(%rbp)
	movl	-44(%rbp), %esi
	movl	-56(%rbp), %r9d
	movl	-52(%rbp), %r8d
	movl	$0, (%rsp)
	movq	%r12, %rdi
	movl	%eax, %edx
	callq	_menu_entries_append_enum
	movq	%r15, -64(%rbp)
	movq	_DISPLAYLIST_MAIN_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_menu_displaylist_ctl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	-64(%rbp), %rdi
	callq	_menu_displaylist_process
LBB0_2:
	leaq	-64(%rbp), %rdi
	callq	_menu_displaylist_info_free
	movl	$1, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_ENUM_LABEL_MAIN_MENU,4,2  ## @MENU_ENUM_LABEL_MAIN_MENU
	.comm	_DISPLAYLIST_MAIN_MENU,4,2      ## @DISPLAYLIST_MAIN_MENU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_generic_menu_init_list         ; -- Begin function generic_menu_init_list
	.p2align	2
_generic_menu_init_list:                ; @generic_menu_init_list
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	w0, #0
	bl	_menu_entries_get_menu_stack_ptr
	mov	x19, x0
	mov	w0, #0
	bl	_menu_entries_get_selection_buf_ptr
	mov	x20, x0
	mov	x0, sp
	bl	_menu_displaylist_info_init
Lloh0:
	adrp	x21, _MENU_ENUM_LABEL_MAIN_MENU@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MENU_ENUM_LABEL_MAIN_MENU@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_msg_hash_to_str
	bl	_strdup
	mov	x2, x0
	ldr	w3, [x21]
	str	w0, [sp, #16]
	str	w3, [sp, #24]
	ldr	w1, [sp, #20]
	ldp	w5, w4, [sp, #8]
	mov	x0, x19
	mov	w6, #0
	bl	_menu_entries_append_enum
	str	x20, [sp]
Lloh2:
	adrp	x8, _DISPLAYLIST_MAIN_MENU@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DISPLAYLIST_MAIN_MENU@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_menu_displaylist_ctl
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, sp
	bl	_menu_displaylist_process
LBB0_2:
	mov	x0, sp
	bl	_menu_displaylist_info_free
	mov	w0, #1
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_ENUM_LABEL_MAIN_MENU,4,2  ; @MENU_ENUM_LABEL_MAIN_MENU
	.comm	_DISPLAYLIST_MAIN_MENU,4,2      ; @DISPLAYLIST_MAIN_MENU
.subsections_via_symbols
