	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_Reachability_WalkOffLedge  ## -- Begin function AAS_Reachability_WalkOffLedge
	.p2align	4, 0x90
_AAS_Reachability_WalkOffLedge:         ## @AAS_Reachability_WalkOffLedge
	.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	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, -56(%rbp)                 ## 4-byte Spill
	callq	_AAS_AreaGrounded
	testl	%eax, %eax
	je	LBB0_39
## %bb.1:
	movl	-56(%rbp), %edi                 ## 4-byte Reload
	callq	_AAS_AreaSwim
	testq	%rax, %rax
	jne	LBB0_39
## %bb.2:
	movq	_aasworld@GOTPCREL(%rip), %rbx
	movq	56(%rbx), %r14
	movslq	-56(%rbp), %r15                 ## 4-byte Folded Reload
	cmpl	$0, (%r14,%r15,8)
	jle	LBB0_39
## %bb.3:
	xorl	%ecx, %ecx
	movq	%r14, -152(%rbp)                ## 8-byte Spill
	movq	%r15, -144(%rbp)                ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_38:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	incl	%ecx
	cmpl	(%r14,%r15,8), %ecx
	jge	LBB0_39
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_13 Depth 4
                                        ##         Child Loop BB0_19 Depth 4
                                        ##           Child Loop BB0_24 Depth 5
	movslq	4(%r14,%r15,8), %rax
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movslq	%ecx, %rcx
	addq	%rax, %rcx
	movq	(%rbx), %rax
	movq	48(%rbx), %r12
	movl	(%rax,%rcx,4), %edi
	callq	_abs
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rcx
	shlq	$5, %rcx
	movq	_FACE_GROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	testl	%eax, (%r12,%rcx)
	je	LBB0_38
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%rcx), %eax
	testl	%eax, %eax
	jle	LBB0_38
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, %rdx
	addq	$4, %rdx
	movl	(%r14,%r15,8), %ecx
	xorl	%esi, %esi
	movq	%rdx, -112(%rbp)                ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-112(%rbp), %rdx                ## 8-byte Reload
	movl	(%rdx), %eax
	movl	-76(%rbp), %esi                 ## 4-byte Reload
LBB0_37:                                ##   in Loop: Header=BB0_7 Depth=2
	incl	%esi
	cmpl	%eax, %esi
	jge	LBB0_38
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_9 Depth 3
                                        ##         Child Loop BB0_13 Depth 4
                                        ##         Child Loop BB0_19 Depth 4
                                        ##           Child Loop BB0_24 Depth 5
	testl	%ecx, %ecx
	jle	LBB0_37
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	8(%rbx), %rax
	movslq	4(%rdx), %rcx
	movl	%esi, -76(%rbp)                 ## 4-byte Spill
	movslq	%esi, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	xorl	%edx, %edx
	jmp	LBB0_9
