	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_animate_sprite                 ## -- Begin function animate_sprite
	.p2align	4, 0x90
_animate_sprite:                        ## @animate_sprite
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_time@GOTPCREL(%rip), %rax
	testb	$7, (%rax)
	je	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	movq	_sframe@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	incq	%rcx
	movq	_NBSFRAMES@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movl	$0, %edx
	cmovneq	%rcx, %rdx
	movq	%rdx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_tile_sprite                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_time,4,2                       ## @time
	.comm	_sframe,8,3                     ## @sframe
	.comm	_NBSFRAMES,8,3                  ## @NBSFRAMES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_animate_sprite                 ; -- Begin function animate_sprite
	.p2align	2
_animate_sprite:                        ; @animate_sprite
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _time@GOTPAGE
Lloh1:
	ldr	x8, [x8, _time@GOTPAGEOFF]
	ldrb	w8, [x8]
	tst	w8, #0x7
	b.eq	LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh2:
	adrp	x8, _sframe@GOTPAGE
Lloh3:
	ldr	x8, [x8, _sframe@GOTPAGEOFF]
	ldr	x9, [x8]
	add	x10, x9, #1
Lloh4:
	adrp	x11, _NBSFRAMES@GOTPAGE
Lloh5:
	ldr	x11, [x11, _NBSFRAMES@GOTPAGEOFF]
Lloh6:
	ldr	x11, [x11]
	cmp	x10, x11
	csinc	x9, xzr, x9, eq
	str	x9, [x8]
	b	_tile_sprite
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_time,4,2                       ; @time
	.comm	_sframe,8,3                     ; @sframe
	.comm	_NBSFRAMES,8,3                  ; @NBSFRAMES
.subsections_via_symbols
