	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function array_grow
_array_grow:                            ## @array_grow
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %rdi
	movl	$16, %edx
	callq	_breallocarray
	movq	%rax, 8(%r14)
	movq	(%r14), %rcx
	cmpq	%rbx, %rcx
	jae	LBB0_6
## %bb.1:
	movl	%ebx, %esi
	subl	%ecx, %esi
	movq	%rcx, %rdx
	notq	%rdx
	testb	$1, %sil
	je	LBB0_3
## %bb.2:
	movq	_BCODE_NONE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movq	%rcx, %rdi
	shlq	$4, %rdi
	movl	%esi, 8(%rax,%rdi)
	movq	$0, (%rax,%rdi)
	incq	%rcx
LBB0_3:
	addq	%rbx, %rdx
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdx
	subq	%rcx, %rdx
	shlq	$4, %rcx
	addq	%rcx, %rax
	addq	$24, %rax
	movq	_BCODE_NONE@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %esi
	movl	%esi, -16(%rax)
	movq	$0, -24(%rax)
	movl	(%rcx), %esi
	movl	%esi, (%rax)
	movq	$0, -8(%rax)
	addq	$32, %rax
	addq	$-2, %rdx
	jne	LBB0_5
LBB0_6:
	movq	%rbx, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BCODE_NONE,4,2                 ## @BCODE_NONE
	.no_dead_strip	_array_grow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function array_grow
_array_grow:                            ; @array_grow
	.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, x1
	mov	x20, x0
	ldr	x0, [x0, #8]
	mov	w2, #16
	bl	_breallocarray
	str	x0, [x20, #8]
	ldr	x9, [x20]
	cmp	x9, x19
	b.hs	LBB0_3
; %bb.1:
	sub	x8, x19, x9
	add	x9, x0, x9, lsl #4
	add	x9, x9, #8
Lloh0:
	adrp	x10, _BCODE_NONE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BCODE_NONE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x10]
	str	w11, [x9]
	stur	xzr, [x9, #-8]
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	str	x19, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BCODE_NONE,4,2                 ; @BCODE_NONE
	.no_dead_strip	_array_grow
.subsections_via_symbols
