	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cache_delete_remote_disk
_cache_delete_remote_disk:              ## @cache_delete_remote_disk
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	xorl	%eax, %eax
	callq	_vkprintf
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_cache_change_disk_status
	movl	(%rbx), %esi
	movq	_disk_filter@GOTPCREL(%rip), %rdi
	callq	_cache_disk_filter_init
	movl	(%rbx), %edi
	callq	_get_bucket_by_packed_location
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_cache_features_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_CACHE_FEATURE_LONG_QUERIES@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_1
## %bb.3:
	movq	_CACHE_URI_BUCKETS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r13d, %r13d
	testl	%ecx, %ecx
	jg	LBB0_4
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_cache_features_mask@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	leaq	-1(%rcx), %rsi
	movq	_CACHE_FEATURE_FAST_BOTTOM_ACCESS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	testl	%esi, %esi
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%esi, -44(%rbp)                 ## 4-byte Folded Reload
	jne	LBB0_10
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%esi, %r12d
	shlq	$4, %r12
	movq	_list_cached@GOTPCREL(%rip), %rax
	addq	(%rax), %r12
	movq	%r12, %rdi
	callq	_PNEXT
	cmpq	%r12, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	_disk_filter@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_PNEXT
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_cache_uri_delete_remote_disk
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	movl	$0, %ecx
	cmovlel	%ecx, %eax
	addq	%rax, %r13
	movq	%r14, %rbx
	cmpq	%r12, %r14
	jne	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$2, -64(%rbp)                   ## 8-byte Folded Reload
	jge	LBB0_11
	jmp	LBB0_19
LBB0_1:
	movq	_uri_hash_prime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r12d, %r12d
	testl	%eax, %eax
	jle	LBB0_2
## %bb.12:
	movq	_disk_filter@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	_uri_hash_prime@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	cmpq	%rcx, %r15
	jge	LBB0_19
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movq	_H@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%r15,8), %rbx
	testq	%rbx, %rbx
	jne	LBB0_14
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_17
LBB0_14:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	$0, (%rbx)
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_cache_uri_delete_remote_disk
                                        ## kill: def $eax killed $eax def $rax
	testl	%eax, %eax
	cmovlel	%r12d, %eax
	addq	%rax, %r13
	jmp	LBB0_16
LBB0_2:
	xorl	%r13d, %r13d
LBB0_19:
	leaq	L_.str.1(%rip), %rsi
	movl	$2, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r13
	cmovlq	%r13, %rax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache_delete_remote_disk: starting\n"

	.comm	_disk_filter,4,2                ## @disk_filter
	.comm	_cache_features_mask,4,2        ## @cache_features_mask
	.comm	_CACHE_FEATURE_LONG_QUERIES,4,2 ## @CACHE_FEATURE_LONG_QUERIES
	.comm	_CACHE_URI_BUCKETS,4,2          ## @CACHE_URI_BUCKETS
	.comm	_CACHE_FEATURE_FAST_BOTTOM_ACCESS,4,2 ## @CACHE_FEATURE_FAST_BOTTOM_ACCESS
	.comm	_list_cached,8,3                ## @list_cached
	.comm	_uri_hash_prime,4,2             ## @uri_hash_prime
	.comm	_H,8,3                          ## @H
L_.str.1:                               ## @.str.1
	.asciz	"cache_delete_remote_disk: r = %lld\n"

	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.no_dead_strip	_cache_delete_remote_disk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_delete_remote_disk
_cache_delete_remote_disk:              ; @cache_delete_remote_disk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
	mov	x0, x19
	mov	w1, #1
	bl	_cache_change_disk_status
	ldr	w1, [x19]
Lloh2:
	adrp	x0, _disk_filter@GOTPAGE
Lloh3:
	ldr	x0, [x0, _disk_filter@GOTPAGEOFF]
	bl	_cache_disk_filter_init
	ldr	w0, [x19]
	bl	_get_bucket_by_packed_location
Lloh4:
	adrp	x25, _cache_features_mask@GOTPAGE
Lloh5:
	ldr	x25, [x25, _cache_features_mask@GOTPAGEOFF]
	ldr	w8, [x25]
