	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FloodClusterAreasUsingReachabilities ## -- Begin function AAS_FloodClusterAreasUsingReachabilities
	.p2align	4, 0x90
_AAS_FloodClusterAreasUsingReachabilities: ## @AAS_FloodClusterAreasUsingReachabilities
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_aasworld@GOTPCREL(%rip), %r13
	movl	(%r13), %r8d
	movq	_qtrue@GOTPCREL(%rip), %r15
	cmpl	$2, %r8d
	jl	LBB0_13
## %bb.1:
	movl	%edi, %r14d
	movl	$1, %edi
	movq	_AREACONTENTS_CLUSTERPORTAL@GOTPCREL(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%edi
	cmpl	%r8d, %edi
	jge	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	8(%r13), %rcx
	movslq	%edi, %rax
	leaq	(%rax,%rax,2), %rax
	cmpq	$0, 16(%rcx,%rax,8)
	jne	LBB0_12
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %edx
	testl	%edx, (%rcx,%rax,8)
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%rcx,%rax,8), %r9d
	testl	%r9d, %r9d
	jle	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	8(%rcx,%rax,8), %rbx
	shlq	$2, %rbx
	addq	16(%r13), %rbx
	xorl	%eax, %eax
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%rax
	cmpq	%rax, %r9
	je	LBB0_12
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rbx,%rax,4), %rsi
	leaq	(%rsi,%rsi,2), %rsi
	testl	%edx, (%rcx,%rsi,8)
	jne	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpq	$0, 16(%rcx,%rsi,8)
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %esi
	callq	_AAS_FloodClusterAreas_r
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %r8d
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_9:
	movq	_qfalse@GOTPCREL(%rip), %r15
LBB0_13:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_aasworld,24,3                  ## @aasworld
	.comm	_AREACONTENTS_CLUSTERPORTAL,4,2 ## @AREACONTENTS_CLUSTERPORTAL
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_qtrue,4,2                      ## @qtrue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_FloodClusterAreasUsingReachabilities ; -- Begin function AAS_FloodClusterAreasUsingReachabilities
	.p2align	2
_AAS_FloodClusterAreasUsingReachabilities: ; @AAS_FloodClusterAreasUsingReachabilities
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x21, _aasworld@GOTPAGE
Lloh1:
	ldr	x21, [x21, _aasworld@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #2
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w0, #1
	mov	w22, #24
Lloh2:
	adrp	x24, _AREACONTENTS_CLUSTERPORTAL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _AREACONTENTS_CLUSTERPORTAL@GOTPAGEOFF]
Lloh4:
	adrp	x20, _qfalse@GOTPAGE
Lloh5:
	ldr	x20, [x20, _qfalse@GOTPAGEOFF]
Lloh6:
	adrp	x23, _qtrue@GOTPAGE
Lloh7:
	ldr	x23, [x23, _qtrue@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
Lloh8:
	adrp	x20, _qtrue@GOTPAGE
Lloh9:
	ldr	x20, [x20, _qtrue@GOTPAGEOFF]
	b	LBB0_14
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #0
	ldr	w8, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w0, w0, #1
	cmp	w0, w8
	b.ge	LBB0_13
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x9, [x21, #8]
	smaddl	x10, w0, w22, x9
	ldr	x10, [x10, #16]
	cbnz	x10, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sxtw	x12, w0
	mul	x10, x12, x22
	ldr	w11, [x9, x10]
	ldr	w10, [x24]
	tst	w10, w11
	b.ne	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	madd	x11, x12, x22, x9
	ldr	w11, [x11, #4]
	cmp	w11, #1
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x13, [x21, #16]
	madd	x12, x12, x22, x9
	ldrsw	x12, [x12, #8]
	add	x12, x13, x12, lsl #2
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x12, x12, #4
	subs	x11, x11, #1
	b.eq	LBB0_4
LBB0_10:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x13, [x12]
	mul	x14, x13, x22
	ldr	w14, [x9, x14]
	tst	w14, w10
	b.ne	LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	madd	x13, x13, x22, x9
	ldr	x13, [x13, #16]
	cbz	x13, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0
	mov	x1, x19
	bl	_AAS_FloodClusterAreas_r
	cbnz	w0, LBB0_3
	b	LBB0_14
LBB0_13:
	mov	x20, x23
LBB0_14:
	ldr	w0, [x20]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_aasworld,24,3                  ; @aasworld
	.comm	_AREACONTENTS_CLUSTERPORTAL,4,2 ; @AREACONTENTS_CLUSTERPORTAL
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_qtrue,4,2                      ; @qtrue
.subsections_via_symbols
