	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function refresh_cache_ent
_refresh_cache_ent:                     ## @refresh_cache_ent
	.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	_CE_MATCH_REFRESH@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_3
## %bb.1:
	movl	%edx, %r14d
	movq	%r8, -88(%rbp)                  ## 8-byte Spill
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	_CE_MATCH_IGNORE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_CE_MATCH_IGNORE_SKIP_WORKTREE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_CE_MATCH_IGNORE_MISSING@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_CE_MATCH_IGNORE_FSMONITOR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	_ce_uptodate
	testq	%rax, %rax
	je	LBB0_4
LBB0_2:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
LBB0_3:
	movq	%rsi, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r13d, -60(%rbp)                ## 4-byte Spill
	testl	%r14d, %r12d
	je	LBB0_6
## %bb.5:
	testl	%r14d, %ebx
	jne	LBB0_9
	jmp	LBB0_7
LBB0_6:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_refresh_fsmonitor
	testl	%r14d, %ebx
	jne	LBB0_9
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ce_skip_worktree
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_ce_mark_uptodate
	movq	%rbx, %rsi
	jmp	LBB0_3
LBB0_9:
	testl	%r14d, -60(%rbp)                ## 4-byte Folded Reload
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_15
LBB0_10:
	testl	%r14d, %r12d
	je	LBB0_16
LBB0_11:
	movl	16(%rdi), %r12d
	movq	%rdi, %rbx
	callq	_ce_namelen
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_has_symlink_leading_path
	testq	%rax, %rax
	je	LBB0_18
## %bb.12:
	testl	%r14d, %r15d
	movq	%rbx, %rsi
	jne	LBB0_3
## %bb.13:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.14:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_15:
	movq	_CE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	jne	LBB0_17
	jmp	LBB0_10
LBB0_16:
	movq	_CE_FSMONITOR_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_11
LBB0_17:
	callq	_ce_mark_uptodate
	jmp	LBB0_2
LBB0_18:
	movl	16(%rbx), %edi
	leaq	-56(%rbp), %rsi
	callq	_lstat
	testq	%rax, %rax
	js	LBB0_25
## %bb.19:
	leaq	-56(%rbp), %rdx
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_ie_match_stat
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.20:
	movl	%eax, (%rcx)
LBB0_21:
	testl	%eax, %eax
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_31
LBB0_22:
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	callq	_ie_modified
	testq	%rax, %rax
	je	LBB0_36
## %bb.23:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.24:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_29
LBB0_25:
	testl	%r14d, %r15d
	je	LBB0_27
## %bb.26:
	movq	%rbx, %rsi
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
LBB0_27:
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_30
## %bb.28:
	movq	_errno@GOTPCREL(%rip), %rax
LBB0_29:
	movl	(%rax), %eax
	movl	%eax, (%rcx)
LBB0_30:
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_31:
	testl	%r14d, -60(%rbp)                ## 4-byte Folded Reload
	je	LBB0_34
## %bb.32:
	movq	_assume_unchanged@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_34
## %bb.33:
	movq	_CE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_22
LBB0_34:
	movl	20(%rbx), %edi
	callq	_S_ISGITLINK
	testl	%eax, %eax
	je	LBB0_43
## %bb.35:
	movq	%rbx, %rsi
	jmp	LBB0_3