Lloh6:
	adrp	x9, _CACHE_FEATURE_LONG_QUERIES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CACHE_FEATURE_LONG_QUERIES@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.1:
Lloh9:
	adrp	x9, _CACHE_URI_BUCKETS@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CACHE_URI_BUCKETS@GOTPAGEOFF]
Lloh11:
	ldr	w28, [x9]
	cmp	w28, #1
	b.lt	LBB0_17
; %bb.2:
	mov	x19, x0
	mov	x24, #0
Lloh12:
	adrp	x27, _CACHE_FEATURE_FAST_BOTTOM_ACCESS@GOTPAGE
Lloh13:
	ldr	x27, [x27, _CACHE_FEATURE_FAST_BOTTOM_ACCESS@GOTPAGEOFF]
Lloh14:
	adrp	x20, _disk_filter@GOTPAGE
Lloh15:
	ldr	x20, [x20, _disk_filter@GOTPAGEOFF]
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	sub	x26, x28, #1
	ldr	w9, [x27]
	and	w8, w9, w8
	cmp	w8, #0
	ccmp	w26, #0, #4, ne
	ccmp	w19, w26, #4, ne
	b.ne	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
Lloh16:
	adrp	x8, _list_cached@GOTPAGE
Lloh17:
	ldr	x8, [x8, _list_cached@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	add	x21, x8, w26, uxtw #4
	mov	x0, x21
	bl	_PNEXT
	cmp	x0, x21
	b.eq	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_PNEXT
	mov	x23, x0
	mov	x0, x22
	mov	x1, x20
	bl	_cache_uri_delete_remote_disk
	cmp	w0, #0
	csel	w8, w0, wzr, gt
	add	x24, x24, x8
	mov	x22, x23
	cmp	x23, x21
	b.ne	LBB0_6
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cmp	x28, #2
	b.lt	LBB0_18
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	mov	x28, x26
	b	LBB0_3
LBB0_9:
Lloh19:
	adrp	x21, _uri_hash_prime@GOTPAGE
Lloh20:
	ldr	x21, [x21, _uri_hash_prime@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.10:
	mov	x22, #0
	mov	x24, #0
Lloh21:
	adrp	x23, _H@GOTPAGE
Lloh22:
	ldr	x23, [x23, _H@GOTPAGEOFF]
Lloh23:
	adrp	x19, _disk_filter@GOTPAGE
Lloh24:
	ldr	x19, [x19, _disk_filter@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x21]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_18
LBB0_13:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
	ldr	x9, [x23]
	ldr	x20, [x9, x22, lsl #3]
	cbnz	x20, LBB0_15
	b	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=2
	ldr	x20, [x20, #8]
	cbz	x20, LBB0_11
LBB0_15:                                ;   Parent Loop BB0_13 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x20]
	cbz	x8, LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=2
	mov	x0, x20
	mov	x1, x19
	bl	_cache_uri_delete_remote_disk
	cmp	w0, #0
	csel	w8, w0, wzr, gt
	add	x24, x24, x8
	b	LBB0_14
LBB0_17:
	mov	x24, #0
LBB0_18:
	str	x24, [sp]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #2
	bl	_vkprintf
Lloh27:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh28:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x24, x8
	csel	x0, x24, x8, lt
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache_delete_remote_disk: starting\n"

	.comm	_disk_filter,4,2                ; @disk_filter
	.comm	_cache_features_mask,4,2        ; @cache_features_mask
	.comm	_CACHE_FEATURE_LONG_QUERIES,4,2 ; @CACHE_FEATURE_LONG_QUERIES
	.comm	_CACHE_URI_BUCKETS,4,2          ; @CACHE_URI_BUCKETS
	.comm	_CACHE_FEATURE_FAST_BOTTOM_ACCESS,4,2 ; @CACHE_FEATURE_FAST_BOTTOM_ACCESS
	.comm	_list_cached,8,3                ; @list_cached
	.comm	_uri_hash_prime,4,2             ; @uri_hash_prime
	.comm	_H,8,3                          ; @H
l_.str.1:                               ; @.str.1
	.asciz	"cache_delete_remote_disk: r = %lld\n"

	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.no_dead_strip	_cache_delete_remote_disk
.subsections_via_symbols
