	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reuse_worktree_file
_reuse_worktree_file:                   ## @reuse_worktree_file
	.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
	xorl	%r14d, %r14d
	cmpq	$0, (%rdi)
	je	LBB0_14
## %bb.1:
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_FAST_WORKING_DIRECTORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%ecx, %eax
	je	LBB0_2
LBB0_3:
	testl	%ebx, %ebx
	je	LBB0_4
LBB0_5:
	movq	%r15, %rdi
	callq	_strlen
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_index_name_pos
	testl	%eax, %eax
	js	LBB0_14
## %bb.6:
	movq	(%r12), %rcx
	movl	%eax, %eax
	movq	(%rcx,%rax,8), %rbx
	leaq	8(%rbx), %rsi
	movq	%r13, %rdi
	callq	_oideq
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movl	4(%rbx), %edi
	callq	_S_ISREG
	testl	%eax, %eax
	je	LBB0_14
## %bb.8:
	movq	_CE_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	jne	LBB0_14
## %bb.9:
	movq	%rbx, %rdi
	callq	_ce_skip_worktree
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	%rbx, %rdi
	callq	_ce_uptodate
	movl	$1, %r14d
	testq	%rax, %rax
	jne	LBB0_14
## %bb.11:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_lstat
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movq	%rbx, %rsi
	xorl	%ecx, %ecx
	callq	_ie_match_stat
	testl	%eax, %eax
	je	LBB0_14
LBB0_13:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_2:
	movq	%r13, %rdi
	callq	_has_object_pack
	testq	%rax, %rax
	jne	LBB0_14
	jmp	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_would_convert_to_git
	testq	%rax, %rax
	je	LBB0_5
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAST_WORKING_DIRECTORY,4,2     ## @FAST_WORKING_DIRECTORY
	.comm	_CE_VALID,4,2                   ## @CE_VALID
	.no_dead_strip	_reuse_worktree_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reuse_worktree_file
_reuse_worktree_file:                   ; @reuse_worktree_file
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FAST_WORKING_DIRECTORY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAST_WORKING_DIRECTORY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w3
	cbz	w8, LBB0_10
LBB0_2:
	cbz	w21, LBB0_11
LBB0_3:
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_index_name_pos
	tbnz	w0, #31, LBB0_12
; %bb.4:
	ldr	x8, [x19]
	ldr	x21, [x8, w0, uxtw #3]
	add	x1, x21, #8
	mov	x0, x22
	bl	_oideq
	cbz	w0, LBB0_13
; %bb.5:
	ldr	w0, [x21, #4]
	bl	_S_ISREG
	cbz	w0, LBB0_13
; %bb.6:
	ldr	w8, [x21]
Lloh3:
	adrp	x9, _CE_VALID@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CE_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.7:
	mov	x0, x21
	bl	_ce_skip_worktree
	cbnz	x0, LBB0_12
; %bb.8:
	mov	x0, x21
	bl	_ce_uptodate
	cbz	x0, LBB0_14
LBB0_9:
	mov	w0, #1
	b	LBB0_13
LBB0_10:
	mov	x0, x22
	bl	_has_object_pack
	cbnz	x0, LBB0_12
	b	LBB0_2
LBB0_11:
	mov	x0, x19
	mov	x1, x20
	bl	_would_convert_to_git
	cbz	x0, LBB0_3
LBB0_12:
	mov	w0, #0
LBB0_13:
	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
	add	sp, sp, #64
	ret
LBB0_14:
	add	x1, sp, #8
	mov	x0, x20
	bl	_lstat
	cbnz	w0, LBB0_12
; %bb.15:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	w3, #0
	bl	_ie_match_stat
	cbnz	w0, LBB0_12
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FAST_WORKING_DIRECTORY,4,2     ; @FAST_WORKING_DIRECTORY
	.comm	_CE_VALID,4,2                   ; @CE_VALID
	.no_dead_strip	_reuse_worktree_file
.subsections_via_symbols
