	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_AreaVolume                 ## -- Begin function AAS_AreaVolume
	.p2align	4, 0x90
_AAS_AreaVolume:                        ## @AAS_AreaVolume
	.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
	movl	%edi, %r15d
	movq	_aasworld@GOTPCREL(%rip), %r13
	movq	48(%r13), %r14
	movslq	%edi, %rbx
	shlq	$4, %rbx
	movq	(%r14,%rbx), %rax
	movq	(%r13), %rcx
	movq	24(%r13), %r12
	movl	(%rcx,%rax,4), %edi
	callq	_abs
	shlq	$4, %rax
	movq	(%r12,%rax), %rax
	movq	8(%r13), %rcx
	movq	40(%r13), %r12
	movl	(%rcx,%rax,4), %edi
	callq	_abs
	movq	32(%r13), %rcx
	movq	(%r12,%rax,8), %rax
	movq	(%rax), %rax
	movl	(%rcx,%rax,4), %edi
	callq	_VectorCopy
	cmpl	$0, 8(%r14,%rbx)
	jle	LBB0_1
## %bb.2:
	leaq	(%r14,%rbx), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r14,%rbx), %rax
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx), %rcx
	addq	%r14, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_abs
	movq	16(%r13), %rbx
	movq	24(%r13), %rcx
	cltq
	shlq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	cmpl	%r15d, 8(%rcx,%rax)
	setne	%dl
	xorl	12(%rcx,%rax), %edx
	movslq	%edx, %r15
	movl	4(%rbx,%r15,8), %esi
	callq	_DotProduct
	movl	(%rbx,%r15,8), %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	subl	%eax, %ebx
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_AAS_FaceArea
	imull	%ebx, %eax
	addl	%eax, %r12d
	incq	%r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jl	LBB0_3
## %bb.4:
	movslq	%r12d, %rax
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	cvtsi2ss	%eax, %xmm0
	jmp	LBB0_5
LBB0_1:
	xorps	%xmm0, %xmm0
LBB0_5:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,56,3                  ## @aasworld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_AreaVolume                 ; -- Begin function AAS_AreaVolume
	.p2align	2
_AAS_AreaVolume:                        ; @AAS_AreaVolume
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _aasworld@GOTPAGE
Lloh1:
	ldr	x21, [x21, _aasworld@GOTPAGEOFF]
	ldr	x8, [x21, #48]
	ldr	x9, [x21]
	add	x22, x8, w0, sxtw #4
	ldr	x8, [x22]
	ldr	w0, [x9, x8, lsl #2]
	ldr	x20, [x21, #24]
	bl	_abs
	ldr	x8, [x21, #8]
	lsl	x9, x0, #4
	ldr	x9, [x20, x9]
	ldr	w0, [x8, x9, lsl #2]
	ldr	x20, [x21, #40]
	bl	_abs
	ldr	x8, [x21, #32]
	ldr	x9, [x20, x0, lsl #3]
	ldr	x9, [x9]
	ldr	w0, [x8, x9, lsl #2]
	bl	_VectorCopy
	mov	x23, x22
	ldr	w8, [x23, #8]!
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x25, #0
	mov	w24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldr	x9, [x22]
	add	x9, x25, x9
	ldr	w0, [x8, x9, lsl #2]
	bl	_abs
	lsl	x8, x0, #32
	ldp	x10, x9, [x21, #16]
	add	x20, x9, x8, asr #28
	ldp	w8, w9, [x20, #8]
	cmp	w8, w19
	cset	w8, ne
	eor	w8, w9, w8
	add	x26, x10, w8, sxtw #3
	ldr	w1, [x26, #4]
	bl	_DotProduct
	ldr	w8, [x26]
	sub	w26, w8, w0
	mov	x0, x20
	bl	_AAS_FaceArea
	madd	w24, w26, w0, w24
	add	x25, x25, #1
	ldrsw	x8, [x23]
	cmp	x25, x8
	b.lt	LBB0_2
; %bb.3:
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x8, w24, w8
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	scvtf	s0, w8
	b	LBB0_5
LBB0_4:
	movi	d0, #0000000000000000
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,56,3                  ; @aasworld
.subsections_via_symbols
