	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_range_dir
_handle_range_dir:                      ## @handle_range_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	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, %r13
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	(%r8), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%rcx, %rsi
	movq	%r8, %rdx
	callq	_hash_dir_entry_with_parent_and_prefix
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movl	$47, %esi
	callq	_strbuf_addch
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leal	1(%rbx), %r15d
	cmpl	%r14d, %r15d
	jge	LBB0_1
## %bb.2:
	movq	(%r12), %rax
	movslq	%r15d, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	movl	4(%r13), %esi
	callq	_strncmp
	testq	%rax, %rax
	movq	%r12, %rbx
	jg	LBB0_13
## %bb.3:
	movq	(%rbx), %rax
	movslq	%r14d, %rcx
	movq	-8(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	movl	4(%r13), %esi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rbx, %r12
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	%ebx, %r15d
	cmpl	%ebx, %r14d
	movq	%r12, %rbx
	jle	LBB0_13
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, %r15d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=1
	incl	%r12d
	movl	%r12d, %r15d
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%r15d, %r14d
	jle	LBB0_13
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %r12d
	subl	%r15d, %r12d
	sarl	%r12d
	addl	%r15d, %r12d
	movq	(%rbx), %rax
	movslq	%r12d, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	movl	(%r13), %edx
	movl	4(%r13), %esi
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%r12d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_die
	jmp	LBB0_12
LBB0_1:
	movl	%r14d, %r15d
	movq	%r12, %rbx
LBB0_13:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movl	%r15d, %edx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movq	%r13, %r8
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_handle_range_1
	movl	%eax, %r14d
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_strbuf_setlen
	movq	16(%rbp), %rax
	movq	%rbx, (%rax)
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%r14d, %r15d
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache entry out of order"

	.no_dead_strip	_handle_range_dir
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_range_dir
_handle_range_dir:                      ; @handle_range_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, x6
	mov	x22, x5
	mov	x20, x4
	mov	x28, x2
	mov	x24, x1
	mov	x25, x0
	ldr	w21, [x4]
	mov	x1, x3
	mov	x2, x4
	bl	_hash_dir_entry_with_parent_and_prefix
	mov	x23, x0
	mov	x0, x20
	mov	w1, #47
	bl	_strbuf_addch
	add	w27, w24, #1
	cmp	w27, w28
	b.ge	LBB0_11
; %bb.1:
	ldr	x8, [x25]
	ldr	x8, [x8, w27, sxtw #3]
	ldr	w0, [x8]
	ldp	w2, w1, [x20]
	bl	_strncmp
	cmp	x0, #0
	b.gt	LBB0_12
; %bb.2:
	ldr	x8, [x25]
	sub	w9, w28, #1
	ldr	x8, [x8, w9, sxtw #3]
	ldr	w0, [x8]
	ldp	w2, w1, [x20]
	bl	_strncmp
	cbz	x0, LBB0_11
; %bb.3:
	mvn	w8, w24
	lsr	w0, w8, #31
	bl	_assert
	mov	x27, x24
	cmp	w28, w24
	b.le	LBB0_12
; %bb.4:
	mov	x27, x24
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w27, w26, #1
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	w28, w27
	b.le	LBB0_12
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w28, w27
	add	w26, w27, w8, asr #1
	ldr	x8, [x25]
	ldr	x8, [x8, w26, sxtw #3]
	ldr	w0, [x8]
	ldp	w2, w1, [x20]
	bl	_strncmp
	cbz	w0, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w0, #0
	b.le	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x26
	b	LBB0_6
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_die
	b	LBB0_6
LBB0_11:
	mov	x27, x28
LBB0_12:
	mov	x0, x25
	mov	x1, x24
	mov	x2, x27
	mov	x3, x23
	mov	x4, x20
	mov	x5, x22
	bl	_handle_range_1
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strbuf_setlen
	str	x23, [x19]
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache entry out of order"

	.no_dead_strip	_handle_range_dir
.subsections_via_symbols
