	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function index_range_of_same_dir
_index_range_of_same_dir:               ## @index_range_of_same_dir
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%esi, %r14d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_add_slash
	movq	%rax, %rbx
	incl	%r14d
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_cache_name_pos
	movl	%eax, %ecx
	testl	%eax, %eax
	js	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%ecx, %r15d
	callq	__
	movl	%eax, %edi
	movl	%r14d, %esi
	movq	%rbx, %rdx
	callq	_die
	movl	%r15d, %ecx
LBB0_2:
	notl	%ecx
	movq	_active_nr@GOTPCREL(%rip), %r12
	movl	%ecx, %r15d
	cmpl	%ecx, (%r12)
	jle	LBB0_7
## %bb.3:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %r15
	movq	_active_cache@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%r15,8), %rax
	movq	(%rax), %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r15
	movslq	(%r12), %rax
	cmpq	%rax, %r15
	jl	LBB0_4
LBB0_6:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
LBB0_7:
	cmpq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	movl	%ecx, %ebx
	callq	_free
	movl	%ebx, %ecx
LBB0_9:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	%ecx, (%rax)
	movl	%r15d, (%r13)
	subl	%ecx, %r15d
	movl	%r15d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%.*s is in index"

	.comm	_active_nr,4,2                  ## @active_nr
	.comm	_active_cache,8,3               ## @active_cache
	.no_dead_strip	_index_range_of_same_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function index_range_of_same_dir
_index_range_of_same_dir:               ; @index_range_of_same_dir
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	bl	_add_slash
	mov	x21, x0
	add	w23, w23, #1
	mov	x1, x23
	bl	_cache_name_pos
	mov	x24, x0
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x23
	mov	x2, x21
	bl	_die
LBB0_2:
	mvn	w24, w24
Lloh2:
	adrp	x26, _active_nr@GOTPAGE
Lloh3:
	ldr	x26, [x26, _active_nr@GOTPAGEOFF]
	ldr	w8, [x26]
	mov	x25, x24
	cmp	w8, w24
	b.le	LBB0_6
; %bb.3:
	sxtw	x25, w24
Lloh4:
	adrp	x27, _active_cache@GOTPAGE
Lloh5:
	ldr	x27, [x27, _active_cache@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	x8, [x8, x25, lsl #3]
	ldr	x0, [x8]
	mov	x1, x21
	mov	x2, x23
	bl	_strncmp
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x26]
	cmp	x25, x8
	b.lt	LBB0_4
LBB0_6:
	cmp	x21, x22
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_free
LBB0_8:
	str	w24, [x20]
	str	w25, [x19]
	sub	w0, w25, w24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%.*s is in index"

	.comm	_active_nr,4,2                  ; @active_nr
	.comm	_active_cache,8,3               ; @active_cache
	.no_dead_strip	_index_range_of_same_dir
.subsections_via_symbols
