	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cache_delete_local_copy
_cache_delete_local_copy:               ## @cache_delete_local_copy
	.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, %rbx
	movq	%rdi, %r12
	movq	_LC@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	movq	_CACHE_MAX_LOCAL_COPIES@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	leaq	-48(%rbp), %r8
	movl	$1, %ecx
	callq	_cache_local_copy_unpack
	movl	$-1, %r15d
	testl	%eax, %eax
	js	LBB0_12
## %bb.1:
	cmpl	(%r14), %eax
	jge	LBB0_12
## %bb.2:
	movq	_CACHE_LOCAL_COPY_FLAG_INT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%eax, %r14d
	callq	_cache_local_copy_unpack_location
	movl	%r14d, %eax
LBB0_4:
	testl	%eax, %eax
	je	LBB0_12
## %bb.5:
	movq	%r13, %r15
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %r12d
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	(%rax,%r13,4), %edi
	movl	4(%rbx), %esi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	addq	$-4, %r14
	cmpq	%r13, %r12
	jne	LBB0_6
## %bb.8:
	movl	$-1, %r15d
	jmp	LBB0_12
LBB0_9:
	movq	(%r15), %rsi
	subq	%r14, %rsi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cache_uri_decr_server_stats
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	decl	%edx
	decl	%r12d
	cmpl	%r13d, %r12d
	je	LBB0_11
## %bb.10:
	movq	(%r15), %rdi
	movslq	%edx, %rax
	leaq	(%rdi,%rax,4), %rsi
	subq	%r14, %rdi
	movl	%edx, %ebx
	callq	_cache_local_copy_cpy
	movl	%ebx, %edx
LBB0_11:
	movq	(%r15), %rsi
	movl	-48(%rbp), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_cache_uri_update_local_copy
	movl	%eax, %r15d
LBB0_12:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LC,8,3                         ## @LC
	.comm	_CACHE_MAX_LOCAL_COPIES,4,2     ## @CACHE_MAX_LOCAL_COPIES
	.comm	_CACHE_LOCAL_COPY_FLAG_INT,4,2  ## @CACHE_LOCAL_COPY_FLAG_INT
	.no_dead_strip	_cache_delete_local_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cache_delete_local_copy
_cache_delete_local_copy:               ; @cache_delete_local_copy
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _LC@GOTPAGE
Lloh1:
	ldr	x22, [x22, _LC@GOTPAGEOFF]
	ldr	x1, [x22]
Lloh2:
	adrp	x23, _CACHE_MAX_LOCAL_COPIES@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CACHE_MAX_LOCAL_COPIES@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x4, sp, #12
	mov	w3, #1
	bl	_cache_local_copy_unpack
	mov	x21, x0
	mov	w0, #-1
	tbnz	w21, #31, LBB0_12
; %bb.1:
	ldr	w8, [x23]
	cmp	w21, w8
	b.ge	LBB0_12
; %bb.2:
	ldr	w8, [x20]
Lloh4:
	adrp	x9, _CACHE_LOCAL_COPY_FLAG_INT@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CACHE_LOCAL_COPY_FLAG_INT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x20
	bl	_cache_local_copy_unpack_location
LBB0_4:
	cbz	w21, LBB0_8
; %bb.5:
	mov	x23, #0
	mov	w24, w21
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x23]
	ldr	w1, [x20, #4]
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #4
	subs	x24, x24, #1
	b.ne	LBB0_6
LBB0_8:
	mov	w0, #-1
	b	LBB0_12
LBB0_9:
	ldr	x8, [x22]
	add	x1, x8, x23
	mov	x0, x19
	bl	_cache_uri_decr_server_stats
	sub	w20, w21, #1
	cmp	w24, #1
	b.eq	LBB0_11
; %bb.10:
	ldr	x8, [x22]
	add	x0, x8, x23
	add	x1, x8, w20, sxtw #2
	bl	_cache_local_copy_cpy
LBB0_11:
	ldr	x1, [x22]
	ldr	w3, [sp, #12]
	mov	x0, x19
	mov	x2, x20
	bl	_cache_uri_update_local_copy
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_LC,8,3                         ; @LC
	.comm	_CACHE_MAX_LOCAL_COPIES,4,2     ; @CACHE_MAX_LOCAL_COPIES
	.comm	_CACHE_LOCAL_COPY_FLAG_INT,4,2  ; @CACHE_LOCAL_COPY_FLAG_INT
	.no_dead_strip	_cache_delete_local_copy
.subsections_via_symbols
