	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function menu_display_draw_cursor
LCPI0_0:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_menu_display_draw_cursor
	.p2align	4, 0x90
_menu_display_draw_cursor:              ## @menu_display_draw_cursor
	.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	$112, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movss	%xmm2, -36(%rbp)                ## 4-byte Spill
	movss	%xmm1, -40(%rbp)                ## 4-byte Spill
	movq	%rdx, %r14
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%eax, %eax
	callq	_config_get_ptr
	cmpq	$0, 8(%rax)
	setne	%cl
	movq	_menu_display_has_windowed@GOTPCREL(%rip), %rdx
	cmpl	$0, (%rdx)
	sete	%dl
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.1:
	orb	%dl, %cl
	je	LBB0_8
## %bb.2:
	movl	$4, -144(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -128(%rbp)
	movq	$0, -112(%rbp)
	movq	%rbx, -136(%rbp)
	movq	_menu_disp@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	8(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	*%rax
LBB0_5:
	xorps	%xmm0, %xmm0
	cvtsi2ss	%r12d, %xmm0
	subss	-36(%rbp), %xmm0                ## 4-byte Folded Reload
	movss	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero,zero,zero
	movss	-44(%rbp), %xmm2                ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	mulss	%xmm2, %xmm1
	movss	-40(%rbp), %xmm3                ## 4-byte Reload
                                        ## xmm3 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm3
	subss	%xmm1, %xmm0
	cvttss2si	%xmm0, %eax
	movss	%xmm3, -104(%rbp)
	movl	%eax, -100(%rbp)
	movss	%xmm2, -96(%rbp)
	movss	%xmm2, -92(%rbp)
	leaq	-144(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	$0, -64(%rbp)
	movq	%r14, -88(%rbp)
	movq	_MENU_DISPLAY_PRIM_TRIANGLESTRIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	leaq	-104(%rbp), %rdi
	movq	%r15, %rsi
	callq	_menu_display_draw
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r15, %rdi
	callq	*%rax
LBB0_8:
	addq	$112, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_menu_display_has_windowed,4,2  ## @menu_display_has_windowed
	.comm	_menu_disp,8,3                  ## @menu_disp
	.comm	_MENU_DISPLAY_PRIM_TRIANGLESTRIP,4,2 ## @MENU_DISPLAY_PRIM_TRIANGLESTRIP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_draw_cursor       ; -- Begin function menu_display_draw_cursor
	.p2align	2
_menu_display_draw_cursor:              ; @menu_display_draw_cursor
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d11, d10, [sp, #96]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #112]              ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	mov	x21, x4
	fmov	s9, s2
	fmov	s10, s1
	mov	x20, x2
	fmov	s8, s0
	mov	x22, x1
	mov	x19, x0
	bl	_config_get_ptr
	ldr	x8, [x0, #8]
	cmp	x8, #0
Lloh0:
	adrp	x8, _menu_display_has_windowed@GOTPAGE
Lloh1:
	ldr	x8, [x8, _menu_display_has_windowed@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ccmp	w8, #0, #4, eq
	cset	w8, eq
	ldr	w9, [x0]
	cmp	w9, #0
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_7
; %bb.1:
	mov	w8, #4
	str	w8, [sp]
	stp	xzr, xzr, [sp, #24]
	stp	x22, xzr, [sp, #8]
Lloh3:
	adrp	x22, _menu_disp@GOTPAGE
Lloh4:
	ldr	x22, [x22, _menu_disp@GOTPAGEOFF]
	ldr	x8, [x22]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	blr	x8
LBB0_4:
	fmov	s0, #0.50000000
	fmul	s0, s8, s0
	fsub	s1, s10, s0
	str	s1, [sp, #40]
	scvtf	s1, w21
	fsub	s1, s1, s9
	fsub	s0, s1, s0
	fcvtzs	w8, s0
	str	w8, [sp, #44]
	stp	s8, s8, [sp, #48]
	mov	x8, sp
	stp	xzr, x8, [sp, #80]
Lloh5:
	adrp	x8, _MENU_DISPLAY_PRIM_TRIANGLESTRIP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MENU_DISPLAY_PRIM_TRIANGLESTRIP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	stp	x20, xzr, [sp, #56]
	add	x0, sp, #40
	mov	x1, x19
	bl	_menu_display_draw
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	blr	x8
LBB0_7:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #112]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_menu_display_has_windowed,4,2  ; @menu_display_has_windowed
	.comm	_menu_disp,8,3                  ; @menu_disp
	.comm	_MENU_DISPLAY_PRIM_TRIANGLESTRIP,4,2 ; @MENU_DISPLAY_PRIM_TRIANGLESTRIP
.subsections_via_symbols
