	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_one
_update_one:                            ## @update_one
	.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	_mark_valid_only@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	movq	%rdi, %rbx
	movq	_mark_skip_worktree_only@GOTPCREL(%rip), %r14
	movq	_force_remove@GOTPCREL(%rip), %rax
	movq	_mark_fsmonitor_only@GOTPCREL(%rip), %r13
	jne	LBB0_4
## %bb.1:
	cmpq	$0, (%r14)
	jne	LBB0_4
## %bb.2:
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, (%r13)
	jne	LBB0_4
## %bb.5:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_lstat
	testq	%rax, %rax
	js	LBB0_7
## %bb.6:
	xorl	%r12d, %r12d
	movq	-48(%rbp), %rsi
	jmp	LBB0_8
LBB0_4:
	movq	$0, -48(%rbp)
	xorl	%esi, %esi
	xorl	%r12d, %r12d
	jmp	LBB0_8
LBB0_7:
	movq	$0, -48(%rbp)
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	xorl	%esi, %esi
LBB0_8:
	movq	%rbx, %rdi
	callq	_verify_path
	testl	%eax, %eax
	je	LBB0_25
## %bb.9:
	movq	(%r15), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	_CE_VALID@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_25:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fprintf                        ## TAILCALL
LBB0_13:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_CE_SKIP_WORKTREE@GOTPCREL(%rip), %rcx
	jmp	LBB0_11
LBB0_15:
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_CE_FSMONITOR_VALID@GOTPCREL(%rip), %rcx
LBB0_11:
	movl	(%rcx), %esi
	movq	_MARK_FLAG@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	%rbx, %rdi
	callq	_mark_ce_flags
	testq	%rax, %rax
	je	LBB0_24
