	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_StringFromIndex            ## -- Begin function AAS_StringFromIndex
	.p2align	4, 0x90
_AAS_StringFromIndex:                   ## @AAS_StringFromIndex
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	movq	%rdi, %r8
	movq	_aasworld@GOTPCREL(%rip), %rsi
	cmpl	$0, (%rsi)
	je	LBB0_1
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	testl	%ecx, %ecx
	js	LBB0_7
## %bb.3:
	cmpl	%edx, %ecx
	jge	LBB0_7
## %bb.4:
	movl	%ecx, %edx
	movq	(%rax,%rdx,8), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rsi
LBB0_7:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_ERROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edi
	movq	%r8, %rdx
	callq	*(%rax)
LBB0_8:
	leaq	L_.str.1(%rip), %rax
	popq	%rbp
	retq
LBB0_5:
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.6:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,4,2                   ## @aasworld
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_ERROR,4,2                  ## @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: index %d not setup\n"

L_.str.1:                               ## @.str.1
	.space	1

L_.str.2:                               ## @.str.2
	.asciz	"%s: index %d out of range\n"

L_.str.3:                               ## @.str.3
	.asciz	"%s: reference to unused index %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_StringFromIndex            ; -- Begin function AAS_StringFromIndex
	.p2align	2
_AAS_StringFromIndex:                   ; @AAS_StringFromIndex
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x9, x0
Lloh0:
	adrp	x10, _aasworld@GOTPAGE
Lloh1:
	ldr	x10, [x10, _aasworld@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cbz	w10, LBB0_5
; %bb.1:
	mov	x8, x1
Lloh3:
	adrp	x1, l_.str.2@PAGE
Lloh4:
	add	x1, x1, l_.str.2@PAGEOFF
	tbnz	w3, #31, LBB0_6
; %bb.2:
	cmp	w3, w2
	b.ge	LBB0_6
; %bb.3:
	ldr	x0, [x8, w3, uxtw #3]
	cbz	x0, LBB0_8
; %bb.4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
LBB0_6:
Lloh7:
	adrp	x8, _botimport@GOTPAGE
Lloh8:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x10, _PRT_ERROR@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PRT_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x10]
	mov	x2, x9
	blr	x8
LBB0_7:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_8:
	cbz	w3, LBB0_7
; %bb.9:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,4,2                   ; @aasworld
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_ERROR,4,2                  ; @PRT_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: index %d not setup\n"

l_.str.1:                               ; @.str.1
	.space	1

l_.str.2:                               ; @.str.2
	.asciz	"%s: index %d out of range\n"

l_.str.3:                               ; @.str.3
	.asciz	"%s: reference to unused index %d\n"

.subsections_via_symbols
