	.file	"extr_g_main.c_G_FindTeams.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%i teams with %i entities\n"
	.text
	.p2align 4
	.globl	G_FindTeams
	.type	G_FindTeams, @function
G_FindTeams:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR g_entities[rip]
	mov	DWORD PTR 12[rsp], 0
	lea	rbp, 40[rax]
	mov	eax, DWORD PTR level[rip]
	cmp	eax, 1
	jle	.L2
	mov	r13d, 1
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	eax, r13d
	jle	.L2
.L6:
	mov	edx, DWORD PTR 36[rbp]
	mov	r15, rbp
	add	r13d, 1
	add	rbp, 40
	test	edx, edx
	je	.L3
	mov	ecx, DWORD PTR -8[rbp]
	test	ecx, ecx
	je	.L3
	mov	edx, DWORD PTR -40[rbp]
	test	DWORD PTR FL_TEAMSLAVE[rip], edx
	jne	.L3
	add	DWORD PTR 12[rsp], 1
	add	r14d, 1
	mov	QWORD PTR -24[rbp], r15
	cmp	eax, r13d
	jle	.L2
	mov	r12d, r13d
	mov	rbx, rbp
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, DWORD PTR 36[rbx]
	test	edx, edx
	je	.L4
	mov	esi, DWORD PTR 32[rbx]
	test	esi, esi
	je	.L4
	mov	edx, DWORD PTR [rbx]
	test	DWORD PTR FL_TEAMSLAVE[rip], edx
	jne	.L4
	mov	edi, DWORD PTR -8[rbp]
	call	strcmp@PLT
	mov	r9d, eax
	mov	eax, DWORD PTR level[rip]
	test	r9d, r9d
	jne	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	rdx, QWORD PTR 8[rbx]
	add	r14d, 1
	mov	QWORD PTR 24[rbx], rax
	mov	eax, DWORD PTR FL_TEAMSLAVE[rip]
	mov	QWORD PTR -16[rbp], rbx
	or	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR level[rip]
	mov	QWORD PTR 16[rbx], r15
	test	rdx, rdx
	je	.L4
	mov	QWORD PTR -32[rbp], rdx
	mov	eax, DWORD PTR level[rip]
	mov	QWORD PTR 8[rbx], 0
	.p2align 4,,10
	.p2align 3
.L4:
	add	r12d, 1
	add	rbx, 40
	cmp	eax, r12d
	jg	.L5
	cmp	eax, r13d
	jg	.L6
.L2:
	mov	esi, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	edx, r14d
	lea	rdi, .LC0[rip]
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	G_Printf@PLT
	.cfi_endproc
.LFE0:
	.size	G_FindTeams, .-G_FindTeams
	.comm	level,4,4
	.comm	g_entities,8,8
	.comm	FL_TEAMSLAVE,4,4
	.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_g_main.c_G_FindTeams.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%i teams with %i entities\012\000"
	.text
	.align	2
	.global	G_FindTeams
	.syntax unified
	.arm
	.fpu softvfp
	.type	G_FindTeams, %function
G_FindTeams:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r8, .L27
	ldr	r2, .L27+4
	ldr	r3, [r8]
	ldr	r5, [r2]
	cmp	r3, #1
	sub	sp, sp, #12
	ble	.L7
	mov	r2, #0
	mov	r7, #1
	mov	fp, r2
	ldr	r9, .L27+8
	add	r5, r5, #24
	b	.L6
.L3:
	cmp	r3, r7
	ble	.L2
.L6:
	ldr	r1, [r5, #20]
	mov	r10, r5
	cmp	r1, #0
	add	r7, r7, #1
	add	r5, r5, #24
	beq	.L3
	ldr	r1, [r5, #-8]
	cmp	r1, #0
	beq	.L3
	ldr	r0, [r5, #-24]
	ldr	r1, [r9]
	tst	r0, r1
	bne	.L3
	cmp	r3, r7
	str	r10, [r5, #-16]
	add	fp, fp, #1
	add	r2, r2, #1
	ble	.L2
	mov	r6, r7
	mov	r4, r5
.L5:
	ldr	r3, [r4, #20]
	add	r6, r6, #1
	cmp	r3, #0
	beq	.L4
	ldr	r1, [r4, #16]
	cmp	r1, #0
	beq	.L4
	ldr	r0, [r4]
	ldr	r3, [r9]
	tst	r0, r3
	bne	.L4
	ldr	r0, [r5, #-8]
	str	r2, [sp, #4]
	bl	strcmp
	cmp	r0, #0
	ldr	r2, [sp, #4]
	bne	.L4
	ldr	r1, [r9]
	ldr	r3, [r4]
	ldr	ip, [r5, #-12]
	orr	r3, r3, r1
	ldr	r1, [r4, #4]
	str	ip, [r4, #12]
	cmp	r1, #0
	str	r4, [r5, #-12]
	add	r2, r2, #1
	str	r10, [r4, #8]
	str	r3, [r4]
	strne	r1, [r5, #-20]
	strne	r0, [r4, #4]
.L4:
	ldr	r3, [r8]
	add	r4, r4, #24
	cmp	r3, r6
	bgt	.L5
	cmp	r3, r7
	bgt	.L6
.L2:
	mov	r1, fp
	ldr	r0, .L27+12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	G_Printf
.L7:
	mov	r2, #0
	mov	fp, r2
	b	.L2
.L28:
	.align	2
.L27:
	.word	level
	.word	g_entities
	.word	FL_TEAMSLAVE
	.word	.LC0
	.size	G_FindTeams, .-G_FindTeams
	.comm	level,4,4
	.comm	g_entities,4,4
	.comm	FL_TEAMSLAVE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
