	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AAS_FaceArea
LCPI0_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_FaceArea
	.p2align	4, 0x90
_AAS_FaceArea:                          ## @AAS_FaceArea
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_aasworld@GOTPCREL(%rip), %rdx
	movq	(%rdi), %rax
	movq	(%rdx), %rcx
	movq	16(%rdx), %r15
	movl	(%rcx,%rax,4), %r14d
	movl	%r14d, %edi
	callq	_abs
	xorpd	%xmm0, %xmm0
	cmpl	$3, 8(%rbx)
	jl	LBB0_3
## %bb.1:
	shrq	$28, %r14
	andl	$8, %r14d
	movq	_aasworld@GOTPCREL(%rip), %rcx
	movq	8(%rcx), %rcx
	movq	(%r15,%rax,8), %rax
	movq	(%rax,%r14), %rax
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorpd	%xmm0, %xmm0
	movl	$1, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movq	(%rbx), %rax
	addq	%r13, %rax
	movq	_aasworld@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rcx
	movq	16(%rdx), %r14
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	(%rcx,%rax,4), %r15d
	movq	%r15, %rbx
	shrq	$28, %rbx
	andl	$8, %ebx
	movl	%r15d, %edi
	callq	_abs
	movq	%rax, %r12
	movq	_aasworld@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	(%r14,%r12,8), %rcx
	movq	(%rcx,%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_VectorSubtract
	movq	_aasworld@GOTPCREL(%rip), %rax
	movq	8(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%r12,8), %rcx
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	notl	%r15d
	shrl	$31, %r15d
	movq	(%rcx,%r15,8), %rcx
	movq	(%rax,%rcx,8), %rdi
	movq	%r14, %rsi
	callq	_VectorSubtract
	callq	_CrossProduct
	callq	_VectorLength
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	cvtss2sd	%xmm1, %xmm1
	mulsd	LCPI0_0(%rip), %xmm0
	addsd	%xmm1, %xmm0
	cvtsd2ss	%xmm0, %xmm0
	incq	%r13
	movslq	8(%rbx), %rax
	decq	%rax
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,24,3                  ## @aasworld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FaceArea                   ; -- Begin function AAS_FaceArea
	.p2align	2
_AAS_FaceArea:                          ; @AAS_FaceArea
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -88
	.cfi_offset b9, -96
	mov	x19, x0
Lloh0:
	adrp	x22, _aasworld@GOTPAGE
Lloh1:
	ldr	x22, [x22, _aasworld@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x9, [x0]
	ldr	w20, [x8, x9, lsl #2]
	ldr	x21, [x22, #16]
	mov	x0, x20
	bl	_abs
	ldr	w8, [x19, #8]
	movi	d8, #0000000000000000
	cmp	w8, #3
	b.lt	LBB0_3
; %bb.1:
	lsr	x8, x20, #28
	and	x8, x8, #0x8
	ldr	x9, [x21, x0, lsl #3]
	ldr	x8, [x9, x8]
	ldr	x9, [x22, #8]
	ldr	x20, [x9, x8, lsl #3]
	movi	d8, #0000000000000000
	mov	w23, #1
	fmov	d9, #0.50000000
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x9, [x19]
	add	x9, x23, x9
	ldr	w21, [x8, x9, lsl #2]
	lsr	x8, x21, #28
	and	x24, x8, #0x8
	ldr	x25, [x22, #16]
	mov	x0, x21
	bl	_abs
	ldr	x8, [x22, #8]
	lsl	x26, x0, #3
	ldr	x9, [x25, x26]
	ldr	x9, [x9, x24]
	ldr	x0, [x8, x9, lsl #3]
	mov	x1, x20
	bl	_VectorSubtract
	ldr	x8, [x22, #8]
	ldr	x9, [x25, x26]
	mvn	w10, w21
	lsr	w10, w10, #31
	ldr	x9, [x9, w10, uxtw #3]
	ldr	x0, [x8, x9, lsl #3]
	mov	x1, x20
	bl	_VectorSubtract
	bl	_CrossProduct
	bl	_VectorLength
	fcvt	d1, s8
	fmadd	d0, d0, d9, d1
	fcvt	s8, d0
	add	x23, x23, #1
	ldrsw	x8, [x19, #8]
	sub	x8, x8, #1
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
	fmov	s0, s8
	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	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,24,3                  ; @aasworld
.subsections_via_symbols
