	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AAS_AltRoutingFloodCluster_r   ## -- Begin function AAS_AltRoutingFloodCluster_r
	.p2align	4, 0x90
_AAS_AltRoutingFloodCluster_r:          ## @AAS_AltRoutingFloodCluster_r
	.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	_clusterareas@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_numclusterareas@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movl	%edi, (%rax,%rdx,4)
	incq	%rdx
	movq	%rdx, (%rcx)
	movq	_qfalse@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_midrangeareas@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edi, %r13
	movl	%eax, (%rcx,%r13,4)
	movq	_aasworld@GOTPCREL(%rip), %r15
	movq	16(%r15), %r12
	cmpl	$0, (%r12,%r13,8)
	jle	LBB0_8
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	cmpl	(%r12,%r13,8), %ebx
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movq	8(%r15), %r14
	movslq	4(%r12,%r13,8), %rcx
	addq	%rbx, %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_abs
	movl	(%r14,%rax,8), %edi
	cmpl	%r13d, %edi
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r14,%rax,8), %edi
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%edi, %edi
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_midrangeareas@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	cmpl	$0, (%rax,%rcx,4)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_AAS_AltRoutingFloodCluster_r
	jmp	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_clusterareas,8,3               ## @clusterareas
	.comm	_numclusterareas,8,3            ## @numclusterareas
	.comm	_qfalse,4,2                     ## @qfalse
	.comm	_midrangeareas,8,3              ## @midrangeareas
	.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_AltRoutingFloodCluster_r   ; -- Begin function AAS_AltRoutingFloodCluster_r
	.p2align	2
_AAS_AltRoutingFloodCluster_r:          ; @AAS_AltRoutingFloodCluster_r
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
Lloh0:
	adrp	x8, _clusterareas@GOTPAGE
Lloh1:
	ldr	x8, [x8, _clusterareas@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _numclusterareas@GOTPAGE
Lloh4:
	ldr	x9, [x9, _numclusterareas@GOTPAGEOFF]
	ldr	x10, [x9]
	str	w0, [x8, x10, lsl #2]
	add	x8, x10, #1
	str	x8, [x9]
Lloh5:
	adrp	x8, _qfalse@GOTPAGE
Lloh6:
	ldr	x8, [x8, _qfalse@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x20, _midrangeareas@GOTPAGE
Lloh9:
	ldr	x20, [x20, _midrangeareas@GOTPAGEOFF]
	ldr	x9, [x20]
	str	w8, [x9, w0, sxtw #2]
Lloh10:
	adrp	x21, _aasworld@GOTPAGE
Lloh11:
	ldr	x21, [x21, _aasworld@GOTPAGEOFF]
	ldr	x8, [x21, #16]
	add	x22, x8, w0, sxtw #3
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x0
	mov	x23, #0
	sxtw	x9, w19
	add	x8, x8, x9, lsl #3
	add	x24, x8, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x22]
	add	x23, x23, #1
	cmp	w23, w8
	b.ge	LBB0_8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x25, [x21]
	ldrsw	x9, [x24]
	add	x9, x23, x9
	ldr	w0, [x8, x9, lsl #2]
	bl	_abs
	mov	x8, x0
	lsl	x9, x0, #3
	ldr	w0, [x25, x9]
	cmp	w0, w19
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x8, x25, x8, lsl #3
	ldr	w0, [x8, #4]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x20]
	ldr	w8, [x8, w0, sxtw #2]
	cbz	w8, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_AAS_AltRoutingFloodCluster_r
	b	LBB0_2
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_clusterareas,8,3               ; @clusterareas
	.comm	_numclusterareas,8,3            ; @numclusterareas
	.comm	_qfalse,4,2                     ; @qfalse
	.comm	_midrangeareas,8,3              ; @midrangeareas
	.comm	_aasworld,24,3                  ; @aasworld
.subsections_via_symbols
