	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cf2_builder_cubeTo
_cf2_builder_cubeTo:                    ## @cf2_builder_cubeTo
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	xorl	%edi, %edi
	cmpq	$0, (%r15)
	setne	%dil
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	callq	_FT_ASSERT
	movq	(%r14), %rax
	movq	_CF2_PathOpCubeTo@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_FT_ASSERT
	movq	(%r15), %rbx
	cmpl	$0, (%rbx)
	jne	LBB0_5
## %bb.4:
	movl	32(%r14), %edx
	movl	36(%r14), %esi
	movq	%rbx, %rdi
	callq	_ps_builder_start_point
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_ps_builder_check_points
	testq	%rax, %rax
	je	LBB0_9
LBB0_6:
	movq	(%r15), %rcx
	cmpq	$0, (%rcx)
	jne	LBB0_8
## %bb.7:
	movq	%rax, (%rcx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movl	24(%r14), %edx
	movl	28(%r14), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ps_builder_add_point
	movl	16(%r14), %edx
	movl	20(%r14), %esi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_ps_builder_add_point
	movl	8(%r14), %edx
	movl	12(%r14), %esi
	movq	%rbx, %rdi
	movl	$1, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ps_builder_add_point           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CF2_PathOpCubeTo,8,3           ## @CF2_PathOpCubeTo
	.no_dead_strip	_cf2_builder_cubeTo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cf2_builder_cubeTo
_cf2_builder_cubeTo:                    ; @cf2_builder_cubeTo
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, ne
LBB0_2:
	bl	_FT_ASSERT
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _CF2_PathOpCubeTo@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CF2_PathOpCubeTo@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_FT_ASSERT
	ldr	x21, [x20]
	ldr	w8, [x21]
	cbnz	w8, LBB0_4
; %bb.3:
	ldp	w2, w1, [x19, #32]
	mov	x0, x21
	bl	_ps_builder_start_point
	cbnz	x0, LBB0_5
LBB0_4:
	mov	x0, x21
	mov	w1, #3
	bl	_ps_builder_check_points
	cbz	x0, LBB0_8
LBB0_5:
	ldr	x8, [x20]
	ldr	x9, [x8]
	cbnz	x9, LBB0_7
; %bb.6:
	str	x0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldp	w2, w1, [x19, #24]
	mov	x0, x21
	mov	w3, #0
	bl	_ps_builder_add_point
	ldp	w2, w1, [x19, #16]
	mov	x0, x21
	mov	w3, #0
	bl	_ps_builder_add_point
	ldp	w2, w1, [x19, #8]
	mov	x0, x21
	mov	w3, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ps_builder_add_point
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CF2_PathOpCubeTo,8,3           ; @CF2_PathOpCubeTo
	.no_dead_strip	_cf2_builder_cubeTo
.subsections_via_symbols
