	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PointAreaNum               ## -- Begin function AAS_PointAreaNum
	.p2align	4, 0x90
_AAS_PointAreaNum:                      ## @AAS_PointAreaNum
	.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	_aasworld@GOTPCREL(%rip), %rcx
	cmpl	$0, 32(%rcx)
	je	LBB0_5
## %bb.1:
	movl	%edi, %r15d
	movl	$1, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rcx), %r13
	movq	24(%rcx), %r12
	movl	%eax, %ebx
	shlq	$4, %rbx
	movq	(%r12,%rbx), %r14
	shlq	$4, %r14
	movl	8(%r13,%r14), %esi
	movl	%r15d, %edi
	callq	_DotProduct
	xorl	%ecx, %ecx
	cmpq	(%r13,%r14), %rax
	setle	%cl
	movq	8(%r12,%rbx), %rax
	movl	(%rax,%rcx,4), %eax
	movq	_aasworld@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jg	LBB0_2
## %bb.3:
	negl	%eax
	jmp	LBB0_4
LBB0_5:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
	xorl	%eax, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,40,3                  ## @aasworld
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAS_PointAreaNum: aas not loaded\n"

	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PointAreaNum               ; -- Begin function AAS_PointAreaNum
	.p2align	2
_AAS_PointAreaNum:                      ; @AAS_PointAreaNum
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
Lloh0:
	adrp	x20, _aasworld@GOTPAGE
Lloh1:
	ldr	x20, [x20, _aasworld@GOTPAGEOFF]
	ldr	w8, [x20, #32]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x19, x0
	mov	w8, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x10, x9, [x20, #16]
	add	x21, x9, w8, uxtw #4
	ldr	x8, [x21]
	add	x22, x10, x8, lsl #4
	ldr	w1, [x22, #8]
	mov	x0, x19
	bl	_DotProduct
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w8, le
	ldr	x9, [x21, #8]
	ldr	w8, [x9, w8, uxtw #2]
	cmp	w8, #0
	b.gt	LBB0_2
; %bb.3:
	neg	w0, w8
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _botimport@GOTPAGE
Lloh3:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,40,3                  ; @aasworld
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAS_PointAreaNum: aas not loaded\n"

	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
.subsections_via_symbols
