	.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_ShowReachableAreas
LCPI0_0:
	.long	0x3fc00000                      ## float 1.5
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_AAS_ShowReachableAreas
	.p2align	4, 0x90
_AAS_ShowReachableAreas:                ## @AAS_ShowReachableAreas
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	%edi, _AAS_ShowReachableAreas.lastareanum(%rip)
	je	LBB0_2
## %bb.1:
	movl	$0, _AAS_ShowReachableAreas.index(%rip)
	movl	%edi, _AAS_ShowReachableAreas.lastareanum(%rip)
LBB0_2:
	movq	_aasworld@GOTPCREL(%rip), %r14
	movq	8(%r14), %r15
	movslq	%edi, %rbx
	movl	(%r15,%rbx,8), %eax
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	cmpl	%eax, _AAS_ShowReachableAreas.index(%rip)
	jl	LBB0_5
## %bb.4:
	movl	$0, _AAS_ShowReachableAreas.index(%rip)
LBB0_5:
	xorl	%eax, %eax
	callq	_AAS_Time
	subss	_AAS_ShowReachableAreas.lasttime(%rip), %xmm0
	ucomiss	LCPI0_0(%rip), %xmm0
	jbe	LBB0_7
## %bb.6:
	movslq	4(%r15,%rbx,8), %rax
	movslq	_AAS_ShowReachableAreas.index(%rip), %rsi
	addq	%rax, %rsi
	shlq	$2, %rsi
	addq	(%r14), %rsi
	leaq	_AAS_ShowReachableAreas.reach(%rip), %rdi
	movl	$4, %edx
	callq	_Com_Memcpy
	incl	_AAS_ShowReachableAreas.index(%rip)
	xorl	%eax, %eax
	callq	_AAS_Time
	movss	%xmm0, _AAS_ShowReachableAreas.lasttime(%rip)
	movq	_TRAVELTYPE_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	_AAS_ShowReachableAreas.reach(%rip), %edi
	callq	_AAS_PrintTravelType
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_MESSAGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_7:
	leaq	_AAS_ShowReachableAreas.reach(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AAS_ShowReachability           ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.reach,4,2 ## @AAS_ShowReachableAreas.reach
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.index,4,2 ## @AAS_ShowReachableAreas.index
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.lastareanum,4,2 ## @AAS_ShowReachableAreas.lastareanum
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.lasttime,4,2 ## @AAS_ShowReachableAreas.lasttime
	.comm	_aasworld,16,3                  ## @aasworld
	.comm	_TRAVELTYPE_MASK,4,2            ## @TRAVELTYPE_MASK
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_ShowReachableAreas         ; -- Begin function AAS_ShowReachableAreas
	.p2align	2
_AAS_ShowReachableAreas:                ; @AAS_ShowReachableAreas
	.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, x0
	adrp	x8, _AAS_ShowReachableAreas.lastareanum@PAGE
	ldr	w9, [x8, _AAS_ShowReachableAreas.lastareanum@PAGEOFF]
	adrp	x20, _AAS_ShowReachableAreas.index@PAGE
	cmp	w9, w0
	b.eq	LBB0_2
; %bb.1:
	str	wzr, [x20, _AAS_ShowReachableAreas.index@PAGEOFF]
	str	w19, [x8, _AAS_ShowReachableAreas.lastareanum@PAGEOFF]
LBB0_2:
Lloh0:
	adrp	x21, _aasworld@GOTPAGE
Lloh1:
	ldr	x21, [x21, _aasworld@GOTPAGEOFF]
	ldr	x22, [x21, #8]
	sbfiz	x8, x19, #3, #32
	ldr	w8, [x22, x8]
	cbz	w8, LBB0_8
; %bb.3:
	ldr	w9, [x20, _AAS_ShowReachableAreas.index@PAGEOFF]
	cmp	w9, w8
	b.lt	LBB0_5
; %bb.4:
	str	wzr, [x20, _AAS_ShowReachableAreas.index@PAGEOFF]
LBB0_5:
	bl	_AAS_Time
	adrp	x23, _AAS_ShowReachableAreas.lasttime@PAGE
	ldr	s1, [x23, _AAS_ShowReachableAreas.lasttime@PAGEOFF]
	fsub	s0, s0, s1
	fmov	s1, #1.50000000
	fcmp	s0, s1
	b.le	LBB0_7
; %bb.6:
	sxtw	x8, w19
Lloh2:
	adrp	x19, _AAS_ShowReachableAreas.reach@PAGE
Lloh3:
	add	x19, x19, _AAS_ShowReachableAreas.reach@PAGEOFF
	ldr	x9, [x21]
	add	x8, x22, x8, lsl #3
	ldr	w8, [x8, #4]
	ldr	w10, [x20, _AAS_ShowReachableAreas.index@PAGEOFF]
	add	w8, w10, w8
	add	x1, x9, w8, sxtw #2
	mov	x0, x19
	mov	w2, #4
	bl	_Com_Memcpy
	ldr	w8, [x20, _AAS_ShowReachableAreas.index@PAGEOFF]
	add	w8, w8, #1
	str	w8, [x20, _AAS_ShowReachableAreas.index@PAGEOFF]
	bl	_AAS_Time
	str	s0, [x23, _AAS_ShowReachableAreas.lasttime@PAGEOFF]
	ldr	w8, [x19]
Lloh4:
	adrp	x9, _TRAVELTYPE_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _TRAVELTYPE_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w0, w9, w8
	bl	_AAS_PrintTravelType
Lloh7:
	adrp	x8, _botimport@GOTPAGE
Lloh8:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _PRT_MESSAGE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _PRT_MESSAGE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
LBB0_7:
Lloh15:
	adrp	x0, _AAS_ShowReachableAreas.reach@PAGE
Lloh16:
	add	x0, x0, _AAS_ShowReachableAreas.reach@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AAS_ShowReachability
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.reach,4,2 ; @AAS_ShowReachableAreas.reach
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.index,4,2 ; @AAS_ShowReachableAreas.index
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.lastareanum,4,2 ; @AAS_ShowReachableAreas.lastareanum
.zerofill __DATA,__bss,_AAS_ShowReachableAreas.lasttime,4,2 ; @AAS_ShowReachableAreas.lasttime
	.comm	_aasworld,16,3                  ; @aasworld
	.comm	_TRAVELTYPE_MASK,4,2            ; @TRAVELTYPE_MASK
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

.subsections_via_symbols
