	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refresh_index                  ## -- Begin function refresh_index
	.p2align	4, 0x90
_refresh_index:                         ## @refresh_index
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rcx, -176(%rbp)                ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rdi, %r13
	movq	_REFRESH_REALLY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movl	%eax, %ebx
	andl	%esi, %ebx
	movq	_REFRESH_IGNORE_MISSING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	andl	%esi, %r14d
	movq	_REFRESH_IN_PORCELAIN@GOTPCREL(%rip), %rsi
	movq	_REFRESH_UNMERGED@GOTPCREL(%rip), %rcx
	movq	_REFRESH_QUIET@GOTPCREL(%rip), %rdx
	movq	_CE_MATCH_REFRESH@GOTPCREL(%rip), %rax
	testl	%ebx, %ebx
	je	LBB0_2
## %bb.1:
	movq	_CE_MATCH_IGNORE_VALID@GOTPCREL(%rip), %rdi
	movl	(%rdi), %ebx
LBB0_2:
	movl	(%rsi), %esi
	andl	-48(%rbp), %esi                 ## 4-byte Folded Reload
	movl	%esi, -60(%rbp)                 ## 4-byte Spill
	movl	(%rcx), %ecx
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
	movl	(%rdx), %ecx
	movl	%ecx, -100(%rbp)                ## 4-byte Spill
	orl	(%rax), %ebx
	movq	_REFRESH_IGNORE_SUBMODULES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	$1, -84(%rbp)
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	_CE_MATCH_IGNORE_MISSING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_4:
	movq	$0, -128(%rbp)
	movq	_REFRESH_PROGRESS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	je	LBB0_7
