	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function CM_GenerateFacetFor4Points
LCPI0_0:
	.quad	0x3feccccccccccccd              ## double 0.90000000000000002
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_CM_GenerateFacetFor4Points
	.p2align	4, 0x90
_CM_GenerateFacetFor4Points:            ## @CM_GenerateFacetFor4Points
	.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	%r8, %r13
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	movq	(%rsi), %rsi
	movq	(%rdx), %rdx
	movq	(%rcx), %rcx
	callq	_PlaneFromPoints
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	(%r13), %rdi
	movq	(%rbx), %rsi
	callq	_DotProduct
	movq	(%rbx), %rax
	movss	12(%rax), %xmm1                 ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	subsd	%xmm1, %xmm0
	cvtsd2ss	%xmm0, %xmm0
	callq	_fabs
	movq	_PLANAR_EPSILON@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_1
## %bb.3:
	movl	$4, 8(%rbx)
	movq	(%rbx), %rsi
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	(%r12), %rdx
	movq	(%r15), %rcx
	callq	_CM_GenerateBoundaryForPoints
	movq	(%rbx), %rsi
	movq	24(%rbx), %rax
	movl	4(%rax), %edi
	movq	(%r15), %rdx
	movq	(%r14), %rcx
	callq	_CM_GenerateBoundaryForPoints
	movq	(%rbx), %rsi
	movq	24(%rbx), %rax
	movl	8(%rax), %edi
	movq	(%r14), %rdx
	movq	(%r13), %rcx
	callq	_CM_GenerateBoundaryForPoints
	movq	(%rbx), %rsi
	movq	24(%rbx), %rax
	movl	12(%rax), %edi
	movq	(%r13), %rdx
	movq	(%r12), %rcx
	callq	_CM_GenerateBoundaryForPoints
	movq	(%r12), %rdi
	movq	16(%rbx), %rax
	movq	(%rax), %rsi
	callq	_VectorCopy
	movq	(%r15), %rdi
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	callq	_VectorCopy
	movq	(%r14), %rdi
	movq	16(%rbx), %rax
	movq	16(%rax), %rsi
	callq	_VectorCopy
	movq	(%r13), %rdi
	movq	16(%rbx), %rax
	movq	24(%rax), %rsi
	callq	_VectorCopy
	movq	16(%rbx), %rax
	movq	8(%rax), %rsi
	movq	16(%rax), %rdx
	movq	24(%rax), %rcx
	callq	_PlaneFromPoints
	testl	%eax, %eax
	je	LBB0_1
## %bb.4:
	movq	(%rbx), %rdi
	callq	_DotProduct
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_1
## %bb.5:
	movq	16(%rbx), %rax
	movq	(%rax), %rcx
	movq	16(%rax), %rsi
	movq	24(%rax), %rdx
	callq	_PlaneFromPoints
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	(%rbx), %rdi
	callq	_DotProduct
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_1
## %bb.7:
	movq	16(%rbx), %rax
	movq	24(%rax), %rsi
	movq	(%rax), %rdx
	movq	8(%rax), %rcx
	callq	_PlaneFromPoints
	testl	%eax, %eax
	je	LBB0_1
## %bb.8:
	movq	(%rbx), %rdi
	callq	_DotProduct
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_9
LBB0_1:
	movl	$0, 8(%rbx)
	movq	_qfalse@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%r14, %rcx
	callq	_TextureMatrixFromPoints
	movq	_qtrue@GOTPCREL(%rip), %rax
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_PLANAR_EPSILON,8,3             ## @PLANAR_EPSILON
	.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_GenerateFacetFor4Points     ; -- Begin function CM_GenerateFacetFor4Points
	.p2align	2
_CM_GenerateFacetFor4Points:            ; @CM_GenerateFacetFor4Points
	.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	x23, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	ldr	x0, [x0]
	ldr	x1, [x1]
	ldr	x2, [x2]
	ldr	x3, [x3]
	bl	_PlaneFromPoints
	cbz	w0, LBB0_8
; %bb.1:
	ldr	x0, [x23]
	ldr	x1, [x19]
	bl	_DotProduct
	ldr	x8, [x19]
	ldr	s1, [x8, #12]
	fcvt	d1, s1
	fsub	d0, d0, d1
	fcvt	s0, d0
	bl	_fabs
Lloh0:
	adrp	x8, _PLANAR_EPSILON@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PLANAR_EPSILON@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.gt	LBB0_8
; %bb.2:
	mov	w8, #4
	str	w8, [x19, #8]
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
	ldr	x1, [x19]
	ldr	x2, [x22]
	ldr	x3, [x21]
	bl	_CM_GenerateBoundaryForPoints
	ldr	x8, [x19, #24]
	ldr	w0, [x8, #4]
	ldr	x1, [x19]
	ldr	x2, [x21]
	ldr	x3, [x20]
	bl	_CM_GenerateBoundaryForPoints
	ldr	x8, [x19, #24]
	ldr	w0, [x8, #8]
	ldr	x1, [x19]
	ldr	x2, [x20]
	ldr	x3, [x23]
	bl	_CM_GenerateBoundaryForPoints
	ldr	x8, [x19, #24]
	ldr	w0, [x8, #12]
	ldr	x1, [x19]
	ldr	x2, [x23]
	ldr	x3, [x22]
	bl	_CM_GenerateBoundaryForPoints
	ldr	x0, [x22]
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	bl	_VectorCopy
	ldr	x0, [x21]
	ldr	x8, [x19, #16]
	ldr	x1, [x8, #8]
	bl	_VectorCopy
	ldr	x0, [x20]
	ldr	x8, [x19, #16]
	ldr	x1, [x8, #16]
	bl	_VectorCopy
	ldr	x0, [x23]
	ldr	x8, [x19, #16]
	ldr	x1, [x8, #24]
	bl	_VectorCopy
	ldr	x8, [x19, #16]
	ldp	x1, x2, [x8, #8]
	ldr	x3, [x8, #24]
	bl	_PlaneFromPoints
	cbz	w0, LBB0_8
; %bb.3:
	ldr	x0, [x19]
	bl	_DotProduct
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.mi	LBB0_8
; %bb.4:
	ldr	x8, [x19, #16]
	ldp	x1, x2, [x8, #16]
	ldr	x3, [x8]
	bl	_PlaneFromPoints
	cbz	w0, LBB0_8
; %bb.5:
	ldr	x0, [x19]
	bl	_DotProduct
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.mi	LBB0_8
; %bb.6:
	ldr	x8, [x19, #16]
	ldr	x1, [x8, #24]
	ldp	x2, x3, [x8]
	bl	_PlaneFromPoints
	cbz	w0, LBB0_8
; %bb.7:
	ldr	x0, [x19]
	bl	_DotProduct
	mov	x8, #-3689348814741910324
	movk	x8, #52429
	movk	x8, #16364, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.pl	LBB0_10
LBB0_8:
	str	wzr, [x19, #8]
Lloh3:
	adrp	x8, _qfalse@GOTPAGE
Lloh4:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x8]
	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
LBB0_10:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_TextureMatrixFromPoints
Lloh5:
	adrp	x8, _qtrue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_PLANAR_EPSILON,8,3             ; @PLANAR_EPSILON
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
