	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_ctl             ## -- Begin function menu_animation_ctl
	.p2align	4, 0x90
_menu_animation_ctl:                    ## @menu_animation_ctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpl	$128, %edi
	je	LBB0_9
## %bb.1:
	cmpl	$131, %edi
	je	LBB0_10
## %bb.2:
	cmpl	$130, %edi
	jne	LBB0_13
## %bb.3:
	movq	_anim@GOTPCREL(%rip), %r14
	movl	4(%r14), %edi
	callq	_da_count
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rbx
	movl	4(%r14), %edi
	callq	_da_count
	cmpq	%rax, %rbx
	jae	LBB0_11
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r14), %edi
	movq	%rbx, %rsi
	callq	_da_getptr
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	$0, (%rax)
	jmp	LBB0_5
LBB0_9:
	movq	_animation_is_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_ticker_is_active@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	jmp	LBB0_13
LBB0_10:
	movq	_animation_is_active@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_ticker_is_active@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_11:
	movl	4(%r14), %edi
	callq	_da_free
	movl	(%r14), %edi
	callq	_da_free
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_cur_time@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_old_time@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movq	_delta_time@GOTPCREL(%rip), %rax
LBB0_12:
	movl	$0, (%rax)
LBB0_13:
	movl	$1, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_anim,8,2                       ## @anim
	.comm	_cur_time,4,2                   ## @cur_time
	.comm	_old_time,4,2                   ## @old_time
	.comm	_delta_time,4,2                 ## @delta_time
	.comm	_animation_is_active,4,2        ## @animation_is_active
	.comm	_ticker_is_active,4,2           ## @ticker_is_active
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_ctl             ; -- Begin function menu_animation_ctl
	.p2align	2
_menu_animation_ctl:                    ; @menu_animation_ctl
	.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
	cmp	w0, #128
	b.eq	LBB0_9
; %bb.1:
	cmp	w0, #131
	b.eq	LBB0_10
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_13
; %bb.3:
Lloh0:
	adrp	x19, _anim@GOTPAGE
Lloh1:
	ldr	x19, [x19, _anim@GOTPAGEOFF]
	ldr	w0, [x19, #4]
	bl	_da_count
	cbz	x0, LBB0_11
; %bb.4:
	mov	x20, #0
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x20, x20, #1
	ldr	w0, [x19, #4]
	bl	_da_count
	cmp	x20, x0
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_da_getptr
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	str	xzr, [x0]
	b	LBB0_5
LBB0_9:
Lloh2:
	adrp	x8, _animation_is_active@GOTPAGE
Lloh3:
	ldr	x8, [x8, _animation_is_active@GOTPAGEOFF]
	mov	w9, #1
Lloh4:
	str	w9, [x8]
Lloh5:
	adrp	x8, _ticker_is_active@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ticker_is_active@GOTPAGEOFF]
Lloh7:
	str	w9, [x8]
	b	LBB0_13
LBB0_10:
Lloh8:
	adrp	x8, _animation_is_active@GOTPAGE
Lloh9:
	ldr	x8, [x8, _animation_is_active@GOTPAGEOFF]
Lloh10:
	str	wzr, [x8]
Lloh11:
	adrp	x8, _ticker_is_active@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ticker_is_active@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
	ldr	w0, [x19, #4]
	bl	_da_free
	ldr	w0, [x19]
	bl	_da_free
	mov	x0, x19
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh13:
	adrp	x8, _cur_time@GOTPAGE
Lloh14:
	ldr	x8, [x8, _cur_time@GOTPAGEOFF]
Lloh15:
	str	wzr, [x8]
Lloh16:
	adrp	x8, _old_time@GOTPAGE
Lloh17:
	ldr	x8, [x8, _old_time@GOTPAGEOFF]
Lloh18:
	str	wzr, [x8]
Lloh19:
	adrp	x8, _delta_time@GOTPAGE
Lloh20:
	ldr	x8, [x8, _delta_time@GOTPAGEOFF]
LBB0_12:
	str	wzr, [x8]
LBB0_13:
	mov	w0, #1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotStr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_anim,8,2                       ; @anim
	.comm	_cur_time,4,2                   ; @cur_time
	.comm	_old_time,4,2                   ; @old_time
	.comm	_delta_time,4,2                 ; @delta_time
	.comm	_animation_is_active,4,2        ; @animation_is_active
	.comm	_ticker_is_active,4,2           ; @ticker_is_active
.subsections_via_symbols
