	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FloodEntities                  ## -- Begin function FloodEntities
	.p2align	4, 0x90
_FloodEntities:                         ## @FloodEntities
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_qprintf
	movq	_qfalse@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	$0, (%r14)
	movq	_c_floodedleafs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_num_entities@GOTPCREL(%rip), %rax
	cmpl	$2, (%rax)
	jl	LBB0_6
## %bb.1:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	movl	$4, %r12d
	movq	_entities@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %r15
	movq	_vec3_origin@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	addq	%r12, %rdi
	movq	%r15, %rsi
	callq	_GetVectorForKey
	movl	(%r13), %esi
	callq	_VectorCompare
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	_num_entities@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$4, %r12
	cmpq	%rax, %rbx
	jl	LBB0_2
## %bb.5:
	movq	_c_floodedleafs@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_6:
	leaq	L_.str.3(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_qprintf
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.7:
	cmpq	$0, (%r14)
	je	LBB0_8
## %bb.9:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_qprintf
	xorl	%ebx, %ebx
	cmpq	$0, (%r14)
	sete	%bl
	jmp	LBB0_11
LBB0_10:
	leaq	L_.str.4(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_qprintf
	jmp	LBB0_11
LBB0_8:
	movl	$1, %ebx
LBB0_11:
	movq	%rbx, %rax
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rbx, %rdi
	callq	_FloodEntities.cold.1
	xorl	%eax, %eax
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function FloodEntities.cold.1
_FloodEntities.cold.1:                  ## @FloodEntities.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edi, %edi
	movq	_entities@GOTPCREL(%rip), %rax
	shlq	$2, %rdi
	addq	(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_ValueForKey
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"--- FloodEntities ---\n"

	.comm	_qfalse,8,3                     ## @qfalse
	.comm	_c_floodedleafs,8,3             ## @c_floodedleafs
	.comm	_num_entities,4,2               ## @num_entities
	.comm	_entities,8,3                   ## @entities
L_.str.1:                               ## @.str.1
	.asciz	"origin"

	.comm	_vec3_origin,4,2                ## @vec3_origin
L_.str.2:                               ## @.str.2
	.asciz	"classname"

	.comm	_qtrue,8,3                      ## @qtrue
L_.str.3:                               ## @.str.3
	.asciz	"%5i flooded leafs\n"

L_.str.4:                               ## @.str.4
	.asciz	"no entities in open -- no filling\n"

L_.str.5:                               ## @.str.5
	.asciz	"entity reached from outside -- no filling\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_FloodEntities                  ; -- Begin function FloodEntities
	.p2align	2
_FloodEntities:                         ; @FloodEntities
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_qprintf
	mov	x8, #0
Lloh2:
	adrp	x9, _qfalse@GOTPAGE
Lloh3:
	ldr	x9, [x9, _qfalse@GOTPAGEOFF]
Lloh4:
	ldr	x22, [x9]
Lloh5:
	adrp	x23, _c_floodedleafs@GOTPAGE
Lloh6:
	ldr	x23, [x23, _c_floodedleafs@GOTPAGEOFF]
	str	xzr, [x19]
	str	xzr, [x23]
Lloh7:
	adrp	x24, _num_entities@GOTPAGE
Lloh8:
	ldr	x24, [x24, _num_entities@GOTPAGEOFF]
	ldr	w9, [x24]
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.1:
	mov	w20, #1
	mov	w25, #4
Lloh9:
	adrp	x26, _entities@GOTPAGE
Lloh10:
	ldr	x26, [x26, _entities@GOTPAGEOFF]
Lloh11:
	adrp	x27, _vec3_origin@GOTPAGE
Lloh12:
	ldr	x27, [x27, _vec3_origin@GOTPAGEOFF]
Lloh13:
	adrp	x21, l_.str.1@PAGE
Lloh14:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	add	x0, x8, x25
	mov	x1, x21
	bl	_GetVectorForKey
	ldr	w1, [x27]
	bl	_VectorCompare
	cbz	x0, LBB0_11
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x20, x20, #1
	ldrsw	x8, [x24]
	add	x25, x25, #4
	cmp	x20, x8
	b.lt	LBB0_2
; %bb.4:
	ldr	x8, [x23]
LBB0_5:
	str	x8, [sp]
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_qprintf
	cbz	x22, LBB0_8
; %bb.6:
	ldr	x8, [x19]
	cbz	x8, LBB0_9
; %bb.7:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_qprintf
	ldr	x8, [x19]
	cmp	x8, #0
	cset	w0, eq
	b	LBB0_10
LBB0_8:
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_qprintf
	mov	x0, #0
	b	LBB0_10
LBB0_9:
	mov	w0, #1
LBB0_10:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_11:
	mov	x0, x20
	bl	_FloodEntities.cold.1
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function FloodEntities.cold.1
_FloodEntities.cold.1:                  ; @FloodEntities.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh21:
	adrp	x8, _entities@GOTPAGE
Lloh22:
	ldr	x8, [x8, _entities@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	add	x0, x8, w0, uxtw #2
Lloh24:
	adrp	x1, l_.str.2@PAGE
Lloh25:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_ValueForKey
	brk	#0x1
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"--- FloodEntities ---\n"

	.comm	_qfalse,8,3                     ; @qfalse
	.comm	_c_floodedleafs,8,3             ; @c_floodedleafs
	.comm	_num_entities,4,2               ; @num_entities
	.comm	_entities,8,3                   ; @entities
l_.str.1:                               ; @.str.1
	.asciz	"origin"

	.comm	_vec3_origin,4,2                ; @vec3_origin
l_.str.2:                               ; @.str.2
	.asciz	"classname"

	.comm	_qtrue,8,3                      ; @qtrue
l_.str.3:                               ; @.str.3
	.asciz	"%5i flooded leafs\n"

l_.str.4:                               ; @.str.4
	.asciz	"no entities in open -- no filling\n"

l_.str.5:                               ; @.str.5
	.asciz	"entity reached from outside -- no filling\n"

.subsections_via_symbols
