	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function diagnose_invalid_index_path
_diagnose_invalid_index_path:           ## @diagnose_invalid_index_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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, -68(%rbp)                 ## 4-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r14
	movq	%rcx, %rdi
	callq	_strlen
	movl	%eax, %r12d
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	testq	%rbx, %rbx
	leaq	L_.str(%rip), %r13
	cmovneq	%rbx, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_index_name_pos
	movl	%eax, %ecx
	sarl	$31, %ecx
	xorl	%eax, %ecx
	cmpl	(%r14), %ecx
	jge	LBB0_4
## %bb.1:
	movq	8(%r14), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_ce_namelen
	cmpl	%r12d, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ce_stage
	leaq	L_.str.1(%rip), %rdi
	movq	%r15, %rsi
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	movl	%eax, %ecx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_die
LBB0_4:
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_strbuf_addstr
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_strbuf_addstr
	movq	-64(%rbp), %rsi
	movl	-56(%rbp), %edx
	movq	%r14, %rdi
	callq	_index_name_pos
	movl	%eax, %ecx
	sarl	$31, %ecx
	xorl	%eax, %ecx
	cmpl	(%r14), %ecx
	jge	LBB0_8
## %bb.5:
	movq	8(%r14), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_ce_namelen
	cmpl	-56(%rbp), %eax
	jne	LBB0_8
## %bb.6:
	movl	(%rbx), %edi
	movq	-64(%rbp), %rsi
	movl	%eax, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	-64(%rbp), %r14
	movq	%rbx, %rdi
	callq	_ce_stage
	movl	%eax, %r12d
	movq	-64(%rbp), %r13
	movq	%rbx, %rdi
	callq	_ce_stage
	movq	%r15, (%rsp)
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	movq	%r13, %r8
	movl	%eax, %r9d
	xorl	%eax, %eax
	callq	_die
LBB0_8:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_repo_file_exists
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_10:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_is_missing_file_error
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.4(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_12:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"Path '%s' is in the index, but not at stage %d.\nDid you mean ':%d:%s'?"

L_.str.2:                               ## @.str.2
	.asciz	"Path '%s' is in the index, but not '%s'.\nDid you mean ':%d:%s' aka ':%d:./%s'?"

L_.str.3:                               ## @.str.3
	.asciz	"Path '%s' exists on disk, but not in the index."

	.comm	_errno,4,2                      ## @errno
L_.str.4:                               ## @.str.4
	.asciz	"Path '%s' does not exist (neither on disk nor in the index)."

	.no_dead_strip	_diagnose_invalid_index_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function diagnose_invalid_index_path
_diagnose_invalid_index_path:           ; @diagnose_invalid_index_path
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x19, x3
	mov	x23, x2
	mov	x22, x1
	mov	x20, x0
	ldr	x21, [x0]
	mov	x0, x3
	bl	_strlen
	mov	x24, x0
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	q0, [x8]
	str	q0, [sp, #48]
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x23, #0
	csel	x23, x8, x23, eq
	mov	x0, x21
	mov	x1, x19
	mov	x2, x24
	bl	_index_name_pos
	eor	w8, w0, w0, asr #31
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_4
; %bb.1:
	ldr	x9, [x21, #8]
	ldr	x25, [x9, w8, sxtw #3]
	mov	x0, x25
	bl	_ce_namelen
	cmp	w0, w24
	b.ne	LBB0_4
; %bb.2:
	ldr	w0, [x25]
	mov	x1, x19
	mov	x2, x24
	bl	_memcmp
	cbnz	w0, LBB0_4
; %bb.3:
	mov	x0, x25
	bl	_ce_stage
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x19, [sp, #8]
	str	x22, [sp]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_4:
	add	x0, sp, #48
	mov	x1, x23
	bl	_strbuf_addstr
	add	x0, sp, #48
	mov	x1, x19
	bl	_strbuf_addstr
	ldr	x1, [sp, #48]
	ldr	w2, [sp, #56]
	mov	x0, x21
	bl	_index_name_pos
	eor	w8, w0, w0, asr #31
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_8
; %bb.5:
	ldr	x9, [x21, #8]
	ldr	x21, [x9, w8, sxtw #3]
	mov	x0, x21
	bl	_ce_namelen
	ldr	w8, [sp, #56]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.6:
	mov	x2, x0
	ldr	w0, [x21]
	ldr	x1, [sp, #48]
	bl	_memcmp
	cbnz	w0, LBB0_8
; %bb.7:
	ldr	x22, [sp, #48]
	mov	x0, x21
	bl	_ce_stage
	mov	x23, x0
	ldr	x24, [sp, #48]
	mov	x0, x21
	bl	_ce_stage
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x0, x19, [sp, #24]
	stp	x23, x24, [sp, #8]
	str	x19, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_die
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	bl	_repo_file_exists
	cbz	x0, LBB0_10
; %bb.9:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_10:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_is_missing_file_error
	cbz	x0, LBB0_12
; %bb.11:
Lloh14:
	adrp	x0, l_.str.4@PAGE
Lloh15:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_12:
	add	x0, sp, #48
	bl	_strbuf_release
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"Path '%s' is in the index, but not at stage %d.\nDid you mean ':%d:%s'?"

l_.str.2:                               ; @.str.2
	.asciz	"Path '%s' is in the index, but not '%s'.\nDid you mean ':%d:%s' aka ':%d:./%s'?"

l_.str.3:                               ; @.str.3
	.asciz	"Path '%s' exists on disk, but not in the index."

	.comm	_errno,4,2                      ; @errno
l_.str.4:                               ; @.str.4
	.asciz	"Path '%s' does not exist (neither on disk nor in the index)."

	.no_dead_strip	_diagnose_invalid_index_path
.subsections_via_symbols
