	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_garbage_collector_step   ## -- Begin function cache_garbage_collector_step
	.p2align	4, 0x90
_cache_garbage_collector_step:          ## @cache_garbage_collector_step
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movq	_log_last_ts@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_uri_living_time@GOTPCREL(%rip), %rax
	movl	%edx, %ecx
	subl	(%rax), %ecx
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	callq	_vkprintf
	movq	_uncommited_delete_logevents_bytes@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_garbage_collector@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r12d, %r12d
	testl	%ebx, %ebx
	jle	LBB0_11
## %bb.1:
	xorl	%r14d, %r14d
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movq	_H@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r13d, %rcx
	incl	%r14d
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rax,%rcx,8), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=2
	addq	$16, %rbx
	movq	%rbx, %r15
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	incl	%r14d
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, 24(%rbx)
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, (%rbx)
	jge	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	16(%rbx), %rax
	movq	%rax, (%r15)
	movq	_uri_off@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	8(%rbx), %rdi
	callq	_uri_cache_remove
	movq	%rbx, %rdi
	callq	_cache_uri_do_delete
	incl	%r12d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r13d
	movq	_uri_hash_prime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r13d
	movl	$0, %ecx
	cmovll	%ecx, %eax
	subl	%eax, %r13d
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	cmpl	%eax, %r14d
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%eax, %r12d
	jl	LBB0_2
LBB0_11:
	movq	_garbage_collector@GOTPCREL(%rip), %rax
	movl	%r13d, (%rax)
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_log_last_ts,4,2                ## @log_last_ts
	.comm	_uri_living_time,4,2            ## @uri_living_time
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"log_last_ts: %d, dead_time: %d\n"

	.comm	_uncommited_delete_logevents_bytes,8,3 ## @uncommited_delete_logevents_bytes
	.comm	_garbage_collector,4,2          ## @garbage_collector
	.comm	_H,8,3                          ## @H
	.comm	_uri_off,8,3                    ## @uri_off
	.comm	_uri_hash_prime,4,2             ## @uri_hash_prime
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_garbage_collector_step   ; -- Begin function cache_garbage_collector_step
	.p2align	2
_cache_garbage_collector_step:          ; @cache_garbage_collector_step
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _log_last_ts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _log_last_ts@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _uri_living_time@GOTPAGE
Lloh4:
	ldr	x8, [x8, _uri_living_time@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	sub	w20, w2, w8
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	mov	x3, x20
	bl	_vkprintf
Lloh8:
	adrp	x8, _uncommited_delete_logevents_bytes@GOTPAGE
Lloh9:
	ldr	x8, [x8, _uncommited_delete_logevents_bytes@GOTPAGEOFF]
Lloh10:
	str	xzr, [x8]
Lloh11:
	adrp	x8, _garbage_collector@GOTPAGE
Lloh12:
	ldr	x8, [x8, _garbage_collector@GOTPAGEOFF]
Lloh13:
	ldr	w24, [x8]
	cmp	w19, #1
	b.lt	LBB0_10
; %bb.1:
	mov	w21, #0
	mov	w25, #0
Lloh14:
	adrp	x26, _H@GOTPAGE
Lloh15:
	ldr	x26, [x26, _H@GOTPAGEOFF]
Lloh16:
	adrp	x27, _uri_hash_prime@GOTPAGE
Lloh17:
	ldr	x27, [x27, _uri_hash_prime@GOTPAGEOFF]
Lloh18:
	adrp	x28, _uri_off@GOTPAGE
Lloh19:
	ldr	x28, [x28, _uri_off@GOTPAGEOFF]
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_4 Depth 2
	ldr	x8, [x26]
	add	x23, x8, w24, sxtw #3
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=2
	add	x23, x22, #16
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w25, w25, #1
	ldr	x22, [x23]
	cbz	x22, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x8, [x22, #24]
	cbnz	x8, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	w8, [x22]
	cmp	w8, w20
	b.ge	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=2
	ldr	x8, [x22, #16]
	str	x8, [x23]
	ldr	x8, [x22, #8]
	ldr	x9, [x28]
	add	x0, x8, x9, lsl #2
	bl	_uri_cache_remove
	mov	x0, x22
	bl	_cache_uri_do_delete
	add	w21, w21, #1
	b	LBB0_4
LBB0_8:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	w8, w24, #1
	ldr	w9, [x27]
	cmp	w8, w9
	csel	w9, wzr, w9, lt
	sub	w24, w8, w9
	cmp	w25, w19
	b.ge	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_2 Depth=1
	cmp	w21, w19
	b.lt	LBB0_2
	b	LBB0_11
LBB0_10:
	mov	w21, #0
LBB0_11:
Lloh20:
	adrp	x8, _garbage_collector@GOTPAGE
Lloh21:
	ldr	x8, [x8, _garbage_collector@GOTPAGEOFF]
Lloh22:
	str	w24, [x8]
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotStr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_log_last_ts,4,2                ; @log_last_ts
	.comm	_uri_living_time,4,2            ; @uri_living_time
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"log_last_ts: %d, dead_time: %d\n"

	.comm	_uncommited_delete_logevents_bytes,8,3 ; @uncommited_delete_logevents_bytes
	.comm	_garbage_collector,4,2          ; @garbage_collector
	.comm	_H,8,3                          ; @H
	.comm	_uri_off,8,3                    ; @uri_off
	.comm	_uri_hash_prime,4,2             ; @uri_hash_prime
.subsections_via_symbols
