	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function stbtt__tesselate_curve
LCPI0_0:
	.long	0x3e800000                      ## float 0.25
	.long	0x3e800000                      ## float 0.25
	.space	4
	.space	4
LCPI0_2:
	.long	0x3f000000                      ## float 0.5
	.long	0x3f000000                      ## float 0.5
	.space	4
	.space	4
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2
LCPI0_1:
	.long	0x3f000000                      ## float 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_stbtt__tesselate_curve:                ## @stbtt__tesselate_curve
	.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	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movaps	%xmm5, -64(%rbp)                ## 16-byte Spill
	movaps	%xmm4, -48(%rbp)                ## 16-byte Spill
	cmpl	$16, %edx
	jg	LBB0_5
## %bb.1:
	movl	%edx, %ebx
	movaps	%xmm3, %xmm7
	movq	%rsi, %r14
	movq	%rdi, %r15
	insertps	$16, %xmm2, %xmm7               ## xmm7 = xmm7[0],xmm2[0],xmm7[2,3]
	movaps	%xmm1, %xmm2
	insertps	$16, %xmm0, %xmm2               ## xmm2 = xmm2[0],xmm0[0],xmm2[2,3]
	movaps	%xmm7, %xmm5
	addps	%xmm7, %xmm5
	addps	%xmm2, %xmm5
	movaps	-64(%rbp), %xmm8                ## 16-byte Reload
	insertps	$16, -48(%rbp), %xmm8           ## 16-byte Folded Reload
                                        ## xmm8 = xmm8[0],mem[0],xmm8[2,3]
	incl	%ebx
	movss	LCPI0_1(%rip), %xmm9            ## xmm9 = mem[0],zero,zero,zero
	movss	%xmm6, -28(%rbp)                ## 4-byte Spill
	movaps	%xmm8, -80(%rbp)                ## 16-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	addps	%xmm8, %xmm5
	mulps	LCPI0_0(%rip), %xmm5
	movshdup	%xmm5, %xmm4                    ## xmm4 = xmm5[1,1,3,3]
	movaps	%xmm1, %xmm2
	addss	-64(%rbp), %xmm2                ## 16-byte Folded Reload
	mulss	%xmm9, %xmm2
	subss	%xmm5, %xmm2
	movaps	%xmm0, %xmm3
	addss	-48(%rbp), %xmm3                ## 16-byte Folded Reload
	mulss	%xmm9, %xmm3
	subss	%xmm4, %xmm3
	mulss	%xmm2, %xmm2
	mulss	%xmm3, %xmm3
	addss	%xmm2, %xmm3
	ucomiss	%xmm6, %xmm3
	jbe	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movshdup	%xmm7, %xmm2                    ## xmm2 = xmm7[1,1,3,3]
	addss	%xmm0, %xmm2
	mulss	%xmm9, %xmm2
	movaps	%xmm1, %xmm3
	addss	%xmm7, %xmm3
	mulss	%xmm9, %xmm3
	movq	%r15, %rdi
	movq	%r14, %rsi
	movaps	%xmm7, -128(%rbp)               ## 16-byte Spill
	movaps	%xmm5, -96(%rbp)                ## 16-byte Spill
	movss	-28(%rbp), %xmm6                ## 4-byte Reload
                                        ## xmm6 = mem[0],zero,zero,zero
	movl	%ebx, %edx
	movaps	%xmm4, -112(%rbp)               ## 16-byte Spill
	callq	_stbtt__tesselate_curve
	movss	LCPI0_1(%rip), %xmm9            ## xmm9 = mem[0],zero,zero,zero
	movaps	-80(%rbp), %xmm8                ## 16-byte Reload
	movaps	-128(%rbp), %xmm7               ## 16-byte Reload
	movss	-28(%rbp), %xmm6                ## 4-byte Reload
                                        ## xmm6 = mem[0],zero,zero,zero
	addps	%xmm8, %xmm7
	mulps	LCPI0_2(%rip), %xmm7
	movaps	%xmm7, %xmm2
	addps	%xmm7, %xmm2
	movaps	-96(%rbp), %xmm1                ## 16-byte Reload
	addps	%xmm1, %xmm2
	incl	%ebx
	movaps	-112(%rbp), %xmm0               ## 16-byte Reload
	movaps	%xmm2, %xmm5
	cmpl	$18, %ebx
	jne	LBB0_2
	jmp	LBB0_5
