	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_left_mainmenu
_action_left_mainmenu:                  ## @action_left_mainmenu
	.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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_menu_driver_get_ptr
	testq	%rax, %rax
	je	LBB0_12
## %bb.1:
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_menu_driver_list_get_selection
	movq	_MENU_LIST_PLAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	%rbx, %rdi
	callq	_menu_driver_list_get_size
	cmpl	$1, -48(%rbp)
	jne	LBB0_10
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_config_get_ptr
	cmpq	$0, -40(%rbp)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, (%rax)
	je	LBB0_11
LBB0_4:
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_menu_entries_get_menu_stack_ptr
	movq	%rax, %r14
	xorl	%edi, %edi
	callq	_menu_entries_get_selection_buf_ptr
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	(%r15), %rcx
	movq	(%rcx,%rax,8), %rbx
LBB0_6:
	movq	_MENU_LIST_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_MENU_ACTION_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	leaq	-72(%rbp), %rdi
	callq	_menu_driver_list_cache
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:
	movq	(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.9:
	leaq	L_.str(%rip), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rcx, %rdx
	xorl	%r8d, %r8d
	callq	*%rbx
	movl	%eax, %ebx
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_menu_cbs_exit                  ## TAILCALL
LBB0_10:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_action_left_scroll
	jmp	LBB0_11
LBB0_8:
	xorl	%ebx, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_LIST_PLAIN,4,2            ## @MENU_LIST_PLAIN
	.comm	_MENU_LIST_HORIZONTAL,4,2       ## @MENU_LIST_HORIZONTAL
	.comm	_MENU_ACTION_LEFT,4,2           ## @MENU_ACTION_LEFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_action_left_mainmenu
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_left_mainmenu
_action_left_mainmenu:                  ; @action_left_mainmenu
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	bl	_menu_driver_get_ptr
	cbz	x0, LBB0_6
; %bb.1:
	add	x0, sp, #24
	bl	_menu_driver_list_get_selection
Lloh0:
	adrp	x8, _MENU_LIST_PLAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MENU_LIST_PLAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #44]
	add	x0, sp, #24
	bl	_menu_driver_list_get_size
	ldr	w8, [sp, #24]
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.2:
	bl	_config_get_ptr
	ldr	x8, [sp, #32]
	cbnz	x8, LBB0_4
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_12
LBB0_4:
	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
	bl	_menu_navigation_get_selection
	cbz	x20, LBB0_8
; %bb.5:
	ldr	x8, [x20]
	ldr	x21, [x8, x0, lsl #3]
	b	LBB0_9
LBB0_6:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_menu_cbs_exit
LBB0_7:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	mov	w2, #0
	bl	_action_left_scroll
	b	LBB0_12
LBB0_8:
	mov	x21, #0
LBB0_9:
Lloh5:
	adrp	x8, _MENU_LIST_HORIZONTAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MENU_LIST_HORIZONTAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _MENU_ACTION_LEFT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _MENU_ACTION_LEFT@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
	mov	x0, sp
	bl	_menu_driver_list_cache
	cbz	x21, LBB0_12
; %bb.10:
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.11:
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	x3, x2
	mov	w4, #0
	blr	x8
	b	LBB0_13
LBB0_12:
	mov	w0, #0
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_LIST_PLAIN,4,2            ; @MENU_LIST_PLAIN
	.comm	_MENU_LIST_HORIZONTAL,4,2       ; @MENU_LIST_HORIZONTAL
	.comm	_MENU_ACTION_LEFT,4,2           ; @MENU_ACTION_LEFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_action_left_mainmenu
.subsections_via_symbols
