	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Slider_Key
_Slider_Key:                            ## @Slider_Key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_19
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%rdi), %eax
	cmpl	4(%rdi), %eax
	jge	LBB0_15
## %bb.3:
	incl	%eax
	jmp	LBB0_6
LBB0_4:
	movl	(%rdi), %eax
	cmpl	8(%rdi), %eax
	jle	LBB0_15
## %bb.5:
	decl	%eax
LBB0_6:
	movl	%eax, (%rdi)
	jmp	LBB0_12
LBB0_15:
	movq	_menu_buzz_sound@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_7:
	movq	_uis@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_SMALLCHAR_WIDTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leal	(%rcx,%rcx), %edx
	addl	24(%rdi), %edx
	subl	%edx, %eax
	cvtsi2ss	%eax, %xmm0
	movq	_SLIDER_RANGE@GOTPCREL(%rip), %rax
	imull	(%rax), %ecx
	movl	(%rdi), %eax
	cvtsi2ss	%ecx, %xmm1
	movl	4(%rdi), %edx
	divss	%xmm1, %xmm0
	movl	8(%rdi), %ecx
	movl	%edx, %esi
	subl	%ecx, %esi
	xorps	%xmm1, %xmm1
	cvtsi2ss	%esi, %xmm1
	mulss	%xmm0, %xmm1
	xorps	%xmm0, %xmm0
	cvtsi2ss	%ecx, %xmm0
	addss	%xmm1, %xmm0
	cvttss2si	%xmm0, %esi
	movl	%esi, (%rdi)
	cmpl	%esi, %ecx
	jg	LBB0_9
## %bb.8:
	movl	%edx, %ecx
	cmpl	%esi, %edx
	jge	LBB0_10
LBB0_9:
	movl	%ecx, (%rdi)
	movl	%ecx, %esi
LBB0_10:
	cmpl	%eax, %esi
	je	LBB0_19
LBB0_12:
	movq	_menu_move_sound@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.17:
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	_QM_ACTIVATED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	callq	*%rax
	jmp	LBB0_20
LBB0_19:
	xorl	%ebx, %ebx
LBB0_20:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_2
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_uis,8,3                        ## @uis
	.comm	_SMALLCHAR_WIDTH,4,2            ## @SMALLCHAR_WIDTH
	.comm	_SLIDER_RANGE,4,2               ## @SLIDER_RANGE
	.comm	_menu_move_sound,8,3            ## @menu_move_sound
	.comm	_menu_buzz_sound,8,3            ## @menu_buzz_sound
	.comm	_QM_ACTIVATED,4,2               ## @QM_ACTIVATED
	.no_dead_strip	_Slider_Key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Slider_Key
_Slider_Key:                            ; @Slider_Key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_12
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_7
; %bb.3:
	add	w8, w8, #1
	b	LBB0_6
LBB0_4:
	ldr	w8, [x0]
	ldr	w9, [x0, #8]
	cmp	w8, w9
	b.le	LBB0_7
; %bb.5:
	sub	w8, w8, #1
LBB0_6:
	str	w8, [x0]
	b	LBB0_13
LBB0_7:
Lloh2:
	adrp	x8, _menu_buzz_sound@GOTPAGE
Lloh3:
	ldr	x8, [x8, _menu_buzz_sound@GOTPAGEOFF]
Lloh4:
	ldr	x19, [x8]
	cbnz	x19, LBB0_14
	b	LBB0_16
LBB0_8:
Lloh5:
	adrp	x8, _uis@GOTPAGE
Lloh6:
	ldr	x8, [x8, _uis@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x0, #24]
Lloh8:
	adrp	x10, _SMALLCHAR_WIDTH@GOTPAGE
Lloh9:
	ldr	x10, [x10, _SMALLCHAR_WIDTH@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	add	w9, w9, w10, lsl #1
	sub	w8, w8, w9
	scvtf	s0, w8
Lloh11:
	adrp	x8, _SLIDER_RANGE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SLIDER_RANGE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	mul	w8, w8, w10
	scvtf	s1, w8
	ldp	w8, w10, [x0]
	ldr	w9, [x0, #8]
	sub	w11, w10, w9
	scvtf	s2, w11
	scvtf	s3, w9
	fdiv	s0, s0, s1
	fmadd	s0, s0, s2, s3
	fcvtzs	w11, s0
	str	w11, [x0]
	cmp	w9, w11
	b.gt	LBB0_10
; %bb.9:
	mov	x9, x10
	cmp	w10, w11
	b.ge	LBB0_11
LBB0_10:
	str	w9, [x0]
	mov	x11, x9
LBB0_11:
	cmp	w11, w8
	b.ne	LBB0_13
LBB0_12:
	mov	x19, #0
	b	LBB0_16
LBB0_13:
Lloh14:
	adrp	x8, _menu_move_sound@GOTPAGE
Lloh15:
	ldr	x8, [x8, _menu_move_sound@GOTPAGEOFF]
Lloh16:
	ldr	x19, [x8]
	cbz	x19, LBB0_16
LBB0_14:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_16
; %bb.15:
Lloh17:
	adrp	x9, _QM_ACTIVATED@GOTPAGE
Lloh18:
	ldr	x9, [x9, _QM_ACTIVATED@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x9]
	blr	x8
LBB0_16:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
                                        ; -- End function
	.comm	_uis,8,3                        ; @uis
	.comm	_SMALLCHAR_WIDTH,4,2            ; @SMALLCHAR_WIDTH
	.comm	_SLIDER_RANGE,4,2               ; @SLIDER_RANGE
	.comm	_menu_move_sound,8,3            ; @menu_move_sound
	.comm	_menu_buzz_sound,8,3            ; @menu_buzz_sound
	.comm	_QM_ACTIVATED,4,2               ; @QM_ACTIVATED
	.no_dead_strip	_Slider_Key
.subsections_via_symbols
