	.file	"352834.c"
	.intel_syntax noprefix
	.text
	.globl	buffer_tx
	.bss
	.align 8
	.type	buffer_tx, @object
	.size	buffer_tx, 8
buffer_tx:
	.zero	8
	.globl	buffer_rx
	.align 8
	.type	buffer_rx, @object
	.size	buffer_rx, 8
buffer_rx:
	.zero	8
	.globl	timer
	.align 8
	.type	timer, @object
	.size	timer, 8
timer:
	.zero	8
	.globl	horarioLocal
	.align 8
	.type	horarioLocal, @object
	.size	horarioLocal, 8
horarioLocal:
	.zero	8
	.globl	dia
	.align 4
	.type	dia, @object
	.size	dia, 4
dia:
	.zero	4
	.globl	mes
	.align 4
	.type	mes, @object
	.size	mes, 4
mes:
	.zero	4
	.globl	ano
	.align 4
	.type	ano, @object
	.size	ano, 4
ano:
	.zero	4
	.globl	hora
	.align 4
	.type	hora, @object
	.size	hora, 4
hora:
	.zero	4
	.globl	min
	.align 4
	.type	min, @object
	.size	min, 4
min:
	.zero	4
	.globl	sec
	.align 4
	.type	sec, @object
	.size	sec, 4
sec:
	.zero	4
	.globl	msg_receive
	.align 2
	.type	msg_receive, @object
	.size	msg_receive, 2
msg_receive:
	.zero	2
	.globl	nbytes
	.align 2
	.type	nbytes, @object
	.size	nbytes, 2
nbytes:
	.zero	2
	.globl	running
	.data
	.align 2
	.type	running, @object
	.size	running, 2
running:
	.value	1
	.globl	nwrite
	.bss
	.align 2
	.type	nwrite, @object
	.size	nwrite, 2
nwrite:
	.zero	2
	.globl	nread
	.align 2
	.type	nread, @object
	.size	nread, 2
nread:
	.zero	2
	.globl	thread_id
	.align 8
	.type	thread_id, @object
	.size	thread_id, 8
thread_id:
	.zero	8
	.globl	portname
	.section	.rodata
.LC0:
	.string	"/dev/ttyACM0"
	.section	.data.rel.local,"aw"
	.align 8
	.type	portname, @object
	.size	portname, 8
portname:
	.quad	.LC0
	.globl	handle
	.bss
	.align 4
	.type	handle, @object
	.size	handle, 4
handle:
	.zero	4
	.globl	n
	.data
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.long	8
	.globl	anomalias
	.bss
	.align 2
	.type	anomalias, @object
	.size	anomalias, 2
anomalias:
	.zero	2
	.text
	.globl	signal_Handler
	.type	signal_Handler, @function
signal_Handler:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], 2
	je	.L2
	cmp	DWORD PTR -20[rbp], 15
	je	.L3
	jmp	.L5
.L2:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L5
.L3:
	mov	DWORD PTR -4[rbp], 1
	nop
.L5:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L7
	mov	WORD PTR running[rip], 0
.L7:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	signal_Handler, .-signal_Handler
	.globl	uart_msg_receive
	.type	uart_msg_receive, @function
