	.file	"extr_portals.c_FloodPortals.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	FloodPortals
	.type	FloodPortals, @function
FloodPortals:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	DWORD PTR [rdi], 1
	call	P_AddNodeToList@PLT
	xor	eax, eax
	call	P_NextNodeFromList@PLT
	test	rax, rax
	je	.L1
	mov	r12, rax
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rbx, QWORD PTR 8[r12]
	test	rbx, rbx
	je	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [rbx]
	mov	r13d, 0
	mov	rdx, QWORD PTR 8[rax]
	cmp	rdx, r12
	sete	bpl
	je	.L5
	add	rax, 8
	mov	r13d, 8
.L5:
	mov	rax, QWORD PTR [rax]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L7
	movzx	esi, bpl
	mov	rdi, rbx
	call	Portal_EntityFlood@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR [rbx]
	mov	rdi, QWORD PTR [rax+r13]
	mov	eax, DWORD PTR [r12]
	add	eax, 1
	mov	DWORD PTR [rdi], eax
	call	P_AddNodeToList@PLT
.L7:
	mov	rax, QWORD PTR 8[rbx]
	movzx	ebp, bpl
	mov	rbx, QWORD PTR [rax+rbp*8]
	test	rbx, rbx
	jne	.L3
.L9:
	xor	eax, eax
	call	P_NextNodeFromList@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L2
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	FloodPortals, .-FloodPortals
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_portals.c_FloodPortals.c"
	.text
	.align	2
	.global	FloodPortals
	.syntax unified
	.arm
	.fpu softvfp
	.type	FloodPortals, %function
FloodPortals:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #1
	push	{r4, r5, r6, r7, r8, lr}
	str	r3, [r0]
	bl	P_AddNodeToList
.L21:
	bl	P_NextNodeFromList
	subs	r6, r0, #0
	popeq	{r4, r5, r6, r7, r8, pc}
	ldr	r4, [r6, #4]
	cmp	r4, #0
	beq	.L21
.L3:
	ldr	r3, [r4]
	ldr	r2, [r3, #4]
	cmp	r2, r6
	addne	r3, r3, #4
	ldr	r3, [r3]
	moveq	r5, #1
	ldr	r3, [r3]
	movne	r5, #0
	movne	r7, #4
	moveq	r7, #0
	cmp	r3, #0
	bne	.L7
	mov	r1, r5
	mov	r0, r4
	bl	Portal_EntityFlood
	cmp	r0, #0
	beq	.L7
	ldr	r2, [r4]
	ldr	r3, [r6]
	ldr	r0, [r2, r7]
	add	r3, r3, #1
	str	r3, [r0]
	bl	P_AddNodeToList
.L7:
	ldr	r3, [r4, #4]
	ldr	r4, [r3, r5, lsl #2]
	cmp	r4, #0
	bne	.L3
	b	.L21
	.size	FloodPortals, .-FloodPortals
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
