	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prune_index
_prune_index:                           ## @prune_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_9
## %bb.2:
	movq	%rsi, %r12
	movq	%rbx, %rdi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_index_name_pos
	movl	%eax, %ecx
	sarl	$31, %ecx
	xorl	%eax, %ecx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %r15d
	cmpl	%ecx, %r15d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jbe	LBB0_8
## %bb.3:
	movl	%ecx, %r13d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %r15d
	cmpl	%r13d, %r15d
	jbe	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %r14d
	subl	%r13d, %r14d
	shrl	%r14d
	leal	(%r14,%r13), %ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%ebx, %rcx
	movq	(%rax,%rcx,8), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	%r14d, %r13d
	incl	%r13d
	cmpl	%r13d, %r15d
	ja	LBB0_4
LBB0_8:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	8(%rbx), %rdi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movslq	%ecx, %rax
	leaq	(%rdi,%rax,8), %rsi
	subl	%ecx, %r15d
	movl	%r15d, %edx
	callq	_MOVE_ARRAY
	movl	%r15d, (%rbx)
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_prune_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prune_index
_prune_index:                           ; @prune_index
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_6
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_6
; %bb.2:
	mov	x20, x2
	mov	x21, x1
	mov	x0, x19
	bl	_index_name_pos
	eor	w22, w0, w0, asr #31
	ldr	w23, [x19]
	cmp	w23, w22
	b.ls	LBB0_5
; %bb.3:
	mov	x24, x22
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w23, w24
	add	w25, w24, w8, lsr #1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, w25, sxtw #3]
	ldr	w0, [x8]
	mov	x1, x21
	mov	x2, x20
	bl	_strncmp
	cmp	w0, #0
	csel	w23, w23, w25, eq
	csinc	w24, w24, w25, ne
	cmp	w23, w24
	b.hi	LBB0_4
LBB0_5:
	ldr	x0, [x19, #8]
	add	x1, x0, w22, sxtw #3
	sub	w20, w23, w22
	mov	x2, x20
	bl	_MOVE_ARRAY
	str	w20, [x19]
LBB0_6:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_prune_index
.subsections_via_symbols
