	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_AreaTravelTime             ## -- Begin function AAS_AreaTravelTime
	.p2align	4, 0x90
_AAS_AreaTravelTime:                    ## @AAS_AreaTravelTime
	.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
	movl	%esi, %edi
	movl	%edx, %esi
	callq	_VectorSubtract
	callq	_VectorLength
	movss	%xmm0, -12(%rbp)                ## 4-byte Spill
	movl	%ebx, %edi
	callq	_AAS_AreaCrouch
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_DISTANCEFACTOR_CROUCH@GOTPCREL(%rip), %rax
	movss	-12(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jmp	LBB0_5
LBB0_2:
	movl	%ebx, %edi
	callq	_AAS_AreaSwim
	testq	%rax, %rax
	movss	-12(%rbp), %xmm0                ## 4-byte Reload
                                        ## xmm0 = mem[0],zero,zero,zero
	jne	LBB0_3
## %bb.4:
	movq	_DISTANCEFACTOR_WALK@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_DISTANCEFACTOR_SWIM@GOTPCREL(%rip), %rax
LBB0_5:
	mulss	(%rax), %xmm0
	cvttss2si	%xmm0, %eax
	cmpl	$2, %eax
	movl	$1, %ecx
	cmovgel	%eax, %ecx
	movzwl	%cx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DISTANCEFACTOR_CROUCH,4,2      ## @DISTANCEFACTOR_CROUCH
	.comm	_DISTANCEFACTOR_SWIM,4,2        ## @DISTANCEFACTOR_SWIM
	.comm	_DISTANCEFACTOR_WALK,4,2        ## @DISTANCEFACTOR_WALK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_AreaTravelTime             ; -- Begin function AAS_AreaTravelTime
	.p2align	2
_AAS_AreaTravelTime:                    ; @AAS_AreaTravelTime
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [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 b8, -40
	.cfi_offset b9, -48
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	bl	_VectorSubtract
	bl	_VectorLength
	fmov	s8, s0
	mov	x0, x19
	bl	_AAS_AreaCrouch
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _DISTANCEFACTOR_CROUCH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISTANCEFACTOR_CROUCH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_AAS_AreaSwim
Lloh2:
	adrp	x8, _DISTANCEFACTOR_SWIM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DISTANCEFACTOR_SWIM@GOTPAGEOFF]
Lloh4:
	adrp	x9, _DISTANCEFACTOR_WALK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DISTANCEFACTOR_WALK@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_3:
	ldr	s0, [x8]
	fmul	s0, s8, s0
	fcvtzs	w8, s0
	cmp	w8, #1
	csinc	w8, w8, wzr, gt
	and	w0, w8, #0xffff
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #48               ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DISTANCEFACTOR_CROUCH,4,2      ; @DISTANCEFACTOR_CROUCH
	.comm	_DISTANCEFACTOR_SWIM,4,2        ; @DISTANCEFACTOR_SWIM
	.comm	_DISTANCEFACTOR_WALK,4,2        ; @DISTANCEFACTOR_WALK
.subsections_via_symbols
