	.file	"68886850.c"
	.intel_syntax noprefix
	.text
	.local	buffer
	.comm	buffer,1024,32
	.type	read_packet, @function
read_packet:
.LFB0:
	.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	DWORD PTR -12[rbp], 0
	jmp	.L2
.L4:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, buffer[rip]
	add	rax, rdx
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jg	.L3
	jmp	.L2
.L3:
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1023
	jbe	.L4
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	read_packet, .-read_packet
	.section	.rodata
.LC0:
	.string	"%c%c%c%c\n"
.LC1:
	.string	"version 0x%x\n"
.LC3:
	.string	"time %lf\n"
.LC4:
	.string	"color %u\n"
.LC5:
	.string	"reflect %u\n"
.LC6:
	.string	"rgb_r %u\n"
.LC7:
	.string	"rgb_g %u\n"
.LC8:
	.string	"rgb_b %u\n"
.LC9:
	.string	"ultrasonic %u\n"
.LC10:
	.string	"touch0 %u\n"
.LC11:
	.string	"touch1 %u\n"
.LC12:
	.string	"motor_angle_a %u\n"
.LC13:
	.string	"motor_angle_b %u\n"
.LC14:
	.string	"motor_angle_c %u\n"
.LC15:
	.string	"pos_x %lf\n"
.LC16:
	.string	"pos_y %lf\n"
	.text
	.type	decode_packet, @function
decode_packet:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, BYTE PTR buffer[rip+3]
	movsx	esi, al
	movzx	eax, BYTE PTR buffer[rip+2]
	movsx	ecx, al
	movzx	eax, BYTE PTR buffer[rip+1]
	movsx	edx, al
	movzx	eax, BYTE PTR buffer[rip]
	movsx	eax, al
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+4]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+16]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	js	.L7
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	jmp	.L8
.L7:
	mov	rdx, rax
	shr	rdx
	and	eax, 1
	or	rdx, rax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rdx
	addsd	xmm0, xmm0
.L8:
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC3[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, buffer[rip+40]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+44]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+48]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+52]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+56]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+120]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+144]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+148]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+288]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+292]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+296]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, buffer[rip+512]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC15[rip]
	mov	eax, 1
	call	printf@PLT
	lea	rax, buffer[rip+520]
	mov	rax, QWORD PTR [rax]
	movq	xmm0, rax
	lea	rdi, .LC16[rip]
	mov	eax, 1
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	decode_packet, .-decode_packet
	.globl	main
	.type	main, @function
main:
.LFB2:
	.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
.L11:
	call	read_packet
	call	decode_packet
	jmp	.L11
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC2:
	.long	0
	.long	1093567616
	.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	"68886850.c"
	.text
	.local	buffer
	.comm	buffer,1024,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_packet, %function
read_packet:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L4:
	ldr	r3, [fp, #-12]
	ldr	r2, .L6
	add	r3, r3, r2
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bgt	.L3
	b	.L2
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #1024
	bcc	.L4
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	buffer
	.size	read_packet, .-read_packet
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%c%c%c%c\012\000"
	.align	2
.LC1:
	.ascii	"version 0x%x\012\000"
	.global	__aeabi_ul2d
	.global	__aeabi_ddiv
	.align	2
.LC2:
	.ascii	"time %lf\012\000"
	.align	2
.LC3:
	.ascii	"color %u\012\000"
	.align	2
.LC4:
	.ascii	"reflect %u\012\000"
	.align	2
.LC5:
	.ascii	"rgb_r %u\012\000"
	.align	2
.LC6:
	.ascii	"rgb_g %u\012\000"
	.align	2
.LC7:
	.ascii	"rgb_b %u\012\000"
	.align	2
.LC8:
	.ascii	"ultrasonic %u\012\000"
	.align	2
.LC9:
	.ascii	"touch0 %u\012\000"
	.align	2
.LC10:
	.ascii	"touch1 %u\012\000"
	.align	2
.LC11:
	.ascii	"motor_angle_a %u\012\000"
	.align	2
.LC12:
	.ascii	"motor_angle_b %u\012\000"
	.align	2
.LC13:
	.ascii	"motor_angle_c %u\012\000"
	.align	2
.LC14:
	.ascii	"pos_x %lf\012\000"
	.align	2
.LC15:
	.ascii	"pos_y %lf\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	decode_packet, %function
decode_packet:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L10
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r3, .L10
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L10
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, .L10
	ldrb	r3, [r3, #3]	@ zero_extendqisi2
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L10+4
	bl	printf
	ldr	r3, .L10+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r3, .L10+16
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_ul2d
	mov	r2, #0
	ldr	r3, .L10+20
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L10+24
	bl	printf
	ldr	r3, .L10+28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+32
	bl	printf
	ldr	r3, .L10+36
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+40
	bl	printf
	ldr	r3, .L10+44
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+48
	bl	printf
	ldr	r3, .L10+52
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+56
	bl	printf
	ldr	r3, .L10+60
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+64
	bl	printf
	ldr	r3, .L10+68
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+72
	bl	printf
	ldr	r3, .L10+76
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+80
	bl	printf
	ldr	r3, .L10+84
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+88
	bl	printf
	ldr	r3, .L10+92
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+96
	bl	printf
	ldr	r3, .L10+100
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+104
	bl	printf
	ldr	r3, .L10+108
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L10+112
	bl	printf
	ldr	r3, .L10+116
	ldmia	r3, {r2-r3}
	ldr	r0, .L10+120
	bl	printf
	ldr	r3, .L10+124
	ldmia	r3, {r2-r3}
	ldr	r0, .L10+128
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	buffer
	.word	.LC0
	.word	buffer+4
	.word	.LC1
	.word	buffer+16
	.word	1093567616
	.word	.LC2
	.word	buffer+40
	.word	.LC3
	.word	buffer+44
	.word	.LC4
	.word	buffer+48
	.word	.LC5
	.word	buffer+52
	.word	.LC6
	.word	buffer+56
	.word	.LC7
	.word	buffer+120
	.word	.LC8
	.word	buffer+144
	.word	.LC9
	.word	buffer+148
	.word	.LC10
	.word	buffer+288
	.word	.LC11
	.word	buffer+292
	.word	.LC12
	.word	buffer+296
	.word	.LC13
	.word	buffer+512
	.word	.LC14
	.word	buffer+520
	.word	.LC15
	.size	decode_packet, .-decode_packet
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-12]
.L13:
	bl	read_packet
	bl	decode_packet
	b	.L13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