LBB0_33:                                ##   in Loop: Header=BB0_9 Depth=3
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_34
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_9 Depth=3
	movl	-80(%rbp), %edx                 ## 4-byte Reload
	incl	%edx
	movq	-152(%rbp), %r14                ## 8-byte Reload
	movq	-144(%rbp), %r15                ## 8-byte Reload
	movl	(%r14,%r15,8), %ecx
	cmpl	%ecx, %edx
	jge	LBB0_36
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_13 Depth 4
                                        ##         Child Loop BB0_19 Depth 4
                                        ##           Child Loop BB0_24 Depth 5
	movslq	4(%r14,%r15,8), %rax
	movl	%edx, -80(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rcx
	addq	%rax, %rcx
	movq	(%rbx), %rax
	movq	48(%rbx), %r14
	movl	(%rax,%rcx,4), %edi
	movl	%edi, -84(%rbp)                 ## 4-byte Spill
	callq	_abs
	movq	%rax, %r15
	shlq	$5, %r15
	movq	_FACE_GROUND@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	testl	%eax, (%r14,%r15)
	jne	LBB0_35
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 4(%rax,%r15)
	jle	LBB0_35
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %r13
	addq	$4, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	movq	8(%rbx), %rax
	movslq	4(%r13), %rcx
	addq	%r14, %rcx
	movl	(%rax,%rcx,4), %ebx
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_abs
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_abs
	cmpq	%rax, %r12
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_13 Depth=4
	incq	%r14
	cmpl	(%r13), %r14d
	movq	_aasworld@GOTPCREL(%rip), %rbx
	jl	LBB0_13
	jmp	LBB0_35
LBB0_14:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	12(%rcx,%r15), %eax
	cmpl	-56(%rbp), %eax                 ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=3
	movl	16(%rcx,%r15), %eax
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=3
	movq	_aasworld@GOTPCREL(%rip), %rbx
	movq	16(%rbx), %rcx
	movslq	%eax, %r13
	movq	_AREA_GROUNDED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rcx,%r13,8)
	je	LBB0_34
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=3
	movq	56(%rbx), %rcx
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$0, (%rcx,%r13,8)
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jle	LBB0_33
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=3
	xorl	%r12d, %r12d
	movq	%r13, -136(%rbp)                ## 8-byte Spill
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_19 Depth=4
	movq	%r14, %rbx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_32:                                ##   in Loop: Header=BB0_19 Depth=4
	incl	%r12d
	cmpl	(%rcx,%r13,8), %r12d
	jge	LBB0_33
LBB0_19:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ## =>      This Loop Header: Depth=4
                                        ##           Child Loop BB0_24 Depth 5
	movq	(%rbx), %rax
	movslq	4(%rcx,%r13,8), %rcx
	movslq	%r12d, %rdx
	addq	%rcx, %rdx
	movl	(%rax,%rdx,4), %r15d
	movl	%r15d, %edi
	callq	_abs
	movq	%rbx, %r14
	movq	%rax, %rbx
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	callq	_abs
	cmpq	%rax, %rbx
	je	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=4
	movq	48(%r14), %rbx
	movl	%r15d, %edi
	callq	_abs
	movq	%rbx, %rcx
	shlq	$5, %rax
	leaq	(%rbx,%rax), %r13
	addq	$4, %r13
	cmpl	$0, 4(%rbx,%rax)
	movq	%r14, %rbx
	jle	LBB0_22
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=4
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	(%rcx,%rax), %r15
	addq	$8, %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_4 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ##       Parent Loop BB0_9 Depth=3
                                        ##         Parent Loop BB0_19 Depth=4
                                        ## =>        This Inner Loop Header: Depth=5
	movq	8(%rbx), %rax
	movslq	(%r15), %rcx
	addq	%r14, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_abs
	movq	%rax, %rbx
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_abs
	cmpq	%rax, %rbx
	je	LBB0_25
## %bb.30:                              ##   in Loop: Header=BB0_24 Depth=5
	incq	%r14
	cmpl	(%r13), %r14d
	movq	_aasworld@GOTPCREL(%rip), %rbx
	jl	LBB0_24
	jmp	LBB0_31
LBB0_22:                                ##   in Loop: Header=BB0_19 Depth=4
	xorl	%r14d, %r14d
	jmp	LBB0_31
LBB0_25:                                ##   in Loop: Header=BB0_19 Depth=4
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	(%rax,%rcx), %eax
	movq	_FACE_SOLID@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.28:                              ##   in Loop: Header=BB0_19 Depth=4
	movq	_FACE_GROUND@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.29:                              ##   in Loop: Header=BB0_19 Depth=4
	movq	_qfalse@GOTPCREL(%rip), %rax
	jmp	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_19 Depth=4
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_27:                                ##   in Loop: Header=BB0_19 Depth=4
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_aasworld@GOTPCREL(%rip), %rbx
LBB0_31:                                ##   in Loop: Header=BB0_19 Depth=4
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%r13), %r14d
	movq	-136(%rbp), %r13                ## 8-byte Reload
	jge	LBB0_32
	jmp	LBB0_33
