	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_NextBSPEntity              ## -- Begin function AAS_NextBSPEntity
	.p2align	4, 0x90
_AAS_NextBSPEntity:                     ## @AAS_NextBSPEntity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	1(%rdi), %eax
	movq	_bspworld@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %eax
	cmovgel	%edx, %eax
	testl	%edi, %edi
	cmovsl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_bspworld,4,2                   ## @bspworld
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_NextBSPEntity              ; -- Begin function AAS_NextBSPEntity
	.p2align	2
_AAS_NextBSPEntity:                     ; @AAS_NextBSPEntity
	.cfi_startproc
; %bb.0:
	add	w8, w0, #1
Lloh0:
	adrp	x9, _bspworld@GOTPAGE
Lloh1:
	ldr	x9, [x9, _bspworld@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w8, w9
	mov	w8, #-1
	ccmp	w0, w8, #4, lt
	csinc	w0, wzr, w0, le
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_bspworld,4,2                   ; @bspworld
.subsections_via_symbols
