	.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_text
LCPI0_0:
	.long	0xc2800000                      ## float -64
LCPI0_1:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_2:
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.long	0x80000000                      ## float -0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_menu_display_draw_text
	.p2align	4, 0x90
_menu_display_draw_text:                ## @menu_display_draw_text
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	testb	%r8b, %r8b
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rax
	cmpl	$0, 24(%rbp)
	je	LBB0_2
LBB0_6:
	movl	16(%rbp), %edi
	xorps	%xmm4, %xmm4
	cvtsi2ss	%edx, %xmm4
	divss	%xmm4, %xmm0
	xorps	%xmm4, %xmm4
	cvtsi2ss	%ecx, %xmm4
	movss	%xmm0, -40(%rbp)
	divss	%xmm4, %xmm1
	movss	LCPI0_1(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm1, %xmm0
	movss	%xmm0, -36(%rbp)
	movss	%xmm2, -32(%rbp)
	movq	$0, -28(%rbp)
	movl	$0, -20(%rbp)
	movl	%r8d, -16(%rbp)
	movl	$1, -12(%rbp)
	movl	%r9d, -8(%rbp)
	testl	%edi, %edi
	je	LBB0_8
## %bb.7:
	movss	%xmm3, -24(%rbp)
	xorps	LCPI0_2(%rip), %xmm3
	movss	%xmm3, -20(%rbp)
	movl	$1051931443, -4(%rbp)           ## imm = 0x3EB33333
LBB0_8:
	leaq	-40(%rbp), %rcx
	movq	%rsi, %rdi
	movq	%rcx, %rsi
	movq	%rax, %rdx
	callq	_video_driver_set_osd_msg
	jmp	LBB0_9
LBB0_2:
	movss	LCPI0_0(%rip), %xmm4            ## xmm4 = mem[0],zero,zero,zero
	ucomiss	%xmm0, %xmm4
	ja	LBB0_9
## %bb.3:
	ucomiss	%xmm1, %xmm4
	ja	LBB0_9
## %bb.4:
	leal	64(%rdx), %edi
	xorps	%xmm4, %xmm4
	cvtsi2ss	%edi, %xmm4
	ucomiss	%xmm4, %xmm0
	ja	LBB0_9
## %bb.5:
	leal	64(%rcx), %edi
	xorps	%xmm4, %xmm4
	cvtsi2ss	%edi, %xmm4
	ucomiss	%xmm4, %xmm1
	jbe	LBB0_6
LBB0_9:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_draw_text         ; -- Begin function menu_display_draw_text
	.p2align	2
_menu_display_draw_text:                ; @menu_display_draw_text
	.cfi_startproc
; %bb.0:
	tst	w4, #0xff
	b.eq	LBB0_6
; %bb.1:
	mov	x8, x1
	mov	x9, x0
	cbz	w7, LBB0_5
LBB0_2:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	scvtf	s4, w2
	fdiv	s0, s0, s4
	scvtf	s4, w3
	fdiv	s1, s1, s4
	fmov	s4, #1.00000000
	fsub	s1, s4, s1
	stp	s0, s1, [sp, #8]
	str	s2, [sp, #16]
	str	xzr, [sp, #24]
	str	wzr, [sp, #20]
	mov	w10, #1
	stp	w4, w10, [sp, #32]
	str	w5, [sp, #40]
	cbz	w6, LBB0_4
; %bb.3:
	fneg	s0, s3
	stp	s3, s0, [sp, #24]
	mov	w10, #13107
	movk	w10, #16051, lsl #16
	str	w10, [sp, #44]
LBB0_4:
	add	x1, sp, #8
	mov	x0, x8
	mov	x2, x9
	bl	_video_driver_set_osd_msg
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	LBB0_6
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	mov	w10, #-1031798784
	fmov	s4, w10
	fcmp	s0, s4
	add	w10, w2, #64
	scvtf	s4, w10
	mov	w10, #-1031798784
	fmov	s5, w10
	fccmp	s1, s5, #8, pl
	fccmp	s4, s0, #8, pl
	add	w10, w3, #64
	scvtf	s4, w10
	fccmp	s4, s1, #8, pl
	b.pl	LBB0_2
LBB0_6:
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
