	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function remove_short_at_index
_remove_short_at_index:                 ## @remove_short_at_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testl	%esi, %esi
	js	LBB0_2
## %bb.1:
	cmpl	%r14d, (%rbx)
	setg	%dil
LBB0_2:
	callq	_assert
	movq	8(%rbx), %rcx
	movslq	%r14d, %rax
	movq	$0, (%rcx,%rax,8)
	movl	(%rbx), %edx
	decl	%edx
	movl	%edx, (%rbx)
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rcx
	leaq	(%rcx,%rax,8), %rdi
	leaq	(%rcx,%rax,8), %rsi
	addq	$8, %rsi
	subl	%r14d, %edx
	shll	$3, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_memmove                        ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_remove_short_at_index
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function remove_short_at_index
_remove_short_at_index:                 ; @remove_short_at_index
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	tbnz	w1, #31, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, w19
	cset	w0, gt
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	bl	_assert
	ldr	x8, [x20, #8]
	str	xzr, [x8, w19, sxtw #3]
	ldr	w8, [x20]
	subs	w8, w8, #1
	str	w8, [x20]
	b.eq	LBB0_5
; %bb.4:
	sxtw	x9, w19
	ldr	x10, [x20, #8]
	add	x0, x10, x9, lsl #3
	add	x1, x0, #8
	sub	w8, w8, w19
	lsl	w2, w8, #3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_memmove
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_remove_short_at_index
.subsections_via_symbols
