	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_kill_by_tag     ## -- Begin function menu_animation_kill_by_tag
	.p2align	4, 0x90
_menu_animation_kill_by_tag:            ## @menu_animation_kill_by_tag
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %r15
	cmpq	$-1, (%rdi)
	je	LBB0_10
## %bb.2:
	movq	_anim@GOTPCREL(%rip), %r12
	movl	4(%r12), %edi
	callq	_da_count
	movl	$1, %r14d
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	4(%r12), %edi
	movl	%ebx, %esi
	callq	_da_delete
	decl	%ebx
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	movl	4(%r12), %edi
	callq	_da_count
	cmpl	%eax, %ebx
	jae	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%r12), %edi
	movl	%ebx, %esi
	callq	_da_getptr
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rax), %rcx
	cmpq	(%r15), %rcx
	jne	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 8(%r12)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	$1, 8(%rax)
	movl	$1, (%r12)
	jmp	LBB0_9
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_anim,16,3                      ## @anim
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_menu_animation_kill_by_tag     ; -- Begin function menu_animation_kill_by_tag
	.p2align	2
_menu_animation_kill_by_tag:            ; @menu_animation_kill_by_tag
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
	cmn	x8, #1
	b.eq	LBB0_10
; %bb.2:
Lloh0:
	adrp	x22, _anim@GOTPAGE
Lloh1:
	ldr	x22, [x22, _anim@GOTPAGEOFF]
	ldr	w0, [x22, #4]
	bl	_da_count
	mov	w20, #1
	cbz	w0, LBB0_12
; %bb.3:
	mov	w21, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	str	w20, [x0, #8]
	str	w20, [x22]
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w21, w21, #1
	ldr	w0, [x22, #4]
	bl	_da_count
	cmp	w21, w0
	b.hs	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #4]
	mov	x1, x21
	bl	_da_getptr
	cbz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x0]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x22, #8]
	cbnz	x8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x22, #4]
	mov	x1, x21
	bl	_da_delete
	sub	w21, w21, #1
	b	LBB0_5
LBB0_10:
	mov	w20, #0
	b	LBB0_12
LBB0_11:
	mov	w20, #1
LBB0_12:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_anim,16,3                      ; @anim
.subsections_via_symbols
