	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_cacheinfo
_add_cacheinfo:                         ## @add_cacheinfo
	.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	%ecx, %ebx
	movq	%rdx, %r14
	movq	%rsi, %r13
	movl	%edi, %r15d
	movq	%rdx, %rdi
	movl	%r15d, %esi
	callq	_verify_path
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	_the_index@GOTPCREL(%rip), %rdi
	movl	%eax, %esi
	callq	_make_empty_cache_entry
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	movq	%r13, %rsi
	callq	_oidcpy
	movl	12(%rbx), %edi
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_create_ce_flags
	movl	%eax, 4(%rbx)
	movl	%r12d, (%rbx)
	movl	%r15d, %edi
	callq	_create_ce_mode
	movl	%eax, 8(%rbx)
	movq	_assume_unchanged@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_CE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%rbx)
LBB0_5:
	movq	_allow_add@GOTPCREL(%rip), %rax
	xorl	%esi, %esi
	cmpq	$0, (%rax)
	movl	$0, %eax
	je	LBB0_7
## %bb.6:
	movq	_ADD_CACHE_OK_TO_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	movq	_allow_replace@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	_ADD_CACHE_OK_TO_REPLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_9:
	orl	%eax, %esi
	movq	%rbx, %rdi
	callq	_add_cache_entry
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
LBB0_2:
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
LBB0_11:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_report
	xorl	%eax, %eax
	addq	$8, %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	"Invalid path '%s'"

	.comm	_the_index,4,2                  ## @the_index
	.comm	_assume_unchanged,8,3           ## @assume_unchanged
	.comm	_CE_VALID,4,2                   ## @CE_VALID
	.comm	_allow_add,8,3                  ## @allow_add
	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ## @ADD_CACHE_OK_TO_ADD
	.comm	_allow_replace,8,3              ## @allow_replace
	.comm	_ADD_CACHE_OK_TO_REPLACE,4,2    ## @ADD_CACHE_OK_TO_REPLACE
L_.str.1:                               ## @.str.1
	.asciz	"%s: cannot add to the index - missing --add option?"

L_.str.2:                               ## @.str.2
	.asciz	"add '%s'"

	.no_dead_strip	_add_cacheinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_cacheinfo
_add_cacheinfo:                         ; @add_cacheinfo
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x22, x3
	mov	x19, x2
	mov	x23, x1
	mov	x21, x0
	mov	x0, x2
	mov	x1, x21
	bl	_verify_path
	cbz	w0, LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_strlen
	mov	x24, x0
Lloh0:
	adrp	x0, _the_index@GOTPAGE
Lloh1:
	ldr	x0, [x0, _the_index@GOTPAGEOFF]
	mov	x1, x24
	bl	_make_empty_cache_entry
	mov	x20, x0
	add	x0, x0, #16
	mov	x1, x23
	bl	_oidcpy
	ldr	w0, [x20, #12]
	mov	x1, x19
	mov	x2, x24
	bl	_memcpy
	mov	x0, x22
	bl	_create_ce_flags
	stp	w24, w0, [x20]
	mov	x0, x21
	bl	_create_ce_mode
	str	w0, [x20, #8]
Lloh2:
	adrp	x8, _assume_unchanged@GOTPAGE
Lloh3:
	ldr	x8, [x8, _assume_unchanged@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _CE_VALID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CE_VALID@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20, #4]
	orr	w8, w9, w8
	str	w8, [x20, #4]
LBB0_3:
Lloh8:
	adrp	x8, _allow_add@GOTPAGE
Lloh9:
	ldr	x8, [x8, _allow_add@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _ADD_CACHE_OK_TO_ADD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ADD_CACHE_OK_TO_ADD@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w8, wzr, w9, eq
Lloh14:
	adrp	x9, _allow_replace@GOTPAGE
Lloh15:
	ldr	x9, [x9, _allow_replace@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
Lloh17:
	adrp	x10, _ADD_CACHE_OK_TO_REPLACE@GOTPAGE
Lloh18:
	ldr	x10, [x10, _ADD_CACHE_OK_TO_REPLACE@GOTPAGEOFF]
Lloh19:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w1, w9, w8
	mov	x0, x20
	bl	_add_cache_entry
	cbz	x0, LBB0_7
; %bb.4:
Lloh20:
	adrp	x0, l_.str.1@PAGE
Lloh21:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh22:
	adrp	x0, l_.str@PAGE
Lloh23:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_error
LBB0_7:
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_report
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid path '%s'"

	.comm	_the_index,4,2                  ; @the_index
	.comm	_assume_unchanged,8,3           ; @assume_unchanged
	.comm	_CE_VALID,4,2                   ; @CE_VALID
	.comm	_allow_add,8,3                  ; @allow_add
	.comm	_ADD_CACHE_OK_TO_ADD,4,2        ; @ADD_CACHE_OK_TO_ADD
	.comm	_allow_replace,8,3              ; @allow_replace
	.comm	_ADD_CACHE_OK_TO_REPLACE,4,2    ; @ADD_CACHE_OK_TO_REPLACE
l_.str.1:                               ; @.str.1
	.asciz	"%s: cannot add to the index - missing --add option?"

l_.str.2:                               ; @.str.2
	.asciz	"add '%s'"

	.no_dead_strip	_add_cacheinfo
.subsections_via_symbols
