	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ASE_KeyMESH_ANIMATION
_ASE_KeyMESH_ANIMATION:                 ## @ASE_KeyMESH_ANIMATION
	.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
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_ASE_GetCurrentMesh
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Error                          ## TAILCALL
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	callq	_VERBOSE
	xorl	%edi, %edi
	cmpq	$0, (%r14)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 8(%r14)
	sete	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	$0, 16(%r14)
	sete	%dil
	callq	_assert
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_ASE_KeyMESH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ASE_ParseBracedBlock
	movq	_ase@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movq	(%rax,%rcx,8), %rdx
	incq	%rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	_MAX_ASE_ANIMATION_FRAMES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_4
## %bb.2:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Error                          ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"*MESH"

L_.str.1:                               ## @.str.1
	.asciz	"...found MESH\n"

	.comm	_ASE_KeyMESH,4,2                ## @ASE_KeyMESH
	.comm	_ase,16,3                       ## @ase
	.comm	_MAX_ASE_ANIMATION_FRAMES,8,3   ## @MAX_ASE_ANIMATION_FRAMES
L_.str.2:                               ## @.str.2
	.asciz	"Too many animation frames"

L_.str.3:                               ## @.str.3
	.asciz	"Unknown token '%s' while parsing MESH_ANIMATION"

	.no_dead_strip	_ASE_KeyMESH_ANIMATION
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ASE_KeyMESH_ANIMATION
_ASE_KeyMESH_ANIMATION:                 ; @ASE_KeyMESH_ANIMATION
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	bl	_ASE_GetCurrentMesh
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strcmp
	cbz	w0, LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh2:
	adrp	x0, l_.str.3@PAGE
Lloh3:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_Error
	b	LBB0_4
LBB0_2:
Lloh4:
	adrp	x0, l_.str.1@PAGE
Lloh5:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_VERBOSE
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w0, eq
	bl	_assert
	mov	x0, x19
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh6:
	adrp	x8, _ASE_KeyMESH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASE_KeyMESH@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_ASE_ParseBracedBlock
Lloh9:
	adrp	x8, _ase@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ase@GOTPAGEOFF]
	ldp	x8, x9, [x8]
	lsl	x8, x8, #3
	ldr	x10, [x9, x8]
	add	x10, x10, #1
	str	x10, [x9, x8]
Lloh11:
	adrp	x8, _MAX_ASE_ANIMATION_FRAMES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAX_ASE_ANIMATION_FRAMES@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_4
; %bb.3:
Lloh14:
	adrp	x0, l_.str.2@PAGE
Lloh15:
	add	x0, x0, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_Error
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"*MESH"

l_.str.1:                               ; @.str.1
	.asciz	"...found MESH\n"

	.comm	_ASE_KeyMESH,4,2                ; @ASE_KeyMESH
	.comm	_ase,16,3                       ; @ase
	.comm	_MAX_ASE_ANIMATION_FRAMES,8,3   ; @MAX_ASE_ANIMATION_FRAMES
l_.str.2:                               ; @.str.2
	.asciz	"Too many animation frames"

l_.str.3:                               ; @.str.3
	.asciz	"Unknown token '%s' while parsing MESH_ANIMATION"

	.no_dead_strip	_ASE_KeyMESH_ANIMATION
.subsections_via_symbols