uart_msg_receive:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L9
.L13:
	mov	DWORD PTR n[rip], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR n[rip]
	cdqe
	lea	rdx, buffer_rx[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR handle[rip]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	WORD PTR nread[rip], ax
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
.L10:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 7
	jle	.L11
	mov	WORD PTR msg_receive[rip], 1
	mov	edi, 1000
	call	usleep@PLT
	nop
.L12:
	movzx	eax, WORD PTR msg_receive[rip]
	test	ax, ax
	jne	.L12
.L9:
	movzx	eax, WORD PTR running[rip]
	test	ax, ax
	jne	.L13
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	uart_msg_receive, .-uart_msg_receive
	.section	.rodata
.LC1:
	.string	"Error from tcgetattr: %s\n"
.LC2:
	.string	"Error from tcsetattr: %s\n"
	.text
	.globl	set_interface_attribs
	.type	set_interface_attribs, @function
set_interface_attribs:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	test	eax, eax
	jns	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L18
.L15:
	mov	edx, DWORD PTR -88[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetospeed@PLT
	mov	edx, DWORD PTR -88[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetispeed@PLT
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 2176
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, -49
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 48
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	ah, -2
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, -65
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	eax, 2147483647
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	and	eax, -1516
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	and	eax, -32844
	mov	DWORD PTR -68[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	and	eax, -2
	mov	DWORD PTR -76[rbp], eax
	mov	BYTE PTR -57[rbp], 1
	mov	BYTE PTR -58[rbp], 1
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	test	eax, eax
	je	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L18
.L17:
	mov	eax, 0
.L18:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	set_interface_attribs, .-set_interface_attribs
	.section	.rodata
.LC3:
	.string	"Error tcgetattr: %s\n"
.LC4:
	.string	"Error tcsetattr: %s\n"
	.text
	.globl	set_mincount
	.type	set_mincount, @function
set_mincount:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	DWORD PTR -84[rbp], edi
	mov	DWORD PTR -88[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	test	eax, eax
	jns	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L20
.L21:
	cmp	DWORD PTR -88[rbp], 0
	setne	al
	mov	BYTE PTR -57[rbp], al
	mov	BYTE PTR -58[rbp], 5
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	test	eax, eax
	jns	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
.L20:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	set_mincount, .-set_mincount
	.globl	update_time
	.type	update_time, @function
update_time:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, timer[rip]
	call	time@PLT
	lea	rdi, timer[rip]
	call	localtime@PLT
	mov	QWORD PTR horarioLocal[rip], rax
	mov	rax, QWORD PTR horarioLocal[rip]
	mov	eax, DWORD PTR 12[rax]
	mov	DWORD PTR dia[rip], eax
	mov	rax, QWORD PTR horarioLocal[rip]
	mov	eax, DWORD PTR 16[rax]
	add	eax, 1
	mov	DWORD PTR mes[rip], eax
	mov	rax, QWORD PTR horarioLocal[rip]
	mov	eax, DWORD PTR 20[rax]
	add	eax, 1900
	mov	DWORD PTR ano[rip], eax
	mov	rax, QWORD PTR horarioLocal[rip]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR hora[rip], eax
	mov	rax, QWORD PTR horarioLocal[rip]
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR min[rip], eax
	mov	rax, QWORD PTR horarioLocal[rip]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR sec[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	update_time, .-update_time
	.section	.rodata
.LC6:
	.string	"Error opening %s: %s\n"
.LC7:
	.string	"\nErro thread"
.LC12:
	.string	"a"
.LC13:
	.string	"dataloger_1.csv"
.LC14:
	.string	"\nErro dataloger\n!"
	.align 8
.LC15:
	.string	"%d,%d,%d,%d,%d,%d,%.2f,%.2f,%.2f,%.2f\n"
	.align 8
.LC16:
	.string	"v,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f\n"
.LC17:
	.string	"dataloger_2.csv"
.LC18:
	.string	"\nErro fft dataloger\n!"
	.align 8
.LC19:
	.string	"i,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f\n"
.LC20:
	.string	"dataloger_0.csv"
.LC21:
	.string	"%d,%d,%d,%d,%d,%d,%d,%.3f\n"
.LC22:
	.string	"\nStop program"
	.text
	.globl	main
	.type	main, @function
main:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1104
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -9200[rbp], 0
	mov	DWORD PTR -9196[rbp], 0
	mov	BYTE PTR -9203[rbp], 0
	mov	BYTE PTR -9202[rbp], 0
	mov	BYTE PTR -9201[rbp], 1
	pxor	xmm0, xmm0
	movss	DWORD PTR -9192[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -9188[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -9184[rbp], xmm0
	pxor	xmm0, xmm0
	movss	DWORD PTR -9180[rbp], xmm0
	mov	rax, QWORD PTR portname[rip]
	mov	esi, 1052930
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR handle[rip], eax
	mov	eax, DWORD PTR handle[rip]
	test	eax, eax
	jns	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR portname[rip]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L72
.L27:
	mov	eax, DWORD PTR handle[rip]
	mov	esi, 4098
	mov	edi, eax
	call	set_interface_attribs
	mov	ecx, 0
	lea	rdx, uart_msg_receive[rip]
	mov	esi, 0
	lea	rdi, thread_id[rip]
	call	pthread_create@PLT
	test	eax, eax
	je	.L29
	lea	rdi, .LC7[rip]
	call	puts@PLT
.L29:
	mov	DWORD PTR -9200[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -9200[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR -8720[rbp+rax*4], xmm0
	add	DWORD PTR -9200[rbp], 1
.L30:
	cmp	DWORD PTR -9200[rbp], 2047
	jbe	.L31
	lea	rsi, signal_Handler[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, signal_Handler[rip]
	mov	edi, 15
	call	signal@PLT
	mov	edi, 0
	call	time@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	BYTE PTR buffer_tx[rip], -16
	mov	BYTE PTR buffer_tx[rip+1], 1
	mov	eax, DWORD PTR handle[rip]
	mov	edx, 8
	lea	rsi, buffer_tx[rip]
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR nwrite[rip], ax
	mov	eax, DWORD PTR handle[rip]
	mov	edi, eax
	call	tcdrain@PLT
	jmp	.L32
.L71:
	movzx	eax, WORD PTR msg_receive[rip]
	test	ax, ax
	je	.L33
	movzx	eax, BYTE PTR buffer_rx[rip]
	sar	al, 4
	cmp	al, 1
	jne	.L34
	movzx	eax, BYTE PTR buffer_rx[rip]
	movsx	eax, al
	sal	eax, 8
	and	eax, 1792
	mov	edx, eax
	movzx	eax, BYTE PTR buffer_rx[rip+1]
	movsx	eax, al
	movzx	eax, al
	or	eax, edx
	mov	DWORD PTR -9200[rbp], eax
	mov	BYTE PTR -9203[rbp], 2
	jmp	.L35
.L39:
	cmp	DWORD PTR -9200[rbp], 2047
	ja	.L36
	movzx	eax, BYTE PTR -9203[rbp]
	cdqe
	lea	rdx, buffer_rx[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jns	.L37
	movzx	eax, BYTE PTR -9203[rbp]
	cdqe
	lea	rdx, buffer_rx[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	xor	al, -1
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -9200[rbp]
	movss	DWORD PTR -8720[rbp+rax*4], xmm0
	jmp	.L38
.L37:
	movzx	eax, BYTE PTR -9203[rbp]
	cdqe
	lea	rdx, buffer_rx[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	mov	eax, DWORD PTR -9200[rbp]
	movss	DWORD PTR -8720[rbp+rax*4], xmm0
.L38:
	add	DWORD PTR -9200[rbp], 1
.L36:
	movzx	eax, BYTE PTR -9203[rbp]
	add	eax, 1
	mov	BYTE PTR -9203[rbp], al
.L35:
	cmp	BYTE PTR -9203[rbp], 7
	jbe	.L39
	cmp	DWORD PTR -9200[rbp], 2048
	jne	.L40
	movzx	eax, WORD PTR anomalias[rip]
	add	eax, 1
	mov	WORD PTR anomalias[rip], ax
	mov	BYTE PTR -9202[rbp], 1
	jmp	.L40
.L34:
	movzx	eax, BYTE PTR buffer_rx[rip]
	sar	al, 4
	cmp	al, 2
	jne	.L41
	movzx	eax, BYTE PTR buffer_rx[rip+2]
	test	al, al
	jns	.L42
	movzx	eax, BYTE PTR buffer_rx[rip+2]
	movsx	eax, al
	sal	eax, 8
	xor	ah, -1
	mov	edx, eax
	movzx	eax, BYTE PTR buffer_rx[rip+3]
	movsx	eax, al
	xor	al, -1
	add	eax, edx
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9188[rbp], xmm0
	jmp	.L43
.L42:
	movzx	eax, BYTE PTR buffer_rx[rip+2]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR buffer_rx[rip+3]
	movsx	eax, al
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9188[rbp], xmm0
.L43:
	movzx	eax, BYTE PTR buffer_rx[rip+4]
	test	al, al
	jns	.L44
	movzx	eax, BYTE PTR buffer_rx[rip+4]
	movsx	eax, al
	sal	eax, 8
	xor	ah, -1
	mov	edx, eax
	movzx	eax, BYTE PTR buffer_rx[rip+5]
	movsx	eax, al
	xor	al, -1
	add	eax, edx
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9192[rbp], xmm0
	jmp	.L45
.L44:
	movzx	eax, BYTE PTR buffer_rx[rip+4]
	movsx	eax, al
	sal	eax, 8
	mov	edx, eax
	movzx	eax, BYTE PTR buffer_rx[rip+5]
	movsx	eax, al
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9192[rbp], xmm0
.L45:
	movzx	eax, BYTE PTR buffer_rx[rip+6]
	test	al, al
	jns	.L46
	movzx	eax, BYTE PTR buffer_rx[rip+6]
	movsx	eax, al
	xor	al, -1
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9184[rbp], xmm0
	jmp	.L47
.L46:
	movzx	eax, BYTE PTR buffer_rx[rip+6]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9184[rbp], xmm0
.L47:
	movzx	eax, BYTE PTR buffer_rx[rip+7]
	test	al, al
	jns	.L48
	movzx	eax, BYTE PTR buffer_rx[rip+7]
	movsx	eax, al
	xor	al, -1
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC8[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9180[rbp], xmm0
	jmp	.L49
.L48:
	movzx	eax, BYTE PTR buffer_rx[rip+7]
	movsx	eax, al
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC9[rip]
	mulsd	xmm0, xmm1
	cvtsd2ss	xmm0, xmm0
	movss	DWORD PTR -9180[rbp], xmm0
.L49:
	call	update_time
	lea	rsi, .LC12[rip]
	lea	rdi, .LC13[rip]
	call	fopen@PLT
	mov	QWORD PTR -9176[rbp], rax
	cmp	QWORD PTR -9176[rbp], 0
	jne	.L50
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L50:
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -9180[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, DWORD PTR -9184[rbp]
	pxor	xmm0, xmm0
	cvtss2sd	xmm0, DWORD PTR -9192[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, DWORD PTR -9188[rbp]
	movq	rsi, xmm4
	mov	r8d, DWORD PTR sec[rip]
	mov	edi, DWORD PTR min[rip]
	mov	r9d, DWORD PTR hora[rip]
	mov	r10d, DWORD PTR ano[rip]
	mov	ecx, DWORD PTR mes[rip]
	mov	edx, DWORD PTR dia[rip]
	lea	rax, -528[rbp]
	push	r8
	push	rdi
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rsi
	mov	r8d, r10d
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 4
	call	sprintf@PLT
	add	rsp, 16
	mov	rdx, QWORD PTR -9176[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -9176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L40
.L41:
	movzx	eax, BYTE PTR buffer_rx[rip]
	sar	al, 4
	cmp	al, 3
	jne	.L51
	mov	BYTE PTR -9203[rbp], 1
	jmp	.L52
.L58:
	movzx	eax, BYTE PTR -9203[rbp]
	cdqe
	lea	rdx, buffer_rx[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	eax, eax
	test	rax, rax
	js	.L53
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L54
.L53:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L54:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movzx	eax, BYTE PTR -9201[rbp]
	cvtsd2ss	xmm0, xmm0
	cdqe
	movss	DWORD PTR -9168[rbp+rax*4], xmm0
	add	BYTE PTR -9201[rbp], 2
	cmp	BYTE PTR -9201[rbp], 53
	jne	.L55
	movss	xmm0, DWORD PTR -8964[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movss	xmm0, DWORD PTR -8972[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movss	xmm0, DWORD PTR -8980[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movss	xmm0, DWORD PTR -8988[rbp]
	pxor	xmm9, xmm9
	cvtss2sd	xmm9, xmm0
	movss	xmm0, DWORD PTR -8996[rbp]
	pxor	xmm11, xmm11
	cvtss2sd	xmm11, xmm0
	movss	xmm0, DWORD PTR -9004[rbp]
	pxor	xmm13, xmm13
	cvtss2sd	xmm13, xmm0
	movss	xmm0, DWORD PTR -9012[rbp]
	pxor	xmm15, xmm15
	cvtss2sd	xmm15, xmm0
	movss	xmm0, DWORD PTR -9020[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movsd	QWORD PTR -9224[rbp], xmm3
	movss	xmm0, DWORD PTR -9028[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -9232[rbp], xmm4
	movss	xmm0, DWORD PTR -9036[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	QWORD PTR -9240[rbp], xmm2
	movss	xmm0, DWORD PTR -9044[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	QWORD PTR -9248[rbp], xmm1
	movss	xmm0, DWORD PTR -9052[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR -9256[rbp], xmm0
	movss	xmm0, DWORD PTR -9060[rbp]
	pxor	xmm8, xmm8
	cvtss2sd	xmm8, xmm0
	movsd	QWORD PTR -9264[rbp], xmm8
	movss	xmm0, DWORD PTR -9068[rbp]
	pxor	xmm10, xmm10
	cvtss2sd	xmm10, xmm0
	movsd	QWORD PTR -9272[rbp], xmm10
	movss	xmm0, DWORD PTR -9076[rbp]
	pxor	xmm12, xmm12
	cvtss2sd	xmm12, xmm0
	movsd	QWORD PTR -9280[rbp], xmm12
	movss	xmm0, DWORD PTR -9084[rbp]
	pxor	xmm14, xmm14
	cvtss2sd	xmm14, xmm0
	movsd	QWORD PTR -9288[rbp], xmm14
	movss	xmm0, DWORD PTR -9092[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movsd	QWORD PTR -9296[rbp], xmm3
	movss	xmm0, DWORD PTR -9100[rbp]
	pxor	xmm12, xmm12
	cvtss2sd	xmm12, xmm0
	movss	xmm0, DWORD PTR -9108[rbp]
	pxor	xmm14, xmm14
	cvtss2sd	xmm14, xmm0
	movss	xmm0, DWORD PTR -9116[rbp]
	pxor	xmm10, xmm10
	cvtss2sd	xmm10, xmm0
	movss	xmm0, DWORD PTR -9124[rbp]
	pxor	xmm8, xmm8
	cvtss2sd	xmm8, xmm0
	movss	xmm0, DWORD PTR -9132[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movss	xmm0, DWORD PTR -9140[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movss	xmm0, DWORD PTR -9148[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -9156[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -9164[rbp]
	cvtss2sd	xmm0, xmm0
	movq	rdx, xmm0
	lea	rax, -528[rbp]
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm5
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm6
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm7
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm9
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm11
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm13
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm15
	push	QWORD PTR -9224[rbp]
	push	QWORD PTR -9232[rbp]
	push	QWORD PTR -9240[rbp]
	push	QWORD PTR -9248[rbp]
	push	QWORD PTR -9256[rbp]
	push	QWORD PTR -9264[rbp]
	push	QWORD PTR -9272[rbp]
	push	QWORD PTR -9280[rbp]
	push	QWORD PTR -9288[rbp]
	push	QWORD PTR -9296[rbp]
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm12
	movapd	xmm7, xmm14
	movapd	xmm6, xmm10
	movapd	xmm5, xmm8
	movq	xmm0, rdx
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 8
	call	sprintf@PLT
	add	rsp, 144
	lea	rsi, .LC12[rip]
	lea	rdi, .LC17[rip]
	call	fopen@PLT
	mov	QWORD PTR -9176[rbp], rax
	cmp	QWORD PTR -9176[rbp], 0
	jne	.L56
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L56:
	mov	rdx, QWORD PTR -9176[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	BYTE PTR -9201[rbp], 1
	mov	rax, QWORD PTR -9176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L40
.L55:
	movzx	eax, BYTE PTR -9203[rbp]
	add	eax, 1
	mov	BYTE PTR -9203[rbp], al
.L52:
	cmp	BYTE PTR -9203[rbp], 7
	jbe	.L58
	jmp	.L40
.L51:
	movzx	eax, BYTE PTR buffer_rx[rip]
	sar	al, 4
	cmp	al, 4
	jne	.L40
	mov	BYTE PTR -9203[rbp], 1
	jmp	.L59
.L64:
	movzx	eax, BYTE PTR -9203[rbp]
	cdqe
	lea	rdx, buffer_rx[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	eax, eax
	test	rax, rax
	js	.L60
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rax
	jmp	.L61
.L60:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, rdx
	addss	xmm0, xmm0
.L61:
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC11[rip]
	mulsd	xmm0, xmm1
	movzx	eax, BYTE PTR -9201[rbp]
	cvtsd2ss	xmm0, xmm0
	cdqe
	movss	DWORD PTR -8944[rbp+rax*4], xmm0
	add	BYTE PTR -9201[rbp], 2
	cmp	BYTE PTR -9201[rbp], 53
	jne	.L62
	movss	xmm0, DWORD PTR -8740[rbp]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movss	xmm0, DWORD PTR -8748[rbp]
	pxor	xmm6, xmm6
	cvtss2sd	xmm6, xmm0
	movss	xmm0, DWORD PTR -8756[rbp]
	pxor	xmm7, xmm7
	cvtss2sd	xmm7, xmm0
	movss	xmm0, DWORD PTR -8764[rbp]
	pxor	xmm9, xmm9
	cvtss2sd	xmm9, xmm0
	movss	xmm0, DWORD PTR -8772[rbp]
	pxor	xmm11, xmm11
	cvtss2sd	xmm11, xmm0
	movss	xmm0, DWORD PTR -8780[rbp]
	pxor	xmm13, xmm13
	cvtss2sd	xmm13, xmm0
	movss	xmm0, DWORD PTR -8788[rbp]
	pxor	xmm15, xmm15
	cvtss2sd	xmm15, xmm0
	movss	xmm0, DWORD PTR -8796[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -9224[rbp], xmm4
	movss	xmm0, DWORD PTR -8804[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movsd	QWORD PTR -9232[rbp], xmm2
	movss	xmm0, DWORD PTR -8812[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movsd	QWORD PTR -9240[rbp], xmm3
	movss	xmm0, DWORD PTR -8820[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movsd	QWORD PTR -9248[rbp], xmm1
	movss	xmm0, DWORD PTR -8828[rbp]
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR -9256[rbp], xmm0
	movss	xmm0, DWORD PTR -8836[rbp]
	pxor	xmm8, xmm8
	cvtss2sd	xmm8, xmm0
	movsd	QWORD PTR -9264[rbp], xmm8
	movss	xmm0, DWORD PTR -8844[rbp]
	pxor	xmm10, xmm10
	cvtss2sd	xmm10, xmm0
	movsd	QWORD PTR -9272[rbp], xmm10
	movss	xmm0, DWORD PTR -8852[rbp]
	pxor	xmm12, xmm12
	cvtss2sd	xmm12, xmm0
	movsd	QWORD PTR -9280[rbp], xmm12
	movss	xmm0, DWORD PTR -8860[rbp]
	pxor	xmm14, xmm14
	cvtss2sd	xmm14, xmm0
	movsd	QWORD PTR -9288[rbp], xmm14
	movss	xmm0, DWORD PTR -8868[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movsd	QWORD PTR -9296[rbp], xmm4
	movss	xmm0, DWORD PTR -8876[rbp]
	pxor	xmm12, xmm12
	cvtss2sd	xmm12, xmm0
	movss	xmm0, DWORD PTR -8884[rbp]
	pxor	xmm14, xmm14
	cvtss2sd	xmm14, xmm0
	movss	xmm0, DWORD PTR -8892[rbp]
	pxor	xmm10, xmm10
	cvtss2sd	xmm10, xmm0
	movss	xmm0, DWORD PTR -8900[rbp]
	pxor	xmm8, xmm8
	cvtss2sd	xmm8, xmm0
	movss	xmm0, DWORD PTR -8908[rbp]
	pxor	xmm4, xmm4
	cvtss2sd	xmm4, xmm0
	movss	xmm0, DWORD PTR -8916[rbp]
	pxor	xmm3, xmm3
	cvtss2sd	xmm3, xmm0
	movss	xmm0, DWORD PTR -8924[rbp]
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, xmm0
	movss	xmm0, DWORD PTR -8932[rbp]
	pxor	xmm1, xmm1
	cvtss2sd	xmm1, xmm0
	movss	xmm0, DWORD PTR -8940[rbp]
	cvtss2sd	xmm0, xmm0
	movq	rdx, xmm0
	lea	rax, -528[rbp]
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm5
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm6
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm7
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm9
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm11
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm13
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm15
	push	QWORD PTR -9224[rbp]
	push	QWORD PTR -9232[rbp]
	push	QWORD PTR -9240[rbp]
	push	QWORD PTR -9248[rbp]
	push	QWORD PTR -9256[rbp]
	push	QWORD PTR -9264[rbp]
	push	QWORD PTR -9272[rbp]
	push	QWORD PTR -9280[rbp]
	push	QWORD PTR -9288[rbp]
	push	QWORD PTR -9296[rbp]
	lea	rsp, -8[rsp]
	movsd	QWORD PTR [rsp], xmm12
	movapd	xmm7, xmm14
	movapd	xmm6, xmm10
	movapd	xmm5, xmm8
	movq	xmm0, rdx
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 8
	call	sprintf@PLT
	add	rsp, 144
	lea	rsi, .LC12[rip]
	lea	rdi, .LC17[rip]
	call	fopen@PLT
	mov	QWORD PTR -9176[rbp], rax
	cmp	QWORD PTR -9176[rbp], 0
	jne	.L63
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L63:
	mov	rdx, QWORD PTR -9176[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	BYTE PTR -9201[rbp], 1
	mov	rax, QWORD PTR -9176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L40
.L62:
	movzx	eax, BYTE PTR -9203[rbp]
	add	eax, 1
	mov	BYTE PTR -9203[rbp], al
.L59:
	cmp	BYTE PTR -9203[rbp], 7
	jbe	.L64
.L40:
	mov	edx, 8
	mov	esi, 0
	lea	rdi, buffer_rx[rip]
	call	memset@PLT
	mov	WORD PTR msg_receive[rip], 0
.L33:
	cmp	BYTE PTR -9202[rbp], 0
	je	.L65
	call	update_time
	lea	rsi, .LC12[rip]
	lea	rdi, .LC20[rip]
	call	fopen@PLT
	mov	QWORD PTR -9176[rbp], rax
	cmp	QWORD PTR -9176[rbp], 0
	jne	.L66
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L66:
	mov	DWORD PTR -9200[rbp], 0
	jmp	.L67
.L68:
	mov	eax, DWORD PTR -9200[rbp]
	movss	xmm0, DWORD PTR -8720[rbp+rax*4]
	pxor	xmm5, xmm5
	cvtss2sd	xmm5, xmm0
	movq	rsi, xmm5
	mov	r8d, DWORD PTR sec[rip]
	mov	edi, DWORD PTR min[rip]
	mov	r11d, DWORD PTR hora[rip]
	mov	r10d, DWORD PTR ano[rip]
	mov	ecx, DWORD PTR mes[rip]
	mov	edx, DWORD PTR dia[rip]
	lea	rax, -528[rbp]
	sub	rsp, 8
	mov	r9d, DWORD PTR -9200[rbp]
	push	r9
	push	r8
	push	rdi
	movq	xmm0, rsi
	mov	r9d, r11d
	mov	r8d, r10d
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 1
	call	sprintf@PLT
	add	rsp, 32
	mov	rdx, QWORD PTR -9176[rbp]
	lea	rax, -528[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	add	DWORD PTR -9200[rbp], 1
.L67:
	cmp	DWORD PTR -9200[rbp], 2047
	jbe	.L68
	mov	rax, QWORD PTR -9176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	edx, 8
	mov	esi, 0
	lea	rdi, buffer_tx[rip]
	call	memset@PLT
	mov	BYTE PTR buffer_tx[rip], -15
	mov	eax, DWORD PTR handle[rip]
	mov	edx, 8
	lea	rsi, buffer_tx[rip]
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR nwrite[rip], ax
	mov	eax, DWORD PTR handle[rip]
	mov	edi, eax
	call	tcdrain@PLT
	mov	DWORD PTR -9200[rbp], 0
	jmp	.L69
.L70:
	mov	eax, DWORD PTR -9200[rbp]
	pxor	xmm0, xmm0
	movss	DWORD PTR -8720[rbp+rax*4], xmm0
	add	DWORD PTR -9200[rbp], 1
.L69:
	cmp	DWORD PTR -9200[rbp], 2047
	jbe	.L70
	mov	BYTE PTR -9202[rbp], 0
.L65:
	mov	edi, 2000
	call	usleep@PLT
	add	DWORD PTR -9196[rbp], 1
	cmp	DWORD PTR -9196[rbp], 200
	jne	.L32
	mov	DWORD PTR -9196[rbp], 0
	call	update_time
.L32:
	movzx	eax, WORD PTR running[rip]
	test	ax, ax
	jne	.L71
	mov	BYTE PTR buffer_tx[rip], -16
	mov	BYTE PTR buffer_tx[rip+1], 0
	mov	eax, DWORD PTR handle[rip]
	mov	edx, 8
	lea	rsi, buffer_tx[rip]
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR nwrite[rip], ax
	mov	eax, DWORD PTR handle[rip]
	mov	edi, eax
	call	tcdrain@PLT
	mov	eax, DWORD PTR handle[rip]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC22[rip]
	call	puts@PLT
	mov	eax, 0
.L72:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.long	1202590843
	.long	-1081836831
	.align 8
.LC9:
	.long	1202590843
	.long	1065646817
	.align 8
.LC10:
	.long	-1717986918
	.long	-1078355559
	.align 8
.LC11:
	.long	-1717986918
	.long	1069128089
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"352834.c"
	.text
	.global	buffer_tx
	.bss
	.align	2
	.type	buffer_tx, %object
	.size	buffer_tx, 8
buffer_tx:
	.space	8
	.global	buffer_rx
	.align	2
	.type	buffer_rx, %object
	.size	buffer_rx, 8
buffer_rx:
	.space	8
	.comm	timer,4,4
	.comm	horarioLocal,4,4
	.comm	dia,4,4
	.comm	mes,4,4
	.comm	ano,4,4
	.comm	hora,4,4
	.comm	min,4,4
	.comm	sec,4,4
	.global	msg_receive
	.align	1
	.type	msg_receive, %object
	.size	msg_receive, 2
msg_receive:
	.space	2
	.global	nbytes
	.align	1
	.type	nbytes, %object
	.size	nbytes, 2
nbytes:
	.space	2
	.global	running
	.data
	.align	1
	.type	running, %object
	.size	running, 2
running:
	.short	1
	.comm	nwrite,2,2
	.comm	nread,2,2
	.comm	thread_id,4,4
	.global	portname
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/dev/ttyACM0\000"
	.data
	.align	2
	.type	portname, %object
	.size	portname, 4
portname:
	.word	.LC0
	.comm	handle,4,4
	.global	n
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.word	8
	.global	anomalias
	.bss
	.align	1
	.type	anomalias, %object
	.size	anomalias, 2
anomalias:
	.space	2
	.text
	.align	2
	.global	signal_Handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_Handler, %function
signal_Handler:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L2
	ldr	r3, [fp, #-16]
	cmp	r3, #15
	beq	.L3
	b	.L5
.L2:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L5
.L3:
	mov	r3, #1
	str	r3, [fp, #-8]
	nop
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L7
	ldr	r3, .L8
	mov	r2, #0
	strh	r2, [r3]	@ movhi
.L7:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	running
	.size	signal_Handler, .-signal_Handler
	.align	2
	.global	uart_msg_receive
	.syntax unified
	.arm
	.fpu softvfp
	.type	uart_msg_receive, %function
uart_msg_receive:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	b	.L11
.L15:
	ldr	r3, .L16
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L13:
	ldr	r3, .L16+4
	ldr	r0, [r3]
	ldr	r3, .L16
	ldr	r3, [r3]
	ldr	r2, .L16+8
	add	r3, r3, r2
	mov	r2, #1
	mov	r1, r3
	bl	read
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L16+12
	strh	r3, [r2]	@ movhi
	ldr	r3, .L16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16
	str	r3, [r2]
.L12:
	ldr	r3, .L16
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L13
	ldr	r3, .L16+16
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	mov	r0, #1000
	bl	usleep
	nop
.L14:
	ldr	r3, .L16+16
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	bne	.L14
.L11:
	ldr	r3, .L16+20
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	bne	.L15
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	n
	.word	handle
	.word	buffer_rx
	.word	nread
	.word	msg_receive
	.word	running
	.size	uart_msg_receive, .-uart_msg_receive
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Error from tcgetattr: %s\012\000"
	.align	2
.LC2:
	.ascii	"Error from tcsetattr: %s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	set_interface_attribs
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_interface_attribs, %function
set_interface_attribs:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L24
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	tcgetattr
	mov	r3, r0
	cmp	r3, #0
	bge	.L19
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L24+4
	bl	printf
	mvn	r3, #0
	b	.L22
.L19:
	ldr	r2, [fp, #-76]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	cfsetospeed
	ldr	r2, [fp, #-76]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	cfsetispeed
	ldr	r3, [fp, #-60]
	orr	r3, r3, #2176
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	orr	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #256
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #64
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #-2147483648
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-68]
	bic	r3, r3, #1504
	bic	r3, r3, #11
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-56]
	bic	r3, r3, #32768
	bic	r3, r3, #75
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-64]
	bic	r3, r3, #1
	str	r3, [fp, #-64]
	mov	r3, #1
	strb	r3, [fp, #-45]
	mov	r3, #1
	strb	r3, [fp, #-46]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	tcsetattr
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L24+8
	bl	printf
	mvn	r3, #0
	b	.L22
.L21:
	mov	r3, #0
.L22:
	ldr	r2, .L24
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	set_interface_attribs, .-set_interface_attribs
	.section	.rodata
	.align	2
.LC4:
	.ascii	"Error tcgetattr: %s\012\000"
	.align	2
.LC5:
	.ascii	"Error tcsetattr: %s\012\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	set_mincount
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_mincount, %function
set_mincount:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, [fp, #-72]
	bl	tcgetattr
	mov	r3, r0
	cmp	r3, #0
	bge	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L31+4
	bl	printf
	b	.L26
.L27:
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-45]
	mov	r3, #5
	strb	r3, [fp, #-46]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-72]
	bl	tcsetattr
	mov	r3, r0
	cmp	r3, #0
	bge	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L31+8
	bl	printf
.L26:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC6
	.word	.LC4
	.word	.LC5
	.size	set_mincount, .-set_mincount
	.align	2
	.global	update_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	update_time, %function
update_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L34
	bl	time
	ldr	r0, .L34
	bl	localtime
	mov	r3, r0
	ldr	r2, .L34+4
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r3, [r3, #12]
	ldr	r2, .L34+8
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r3, [r3, #16]
	add	r3, r3, #1
	ldr	r2, .L34+12
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r3, [r3, #20]
	add	r3, r3, #1888
	add	r3, r3, #12
	ldr	r2, .L34+16
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L34+20
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L34+24
	str	r3, [r2]
	ldr	r3, .L34+4
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L34+28
	str	r3, [r2]
	nop
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	timer
	.word	horarioLocal
	.word	dia
	.word	mes
	.word	ano
	.word	hora
	.word	min
	.word	sec
	.size	update_time, .-update_time
	.section	.rodata
	.align	2
.LC7:
	.ascii	"Error opening %s: %s\012\000"
	.align	2
.LC8:
	.ascii	"\012Erro thread\000"
	.global	__aeabi_i2f
	.global	__aeabi_f2d
	.global	__aeabi_dmul
	.global	__aeabi_d2f
	.global	__aeabi_ui2f
	.align	2
.LC9:
	.ascii	"a\000"
	.align	2
.LC10:
	.ascii	"dataloger_1.csv\000"
	.align	2
.LC11:
	.ascii	"\012Erro dataloger\012!\000"
	.align	2
.LC12:
	.ascii	"%d,%d,%d,%d,%d,%d,%.2f,%.2f,%.2f,%.2f\012\000"
	.align	2
.LC13:
	.ascii	"v,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f"
	.ascii	",%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,"
	.ascii	"%.2f,%.2f,%.2f,%.2f,%.2f,%.2f\012\000"
	.align	2
.LC14:
	.ascii	"dataloger_2.csv\000"
	.align	2
.LC15:
	.ascii	"\012Erro fft dataloger\012!\000"
	.align	2
.LC16:
	.ascii	"i,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f"
	.ascii	",%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f,"
	.ascii	"%.2f,%.2f,%.2f,%.2f,%.2f,%.2f\012\000"
	.align	2
.LC17:
	.ascii	"dataloger_0.csv\000"
	.align	2
.LC18:
	.ascii	"%d,%d,%d,%d,%d,%d,%d,%.3f\012\000"
	.align	2
.LC19:
	.ascii	"\012Stop program\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 9344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #9536
	sub	sp, sp, #12
	ldr	r3, .L80
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-968]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-964]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #0
	strb	r2, [r3, #-971]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #0
	strb	r2, [r3, #-970]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #1
	strb	r2, [r3, #-969]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-960]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-956]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-952]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-948]	@ float
	ldr	r3, .L80+4
	ldr	r3, [r3]
	ldr	r1, .L80+8
	mov	r0, r3
	bl	open
	mov	r3, r0
	ldr	r2, .L80+12
	str	r3, [r2]
	ldr	r3, .L80+12
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L37
	ldr	r3, .L80+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, r4
	ldr	r0, .L80+16
	bl	printf
	mvn	r3, #0
	b	.L78
.L37:
	ldr	r3, .L80+12
	ldr	r3, [r3]
	ldr	r1, .L80+20
	mov	r0, r3
	bl	set_interface_attribs
	mov	r3, #0
	ldr	r2, .L80+24
	mov	r1, #0
	ldr	r0, .L80+28
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r0, .L80+32
	bl	puts
.L39:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-968]
	b	.L40
.L41:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-516]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	add	r3, r3, #1
	str	r3, [r2, #-968]
.L40:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	cmp	r3, #2048
	bcc	.L41
	ldr	r1, .L80+36
	mov	r0, #2
	bl	signal
	ldr	r1, .L80+36
	mov	r0, #15
	bl	signal
	mov	r0, #0
	bl	time
	mov	r0, #1
	bl	sleep
	ldr	r3, .L80+144
	mvn	r2, #15
	strb	r2, [r3]
	ldr	r3, .L80+144
	mov	r2, #1
	strb	r2, [r3, #1]
	ldr	r3, .L80+12
	ldr	r3, [r3]
	mov	r2, #8
	ldr	r1, .L80+144
	mov	r0, r3
	bl	write
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L80+40
	strh	r3, [r2]	@ movhi
	ldr	r3, .L80+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	tcdrain
	b	.L42
.L77:
	ldr	r3, .L80+100
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L80+96
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	cmp	r3, #1
	bne	.L44
	ldr	r3, .L80+96
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #8
	and	r3, r3, #1792
	ldr	r2, .L80+96
	ldrb	r2, [r2, #1]	@ zero_extendqisi2
	add	r3, r3, r2
	sub	r2, fp, #8192
	sub	r2, r2, #36
	str	r3, [r2, #-968]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #2
	strb	r2, [r3, #-971]
	b	.L45
.L49:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	cmp	r3, #2048
	bcs	.L46
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	ldr	r2, .L80+96
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L47
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	ldr	r2, .L80+96
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mvn	r3, r3
	and	r3, r3, #255
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-516]	@ float
	b	.L48
.L47:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	ldr	r2, .L80+96
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r1, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	lsl	r3, r3, #2
	add	r3, r1, r3
	str	r2, [r3, #-516]	@ float
.L48:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	add	r3, r3, #1
	str	r3, [r2, #-968]
.L46:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	sub	r2, fp, #8192
	sub	r2, r2, #36
	add	r3, r3, #1
	strb	r3, [r2, #-971]
.L45:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L49
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	cmp	r3, #2048
	bne	.L50
	ldr	r3, .L80+56
	ldrh	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L80+56
	strh	r3, [r2]	@ movhi
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #1
	strb	r2, [r3, #-970]
	b	.L50
.L44:
	ldr	r3, .L80+96
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	cmp	r3, #2
	bne	.L51
	ldr	r3, .L80+96
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L52
	ldr	r3, .L80+96
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mvn	r3, r3
	and	r3, r3, #255
	lsl	r3, r3, #8
	ldr	r2, .L80+96
	ldrb	r2, [r2, #3]	@ zero_extendqisi2
	mvn	r2, r2
	and	r2, r2, #255
	add	r3, r3, r2
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+76
	ldr	r3, .L80+60
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-956]	@ float
	b	.L53
.L52:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, .L80+96
	ldrb	r2, [r2, #3]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+76
	ldr	r3, .L80+80
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-956]	@ float
.L53:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L54
	ldr	r3, .L80+96
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	mvn	r3, r3
	and	r3, r3, #255
	lsl	r3, r3, #8
	ldr	r2, .L80+96
	ldrb	r2, [r2, #5]	@ zero_extendqisi2
	mvn	r2, r2
	and	r2, r2, #255
	add	r3, r3, r2
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-960]	@ float
	b	.L55
.L54:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #4]	@ zero_extendqisi2
	lsl	r3, r3, #8
	ldr	r2, .L80+96
	ldrb	r2, [r2, #5]	@ zero_extendqisi2
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-960]	@ float
.L55:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L56
	ldr	r3, .L80+96
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	mvn	r3, r3
	and	r3, r3, #255
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-952]	@ float
	b	.L57
.L56:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #6]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-952]	@ float
.L57:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	bge	.L58
	ldr	r3, .L80+96
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	mvn	r3, r3
	and	r3, r3, #255
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+48
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-948]	@ float
	b	.L59
.L58:
	ldr	r3, .L80+96
	ldrb	r3, [r3, #7]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+44
	ldr	r3, .L80+52
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r3, r0
	str	r3, [r4, #-948]	@ float
.L59:
	bl	update_time
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r4, r3
	ldr	r1, .L80+104
	ldr	r0, .L80+64
	bl	fopen
	str	r0, [r4, #-944]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-944]
	cmp	r3, #0
	bne	.L60
	ldr	r0, .L80+112
	bl	printf
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, .L80+116
	ldr	r3, [r3]
	sub	r2, fp, #9152
	sub	r2, r2, #60
	str	r3, [r2]
	ldr	r3, .L80+120
	ldr	r1, [r3]
	sub	r3, fp, #9216
	sub	r3, r3, #4
	str	r1, [r3]
	ldr	r3, .L80+124
	ldr	r10, [r3]
	ldr	r3, .L80+128
	ldr	r0, [r3]
	sub	r3, fp, #9216
	sub	r3, r3, #12
	str	r0, [r3]
	ldr	r3, .L80+132
	ldr	lr, [r3]
	sub	r3, fp, #9216
	sub	r3, r3, #20
	str	lr, [r3]
	ldr	r3, .L80+136
	ldr	r4, [r3]
	sub	r3, fp, #9216
	sub	r3, r3, #28
	str	r4, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-956]	@ float
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-960]	@ float
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-952]	@ float
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-948]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #552
	str	r2, [sp, #40]
	str	r3, [sp, #44]
	str	r4, [sp, #32]
	str	r5, [sp, #36]
	str	r8, [sp, #24]
	str	r9, [sp, #28]
	str	r6, [sp, #16]
	str	r7, [sp, #20]
	sub	r3, fp, #9216
	sub	r3, r3, #28
	ldr	r4, [r3]
	str	r4, [sp, #12]
	sub	r3, fp, #9216
	sub	r3, r3, #20
	ldr	lr, [r3]
	str	lr, [sp, #8]
	sub	r3, fp, #9216
	sub	r3, r3, #12
	ldr	ip, [r3]
	str	ip, [sp, #4]
	str	r10, [sp]
	sub	r3, fp, #9216
	sub	r3, r3, #4
	ldr	r3, [r3]
	sub	r2, fp, #9152
	sub	r2, r2, #60
	ldr	r2, [r2]
	ldr	r1, .L80+68
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #552
	ldr	r1, [r2, #-944]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-944]
	bl	fclose
	b	.L50
.L51:
	ldr	r3, .L80+96
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	cmp	r3, #3
	bne	.L61
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #1
	strb	r2, [r3, #-971]
	b	.L62
.L81:
	.align	2
.L80:
	.word	.LC20
	.word	portname
	.word	1052930
	.word	handle
	.word	.LC7
	.word	4098
	.word	uart_msg_receive
	.word	thread_id
	.word	.LC8
	.word	signal_Handler
	.word	nwrite
	.word	1202590843
	.word	-1081836831
	.word	1065646817
	.word	anomalias
	.word	-1078355559
	.word	.LC10
	.word	.LC12
	.word	.LC13
	.word	-1717986918
	.word	1069128089
	.word	.LC16
	.word	.LC14
	.word	.LC15
	.word	buffer_rx
	.word	msg_receive
	.word	.LC9
	.word	.LC17
	.word	.LC11
	.word	dia
	.word	mes
	.word	ano
	.word	hora
	.word	min
	.word	sec
	.word	.LC18
	.word	buffer_tx
.L66:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	ldr	r2, .L80+96
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+76
	ldr	r3, .L80+80
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	ldrb	r4, [r1, #-969]	@ zero_extendqisi2
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r1, r3
	lsl	r3, r4, #2
	add	r3, r1, r3
	str	r2, [r3, #-940]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-969]
	add	r3, r3, #2
	strb	r3, [r2, #-969]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-969]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L63
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-936]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9152
	sub	r3, r3, #60
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-928]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #4
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-920]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #12
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-912]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #20
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-904]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #28
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-896]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #36
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-888]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #44
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-880]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #52
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-872]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #60
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-864]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #4
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-856]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #12
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-848]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #20
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-840]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #28
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-832]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #36
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-824]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #44
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-816]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #52
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-808]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #60
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-800]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #4
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-792]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #12
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-784]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #20
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-776]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #28
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-768]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #36
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-760]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-752]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-744]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-736]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #552
	str	r2, [sp, #192]
	str	r3, [sp, #196]
	str	r4, [sp, #184]
	str	r5, [sp, #188]
	str	r6, [sp, #176]
	str	r7, [sp, #180]
	str	r8, [sp, #168]
	str	r9, [sp, #172]
	sub	r3, fp, #9344
	sub	r3, r3, #36
	ldmia	r3, {r3-r4}
	str	r3, [sp, #160]
	str	r4, [sp, #164]
	sub	r3, fp, #9344
	sub	r3, r3, #28
	ldmia	r3, {r3-r4}
	str	r3, [sp, #152]
	str	r4, [sp, #156]
	sub	r3, fp, #9344
	sub	r3, r3, #20
	ldmia	r3, {r3-r4}
	str	r3, [sp, #144]
	str	r4, [sp, #148]
	sub	r3, fp, #9344
	sub	r3, r3, #12
	ldmia	r3, {r3-r4}
	str	r3, [sp, #136]
	str	r4, [sp, #140]
	sub	r3, fp, #9344
	sub	r3, r3, #4
	ldmia	r3, {r3-r4}
	str	r3, [sp, #128]
	str	r4, [sp, #132]
	sub	r3, fp, #9280
	sub	r3, r3, #60
	ldmia	r3, {r3-r4}
	str	r3, [sp, #120]
	str	r4, [sp, #124]
	sub	r3, fp, #9280
	sub	r3, r3, #52
	ldmia	r3, {r3-r4}
	str	r3, [sp, #112]
	str	r4, [sp, #116]
	sub	r3, fp, #9280
	sub	r3, r3, #44
	ldmia	r3, {r3-r4}
	str	r3, [sp, #104]
	str	r4, [sp, #108]
	sub	r3, fp, #9280
	sub	r3, r3, #36
	ldmia	r3, {r3-r4}
	str	r3, [sp, #96]
	str	r4, [sp, #100]
	sub	r3, fp, #9280
	sub	r3, r3, #28
	ldmia	r3, {r3-r4}
	str	r3, [sp, #88]
	str	r4, [sp, #92]
	sub	r3, fp, #9280
	sub	r3, r3, #20
	ldmia	r3, {r3-r4}
	str	r3, [sp, #80]
	str	r4, [sp, #84]
	sub	r3, fp, #9280
	sub	r3, r3, #12
	ldmia	r3, {r3-r4}
	str	r3, [sp, #72]
	str	r4, [sp, #76]
	sub	r3, fp, #9280
	sub	r3, r3, #4
	ldmia	r3, {r3-r4}
	str	r3, [sp, #64]
	str	r4, [sp, #68]
	sub	r3, fp, #9216
	sub	r3, r3, #60
	ldmia	r3, {r3-r4}
	str	r3, [sp, #56]
	str	r4, [sp, #60]
	sub	r3, fp, #9216
	sub	r3, r3, #52
	ldmia	r3, {r3-r4}
	str	r3, [sp, #48]
	str	r4, [sp, #52]
	sub	r3, fp, #9216
	sub	r3, r3, #44
	ldmia	r3, {r3-r4}
	str	r3, [sp, #40]
	str	r4, [sp, #44]
	sub	r3, fp, #9216
	sub	r3, r3, #36
	ldmia	r3, {r3-r4}
	str	r3, [sp, #32]
	str	r4, [sp, #36]
	sub	r3, fp, #9216
	sub	r3, r3, #28
	ldmia	r3, {r3-r4}
	str	r3, [sp, #24]
	str	r4, [sp, #28]
	sub	r3, fp, #9216
	sub	r3, r3, #20
	ldmia	r3, {r3-r4}
	str	r3, [sp, #16]
	str	r4, [sp, #20]
	sub	r3, fp, #9216
	sub	r3, r3, #12
	ldmia	r3, {r3-r4}
	str	r3, [sp, #8]
	str	r4, [sp, #12]
	sub	r3, fp, #9216
	sub	r3, r3, #4
	ldmia	r3, {r3-r4}
	stm	sp, {r3-r4}
	sub	r3, fp, #9152
	sub	r3, r3, #60
	ldmia	r3, {r2-r3}
	ldr	r1, .L80+72
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r4, r3
	ldr	r1, .L80+104
	ldr	r0, .L80+88
	bl	fopen
	str	r0, [r4, #-944]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-944]
	cmp	r3, #0
	bne	.L64
	ldr	r0, .L80+92
	bl	printf
	mov	r0, #1
	bl	exit
.L64:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #552
	ldr	r1, [r2, #-944]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #1
	strb	r2, [r3, #-969]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-944]
	bl	fclose
	b	.L50
.L63:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	sub	r2, fp, #8192
	sub	r2, r2, #36
	add	r3, r3, #1
	strb	r3, [r2, #-971]
.L62:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L66
	b	.L50
.L61:
	ldr	r3, .L80+96
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	cmp	r3, #4
	bne	.L50
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #1
	strb	r2, [r3, #-971]
	b	.L67
.L70:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	ldr	r2, .L80+96
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	__aeabi_ui2f
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	ldr	r2, .L80+76
	ldr	r3, .L80+80
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #8192
	sub	r1, r1, #36
	ldrb	r4, [r1, #-969]	@ zero_extendqisi2
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2f
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r1, r3
	lsl	r3, r4, #2
	add	r3, r1, r3
	str	r2, [r3, #-728]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-969]
	add	r3, r3, #2
	strb	r3, [r2, #-969]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-969]	@ zero_extendqisi2
	cmp	r3, #53
	bne	.L68
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-724]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9152
	sub	r3, r3, #60
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-716]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #4
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-708]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #12
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-700]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #20
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-692]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #28
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-684]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #36
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-676]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #44
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-668]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #52
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-660]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9216
	sub	r3, r3, #60
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-652]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #4
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-644]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #12
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-636]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #20
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-628]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #28
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-620]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #36
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-612]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #44
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-604]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #52
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-596]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9280
	sub	r3, r3, #60
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-588]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #4
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-580]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #12
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-572]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #20
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-564]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #28
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-556]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	sub	r3, fp, #9344
	sub	r3, r3, #36
	stm	r3, {r0-r1}
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-548]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r8, r0
	mov	r9, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-540]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-532]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r4, r0
	mov	r5, r1
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-524]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #552
	str	r2, [sp, #192]
	str	r3, [sp, #196]
	str	r4, [sp, #184]
	str	r5, [sp, #188]
	str	r6, [sp, #176]
	str	r7, [sp, #180]
	str	r8, [sp, #168]
	str	r9, [sp, #172]
	sub	r3, fp, #9344
	sub	r3, r3, #36
	ldmia	r3, {r3-r4}
	str	r3, [sp, #160]
	str	r4, [sp, #164]
	sub	r3, fp, #9344
	sub	r3, r3, #28
	ldmia	r3, {r3-r4}
	str	r3, [sp, #152]
	str	r4, [sp, #156]
	sub	r3, fp, #9344
	sub	r3, r3, #20
	ldmia	r3, {r3-r4}
	str	r3, [sp, #144]
	str	r4, [sp, #148]
	sub	r3, fp, #9344
	sub	r3, r3, #12
	ldmia	r3, {r3-r4}
	str	r3, [sp, #136]
	str	r4, [sp, #140]
	sub	r3, fp, #9344
	sub	r3, r3, #4
	ldmia	r3, {r3-r4}
	str	r3, [sp, #128]
	str	r4, [sp, #132]
	sub	r3, fp, #9280
	sub	r3, r3, #60
	ldmia	r3, {r3-r4}
	str	r3, [sp, #120]
	str	r4, [sp, #124]
	sub	r3, fp, #9280
	sub	r3, r3, #52
	ldmia	r3, {r3-r4}
	str	r3, [sp, #112]
	str	r4, [sp, #116]
	sub	r3, fp, #9280
	sub	r3, r3, #44
	ldmia	r3, {r3-r4}
	str	r3, [sp, #104]
	str	r4, [sp, #108]
	sub	r3, fp, #9280
	sub	r3, r3, #36
	ldmia	r3, {r3-r4}
	str	r3, [sp, #96]
	str	r4, [sp, #100]
	sub	r3, fp, #9280
	sub	r3, r3, #28
	ldmia	r3, {r3-r4}
	str	r3, [sp, #88]
	str	r4, [sp, #92]
	sub	r3, fp, #9280
	sub	r3, r3, #20
	ldmia	r3, {r3-r4}
	str	r3, [sp, #80]
	str	r4, [sp, #84]
	sub	r3, fp, #9280
	sub	r3, r3, #12
	ldmia	r3, {r3-r4}
	str	r3, [sp, #72]
	str	r4, [sp, #76]
	sub	r3, fp, #9280
	sub	r3, r3, #4
	ldmia	r3, {r3-r4}
	str	r3, [sp, #64]
	str	r4, [sp, #68]
	sub	r3, fp, #9216
	sub	r3, r3, #60
	ldmia	r3, {r3-r4}
	str	r3, [sp, #56]
	str	r4, [sp, #60]
	sub	r3, fp, #9216
	sub	r3, r3, #52
	ldmia	r3, {r3-r4}
	str	r3, [sp, #48]
	str	r4, [sp, #52]
	sub	r3, fp, #9216
	sub	r3, r3, #44
	ldmia	r3, {r3-r4}
	str	r3, [sp, #40]
	str	r4, [sp, #44]
	sub	r3, fp, #9216
	sub	r3, r3, #36
	ldmia	r3, {r3-r4}
	str	r3, [sp, #32]
	str	r4, [sp, #36]
	sub	r3, fp, #9216
	sub	r3, r3, #28
	ldmia	r3, {r3-r4}
	str	r3, [sp, #24]
	str	r4, [sp, #28]
	sub	r3, fp, #9216
	sub	r3, r3, #20
	ldmia	r3, {r3-r4}
	str	r3, [sp, #16]
	str	r4, [sp, #20]
	sub	r3, fp, #9216
	sub	r3, r3, #12
	ldmia	r3, {r3-r4}
	str	r3, [sp, #8]
	str	r4, [sp, #12]
	sub	r3, fp, #9216
	sub	r3, r3, #4
	ldmia	r3, {r3-r4}
	stm	sp, {r3-r4}
	sub	r3, fp, #9152
	sub	r3, r3, #60
	ldmia	r3, {r2-r3}
	ldr	r1, .L80+84
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r4, r3
	ldr	r1, .L80+104
	ldr	r0, .L80+88
	bl	fopen
	str	r0, [r4, #-944]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-944]
	cmp	r3, #0
	bne	.L69
	ldr	r0, .L80+92
	bl	printf
	mov	r0, #1
	bl	exit
.L69:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #552
	ldr	r1, [r2, #-944]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #1
	strb	r2, [r3, #-969]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-944]
	bl	fclose
	b	.L50
.L68:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	sub	r2, fp, #8192
	sub	r2, r2, #36
	add	r3, r3, #1
	strb	r3, [r2, #-971]
.L67:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-971]	@ zero_extendqisi2
	cmp	r3, #7
	bls	.L70
.L50:
	mov	r2, #8
	mov	r1, #0
	ldr	r0, .L80+96
	bl	memset
	ldr	r3, .L80+100
	mov	r2, #0
	strh	r2, [r3]	@ movhi
.L43:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldrb	r3, [r3, #-970]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L71
	bl	update_time
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r4, r3
	ldr	r1, .L80+104
	ldr	r0, .L80+108
	bl	fopen
	str	r0, [r4, #-944]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-944]
	cmp	r3, #0
	bne	.L72
	ldr	r0, .L80+112
	bl	printf
	mov	r0, #1
	bl	exit
.L72:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-968]
	b	.L73
.L74:
	ldr	r3, .L80+116
	ldr	r8, [r3]
	ldr	r3, .L80+120
	ldr	r9, [r3]
	ldr	r3, .L80+124
	ldr	r4, [r3]
	ldr	r3, .L80+128
	ldr	r5, [r3]
	ldr	r3, .L80+132
	ldr	r6, [r3]
	ldr	r3, .L80+136
	ldr	r7, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-516]	@ float
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	sub	r0, fp, #552
	str	r2, [sp, #24]
	str	r3, [sp, #28]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	str	r3, [sp, #16]
	str	r7, [sp, #12]
	str	r6, [sp, #8]
	str	r5, [sp, #4]
	str	r4, [sp]
	mov	r3, r9
	mov	r2, r8
	ldr	r1, .L80+140
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #552
	ldr	r1, [r2, #-944]
	mov	r0, r3
	bl	fputs
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	add	r3, r3, #1
	str	r3, [r2, #-968]
.L73:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	cmp	r3, #2048
	bcc	.L74
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r0, [r3, #-944]
	bl	fclose
	mov	r2, #8
	mov	r1, #0
	ldr	r0, .L80+144
	bl	memset
	ldr	r3, .L80+144
	mvn	r2, #14
	strb	r2, [r3]
	ldr	r3, .L82
	ldr	r3, [r3]
	mov	r2, #8
	ldr	r1, .L82+4
	mov	r0, r3
	bl	write
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L82+8
	strh	r3, [r2]	@ movhi
	ldr	r3, .L82
	ldr	r3, [r3]
	mov	r0, r3
	bl	tcdrain
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-968]
	b	.L75
.L76:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-516]	@ float
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	add	r3, r3, #1
	str	r3, [r2, #-968]
.L75:
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-968]
	cmp	r3, #2048
	bcc	.L76
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, #0
	strb	r2, [r3, #-970]
.L71:
	mov	r0, #2000
	bl	usleep
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-964]
	add	r3, r3, #1
	str	r3, [r2, #-964]
	sub	r3, fp, #8192
	sub	r3, r3, #36
	ldr	r3, [r3, #-964]
	cmp	r3, #200
	bne	.L42
	sub	r3, fp, #8192
	sub	r3, r3, #36
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-964]
	bl	update_time
.L42:
	ldr	r3, .L82+12
	ldrh	r3, [r3]	@ movhi
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	cmp	r3, #0
	bne	.L77
	ldr	r3, .L82+4
	mvn	r2, #15
	strb	r2, [r3]
	ldr	r3, .L82+4
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, .L82
	ldr	r3, [r3]
	mov	r2, #8
	ldr	r1, .L82+4
	mov	r0, r3
	bl	write
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L82+8
	strh	r3, [r2]	@ movhi
	ldr	r3, .L82
	ldr	r3, [r3]
	mov	r0, r3
	bl	tcdrain
	ldr	r3, .L82
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r0, .L82+16
	bl	puts
	mov	r3, #0
.L78:
	ldr	r2, .L82+20
	ldr	r1, [r2]
	ldr	r2, [fp, #-40]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	mov	r0, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L83:
	.align	2
.L82:
	.word	handle
	.word	buffer_tx
	.word	nwrite
	.word	running
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
