	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_TraceAreas                 ## -- Begin function AAS_TraceAreas
	.p2align	4, 0x90
_AAS_TraceAreas:                        ## @AAS_TraceAreas
	.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	$3112, %rsp                     ## imm = 0xC28
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	%rdx, -3144(%rbp)               ## 8-byte Spill
	movl	$0, (%rdx)
	movq	_aasworld@GOTPCREL(%rip), %rax
	cmpl	$0, 24(%rax)
	je	LBB0_1
## %bb.8:
	movl	%r8d, %r13d
	movq	%rcx, %r14
	movq	%rsi, %r12
	callq	_VectorCopy
	movq	%r12, %rdi
	callq	_VectorCopy
	movabsq	$4294967296, %rax               ## imm = 0x100000000
	movq	%rax, -3088(%rbp)
	leaq	-3080(%rbp), %rbx
	cmpl	$2, %r13d
	movl	$1, %eax
	cmovgel	%r13d, %eax
	xorl	%r15d, %r15d
	leaq	-3104(%rbp), %rcx
	movq	%r14, -3136(%rbp)               ## 8-byte Spill
	movq	%rax, -3128(%rbp)               ## 8-byte Spill
LBB0_9:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_14 Depth 3
	movq	%r15, -3112(%rbp)               ## 8-byte Spill
	leaq	-24(%rbx), %rax
	movq	%rbx, %r15
	cmpq	%rcx, %rax
	jb	LBB0_10
LBB0_4:                                 ##   Parent Loop BB0_9 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_14 Depth 3
	movq	%rax, %rbx
	movl	-4(%r15), %eax
	testl	%eax, %eax
	movq	%rbx, -3152(%rbp)               ## 8-byte Spill
	js	LBB0_5
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_9 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	testl	%eax, %eax
	je	LBB0_2
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	_aasworld@GOTPCREL(%rip), %r12
	movq	16(%r12), %r13
	movl	%eax, %r14d
	movq	(%rbx), %rdi
	callq	_VectorCopy
	movq	-16(%r15), %rdi
	callq	_VectorCopy
	movq	8(%r12), %rbx
	shlq	$4, %r14
	movq	(%r13,%r14), %rax
	leaq	(%rax,%rax,2), %r12
	movl	8(%rbx,%r12,4), %esi
	callq	_DotProduct
	subss	4(%rbx,%r12,4), %xmm0
	movss	%xmm0, -3116(%rbp)              ## 4-byte Spill
	movl	8(%rbx,%r12,4), %esi
	callq	_DotProduct
	xorps	%xmm1, %xmm1
	movss	-3116(%rbp), %xmm2              ## 4-byte Reload
                                        ## xmm2 = mem[0],zero,zero,zero
	ucomiss	%xmm1, %xmm2
	jbe	LBB0_20
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=3
	subss	4(%rbx,%r12,4), %xmm0
	ucomiss	%xmm1, %xmm0
	jbe	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=3
	movq	8(%r13,%r14), %rax
	movl	(%rax), %eax
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=3
	movq	8(%r13,%r14), %rax
	movl	4(%rax), %eax
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=3
	movl	%eax, -4(%r15)
	leaq	-56(%rbp), %rcx
	cmpq	%rcx, %r15
	jae	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_14 Depth=3
	testl	%eax, %eax
	movq	-3152(%rbp), %rbx               ## 8-byte Reload
	jns	LBB0_14
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=2
	leaq	-24(%rbx), %rax
	movq	%rbx, %r15
	leaq	-3104(%rbp), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_4
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_9 Depth=1
	negl	%eax
	movq	-3144(%rbp), %rcx               ## 8-byte Reload
	movq	-3112(%rbp), %r15               ## 8-byte Reload
	movl	%eax, (%rcx,%r15,4)
	movq	-3136(%rbp), %r14               ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_9 Depth=1
	movq	(%rbx), %rdi
	movq	(%r14,%r15,8), %rsi
	callq	_VectorCopy
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	movq	-3128(%rbp), %rax               ## 8-byte Reload
	cmpq	%rax, %r15
	leaq	-3104(%rbp), %rcx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_19:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_10:
	movq	-3112(%rbp), %rax               ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
