	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ANIMATE_Free
_ANIMATE_Free:                          ## @ANIMATE_Free
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, 112(%rdi)
	je	LBB0_8
## %bb.1:
	movq	%rbx, %rdi
	callq	_ANIMATE_DoStop
	movq	112(%rbx), %rdi
	xorl	%esi, %esi
	callq	_mmioClose
	movq	104(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_FreeResource
	movq	$0, 104(%rbx)
LBB0_3:
	movq	96(%rbx), %rdi
	callq	_heap_free
	movq	$0, 96(%rbx)
	movq	88(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	_fnIC@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movq	$0, 88(%rbx)
LBB0_5:
	movq	80(%rbx), %rdi
	callq	_heap_free
	movq	$0, 80(%rbx)
	movq	72(%rbx), %rdi
	callq	_heap_free
	movq	$0, 72(%rbx)
	movq	64(%rbx), %rdi
	callq	_heap_free
	movq	$0, 64(%rbx)
	movq	56(%rbx), %rdi
	callq	_heap_free
	movq	$0, 56(%rbx)
	movq	48(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.6:
	callq	_DeleteObject
	movq	$0, 48(%rbx)
LBB0_7:
	leaq	44(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	leaq	40(%rbx), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movups	%xmm0, 24(%rbx)
LBB0_8:
	movq	_ANIMATE_COLOR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fnIC,8,3                       ## @fnIC
	.comm	_ANIMATE_COLOR_NONE,4,2         ## @ANIMATE_COLOR_NONE
	.no_dead_strip	_ANIMATE_Free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ANIMATE_Free
_ANIMATE_Free:                          ; @ANIMATE_Free
	.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
	mov	x19, x0
	ldr	x8, [x0, #112]
	cbz	x8, LBB0_8
; %bb.1:
	mov	x0, x19
	bl	_ANIMATE_DoStop
	ldr	x0, [x19, #112]
	mov	w1, #0
	bl	_mmioClose
	ldr	x0, [x19, #104]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_FreeResource
	str	xzr, [x19, #104]
LBB0_3:
	ldr	x0, [x19, #96]
	bl	_heap_free
	str	xzr, [x19, #96]
	ldr	x0, [x19, #88]
	cbz	x0, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _fnIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fnIC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
	str	xzr, [x19, #88]
LBB0_5:
	ldr	x0, [x19, #80]
	bl	_heap_free
	str	xzr, [x19, #80]
	ldr	x0, [x19, #72]
	bl	_heap_free
	str	xzr, [x19, #72]
	ldr	x0, [x19, #64]
	bl	_heap_free
	str	xzr, [x19, #64]
	ldr	x0, [x19, #56]
	bl	_heap_free
	str	xzr, [x19, #56]
	ldr	x0, [x19, #48]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_DeleteObject
	str	xzr, [x19, #48]
LBB0_7:
	add	x0, x19, #44
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x0, x19, #40
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	movi.2d	v0, #0000000000000000
	stur	q0, [x19, #8]
	stur	q0, [x19, #24]
LBB0_8:
Lloh3:
	adrp	x8, _ANIMATE_COLOR_NONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ANIMATE_COLOR_NONE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_fnIC,8,3                       ; @fnIC
	.comm	_ANIMATE_COLOR_NONE,4,2         ; @ANIMATE_COLOR_NONE
	.no_dead_strip	_ANIMATE_Free
.subsections_via_symbols
