	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function update_fps
LCPI0_0:
	.quad	0x3ff0000000000000              ## double 1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_update_fps
	.p2align	4, 0x90
_update_fps:                            ## @update_fps
	.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
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	addsd	LCPI0_0(%rip), %xmm0
	movsd	%xmm0, (%rdi)
	xorl	%eax, %eax
	callq	_glfwGetTime
	movapd	%xmm0, %xmm1
	subsd	8(%rbx), %xmm1
	ucomisd	LCPI0_0(%rip), %xmm1
	jb	LBB0_2
## %bb.1:
	movsd	%xmm0, -16(%rbp)                ## 8-byte Spill
	movsd	(%rbx), %xmm0                   ## xmm0 = mem[0],zero
	divsd	%xmm1, %xmm0
	callq	_round
	movl	%eax, 16(%rbx)
	movq	$0, (%rbx)
	movsd	-16(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movsd	%xmm0, 8(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_fps                     ; -- Begin function update_fps
	.p2align	2
_update_fps:                            ; @update_fps
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-48]!             ; 16-byte Folded Spill
	.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
	.cfi_offset b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	ldr	d0, [x0]
	fmov	d9, #1.00000000
	fadd	d0, d0, d9
	str	d0, [x0]
	bl	_glfwGetTime
	fmov	d8, d0
	ldr	d0, [x19, #8]
	fsub	d0, d8, d0
	fcmp	d0, d9
	b.lt	LBB0_2
; %bb.1:
	ldr	d1, [x19]
	fdiv	d0, d1, d0
	bl	_round
	str	w0, [x19, #16]
	str	xzr, [x19]
	str	d8, [x19, #8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
