	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_LRU                       ## -- Begin function free_LRU
	.p2align	4, 0x90
_free_LRU:                              ## @free_LRU
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_verbosity@GOTPCREL(%rip), %r15
	cmpl	$3, (%r15)
	jl	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
LBB0_2:
	movq	_Counters@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	_counters_prime@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.3:
	cmpl	$3, (%r15)
	jl	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	16(%rax), %rdx
	movl	24(%rax), %ecx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rax
LBB0_5:
	movq	16(%rax), %r12
	cmpq	%rax, %r12
	je	LBB0_6
## %bb.8:
	testq	%r12, %r12
	je	LBB0_9
## %bb.10:
	movl	8(%r12), %edi
	xorl	%esi, %esi
	callq	_get_counter_f
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %rbx
	movq	(%rax), %rax
	cmpq	%r12, %rax
	jne	LBB0_11
## %bb.13:
	movl	$1, %edi
	callq	_assert
	movq	$0, (%rbx)
LBB0_14:
	movl	$1, %r14d
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_free_counter
	movq	_deleted_by_lru@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_15
LBB0_6:
	cmpl	$3, (%r15)
	jl	LBB0_15
## %bb.7:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_fprintf
	jmp	LBB0_15
LBB0_9:
	movl	$1, %r14d
LBB0_15:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"free_LRU\n"

	.comm	_Counters,8,3                   ## @Counters
	.comm	_counters_prime,8,3             ## @counters_prime
L_.str.1:                               ## @.str.1
	.asciz	"first and last are %p and %p\n"

L_.str.2:                               ## @.str.2
	.asciz	"No elements can be deleted by LRU. Failed to free mem.\n"

	.comm	_deleted_by_lru,4,2             ## @deleted_by_lru
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_free_LRU                       ; -- Begin function free_LRU
	.p2align	2
_free_LRU:                              ; @free_LRU
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
Lloh0:
	adrp	x20, _verbosity@GOTPAGE
Lloh1:
	ldr	x20, [x20, _verbosity@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _stderr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
LBB0_2:
Lloh7:
	adrp	x19, _Counters@GOTPAGE
Lloh8:
	ldr	x19, [x19, _Counters@GOTPAGEOFF]
	ldr	x8, [x19]
Lloh9:
	adrp	x21, _counters_prime@GOTPAGE
Lloh10:
	ldr	x21, [x21, _counters_prime@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_14
; %bb.3:
	ldr	w9, [x20]
	cmp	w9, #3
	b.lt	LBB0_5
; %bb.4:
Lloh11:
	adrp	x9, _stderr@GOTPAGE
Lloh12:
	ldr	x9, [x9, _stderr@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x9]
	ldr	x9, [x8, #16]
	ldr	w8, [x8, #24]
	stp	x9, x8, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	x8, [x19]
	ldr	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
LBB0_5:
	ldr	x19, [x8, #16]
	cmp	x19, x8
	b.eq	LBB0_12
; %bb.6:
	cbz	x19, LBB0_16
; %bb.7:
	ldr	w0, [x19, #8]
	mov	w1, #0
	bl	_get_counter_f
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x20, x0
	ldr	x0, [x0]
	cmp	x0, x19
	b.ne	LBB0_8
; %bb.10:
	mov	w0, #1
	bl	_assert
	str	xzr, [x20]
LBB0_11:
	mov	w20, #1
	mov	x0, x19
	mov	w1, #1
	bl	_free_counter
Lloh16:
	adrp	x8, _deleted_by_lru@GOTPAGE
Lloh17:
	ldr	x8, [x8, _deleted_by_lru@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
	b	LBB0_15
LBB0_12:
	ldr	w8, [x20]
	cmp	w8, #3
	b.lt	LBB0_14
; %bb.13:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.2@PAGE
Lloh22:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
LBB0_14:
	mov	w20, #0
LBB0_15:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_16:
	mov	w20, #1
	b	LBB0_15
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"free_LRU\n"

	.comm	_Counters,8,3                   ; @Counters
	.comm	_counters_prime,8,3             ; @counters_prime
l_.str.1:                               ; @.str.1
	.asciz	"first and last are %p and %p\n"

l_.str.2:                               ; @.str.2
	.asciz	"No elements can be deleted by LRU. Failed to free mem.\n"

	.comm	_deleted_by_lru,4,2             ; @deleted_by_lru
.subsections_via_symbols
