	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function filemap_list_to_array
_filemap_list_to_array:                 ## @filemap_list_to_array
	.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
	movq	%rdi, %r14
	movq	24(%rdi), %rdi
	movl	4(%r14), %esi
	addl	(%r14), %esi
	shll	$3, %esi
	callq	_pg_realloc
	movq	%rax, 24(%r14)
	movl	4(%r14), %ecx
	movq	16(%r14), %rdx
	movl	%ecx, %ebx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movslq	%ecx, %rbx
	movq	%rdx, (%rax,%rbx,8)
	incq	%rbx
	movq	(%rdx), %rax
	movq	$0, (%rdx)
	testq	%rax, %rax
	je	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rdx
	movq	%rax, (%rdx,%rbx,8)
	incq	%rbx
	movq	(%rax), %rdx
	movq	$0, (%rax)
	movq	%rdx, %rax
	testq	%rdx, %rdx
	jne	LBB0_2
LBB0_3:
	addl	(%r14), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %ebx
	sete	%dil
	callq	_Assert
	movl	%ebx, 4(%r14)
	movl	$0, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_filemap_list_to_array
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function filemap_list_to_array
_filemap_list_to_array:                 ; @filemap_list_to_array
	.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, x0
	ldr	x0, [x0, #24]
	ldp	w8, w9, [x19]
	add	w8, w9, w8
	lsl	w1, w8, #3
	bl	_pg_realloc
	str	x0, [x19, #24]
	ldr	w8, [x19, #4]
	ldr	x11, [x19, #16]
	cbz	x11, LBB0_3
; %bb.1:
	sxtw	x9, w8
	add	x10, x9, #1
	str	x11, [x0, x9, lsl #3]
	ldr	x9, [x11]
	str	xzr, [x11]
	cbz	x9, LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #24]
	add	x20, x10, #1
	str	x9, [x11, x10, lsl #3]
	ldr	x11, [x9]
	str	xzr, [x9]
	mov	x9, x11
	mov	x10, x20
	cbnz	x11, LBB0_2
	b	LBB0_5
LBB0_3:
	mov	x20, x8
	b	LBB0_5
LBB0_4:
	mov	x20, x10
LBB0_5:
	ldr	w9, [x19]
	add	w8, w9, w8
	cmp	w20, w8
	cset	w0, eq
	bl	_Assert
	stp	wzr, w20, [x19]
	stp	xzr, xzr, [x19, #8]
	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	_filemap_list_to_array
.subsections_via_symbols
