	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_NextEntity                 ## -- Begin function AAS_NextEntity
	.p2align	4, 0x90
_AAS_NextEntity:                        ## @AAS_NextEntity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_aasworld@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	$0, 16(%rdx)
	je	LBB0_5
## %bb.1:
	testl	%edi, %edi
	movl	$-1, %esi
	cmovnsl	%edi, %esi
	movslq	(%rdx), %rcx
	movq	8(%rdx), %rdx
	movslq	%esi, %rsi
	incq	%rsi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, %rsi
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rsi), %rdi
	cmpq	$0, (%rdx,%rsi,8)
	movq	%rdi, %rsi
	je	LBB0_2
## %bb.4:
	decl	%edi
	movl	%edi, %eax
LBB0_5:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,24,3                  ## @aasworld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_NextEntity                 ; -- Begin function AAS_NextEntity
	.p2align	2
_AAS_NextEntity:                        ; @AAS_NextEntity
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _aasworld@GOTPAGE
Lloh1:
	ldr	x9, [x9, _aasworld@GOTPAGEOFF]
	ldr	w8, [x9, #16]
	cbz	w8, LBB0_5
; %bb.1:
	cmp	w0, #0
	csinv	w10, w0, wzr, ge
	ldrsw	x8, [x9]
	ldr	x9, [x9, #8]
	sxtw	x10, w10
	add	x10, x10, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x8
	b.ge	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x11, [x9, x10, lsl #3]
	add	x10, x10, #1
	cbz	x11, LBB0_2
; %bb.4:
	sub	w0, w10, #1
	ret
LBB0_5:
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,24,3                  ; @aasworld
.subsections_via_symbols
