	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_GetFocused                ## -- Begin function Menu_GetFocused
	.p2align	4, 0x90
_Menu_GetFocused:                       ## @Menu_GetFocused
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_menuCount@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	jle	LBB0_5
## %bb.1:
	movq	_Menus@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_WINDOW_HASFOCUS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_WINDOW_VISIBLE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$4, %rax
	decq	%rcx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rax), %edi
	testl	%edi, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	andl	%esi, %edi
	je	LBB0_4
## %bb.6:
	popq	%rbp
	retq
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menuCount,4,2                  ## @menuCount
	.comm	_Menus,8,3                      ## @Menus
	.comm	_WINDOW_HASFOCUS,4,2            ## @WINDOW_HASFOCUS
	.comm	_WINDOW_VISIBLE,4,2             ## @WINDOW_VISIBLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_GetFocused                ; -- Begin function Menu_GetFocused
	.p2align	2
_Menu_GetFocused:                       ; @Menu_GetFocused
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _menuCount@GOTPAGE
Lloh1:
	ldr	x8, [x8, _menuCount@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _Menus@GOTPAGE
Lloh4:
	ldr	x9, [x9, _Menus@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x9]
Lloh6:
	adrp	x9, _WINDOW_HASFOCUS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _WINDOW_HASFOCUS@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _WINDOW_VISIBLE@GOTPAGE
Lloh10:
	ldr	x10, [x10, _WINDOW_VISIBLE@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	and	w12, w9, w11
	and	w11, w10, w11
	cmp	w12, #0
	ccmp	w11, #0, #4, ne
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x0, x0, #4
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_4:
	mov	x0, #0
LBB0_5:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_menuCount,4,2                  ; @menuCount
	.comm	_Menus,8,3                      ; @Menus
	.comm	_WINDOW_HASFOCUS,4,2            ; @WINDOW_HASFOCUS
	.comm	_WINDOW_VISIBLE,4,2             ; @WINDOW_VISIBLE
.subsections_via_symbols