## %bb.12:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_die                            ## TAILCALL
LBB0_17:
	movq	_force_remove@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %bb.18:
	movq	%rbx, %rdi
	callq	_remove_file_from_cache
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	leaq	L_.str.2(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_20:
	leaq	L_.str.3(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_report                         ## TAILCALL
LBB0_21:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	callq	_process_path
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
LBB0_23:
	leaq	L_.str.5(%rip), %rdi
	movq	%rbx, %rsi
	callq	_report
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mark_valid_only,8,3            ## @mark_valid_only
	.comm	_mark_skip_worktree_only,8,3    ## @mark_skip_worktree_only
	.comm	_force_remove,8,3               ## @force_remove
	.comm	_mark_fsmonitor_only,8,3        ## @mark_fsmonitor_only
	.comm	_errno,4,2                      ## @errno
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ignoring path %s\n"

	.comm	_CE_VALID,4,2                   ## @CE_VALID
	.comm	_MARK_FLAG,8,3                  ## @MARK_FLAG
L_.str.1:                               ## @.str.1
	.asciz	"Unable to mark file %s"

	.comm	_CE_SKIP_WORKTREE,4,2           ## @CE_SKIP_WORKTREE
	.comm	_CE_FSMONITOR_VALID,4,2         ## @CE_FSMONITOR_VALID
L_.str.2:                               ## @.str.2
	.asciz	"git update-index: unable to remove %s"

L_.str.3:                               ## @.str.3
	.asciz	"remove '%s'"

L_.str.4:                               ## @.str.4
	.asciz	"Unable to process path %s"

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

	.no_dead_strip	_update_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_one
_update_one:                            ; @update_one
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
Lloh0:
	adrp	x24, _mark_valid_only@GOTPAGE
Lloh1:
	ldr	x24, [x24, _mark_valid_only@GOTPAGEOFF]
Lloh2:
	adrp	x22, _mark_skip_worktree_only@GOTPAGE
Lloh3:
	ldr	x22, [x22, _mark_skip_worktree_only@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x9, [x22]
Lloh4:
	adrp	x21, _force_remove@GOTPAGE
Lloh5:
	ldr	x21, [x21, _force_remove@GOTPAGEOFF]
Lloh6:
	adrp	x23, _mark_fsmonitor_only@GOTPAGE
Lloh7:
	ldr	x23, [x23, _mark_fsmonitor_only@GOTPAGEOFF]
	ldr	x10, [x21]
	ldr	x11, [x23]
	cmp	x8, #0
	ccmp	x9, #0, #0, eq
	ccmp	x10, #0, #0, eq
	ccmp	x11, #0, #0, eq
	b.eq	LBB0_2
; %bb.1:
	mov	x1, #0
	mov	w20, #0
	str	xzr, [sp, #8]
	b	LBB0_5
LBB0_2:
	add	x1, sp, #8
	mov	x0, x19
	bl	_lstat
	tbnz	x0, #63, LBB0_4
; %bb.3:
	mov	w20, #0
	ldr	x1, [sp, #8]
	b	LBB0_5
LBB0_4:
	mov	x1, #0
	str	xzr, [sp, #8]
Lloh8:
	adrp	x8, _errno@GOTPAGE
Lloh9:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
LBB0_5:
	mov	x0, x19
	bl	_verify_path
	cbz	w0, LBB0_8
; %bb.6:
	ldr	x8, [x24]
	cbz	x8, LBB0_9
; %bb.7:
Lloh11:
	adrp	x9, _CE_VALID@GOTPAGE
Lloh12:
	ldr	x9, [x9, _CE_VALID@GOTPAGEOFF]
	b	LBB0_13
LBB0_8:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_fprintf
LBB0_9:
	ldr	x8, [x22]
	cbz	x8, LBB0_11
; %bb.10:
Lloh18:
	adrp	x9, _CE_SKIP_WORKTREE@GOTPAGE
Lloh19:
	ldr	x9, [x9, _CE_SKIP_WORKTREE@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	ldr	x8, [x23]
	cbz	x8, LBB0_15
; %bb.12:
Lloh20:
	adrp	x9, _CE_FSMONITOR_VALID@GOTPAGE
Lloh21:
	ldr	x9, [x9, _CE_FSMONITOR_VALID@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x9]
Lloh22:
	adrp	x9, _MARK_FLAG@GOTPAGE
Lloh23:
	ldr	x9, [x9, _MARK_FLAG@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w2, eq
	mov	x0, x19
	bl	_mark_ce_flags
	cbz	x0, LBB0_22
; %bb.14:
Lloh25:
	adrp	x0, l_.str.1@PAGE
Lloh26:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_die
LBB0_15:
	ldr	x8, [x21]
	cbz	x8, LBB0_19
; %bb.16:
	mov	x0, x19
	bl	_remove_file_from_cache
	cbz	x0, LBB0_18
; %bb.17:
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_18:
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_report
LBB0_19:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_process_path
	cbz	x0, LBB0_21
; %bb.20:
Lloh31:
	adrp	x0, l_.str.4@PAGE
Lloh32:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_die
LBB0_21:
Lloh33:
	adrp	x0, l_.str.5@PAGE
Lloh34:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_report
LBB0_22:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_mark_valid_only,8,3            ; @mark_valid_only
	.comm	_mark_skip_worktree_only,8,3    ; @mark_skip_worktree_only
	.comm	_force_remove,8,3               ; @force_remove
	.comm	_mark_fsmonitor_only,8,3        ; @mark_fsmonitor_only
	.comm	_errno,4,2                      ; @errno
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ignoring path %s\n"

	.comm	_CE_VALID,4,2                   ; @CE_VALID
	.comm	_MARK_FLAG,8,3                  ; @MARK_FLAG
l_.str.1:                               ; @.str.1
	.asciz	"Unable to mark file %s"

	.comm	_CE_SKIP_WORKTREE,4,2           ; @CE_SKIP_WORKTREE
	.comm	_CE_FSMONITOR_VALID,4,2         ; @CE_FSMONITOR_VALID
l_.str.2:                               ; @.str.2
	.asciz	"git update-index: unable to remove %s"

l_.str.3:                               ; @.str.3
	.asciz	"remove '%s'"

l_.str.4:                               ; @.str.4
	.asciz	"Unable to process path %s"

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

	.no_dead_strip	_update_one
.subsections_via_symbols
