	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_InitClusterAreaCache       ## -- Begin function AAS_InitClusterAreaCache
	.p2align	4, 0x90
_AAS_InitClusterAreaCache:              ## @AAS_InitClusterAreaCache
	.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), %r14
	movl	(%r14), %edi
	testl	%edi, %edi
	jle	LBB0_1
## %bb.2:
	movq	8(%r14), %rax
	cmpl	$8, %edi
	jae	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
	xorl	%edx, %edx
	jmp	LBB0_12
LBB0_1:
	xorl	%edx, %edx
	jmp	LBB0_13
LBB0_4:
	movl	%edi, %ecx
	andl	$-8, %ecx
	leaq	-8(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$3, %rdx
	incq	%rdx
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$24, %rsi
	jae	LBB0_6
## %bb.5:
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rdx
	pxor	%xmm0, %xmm0
	xorl	%esi, %esi
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rax,%rsi,4), %xmm2
	paddd	%xmm0, %xmm2
	movdqu	16(%rax,%rsi,4), %xmm0
	paddd	%xmm1, %xmm0
	movdqu	32(%rax,%rsi,4), %xmm1
	movdqu	48(%rax,%rsi,4), %xmm3
	movdqu	64(%rax,%rsi,4), %xmm4
	paddd	%xmm1, %xmm4
	paddd	%xmm2, %xmm4
	movdqu	80(%rax,%rsi,4), %xmm2
	paddd	%xmm3, %xmm2
	paddd	%xmm0, %xmm2
	movdqu	96(%rax,%rsi,4), %xmm0
	paddd	%xmm4, %xmm0
	movdqu	112(%rax,%rsi,4), %xmm1
	paddd	%xmm2, %xmm1
	addq	$32, %rsi
	addq	$-4, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%r8, %r8
	je	LBB0_11
## %bb.9:
	leaq	(%rax,%rsi,4), %rdx
	addq	$16, %rdx
	shlq	$5, %r8
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rdx,%rsi), %xmm2
	paddd	%xmm2, %xmm0
	movdqu	(%rdx,%rsi), %xmm2
	paddd	%xmm2, %xmm1
	addq	$32, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_10
LBB0_11:
	paddd	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddd	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	cmpq	%rdi, %rcx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	addl	(%rax,%rcx,4), %edx
	incq	%rcx
	cmpq	%rcx, %rdi
	jne	LBB0_12
LBB0_13:
	addl	%edx, %edi
	shll	$3, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_GetClearedMemory
	movq	%rax, 16(%r14)
	movl	(%r14), %edx
	testl	%edx, %edx
	jle	LBB0_22
## %bb.14:
	leaq	(%rax,%rdx,8), %rcx
	movq	%rcx, (%rax)
	cmpl	$1, %edx
	je	LBB0_22
## %bb.15:
	leaq	-1(%rdx), %r8
	addq	$-2, %rdx
	movl	%r8d, %eax
	andl	$3, %eax
	cmpq	$3, %rdx
	jae	LBB0_17
## %bb.16:
	movl	$1, %esi
	xorl	%edx, %edx
	testq	%rax, %rax
	jne	LBB0_21
	jmp	LBB0_22
LBB0_17:
	andq	$-4, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	movq	16(%r14), %rsi
	movslq	(%rdi,%rdx,4), %rdi
	leaq	(%rcx,%rdi,8), %rcx
	movq	%rcx, 8(%rsi,%rdx,8)
	movq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movslq	4(%rsi,%rdx,4), %rsi
	leaq	(%rcx,%rsi,8), %rcx
	movq	%rcx, 16(%rdi,%rdx,8)
	movq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movslq	8(%rsi,%rdx,4), %rsi
	leaq	(%rcx,%rsi,8), %rcx
	movq	%rcx, 24(%rdi,%rdx,8)
	movq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movslq	12(%rsi,%rdx,4), %rsi
	leaq	(%rcx,%rsi,8), %rcx
	movq	%rcx, 32(%rdi,%rdx,8)
	addq	$4, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_18
## %bb.19:
	leaq	1(%rdx), %rsi
	testq	%rax, %rax
	je	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	movq	16(%r14), %rbx
	movslq	(%rdi,%rdx,4), %rdx
	leaq	(%rcx,%rdx,8), %rcx
	movq	%rcx, (%rbx,%rsi,8)
	movq	%rsi, %rdx
	incq	%rsi
	decq	%rax
	jne	LBB0_21
LBB0_22:
	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_InitClusterAreaCache       ; -- Begin function AAS_InitClusterAreaCache
	.p2align	2
_AAS_InitClusterAreaCache:              ; @AAS_InitClusterAreaCache
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _aasworld@GOTPAGE
Lloh1:
	ldr	x19, [x19, _aasworld@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x19, #8]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_7
LBB0_3:
	mov	w11, #0
	b	LBB0_9
LBB0_4:
	and	x10, x8, #0xfffffff0
	add	x11, x9, #32
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	add.4s	v0, v4, v0
	add.4s	v1, v5, v1
	add.4s	v2, v6, v2
	add.4s	v3, v7, v3
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	add.4s	v0, v1, v0
	add.4s	v0, v2, v0
	add.4s	v0, v3, v0
	addv.4s	s0, v0
	fmov	w11, s0
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #2
	sub	x10, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x9], #4
	add	w11, w12, w11
	subs	x10, x10, #1
	b.ne	LBB0_8
LBB0_9:
	add	w8, w8, w11
	lsl	w0, w8, #3
	bl	_GetClearedMemory
	str	x0, [x19, #16]
	ldr	w10, [x19]
	cmp	w10, #1
	b.lt	LBB0_13
; %bb.10:
	add	x8, x0, x10, lsl #3
	str	x8, [x0]
	cmp	w10, #1
	b.eq	LBB0_13
; %bb.11:
	mov	x9, #0
	sub	x10, x10, #1
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	x11, x12, [x19, #8]
	ldrsw	x11, [x11, x9, lsl #2]
	add	x8, x8, x11, lsl #3
	add	x11, x12, x9, lsl #3
	str	x8, [x11, #8]
	add	x9, x9, #1
	cmp	x10, x9
	b.ne	LBB0_12
LBB0_13:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,24,3                  ; @aasworld
.subsections_via_symbols
