	.file	"extr_ai_cmd.c_BotGetTime.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	BotGetTime
	.type	BotGetTime, @function
BotGetTime:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	sub	rsp, 56
	.cfi_offset 12, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR MAX_MESSAGE_SIZE[rip]
	mov	rsi, rsp
	mov	rcx, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L26:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L26
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L27
.L4:
	mov	eax, DWORD PTR [rdi]
	test	DWORD PTR ST_TIME[rip], eax
	jne	.L5
.L24:
	pxor	xmm0, xmm0
.L1:
	mov	rax, QWORD PTR -24[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L28
	mov	r12, QWORD PTR -8[rbp]
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	esi, DWORD PTR TIME[rip]
	mov	rdx, rsp
	lea	r12, -48[rbp]
	call	trap_BotMatchVariable@PLT
	mov	edx, DWORD PTR MTCONTEXT_TIME[rip]
	mov	rsi, r12
	mov	rdi, rsp
	call	trap_BotFindMatch@PLT
	test	rax, rax
	je	.L24
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR MSG_FOREVER[rip]
	je	.L13
	cmp	rax, QWORD PTR MSG_FORAWHILE[rip]
	je	.L14
	cmp	rax, QWORD PTR MSG_FORALONGTIME[rip]
	movss	xmm1, DWORD PTR .LC1[rip]
	je	.L8
	mov	ecx, DWORD PTR MAX_MESSAGE_SIZE[rip]
	mov	esi, DWORD PTR TIME[rip]
	mov	rdx, rsp
	mov	rdi, r12
	call	trap_BotMatchVariable@PLT
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR MSG_MINUTES[rip]
	je	.L29
	cmp	rax, QWORD PTR MSG_SECONDS[rip]
	pxor	xmm0, xmm0
	jne	.L1
	mov	rdi, rsp
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
.L10:
	pxor	xmm0, xmm0
	comiss	xmm1, xmm0
	jbe	.L1
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L27:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L13:
	movss	xmm1, DWORD PTR .LC2[rip]
.L8:
	xor	eax, eax
	movss	DWORD PTR -52[rbp], xmm1
	call	FloatTime@PLT
	movss	xmm1, DWORD PTR -52[rbp]
	addss	xmm0, xmm1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	movss	xmm1, DWORD PTR .LC0[rip]
	jmp	.L8
.L29:
	mov	rdi, rsp
	call	atof@PLT
	pxor	xmm1, xmm1
	imul	eax, eax, 60
	cvtsi2ss	xmm1, eax
	jmp	.L10
.L28:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	BotGetTime, .-BotGetTime
	.comm	TIME,4,4
	.comm	ST_TIME,4,4
	.comm	MTCONTEXT_TIME,4,4
	.comm	MSG_SECONDS,8,8
	.comm	MSG_MINUTES,8,8
	.comm	MSG_FOREVER,8,8
	.comm	MSG_FORAWHILE,8,8
	.comm	MSG_FORALONGTIME,8,8
	.comm	MAX_MESSAGE_SIZE,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1142292480
	.align 4
.LC1:
	.long	1155596288
	.align 4
.LC2:
	.long	1287568416
	.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_cmd.c_BotGetTime.c"
	.text
	.global	__aeabi_i2f
	.global	__aeabi_fcmpgt
	.global	__aeabi_fadd
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	BotGetTime
	.syntax unified
	.arm
	.fpu softvfp
	.type	BotGetTime, %function
BotGetTime:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	ldr	r2, .L20
	ldr	r4, .L20+4
	ldr	r1, [r2]
	ldr	r3, [r4]
	ldr	ip, [r0]
	add	r2, r3, #7
	tst	ip, r1
	ldr	r1, .L20+8
	bic	r2, r2, #7
	ldr	r1, [r1]
	str	r1, [fp, #-16]
	mov	r1,#0
	sub	sp, sp, r2
	bne	.L2
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L20+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L2:
	ldr	r5, .L20+12
	mov	r2, sp
	ldr	r1, [r5]
	bl	trap_BotMatchVariable
	ldr	r3, .L20+16
	mov	r0, sp
	ldr	r2, [r3]
	sub	r1, fp, #24
	bl	trap_BotFindMatch
	cmp	r0, #0
	beq	.L4
	ldr	r2, .L20+20
	ldr	r3, [fp, #-20]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L10
	ldr	r2, .L20+24
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L11
	ldr	r2, .L20+28
	ldr	r2, [r2]
	cmp	r3, r2
	ldreq	r4, .L20+32
	beq	.L5
	mov	r2, sp
	ldr	r3, [r4]
	ldr	r1, [r5]
	sub	r0, fp, #24
	bl	trap_BotMatchVariable
	ldr	r2, .L20+36
	ldr	r3, [fp, #-20]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L19
	ldr	r2, .L20+40
	ldr	r2, [r2]
	cmp	r3, r2
	bne	.L4
	mov	r0, sp
	bl	atof
	bl	__aeabi_i2f
	mov	r4, r0
.L7:
	mov	r1, #0
	mov	r0, r4
	bl	__aeabi_fcmpgt
	cmp	r0, #0
	beq	.L4
	b	.L5
.L10:
	ldr	r4, .L20+44
.L5:
	bl	FloatTime
	mov	r1, r4
	bl	__aeabi_fadd
	b	.L1
.L11:
	ldr	r4, .L20+48
	b	.L5
.L19:
	mov	r0, sp
	bl	atof
	rsb	r0, r0, r0, lsl #4
	lsl	r0, r0, #2
	bl	__aeabi_i2f
	mov	r4, r0
	b	.L7
.L18:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	ST_TIME
	.word	MAX_MESSAGE_SIZE
	.word	.LC0
	.word	TIME
	.word	MTCONTEXT_TIME
	.word	MSG_FOREVER
	.word	MSG_FORAWHILE
	.word	MSG_FORALONGTIME
	.word	1155596288
	.word	MSG_MINUTES
	.word	MSG_SECONDS
	.word	1287568416
	.word	1142292480
	.size	BotGetTime, .-BotGetTime
	.comm	TIME,4,4
	.comm	ST_TIME,4,4
	.comm	MTCONTEXT_TIME,4,4
	.comm	MSG_SECONDS,4,4
	.comm	MSG_MINUTES,4,4
	.comm	MSG_FOREVER,4,4
	.comm	MSG_FORAWHILE,4,4
	.comm	MSG_FORALONGTIME,4,4
	.comm	MAX_MESSAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
