	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_FloodArea_r                 ## -- Begin function CM_FloodArea_r
	.p2align	4, 0x90
_CM_FloodArea_r:                        ## @CM_FloodArea_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
	movl	%esi, %r15d
	movl	%edi, %r14d
	movq	_cm@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	24(%r12), %r13
	movslq	%edi, %rbx
	shlq	$4, %rbx
	cmpq	%rax, (%r13,%rbx)
	jne	LBB0_3
## %bb.1:
	cmpl	%r15d, 8(%r13,%rbx)
	je	LBB0_8
## %bb.2:
	movq	_ERR_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_Com_Error
	movq	(%r12), %rax
LBB0_3:
	leaq	(%rbx,%r13), %rcx
	movl	%r15d, 8(%r13,%rbx)
	movq	%rax, (%rcx)
	movl	16(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_8
## %bb.4:
	imull	%eax, %r14d
	movslq	%r14d, %r14
	shlq	$2, %r14
	addq	8(%r12), %r14
	xorl	%ebx, %ebx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_8
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%r14,%rbx,4)
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
	movl	%r15d, %esi
	callq	_CM_FloodArea_r
	movl	16(%r12), %eax
	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	_cm,32,3                        ## @cm
	.comm	_ERR_DROP,4,2                   ## @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FloodArea_r: reflooded"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CM_FloodArea_r                 ; -- Begin function CM_FloodArea_r
	.p2align	2
_CM_FloodArea_r:                        ; @CM_FloodArea_r
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x22, _cm@GOTPAGE
Lloh1:
	ldr	x22, [x22, _cm@GOTPAGEOFF]
	ldr	x21, [x22, #24]
	sxtw	x24, w20
	add	x23, x21, w0, sxtw #4
	ldr	x9, [x23]
	ldr	x8, [x22]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.1:
	add	x8, x21, x24, lsl #4
	ldr	w8, [x8, #8]
	cmp	w8, w19
	b.eq	LBB0_8
; %bb.2:
Lloh2:
	adrp	x8, _ERR_DROP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERR_DROP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_Com_Error
	ldr	x8, [x22]
LBB0_3:
	add	x9, x21, x24, lsl #4
	str	w19, [x9, #8]
	str	x8, [x23]
	ldr	w8, [x22, #16]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.4:
	mov	x21, #0
	ldr	x9, [x22, #8]
	mul	w10, w8, w20
	add	x20, x9, w10, sxtw #2
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	x21, x21, #1
	cmp	x21, w8, sxtw
	b.ge	LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x20, x21, lsl #2]
	cmp	w9, #1
	b.lt	LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_CM_FloodArea_r
	ldr	w8, [x22, #16]
	b	LBB0_5
LBB0_8:
	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 AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_cm,32,3                        ; @cm
	.comm	_ERR_DROP,4,2                   ; @ERR_DROP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FloodArea_r: reflooded"

.subsections_via_symbols
