	.file	"79394.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"__LINE__ = %d, error %s\n"
	.text
	.globl	SetInterfaceAttribs
	.type	SetInterfaceAttribs, @function
SetInterfaceAttribs:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	DWORD PTR -100[rbp], edi
	mov	DWORD PTR -104[rbp], esi
	mov	DWORD PTR -108[rbp], edx
	mov	DWORD PTR -112[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -84[rbp], 0
	cmp	DWORD PTR -112[rbp], 0
	js	.L2
	cmp	DWORD PTR -112[rbp], 255
	jle	.L3
.L2:
	mov	DWORD PTR -84[rbp], 1
.L3:
	lea	rax, -80[rbp]
	mov	edx, 60
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	tcgetattr@PLT
	test	eax, eax
	je	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	esi, 46
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L9
.L4:
	mov	edx, DWORD PTR -104[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetospeed@PLT
	mov	edx, DWORD PTR -104[rbp]
	lea	rax, -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetispeed@PLT
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 48
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	and	eax, -2
	mov	DWORD PTR -80[rbp], eax
	mov	DWORD PTR -68[rbp], 0
	mov	DWORD PTR -76[rbp], 0
	cmp	DWORD PTR -84[rbp], 1
	sete	al
	mov	BYTE PTR -57[rbp], al
	cmp	DWORD PTR -84[rbp], 1
	je	.L6
	mov	eax, DWORD PTR -112[rbp]
	jmp	.L7
.L6:
	mov	eax, 0
.L7:
	mov	BYTE PTR -58[rbp], al
	mov	eax, DWORD PTR -80[rbp]
	and	ah, -29
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	or	eax, 2176
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	and	ah, -4
	mov	DWORD PTR -72[rbp], eax
	mov	edx, DWORD PTR -72[rbp]
	mov	eax, DWORD PTR -108[rbp]
	or	eax, edx
	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
	lea	rdx, -80[rbp]
	mov	eax, DWORD PTR -100[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	test	eax, eax
	je	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	esi, 74
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L9
.L8:
	mov	eax, 0
.L9:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	SetInterfaceAttribs, .-SetInterfaceAttribs
	.section	.rodata
.LC1:
	.string	"hello!"
	.text
	.globl	sendThread
	.type	sendThread, @function
sendThread:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -272[rbp]
	lea	rdx, .LC1[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	rax, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -276[rbp], eax
.L12:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -276[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	strlen@PLT
	imul	eax, eax, 100
	add	eax, 2500
	mov	edi, eax
	call	usleep@PLT
	mov	edi, 500000
	call	usleep@PLT
	jmp	.L12
	.cfi_endproc
.LFE7:
	.size	sendThread, .-sendThread
	.section	.rodata
	.align 8
.LC2:
	.string	"__FUNCTION__ = %s, __LINE__ = %d\n"
.LC3:
	.string	"devic is lost!"
.LC4:
	.string	"len = %d\n"
.LC5:
	.string	"%c(%d %#x)\t"
	.text
	.globl	readThread
	.type	readThread, @function
readThread:
.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, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -284[rbp], eax
.L21:
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], -1
	jne	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	jne	.L16
	mov	edx, 126
	lea	rsi, __FUNCTION__.1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 5000
	call	usleep@PLT
	jmp	.L17
.L16:
	mov	edx, 132
	lea	rsi, __FUNCTION__.1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	pthread_exit@PLT
.L15:
	cmp	QWORD PTR -280[rbp], 0
	jne	.L18
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -280[rbp]
	add	rax, 25
	imul	eax, eax, 100
	mov	edi, eax
	call	usleep@PLT
	mov	rax, QWORD PTR -280[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -288[rbp], 0
	jmp	.L19
.L20:
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	movzx	eax, BYTE PTR -272[rbp+rax]
	movsx	ecx, al
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	movzx	eax, BYTE PTR -272[rbp+rax]
	movsx	edx, al
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	movzx	eax, BYTE PTR -272[rbp+rax]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -288[rbp], 1
.L19:
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	cmp	QWORD PTR -280[rbp], rax
	jg	.L20
	mov	edi, 10
	call	putchar@PLT
.L17:
	jmp	.L21
	.cfi_endproc
.LFE8:
	.size	readThread, .-readThread
	.section	.rodata
.LC6:
	.string	"/dev/ttyUSB0"
.LC7:
	.string	"-d"
.LC8:
	.string	"%s"
	.align 8
.LC9:
	.string	"error : -d should be follow a device!"
	.text
	.globl	main
	.type	main, @function
main:
.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, 384
	mov	DWORD PTR -372[rbp], edi
	mov	QWORD PTR -384[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -272[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -272[rbp]
	lea	rdx, .LC6[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -356[rbp], 1
	jmp	.L24
.L28:
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdx, rax
	lea	rax, .LC7[rip]
	mov	ecx, 3
	mov	rsi, rdx
	mov	rdi, rax
	repz cmpsb
	seta	al
	setb	dl
	sub	eax, edx
	movsx	eax, al
	test	eax, eax
	jne	.L25
	mov	eax, DWORD PTR -356[rbp]
	add	eax, 1
	cmp	DWORD PTR -372[rbp], eax
	jle	.L26
	mov	eax, DWORD PTR -356[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -384[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	lea	rax, -272[rbp]
	mov	rcx, rdx
	lea	rdx, .LC8[rip]
	mov	esi, 256
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	jmp	.L25
.L26:
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L30
.L25:
	add	DWORD PTR -356[rbp], 1
.L24:
	mov	eax, DWORD PTR -372[rbp]
	cmp	eax, DWORD PTR -356[rbp]
	jg	.L28
	mov	edx, 189
	lea	rsi, __FUNCTION__.0[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -272[rbp]
	mov	esi, 258
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -360[rbp], eax
	mov	eax, DWORD PTR -360[rbp]
	test	eax, eax
	jns	.L29
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L29:
	mov	eax, DWORD PTR -360[rbp]
	mov	ecx, 20
	mov	edx, 0
	mov	esi, 4097
	mov	edi, eax
	call	SetInterfaceAttribs
	lea	rdx, -360[rbp]
	lea	rax, -352[rbp]
	mov	rcx, rdx
	lea	rdx, readThread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rdx, -360[rbp]
	lea	rax, -344[rbp]
	mov	rcx, rdx
	lea	rdx, sendThread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rax, QWORD PTR -352[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -344[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, DWORD PTR -360[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L30:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
	.type	__FUNCTION__.1, @object
	.size	__FUNCTION__.1, 11
__FUNCTION__.1:
	.string	"readThread"
	.type	__FUNCTION__.0, @object
	.size	__FUNCTION__.0, 5
__FUNCTION__.0:
	.string	"main"
	.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	"79394.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"__LINE__ = %d, error %s\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	SetInterfaceAttribs
	.syntax unified
	.arm
	.fpu softvfp
	.type	SetInterfaceAttribs, %function
SetInterfaceAttribs:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	str	r2, [fp, #-88]
	str	r3, [fp, #-92]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-92]
	cmp	r3, #0
	blt	.L2
	ldr	r3, [fp, #-92]
	cmp	r3, #255
	ble	.L3
.L2:
	mov	r3, #1
	str	r3, [fp, #-72]
.L3:
	sub	r3, fp, #68
	mov	r2, #60
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #68
	mov	r1, r3
	ldr	r0, [fp, #-80]
	bl	tcgetattr
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, #46
	ldr	r0, .L11+4
	bl	printf
	mvn	r3, #0
	b	.L9
.L4:
	ldr	r2, [fp, #-84]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	cfsetospeed
	ldr	r2, [fp, #-84]
	sub	r3, fp, #68
	mov	r1, r2
	mov	r0, r3
	bl	cfsetispeed
	ldr	r3, [fp, #-60]
	orr	r3, r3, #48
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-68]
	bic	r3, r3, #1
	str	r3, [fp, #-68]
	mov	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	strb	r3, [fp, #-45]
	ldr	r3, [fp, #-72]
	cmp	r3, #1
	beq	.L6
	ldr	r3, [fp, #-92]
	and	r3, r3, #255
	b	.L7
.L6:
	mov	r3, #0
.L7:
	strb	r3, [fp, #-46]
	ldr	r3, [fp, #-68]
	bic	r3, r3, #7168
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-60]
	orr	r3, r3, #2176
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-60]
	bic	r3, r3, #768
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-88]
	orr	r3, r2, r3
	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]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-80]
	bl	tcsetattr
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	mov	r1, #74
	ldr	r0, .L11+4
	bl	printf
	mvn	r3, #0
	b	.L9
.L8:
	mov	r3, #0
.L9:
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC1
	.word	.LC0
	.size	SetInterfaceAttribs, .-SetInterfaceAttribs
	.section	.rodata
	.align	2
.LC2:
	.ascii	"hello!\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	sendThread
	.syntax unified
	.arm
	.fpu softvfp
	.type	sendThread, %function
sendThread:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #264
	ldr	r2, .L16+4
	mov	r1, #256
	mov	r0, r3
	bl	snprintf
	ldr	r3, [fp, #-272]
	ldr	r3, [r3]
	str	r3, [fp, #-268]
.L14:
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-268]
	bl	write
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, #2496
	add	r3, r3, #4
	mov	r0, r3
	bl	usleep
	ldr	r0, .L16+8
	bl	usleep
	b	.L14
.L17:
	.align	2
.L16:
	.word	.LC3
	.word	.LC2
	.word	500000
	.size	sendThread, .-sendThread
	.section	.rodata
	.align	2
.LC4:
	.ascii	"__FUNCTION__ = %s, __LINE__ = %d\012\000"
	.align	2
.LC5:
	.ascii	"devic is lost!\000"
	.align	2
.LC6:
	.ascii	"len = %d\012\000"
	.align	2
.LC7:
	.ascii	"%c(%d %#x)\011\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readThread
	.syntax unified
	.arm
	.fpu softvfp
	.type	readThread, %function
readThread:
	@ args = 0, pretend = 0, frame = 280
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #280
	str	r0, [fp, #-280]
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-280]
	ldr	r3, [r3]
	str	r3, [fp, #-272]
.L25:
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	read
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmn	r3, #1
	bne	.L19
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	bne	.L20
	mov	r2, #126
	ldr	r1, .L27+4
	ldr	r0, .L27+8
	bl	printf
	ldr	r0, .L27+12
	bl	usleep
	b	.L21
.L20:
	mov	r2, #132
	ldr	r1, .L27+4
	ldr	r0, .L27+8
	bl	printf
	mov	r0, #0
	bl	pthread_exit
.L19:
	ldr	r3, [fp, #-268]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L27+16
	bl	puts
	mov	r0, #0
	bl	exit
.L22:
	ldr	r3, [fp, #-268]
	add	r2, r3, #25
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r0, r3
	bl	usleep
	ldr	r1, [fp, #-268]
	ldr	r0, .L27+20
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-276]
	b	.L23
.L24:
	sub	r2, fp, #264
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r1, r3
	sub	r2, fp, #264
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	sub	r2, fp, #264
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r0
	ldr	r0, .L27+24
	bl	printf
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
.L23:
	ldr	r2, [fp, #-276]
	ldr	r3, [fp, #-268]
	cmp	r2, r3
	blt	.L24
	mov	r0, #10
	bl	putchar
.L21:
	b	.L25
.L28:
	.align	2
.L27:
	.word	.LC8
	.word	__FUNCTION__.6510
	.word	.LC4
	.word	5000
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	readThread, .-readThread
	.section	.rodata
	.align	2
.LC9:
	.ascii	"/dev/ttyUSB0\000"
	.align	2
.LC10:
	.ascii	"-d\000"
	.align	2
.LC11:
	.ascii	"%s\000"
	.align	2
.LC12:
	.ascii	"error : -d should be follow a device!\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 344
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #344
	str	r0, [fp, #-344]
	str	r1, [fp, #-348]
	ldr	r3, .L38
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #264
	ldr	r2, .L38+4
	mov	r1, #256
	mov	r0, r3
	bl	snprintf
	mov	r3, #1
	str	r3, [fp, #-328]
	b	.L30
.L34:
	ldr	r3, [fp, #-328]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-348]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L38+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r3, [fp, #-328]
	add	r3, r3, #1
	ldr	r2, [fp, #-344]
	cmp	r2, r3
	ble	.L32
	ldr	r3, [fp, #-328]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-348]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r0, fp, #264
	ldr	r2, .L38+12
	mov	r1, #256
	bl	snprintf
	b	.L31
.L32:
	ldr	r0, .L38+16
	bl	puts
	mov	r3, #0
	b	.L36
.L31:
	ldr	r3, [fp, #-328]
	add	r3, r3, #1
	str	r3, [fp, #-328]
.L30:
	ldr	r2, [fp, #-344]
	ldr	r3, [fp, #-328]
	cmp	r2, r3
	bgt	.L34
	mov	r2, #189
	ldr	r1, .L38+20
	ldr	r0, .L38+24
	bl	printf
	sub	r3, fp, #264
	ldr	r1, .L38+28
	mov	r0, r3
	bl	open
	mov	r3, r0
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-340]
	cmp	r3, #0
	bge	.L35
	sub	r3, fp, #264
	mov	r0, r3
	bl	perror
	mvn	r0, #0
	bl	exit
.L35:
	ldr	r0, [fp, #-340]
	mov	r3, #20
	mov	r2, #0
	ldr	r1, .L38+32
	bl	SetInterfaceAttribs
	sub	r3, fp, #340
	sub	r0, fp, #336
	ldr	r2, .L38+36
	mov	r1, #0
	bl	pthread_create
	sub	r3, fp, #340
	sub	r0, fp, #332
	ldr	r2, .L38+40
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-336]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-332]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-340]
	mov	r0, r3
	bl	close
	mov	r3, #0
.L36:
	ldr	r2, .L38
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L37
	bl	__stack_chk_fail
.L37:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	.LC13
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	__FUNCTION__.6533
	.word	.LC4
	.word	258
	.word	4097
	.word	readThread
	.word	sendThread
	.size	main, .-main
	.section	.rodata
	.align	2
	.type	__FUNCTION__.6510, %object
	.size	__FUNCTION__.6510, 11
__FUNCTION__.6510:
	.ascii	"readThread\000"
	.align	2
	.type	__FUNCTION__.6533, %object
	.size	__FUNCTION__.6533, 5
__FUNCTION__.6533:
	.ascii	"main\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
