	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_EntityType                 ## -- Begin function AAS_EntityType
	.p2align	4, 0x90
_AAS_EntityType:                        ## @AAS_EntityType
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_aasworld@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$0, 16(%rax)
	je	LBB0_5
## %bb.1:
	movl	%edi, %edx
	testl	%edi, %edi
	js	LBB0_3
## %bb.2:
	cmpl	%edx, (%rax)
	jle	LBB0_3
## %bb.4:
	movq	8(%rax), %rax
	movl	%edx, %ecx
	movl	(%rax,%rcx,4), %ebx
	jmp	LBB0_5
LBB0_3:
	movq	_botimport@GOTPCREL(%rip), %rax
	movq	_PRT_FATAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	callq	*(%rax)
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,24,3                  ## @aasworld
	.comm	_botimport,8,3                  ## @botimport
	.comm	_PRT_FATAL,4,2                  ## @PRT_FATAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AAS_EntityType: entnum %d out of range\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_EntityType                 ; -- Begin function AAS_EntityType
	.p2align	2
_AAS_EntityType:                        ; @AAS_EntityType
	.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
Lloh0:
	adrp	x8, _aasworld@GOTPAGE
Lloh1:
	ldr	x8, [x8, _aasworld@GOTPAGEOFF]
	ldr	w9, [x8, #16]
	cbz	w9, LBB0_5
; %bb.1:
	mov	x2, x0
	tbnz	w0, #31, LBB0_4
; %bb.2:
	ldr	w9, [x8]
	cmp	w9, w2
	b.le	LBB0_4
; %bb.3:
	ldr	x8, [x8, #8]
	ldr	w0, [x8, w2, uxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh2:
	adrp	x8, _botimport@GOTPAGE
Lloh3:
	ldr	x8, [x8, _botimport@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _PRT_FATAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _PRT_FATAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x9]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	blr	x8
LBB0_5:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,24,3                  ; @aasworld
	.comm	_botimport,8,3                  ; @botimport
	.comm	_PRT_FATAL,4,2                  ; @PRT_FATAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AAS_EntityType: entnum %d out of range\n"

.subsections_via_symbols
