	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_animation_line_ticker_smooth_loop
_menu_animation_line_ticker_smooth_loop: ## @menu_animation_line_ticker_smooth_loop
	.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, %r14
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	88(%rbp), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	80(%rbp), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	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, -96(%rbp)                 ## 8-byte Spill
	movq	48(%rbp), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	40(%rbp), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	32(%rbp), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r13
	movq	16(%rbp), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, %rdi
	callq	_get_line_smooth_scroll_ticks
	movq	%r14, %r8
	movq	%rax, %rsi
	leaq	1(%r14), %rcx
	imulq	%rax, %rcx
	movq	%r12, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %rax
	jmp	LBB0_3
LBB0_1:
	movl	%r12d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %eax
LBB0_3:
	movq	%rax, %rcx
	orq	%rsi, %rcx
	shrq	$32, %rcx
	movq	%rbx, %rcx
	movq	-120(%rbp), %r9                 ## 8-byte Reload
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_6:
	movq	%rax, (%r13)
	leaq	-1(%rsi), %rax
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	cmpq	%rax, %rdx
	setne	%dil
	cmovel	%ebx, %r15d
	subq	%rdi, %r9
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%r9, (%rax)
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movl	%r15d, (%rax)
	testq	%rcx, %rcx
	js	LBB0_7
## %bb.8:
	cvtsi2ss	%rcx, %xmm0
	jmp	LBB0_9
LBB0_7:
	movq	%rcx, %rax
	shrq	%rax
	movl	%ecx, %edi
	andl	$1, %edi
	orq	%rax, %rdi
	cvtsi2ss	%rdi, %xmm0
	addss	%xmm0, %xmm0
LBB0_9:
	movq	-72(%rbp), %r10                 ## 8-byte Reload
	movq	-64(%rbp), %r11                 ## 8-byte Reload
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rsi, %rax
	subq	%rdx, %rax
	js	LBB0_10
## %bb.11:
	cvtsi2ss	%rax, %xmm1
	jmp	LBB0_12
LBB0_10:
	movq	%rax, %rdi
	shrq	%rdi
	andl	$1, %eax
	orq	%rdi, %rax
	cvtsi2ss	%rax, %xmm1
	addss	%xmm1, %xmm1
LBB0_12:
	mulss	%xmm1, %xmm0
	testq	%rsi, %rsi
	js	LBB0_13
## %bb.14:
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rsi, %xmm1
	jmp	LBB0_15
LBB0_13:
	movq	%rsi, %rax
	shrq	%rax
	movl	%esi, %edi
	andl	$1, %edi
	orq	%rax, %rdi
	xorps	%xmm1, %xmm1
	cvtsi2ss	%rdi, %xmm1
	addss	%xmm1, %xmm1
LBB0_15:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	divss	%xmm1, %xmm0
	movss	%xmm0, (%rdi)
	testl	%r15d, %r15d
	je	LBB0_17
## %bb.16:
	subq	$8, %rsp
	movl	$1, %edi
	pushq	%rax
	pushq	%r10
	pushq	%r11
	pushq	%r14
	pushq	-96(%rbp)                       ## 8-byte Folded Reload
	pushq	-88(%rbp)                       ## 8-byte Folded Reload
	pushq	(%r13)
	callq	_set_line_smooth_fade_parameters
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	%r11, %rcx
	movq	%r10, %r8
	movq	%rax, %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_loop
.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_loop
_menu_animation_line_ticker_smooth_loop: ; @menu_animation_line_ticker_smooth_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x22, x7
	mov	x28, x6
	mov	x26, x5
	mov	x21, x4
	mov	x20, x3
	mov	x23, x1
	mov	x24, x0
	ldr	x8, [x29, #32]
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #40]
	str	x8, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #48]
	str	x8, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #56]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x29, #64]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x27, [x29, #72]
	ldp	x19, x25, [x29, #16]
	mov	x0, x2
	bl	_get_line_smooth_scroll_ticks
	madd	x8, x0, x26, x0
	udiv	x9, x24, x8
	msub	x8, x9, x8, x24
	udiv	x9, x8, x0
	msub	x2, x9, x0, x8
	str	x9, [x22]
	sub	x8, x0, #1
	cmp	x2, x8
	cset	w8, ne
	csel	w9, wzr, w23, eq
	sub	x5, x21, x8
	str	x5, [x28]
	ucvtf	s0, x20
	sub	x8, x0, x2
	ucvtf	s1, x8
	str	w9, [x25]
	fmul	s0, s0, s1
	ucvtf	s1, x0
	fdiv	s0, s0, s1
	str	s0, [x19]
	cbz	w9, LBB0_2
; %bb.1:
	mov	x1, x0
	ldr	x6, [x22]
	str	x27, [x29, #48]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	str	x8, [x29, #40]
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	str	x8, [x29, #32]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x8, [x29, #24]
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [x29, #16]
	mov	w0, #1
	mov	x3, x20
	mov	x4, x26
	ldr	x7, [sp, #40]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_set_line_smooth_fade_parameters
LBB0_2:
	ldp	x1, x0, [sp, #32]               ; 16-byte Folded Reload
	ldp	x3, x2, [sp, #16]               ; 16-byte Folded Reload
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	mov	x5, x27
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_set_line_smooth_fade_parameters_default
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_menu_animation_line_ticker_smooth_loop
.subsections_via_symbols
