	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vc_containers_list_insert      ## -- Begin function vc_containers_list_insert
	.p2align	4, 0x90
_vc_containers_list_insert:             ## @vc_containers_list_insert
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r12d, %r12d
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, (%rdi)
	je	LBB0_11
## %bb.2:
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	8(%rbx), %r15
	leaq	-48(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_vc_containers_list_find_index
	movq	%r15, %rsi
	movq	24(%rbx), %rdi
	movq	-48(%rbp), %rcx
	movq	%rcx, %r15
	imulq	%rsi, %r15
	addq	%rdi, %r15
	testl	%r13d, %r13d
	jne	LBB0_4
## %bb.3:
	testl	%eax, %eax
	jne	LBB0_10
LBB0_4:
	movl	16(%rbx), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_7
## %bb.5:
	incl	%eax
	movq	%rsi, %r13
                                        ## kill: def $esi killed $esi killed $rsi
	imull	%eax, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, 24(%rbx)
	incl	(%rbx)
	movq	-48(%rbp), %rcx
	movl	16(%rbx), %eax
	movq	%r13, %rsi
LBB0_7:
	movslq	%eax, %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_9
## %bb.8:
	leaq	(%r15,%rsi), %rdi
	subq	%rcx, %rdx
	imulq	%rsi, %rdx
	movq	%r15, %rsi
	callq	_memmove
	movl	16(%rbx), %eax
LBB0_9:
	incl	%eax
	movl	%eax, 16(%rbx)
LBB0_10:
	movq	8(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movl	$1, %r12d
LBB0_11:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	_vc_containers_list_insert      ; -- Begin function vc_containers_list_insert
	.p2align	2
_vc_containers_list_insert:             ; @vc_containers_list_insert
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_11
; %bb.2:
	mov	x22, x2
	mov	x19, x1
	ldr	x23, [x20, #8]
	add	x2, sp, #8
	mov	x0, x20
	bl	_vc_containers_list_find_index
	mov	x8, x0
	ldr	x0, [x20, #24]
	ldr	x9, [sp, #8]
	madd	x21, x9, x23, x0
	cbnz	w22, LBB0_4
; %bb.3:
	cbnz	w8, LBB0_10
LBB0_4:
	ldr	w8, [x20, #16]
	ldr	w10, [x20]
	cmp	w8, w10
	b.ne	LBB0_7
; %bb.5:
	madd	w1, w23, w8, w23
	bl	_realloc
	cbz	x0, LBB0_12
; %bb.6:
	str	x0, [x20, #24]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	ldr	x9, [sp, #8]
	ldr	w8, [x20, #16]
LBB0_7:
	sxtw	x10, w8
	cmp	x9, x10
	b.hs	LBB0_9
; %bb.8:
	add	x0, x21, x23
	sub	x8, x10, x9
	mul	x2, x8, x23
	mov	x1, x21
	bl	_memmove
	ldr	w8, [x20, #16]
LBB0_9:
	add	w8, w8, #1
	str	w8, [x20, #16]
LBB0_10:
	ldr	x2, [x20, #8]
	mov	x0, x21
	mov	x1, x19
	bl	_memcpy
	mov	w0, #1
	b	LBB0_12
LBB0_11:
	mov	w0, #0
LBB0_12:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
