	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_ring_ordered
_add_ring_ordered:                      ## @add_ring_ordered
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %r8
	leaq	8(%rdi), %rdx
	movq	(%rsi), %rsi
	movq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rax
	movq	8(%rcx), %rcx
	cmpq	%rdx, %rcx
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rsi, (%rcx)
	jb	LBB0_1
	jmp	LBB0_4
LBB0_2:
	movq	%rdx, %rcx
LBB0_4:
	movq	%rax, 16(%r8)
	movq	%rcx, 8(%r8)
	movq	%r8, 16(%rcx)
	movq	%r8, 8(%rax)
	incl	(%rdi)
	movq	%r8, %rdi
	popq	%rbp
	jmp	_add_lru                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_ring_ordered
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_ring_ordered
_add_ring_ordered:                      ; @add_ring_ordered
	.cfi_startproc
; %bb.0:
	add	x10, x0, #8
	ldr	x11, [x1]
	mov	x9, x10
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x8, x9
	ldr	x9, [x9, #8]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x12, [x9]
	cmp	x12, x11
	b.lo	LBB0_1
	b	LBB0_4
LBB0_3:
	mov	x9, x10
LBB0_4:
	stp	x9, x8, [x1, #8]
	str	x1, [x9, #16]
	str	x1, [x8, #8]
	ldr	w8, [x0]
	add	w8, w8, #1
	str	w8, [x0]
	mov	x0, x1
	b	_add_lru
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_ring_ordered
.subsections_via_symbols
