	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function menu_display_draw_keyboard
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
LCPI0_1:
	.quad	0x3ff8000000000000              ## double 1.5
LCPI0_2:
	.quad	0x4024000000000000              ## double 10
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_3:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_menu_display_draw_keyboard
	.p2align	4, 0x90
_menu_display_draw_keyboard:            ## @menu_display_draw_keyboard
	.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	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -124(%rbp)                ## 4-byte Spill
	movl	%r8d, %r13d
	movq	%rcx, -232(%rbp)                ## 8-byte Spill
	movq	%rdx, %rcx
	movq	%rsi, %r14
	movq	%rdi, -184(%rbp)                ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	(%rdx), %ebx
	movl	4(%rdx), %r15d
	movaps	l___const.menu_display_draw_keyboard.white+48(%rip), %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	l___const.menu_display_draw_keyboard.white+32(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	l___const.menu_display_draw_keyboard.white+16(%rip), %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	l___const.menu_display_draw_keyboard.white(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	mulsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, -120(%rbp)               ## 8-byte Spill
	cvttsd2si	%xmm0, %rdx
	movq	_osk_dark@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rcx, %rdi
	xorl	%esi, %esi
	movl	%ebx, %ecx
	movl	%edx, %r8d
	movl	%ebx, %r9d
	pushq	(%rax)
	pushq	%r15
	callq	_menu_display_draw_quad
	addq	$16, %rsp
	movl	$3123612579, %eax               ## imm = 0xBA2E8BA3
	cvtsi2sd	%rbx, %xmm1
	movq	%rbx, -152(%rbp)                ## 8-byte Spill
	imulq	%rax, %rbx
	shrq	$35, %rbx
	movl	$3435973837, %ecx               ## imm = 0xCCCCCCCD
	imulq	%r15, %rcx
	shrq	$35, %rcx
	cmpl	%ecx, %ebx
	cmovael	%ecx, %ebx
	movsd	LCPI0_0(%rip), %xmm2            ## xmm2 = mem[0],zero
	mulsd	%xmm2, %xmm1
	leal	(%rbx,%rbx,4), %eax
	leal	(%rbx,%rax,2), %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%eax, %xmm0
	mulsd	%xmm2, %xmm0
	movapd	%xmm2, %xmm4
	subsd	%xmm0, %xmm1
	movsd	%xmm1, -144(%rbp)               ## 8-byte Spill
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	movsd	LCPI0_1(%rip), %xmm1            ## xmm1 = mem[0],zero
	mulsd	%xmm0, %xmm1
	movq	%rbx, -136(%rbp)                ## 8-byte Spill
	xorps	%xmm2, %xmm2
	cvtsi2sd	%ebx, %xmm2
	movsd	-120(%rbp), %xmm3               ## 8-byte Reload
                                        ## xmm3 = mem[0],zero
	addsd	%xmm3, %xmm1
	movsd	%xmm1, -160(%rbp)               ## 8-byte Spill
	mulsd	%xmm4, %xmm2
	movsd	%xmm2, -224(%rbp)               ## 8-byte Spill
	addsd	%xmm0, %xmm3
	movsd	%xmm3, -120(%rbp)               ## 8-byte Spill
	movl	%r13d, %eax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movq	%r14, -176(%rbp)                ## 8-byte Spill
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-192(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rdi
	callq	_menu_display_blend_begin
	addl	%r12d, %r15d
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	imull	%ecx, %r15d
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	addsd	-144(%rbp), %xmm0               ## 8-byte Folded Reload
	movsd	%xmm0, -208(%rbp)               ## 8-byte Spill
	cvttsd2si	%xmm0, %rsi
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	movsd	%xmm1, -200(%rbp)               ## 8-byte Spill
	movsd	-160(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %rdx
	subq	$8, %rsp
	movq	%r14, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-168(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	-152(%rbp), %r9                 ## 8-byte Reload
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	-184(%rbp)                      ## 8-byte Folded Reload
	leaq	-112(%rbp), %rax
	pushq	%rax
	pushq	%r13
	callq	_menu_display_draw_texture
	addq	$32, %rsp
	movq	%r14, %rdi
	movq	-176(%rbp), %r14                ## 8-byte Reload
	callq	_menu_display_blend_end
	movsd	-208(%rbp), %xmm0               ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	-200(%rbp), %xmm1               ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	movl	-124(%rbp), %eax                ## 4-byte Reload
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%r13, %r15
	addsd	-120(%rbp), %xmm1               ## 8-byte Folded Reload
	addsd	-224(%rbp), %xmm0               ## 8-byte Folded Reload
	cvttsd2si	%xmm0, %rdx
	movq	-232(%rbp), %rcx                ## 8-byte Reload
	movq	(%rcx,%r12,8), %rsi
	movslq	(%r14), %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdi
	shrq	$63, %rdi
	shrq	$32, %rcx
	addl	%edi, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	addsd	%xmm1, %xmm0
	cvttsd2si	%xmm0, %rcx
	movq	_TEXT_ALIGN_CENTER@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
	subq	$8, %rsp
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-152(%rbp), %r8                 ## 8-byte Reload
                                        ## kill: def $r8d killed $r8d killed $r8
	movl	%r15d, %r9d
	movss	LCPI0_3(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	%rbx
	pushq	%rax
	callq	_menu_display_draw_text
	addq	$48, %rsp
	incq	%r12
	cmpq	$44, %r12
	je	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %eax
	movl	$3123612579, %ecx               ## imm = 0xBA2E8BA3
	imulq	%rcx, %rax
	shrq	$35, %rax
	movq	%r15, %r13
	imull	$-11, %eax, %r15d
	movzbl	%r12b, %eax
	imull	$117, %eax, %eax
	shrl	$8, %eax
	movl	%r12d, %ecx
	subb	%al, %cl
	shrb	%cl
	addb	%al, %cl
	shrb	$3, %cl
	movzbl	%cl, %eax
	imull	%r13d, %eax
	xorps	%xmm0, %xmm0
	cvtsi2sd	%rax, %xmm0
	divsd	LCPI0_2(%rip), %xmm0
	cvttsd2si	%xmm0, %ebx
	cmpq	%r12, -216(%rbp)                ## 8-byte Folded Reload
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	addl	%r12d, %r15d
	imull	-136(%rbp), %r15d               ## 4-byte Folded Reload
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	addsd	-144(%rbp), %xmm0               ## 8-byte Folded Reload
	xorps	%xmm1, %xmm1
	cvtsi2sd	%ebx, %xmm1
	movl	$-1, %eax
	jmp	LBB0_4
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.menu_display_draw_keyboard.white
l___const.menu_display_draw_keyboard.white:
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1
	.long	0x3f800000                      ## float 1

	.comm	_osk_dark,8,3                   ## @osk_dark
	.comm	_TEXT_ALIGN_CENTER,4,2          ## @TEXT_ALIGN_CENTER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_display_draw_keyboard     ; -- Begin function menu_display_draw_keyboard
	.p2align	2
_menu_display_draw_keyboard:            ; @menu_display_draw_keyboard
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #288
	.cfi_def_cfa_offset 288
	stp	d15, d14, [sp, #128]            ; 16-byte Folded Spill
	stp	d13, d12, [sp, #144]            ; 16-byte Folded Spill
	stp	d11, d10, [sp, #160]            ; 16-byte Folded Spill
	stp	d9, d8, [sp, #176]              ; 16-byte Folded Spill
	stp	x28, x27, [sp, #192]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #208]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #224]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #240]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #256]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #272]            ; 16-byte Folded Spill
	add	x29, sp, #272
	.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
	.cfi_offset b10, -120
	.cfi_offset b11, -128
	.cfi_offset b12, -136
	.cfi_offset b13, -144
	.cfi_offset b14, -152
	.cfi_offset b15, -160
	str	w5, [sp, #44]                   ; 4-byte Folded Spill
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	str	x0, [sp, #32]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #112]
Lloh3:
	adrp	x8, l___const.menu_display_draw_keyboard.white@PAGE
Lloh4:
	add	x8, x8, l___const.menu_display_draw_keyboard.white@PAGEOFF
	ldp	w24, w25, [x2]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp, #48]
	ldp	q0, q1, [x8, #32]
	stp	q0, q1, [sp, #80]
	ucvtf	d0, w25
	fmov	d10, #0.50000000
	fmul	d11, d0, d10
	fcvtzu	w2, d11
Lloh5:
	adrp	x8, _osk_dark@GOTPAGE
Lloh6:
	ldr	x8, [x8, _osk_dark@GOTPAGEOFF]
Lloh7:
	ldr	x7, [x8]
	mov	x0, x21
	mov	w1, #0
	mov	x3, x24
	mov	x4, x2
	mov	x5, x24
	mov	x6, x25
	bl	_menu_display_draw_quad
	mov	x28, #0
	mov	w8, #35747
	movk	w8, #47662, lsl #16
	mul	x8, x24, x8
	lsr	x8, x8, #35
	mov	w9, #52429
	movk	w9, #52428, lsl #16
	mul	x9, x25, x9
	lsr	x9, x9, #35
	cmp	w8, w9
	csel	w27, w8, w9, lo
	ucvtf	d0, w24
	fmul	d0, d0, d10
	mov	w8, #11
	mul	w8, w27, w8
	scvtf	d1, w8
	fmul	d1, d1, d10
	fsub	d8, d0, d1
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	scvtf	d0, w9
	fmov	d1, #1.50000000
	fmadd	d9, d0, d1, d11
	scvtf	d1, w27
	fmul	d10, d1, d10
	fadd	d11, d11, d0
	mov	w23, w19
	fmov	d12, #10.00000000
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	bl	_menu_display_blend_begin
	mov	w8, #11
	msub	w8, w26, w8, w28
	and	w8, w8, #0xff
	mul	w8, w27, w8
	ucvtf	d0, w8
	fadd	d13, d8, d0
	fcvtzu	w1, d13
	scvtf	d14, w19
	fadd	d0, d9, d14
	fcvtzu	w2, d0
	ldp	x4, x8, [sp, #24]               ; 16-byte Folded Reload
	str	x8, [sp]
	add	x7, sp, #48
	mov	x0, x21
	mov	x3, x27
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	x5, x24
	mov	x6, x25
	bl	_menu_display_draw_texture
	mov	x0, x21
	bl	_menu_display_blend_end
	ldr	w6, [sp, #44]                   ; 4-byte Folded Reload
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x20, x28, lsl #3]
	fadd	d0, d10, d13
	fcvtzu	w2, d0
	fadd	d0, d11, d14
	ldrsw	x8, [x22]
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	scvtf	d1, w8
	fadd	d0, d0, d1
	fcvtzu	w3, d0
Lloh8:
	adrp	x8, _TEXT_ALIGN_CENTER@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TEXT_ALIGN_CENTER@GOTPAGEOFF]
Lloh10:
	ldr	w7, [x8]
	str	wzr, [sp, #8]
	str	xzr, [sp]
	fmov	s0, #1.00000000
	mov	x0, x22
	mov	x4, x24
	mov	x5, x25
	bl	_menu_display_draw_text
	add	x28, x28, #1
	cmp	x28, #44
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	and	w8, w28, #0xff
	mov	w9, #117
	mul	w8, w8, w9
	lsr	w8, w8, #8
	sub	w9, w28, w8
	and	w9, w9, #0xfe
	add	w8, w8, w9, lsr #1
	lsr	w26, w8, #3
	mul	w8, w25, w26
	ucvtf	d0, w8
	fdiv	d0, d0, d12
	fcvtzs	w19, d0
	cmp	x23, x28
	b.eq	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w8, #11
	msub	w8, w26, w8, w28
	and	w8, w8, #0xff
	mul	w8, w27, w8
	ucvtf	d0, w8
	fadd	d13, d8, d0
	scvtf	d14, w19
	mov	w6, #-1
	b	LBB0_2
LBB0_5:
	ldr	x8, [sp, #112]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	ldp	x29, x30, [sp, #272]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #256]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #240]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #224]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #208]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #192]            ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #176]              ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #160]            ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #144]            ; 16-byte Folded Reload
	ldp	d15, d14, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #288
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @__const.menu_display_draw_keyboard.white
l___const.menu_display_draw_keyboard.white:
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1
	.long	0x3f800000                      ; float 1

	.comm	_osk_dark,8,3                   ; @osk_dark
	.comm	_TEXT_ALIGN_CENTER,4,2          ; @TEXT_ALIGN_CENTER
.subsections_via_symbols