## %bb.5:
	movl	$2, %edi
	callq	_isatty
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	(%r13), %esi
	movl	%eax, %edi
	callq	_start_delayed_progress
	movq	%rax, %rcx
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, -128(%rbp)
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
LBB0_8:
	xorl	%eax, %eax
	callq	_trace_performance_enter
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -144(%rbp)                ## 8-byte Spill
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	leaq	L_.str.4(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	leaq	L_.str.5(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -152(%rbp)                ## 8-byte Spill
	leaq	L_.str.7(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_preload_index
	movl	(%r13), %esi
	testl	%esi, %esi
	jle	LBB0_40
## %bb.9:
	orl	%r14d, -76(%rbp)                ## 4-byte Folded Spill
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_29:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r12), %esi
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	leaq	-84(%rbp), %rcx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_show_file
	movl	$1, %eax
LBB0_39:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	incl	%r14d
	movl	(%r13), %esi
	cmpl	%esi, %r14d
	jge	LBB0_40
LBB0_13:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_32 Depth 2
	movl	$0, -64(%rbp)
	movl	$0, -80(%rbp)
	movq	8(%r13), %rax
	movslq	%r14d, %rbx
	movq	(%rax,%rbx,8), %r12
	movl	-112(%rbp), %eax                ## 4-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	8(%r12), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	jne	LBB0_12
LBB0_15:                                ##   in Loop: Header=BB0_13 Depth=1
	testq	%r15, %r15
	je	LBB0_30
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	-176(%rbp), %rcx                ## 8-byte Reload
	callq	_ce_path_match
	movl	%eax, %r15d
	testl	%eax, %eax
	setne	-41(%rbp)                       ## 1-byte Folded Spill
	movq	%r12, %rdi
	callq	_ce_stage
	testq	%rax, %rax
	jne	LBB0_31
## %bb.17:                              ##   in Loop: Header=BB0_13 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_18
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r12, %rdi
	callq	_ce_stage
	movb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	testq	%rax, %rax
	je	LBB0_18
LBB0_31:                                ##   in Loop: Header=BB0_13 Depth=1
	cmpl	(%r13), %r14d
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jge	LBB0_35
	.p2align	4, 0x90
LBB0_32:                                ##   Parent Loop BB0_13 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_32 Depth=2
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_32
LBB0_34:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	%ebx, %r14d
LBB0_35:                                ##   in Loop: Header=BB0_13 Depth=1
	decl	%r14d
	movl	-108(%rbp), %eax                ## 4-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, %ecx
	cmovel	%ecx, %eax
	jne	LBB0_39
## %bb.36:                              ##   in Loop: Header=BB0_13 Depth=1
	xorb	$1, -41(%rbp)                   ## 1-byte Folded Spill
	jne	LBB0_39
## %bb.37:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	(%r12), %esi
	movq	-168(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_38
LBB0_18:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	-76(%rbp), %edx                 ## 4-byte Reload
	leaq	-64(%rbp), %rcx
	leaq	-80(%rbp), %r8
	callq	_refresh_cache_ent
	cmpq	%r12, %rax
	je	LBB0_11
## %bb.19:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%rax, %r15
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	%r14d, %esi
	callq	_display_progress
LBB0_21:                                ##   in Loop: Header=BB0_13 Depth=1
	testq	%r15, %r15
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r13, %rdi
	movl	%r14d, %esi
	movq	%r15, %rdx
	callq	_replace_index_entry
LBB0_11:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_12
LBB0_22:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-104(%rbp), %eax                ## 4-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_25
## %bb.23:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-64(%rbp), %eax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_CE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	4(%r12), %eax
	movq	_CE_UPDATE_IN_BASE@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, 4(%r12)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_mark_fsmonitor_invalid
	movq	_CE_ENTRY_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 4(%r13)
LBB0_25:                                ##   in Loop: Header=BB0_13 Depth=1
	movl	-100(%rbp), %eax                ## 4-byte Reload
	testl	%eax, -48(%rbp)                 ## 4-byte Folded Reload
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_12
## %bb.26:                              ##   in Loop: Header=BB0_13 Depth=1
	movl	-64(%rbp), %eax
	movq	-160(%rbp), %rdi                ## 8-byte Reload
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r12, %rdi
	callq	_ce_intent_to_add
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	_TYPE_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -80(%rbp)
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	cmoveq	-144(%rbp), %rdi                ## 8-byte Folded Reload
	jmp	LBB0_29
LBB0_40:
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_42
## %bb.41:
	callq	_display_progress
	leaq	-128(%rbp), %rdi
	callq	_stop_progress
LBB0_42:
	leaq	L_.str.8(%rip), %rdi
	callq	_trace_performance_leave
	movq	-56(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REFRESH_REALLY,4,2             ## @REFRESH_REALLY
	.comm	_REFRESH_UNMERGED,4,2           ## @REFRESH_UNMERGED
	.comm	_REFRESH_QUIET,4,2              ## @REFRESH_QUIET
	.comm	_REFRESH_IGNORE_MISSING,4,2     ## @REFRESH_IGNORE_MISSING
	.comm	_REFRESH_IGNORE_SUBMODULES,4,2  ## @REFRESH_IGNORE_SUBMODULES
	.comm	_REFRESH_IN_PORCELAIN,4,2       ## @REFRESH_IN_PORCELAIN
	.comm	_CE_MATCH_REFRESH,4,2           ## @CE_MATCH_REFRESH
	.comm	_CE_MATCH_IGNORE_VALID,4,2      ## @CE_MATCH_IGNORE_VALID
	.comm	_CE_MATCH_IGNORE_MISSING,4,2    ## @CE_MATCH_IGNORE_MISSING
	.comm	_REFRESH_PROGRESS,4,2           ## @REFRESH_PROGRESS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Refresh index"

L_.str.1:                               ## @.str.1
	.asciz	"M\t%s\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: needs update\n"

L_.str.3:                               ## @.str.3
	.asciz	"D\t%s\n"

L_.str.4:                               ## @.str.4
	.asciz	"T\t%s\n"

L_.str.5:                               ## @.str.5
	.asciz	"A\t%s\n"

L_.str.6:                               ## @.str.6
	.asciz	"U\t%s\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s: needs merge\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_CE_VALID,4,2                   ## @CE_VALID
	.comm	_CE_UPDATE_IN_BASE,4,2          ## @CE_UPDATE_IN_BASE
	.comm	_CE_ENTRY_CHANGED,4,2           ## @CE_ENTRY_CHANGED
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_TYPE_CHANGED,4,2               ## @TYPE_CHANGED
L_.str.8:                               ## @.str.8
	.asciz	"refresh index"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_refresh_index                  ; -- Begin function refresh_index
	.p2align	2
_refresh_index:                         ; @refresh_index
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	x4, [sp, #72]                   ; 8-byte Folded Spill
	mov	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	w8, #1
Lloh0:
	adrp	x9, _REFRESH_REALLY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REFRESH_REALLY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	ands	w9, w9, w1
	str	w9, [sp, #44]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x9, _REFRESH_UNMERGED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REFRESH_UNMERGED@GOTPAGEOFF]
Lloh5:
	adrp	x10, _REFRESH_QUIET@GOTPAGE
Lloh6:
	ldr	x10, [x10, _REFRESH_QUIET@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	str	w9, [sp, #60]                   ; 4-byte Folded Spill
Lloh8:
	ldr	w9, [x10]
	str	w9, [sp, #40]                   ; 4-byte Folded Spill
Lloh9:
	adrp	x9, _REFRESH_IGNORE_MISSING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _REFRESH_IGNORE_MISSING@GOTPAGEOFF]
Lloh11:
	adrp	x10, _REFRESH_IGNORE_SUBMODULES@GOTPAGE
Lloh12:
	ldr	x10, [x10, _REFRESH_IGNORE_SUBMODULES@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
Lloh14:
	ldr	w10, [x10]
	str	w10, [sp, #36]                  ; 4-byte Folded Spill
	stur	w8, [x29, #-84]
Lloh15:
	adrp	x8, _REFRESH_IN_PORCELAIN@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REFRESH_IN_PORCELAIN@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	and	w8, w8, w1
	str	w8, [sp, #84]                   ; 4-byte Folded Spill
Lloh18:
	adrp	x8, _CE_MATCH_REFRESH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CE_MATCH_REFRESH@GOTPAGEOFF]
Lloh20:
	ldr	w23, [x8]
Lloh21:
	adrp	x8, _CE_MATCH_IGNORE_VALID@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CE_MATCH_IGNORE_VALID@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	csel	w25, wzr, w8, eq
Lloh24:
	adrp	x8, _CE_MATCH_IGNORE_MISSING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CE_MATCH_IGNORE_MISSING@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	tst	w9, w1
	csel	w27, wzr, w8, eq
	str	xzr, [sp, #96]
Lloh27:
	adrp	x8, _REFRESH_PROGRESS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _REFRESH_PROGRESS@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_3
; %bb.1:
	mov	w0, #2
	bl	_isatty
	cbz	x0, LBB0_3
; %bb.2:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	ldr	w1, [x22]
	bl	_start_delayed_progress
	mov	x24, x0
	str	x0, [sp, #96]
	b	LBB0_4
LBB0_3:
	mov	x24, #0
LBB0_4:
	bl	_trace_performance_enter
Lloh32:
	adrp	x8, l_.str.1@PAGE
Lloh33:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh34:
	adrp	x9, l_.str.2@PAGE
Lloh35:
	add	x9, x9, l_.str.2@PAGEOFF
	ldr	w10, [sp, #84]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	x26, x9, x8, eq
Lloh36:
	adrp	x8, l_.str.3@PAGE
Lloh37:
	add	x8, x8, l_.str.3@PAGEOFF
	csel	x28, x9, x8, eq
Lloh38:
	adrp	x8, l_.str.4@PAGE
Lloh39:
	add	x8, x8, l_.str.4@PAGEOFF
	csel	x10, x9, x8, eq
Lloh40:
	adrp	x8, l_.str.5@PAGE
Lloh41:
	add	x8, x8, l_.str.5@PAGEOFF
	csel	x8, x9, x8, eq
	stp	x10, x8, [sp, #16]              ; 16-byte Folded Spill
Lloh42:
	adrp	x8, l_.str.6@PAGE
Lloh43:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh44:
	adrp	x9, l_.str.7@PAGE
Lloh45:
	add	x9, x9, l_.str.7@PAGEOFF
	csel	x8, x9, x8, eq
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	bl	_preload_index
	ldr	w1, [x22]
	cmp	w1, #1
	b.lt	LBB0_38
; %bb.5:
	stp	x26, x28, [sp]                  ; 16-byte Folded Spill
	str	x24, [sp, #48]                  ; 8-byte Folded Spill
	mov	w26, #0
	mov	w28, #0
	orr	w8, w25, w23
	ldr	w9, [sp, #60]                   ; 4-byte Folded Reload
	and	w25, w9, w19
	orr	w8, w8, w27
	str	w8, [sp, #60]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	and	w8, w8, w19
	str	w8, [sp, #40]                   ; 4-byte Folded Spill
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	and	w23, w8, w19
	b	LBB0_8
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x26
	mov	x2, x27
	bl	_replace_index_entry
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	w26, w26, #1
	ldr	w1, [x22]
	cmp	w26, w1
	b.ge	LBB0_35
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_17 Depth 2
	str	xzr, [sp, #88]
	ldr	x8, [x22, #8]
	ldr	x19, [x8, w26, sxtw #3]
	cbz	w23, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w0, [x19, #8]
	bl	_S_ISGITLINK
	cbnz	x0, LBB0_7
LBB0_10:                                ;   in Loop: Header=BB0_8 Depth=1
	cbz	x21, LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	mov	x3, x20
	bl	_ce_path_match
	mov	x27, x0
	cmp	w0, #0
	cset	w24, ne
	mov	x0, x19
	bl	_ce_stage
	cbnz	x0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_8 Depth=1
	cbnz	w27, LBB0_23
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_ce_stage
	cbz	x0, LBB0_23
; %bb.14:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w24, #1
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [x22]
	cmp	w26, w8
	b.ge	LBB0_19
; %bb.16:                               ;   in Loop: Header=BB0_8 Depth=1
                                        ; kill: def $w26 killed $w26 killed $x26 def $x26
	sxtw	x26, w26
LBB0_17:                                ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [x22, #8]
	ldr	x8, [x8, x26, lsl #3]
	ldr	w0, [x8]
	ldr	w1, [x19]
	bl	_strcmp
	cbnz	w0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=2
	add	x26, x26, #1
	ldrsw	x8, [x22]
	cmp	x26, x8
	b.lt	LBB0_17
LBB0_19:                                ;   in Loop: Header=BB0_8 Depth=1
	sub	w26, w26, #1
	cmp	w25, #0
	csinc	w28, w28, wzr, ne
	cbnz	w25, LBB0_7
; %bb.20:                               ;   in Loop: Header=BB0_8 Depth=1
	eor	w8, w24, #0x1
	tbnz	w8, #0, LBB0_7
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x19]
	sub	x3, x29, #84
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w2, [sp, #84]                   ; 4-byte Folded Reload
	ldr	x4, [sp, #72]                   ; 8-byte Folded Reload
	bl	_show_file
	mov	w28, #1
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x3, sp, #92
	add	x4, sp, #88
	mov	x0, x22
	mov	x1, x19
	ldr	w2, [sp, #60]                   ; 4-byte Folded Reload
	bl	_refresh_cache_ent
	cmp	x0, x19
	b.eq	LBB0_7
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x27, x0
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_26
; %bb.25:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x26
	bl	_display_progress
LBB0_26:                                ;   in Loop: Header=BB0_8 Depth=1
	cbnz	x27, LBB0_6
; %bb.27:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_30
; %bb.28:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #92]
Lloh46:
	adrp	x9, _EINVAL@GOTPAGE
Lloh47:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh48:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_8 Depth=1
Lloh49:
	adrp	x8, _CE_VALID@GOTPAGE
Lloh50:
	ldr	x8, [x8, _CE_VALID@GOTPAGEOFF]
Lloh51:
	ldr	w8, [x8]
	ldr	w9, [x19, #4]
	bic	w8, w9, w8
Lloh52:
	adrp	x9, _CE_UPDATE_IN_BASE@GOTPAGE
Lloh53:
	ldr	x9, [x9, _CE_UPDATE_IN_BASE@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19, #4]
	mov	x0, x22
	mov	x1, x19
	bl	_mark_fsmonitor_invalid
Lloh55:
	adrp	x8, _CE_ENTRY_CHANGED@GOTPAGE
Lloh56:
	ldr	x8, [x8, _CE_ENTRY_CHANGED@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	ldr	w9, [x22, #4]
	orr	w8, w9, w8
	str	w8, [x22, #4]
LBB0_30:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #40]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_7
; %bb.31:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #92]
Lloh58:
	adrp	x9, _ENOENT@GOTPAGE
Lloh59:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh60:
	ldr	w9, [x9]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	cmp	w8, w9
	b.eq	LBB0_34
; %bb.32:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x19
	bl	_ce_intent_to_add
	mov	x8, x0
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	cbnz	x8, LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #88]
Lloh61:
	adrp	x9, _TYPE_CHANGED@GOTPAGE
Lloh62:
	ldr	x9, [x9, _TYPE_CHANGED@GOTPAGEOFF]
Lloh63:
	ldr	w9, [x9]
	tst	w9, w8
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	csel	x0, x8, x9, eq
LBB0_34:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w1, [x19]
	sub	x3, x29, #84
	b	LBB0_22
LBB0_35:
	ldr	x24, [sp, #48]                  ; 8-byte Folded Reload
	cbz	x24, LBB0_37
LBB0_36:
	mov	x0, x24
	bl	_display_progress
	add	x0, sp, #96
	bl	_stop_progress
LBB0_37:
Lloh64:
	adrp	x0, l_.str.8@PAGE
Lloh65:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_trace_performance_leave
	mov	x0, x28
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_38:
	mov	w28, #0
	cbnz	x24, LBB0_36
	b	LBB0_37
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.cfi_endproc
                                        ; -- End function
	.comm	_REFRESH_REALLY,4,2             ; @REFRESH_REALLY
	.comm	_REFRESH_UNMERGED,4,2           ; @REFRESH_UNMERGED
	.comm	_REFRESH_QUIET,4,2              ; @REFRESH_QUIET
	.comm	_REFRESH_IGNORE_MISSING,4,2     ; @REFRESH_IGNORE_MISSING
	.comm	_REFRESH_IGNORE_SUBMODULES,4,2  ; @REFRESH_IGNORE_SUBMODULES
	.comm	_REFRESH_IN_PORCELAIN,4,2       ; @REFRESH_IN_PORCELAIN
	.comm	_CE_MATCH_REFRESH,4,2           ; @CE_MATCH_REFRESH
	.comm	_CE_MATCH_IGNORE_VALID,4,2      ; @CE_MATCH_IGNORE_VALID
	.comm	_CE_MATCH_IGNORE_MISSING,4,2    ; @CE_MATCH_IGNORE_MISSING
	.comm	_REFRESH_PROGRESS,4,2           ; @REFRESH_PROGRESS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Refresh index"

l_.str.1:                               ; @.str.1
	.asciz	"M\t%s\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: needs update\n"

l_.str.3:                               ; @.str.3
	.asciz	"D\t%s\n"

l_.str.4:                               ; @.str.4
	.asciz	"T\t%s\n"

l_.str.5:                               ; @.str.5
	.asciz	"A\t%s\n"

l_.str.6:                               ; @.str.6
	.asciz	"U\t%s\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s: needs merge\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_CE_VALID,4,2                   ; @CE_VALID
	.comm	_CE_UPDATE_IN_BASE,4,2          ; @CE_UPDATE_IN_BASE
	.comm	_CE_ENTRY_CHANGED,4,2           ; @CE_ENTRY_CHANGED
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_TYPE_CHANGED,4,2               ; @TYPE_CHANGED
l_.str.8:                               ; @.str.8
	.asciz	"refresh index"

.subsections_via_symbols