LBB0_34:
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_AAS_Reachability_WalkOffLedge.cold.1
LBB0_39:
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function AAS_Reachability_WalkOffLedge.cold.1
LCPI1_0:
	.quad	0x3fe0000000000000              ## double 0.5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_AAS_Reachability_WalkOffLedge.cold.1:  ## @AAS_Reachability_WalkOffLedge.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	%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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movl	%edi, %ebx
	movq	_aasworld@GOTPCREL(%rip), %r12
	movq	40(%r12), %r13
	callq	_abs
	movl	%ebx, %ecx
	shrl	$31, %ecx
	movq	24(%r12), %r14
	movq	32(%r12), %rdx
	movq	(%r13,%rax,8), %rax
	movq	(%rax,%rcx,8), %rcx
	movq	(%rdx,%rcx,8), %r12
	notl	%ebx
	shrl	$31, %ebx
	movq	(%rax,%rbx,8), %rax
	movq	(%rdx,%rax,8), %rbx
	shlq	$5, %r15
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax,%r15), %r15
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_VectorSubtract
	movl	(%r14,%r15,4), %edi
	callq	_CrossProduct
	callq	_VectorNormalize
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_VectorAdd
	movsd	LCPI1_0(%rip), %xmm0            ## xmm0 = mem[0],zero
	callq	_VectorScale
	pushq	$8
	popq	%rsi
	callq	_VectorMA
	callq	_VectorCopy
	ud2
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,64,3                  ## @aasworld
	.comm	_FACE_GROUND,4,2                ## @FACE_GROUND
	.comm	_AREA_GROUNDED,4,2              ## @AREA_GROUNDED
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_FACE_SOLID,4,2                 ## @FACE_SOLID
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_PRESENCE_CROUCH,4,2            ## @PRESENCE_CROUCH
	.comm	_AREACONTENTS_SLIME,4,2         ## @AREACONTENTS_SLIME
	.comm	_AREACONTENTS_LAVA,4,2          ## @AREACONTENTS_LAVA
	.comm	_aassettings,48,3               ## @aassettings
	.comm	_TRAVEL_WALKOFFLEDGE,4,2        ## @TRAVEL_WALKOFFLEDGE
	.comm	_areareachability,8,3           ## @areareachability
	.comm	_reach_walkoffledge,4,2         ## @reach_walkoffledge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_Reachability_WalkOffLedge  ; -- Begin function AAS_Reachability_WalkOffLedge
	.p2align	2
_AAS_Reachability_WalkOffLedge:         ; @AAS_Reachability_WalkOffLedge
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #56]                   ; 8-byte Folded Spill
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_AAS_AreaGrounded
	cbz	w0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_AAS_AreaSwim
	cbz	x0, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_3:
Lloh0:
	adrp	x27, _aasworld@GOTPAGE
