	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_NumberClusterPortals       ## -- Begin function AAS_NumberClusterPortals
	.p2align	4, 0x90
_AAS_NumberClusterPortals:              ## @AAS_NumberClusterPortals
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_aasworld@GOTPCREL(%rip), %r9
	movq	16(%r9), %rsi
	movslq	%edi, %rax
	leaq	(%rax,%rax,2), %rax
	movl	(%rsi,%rax,4), %r8d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.1:
	movslq	4(%rsi,%rax,4), %r10
	movq	8(%r9), %r11
	leaq	(%rsi,%rax,4), %r14
	addq	$8, %r14
	shlq	$2, %r10
	addq	(%r9), %r10
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	(%r10,%rax,4), %rcx
	shlq	$4, %rcx
	xorl	%edx, %edx
	cmpl	%edi, (%r11,%rcx)
	setne	%dl
	movslq	(%r14), %rsi
	leal	1(%rsi), %ebx
	movl	%ebx, (%r14)
	movq	8(%r11,%rcx), %rcx
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_2
LBB0_3:
	popq	%rbx
	popq	%r14
	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_NumberClusterPortals       ; -- Begin function AAS_NumberClusterPortals
	.p2align	2
_AAS_NumberClusterPortals:              ; @AAS_NumberClusterPortals
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x9, _aasworld@GOTPAGE
Lloh1:
	ldr	x9, [x9, _aasworld@GOTPAGEOFF]
	ldr	x10, [x9, #16]
	mov	w8, #12
	smull	x8, w0, w8
	ldr	w8, [x10, x8]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	sxtw	x11, w0
	mov	w12, #12
	madd	x10, x11, x12, x10
	ldrsw	x11, [x10, #4]
	ldp	x12, x9, [x9]
	add	x10, x10, #8
	add	x11, x12, x11, lsl #2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x12, [x11], #4
	add	x12, x9, x12, lsl #4
	ldr	w13, [x12]
	cmp	w13, w0
	cset	w13, ne
	ldrsw	x14, [x10]
	add	w15, w14, #1
	str	w15, [x10]
	ldr	x12, [x12, #8]
	str	x14, [x12, w13, uxtw #3]
	subs	x8, x8, #1
	b.ne	LBB0_2
LBB0_3:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,24,3                  ; @aasworld
.subsections_via_symbols
