	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AddLagometerSnapshotInfo    ## -- Begin function CG_AddLagometerSnapshotInfo
	.p2align	4, 0x90
_CG_AddLagometerSnapshotInfo:           ## @CG_AddLagometerSnapshotInfo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_lagometer@GOTPCREL(%rip), %r8
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %r9d
	movq	_lagometer@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movslq	8(%rcx), %rax
	movq	_LAG_SAMPLES@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	andq	%rax, %rdx
	movl	%r9d, (%rsi,%rdx,4)
	addq	$16, %rcx
	movl	4(%rdi), %edx
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %edx
	movq	%r8, %rcx
LBB0_3:
	movq	(%rcx), %rax
	movslq	8(%r8), %rcx
	movq	_LAG_SAMPLES@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	decq	%rsi
	andq	%rcx, %rsi
	movl	%edx, (%rax,%rsi,4)
	incl	8(%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lagometer,24,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_AddLagometerSnapshotInfo    ; -- Begin function CG_AddLagometerSnapshotInfo
	.p2align	2
_CG_AddLagometerSnapshotInfo:           ; @CG_AddLagometerSnapshotInfo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _lagometer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lagometer@GOTPAGEOFF]
Lloh2:
	adrp	x9, _LAG_SAMPLES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _LAG_SAMPLES@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w10, [x0]
	ldr	x11, [x8]
	ldr	w12, [x8, #8]
	ldr	w13, [x9]
	sub	w13, w13, #1
	and	w12, w13, w12
	str	w10, [x11, w12, sxtw #2]
	add	x11, x8, #16
	ldr	w10, [x0, #4]
	b	LBB0_3
LBB0_2:
	mov	w10, #-1
	mov	x11, x8
LBB0_3:
	ldr	x11, [x11]
	ldr	w12, [x8, #8]
	ldr	w9, [x9]
	sub	w9, w9, #1
	and	w9, w9, w12
	str	w10, [x11, w9, sxtw #2]
	ldr	w9, [x8, #8]
	add	w9, w9, #1
	str	w9, [x8, #8]
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_lagometer,24,3                 ; @lagometer
	.comm	_LAG_SAMPLES,4,2                ; @LAG_SAMPLES
.subsections_via_symbols
