	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_list
_add_list:                              ## @add_list
	.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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movl	(%rsi), %eax
	leal	8(,%rax,8), %esi
	callq	_erealloc
	movq	%rax, (%rbx)
	movq	%r12, %rdi
	movl	$8, %esi
	callq	_ecalloc
	movq	(%rbx), %rdx
	movq	(%r14), %rcx
	movq	%rax, (%rdx,%rcx,8)
	testq	%r12, %r12
	je	LBB0_7
## %bb.1:
	leaq	-1(%r12), %rdx
	movl	%r12d, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_5
LBB0_3:
	andq	$-4, %r12
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rdx,8), %rsi
	movq	(%rbx), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rsi, (%rdi,%rdx,8)
	movq	8(%r15,%rdx,8), %rsi
	movq	(%rbx), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rsi, 8(%rdi,%rdx,8)
	movq	16(%r15,%rdx,8), %rsi
	movq	(%rbx), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rsi, 16(%rdi,%rdx,8)
	movq	24(%r15,%rdx,8), %rsi
	movq	(%rbx), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rsi, 24(%rdi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r12
	jne	LBB0_4
LBB0_5:
	testq	%rax, %rax
	je	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rdx,8), %rsi
	movq	(%rbx), %rdi
	movq	(%rdi,%rcx,8), %rdi
	movq	%rsi, (%rdi,%rdx,8)
	incq	%rdx
	decq	%rax
	jne	LBB0_6
LBB0_7:
	incq	%rcx
	movq	%rcx, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_add_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_list
_add_list:                              ; @add_list
	.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, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x0, [x0]
	ldr	w8, [x1]
	lsl	w8, w8, #3
	add	w1, w8, #8
	bl	_erealloc
	str	x0, [x22]
	mov	x0, x20
	mov	w1, #8
	bl	_ecalloc
	ldr	x9, [x22]
	ldr	x8, [x19]
	str	x0, [x9, x8, lsl #3]
	cbz	x20, LBB0_3
; %bb.1:
	mov	x9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x10, x9, #3
	ldr	x11, [x21, x10]
	ldr	x12, [x22]
	ldr	x12, [x12, x8, lsl #3]
	str	x11, [x12, x10]
	add	x9, x9, #1
	cmp	x20, x9
	b.ne	LBB0_2
LBB0_3:
	add	x8, x8, #1
	str	x8, [x19]
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_add_list
.subsections_via_symbols
