	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function menu_animation_ticker_generic
_menu_animation_ticker_generic:         ## @menu_animation_ticker_generic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movl	%edi, %eax
	movq	(%rcx), %r10
	subq	%rsi, %r10
	leal	(%r10,%r10), %r9d
	addl	$4, %r9d
	cltd
	idivl	%r9d
	cmpl	$2, %edx
	jge	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	leal	2(%r10), %eax
	cmpl	%eax, %edx
	jge	LBB0_4
## %bb.3:
	addl	$-2, %edx
	movl	%edx, %eax
	jmp	LBB0_5
LBB0_4:
	leal	4(%r10), %eax
	movl	%r10d, %edi
	subl	%edx, %edi
	addl	%r10d, %edi
	addl	$4, %edi
	cmpl	%edx, %eax
	movslq	%edi, %rax
	cmovgq	%r10, %rax
LBB0_5:
	movq	%rax, (%r8)
	movq	%rsi, (%rcx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_menu_animation_ticker_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_ticker_generic
_menu_animation_ticker_generic:         ; @menu_animation_ticker_generic
	.cfi_startproc
; %bb.0:
	ldr	x8, [x3]
	sub	x8, x8, x1
	lsl	w9, w8, #1
	add	w9, w9, #4
	sdiv	w10, w0, w9
	msub	w10, w10, w9, w0
	subs	w9, w10, #2
	b.ge	LBB0_2
; %bb.1:
	mov	x9, #0
	b	LBB0_4
LBB0_2:
	add	w11, w8, #2
	cmp	w10, w11
	b.lt	LBB0_4
; %bb.3:
	add	w9, w8, #4
	sub	w11, w8, w10
	add	w11, w11, w9
	sxtw	x11, w11
	cmp	w9, w10
	csel	x9, x8, x11, gt
LBB0_4:
	str	x9, [x2]
	str	x1, [x3]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_menu_animation_ticker_generic
.subsections_via_symbols
