	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function AddPoint
_AddPoint:                              ## @AddPoint
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movl	4(%rdi), %esi
	cmpl	%esi, %eax
	jl	LBB0_2
## %bb.1:
	movq	8(%rbx), %r14
	shll	$2, %esi
	movl	%esi, 4(%rbx)
	movl	$8, %edi
	movsd	%xmm0, -24(%rbp)                ## 8-byte Spill
	callq	_calloc
	movq	%rax, 8(%rbx)
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	8(%rbx), %rdi
	movl	(%rbx), %edx
	shll	$3, %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_free
	movsd	-24(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	movl	(%rbx), %eax
LBB0_2:
	movq	8(%rbx), %rcx
	leal	1(%rax), %edx
	movl	%edx, (%rbx)
	cltq
	movsd	%xmm0, (%rcx,%rax,8)
	addsd	16(%rbx), %xmm0
	movsd	%xmm0, 16(%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_AddPoint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function AddPoint
_AddPoint:                              ; @AddPoint
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	fmov	d8, d0
	mov	x19, x0
	ldp	w8, w9, [x0]
	cmp	w8, w9
	b.lt	LBB0_2
; %bb.1:
	ldr	x20, [x19, #8]
	lsl	w1, w9, #2
	str	w1, [x19, #4]
	mov	w0, #8
	bl	_calloc
	str	x0, [x19, #8]
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	ldr	x0, [x19, #8]
	ldr	w8, [x19]
	lsl	w2, w8, #3
	mov	x1, x20
	bl	_memcpy
	mov	x0, x20
	bl	_free
	ldr	w8, [x19]
LBB0_2:
	ldr	x9, [x19, #8]
	add	w10, w8, #1
	str	w10, [x19]
	str	d8, [x9, w8, sxtw #3]
	ldr	d0, [x19, #16]
	fadd	d0, d0, d8
	str	d0, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_AddPoint
.subsections_via_symbols
