	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_local_copy_unpack        ## -- Begin function cache_local_copy_unpack
	.p2align	4, 0x90
_cache_local_copy_unpack:               ## @cache_local_copy_unpack
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movl	%edx, %r14d
	movl	$-1, %eax
	testl	%edx, %edx
	jle	LBB0_18
## %bb.2:
	movl	%ecx, %r13d
	movq	%rsi, %r15
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	negl	%r14d
	movl	$1, %r12d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	4(%rbx), %rsi
	leaq	4(%r15), %rdi
	movl	$4, %edx
	callq	_memcpy
	leaq	8(%rbx), %rsi
	movl	(%r15), %eax
	movq	_CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	16(%r15), %rdi
	movl	$4, %edx
	callq	_memcpy
	addq	$12, %rbx
	movl	(%r15), %eax
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rsi, %rbx
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_CACHE_LOCAL_COPY_FLAG_INT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	20(%r15), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	addq	$4, %rbx
	testl	%r13d, %r13d
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_cache_local_copy_unpack_location
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, 20(%r15)
	movl	24(%r15), %edi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	%rbx, %rdi
	callq	_strlen
	addq	%rax, %rbx
	incq	%rbx
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_CACHE_LOCAL_COPY_FLAG_LAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	jne	LBB0_14
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$32, %r15
	leal	(%r14,%r12), %eax
	incl	%eax
	movl	%r12d, %ecx
	incl	%ecx
	movl	%ecx, %r12d
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.7:
	movl	$-1, %eax
	jmp	LBB0_18
LBB0_5:
	xorl	%eax, %eax
	movl	$0, %r12d
	testq	%r8, %r8
	jne	LBB0_16
	jmp	LBB0_18
LBB0_14:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	testq	%r8, %r8
	je	LBB0_17
## %bb.15:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	subl	(%rax), %ebx
	movl	%ebx, %eax
LBB0_16:
	movl	%eax, (%r8)
LBB0_17:
	movl	%r12d, %eax
LBB0_18:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK,4,2 ## @CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK
	.comm	_CACHE_LOCAL_COPY_FLAG_INT,4,2  ## @CACHE_LOCAL_COPY_FLAG_INT
	.comm	_CACHE_LOCAL_COPY_FLAG_LAST,4,2 ## @CACHE_LOCAL_COPY_FLAG_LAST
	.comm	_CACHE_LOCAL_COPY_FLAG_MONTHLY_COUNTER,4,2 ## @CACHE_LOCAL_COPY_FLAG_MONTHLY_COUNTER
	.comm	_amortization_counter_types,4,2 ## @amortization_counter_types
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cache_local_copy_unpack        ; -- Begin function cache_local_copy_unpack
	.p2align	2
_cache_local_copy_unpack:               ; @cache_local_copy_unpack
	.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
	ldr	x25, [x0]
	cbz	x25, LBB0_12
; %bb.1:
	mov	x23, x2
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.2:
	mov	x22, x3
	mov	x24, x1
	mov	x21, x0
	str	x4, [sp, #8]                    ; 8-byte Folded Spill
	mov	w20, #0
Lloh0:
	adrp	x27, _CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK@GOTPAGEOFF]
Lloh2:
	adrp	x28, _CACHE_LOCAL_COPY_FLAG_INT@GOTPAGE
Lloh3:
	ldr	x28, [x28, _CACHE_LOCAL_COPY_FLAG_INT@GOTPAGEOFF]
Lloh4:
	adrp	x19, _CACHE_LOCAL_COPY_FLAG_LAST@GOTPAGE
Lloh5:
	ldr	x19, [x19, _CACHE_LOCAL_COPY_FLAG_LAST@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x25
	mov	w2, #4
	bl	_memcpy
	add	x1, x25, #4
	add	x0, x24, #4
	mov	w2, #4
	bl	_memcpy
	add	x26, x25, #8
	ldr	w8, [x24]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x24, #16
	mov	x1, x26
	mov	w2, #4
	bl	_memcpy
	add	x26, x25, #12
	ldr	w8, [x24]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x28]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x24, #20
	mov	x1, x26
	mov	w2, #4
	bl	_memcpy
	add	x25, x26, #4
	cbz	w22, LBB0_9
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	x1, x24
	bl	_cache_local_copy_unpack_location
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x24, #20]
	ldr	w0, [x24, #24]
	mov	x1, x26
	bl	_strcpy
	mov	x0, x26
	bl	_strlen
	add	x8, x0, x26
	add	x25, x8, #1
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	ldr	w8, [x24]
	ldr	w9, [x19]
	tst	w9, w8
	b.ne	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x24, x24, #32
	cmp	w23, w20
	b.ne	LBB0_3
LBB0_11:
	mov	w20, #-1
	b	LBB0_16
LBB0_12:
	mov	w8, #0
	mov	w20, #0
	cbnz	x4, LBB0_15
	b	LBB0_16
LBB0_13:
	ldr	x4, [sp, #8]                    ; 8-byte Folded Reload
	cbz	x4, LBB0_16
; %bb.14:
	ldr	w8, [x21]
	sub	w8, w25, w8
LBB0_15:
	str	w8, [x4]
LBB0_16:
	mov	x0, x20
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK,4,2 ; @CACHE_LOCAL_COPY_FLAG_YELLOW_LIGHT_MASK
	.comm	_CACHE_LOCAL_COPY_FLAG_INT,4,2  ; @CACHE_LOCAL_COPY_FLAG_INT
	.comm	_CACHE_LOCAL_COPY_FLAG_LAST,4,2 ; @CACHE_LOCAL_COPY_FLAG_LAST
	.comm	_CACHE_LOCAL_COPY_FLAG_MONTHLY_COUNTER,4,2 ; @CACHE_LOCAL_COPY_FLAG_MONTHLY_COUNTER
	.comm	_amortization_counter_types,4,2 ; @amortization_counter_types
.subsections_via_symbols
