	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_IndexFromString            ## -- Begin function AAS_IndexFromString
	.p2align	4, 0x90
_AAS_IndexFromString:                   ## @AAS_IndexFromString
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	_aasworld@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	je	LBB0_8
## %bb.1:
	testl	%edx, %edx
	jle	LBB0_6
## %bb.2:
	movq	%rsi, %r15
	movl	%edx, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %rsi
	callq	_Q_stricmp
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_7
LBB0_8:
	movq	%rdi, %rax
	movq	_botimport@GOTPCREL(%rip), %rbx
	movq	_PRT_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdx
	movq	%r14, %rcx
	callq	*(%rbx)
LBB0_6:
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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 not setup \"%s\"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_IndexFromString            ; -- Begin function AAS_IndexFromString
	.p2align	2
_AAS_IndexFromString:                   ; @AAS_IndexFromString
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [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 w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
Lloh0:
	adrp	x9, _aasworld@GOTPAGE
Lloh1:
	ldr	x9, [x9, _aasworld@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbz	w9, LBB0_6
; %bb.1:
	cmp	w2, #1
	b.lt	LBB0_7
; %bb.2:
	mov	x21, x1
	mov	x20, #0
	mov	w22, w2
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x22, x20
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21, x20, lsl #3]
	cbz	x0, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x19
	bl	_Q_stricmp
	cbnz	w0, LBB0_3
	b	LBB0_8
LBB0_6:
	mov	x8, x0
Lloh3:
	adrp	x9, _botimport@GOTPAGE
Lloh4:
	ldr	x9, [x9, _botimport@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _PRT_ERROR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _PRT_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x10]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	mov	x3, x19
	blr	x9
LBB0_7:
	mov	w20, #0
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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 not setup \"%s\"\n"

.subsections_via_symbols
