	.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_FindFaceReachabilities
LCPI0_0:
	.long	0x497423f0                      ## float 999999
LCPI0_1:
	.long	0x43400000                      ## float 192
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_FindFaceReachabilities
	.p2align	4, 0x90
_AAS_FindFaceReachabilities:            ## @AAS_FindFaceReachabilities
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movq	_aasworld@GOTPCREL(%rip), %rbx
	cmpl	$2, (%rbx)
	jl	LBB0_17
## %bb.1:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	negq	%rcx
	movl	$1, %esi
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	ucomiss	LCPI0_1(%rip), %xmm0
	jbe	LBB0_16
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rsi
	movslq	(%rbx), %rax
	cmpq	%rax, %rsi
	jge	LBB0_17
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_12 Depth 4
	movq	56(%rbx), %rax
	cmpl	$0, (%rax,%rsi,8)
	jle	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=2
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=2
	movl	-56(%rbp), %r15d                ## 4-byte Reload
	incl	%r15d
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	cmpl	(%rax,%rsi,8), %r15d
	jge	LBB0_15
LBB0_5:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_12 Depth 4
	movss	%xmm0, -44(%rbp)                ## 4-byte Spill
	movslq	4(%rax,%rsi,8), %rax
	movslq	%r15d, %rcx
	addq	%rax, %rcx
	movq	8(%rbx), %rax
	movq	48(%rbx), %r14
	movl	(%rax,%rcx,4), %edi
	callq	_abs
	leaq	(%rax,%rax,2), %rax
	movq	_FACE_GROUND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r14,%rax,8)
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$0, 16(%r14,%rax,8)
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jle	LBB0_14
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movq	8(%r14,%rax,8), %rcx
	shlq	$4, %rcx
	addq	40(%rbx), %rcx
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	leaq	(%r14,%rax,8), %rcx
	addq	$16, %rcx
	xorl	%edx, %edx
	movaps	%xmm0, %xmm1
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_9 Depth=3
	movss	-44(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	-60(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	movaps	%xmm0, %xmm1
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	cmpl	(%rcx), %edx
	movq	_aasworld@GOTPCREL(%rip), %rbx
	jge	LBB0_14
LBB0_9:                                 ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_12 Depth 4
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	movq	16(%rbx), %rax
	movslq	4(%rcx), %rcx
	movl	%edx, -60(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %edi
	callq	_abs
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	24(%rbx), %rcx
	movq	32(%rbx), %rdx
	cltq
	movq	(%rdx,%rax,8), %rax
	movq	(%rax), %rdx
	movq	8(%rax), %rax
	movq	(%rcx,%rdx,8), %rdx
	movq	%rdx, -136(%rbp)                ## 8-byte Spill
	movq	(%rcx,%rax,8), %rax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	$1, %r13d
	movq	-104(%rbp), %rbx                ## 8-byte Reload
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	-112(%rbp), %r15                ## 8-byte Reload
	movss	-44(%rbp), %xmm1                ## 4-byte Reload
                                        ## xmm1 = mem[0],zero,zero,zero
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_3 Depth=1
                                        ##     Parent Loop BB0_5 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movss	%xmm1, -44(%rbp)                ## 4-byte Spill
	movq	-8(%r12,%r13,8), %rdx
	movq	%r14, %rax
	addq	%r13, %rax
	movq	%r13, %rax
	movl	$0, %ecx
	cmoveq	%rcx, %rax
	movq	(%r12,%rax,8), %rcx
	movq	-136(%rbp), %rdi                ## 8-byte Reload
	movq	-128(%rbp), %rsi                ## 8-byte Reload
	movq	%r15, %r8
	movq	%rbx, %r9
	movaps	%xmm1, %xmm0
	callq	_AAS_ClosestEdgePoints
	minss	-44(%rbp), %xmm0                ## 4-byte Folded Reload
	leaq	(%r14,%r13), %rax
	incq	%rax
	incq	%r13
	movaps	%xmm0, %xmm1
	cmpq	$1, %rax
	jne	LBB0_12
	jmp	LBB0_13
LBB0_16:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_AAS_FindFaceReachabilities.cold.1
LBB0_17:
	xorl	%eax, %eax
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function AAS_FindFaceReachabilities.cold.1
_AAS_FindFaceReachabilities.cold.1:     ## @AAS_FindFaceReachabilities.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	callq	_VectorMiddle
	callq	_VectorMiddle
	testl	%ebx, %ebx
	jne	LBB1_2
## %bb.1:
	callq	_VectorCopy
	callq	_VectorCopy
	callq	_VectorCopy
LBB1_2:
	callq	_VectorSubtract
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,64,3                  ## @aasworld
	.comm	_FACE_GROUND,4,2                ## @FACE_GROUND
	.comm	_aassettings,4,2                ## @aassettings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FindFaceReachabilities     ; -- Begin function AAS_FindFaceReachabilities
	.p2align	2
_AAS_FindFaceReachabilities:            ; @AAS_FindFaceReachabilities
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	d9, d8, [sp, #64]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	w3, [sp, #20]                   ; 4-byte Folded Spill
	str	w1, [sp, #52]                   ; 4-byte Folded Spill
Lloh0:
	adrp	x25, _aasworld@GOTPAGE
Lloh1:
	ldr	x25, [x25, _aasworld@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #2
	b.lt	LBB0_14
; %bb.1:
	mov	x20, x2
	mov	x22, x0
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	mov	w27, w8
	sub	x28, x27, #1
	mov	w9, #1
	mov	w26, #24
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1128267776
	fmov	s0, w8
	fcmp	s8, s0
	ldr	x9, [sp, #24]                   ; 8-byte Folded Reload
	b.le	LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #1
	ldrsw	x8, [x25]
	cmp	x9, x8
	b.ge	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
	ldr	x8, [x25, #56]
	add	x10, x8, x9, lsl #3
	ldr	w8, [x10]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w11, #0
	add	x8, x10, #4
	stp	x9, x8, [sp, #24]               ; 16-byte Folded Spill
	mov	w8, #9200
	movk	w8, #18804, lsl #16
	fmov	s8, w8
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	w11, [sp, #48]                  ; 4-byte Folded Reload
	add	w11, w11, #1
	ldr	x10, [sp, #40]                  ; 8-byte Folded Reload
	ldr	w8, [x10]
	cmp	w11, w8
	mov	w26, #24
	b.ge	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_11 Depth 3
                                        ;         Child Loop BB0_13 Depth 4
	ldr	x8, [x25, #8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	str	w11, [sp, #48]                  ; 4-byte Folded Spill
	add	w9, w9, w11
	ldr	w0, [x8, w9, sxtw #2]
	ldr	x24, [x25, #48]
	bl	_abs
	mul	x8, x0, x26
	ldr	w8, [x24, x8]
Lloh2:
	adrp	x9, _FACE_GROUND@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FACE_GROUND@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	madd	x19, x0, x26, x24
	ldr	w8, [x19, #16]!
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	w21, #0
	ldr	x8, [x25, #40]
	ldur	x9, [x19, #-8]
	add	x23, x8, x9, lsl #4
	madd	x8, x0, x26, x24
	add	x8, x8, #20
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=3
	add	w21, w21, #1
	ldr	w8, [x19]
	cmp	w21, w8
Lloh5:
	adrp	x25, _aasworld@GOTPAGE
Lloh6:
	ldr	x25, [x25, _aasworld@GOTPAGEOFF]
	b.ge	LBB0_6
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_13 Depth 4
	ldr	x8, [x25, #16]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	add	w9, w9, w21
	ldr	w0, [x8, w9, sxtw #2]
	bl	_abs
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=3
	mov	x8, #0
	ldp	x10, x9, [x25, #24]
	sbfiz	x11, x0, #3, #32
	ldr	x9, [x9, x11]
	ldp	x11, x9, [x9]
	ldr	x24, [x10, x11, lsl #3]
	ldr	x25, [x10, x9, lsl #3]
LBB0_13:                                ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ;       Parent Loop BB0_11 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x2, [x22, x8, lsl #3]
	add	x26, x8, #1
	cmp	x28, x8
	csinc	x8, xzr, x8, eq
	ldr	x3, [x22, x8, lsl #3]
	mov	x0, x24
	mov	x1, x25
	mov	x4, x23
	mov	x5, x20
	fmov	s0, s8
	bl	_AAS_ClosestEdgePoints
	fcmp	s0, s8
	fcsel	s8, s0, s8, mi
	mov	x8, x26
	cmp	x27, x26
	b.ne	LBB0_13
	b	LBB0_10
LBB0_14:
	mov	x0, #0
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #64]               ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_15:
	ldr	w0, [sp, #20]                   ; 4-byte Folded Reload
	bl	_AAS_FindFaceReachabilities.cold.1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function AAS_FindFaceReachabilities.cold.1
_AAS_FindFaceReachabilities.cold.1:     ; @AAS_FindFaceReachabilities.cold.1
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_VectorMiddle
	bl	_VectorMiddle
	cbnz	w19, LBB1_2
; %bb.1:
	bl	_VectorCopy
	bl	_VectorCopy
	bl	_VectorCopy
LBB1_2:
	bl	_VectorSubtract
	brk	#0x1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,64,3                  ; @aasworld
	.comm	_FACE_GROUND,4,2                ; @FACE_GROUND
	.comm	_aassettings,4,2                ; @aassettings
.subsections_via_symbols
