	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function poly_to_circle
_poly_to_circle:                        ## @poly_to_circle
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	xorl	%edi, %edi
	cmpl	$0, (%rsi)
	setg	%dil
	callq	_Assert
	leaq	8(%r13), %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%r13)
	movq	$0, 16(%r13)
	movl	(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdx
	addq	%r14, %rdx
	movq	%r15, %rdi
	movq	%r15, %rsi
	callq	_point_add_point
	incq	%rbx
	movslq	(%r12), %rsi
	addq	$4, %r14
	cmpq	%rsi, %rbx
	jl	LBB0_3
## %bb.4:
	movq	16(%r13), %rdi
	jmp	LBB0_5
LBB0_1:
	xorl	%edi, %edi
LBB0_5:
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_float8_div
	movq	%rax, 16(%r13)
	movq	8(%r13), %rdi
	movl	(%r12), %esi
	callq	_float8_div
	movq	%rax, 8(%r13)
	movl	(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.7:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	(%r13), %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	addq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_point_dt
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_float8_pl
	movq	%rax, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax)
	incq	%r14
	movslq	(%r12), %rsi
	addq	$4, %rbx
	cmpq	%rsi, %r14
	jl	LBB0_8
## %bb.9:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_10
LBB0_6:
	movq	%r13, %rbx
	movq	(%r13), %r13
LBB0_10:
	movq	%r13, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_float8_div
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_poly_to_circle
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function poly_to_circle
_poly_to_circle:                        ; @poly_to_circle
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
	cmp	w8, #0
	cset	w0, gt
	bl	_Assert
	mov	x21, x19
	str	xzr, [x21, #8]!
	str	xzr, [x19, #16]
	str	xzr, [x19]
	ldr	w1, [x20]
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x2, x8, x22
	mov	x0, x21
	mov	x1, x21
	bl	_point_add_point
	add	x23, x23, #1
	ldrsw	x1, [x20]
	add	x22, x22, #4
	cmp	x23, x1
	b.lt	LBB0_2
; %bb.3:
	ldr	x0, [x19, #16]
	b	LBB0_5
LBB0_4:
	mov	x0, #0
LBB0_5:
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_float8_div
	str	x0, [x19, #16]
	ldr	x0, [x19, #8]
	ldr	w1, [x20]
	bl	_float8_div
	str	x0, [x19, #8]
	ldr	w1, [x20]
	cmp	w1, #0
	b.le	LBB0_8
; %bb.6:
	mov	x23, #0
	mov	x24, #0
	ldr	x22, [x19]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #8]
	add	x0, x8, x23
	mov	x1, x21
	bl	_point_dt
	mov	x1, x0
	mov	x0, x22
	bl	_float8_pl
	mov	x22, x0
	str	x0, [x19]
	add	x24, x24, #1
	ldrsw	x1, [x20]
	add	x23, x23, #4
	cmp	x24, x1
	b.lt	LBB0_7
	b	LBB0_9
LBB0_8:
	ldr	x22, [x19]
LBB0_9:
	mov	x0, x22
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_float8_div
	str	x0, [x19]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_poly_to_circle
.subsections_via_symbols
