	.file	"extr_be_ai_move.c_BotAddToAvoidReach.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BotAddToAvoidReach
	.type	BotAddToAvoidReach, @function
BotAddToAvoidReach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	eax, DWORD PTR MAX_AVOIDREACH[rip]
	movss	DWORD PTR 12[rsp], xmm0
	test	eax, eax
	jle	.L1
	mov	ebp, esi
	mov	rcx, QWORD PTR [rdi]
	lea	esi, -1[rax]
	mov	r12, rdi
	xor	eax, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rdx, 1[rax]
	cmp	rax, rsi
	je	.L14
	mov	rax, rdx
.L7:
	lea	rbx, 0[0+rax*4]
	cmp	DWORD PTR [rcx+rax*4], ebp
	jne	.L3
	mov	rdx, QWORD PTR 8[r12]
	lea	rbp, 0[0+rax*8]
	mov	r13, QWORD PTR [rdx+rax*8]
	xor	eax, eax
	call	AAS_Time@PLT
	cmp	r13, rax
	jle	.L4
	add	rbx, QWORD PTR 16[r12]
	add	DWORD PTR [rbx], 1
.L5:
	xor	eax, eax
	call	AAS_Time@PLT
	pxor	xmm0, xmm0
	mov	rdx, QWORD PTR 8[r12]
	cvtsi2ss	xmm0, rax
	addss	xmm0, DWORD PTR 12[rsp]
	cvttss2si	rax, xmm0
	mov	QWORD PTR [rdx+rbp], rax
.L1:
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	xor	ebx, ebx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbx, 1
	cmp	DWORD PTR MAX_AVOIDREACH[rip], ebx
	jle	.L1
.L9:
	mov	rax, QWORD PTR 8[r12]
	lea	r14, 0[0+rbx*8]
	mov	r13, QWORD PTR [rax+rbx*8]
	xor	eax, eax
	call	AAS_Time@PLT
	cmp	r13, rax
	jge	.L8
	mov	rax, QWORD PTR [r12]
	mov	DWORD PTR [rax+rbx*4], ebp
	xor	eax, eax
	call	AAS_Time@PLT
	pxor	xmm0, xmm0
	mov	rdx, QWORD PTR 8[r12]
	cvtsi2ss	xmm0, rax
	addss	xmm0, DWORD PTR 12[rsp]
	cvttss2si	rax, xmm0
	mov	QWORD PTR [rdx+r14], rax
	mov	rax, QWORD PTR 16[r12]
	mov	DWORD PTR [rax+rbx*4], 1
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rax, QWORD PTR 16[r12]
	mov	DWORD PTR [rax+rbx], 1
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	BotAddToAvoidReach, .-BotAddToAvoidReach
	.comm	MAX_AVOIDREACH,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_be_ai_move.c_BotAddToAvoidReach.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fadd
	.global	__aeabi_f2iz
	.align	2
	.global	BotAddToAvoidReach
	.syntax unified
	.arm
	.fpu softvfp
	.type	BotAddToAvoidReach, %function
BotAddToAvoidReach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L15
	mov	r6, r0
	ldr	r0, [r8]
	cmp	r0, #0
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
	ldr	ip, [r6]
	mov	r5, r1
	mov	r7, r2
	mov	r3, #0
	sub	ip, ip, #4
	b	.L7
.L3:
	cmp	r3, r0
	beq	.L14
.L7:
	ldr	lr, [ip, #4]!
	lsl	r4, r3, #2
	cmp	lr, r5
	add	r3, r3, #1
	bne	.L3
	ldr	r3, [r6, #4]
	ldr	r5, [r3, r4]
	bl	AAS_Time
	cmp	r5, r0
	movle	r2, #1
	ldrgt	r2, [r6, #8]
	ldrle	r3, [r6, #8]
	ldrgt	r3, [r2, r4]
	strle	r2, [r3, r4]
	addgt	r3, r3, #1
	strgt	r3, [r2, r4]
	bl	AAS_Time
	bl	__aeabi_i2f
	mov	r1, r7
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	ldr	r3, [r6, #4]
	str	r0, [r3, r4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
	mov	r4, #0
	b	.L9
.L8:
	ldr	r3, [r8]
	cmp	r3, r4
	pople	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	ldr	r3, [r6, #4]
	lsl	r10, r4, #2
	ldr	r9, [r3, r4, lsl #2]
	bl	AAS_Time
	cmp	r9, r0
	add	r4, r4, #1
	bge	.L8
	ldr	r3, [r6]
	str	r5, [r3, r10]
	bl	AAS_Time
	bl	__aeabi_i2f
	mov	r1, r7
	bl	__aeabi_fadd
	bl	__aeabi_f2iz
	ldmib	r6, {r1, r3}
	mov	r2, #1
	str	r0, [r1, r10]
	str	r2, [r3, r10]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	.align	2
.L15:
	.word	MAX_AVOIDREACH
	.size	BotAddToAvoidReach, .-BotAddToAvoidReach
	.comm	MAX_AVOIDREACH,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
