	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dal_vector_clone               ## -- Begin function dal_vector_clone
	.p2align	4, 0x90
_dal_vector_clone:                      ## @dal_vector_clone
	.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
	callq	_dal_vector_get_count
	movl	12(%r14), %edi
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	4(%r14), %ecx
	movq	%rax, %rsi
	xorl	%edx, %edx
	callq	_dal_vector_presized_create
	jmp	LBB0_3
LBB0_1:
	movl	(%r14), %esi
	movl	4(%r14), %edx
	callq	_dal_vector_create
LBB0_3:
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	(%rbx), %edx
	movl	8(%rbx), %edi
	movl	8(%r14), %esi
	imull	4(%rbx), %edx
	callq	_memmove
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	callq	_BREAK_TO_DEBUGGER
LBB0_6:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	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	_dal_vector_clone               ; -- Begin function dal_vector_clone
	.p2align	2
_dal_vector_clone:                      ; @dal_vector_clone
	.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
	bl	_dal_vector_get_count
	mov	x1, x0
	ldr	w0, [x19, #12]
	cbz	x1, LBB0_3
; %bb.1:
	ldr	w3, [x19, #4]
	mov	x2, #0
	bl	_dal_vector_presized_create
	mov	x20, x0
	cbz	x0, LBB0_4
LBB0_2:
	ldp	w8, w0, [x20, #4]
	ldr	w1, [x19, #8]
	ldr	w9, [x20]
	mul	w2, w9, w8
	bl	_memmove
	b	LBB0_5
LBB0_3:
	ldp	w1, w2, [x19]
	bl	_dal_vector_create
	mov	x20, x0
	cbnz	x0, LBB0_2
LBB0_4:
	bl	_BREAK_TO_DEBUGGER
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
