	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_GenerateFacetFor3Points     ## -- Begin function CM_GenerateFacetFor3Points
	.p2align	4, 0x90
_CM_GenerateFacetFor3Points:            ## @CM_GenerateFacetFor3Points
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movl	(%rsi), %esi
	movl	(%rdx), %edx
	movl	(%rcx), %ecx
	callq	_PlaneFromPoints
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	$3, (%rbx)
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	movl	(%r12), %edx
	movl	(%r15), %ecx
	callq	_CM_GenerateBoundaryForPoints
	movq	24(%rbx), %rax
	movl	4(%rax), %edi
	movl	16(%rbx), %esi
	movl	(%r15), %edx
	movl	(%r14), %ecx
	callq	_CM_GenerateBoundaryForPoints
	movq	24(%rbx), %rax
	movl	8(%rax), %edi
	movl	16(%rbx), %esi
	movl	(%r14), %edx
	movl	(%r12), %ecx
	callq	_CM_GenerateBoundaryForPoints
	movl	(%r12), %edi
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	callq	_VectorCopy
	movl	(%r15), %edi
	movq	8(%rbx), %rax
	movl	4(%rax), %esi
	callq	_VectorCopy
	movl	(%r14), %edi
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	callq	_VectorCopy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_TextureMatrixFromPoints
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movl	$0, (%rbx)
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_GenerateFacetFor3Points     ; -- Begin function CM_GenerateFacetFor3Points
	.p2align	2
_CM_GenerateFacetFor3Points:            ; @CM_GenerateFacetFor3Points
	.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, x3
	mov	x20, x2
	mov	x22, x1
	mov	x21, x0
	ldr	w0, [x0, #16]
	ldr	w1, [x1]
	ldr	w2, [x2]
	ldr	w3, [x3]
	bl	_PlaneFromPoints
	cbz	w0, LBB0_2
; %bb.1:
	mov	w8, #3
	str	w8, [x21]
	ldr	x8, [x21, #24]
	ldr	w0, [x8]
	ldr	w1, [x21, #16]
	ldr	w2, [x22]
	ldr	w3, [x20]
	bl	_CM_GenerateBoundaryForPoints
	ldr	x8, [x21, #24]
	ldr	w0, [x8, #4]
	ldr	w1, [x21, #16]
	ldr	w2, [x20]
	ldr	w3, [x19]
	bl	_CM_GenerateBoundaryForPoints
	ldr	x8, [x21, #24]
	ldr	w0, [x8, #8]
	ldr	w1, [x21, #16]
	ldr	w2, [x19]
	ldr	w3, [x22]
	bl	_CM_GenerateBoundaryForPoints
	ldr	w0, [x22]
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	bl	_VectorCopy
	ldr	w0, [x20]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #4]
	bl	_VectorCopy
	ldr	w0, [x19]
	ldr	x8, [x21, #8]
	ldr	w1, [x8, #8]
	bl	_VectorCopy
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	mov	x3, x19
	bl	_TextureMatrixFromPoints
Lloh0:
	adrp	x8, _qtrue@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	str	wzr, [x21]
Lloh2:
	adrp	x8, _qfalse@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
