	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_one_view              ## -- Begin function register_one_view
	.p2align	4, 0x90
_register_one_view:                     ## @register_one_view
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CV_w@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movl	4(%rdi), %edx
	movl	%edx, 8(%rcx)
	movl	%esi, (%rcx)
	movq	_log_last_ts@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 4(%rcx)
	incl	(%rdi)
	addq	$12, %rcx
	movq	_CViews@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_CYCLIC_VIEWS_BUFFER_SIZE@GOTPCREL(%rip), %rsi
	movslq	(%rsi), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	leaq	(%rdx,%rsi,4), %rsi
	cmpq	%rsi, %rcx
	cmoveq	%rdx, %rcx
	movq	%rcx, (%rax)
	movq	_CV_r@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_forget_one_view
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	jmp	_forget_old_views               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CV_w,8,3                       ## @CV_w
	.comm	_log_last_ts,4,2                ## @log_last_ts
	.comm	_CViews,8,3                     ## @CViews
	.comm	_CYCLIC_VIEWS_BUFFER_SIZE,4,2   ## @CYCLIC_VIEWS_BUFFER_SIZE
	.comm	_CV_r,8,3                       ## @CV_r
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_register_one_view              ; -- Begin function register_one_view
	.p2align	2
_register_one_view:                     ; @register_one_view
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _CV_w@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CV_w@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh2:
	adrp	x10, _log_last_ts@GOTPAGE
Lloh3:
	ldr	x10, [x10, _log_last_ts@GOTPAGEOFF]
	str	w1, [x9]
Lloh4:
	ldr	w10, [x10]
	ldp	w12, w11, [x0]
	stp	w10, w11, [x9, #4]
	add	w10, w12, #1
	str	w10, [x0]
	add	x9, x9, #12
Lloh5:
	adrp	x10, _CViews@GOTPAGE
Lloh6:
	ldr	x10, [x10, _CViews@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _CYCLIC_VIEWS_BUFFER_SIZE@GOTPAGE
Lloh9:
	ldr	x11, [x11, _CYCLIC_VIEWS_BUFFER_SIZE@GOTPAGEOFF]
Lloh10:
	ldrsw	x11, [x11]
	mov	w12, #12
	madd	x11, x11, x12, x10
	cmp	x9, x11
	csel	x9, x10, x9, eq
	str	x9, [x8]
Lloh11:
	adrp	x8, _CV_r@GOTPAGE
Lloh12:
	ldr	x8, [x8, _CV_r@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x9, x8
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_forget_old_views
LBB0_2:
	bl	_forget_one_view
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_forget_old_views
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CV_w,8,3                       ; @CV_w
	.comm	_log_last_ts,4,2                ; @log_last_ts
	.comm	_CViews,8,3                     ; @CViews
	.comm	_CYCLIC_VIEWS_BUFFER_SIZE,4,2   ; @CYCLIC_VIEWS_BUFFER_SIZE
	.comm	_CV_r,8,3                       ; @CV_r
.subsections_via_symbols