LBB0_36:
	movq	%rbx, %rdi
	callq	_ce_namelen
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_make_empty_cache_entry
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%rbx, %rsi
	callq	_copy_cache_entry
	movl	16(%r12), %edi
	movl	16(%rbx), %esi
	movq	8(%rbx), %rdx
	incq	%rdx
	callq	_memcpy
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_fill_stat_cache_info
	testl	%r14d, -60(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_40
## %bb.37:
	movq	_assume_unchanged@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_40
## %bb.38:
	movq	_CE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, (%rcx)
	jne	LBB0_40
## %bb.39:
	notl	%eax
	andl	%eax, (%r12)
LBB0_40:
	movq	%r12, %rsi
	jmp	LBB0_3
LBB0_43:
	movq	%rbx, %rdi
	callq	_ce_mark_uptodate
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_mark_fsmonitor_valid
	movq	%rbx, %rsi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_CE_MATCH_REFRESH,4,2           ## @CE_MATCH_REFRESH
	.comm	_CE_MATCH_IGNORE_VALID,4,2      ## @CE_MATCH_IGNORE_VALID
	.comm	_CE_MATCH_IGNORE_SKIP_WORKTREE,4,2 ## @CE_MATCH_IGNORE_SKIP_WORKTREE
	.comm	_CE_MATCH_IGNORE_MISSING,4,2    ## @CE_MATCH_IGNORE_MISSING
	.comm	_CE_MATCH_IGNORE_FSMONITOR,4,2  ## @CE_MATCH_IGNORE_FSMONITOR
	.comm	_CE_VALID,4,2                   ## @CE_VALID
	.comm	_CE_FSMONITOR_VALID,4,2         ## @CE_FSMONITOR_VALID
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_errno,4,2                      ## @errno
	.comm	_assume_unchanged,8,3           ## @assume_unchanged
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_refresh_cache_ent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function refresh_cache_ent
_refresh_cache_ent:                     ; @refresh_cache_ent
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _CE_MATCH_REFRESH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CE_MATCH_REFRESH@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_15
; %bb.1:
	mov	x23, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
Lloh3:
	adrp	x8, _CE_MATCH_IGNORE_VALID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CE_MATCH_IGNORE_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
Lloh6:
	adrp	x8, _CE_MATCH_IGNORE_SKIP_WORKTREE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CE_MATCH_IGNORE_SKIP_WORKTREE@GOTPAGEOFF]
Lloh8:
	ldr	w26, [x8]
Lloh9:
	adrp	x8, _CE_MATCH_IGNORE_MISSING@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CE_MATCH_IGNORE_MISSING@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _CE_MATCH_IGNORE_FSMONITOR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CE_MATCH_IGNORE_FSMONITOR@GOTPAGEOFF]
Lloh14:
	ldr	w28, [x8]
	mov	x0, x19
	bl	_ce_uptodate
	cbnz	x0, LBB0_15
; %bb.2:
	and	w27, w26, w22
	and	w26, w28, w22
	cbz	w26, LBB0_4
; %bb.3:
	cbnz	w27, LBB0_6
	b	LBB0_5
LBB0_4:
	mov	x0, x20
	bl	_refresh_fsmonitor
	cbnz	w27, LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_ce_skip_worktree
	cbnz	x0, LBB0_14
LBB0_6:
	and	w25, w25, w22
	cbz	w25, LBB0_12
LBB0_7:
	cbz	w26, LBB0_13
