	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q1_FacePlane                   ## -- Begin function Q1_FacePlane
	.p2align	4, 0x90
_Q1_FacePlane:                          ## @Q1_FacePlane
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	movq	_q1_dsurfedges@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movl	(%rax,%rcx,4), %ebx
	movq	%rbx, %r14
	shrq	$28, %r14
	andl	$8, %r14d
	movq	_q1_dvertexes@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_q1_dedges@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	%ebx, %edi
	callq	_abs
	movq	(%r15,%rax,8), %rax
	movq	(%rax,%r14), %rax
	movq	(%r13,%rax,8), %r13
	movq	_q1_dvertexes@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_q1_dedges@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	%ebx, %edi
	callq	_abs
	movq	(%r15,%rax,8), %rax
	notl	%ebx
	shrl	$31, %ebx
	movq	(%rax,%rbx,8), %rax
	movq	(%r14,%rax,8), %r14
	movq	_q1_dsurfedges@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	4(%rax,%rcx,4), %ebx
	movq	_q1_dvertexes@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_q1_dedges@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movl	%ebx, %edi
	callq	_abs
	movq	(%r12,%rax,8), %rax
	notl	%ebx
	shrl	$31, %ebx
	movq	(%rax,%rbx,8), %rax
	movq	(%r15,%rax,8), %rbx
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_VectorSubtract
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_VectorSubtract
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_CrossProduct
	movl	%ebx, %edi
	callq	_VectorNormalize
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_DotProduct
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movss	%xmm0, (%rax)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_q1_dsurfedges,8,3              ## @q1_dsurfedges
	.comm	_q1_dvertexes,8,3               ## @q1_dvertexes
	.comm	_q1_dedges,8,3                  ## @q1_dedges
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_Q1_FacePlane                   ; -- Begin function Q1_FacePlane
	.p2align	2
_Q1_FacePlane:                          ; @Q1_FacePlane
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x24, _q1_dsurfedges@GOTPAGE
Lloh1:
	ldr	x24, [x24, _q1_dsurfedges@GOTPAGEOFF]
	ldr	x8, [x24]
	ldr	x9, [x0]
	ldr	w22, [x8, x9, lsl #2]
	lsr	x8, x22, #28
	and	x23, x8, #0x8
Lloh2:
	adrp	x25, _q1_dvertexes@GOTPAGE
Lloh3:
	ldr	x25, [x25, _q1_dvertexes@GOTPAGEOFF]
	ldr	x26, [x25]
Lloh4:
	adrp	x27, _q1_dedges@GOTPAGE
Lloh5:
	ldr	x27, [x27, _q1_dedges@GOTPAGEOFF]
	ldr	x28, [x27]
	mov	x0, x22
	bl	_abs
	ldr	x8, [x28, x0, lsl #3]
	ldr	x8, [x8, x23]
	ldr	x23, [x26, x8, lsl #3]
	ldr	x26, [x25]
	ldr	x28, [x27]
	mov	x0, x22
	bl	_abs
	ldr	x8, [x28, x0, lsl #3]
	mvn	w9, w22
	lsr	w9, w9, #31
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x22, [x26, x8, lsl #3]
	ldr	x8, [x24]
	ldr	x9, [x21]
	add	x8, x8, x9, lsl #2
	ldr	w21, [x8, #4]
	ldr	x24, [x25]
	ldr	x25, [x27]
	mov	x0, x21
	bl	_abs
	ldr	x8, [x25, x0, lsl #3]
	mvn	w9, w21
	lsr	w9, w9, #31
	ldr	x8, [x8, w9, uxtw #3]
	ldr	x21, [x24, x8, lsl #3]
	mov	x0, x22
	mov	x1, x23
	bl	_VectorSubtract
	mov	x0, x21
	mov	x1, x23
	bl	_VectorSubtract
	mov	x2, x20
	bl	_CrossProduct
	mov	x0, x20
	bl	_VectorNormalize
	mov	x0, x23
	mov	x1, x20
	bl	_DotProduct
	str	s0, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_q1_dsurfedges,8,3              ; @q1_dsurfedges
	.comm	_q1_dvertexes,8,3               ; @q1_dvertexes
	.comm	_q1_dedges,8,3                  ; @q1_dedges
.subsections_via_symbols
