	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FreeOldestCache            ## -- Begin function AAS_FreeOldestCache
	.p2align	4, 0x90
_AAS_FreeOldestCache:                   ## @AAS_FreeOldestCache
	.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
	movq	24(%r14), %rbx
	movq	_qfalse@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.1:
	movq	_CACHETYPE_AREA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	16(%r14), %rdx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rcx, (%rbx)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rsi
	cmpq	$0, (%rdx,%rsi,8)
	jns	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
	jmp	LBB0_15
LBB0_8:
	movq	24(%rbx), %rax
	movq	32(%rbx), %rcx
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rcx, (%rax)
	testq	%rcx, %rcx
	jne	LBB0_13
	jmp	LBB0_14
LBB0_5:
	movq	16(%rbx), %rdi
	callq	_AAS_ClusterAreaNum
	movq	24(%rbx), %rdx
	movq	32(%rbx), %rcx
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.6:
	movq	%rcx, (%rdx)
	testq	%rcx, %rcx
	jne	LBB0_13
	jmp	LBB0_14
LBB0_10:
	movq	(%r14), %rax
	movq	8(%rbx), %rdx
	movq	%rcx, (%rax,%rdx,8)
	jmp	LBB0_11
LBB0_7:
	movq	8(%r14), %rdx
	movq	16(%rbx), %rsi
	movq	(%rdx,%rsi,8), %rdx
	cltq
	movq	%rcx, (%rdx,%rax,8)
LBB0_11:
	movq	32(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_14
LBB0_13:
	leaq	24(%rbx), %rax
	movq	(%rax), %rax
	movq	%rax, (%rcx)
LBB0_14:
	movq	%rbx, %rdi
	callq	_AAS_FreeRoutingCache
	movq	_qtrue@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,32,3                  ## @aasworld
	.comm	_CACHETYPE_AREA,8,3             ## @CACHETYPE_AREA
	.comm	_qtrue,4,2                      ## @qtrue
	.comm	_qfalse,4,2                     ## @qfalse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FreeOldestCache            ; -- Begin function AAS_FreeOldestCache
	.p2align	2
_AAS_FreeOldestCache:                   ; @AAS_FreeOldestCache
	.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	x20, _aasworld@GOTPAGE
Lloh1:
	ldr	x20, [x20, _aasworld@GOTPAGEOFF]
	ldr	x19, [x20, #24]
	cbz	x19, LBB0_5
; %bb.1:
Lloh2:
	adrp	x8, _CACHETYPE_AREA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CACHETYPE_AREA@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x8]
	ldr	x10, [x20, #16]
Lloh5:
	adrp	x8, _qfalse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19]
	cmp	x11, x9
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x1, [x19, #8]
	ldr	x11, [x10, x1, lsl #3]
	tbz	x11, #63, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x19, [x19, #40]
	cbnz	x19, LBB0_2
	b	LBB0_12
LBB0_5:
Lloh7:
	adrp	x8, _qfalse@GOTPAGE
Lloh8:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
	b	LBB0_12
LBB0_6:
	mov	x8, x19
	ldp	x10, x9, [x8, #24]!
	cbnz	x10, LBB0_9
; %bb.7:
	ldr	x10, [x20]
	ldr	x11, [x19, #8]
	str	x9, [x10, x11, lsl #3]
	ldr	x9, [x19, #32]
	cbnz	x9, LBB0_10
	b	LBB0_11
LBB0_8:
	ldr	x0, [x19, #16]
	bl	_AAS_ClusterAreaNum
	mov	x8, x19
	ldp	x10, x9, [x8, #24]!
	cbz	x10, LBB0_13
LBB0_9:
	str	x9, [x10]
	cbz	x9, LBB0_11
LBB0_10:
	ldr	x8, [x8]
	str	x8, [x9]
LBB0_11:
	mov	x0, x19
	bl	_AAS_FreeRoutingCache
Lloh9:
	adrp	x8, _qtrue@GOTPAGE
Lloh10:
	ldr	x8, [x8, _qtrue@GOTPAGEOFF]
LBB0_12:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_13:
	ldr	x10, [x20, #8]
	ldr	x11, [x19, #16]
	ldr	x10, [x10, x11, lsl #3]
	str	x9, [x10, w0, sxtw #3]
	ldr	x9, [x19, #32]
	cbnz	x9, LBB0_10
	b	LBB0_11
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,32,3                  ; @aasworld
	.comm	_CACHETYPE_AREA,8,3             ; @CACHETYPE_AREA
	.comm	_qtrue,4,2                      ; @qtrue
	.comm	_qfalse,4,2                     ; @qfalse
.subsections_via_symbols
