	.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_animation_line_ticker_smooth_generic
LCPI0_0:
	.long	0x3f800000                      ## float 1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_menu_animation_line_ticker_smooth_generic: ## @menu_animation_line_ticker_smooth_generic
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %rbx
	movq	%r8, %r15
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movl	%esi, -92(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	88(%rbp), %r12
	movq	80(%rbp), %r13
	movq	72(%rbp), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	64(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	56(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	48(%rbp), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movq	40(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	32(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	24(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_get_line_smooth_scroll_ticks
	movq	%rax, %r8
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%rbx, %r9
	subq	%r15, %r9
	leaq	(%r9,%r9), %rcx
	addq	$2, %rcx
	imulq	%rax, %rcx
	movq	%r14, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	xorl	%edi, %edi
	xorl	%ebx, %ebx
	subq	%r8, %rdx
	setb	%bl
	movl	$0, %ecx
	cmovaeq	%rdx, %rcx
	movq	%r8, %r10
	imulq	%r9, %r10
	cmpq	%r10, %rcx
	jae	LBB0_5
## %bb.4:
	movq	%rcx, %r11
	movl	$1, %edi
	jmp	LBB0_6
LBB0_5:
	leaq	1(%r9), %rax
	imulq	%r8, %rax
	movq	%rcx, %rdx
	subq	%rax, %rdx
	movl	$0, %r11d
	cmovaeq	%rdx, %r11
	movl	$1, %eax
	cmovbl	%eax, %ebx
LBB0_6:
	movq	%r11, %rsi
	orq	%r8, %rsi
	shrq	$32, %rsi
	je	LBB0_7
## %bb.8:
	movq	%r11, %rax
	xorl	%edx, %edx
	divq	%r8
	testl	%ebx, %ebx
	je	LBB0_10
	jmp	LBB0_11
LBB0_7:
	movl	%r11d, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	testl	%ebx, %ebx
	jne	LBB0_11
LBB0_10:
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.19:
	decq	%r15
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, (%rsi)
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-92(%rbp), %r11d                ## 4-byte Reload
	movl	%r11d, (%rsi)
	cmpq	%r10, %rcx
	jae	LBB0_30
## %bb.20:
	incq	%rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	movq	%r12, %rsi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%rsi, %r9
	js	LBB0_21
## %bb.22:
	cvtsi2ss	%rcx, %xmm0
	jmp	LBB0_23
LBB0_11:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	%r15, (%rax)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	$0, (%rax)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	testl	%ebx, %ebx
	je	LBB0_13
## %bb.12:
	xorl	%eax, %eax
	cmpq	%r10, %rcx
	cmovbq	%rax, %r9
	movq	%r12, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_30:
	subq	%rax, %r9
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r9, (%rax)
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	movq	%r12, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	js	LBB0_31
## %bb.32:
	cvtsi2ss	%rcx, %xmm1
	jmp	LBB0_33
LBB0_13:
	testq	%rsi, %rsi
	movq	%r12, %rbx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_14
## %bb.15:
	movq	%r11, %rax
	xorl	%edx, %edx
	divq	%r8
	jmp	LBB0_16
LBB0_21:
	movq	%rcx, %rbx
	shrq	%rbx
	movl	%ecx, %esi
	andl	$1, %esi
	orq	%rbx, %rsi
	cvtsi2ss	%rsi, %xmm0
	addss	%xmm0, %xmm0
LBB0_23:
	movq	%r8, %rsi
	subq	%rdx, %rsi
	js	LBB0_24
## %bb.25:
	cvtsi2ss	%rsi, %xmm1
	jmp	LBB0_26
LBB0_31:
	movq	%rcx, %rax
	shrq	%rax
	movl	%ecx, %esi
	andl	$1, %esi
	orq	%rax, %rsi
	cvtsi2ss	%rsi, %xmm1
	addss	%xmm1, %xmm1
LBB0_33:
	movq	%r8, %rax
	subq	%rdx, %rax
	js	LBB0_34
## %bb.35:
	cvtsi2ss	%rax, %xmm2
	testq	%r8, %r8
	jns	LBB0_38
LBB0_37:
	movq	%r8, %rax
	shrq	%rax
	movl	%r8d, %esi
	andl	$1, %esi
	orq	%rax, %rsi
	cvtsi2ss	%rsi, %xmm0
	addss	%xmm0, %xmm0
	jmp	LBB0_39
LBB0_24:
	movq	%rsi, %rbx
	shrq	%rbx
	andl	$1, %esi
	orq	%rbx, %rsi
	cvtsi2ss	%rsi, %xmm1
	addss	%xmm1, %xmm1
LBB0_26:
	mulss	%xmm1, %xmm0
	testq	%r8, %r8
	js	LBB0_27
## %bb.28:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%r8, %xmm1
	jmp	LBB0_29
LBB0_34:
	movq	%rax, %rsi
	shrq	%rsi
	andl	$1, %eax
	orq	%rsi, %rax
	cvtsi2ss	%rax, %xmm2
	addss	%xmm2, %xmm2
	testq	%r8, %r8
	js	LBB0_37
LBB0_38:
	cvtsi2ss	%r8, %xmm0
LBB0_39:
	divss	%xmm0, %xmm2
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	subss	%xmm2, %xmm0
	mulss	%xmm1, %xmm0
	movq	%r9, %rax
	jmp	LBB0_40
LBB0_27:
	movq	%r8, %rbx
	shrq	%rbx
	movl	%r8d, %esi
	andl	$1, %esi
	orq	%rbx, %rsi
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rsi, %xmm1
	addss	%xmm1, %xmm1
LBB0_29:
	movq	%r9, %rbx
	divss	%xmm1, %xmm0
LBB0_40:
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	movss	%xmm0, (%rsi)
	testl	%r11d, %r11d
	je	LBB0_18
## %bb.41:
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi), %r9
	subq	$8, %rsp
                                        ## kill: def $edi killed $edi killed $rdi
	movq	%r8, %rsi
	movq	-128(%rbp), %r8                 ## 8-byte Reload
	pushq	%rbx
	pushq	%r13
	pushq	%r14
	pushq	%r15
	pushq	%r12
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	pushq	%rax
	callq	_set_line_smooth_fade_parameters
	addq	$64, %rsp
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	je	LBB0_18
## %bb.42:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	%r11d, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $eax killed $eax def $rax
LBB0_16:
	subq	%rax, %r9
	cmpq	%r10, %rcx
	cmovbq	%rax, %r9
LBB0_17:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%r9, (%rax)
LBB0_18:
	movq	-120(%rbp), %rdi                ## 8-byte Reload
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	movq	%r13, %r8
	movq	%rbx, %r9
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_line_smooth_fade_parameters_default ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_menu_animation_line_ticker_smooth_generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function menu_animation_line_ticker_smooth_generic
_menu_animation_line_ticker_smooth_generic: ; @menu_animation_line_ticker_smooth_generic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [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 w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x7
	mov	x27, x6
	mov	x25, x5
	mov	x20, x4
	mov	x24, x3
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x29, #72]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldp	x8, x26, [x29, #56]
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #48]
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #40]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #32]
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	ldp	x23, x22, [x29, #16]
	mov	x0, x2
	bl	_get_line_smooth_scroll_ticks
	mov	x1, x0
	sub	x8, x25, x20
	lsl	x9, x8, #1
	add	x9, x9, #2
	mul	x9, x0, x9
	udiv	x10, x21, x9
	msub	x9, x10, x9, x21
	subs	x9, x9, x0
	cset	w11, lo
	csel	x9, xzr, x9, lo
	mul	x10, x0, x8
	mov	w14, #1
	madd	x12, x0, x8, x0
	subs	x12, x9, x12
	csel	x12, xzr, x12, lo
	csinc	w15, w11, wzr, hs
	cmp	x9, x10
	csel	x13, x9, x12, lo
	csel	w12, w11, w15, lo
	csel	w0, w14, wzr, lo
	udiv	x11, x13, x1
	cbnz	w12, LBB0_4
; %bb.1:
	msub	x2, x11, x1, x13
	cbz	x2, LBB0_4
; %bb.2:
	sub	x12, x20, #1
	str	x12, [x27]
	str	w19, [x22]
	cmp	x9, x10
	b.hs	LBB0_6
; %bb.3:
	add	x6, x11, #1
	str	x6, [x28]
	mov	x3, x24
	ucvtf	s0, x24
	sub	x8, x1, x2
	ucvtf	s1, x8
	fmul	s0, s0, s1
	ucvtf	s1, x1
	fdiv	s0, s0, s1
	b	LBB0_7
LBB0_4:
	str	x20, [x27]
	str	wzr, [x23]
	str	wzr, [x22]
	cbz	w12, LBB0_10
; %bb.5:
	cmp	x9, x10
	csel	x8, xzr, x8, lo
	b	LBB0_11
LBB0_6:
	sub	x6, x8, x11
	str	x6, [x28]
	mov	x3, x24
	ucvtf	s0, x24
	sub	x8, x1, x2
	ucvtf	s1, x8
	ucvtf	s2, x1
	fdiv	s1, s1, s2
	fmov	s2, #1.00000000
	fsub	s1, s2, s1
	fmul	s0, s1, s0
LBB0_7:
	ldp	x20, x28, [sp, #40]             ; 16-byte Folded Reload
	mov	x21, x26
	ldp	x26, x24, [sp, #56]             ; 16-byte Folded Reload
	str	s0, [x23]
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	cbz	w19, LBB0_12
; %bb.8:
	ldr	x5, [x27]
	stp	x21, x20, [sp, #24]
	stp	x26, x24, [sp, #8]
	str	x28, [sp]
	mov	x4, x25
	mov	x7, x23
	bl	_set_line_smooth_fade_parameters
	ldr	w8, [x22]
	cbz	w8, LBB0_12
; %bb.9:
	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	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_10:
	sub	x8, x8, x11
	cmp	x9, x10
	csel	x8, x11, x8, lo
LBB0_11:
	mov	x21, x26
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	str	x8, [x28]
	ldr	x26, [sp, #56]                  ; 8-byte Folded Reload
	ldp	x20, x28, [sp, #40]             ; 16-byte Folded Reload
LBB0_12:
	mov	x0, x23
	mov	x1, x28
	mov	x2, x26
	mov	x3, x24
	mov	x4, x21
	mov	x5, x20
	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	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	b	_set_line_smooth_fade_parameters_default
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_menu_animation_line_ticker_smooth_generic
.subsections_via_symbols