LBB0_8:
	and	w26, w24, w22
	ldr	w24, [x19, #16]
	mov	x0, x19
	bl	_ce_namelen
	mov	x1, x0
	mov	x0, x24
	bl	_has_symlink_leading_path
	cbz	x0, LBB0_16
; %bb.9:
	cbnz	w26, LBB0_15
; %bb.10:
	mov	x19, #0
	cbz	x21, LBB0_15
; %bb.11:
Lloh15:
	adrp	x8, _ENOENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_26
LBB0_12:
	ldr	w8, [x19]
Lloh17:
	adrp	x9, _CE_VALID@GOTPAGE
Lloh18:
	ldr	x9, [x9, _CE_VALID@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
	b	LBB0_7
LBB0_13:
	ldr	w8, [x19]
Lloh20:
	adrp	x9, _CE_FSMONITOR_VALID@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CE_FSMONITOR_VALID@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
LBB0_14:
	mov	x0, x19
	bl	_ce_mark_uptodate
LBB0_15:
	mov	x0, x19
	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
LBB0_16:
	ldr	w0, [x19, #16]
	add	x1, sp, #8
	bl	_lstat
	tbnz	x0, #63, LBB0_23
; %bb.17:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_ie_match_stat
	cbz	x23, LBB0_19
; %bb.18:
	str	w0, [x23]
LBB0_19:
	cbz	w0, LBB0_27
LBB0_20:
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	mov	x3, x22
	bl	_ie_modified
	cbz	x0, LBB0_32
; %bb.21:
	mov	x19, #0
	cbz	x21, LBB0_15
; %bb.22:
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_26
LBB0_23:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	cbz	w26, LBB0_25
; %bb.24:
	ldr	w9, [x8]
Lloh27:
	adrp	x10, _ENOENT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _ENOENT@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_15
LBB0_25:
	mov	x19, #0
	cbz	x21, LBB0_15
LBB0_26:
	ldr	w8, [x8]
	str	w8, [x21]
	b	LBB0_15
LBB0_27:
	cbz	w25, LBB0_30
; %bb.28:
Lloh30:
	adrp	x8, _assume_unchanged@GOTPAGE
Lloh31:
	ldr	x8, [x8, _assume_unchanged@GOTPAGEOFF]
Lloh32:
	ldr	x8, [x8]
	cbz	x8, LBB0_30
; %bb.29:
	ldr	w8, [x19]
Lloh33:
	adrp	x9, _CE_VALID@GOTPAGE
Lloh34:
	ldr	x9, [x9, _CE_VALID@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
LBB0_30:
	ldr	w0, [x19, #20]
	bl	_S_ISGITLINK
	cbnz	w0, LBB0_15
; %bb.31:
	mov	x0, x19
	bl	_ce_mark_uptodate
	mov	x0, x20
	mov	x1, x19
	bl	_mark_fsmonitor_valid
	b	LBB0_15
LBB0_32:
	mov	x0, x19
	bl	_ce_namelen
	mov	x1, x0
	mov	x0, x20
	bl	_make_empty_cache_entry
	mov	x21, x0
	mov	x1, x19
	bl	_copy_cache_entry
	ldr	w0, [x21, #16]
	ldr	w1, [x19, #16]
	ldr	x8, [x19, #8]
	add	x2, x8, #1
	bl	_memcpy
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x21
	bl	_fill_stat_cache_info
	cbnz	w25, LBB0_36
; %bb.33:
Lloh36:
	adrp	x8, _assume_unchanged@GOTPAGE
Lloh37:
	ldr	x8, [x8, _assume_unchanged@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	cbz	x8, LBB0_36
; %bb.34:
	ldr	w9, [x19]
Lloh39:
	adrp	x8, _CE_VALID@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CE_VALID@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	tst	w8, w9
	b.ne	LBB0_36
; %bb.35:
	ldr	w9, [x21]
	bic	w8, w9, w8
	str	w8, [x21]
LBB0_36:
	mov	x19, x21
	b	LBB0_15
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_CE_MATCH_REFRESH,4,2           ; @CE_MATCH_REFRESH
	.comm	_CE_MATCH_IGNORE_VALID,4,2      ; @CE_MATCH_IGNORE_VALID
	.comm	_CE_MATCH_IGNORE_SKIP_WORKTREE,4,2 ; @CE_MATCH_IGNORE_SKIP_WORKTREE
	.comm	_CE_MATCH_IGNORE_MISSING,4,2    ; @CE_MATCH_IGNORE_MISSING
	.comm	_CE_MATCH_IGNORE_FSMONITOR,4,2  ; @CE_MATCH_IGNORE_FSMONITOR
	.comm	_CE_VALID,4,2                   ; @CE_VALID
	.comm	_CE_FSMONITOR_VALID,4,2         ; @CE_FSMONITOR_VALID
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_errno,4,2                      ; @errno
	.comm	_assume_unchanged,8,3           ; @assume_unchanged
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_refresh_cache_ent
.subsections_via_symbols
