	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ShowFace                   ## -- Begin function AAS_ShowFace
	.p2align	4, 0x90
_AAS_ShowFace:                          ## @AAS_ShowFace
	.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, %ebx
	movq	_LINECOLOR_YELLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_aasworld@GOTPCREL(%rip), %r12
	cmpl	%edi, (%r12)
	jg	LBB0_2
## %bb.1:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	*(%rax)
LBB0_2:
	movq	40(%r12), %rax
	movslq	%ebx, %rcx
	shlq	$4, %rcx
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rax,%rcx)
	jle	LBB0_12
## %bb.3:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	addq	%rcx, %rax
	addq	$4, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, %r15d
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	%ebx, %ecx
	movq	8(%r12), %rdx
	movq	(%rax,%rcx,8), %rax
	movq	(%rax), %rcx
	movq	8(%rax), %rax
	movl	(%rdx,%rcx,4), %edi
	movl	(%rdx,%rax,4), %esi
	movl	%r15d, %edx
	callq	_AAS_DebugLine
	incq	%r14
	movl	%r15d, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax), %r14d
	jge	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	(%rcx), %rcx
	addq	%r14, %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, %ebx
	negl	%ebx
	cmovsl	%eax, %ebx
	cmpl	4(%r12), %ebx
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_PRT_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	movq	_botimport@GOTPCREL(%rip), %rax
	callq	*(%rax)
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r12), %rax
	movq	_LINECOLOR_RED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_LINECOLOR_GREEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	cmpl	%ecx, %r13d
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r15d, %r13d
	movq	_LINECOLOR_BLUE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	%r15d, %r13d
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_LINECOLOR_YELLOW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	jmp	LBB0_10
LBB0_12:
	movq	32(%r12), %r14
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rcx,%rdx), %rbx
	movq	24(%r12), %rax
	movslq	4(%rcx,%rdx), %rcx
	movl	(%rax,%rcx,4), %eax
	movl	%eax, %ecx
	negl	%ecx
	cmovsl	%eax, %ecx
	movq	8(%r12), %rax
	movq	16(%r12), %rdx
	movq	(%rdx,%rcx,8), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_VectorCopy
	movl	(%r14,%rbx,4), %edx
	movl	$20, %esi
	callq	_VectorMA
	movq	_LINECOLOR_RED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AAS_DebugLine                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LINECOLOR_YELLOW,4,2           ## @LINECOLOR_YELLOW
	.comm	_aasworld,48,3                  ## @aasworld
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"facenum %d out of range\n"

L_.str.1:                               ## @.str.1
	.asciz	"edgenum %d out of range\n"

	.comm	_LINECOLOR_RED,4,2              ## @LINECOLOR_RED
	.comm	_LINECOLOR_GREEN,4,2            ## @LINECOLOR_GREEN
	.comm	_LINECOLOR_BLUE,4,2             ## @LINECOLOR_BLUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ShowFace                   ; -- Begin function AAS_ShowFace
	.p2align	2
_AAS_ShowFace:                          ; @AAS_ShowFace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _LINECOLOR_YELLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LINECOLOR_YELLOW@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x22, _aasworld@GOTPAGE
Lloh4:
	ldr	x22, [x22, _aasworld@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, w0
	b.gt	LBB0_2
; %bb.1:
Lloh5:
	adrp	x8, _botimport@GOTPAGE
Lloh6:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x9]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	blr	x8
LBB0_2:
	ldr	x8, [x22, #40]
	sxtw	x9, w19
	stp	x9, x8, [sp]                    ; 16-byte Folded Spill
	add	x28, x8, w19, sxtw #4
	ldr	w8, [x28]
Lloh13:
	adrp	x24, _LINECOLOR_RED@GOTPAGE
Lloh14:
	ldr	x24, [x24, _LINECOLOR_RED@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.3:
	mov	x27, #0
	ldp	x9, x8, [sp]                    ; 16-byte Folded Reload
	add	x8, x8, x9, lsl #4
	add	x25, x8, #4
Lloh15:
	adrp	x26, _LINECOLOR_GREEN@GOTPAGE
Lloh16:
	ldr	x26, [x26, _LINECOLOR_GREEN@GOTPAGEOFF]
Lloh17:
	adrp	x19, l_.str.1@PAGE
Lloh18:
	add	x19, x19, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x22, #8]
	ldr	x8, [x8, x20, lsl #3]
	ldp	x10, x8, [x8]
	ldr	w0, [x9, x10, lsl #2]
	ldr	w1, [x9, x8, lsl #2]
	mov	x2, x21
	bl	_AAS_DebugLine
	ldr	w8, [x28]
	add	x27, x27, #1
	mov	x23, x21
	cmp	w27, w8
	b.ge	LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22, #24]
	ldrsw	x9, [x25]
	add	x9, x27, x9
	ldr	w8, [x8, x9, lsl #2]
	cmp	w8, #0
	cneg	w20, w8, mi
	ldr	w8, [x22, #4]
	cmp	w20, w8
	b.lt	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh19:
	adrp	x8, _botimport@GOTPAGE
Lloh20:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
Lloh22:
	adrp	x9, _PRT_ERROR@GOTPAGE
Lloh23:
	ldr	x9, [x9, _PRT_ERROR@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x9]
	mov	x1, x19
	mov	x2, x20
	blr	x8
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x22, #16]
	ldr	w9, [x24]
	ldr	w21, [x26]
	cmp	w23, w9
	b.eq	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh25:
	adrp	x10, _LINECOLOR_BLUE@GOTPAGE
Lloh26:
	ldr	x10, [x10, _LINECOLOR_BLUE@GOTPAGEOFF]
Lloh27:
	ldr	w10, [x10]
	cmp	w23, w21
	mov	x21, x10
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh28:
	adrp	x11, _LINECOLOR_YELLOW@GOTPAGE
Lloh29:
	ldr	x11, [x11, _LINECOLOR_YELLOW@GOTPAGEOFF]
Lloh30:
	ldr	w11, [x11]
	cmp	w23, w10
	csel	w21, w11, w9, eq
	b	LBB0_4
LBB0_10:
	ldp	x9, x8, [sp]                    ; 16-byte Folded Reload
	add	x8, x8, x9, lsl #4
	ldr	x19, [x8, #8]
	ldp	x9, x20, [x22, #24]
	ldrsw	x8, [x8, #4]
	ldr	w8, [x9, x8, lsl #2]
	cmp	w8, #0
	cneg	w8, w8, mi
	ldp	x10, x9, [x22, #8]
	ldr	x8, [x9, w8, uxtw #3]
	ldr	x8, [x8]
	ldr	w0, [x10, x8, lsl #2]
	bl	_VectorCopy
	ldr	w2, [x20, x19, lsl #2]
	mov	w1, #20
	bl	_VectorMA
	ldr	w2, [x24]
	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
	add	sp, sp, #112
	b	_AAS_DebugLine
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_LINECOLOR_YELLOW,4,2           ; @LINECOLOR_YELLOW
	.comm	_aasworld,48,3                  ; @aasworld
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"facenum %d out of range\n"

l_.str.1:                               ; @.str.1
	.asciz	"edgenum %d out of range\n"

	.comm	_LINECOLOR_RED,4,2              ; @LINECOLOR_RED
	.comm	_LINECOLOR_GREEN,4,2            ; @LINECOLOR_GREEN
	.comm	_LINECOLOR_BLUE,4,2             ; @LINECOLOR_BLUE
.subsections_via_symbols
