	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_vector_remove_at_index     ## -- Begin function dal_vector_remove_at_index
	.p2align	4, 0x90
_dal_vector_remove_at_index:            ## @dal_vector_remove_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
                                        ## kill: def $esi killed $esi def $rsi
	movl	(%rdi), %edx
	xorl	%eax, %eax
	cmpl	%esi, %edx
	jle	LBB0_4
## %bb.1:
	movq	%rdi, %rbx
	leal	-1(%rdx), %eax
	cmpl	%esi, %eax
	je	LBB0_3
## %bb.2:
	movq	8(%rbx), %r8
	movl	4(%rbx), %ecx
	movl	%ecx, %eax
	imull	%esi, %eax
	movslq	%eax, %rdi
	addq	%r8, %rdi
	leal	1(%rsi), %eax
	imull	%ecx, %eax
	cltq
	addq	%r8, %rax
	notl	%esi
	addl	%esi, %edx
	imull	%ecx, %edx
	movq	%rax, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movl	(%rbx), %eax
	decl	%eax
LBB0_3:
	movl	%eax, (%rbx)
	movl	$1, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_vector_remove_at_index     ; -- Begin function dal_vector_remove_at_index
	.p2align	2
_dal_vector_remove_at_index:            ; @dal_vector_remove_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
	ldr	w9, [x0]
	cmp	w9, w1
	b.le	LBB0_4
; %bb.1:
	mov	x19, x0
	sub	w8, w9, #1
	cmp	w8, w1
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	w10, [x19, #4]
	mul	w11, w10, w1
	add	x0, x8, w11, sxtw
	add	w11, w10, w11
	add	x8, x8, w11, sxtw
	mvn	w11, w1
	add	w9, w9, w11
	mul	w2, w10, w9
	mov	x1, x8
	bl	_memmove
	ldr	w8, [x19]
	sub	w8, w8, #1
LBB0_3:
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
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
.subsections_via_symbols
