	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_get_parent_menu           ## -- Begin function menu_get_parent_menu
	.p2align	4, 0x90
_menu_get_parent_menu:                  ## @menu_get_parent_menu
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rootmenu@GOTPCREL(%rip), %rax
	cmpq	%rax, %rdi
	je	LBB0_8
## %bb.1:
	movq	_P_MENU@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_rootmenu@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rdx), %edx
	cmpl	%ecx, %edx
	jne	LBB0_7
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
	cmpl	%ecx, %edx
	je	LBB0_6
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rdi
	cmpq	%rax, %rdi
	jne	LBB0_2
LBB0_8:
	popq	%rbp
	retq
LBB0_6:
	movq	%rdi, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rootmenu,16,3                  ## @rootmenu
	.comm	_P_MENU,4,2                     ## @P_MENU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_get_parent_menu           ; -- Begin function menu_get_parent_menu
	.p2align	2
_menu_get_parent_menu:                  ; @menu_get_parent_menu
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _rootmenu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rootmenu@GOTPAGEOFF]
	cmp	x0, x8
	b.eq	LBB0_6
; %bb.1:
Lloh2:
	adrp	x9, _P_MENU@GOTPAGE
Lloh3:
	ldr	x9, [x9, _P_MENU@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x0]
	cbz	x10, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w10, [x10]
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmp	w10, w9
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x0, #8]
	cmp	x0, x8
	b.ne	LBB0_2
LBB0_6:
	mov	x0, x8
LBB0_7:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_rootmenu,16,3                  ; @rootmenu
	.comm	_P_MENU,4,2                     ; @P_MENU
.subsections_via_symbols