LBB0_4:
	movl	(%r14), %esi
	movq	%r15, %rdi
	movaps	-48(%rbp), %xmm0                ## 16-byte Reload
	movaps	-64(%rbp), %xmm1                ## 16-byte Reload
	callq	_stbtt__add_point
	incl	(%r14)
LBB0_5:
	movl	$1, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_stbtt__tesselate_curve
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stbtt__tesselate_curve
_stbtt__tesselate_curve:                ; @stbtt__tesselate_curve
	.cfi_startproc
; %bb.0:
	stp	d15, d14, [sp, #-112]!          ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	d13, d12, [sp, #16]             ; 16-byte Folded Spill
	stp	d11, d10, [sp, #32]             ; 16-byte Folded Spill
	stp	d9, d8, [sp, #48]               ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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 b8, -56
	.cfi_offset b9, -64
	.cfi_offset b10, -72
	.cfi_offset b11, -80
	.cfi_offset b12, -88
	.cfi_offset b13, -96
	.cfi_offset b14, -104
	.cfi_offset b15, -112
	cmp	w2, #16
	b.gt	LBB0_5
; %bb.1:
	fmov	s10, s6
	fmov	s8, s5
	fmov	s9, s4
	fmov	s11, s3
	fmov	s12, s2
	mov	x19, x1
	mov	x20, x0
	fmov	s2, #2.00000000
	fmadd	s3, s3, s2, s1
	fmadd	s2, s12, s2, s0
	add	w21, w2, #1
	fmov	s15, #0.50000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	fadd	s3, s3, s8
	fadd	s2, s2, s9
	fmov	s4, #0.25000000
	fmul	s13, s2, s4
	fmul	s14, s3, s4
	fadd	s2, s1, s8
	fmul	s2, s2, s15
	fsub	s2, s2, s14
	fadd	s3, s0, s9
	fmul	s3, s3, s15
	fsub	s3, s3, s13
	fmul	s2, s2, s2
	fmadd	s2, s3, s3, s2
	fcmp	s2, s10
	b.le	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	fadd	s2, s0, s12
	fmul	s2, s2, s15
	fadd	s3, s1, s11
	fmul	s3, s3, s15
	mov	x0, x20
	mov	x1, x19
	fmov	s4, s13
	fmov	s5, s14
	mov	x2, x21
	fmov	s6, s10
	bl	_stbtt__tesselate_curve
	fadd	s0, s12, s9
	fmul	s12, s0, s15
	fadd	s0, s11, s8
	fmul	s11, s0, s15
	fmov	s0, #2.00000000
	fmadd	s2, s12, s0, s13
	fmadd	s3, s11, s0, s14
	add	w21, w21, #1
	fmov	s1, s14
	fmov	s0, s13
	cmp	w21, #18
	b.ne	LBB0_2
	b	LBB0_5
LBB0_4:
	ldr	w1, [x19]
	mov	x0, x20
	fmov	s0, s9
	fmov	s1, s8
	bl	_stbtt__add_point
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
LBB0_5:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #48]               ; 16-byte Folded Reload
	ldp	d11, d10, [sp, #32]             ; 16-byte Folded Reload
	ldp	d13, d12, [sp, #16]             ; 16-byte Folded Reload
	ldp	d15, d14, [sp], #112            ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_stbtt__tesselate_curve
.subsections_via_symbols