LBB0_11:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_12
## %bb.21:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$3112, %rsp                     ## imm = 0xC28
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,32,3                  ## @aasworld
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAS_TraceAreas: stack overflow\n"

.subsections_via_symbols

	.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_TraceAreas
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_TraceAreas
	.p2align	2
_AAS_TraceAreas:                        ; @AAS_TraceAreas
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-112]!            ; 16-byte Folded Spill
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	sub	sp, sp, #3088
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	str	wzr, [x2]
Lloh3:
	adrp	x23, _aasworld@GOTPAGE
Lloh4:
	ldr	x23, [x23, _aasworld@GOTPAGEOFF]
	ldr	w8, [x23, #24]
	cbz	w8, LBB0_17
; %bb.1:
	mov	x21, x4
	mov	x19, x3
	mov	x22, x1
	bl	_VectorCopy
	mov	x0, x22
	bl	_VectorCopy
	mov	x22, #0
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #40]
	add	x9, sp, #24
	add	x26, x9, #24
	add	x25, x9, #3048
	cmp	w21, #1
	csinc	w0, w21, wzr, gt
	mov	w27, #12
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
                                        ;       Child Loop BB0_4 Depth 3
	mov	x21, x19
	sub	x8, x26, #24
	mov	x28, x26
	cmp	x8, x9
	b.lo	LBB0_16
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_4 Depth 3
	mov	x26, x8
	ldur	w8, [x28, #-4]
	tbnz	w8, #31, LBB0_12
LBB0_4:                                 ;   Parent Loop BB0_2 Depth=1
                                        ;     Parent Loop BB0_3 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cbz	w8, LBB0_11
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=3
	ldr	x19, [x23, #16]
	mov	w24, w8
	ldr	x0, [x26]
	bl	_VectorCopy
	ldur	x0, [x28, #-16]
	bl	_VectorCopy
	ldr	x8, [x23, #8]
	lsl	x9, x24, #4
	ldr	x9, [x19, x9]
	madd	x20, x9, x27, x8
	ldr	w1, [x20, #8]
	bl	_DotProduct
	ldr	s1, [x20, #4]
	fsub	s8, s0, s1
	ldr	w1, [x20, #8]
	bl	_DotProduct
	fcmp	s8, #0.0
	b.le	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=3
	ldr	s1, [x20, #4]
	fsub	s0, s0, s1
	fcmp	s0, #0.0
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=3
	add	x8, x19, x24, lsl #4
	ldr	x8, [x8, #8]
	ldr	w8, [x8]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=3
	add	x8, x19, x24, lsl #4
	ldr	x8, [x8, #8]
	ldr	w8, [x8, #4]
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=3
	stur	w8, [x28, #-4]
	cmp	x28, x25
	b.hs	LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=3
	tbz	w8, #31, LBB0_4
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=2
	sub	x8, x26, #24
	mov	x28, x26
	add	x9, sp, #24
	cmp	x8, x9
	b.hs	LBB0_3
	b	LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	neg	w8, w8
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9, x22, lsl #2]
	mov	x19, x21
	cbz	x21, LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	x0, [x26]
	ldr	x1, [x19, x22, lsl #3]
	bl	_VectorCopy
LBB0_14:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x22, x0
	add	x9, sp, #24
	b.ne	LBB0_2
	b	LBB0_18
LBB0_15:
Lloh7:
	adrp	x8, _botimport@GOTPAGE
Lloh8:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
LBB0_16:
	mov	x0, x22
	b	LBB0_18
LBB0_17:
	mov	w0, #0
LBB0_18:
	ldur	x8, [x29, #-112]
Lloh15:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
                                        ; kill: def $w0 killed $w0 killed $x0
	add	sp, sp, #3088
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #112              ; 16-byte Folded Reload
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,32,3                  ; @aasworld
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAS_TraceAreas: stack overflow\n"

.subsections_via_symbols
