	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_HandleMouseMove           ## -- Begin function Menu_HandleMouseMove
	.p2align	4, 0x90
_Menu_HandleMouseMove:                  ## @Menu_HandleMouseMove
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movss	%xmm1, -48(%rbp)                ## 4-byte Spill
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	testq	%rdi, %rdi
	je	LBB0_27
## %bb.1:
	movq	%rdi, %rbx
	movq	_WINDOW_VISIBLE@GOTPCREL(%rip), %r12
	movq	_WINDOW_FORCED@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	orl	(%r12), %eax
	testl	%eax, 16(%rdi)
	je	LBB0_27
## %bb.2:
	movq	_itemCapture@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_27
## %bb.3:
	movq	_g_waitingForKey@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_g_editingField@GOTPCREL(%rip), %rcx
	orq	(%rcx), %rax
	je	LBB0_4
LBB0_27:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %eax
	movb	$1, %cl
	xorl	%edx, %edx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	movb	$1, %dl
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	testb	$1, %cl
	movl	$0, %ecx
	je	LBB0_27
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	testl	%eax, %eax
	jle	LBB0_26
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%r14
	movslq	(%rbx), %rax
	cmpq	%rax, %r14
	jge	LBB0_25
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movl	(%r13), %eax
	orl	(%r12), %eax
	testl	%eax, 16(%rdi)
	je	LBB0_24
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movl	(%rdi), %eax
	movq	_CVAR_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CVAR_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%esi, %ecx
	testl	%eax, %ecx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	callq	_Item_EnableShowViaCvar
	testl	%eax, %eax
	je	LBB0_24
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movl	(%rdi), %eax
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	_CVAR_SHOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_CVAR_HIDE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%esi, %ecx
	testl	%eax, %ecx
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	callq	_Item_EnableShowViaCvar
	testl	%eax, %eax
	je	LBB0_24
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=2
	addq	$20, %rdi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_Rect_ContainsPoint
	testq	%rax, %rax
	je	LBB0_22
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=2
	testb	$1, -72(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %r15
	movq	8(%r15), %rax
	movq	_ITEM_TYPE_TEXT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, 24(%r15)
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r15, %rdi
	callq	_Item_CorrectedTextRect
	movq	%rax, %rdi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_Rect_ContainsPoint
	testq	%rax, %rax
	je	LBB0_24
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=2
	movl	16(%r15), %edi
	callq	_IsVisible
	testq	%rax, %rax
	je	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r15, %rdi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_Item_MouseEnter
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	%r15, %rdi
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	movss	-48(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	callq	_Item_SetFocus
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_24
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movq	_WINDOW_MOUSEOVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 16(%rdi)
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=2
	callq	_Item_MouseLeave
	movq	8(%rbx), %rax
	movq	(%rax,%r14,8), %rdi
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_Item_SetMouseOver
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_WINDOW_VISIBLE,4,2             ## @WINDOW_VISIBLE
	.comm	_WINDOW_FORCED,4,2              ## @WINDOW_FORCED
	.comm	_itemCapture,8,3                ## @itemCapture
	.comm	_g_waitingForKey,8,3            ## @g_waitingForKey
	.comm	_g_editingField,8,3             ## @g_editingField
	.comm	_CVAR_ENABLE,4,2                ## @CVAR_ENABLE
	.comm	_CVAR_DISABLE,4,2               ## @CVAR_DISABLE
	.comm	_CVAR_SHOW,4,2                  ## @CVAR_SHOW
	.comm	_CVAR_HIDE,4,2                  ## @CVAR_HIDE
	.comm	_ITEM_TYPE_TEXT,8,3             ## @ITEM_TYPE_TEXT
	.comm	_WINDOW_MOUSEOVER,4,2           ## @WINDOW_MOUSEOVER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_HandleMouseMove           ; -- Begin function Menu_HandleMouseMove
	.p2align	2
_Menu_HandleMouseMove:                  ; @Menu_HandleMouseMove
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x22, _WINDOW_VISIBLE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _WINDOW_VISIBLE@GOTPAGEOFF]
	ldr	w8, [x0, #16]
	ldr	w9, [x22]
Lloh2:
	adrp	x23, _WINDOW_FORCED@GOTPAGE
Lloh3:
	ldr	x23, [x23, _WINDOW_FORCED@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w10, w9
	and	w8, w9, w8
Lloh4:
	adrp	x9, _itemCapture@GOTPAGE
Lloh5:
	ldr	x9, [x9, _itemCapture@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	w8, #0
	ccmp	x9, #0, #0, ne
	b.ne	LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _g_waitingForKey@GOTPAGE
Lloh8:
	ldr	x8, [x8, _g_waitingForKey@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _g_editingField@GOTPAGE
Lloh11:
	ldr	x9, [x9, _g_editingField@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	orr	x8, x8, x9
	cbz	x8, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_4:
	fmov	s8, s1
	fmov	s9, s0
	mov	w27, #0
Lloh13:
	adrp	x8, _qfalse@GOTPAGE
Lloh14:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	w8, [x19]
	mov	w9, #1
Lloh16:
	adrp	x25, _CVAR_ENABLE@GOTPAGE
Lloh17:
	ldr	x25, [x25, _CVAR_ENABLE@GOTPAGEOFF]
Lloh18:
	adrp	x26, _CVAR_DISABLE@GOTPAGE
Lloh19:
	ldr	x26, [x26, _CVAR_DISABLE@GOTPAGEOFF]
Lloh20:
	adrp	x28, _CVAR_SHOW@GOTPAGE
Lloh21:
	ldr	x28, [x28, _CVAR_SHOW@GOTPAGEOFF]
Lloh22:
	adrp	x24, _CVAR_HIDE@GOTPAGE
Lloh23:
	ldr	x24, [x24, _CVAR_HIDE@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	w10, [sp, #4]                   ; 4-byte Folded Reload
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w9, #0
	mov	w27, #1
	tbz	w10, #0, LBB0_3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	mov	x10, x9
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	str	w10, [sp, #4]                   ; 4-byte Folded Spill
	mov	x20, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x20, x20, #1
	ldrsw	x8, [x19]
	cmp	x20, x8
	b.ge	LBB0_5
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	ldr	w8, [x0, #16]
	ldr	w9, [x22]
	ldr	w10, [x23]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	w8, [x0]
	ldr	w1, [x25]
	ldr	w9, [x26]
	orr	w9, w9, w1
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	bl	_Item_EnableShowViaCvar
	cbz	w0, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	ldr	w8, [x0]
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w1, [x28]
	ldr	w9, [x24]
	orr	w9, w9, w1
	tst	w9, w8
	b.eq	LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=2
	bl	_Item_EnableShowViaCvar
	cbz	w0, LBB0_9
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=2
	add	x0, x0, #20
	fmov	s0, s9
	fmov	s1, s8
	bl	_Rect_ContainsPoint
	cbz	x0, LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=2
	tbz	w27, #0, LBB0_9
; %bb.19:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #8]
	ldr	x21, [x8, x20, lsl #3]
	ldr	x8, [x21, #8]
Lloh24:
	adrp	x9, _ITEM_TYPE_TEXT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _ITEM_TYPE_TEXT@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x21, #24]
	cbz	x8, LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x21
	bl	_Item_CorrectedTextRect
	fmov	s0, s9
	fmov	s1, s8
	bl	_Rect_ContainsPoint
	cbz	x0, LBB0_9
LBB0_22:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	w0, [x21, #16]
	bl	_IsVisible
	cbz	x0, LBB0_9
; %bb.23:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x21
	fmov	s0, s9
	fmov	s1, s8
	bl	_Item_MouseEnter
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cbnz	x8, LBB0_9
; %bb.24:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x0, x21
	fmov	s0, s9
	fmov	s1, s8
	bl	_Item_SetFocus
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_9
LBB0_25:                                ;   in Loop: Header=BB0_10 Depth=2
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
	ldr	w8, [x0, #16]
Lloh27:
	adrp	x9, _WINDOW_MOUSEOVER@GOTPAGE
Lloh28:
	ldr	x9, [x9, _WINDOW_MOUSEOVER@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.26:                               ;   in Loop: Header=BB0_10 Depth=2
	bl	_Item_MouseLeave
	ldr	x8, [x19, #8]
	ldr	x0, [x8, x20, lsl #3]
Lloh30:
	adrp	x8, _qfalse@GOTPAGE
Lloh31:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x8]
	bl	_Item_SetMouseOver
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_WINDOW_VISIBLE,4,2             ; @WINDOW_VISIBLE
	.comm	_WINDOW_FORCED,4,2              ; @WINDOW_FORCED
	.comm	_itemCapture,8,3                ; @itemCapture
	.comm	_g_waitingForKey,8,3            ; @g_waitingForKey
	.comm	_g_editingField,8,3             ; @g_editingField
	.comm	_CVAR_ENABLE,4,2                ; @CVAR_ENABLE
	.comm	_CVAR_DISABLE,4,2               ; @CVAR_DISABLE
	.comm	_CVAR_SHOW,4,2                  ; @CVAR_SHOW
	.comm	_CVAR_HIDE,4,2                  ; @CVAR_HIDE
	.comm	_ITEM_TYPE_TEXT,8,3             ; @ITEM_TYPE_TEXT
	.comm	_WINDOW_MOUSEOVER,4,2           ; @WINDOW_MOUSEOVER
.subsections_via_symbols
