	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AddLagometerFrameInfo       ## -- Begin function CG_AddLagometerFrameInfo
	.p2align	4, 0x90
_CG_AddLagometerFrameInfo:              ## @CG_AddLagometerFrameInfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cg@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	subl	4(%rax), %ecx
	movq	_lagometer@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movslq	8(%rax), %rsi
	movq	_LAG_SAMPLES@GOTPCREL(%rip), %rdi
	movslq	(%rdi), %rdi
	decq	%rdi
	andq	%rsi, %rdi
	movl	%ecx, (%rdx,%rdi,4)
	incl	8(%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg,8,2                         ## @cg
	.comm	_lagometer,16,3                 ## @lagometer
	.comm	_LAG_SAMPLES,4,2                ## @LAG_SAMPLES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AddLagometerFrameInfo       ; -- Begin function CG_AddLagometerFrameInfo
	.p2align	2
_CG_AddLagometerFrameInfo:              ; @CG_AddLagometerFrameInfo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cg@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cg@GOTPAGEOFF]
	ldp	w9, w8, [x8]
	sub	w8, w9, w8
Lloh2:
	adrp	x9, _lagometer@GOTPAGE
Lloh3:
	ldr	x9, [x9, _lagometer@GOTPAGEOFF]
	ldr	x10, [x9]
	ldr	w11, [x9, #8]
Lloh4:
	adrp	x12, _LAG_SAMPLES@GOTPAGE
Lloh5:
	ldr	x12, [x12, _LAG_SAMPLES@GOTPAGEOFF]
Lloh6:
	ldr	w12, [x12]
	sub	w12, w12, #1
	and	w11, w12, w11
	str	w8, [x10, w11, sxtw #2]
	ldr	w8, [x9, #8]
	add	w8, w8, #1
	str	w8, [x9, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cg,8,2                         ; @cg
	.comm	_lagometer,16,3                 ; @lagometer
	.comm	_LAG_SAMPLES,4,2                ; @LAG_SAMPLES
.subsections_via_symbols
