	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PortalMaxTravelTime        ## -- Begin function AAS_PortalMaxTravelTime
	.p2align	4, 0x90
_AAS_PortalMaxTravelTime:               ## @AAS_PortalMaxTravelTime
	.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
	.cfi_offset %rbx, -24
	movq	_aasworld@GOTPCREL(%rip), %rax
	movq	8(%rax), %rcx
	movq	24(%rax), %rdx
	movslq	%edi, %rsi
	movq	(%rdx,%rsi,8), %r11
	movl	(%rcx,%r11,4), %r8d
	testl	%r8d, %r8d
	jle	LBB0_1
## %bb.2:
	movq	(%rax), %r9
	movq	16(%rax), %rax
	movq	(%rax,%r11,8), %rdi
	cmpl	$1, %r8d
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%esi, %esi
LBB0_12:
	movl	%esi, %eax
	testb	$1, %r8b
	cmovnel	%esi, %eax
	je	LBB0_16
## %bb.13:
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.14:
	movq	(%r9,%r11,8), %rax
	movq	(%rax,%rdx,8), %rdx
	movl	%esi, %eax
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rdx), %ecx
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
	movq	(%rdi), %rdi
	addq	$4, %rdx
	testq	%rdi, %rdi
	jne	LBB0_15
	jmp	LBB0_16
LBB0_1:
	xorl	%eax, %eax
LBB0_16:
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movl	%r8d, %r10d
	andl	$-2, %r10d
	xorl	%edx, %edx
	xorl	%esi, %esi
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdx
	cmpq	%r10, %rdx
	je	LBB0_12
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_10 Depth 2
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r9,%r11,8), %rax
	movq	(%rax,%rdx,8), %rax
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax), %ebx
	cmpl	%esi, %ebx
	cmovgl	%ebx, %esi
	movq	(%rcx), %rcx
	addq	$4, %rax
	testq	%rcx, %rcx
	jne	LBB0_7
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	(,%rdx,8), %rax
	movq	(%r9,%r11,8), %rcx
	orq	$8, %rax
	movq	(%rcx,%rax), %rax
	movq	%rdi, %rcx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%rax), %ebx
	cmpl	%esi, %ebx
	cmovgl	%ebx, %esi
	movq	(%rcx), %rcx
	addq	$4, %rax
	testq	%rcx, %rcx
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,32,3                  ## @aasworld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_PortalMaxTravelTime        ; -- Begin function AAS_PortalMaxTravelTime
	.p2align	2
_AAS_PortalMaxTravelTime:               ; @AAS_PortalMaxTravelTime
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x12, _aasworld@GOTPAGE
Lloh1:
	ldr	x12, [x12, _aasworld@GOTPAGEOFF]
	ldr	x8, [x12, #24]
	ldr	x8, [x8, w0, sxtw #3]
	ldr	x9, [x12, #8]
	ldr	w9, [x9, x8, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_7
; %bb.1:
	mov	x10, #0
	mov	w0, #0
	ldr	x11, [x12, #16]
	ldr	x11, [x11, x8, lsl #3]
	ldr	x12, [x12]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x9
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	cbz	x11, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x12, x8, lsl #3]
	ldr	x13, [x13, x10, lsl #3]
	mov	x14, x11
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w15, [x13], #4
	cmp	w15, w0
	csel	w0, w15, w0, gt
	ldr	x14, [x14]
	cbnz	x14, LBB0_5
	b	LBB0_2
LBB0_6:
	ret
LBB0_7:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,32,3                  ; @aasworld
.subsections_via_symbols
