	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_SetCursor                 ## -- Begin function Menu_SetCursor
	.p2align	4, 0x90
_Menu_SetCursor:                        ## @Menu_SetCursor
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_QMF_GRAYED@GOTPCREL(%rip), %rcx
	movq	_QMF_INACTIVE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movl	4(%rdi), %eax
	movl	%eax, (%rdi)
	movl	%esi, 4(%rdi)
	popq	%rbp
	jmp	_Menu_CursorMoved               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QMF_GRAYED,4,2                 ## @QMF_GRAYED
	.comm	_QMF_INACTIVE,4,2               ## @QMF_INACTIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Menu_SetCursor                 ; -- Begin function Menu_SetCursor
	.p2align	2
_Menu_SetCursor:                        ; @Menu_SetCursor
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	x8, [x8, w1, sxtw #3]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _QMF_GRAYED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QMF_GRAYED@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _QMF_INACTIVE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QMF_INACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
	ldr	w8, [x0, #4]
	stp	w8, w1, [x0]
	b	_Menu_CursorMoved
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_QMF_GRAYED,4,2                 ; @QMF_GRAYED
	.comm	_QMF_INACTIVE,4,2               ; @QMF_INACTIVE
.subsections_via_symbols
