	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_one_path
_add_one_path:                          ## @add_one_path
	.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
	movq	%rcx, %r15
	movl	%edx, %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movq	%r12, %rdi
	callq	_ce_stage
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_ce_match_stat
	testl	%eax, %eax
	je	LBB0_12
LBB0_3:
	movq	_the_index@GOTPCREL(%rip), %rdi
	movl	%r13d, %esi
	callq	_make_empty_cache_entry
	movq	%rax, %rbx
	movl	16(%rax), %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%r13d, %edx
	callq	_memcpy
	xorl	%r14d, %r14d
	xorl	%edi, %edi
	callq	_create_ce_flags
	movl	%eax, 12(%rbx)
	movl	%r13d, (%rbx)
	movq	_the_index@GOTPCREL(%rip), %r13
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_fill_stat_cache_info
	movl	(%r15), %esi
	movq	%r12, %rdi
	callq	_ce_mode_from_stat
	movl	%eax, 8(%rbx)
	leaq	4(%rbx), %rsi
	movq	_info_only@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_5
## %bb.4:
	movq	_HASH_WRITE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	movq	%r13, %rdi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_index_path
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_discard_cache_entry
	movl	$-1, %r14d
LBB0_12:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_allow_add@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	cmpq	$0, (%rax)
	movl	$0, %eax
	je	LBB0_9
## %bb.8:
	movq	_ADD_CACHE_OK_TO_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	movq	_allow_replace@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movl	$0, %esi
	je	LBB0_11
## %bb.10:
	movq	_ADD_CACHE_OK_TO_REPLACE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
LBB0_11:
	orl	%eax, %esi
	movq	%rbx, %rdi
	callq	_add_cache_entry
	testq	%rax, %rax
	je	LBB0_12
## %bb.13:
	movq	%rbx, %rdi
	callq	_discard_cache_entry
	leaq	L_.str(%rip), %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_the_index,4,2                  ## @the_index
	.comm	_info_only,8,3                  ## @info_only
	.comm	_HASH_WRITE_OBJECT,4,2          ## @HASH_WRITE_OBJECT
	.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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: cannot add to the index - missing --add option?"

	.no_dead_strip	_add_one_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_one_path
_add_one_path:                          ; @add_one_path
	.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	x21, x3
	mov	x23, x2
	mov	x19, x1
	mov	x22, x0
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x22
	bl	_ce_stage
	cbnz	w0, LBB0_3
; %bb.2:
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_ce_match_stat
	cbz	w0, LBB0_5
LBB0_3:
Lloh0:
	adrp	x24, _the_index@GOTPAGE
Lloh1:
	ldr	x24, [x24, _the_index@GOTPAGEOFF]
	mov	x0, x24
	mov	x1, x23
	bl	_make_empty_cache_entry
	mov	x20, x0
	ldr	w0, [x0, #16]
	mov	x1, x19
	mov	x2, x23
	bl	_memcpy
	mov	w0, #0
	bl	_create_ce_flags
	str	w0, [x20, #12]
	str	w23, [x20]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x21
	bl	_fill_stat_cache_info
	ldr	w1, [x21]
	mov	x0, x22
	bl	_ce_mode_from_stat
	str	w0, [x20, #8]
	add	x1, x20, #4
Lloh2:
	adrp	x8, _info_only@GOTPAGE
Lloh3:
	ldr	x8, [x8, _info_only@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _HASH_WRITE_OBJECT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _HASH_WRITE_OBJECT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x8, #0
	csel	w4, w9, wzr, eq
	mov	x0, x24
	mov	x2, x19
	mov	x3, x21
	bl	_index_path
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x20
	bl	_discard_cache_entry
	mov	w0, #-1
LBB0_5:
	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
LBB0_6:
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_5
; %bb.7:
	mov	x0, x20
	bl	_discard_cache_entry
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	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
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_the_index,4,2                  ; @the_index
	.comm	_info_only,8,3                  ; @info_only
	.comm	_HASH_WRITE_OBJECT,4,2          ; @HASH_WRITE_OBJECT
	.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
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: cannot add to the index - missing --add option?"

	.no_dead_strip	_add_one_path
.subsections_via_symbols
