	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tick_handler                   ## -- Begin function tick_handler
	.p2align	4, 0x90
_tick_handler:                          ## @tick_handler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tick_count@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	incl	%eax
	movl	%eax, (%rcx)
	movq	_FRAMES_PER_SECOND@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	testl	%edx, %edx
	je	LBB0_1
## %bb.2:
	popq	%rbp
	retq
LBB0_1:
	movq	_frames_rendered@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_frame_rate@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	$0, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tick_count,4,2                 ## @tick_count
	.comm	_FRAMES_PER_SECOND,4,2          ## @FRAMES_PER_SECOND
	.comm	_frames_rendered,8,3            ## @frames_rendered
	.comm	_frame_rate,8,3                 ## @frame_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tick_handler                   ; -- Begin function tick_handler
	.p2align	2
_tick_handler:                          ; @tick_handler
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _tick_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tick_count@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _FRAMES_PER_SECOND@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FRAMES_PER_SECOND@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	cbz	w8, LBB0_2
; %bb.1:
	ret
LBB0_2:
Lloh5:
	adrp	x8, _frames_rendered@GOTPAGE
Lloh6:
	ldr	x8, [x8, _frames_rendered@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh7:
	adrp	x10, _frame_rate@GOTPAGE
Lloh8:
	ldr	x10, [x10, _frame_rate@GOTPAGEOFF]
Lloh9:
	str	x9, [x10]
	str	xzr, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_tick_count,4,2                 ; @tick_count
	.comm	_FRAMES_PER_SECOND,4,2          ; @FRAMES_PER_SECOND
	.comm	_frames_rendered,8,3            ; @frames_rendered
	.comm	_frame_rate,8,3                 ; @frame_rate
.subsections_via_symbols
