	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vector_set                     ## -- Begin function Vector_set
	.p2align	4, 0x90
_Vector_set:                            ## @Vector_set
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	%esi, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_assert
	movl	24(%rbx), %esi
	movq	%r14, %rdi
	callq	_Object_isA
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_Vector_isConsistent
	movl	%eax, %edi
	callq	_assert
	movq	%rbx, %rdi
	callq	_Vector_checkArraySize
	movslq	%r15d, %r12
	cmpl	%r15d, (%rbx)
	jle	LBB0_1
## %bb.2:
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	movq	(%rax,%r12,8), %r15
	xorl	%edi, %edi
	testq	%r15, %r15
	setne	%dil
	callq	_assert
	cmpq	$0, 16(%rbx)
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	callq	_Object_delete
	jmp	LBB0_5
LBB0_1:
	incl	%r15d
	movl	%r15d, (%rbx)
LBB0_5:
	movq	8(%rbx), %rax
	movq	%r14, (%rax,%r12,8)
	movq	%rbx, %rdi
	callq	_Vector_isConsistent
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_assert                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Vector_set                     ; -- Begin function Vector_set
	.p2align	2
_Vector_set:                            ; @Vector_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mvn	w8, w1
	lsr	w0, w8, #31
	bl	_assert
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_Object_isA
	bl	_assert
	mov	x0, x19
	bl	_Vector_isConsistent
	bl	_assert
	mov	x0, x19
	bl	_Vector_checkArraySize
	ldr	w8, [x19]
	cmp	w8, w21
	b.le	LBB0_4
; %bb.1:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.2:
	ldr	x8, [x19, #8]
	ldr	x22, [x8, w21, sxtw #3]
	cmp	x22, #0
	cset	w0, ne
	bl	_assert
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x22
	bl	_Object_delete
	b	LBB0_5
LBB0_4:
	add	w8, w21, #1
	str	w8, [x19]
LBB0_5:
	ldr	x8, [x19, #8]
	str	x20, [x8, w21, sxtw #3]
	mov	x0, x19
	bl	_Vector_isConsistent
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_assert
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
