	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CalculateAreaTravelTimes   ## -- Begin function AAS_CalculateAreaTravelTimes
	.p2align	4, 0x90
_AAS_CalculateAreaTravelTimes:          ## @AAS_CalculateAreaTravelTimes
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_aasworld@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_FreeMemory
	movq	_aasworld@GOTPCREL(%rip), %rcx
LBB0_2:
	movl	8(%rcx), %eax
	leal	(,%rax,8), %r14d
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	movl	$8, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%rcx), %rax
	movq	32(%rcx), %rcx
	movl	(%rax,%rbx,8), %r12d
	movl	(%rcx,%r15), %edi
	movl	$8, %esi
	callq	_PAD
	movq	_aasworld@GOTPCREL(%rip), %rcx
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %eax
	addl	$8, %eax
	imull	%r12d, %eax
	addl	%eax, %r14d
	incq	%rbx
	movslq	8(%rcx), %rax
	addq	$16, %r15
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movl	%r14d, %edi
	callq	_GetClearedMemory
	movq	_aasworld@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movl	8(%r15), %r8d
	testl	%r8d, %r8d
	jle	LBB0_17
## %bb.6:
	leaq	(%rax,%r8,8), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##       Child Loop BB0_11 Depth 3
	movq	24(%r15), %rcx
	movq	32(%r15), %rbx
	movq	%rdi, (%rax,%rdx,8)
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movslq	(%rcx,%rdx,8), %rax
	leaq	(%rdi,%rax,8), %rdi
	testq	%rax, %rax
	jle	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%rdx, %rax
	shlq	$4, %rax
	leaq	(%rbx,%rax), %rcx
	addq	$8, %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	addq	%rbx, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_9 Depth=2
	movslq	-52(%rbp), %rax                 ## 4-byte Folded Reload
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	leaq	(%rdi,%rax,2), %rdi
	incq	%rbx
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax,%rdx,8), %rax
	cmpq	%rax, %rbx
	jge	LBB0_14
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_11 Depth 3
	movq	(%r15), %rax
	movq	(%rax,%rdx,8), %rax
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, (%rax,%rbx,8)
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movl	$8, %esi
	callq	_PAD
	movq	_aasworld@GOTPCREL(%rip), %r15
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movslq	4(%rcx,%rax,8), %rax
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movslq	%ebx, %rcx
	addq	%rax, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	16(%r15), %rax
	xorl	%r13d, %r13d
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_11:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_9 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	(%r14), %rcx
	movl	4(%rax,%rcx,8), %edi
	callq	_VectorCopy
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx,%rax,8), %edx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	%r12d, %edi
	callq	_AAS_AreaTravelTime
	movq	(%r15), %rcx
	movq	(%rcx,%r12,8), %rcx
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	movq	(%rcx,%rbx,8), %rcx
	movw	%ax, (%rcx,%r13)
	movq	8(%r14), %r14
	testq	%r14, %r14
	je	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=3
	movq	16(%r15), %rax
	addq	$2, %r13
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%r15), %r8d
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rdx
	movslq	%r8d, %rax
	cmpq	%rax, %rdx
	jge	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r15), %rax
	jmp	LBB0_7
LBB0_17:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,40,3                  ## @aasworld
	.comm	_PRT_MESSAGE,4,2                ## @PRT_MESSAGE
	.comm	_botimport,8,3                  ## @botimport
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_CalculateAreaTravelTimes   ; -- Begin function AAS_CalculateAreaTravelTimes
	.p2align	2
_AAS_CalculateAreaTravelTimes:          ; @AAS_CalculateAreaTravelTimes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x21, _aasworld@GOTPAGE
Lloh1:
	ldr	x21, [x21, _aasworld@GOTPAGEOFF]
	ldr	x0, [x21]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_FreeMemory
LBB0_2:
	ldr	w8, [x21, #8]
	lsl	w19, w8, #3
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	x22, #0
	mov	w23, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x21, #24]
	ldr	w24, [x9, x20]
	ldr	w0, [x8, x23]
	mov	w1, #8
	bl	_PAD
	lsl	w8, w0, #1
	add	w8, w8, #8
	madd	w19, w8, w24, w19
	add	x22, x22, #1
	ldrsw	x8, [x21, #8]
	add	x20, x20, #8
	add	x23, x23, #16
	cmp	x22, x8
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_GetClearedMemory
	str	x0, [x21]
	ldr	w8, [x21, #8]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.6:
	mov	x19, #0
	add	x22, x0, x8, lsl #3
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
                                        ;       Child Loop BB0_12 Depth 3
	ldp	x9, x10, [x21, #24]
	lsl	x11, x19, #3
	str	x22, [x0, x11]
	add	x11, x9, x11
	str	x11, [sp, #8]                   ; 8-byte Folded Spill
	ldrsw	x11, [x11]
	add	x22, x22, x11, lsl #3
	cmp	w11, #1
	b.lt	LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x24, #0
	add	x25, x10, x19, lsl #4
	add	x26, x25, #8
	add	x8, x9, x19, lsl #3
	add	x8, x8, #4
	str	x8, [sp]                        ; 8-byte Folded Spill
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x22, x22, w20, sxtw #1
	add	x24, x24, #1
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldrsw	x8, [x8]
	cmp	x24, x8
	b.ge	LBB0_14
LBB0_10:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_12 Depth 3
	ldr	x8, [x21]
	ldr	x8, [x8, x19, lsl #3]
	str	x22, [x8, x24, lsl #3]
	ldr	w0, [x26]
	mov	w1, #8
	bl	_PAD
	mov	x20, x0
	ldr	x28, [x25]
	cbz	x28, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x27, #0
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	ldr	w8, [x8]
	add	w9, w8, w24
	ldr	x8, [x21, #16]
	add	x23, x8, w9, sxtw #3
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ;     Parent Loop BB0_10 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x9, [x28]
	add	x8, x8, x9, lsl #3
	ldr	w0, [x8, #4]
	bl	_VectorCopy
	ldr	w2, [x23]
	mov	x0, x19
	bl	_AAS_AreaTravelTime
	ldr	x8, [x21]
	ldr	x8, [x8, x19, lsl #3]
	ldr	x8, [x8, x24, lsl #3]
	strh	w0, [x8, x27]
	ldr	x28, [x28, #8]
	cbz	x28, LBB0_9
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=3
	ldr	x8, [x21, #16]
	add	x27, x27, #2
	b	LBB0_12
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21, #8]
LBB0_15:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x19, x19, #1
	cmp	x19, w8, sxtw
	b.ge	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x21]
	b	LBB0_7
LBB0_17:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,40,3                  ; @aasworld
	.comm	_PRT_MESSAGE,4,2                ; @PRT_MESSAGE
	.comm	_botimport,8,3                  ; @botimport
.subsections_via_symbols