Lloh1:
	ldr	x27, [x27, _aasworld@GOTPAGEOFF]
	ldr	x8, [x27, #56]
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	add	x9, x8, w9, sxtw #3
	str	x9, [sp, #96]                   ; 8-byte Folded Spill
	ldr	w9, [x9]
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.4:
	mov	w10, #0
	ldr	x9, [sp, #56]                   ; 8-byte Folded Reload
	sxtw	x9, w9
	add	x8, x8, x9, lsl #3
	add	x8, x8, #4
	str	x8, [sp, #88]                   ; 8-byte Folded Spill
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	add	w10, w10, #1
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	cmp	w10, w8
	b.ge	LBB0_2
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;       Child Loop BB0_15 Depth 3
                                        ;         Child Loop BB0_18 Depth 4
                                        ;         Child Loop BB0_29 Depth 4
                                        ;           Child Loop BB0_32 Depth 5
	ldr	x8, [x27]
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	str	w10, [sp, #28]                  ; 4-byte Folded Spill
	add	w9, w9, w10
	ldr	w0, [x8, w9, sxtw #2]
	ldr	x19, [x27, #48]
	bl	_abs
	stp	x0, x19, [sp, #8]               ; 16-byte Folded Spill
	lsl	x8, x0, #5
	ldr	w8, [x19, x8]
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
	ldp	x9, x8, [sp, #8]                ; 16-byte Folded Reload
	add	x9, x8, x9, lsl #5
	mov	x10, x9
	ldr	w8, [x10, #4]!
	str	x10, [sp, #40]                  ; 8-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w10, #0
	add	x9, x9, #8
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	ldr	x9, [sp, #96]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=2
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	ldr	w10, [sp, #52]                  ; 4-byte Folded Reload
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=2
	add	w10, w10, #1
	cmp	w10, w8
	b.ge	LBB0_5
LBB0_11:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_15 Depth 3
                                        ;         Child Loop BB0_18 Depth 4
                                        ;         Child Loop BB0_29 Depth 4
                                        ;           Child Loop BB0_32 Depth 5
	cmp	w9, #1
	b.lt	LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	mov	w19, #0
	ldr	x8, [x27, #8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	str	w10, [sp, #52]                  ; 4-byte Folded Spill
	add	w9, w9, w10
	ldr	w22, [x8, w9, sxtw #2]
	b	LBB0_15
LBB0_13:                                ;   in Loop: Header=BB0_15 Depth=3
	ldr	w8, [sp, #68]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_41
LBB0_14:                                ;   in Loop: Header=BB0_15 Depth=3
	add	w19, w19, #1
	ldr	x8, [sp, #96]                   ; 8-byte Folded Reload
	ldr	w9, [x8]
	cmp	w19, w9
	b.ge	LBB0_9
LBB0_15:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ; =>    This Loop Header: Depth=3
                                        ;         Child Loop BB0_18 Depth 4
                                        ;         Child Loop BB0_29 Depth 4
                                        ;           Child Loop BB0_32 Depth 5
	ldr	x8, [x27]
	ldr	x9, [sp, #88]                   ; 8-byte Folded Reload
	ldr	w9, [x9]
	add	w9, w9, w19
	ldr	w0, [x8, w9, sxtw #2]
	ldr	x20, [x27, #48]
	stur	w0, [x29, #-84]                 ; 4-byte Folded Spill
	bl	_abs
	lsl	x8, x0, #5
	ldr	w8, [x20, x8]
Lloh5:
	adrp	x9, _FACE_GROUND@GOTPAGE
Lloh6:
	ldr	x9, [x9, _FACE_GROUND@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=3
	mov	x24, x0
	add	x8, x20, x0, lsl #5
	mov	x21, x8
	ldr	w9, [x21, #4]!
	cmp	w9, #1
	b.lt	LBB0_14
; %bb.17:                               ;   in Loop: Header=BB0_15 Depth=3
	mov	x28, #0
	add	x23, x8, #8
LBB0_18:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_15 Depth=3
                                        ; =>      This Inner Loop Header: Depth=4
	ldr	x8, [x27, #8]
	ldrsw	x9, [x23]
	add	x9, x28, x9
	ldr	w25, [x8, x9, lsl #2]
	mov	x0, x22
	bl	_abs
	mov	x26, x0
	mov	x0, x25
	bl	_abs
	cmp	x26, x0
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=4
	ldr	w8, [x21]
	add	x28, x28, #1
	cmp	w28, w8
	b.lt	LBB0_18
	b	LBB0_14
LBB0_20:                                ;   in Loop: Header=BB0_15 Depth=3
	add	x9, x20, x24, lsl #5
	ldr	w8, [x9, #12]
	ldr	x10, [sp, #56]                  ; 8-byte Folded Reload
	cmp	w8, w10
	b.ne	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_15 Depth=3
	ldr	w8, [x9, #16]
LBB0_22:                                ;   in Loop: Header=BB0_15 Depth=3
	ldr	x9, [x27, #16]
	sbfiz	x10, x8, #3, #32
	ldr	w9, [x9, x10]
Lloh8:
	adrp	x10, _AREA_GROUNDED@GOTPAGE
Lloh9:
	ldr	x10, [x10, _AREA_GROUNDED@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_41
; %bb.23:                               ;   in Loop: Header=BB0_15 Depth=3
	ldr	x9, [x27, #56]
	sxtw	x8, w8
Lloh11:
	adrp	x10, _qfalse@GOTPAGE
Lloh12:
	ldr	x10, [x10, _qfalse@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	str	w10, [sp, #68]                  ; 4-byte Folded Spill
	add	x26, x9, x8, lsl #3
	ldr	w8, [x26]
	cmp	w8, #1
	b.lt	LBB0_13
; %bb.24:                               ;   in Loop: Header=BB0_15 Depth=3
	mov	w20, #0
	add	x21, x26, #4
	ldur	w23, [x29, #-84]                ; 4-byte Folded Reload
	stp	x21, x26, [sp, #72]             ; 16-byte Folded Spill
	b	LBB0_29
LBB0_25:                                ;   in Loop: Header=BB0_29 Depth=4
	mov	w28, #0
LBB0_26:                                ;   in Loop: Header=BB0_29 Depth=4
	ldr	x26, [sp, #80]                  ; 8-byte Folded Reload
LBB0_27:                                ;   in Loop: Header=BB0_29 Depth=4
	ldr	w8, [x21]
	cmp	w28, w8
	ldr	x21, [sp, #72]                  ; 8-byte Folded Reload
	b.lt	LBB0_13
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=4
	add	w20, w20, #1
	ldr	w8, [x26]
	cmp	w20, w8
	b.ge	LBB0_13
LBB0_29:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_15 Depth=3
                                        ; =>      This Loop Header: Depth=4
                                        ;           Child Loop BB0_32 Depth 5
	ldr	x8, [x27]
	ldr	w9, [x21]
	add	w9, w9, w20
	ldr	w24, [x8, w9, sxtw #2]
	mov	x0, x24
	bl	_abs
	mov	x25, x0
	mov	x0, x23
	bl	_abs
	cmp	x25, x0
	b.eq	LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=4
	ldr	x26, [x27, #48]
	mov	x0, x24
	bl	_abs
	add	x8, x26, x0, lsl #5
	mov	x21, x8
	ldr	w9, [x21, #4]!
	cmp	w9, #1
	b.lt	LBB0_25
; %bb.31:                               ;   in Loop: Header=BB0_29 Depth=4
	mov	x24, x0
	mov	x28, #0
	add	x23, x8, #8
LBB0_32:                                ;   Parent Loop BB0_6 Depth=1
                                        ;     Parent Loop BB0_11 Depth=2
                                        ;       Parent Loop BB0_15 Depth=3
                                        ;         Parent Loop BB0_29 Depth=4
                                        ; =>        This Inner Loop Header: Depth=5
	ldr	x8, [x27, #8]
	ldrsw	x9, [x23]
	add	x9, x28, x9
	ldr	w0, [x8, x9, lsl #2]
	bl	_abs
	mov	x25, x0
	mov	x0, x22
	bl	_abs
	cmp	x25, x0
	b.eq	LBB0_34
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=5
	ldr	w8, [x21]
	add	x28, x28, #1
	cmp	w28, w8
	b.lt	LBB0_32
	b	LBB0_38
LBB0_34:                                ;   in Loop: Header=BB0_29 Depth=4
	lsl	x8, x24, #5
	ldr	w8, [x26, x8]
Lloh14:
	adrp	x9, _FACE_SOLID@GOTPAGE
Lloh15:
	ldr	x9, [x9, _FACE_SOLID@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_29 Depth=4
Lloh17:
	adrp	x9, _FACE_GROUND@GOTPAGE
Lloh18:
	ldr	x9, [x9, _FACE_GROUND@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	ldur	w23, [x29, #-84]                ; 4-byte Folded Reload
	ldr	x26, [sp, #80]                  ; 8-byte Folded Reload
	b.eq	LBB0_39
; %bb.36:                               ;   in Loop: Header=BB0_29 Depth=4
Lloh20:
	adrp	x8, _qfalse@GOTPAGE
Lloh21:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_40
LBB0_37:                                ;   in Loop: Header=BB0_29 Depth=4
Lloh22:
	adrp	x8, _qtrue@GOTPAGE
Lloh23:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
LBB0_38:                                ;   in Loop: Header=BB0_29 Depth=4
	ldur	w23, [x29, #-84]                ; 4-byte Folded Reload
	b	LBB0_26
LBB0_39:                                ;   in Loop: Header=BB0_29 Depth=4
Lloh25:
	adrp	x8, _qtrue@GOTPAGE
Lloh26:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_40:                                ;   in Loop: Header=BB0_29 Depth=4
	ldr	w8, [x8]
	str	w8, [sp, #68]                   ; 4-byte Folded Spill
	b	LBB0_27
LBB0_41:
	mov	x0, x22
	ldp	x2, x1, [sp, #8]                ; 16-byte Folded Reload
	bl	_AAS_Reachability_WalkOffLedge.cold.1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function AAS_Reachability_WalkOffLedge.cold.1
_AAS_Reachability_WalkOffLedge.cold.1:  ; @AAS_Reachability_WalkOffLedge.cold.1
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh27:
	adrp	x22, _aasworld@GOTPAGE
Lloh28:
	ldr	x22, [x22, _aasworld@GOTPAGEOFF]
	ldr	x23, [x22, #40]
	bl	_abs
	lsr	w8, w21, #31
	ldr	x9, [x23, x0, lsl #3]
	ldr	x8, [x9, w8, uxtw #3]
	ldp	x23, x10, [x22, #24]
	ldr	x22, [x10, x8, lsl #3]
	mvn	w8, w21
	lsr	w8, w8, #31
	ldr	x8, [x9, w8, uxtw #3]
	ldr	x21, [x10, x8, lsl #3]
	add	x8, x20, x19, lsl #5
	ldr	x19, [x8, #24]
	mov	x0, x21
	mov	x1, x22
	bl	_VectorSubtract
	ldr	w0, [x23, x19, lsl #2]
	bl	_CrossProduct
	bl	_VectorNormalize
	mov	x0, x22
	mov	x1, x21
	bl	_VectorAdd
	fmov	d0, #0.50000000
	bl	_VectorScale
	mov	w1, #8
	bl	_VectorMA
	bl	_VectorCopy
	brk	#0x1
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,64,3                  ; @aasworld
	.comm	_FACE_GROUND,4,2                ; @FACE_GROUND
	.comm	_AREA_GROUNDED,4,2              ; @AREA_GROUNDED
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_FACE_SOLID,4,2                 ; @FACE_SOLID
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_PRESENCE_CROUCH,4,2            ; @PRESENCE_CROUCH
	.comm	_AREACONTENTS_SLIME,4,2         ; @AREACONTENTS_SLIME
	.comm	_AREACONTENTS_LAVA,4,2          ; @AREACONTENTS_LAVA
	.comm	_aassettings,48,3               ; @aassettings
	.comm	_TRAVEL_WALKOFFLEDGE,4,2        ; @TRAVEL_WALKOFFLEDGE
	.comm	_areareachability,8,3           ; @areareachability
	.comm	_reach_walkoffledge,4,2         ; @reach_walkoffledge
.subsections_via_symbols
