	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function AAS_AreaGroundFace
LCPI0_0:
	.long	0x3c23d70a                      ## float 0.00999999977
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_AreaGroundFace
	.p2align	4, 0x90
_AAS_AreaGroundFace:                    ## @AAS_AreaGroundFace
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	_aasworld@GOTPCREL(%rip), %rdx
	cmpl	$0, 32(%rdx)
	je	LBB0_9
## %bb.1:
	movq	24(%rdx), %rax
	movslq	%edi, %rcx
	cmpl	$0, (%rax,%rcx,8)
	jle	LBB0_9
## %bb.2:
	xorl	%r15d, %r15d
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_VectorCopy
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, %rdi
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	callq	_AAS_InsideFace
	testq	%rax, %rax
	jne	LBB0_10
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, %rcx
	cmpl	(%rax,%r14,8), %r15d
	movq	%r13, %rdx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %r14
	movslq	4(%rax,%rcx,8), %rax
	addq	%r15, %rax
	movq	(%rdx), %rcx
	movq	%rdx, %r13
	movq	16(%rdx), %r12
	movl	(%rcx,%rax,4), %edi
	callq	_abs
	shlq	$4, %rax
	movq	_FACE_GROUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r12,%rax)
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%r12,%rax), %rbx
	movq	%r13, %rcx
	movq	8(%r13), %rcx
	movq	8(%r12,%rax), %rax
	movq	(%rcx,%rax,8), %rax
	cmpq	$0, 16(%rax)
	jns	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_VectorNegate
	jmp	LBB0_7
LBB0_9:
	xorl	%ebx, %ebx
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,40,3                  ## @aasworld
	.comm	_FACE_GROUND,4,2                ## @FACE_GROUND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_AreaGroundFace             ; -- Begin function AAS_AreaGroundFace
	.p2align	2
_AAS_AreaGroundFace:                    ; @AAS_AreaGroundFace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	str	x1, [sp, #24]                   ; 8-byte Folded Spill
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x27, _aasworld@GOTPAGE
Lloh1:
	ldr	x27, [x27, _aasworld@GOTPAGEOFF]
	ldr	w8, [x27, #32]
	cbz	w8, LBB0_9
; %bb.1:
	ldr	x8, [x27, #24]
	add	x28, x8, w0, sxtw #3
	ldr	w9, [x28]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x19, #0
	sxtw	x9, w0
	add	x8, x8, x9, lsl #3
	add	x24, x8, #4
	and	x8, x2, #0xffffffff
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
                                        ; implicit-def: $x20
                                        ; implicit-def: $x21
                                        ; implicit-def: $x22
                                        ; implicit-def: $x23
                                        ; implicit-def: $x8
                                        ; kill: killed $x8
                                        ; implicit-def: $x25
	b	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	x8, x23, #0xffffffff00000000
	orr	x23, x8, #0x1
	and	x22, x22, #0xffffffff00000000
	mov	x0, #0
	mov	x1, x23
	mov	x3, x22
	bl	_VectorCopy
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	x21, x21, #0xffffffff00000000
	and	x8, x20, #0xffffffff00000000
	ldp	x9, x3, [sp, #16]               ; 16-byte Folded Reload
	orr	x20, x8, x9
	mov	w8, #55050
	movk	w8, #15395, lsl #16
	fmov	s0, w8
	mov	x0, x26
	mov	x2, x21
	mov	x4, x20
	bl	_AAS_InsideFace
	cbnz	x0, LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x28]
	add	x19, x19, #1
	cmp	w19, w8
	b.ge	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldrsw	x9, [x24]
	add	x9, x19, x9
	ldr	w0, [x8, x9, lsl #2]
	ldr	x26, [x27, #16]
	bl	_abs
	add	x26, x26, x0, lsl #4
	ldr	w8, [x26]
Lloh2:
	adrp	x9, _FACE_GROUND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FACE_GROUND@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x27, #8]
	ldr	x9, [x26, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, #16]
	tbz	x8, #63, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	and	x8, x25, #0xffffffff00000000
	orr	x25, x8, #0x1
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	and	x3, x3, #0xffffffff00000000
	mov	x0, #0
	mov	x1, x25
	str	x3, [sp, #8]                    ; 8-byte Folded Spill
	bl	_VectorNegate
	b	LBB0_4
LBB0_9:
	mov	x26, #0
LBB0_10:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,40,3                  ; @aasworld
	.comm	_FACE_GROUND,4,2                ; @FACE_GROUND
.subsections_via_symbols
