	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function dmlab_fps
LCPI0_0:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dmlab_fps:                             ## @dmlab_fps
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movsd	(%rdi), %xmm0                   ## xmm0 = mem[0],zero
	xorl	%eax, %eax
	xorpd	%xmm1, %xmm1
	ucomisd	%xmm1, %xmm0
	jbe	LBB0_2
## %bb.1:
	movq	_kEngineTimePerExternalTime@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm1                   ## xmm1 = mem[0],zero
	mulsd	LCPI0_0(%rip), %xmm1
	divsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %eax
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kEngineTimePerExternalTime,8,3 ## @kEngineTimePerExternalTime
	.no_dead_strip	_dmlab_fps
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmlab_fps
_dmlab_fps:                             ; @dmlab_fps
	.cfi_startproc
; %bb.0:
	ldr	d0, [x0]
	fcmp	d0, #0.0
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _kEngineTimePerExternalTime@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kEngineTimePerExternalTime@GOTPAGEOFF]
Lloh2:
	ldr	d1, [x8]
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	fdiv	d0, d1, d0
	fcvtzs	w0, d0
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_kEngineTimePerExternalTime,8,3 ; @kEngineTimePerExternalTime
	.no_dead_strip	_dmlab_fps
.subsections_via_symbols
