	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_uri_delete_remote_disk   ## -- Begin function cache_uri_delete_remote_disk
	.p2align	4, 0x90
_cache_uri_delete_remote_disk:          ## @cache_uri_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	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	movl	$4, %edi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_vkprintf
	movq	_LC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_CACHE_MAX_LOCAL_COPIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %r8
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_cache_local_copy_unpack
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	je	LBB0_13
## %bb.3:
	movl	%eax, %r13d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%r15d, %r15d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%r15d
	cmpl	%r13d, %r15d
	jge	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r15d, %r14
	leaq	(,%r14,4), %rbx
	movq	_LC@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_cache_uri_local_copy_disk_filter_match
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	addq	(%r12), %rbx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_cache_uri_decr_server_stats
	decl	%r13d
	cmpl	%r13d, %r15d
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r12), %rax
	leaq	(%rax,%r14,4), %rdi
	movslq	%r13d, %rcx
	leaq	(%rax,%rcx,4), %rsi
	callq	_cache_local_copy_cpy
	cmpl	%r13d, %r15d
	jl	LBB0_4
	jmp	LBB0_10
LBB0_1:
	movl	$-1, %r14d
	jmp	LBB0_14
LBB0_6:
	movl	%r15d, %r13d
LBB0_10:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.12:
	movq	_LC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	-48(%rbp), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_cache_uri_update_local_copy
	jmp	LBB0_13
LBB0_11:
	xorl	%r14d, %r14d
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	xorl	%eax, %eax
	callq	_vkprintf
LBB0_14:
	movl	%r14d, %eax
	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_uri_delete_remote_disk: (U:%p) starting\n"

	.comm	_LC,8,3                         ## @LC
	.comm	_CACHE_MAX_LOCAL_COPIES,4,2     ## @CACHE_MAX_LOCAL_COPIES
L_.str.1:                               ## @.str.1
	.asciz	"cache_uri_delete_remote_disk: ending\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_uri_delete_remote_disk   ; -- Begin function cache_uri_delete_remote_disk
	.p2align	2
_cache_uri_delete_remote_disk:          ; @cache_uri_delete_remote_disk
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x21, x1
	mov	x19, x0
	str	x0, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
Lloh2:
	adrp	x23, _LC@GOTPAGE
Lloh3:
	ldr	x23, [x23, _LC@GOTPAGEOFF]
	ldr	x1, [x23]
Lloh4:
	adrp	x8, _CACHE_MAX_LOCAL_COPIES@GOTPAGE
Lloh5:
	ldr	x8, [x8, _CACHE_MAX_LOCAL_COPIES@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	add	x4, sp, #12
	mov	x0, x19
	mov	w3, #0
	bl	_cache_local_copy_unpack
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	w20, #0
	mov	x22, x0
	cbz	w0, LBB0_9
; %bb.2:
	mov	w24, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
	cmp	w24, w22
	b.ge	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x0, x8, w24, sxtw #2
	mov	x1, x21
	bl	_cache_uri_local_copy_disk_filter_match
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x25, w24
	add	w20, w20, #1
	ldr	x8, [x23]
	add	x1, x8, x25, lsl #2
	mov	x0, x19
	bl	_cache_uri_decr_server_stats
	sub	w22, w22, #1
	cmp	w24, w22
	b.eq	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x0, x8, x25, lsl #2
	add	x1, x8, w22, sxtw #2
	bl	_cache_local_copy_cpy
	cmp	w24, w22
	b.lt	LBB0_4
LBB0_7:
	cbz	w20, LBB0_9
LBB0_8:
	ldr	x1, [x23]
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x2, x22
	bl	_cache_uri_update_local_copy
LBB0_9:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	bl	_vkprintf
	b	LBB0_11
LBB0_10:
	mov	w20, #-1
LBB0_11:
	mov	x0, x20
	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
	add	sp, sp, #96
	ret
LBB0_12:
	mov	x22, x24
	cbnz	w20, LBB0_8
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache_uri_delete_remote_disk: (U:%p) starting\n"

	.comm	_LC,8,3                         ; @LC
	.comm	_CACHE_MAX_LOCAL_COPIES,4,2     ; @CACHE_MAX_LOCAL_COPIES
l_.str.1:                               ; @.str.1
	.asciz	"cache_uri_delete_remote_disk: ending\n"

.subsections_via_symbols
