	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function action_right_goto_tab
_action_right_goto_tab:                 ## @action_right_goto_tab
	.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
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_menu_entries_get_selection_buf_ptr
	movq	%rax, %r12
	xorl	%edi, %edi
	callq	_menu_entries_get_menu_stack_ptr
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_menu_navigation_get_selection
	testq	%r12, %r12
	je	LBB0_1
## %bb.2:
	movq	(%r12), %rcx
	movq	(%rcx,%rax,8), %rbx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	_MENU_LIST_HORIZONTAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_MENU_ACTION_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-40(%rbp), %rdi
	callq	_menu_driver_list_cache
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str(%rip), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rcx, %rdx
	xorl	%r8d, %r8d
	callq	*%rax
	movl	%eax, %r14d
LBB0_6:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MENU_LIST_HORIZONTAL,4,2       ## @MENU_LIST_HORIZONTAL
	.comm	_MENU_ACTION_RIGHT,4,2          ## @MENU_ACTION_RIGHT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.no_dead_strip	_action_right_goto_tab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function action_right_goto_tab
_action_right_goto_tab:                 ; @action_right_goto_tab
	.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	w0, #0
	bl	_menu_entries_get_selection_buf_ptr
	mov	x19, x0
	mov	w0, #0
	bl	_menu_entries_get_menu_stack_ptr
	mov	x20, x0
	bl	_menu_navigation_get_selection
	cbz	x19, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldr	x21, [x8, x0, lsl #3]
	b	LBB0_3
LBB0_2:
	mov	x21, #0
LBB0_3:
Lloh0:
	adrp	x8, _MENU_LIST_HORIZONTAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MENU_LIST_HORIZONTAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MENU_ACTION_RIGHT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MENU_ACTION_RIGHT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	add	x0, sp, #8
	bl	_menu_driver_list_cache
	cbz	x21, LBB0_6
; %bb.4:
	ldr	x8, [x21]
	cbz	x8, LBB0_6
; %bb.5:
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x20
	mov	x3, x2
	mov	w4, #0
	blr	x8
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MENU_LIST_HORIZONTAL,4,2       ; @MENU_LIST_HORIZONTAL
	.comm	_MENU_ACTION_RIGHT,4,2          ; @MENU_ACTION_RIGHT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.no_dead_strip	_action_right_goto_tab
.subsections_via_symbols
