	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function directory_exists_in_index
_directory_exists_in_index:             ## @directory_exists_in_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_ignore_case@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_1
## %bb.13:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_directory_exists_in_index_icase ## TAILCALL
LBB0_1:
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_index_name_pos
	movl	%eax, %ecx
	sarl	$31, %ecx
	xorl	%eax, %ecx
	cmpl	(%r13), %ecx
	jge	LBB0_10
## %bb.2:
	movslq	%r15d, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movslq	%ecx, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%r12), %edi
	callq	_S_ISGITLINK
	testq	%rax, %rax
	jne	LBB0_11
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	(%r13), %rax
	cmpq	%rax, %rbx
	jge	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %r12
	movq	(%r12), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r12), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movzbl	(%rax,%rcx), %eax
	cmpb	$47, %al
	ja	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	testb	%al, %al
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$47, %al
	jne	LBB0_9
## %bb.7:
	movq	_index_directory@GOTPCREL(%rip), %rax
	jmp	LBB0_12
LBB0_10:
	movq	_index_nonexistent@GOTPCREL(%rip), %rax
LBB0_12:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	_index_gitdir@GOTPCREL(%rip), %rax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ignore_case,8,3                ## @ignore_case
	.comm	_index_directory,4,2            ## @index_directory
	.comm	_index_gitdir,4,2               ## @index_gitdir
	.comm	_index_nonexistent,4,2          ## @index_nonexistent
	.no_dead_strip	_directory_exists_in_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function directory_exists_in_index
_directory_exists_in_index:             ; @directory_exists_in_index
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ignore_case@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ignore_case@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_directory_exists_in_index_icase
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_index_name_pos
	eor	w8, w0, w0, asr #31
	ldr	w9, [x21]
	cmp	w8, w9
	b.ge	LBB0_11
; %bb.3:
	sxtw	x22, w19
	sxtw	x23, w8
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x24, #8]
	bl	_S_ISGITLINK
	cbnz	x0, LBB0_13
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.ge	LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #8]
	ldr	x24, [x8, x23, lsl #3]
	ldr	x0, [x24]
	mov	x1, x20
	mov	x2, x19
	bl	_strncmp
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x24]
	ldrb	w8, [x8, x22]
	cmp	w8, #47
	b.hi	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	cbz	w8, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	w8, #47
	b.ne	LBB0_5
; %bb.10:
Lloh3:
	adrp	x8, _index_directory@GOTPAGE
Lloh4:
	ldr	x8, [x8, _index_directory@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh5:
	adrp	x8, _index_nonexistent@GOTPAGE
Lloh6:
	ldr	x8, [x8, _index_nonexistent@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_13:
Lloh7:
	adrp	x8, _index_gitdir@GOTPAGE
Lloh8:
	ldr	x8, [x8, _index_gitdir@GOTPAGEOFF]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ignore_case,8,3                ; @ignore_case
	.comm	_index_directory,4,2            ; @index_directory
	.comm	_index_gitdir,4,2               ; @index_gitdir
	.comm	_index_nonexistent,4,2          ; @index_nonexistent
	.no_dead_strip	_directory_exists_in_index
.subsections_via_symbols
