	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rs_tl_rm_old_stats
_rs_tl_rm_old_stats:                    ## @rs_tl_rm_old_stats
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$0, 16(%rdi)
	je	LBB0_4
## %bb.1:
	movq	_TID_MAX_TIME_DIFF@GOTPCREL(%rip), %rax
	subq	(%rax), %rsi
	movq	(%rdi), %rax
	movq	_TID_QUEUE_CELL_SPACING@GOTPCREL(%rip), %r8
	movq	_TID_QUEUE_MAX_SIZE@GOTPCREL(%rip), %r9
	xorl	%r10d, %r10d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rax
	jge	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rdi), %rax
	movq	24(%rdi), %rcx
	movl	(%rcx,%rax,8), %edx
	subl	%edx, 32(%rdi)
	movq	$0, (%rcx,%rax,8)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	addq	(%r8), %rax
	movq	%rax, (%rdi)
	incq	%rcx
	decq	16(%rdi)
	setne	%dl
	cmpq	(%r9), %rcx
	cmovaeq	%r10, %rcx
	movq	%rcx, 8(%rdi)
	testb	%dl, %dl
	jne	LBB0_2
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TID_MAX_TIME_DIFF,8,3          ## @TID_MAX_TIME_DIFF
	.comm	_TID_QUEUE_CELL_SPACING,8,3     ## @TID_QUEUE_CELL_SPACING
	.comm	_TID_QUEUE_MAX_SIZE,8,3         ## @TID_QUEUE_MAX_SIZE
	.no_dead_strip	_rs_tl_rm_old_stats
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rs_tl_rm_old_stats
_rs_tl_rm_old_stats:                    ; @rs_tl_rm_old_stats
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _TID_MAX_TIME_DIFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TID_MAX_TIME_DIFF@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x8, x1, x8
	ldr	x11, [x0]
Lloh3:
	adrp	x9, _TID_QUEUE_CELL_SPACING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TID_QUEUE_CELL_SPACING@GOTPAGEOFF]
Lloh5:
	adrp	x10, _TID_QUEUE_MAX_SIZE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _TID_QUEUE_MAX_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x11, x8
	b.ge	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x0, #24]
	ldr	x12, [x0, #8]
	lsl	x12, x12, #3
	ldr	x13, [x11, x12]
	ldr	w14, [x0, #32]
	sub	w13, w14, w13
	str	w13, [x0, #32]
	str	xzr, [x11, x12]
	ldr	x11, [x9]
	ldp	x12, x13, [x0]
	add	x11, x12, x11
	str	x11, [x0]
	ldr	x12, [x0, #16]
	sub	x12, x12, #1
	add	x14, x13, #1
	ldr	x15, [x10]
	cmp	x14, x15
	csinc	x13, xzr, x13, hs
	stp	x13, x12, [x0, #8]
	cbnz	x12, LBB0_2
LBB0_4:
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TID_MAX_TIME_DIFF,8,3          ; @TID_MAX_TIME_DIFF
	.comm	_TID_QUEUE_CELL_SPACING,8,3     ; @TID_QUEUE_CELL_SPACING
	.comm	_TID_QUEUE_MAX_SIZE,8,3         ; @TID_QUEUE_MAX_SIZE
	.no_dead_strip	_rs_tl_rm_old_stats
.subsections_via_symbols
