	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_start_keyframe_animation       ## -- Begin function start_keyframe_animation
	.p2align	4, 0x90
_start_keyframe_animation:              ## @start_keyframe_animation
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movabsq	$8589934591, %rax               ## imm = 0x1FFFFFFFF
	movq	%rax, (%rdi)
	movq	$0, 8(%rdi)
	movq	_MAX_SIMULTANEOUS_ANIMATIONS@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	testl	%r9d, %r9d
	jle	LBB0_6
## %bb.1:
	movq	_animations@GOTPCREL(%rip), %r8
	movq	(%r8), %rsi
	movl	$-1, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rsi,%rcx,8), %rax
	cmpq	%rdi, %rax
	je	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	negq	%rax
	movl	$0, %eax
	sbbl	%eax, %eax
	orl	%ecx, %eax
	cmpl	$-1, %edx
	cmovel	%eax, %edx
	incq	%rcx
	cmpq	%rcx, %r9
	jne	LBB0_2
## %bb.4:
	cmpl	$-1, %edx
	je	LBB0_6
## %bb.5:
	movq	(%r8), %rax
	movslq	%edx, %rcx
	movq	%rdi, (%rax,%rcx,8)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_SIMULTANEOUS_ANIMATIONS,4,2 ## @MAX_SIMULTANEOUS_ANIMATIONS
	.comm	_animations,8,3                 ## @animations
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function start_keyframe_animation
lCPI0_0:
	.long	4294967295                      ; 0xffffffff
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_start_keyframe_animation
	.p2align	2
_start_keyframe_animation:              ; @start_keyframe_animation
	.cfi_startproc
; %bb.0:
	str	xzr, [x0, #8]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
Lloh2:
	adrp	x8, _MAX_SIMULTANEOUS_ANIMATIONS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX_SIMULTANEOUS_ANIMATIONS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x11, #0
Lloh5:
	adrp	x9, _animations@GOTPAGE
Lloh6:
	ldr	x9, [x9, _animations@GOTPAGEOFF]
	ldr	x12, [x9]
	mov	w10, #-1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x12, x11, lsl #3]
	cmp	x13, x0
	b.eq	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	x13, #0
	csinv	w13, w11, wzr, eq
	cmn	w10, #1
	csel	w10, w13, w10, eq
	add	x11, x11, #1
	cmp	x8, x11
	b.ne	LBB0_2
; %bb.4:
	cmn	w10, #1
	b.eq	LBB0_6
; %bb.5:
	ldr	x8, [x9]
	str	x0, [x8, w10, sxtw #3]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_SIMULTANEOUS_ANIMATIONS,4,2 ; @MAX_SIMULTANEOUS_ANIMATIONS
	.comm	_animations,8,3                 ; @animations
.subsections_via_symbols
