	.file	"extr_ai_main.c_BotWriteInterbreeded.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BotWriteInterbreeded
	.type	BotWriteInterbreeded, @function
BotWriteInterbreeded:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR MAX_CLIENTS[rip]
	mov	rsi, rdi
	test	eax, eax
	jle	.L1
	movss	xmm2, DWORD PTR .LC1[rip]
	mov	r10, QWORD PTR botstates[rip]
	lea	r11d, -1[rax]
	xor	edx, edx
	mov	r8, -1
	pxor	xmm1, xmm1
	movaps	xmm3, xmm2
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdx, rax
.L6:
	mov	rcx, QWORD PTR [r10+rdx*8]
	movsx	r9, edx
	movaps	xmm0, xmm2
	test	rcx, rcx
	je	.L3
	cmp	QWORD PTR 16[rcx], 0
	movaps	xmm0, xmm3
	je	.L3
	mov	eax, DWORD PTR [rcx]
	pxor	xmm0, xmm0
	add	eax, eax
	sub	eax, DWORD PTR 4[rcx]
	cvtsi2ss	xmm0, eax
.L3:
	comiss	xmm0, xmm1
	maxss	xmm0, xmm1
	lea	rax, 1[rdx]
	cmova	r8, r9
	movaps	xmm1, xmm0
	cmp	r11, rdx
	jne	.L9
	cmp	r8d, -1
	jne	.L16
.L1:
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR [r10+r8*8]
	mov	edi, DWORD PTR 8[rax]
	jmp	trap_BotSaveGoalFuzzyLogic@PLT
	.cfi_endproc
.LFE0:
	.size	BotWriteInterbreeded, .-BotWriteInterbreeded
	.comm	botstates,8,8
	.comm	MAX_CLIENTS,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC1:
	.long	3212836864
	.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_ai_main.c_BotWriteInterbreeded.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fcmpgt
	.align	2
	.global	BotWriteInterbreeded
	.syntax unified
	.arm
	.fpu softvfp
	.type	BotWriteInterbreeded, %function
BotWriteInterbreeded:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L19
	sub	sp, sp, #12
	ldr	r7, [r3]
	str	r0, [sp, #4]
	cmp	r7, #0
	ble	.L1
	ldr	r3, .L19+4
	mvn	r8, #0
	ldr	fp, [r3]
	mov	r4, #0
	mov	r6, #0
	ldr	r9, .L19+8
	sub	r5, fp, #4
	b	.L6
.L17:
	ldm	r3, {r0, r3}
	rsb	r0, r3, r0, lsl #1
	bl	__aeabi_i2f
	mov	r10, r0
.L3:
	mov	r1, r6
	mov	r0, r10
	bl	__aeabi_fcmpgt
	cmp	r0, #0
	movne	r8, r4
	add	r4, r4, #1
	movne	r6, r10
	cmp	r4, r7
	beq	.L16
.L6:
	ldr	r3, [r5, #4]!
	cmp	r3, #0
	beq	.L8
	ldr	r2, [r3, #12]
	cmp	r2, #0
	bne	.L17
.L8:
	mov	r10, r9
	b	.L3
.L16:
	cmn	r8, #1
	bne	.L18
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	ldr	r3, [fp, r8, lsl #2]
	ldr	r1, [sp, #4]
	ldr	r0, [r3, #8]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	trap_BotSaveGoalFuzzyLogic
.L20:
	.align	2
.L19:
	.word	MAX_CLIENTS
	.word	botstates
	.word	-1082130432
	.size	BotWriteInterbreeded, .-BotWriteInterbreeded
	.comm	botstates,4,4
	.comm	MAX_CLIENTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
