	.file	"704079.c"
	.intel_syntax noprefix
	.text
	.globl	baudlist
	.data
	.align 32
	.type	baudlist, @object
	.size	baudlist, 32
baudlist:
	.long	50
	.long	300
	.long	1200
	.long	2400
	.long	4800
	.long	9600
	.long	19200
	.long	115200
	.globl	baudflag
	.align 32
	.type	baudflag, @object
	.size	baudflag, 32
baudflag:
	.long	1
	.long	7
	.long	9
	.long	11
	.long	12
	.long	13
	.long	14
	.long	4098
	.globl	errormessage
	.section	.rodata
.LC0:
	.string	"No error."
.LC1:
	.string	"Missing command string"
.LC2:
	.string	"Error opening device file"
.LC3:
	.string	"cannot parse baud rate"
.LC4:
	.string	"illegal baud rate"
.LC5:
	.string	"error in select call"
	.align 8
.LC6:
	.string	"timeout while waiting for response"
.LC7:
	.string	"illegal timeout value"
	.section	.data.rel.local,"aw"
	.align 32
	.type	errormessage, @object
	.size	errormessage, 64
errormessage:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.quad	.LC7
	.section	.rodata
.LC8:
	.string	"%s\n"
	.text
	.globl	emsg
	.type	emsg, @function
emsg:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, errormessage[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	emsg, .-emsg
	.globl	timout
	.data
	.align 16
	.type	timout, @object
	.size	timout, 16
timout:
	.quad	3
	.quad	0
	.globl	cntrl
	.type	cntrl, @object
	.size	cntrl, 2
cntrl:
	.ascii	"\033)"
	.section	.rodata
.LC9:
	.string	"%i"
.LC10:
	.string	"%200s"
.LC11:
	.string	"B:d:t:nsX"
.LC12:
	.string	"%490s"
	.text
	.globl	main
	.type	main, @function
main:
.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, 2000
	mov	DWORD PTR -1988[rbp], edi
	mov	QWORD PTR -2000[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 8751747723086357551
	mov	edx, 809653077
	mov	QWORD PTR -1728[rbp], rax
	mov	QWORD PTR -1720[rbp], rdx
	mov	QWORD PTR -1712[rbp], 0
	mov	QWORD PTR -1704[rbp], 0
	mov	QWORD PTR -1696[rbp], 0
	mov	QWORD PTR -1688[rbp], 0
	mov	QWORD PTR -1680[rbp], 0
	mov	QWORD PTR -1672[rbp], 0
	mov	QWORD PTR -1664[rbp], 0
	mov	QWORD PTR -1656[rbp], 0
	mov	QWORD PTR -1648[rbp], 0
	mov	QWORD PTR -1640[rbp], 0
	mov	QWORD PTR -1632[rbp], 0
	mov	QWORD PTR -1624[rbp], 0
	mov	QWORD PTR -1616[rbp], 0
	mov	QWORD PTR -1608[rbp], 0
	mov	QWORD PTR -1600[rbp], 0
	mov	QWORD PTR -1592[rbp], 0
	mov	QWORD PTR -1584[rbp], 0
	mov	QWORD PTR -1576[rbp], 0
	mov	QWORD PTR -1568[rbp], 0
	mov	QWORD PTR -1560[rbp], 0
	mov	QWORD PTR -1552[rbp], 0
	mov	QWORD PTR -1544[rbp], 0
	mov	QWORD PTR -1536[rbp], 0
	mov	DWORD PTR -1976[rbp], 9600
	mov	DWORD PTR -1968[rbp], 0
	mov	DWORD PTR -1964[rbp], 0
	mov	DWORD PTR -1960[rbp], 0
	mov	DWORD PTR -1956[rbp], 0
	mov	DWORD PTR opterr[rip], 0
	jmp	.L4
.L18:
	mov	eax, DWORD PTR -1952[rbp]
	sub	eax, 66
	cmp	eax, 50
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L12-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L11-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L8-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
.L12:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, -1976[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L4
	mov	edi, 3
	call	emsg
	neg	eax
	jmp	.L41
.L9:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, -1728[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L4
	mov	edi, 2
	call	emsg
	neg	eax
	jmp	.L41
.L5:
	mov	rax, QWORD PTR optarg[rip]
	lea	rdx, -1980[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 1
	je	.L16
	mov	edi, 2
	call	emsg
	neg	eax
	jmp	.L41
.L16:
	mov	eax, DWORD PTR -1980[rbp]
	test	eax, eax
	jns	.L17
	mov	edi, 7
	call	emsg
	neg	eax
	jmp	.L41
.L17:
	mov	eax, DWORD PTR -1980[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cdqe
	mov	QWORD PTR timout[rip], rax
	mov	eax, DWORD PTR -1980[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	imul	ecx, edx, 1000
	sub	eax, ecx
	mov	edx, eax
	imul	eax, edx, 1000
	cdqe
	mov	QWORD PTR timout[rip+8], rax
	jmp	.L4
.L8:
	mov	DWORD PTR -1968[rbp], 1
	jmp	.L4
.L7:
	mov	DWORD PTR -1964[rbp], 1
	jmp	.L4
.L10:
	mov	DWORD PTR -1960[rbp], 1
	jmp	.L4
.L11:
	mov	DWORD PTR -1956[rbp], 1
	nop
.L4:
	mov	rcx, QWORD PTR -2000[rbp]
	mov	eax, DWORD PTR -1988[rbp]
	lea	rdx, .LC11[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -1952[rbp], eax
	cmp	DWORD PTR -1952[rbp], -1
	jne	.L18
	mov	DWORD PTR -1972[rbp], 0
	jmp	.L19
.L22:
	mov	eax, DWORD PTR -1972[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, baudlist[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1976[rbp]
	cmp	edx, eax
	je	.L44
	add	DWORD PTR -1972[rbp], 1
.L19:
	cmp	DWORD PTR -1972[rbp], 7
	jle	.L22
	jmp	.L21
.L44:
	nop
.L21:
	cmp	DWORD PTR -1972[rbp], 8
	jne	.L23
	mov	edi, 4
	call	emsg
	neg	eax
	jmp	.L41
.L23:
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	cmp	DWORD PTR -1988[rbp], eax
	jne	.L24
	cmp	DWORD PTR -1964[rbp], 0
	je	.L25
.L24:
	mov	rax, QWORD PTR stdin[rip]
	lea	rdx, -1520[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	je	.L27
	mov	edi, 1
	call	emsg
	neg	eax
	jmp	.L41
.L25:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -2000[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rdx, -1520[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
.L27:
	cmp	DWORD PTR -1960[rbp], 0
	je	.L28
	mov	DWORD PTR -1980[rbp], 0
	jmp	.L29
.L31:
	mov	eax, DWORD PTR -1980[rbp]
	cdqe
	movzx	eax, BYTE PTR -1520[rbp+rax]
	cmp	al, 44
	jne	.L30
	mov	eax, DWORD PTR -1980[rbp]
	cdqe
	mov	BYTE PTR -1520[rbp+rax], 32
.L30:
	mov	eax, DWORD PTR -1980[rbp]
	add	eax, 1
	mov	DWORD PTR -1980[rbp], eax
.L29:
	mov	eax, DWORD PTR -1980[rbp]
	cdqe
	movzx	eax, BYTE PTR -1520[rbp+rax]
	test	al, al
	jne	.L31
.L28:
	lea	rax, -1520[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1948[rbp], eax
	mov	eax, DWORD PTR -1948[rbp]
	cdqe
	mov	BYTE PTR -1520[rbp+rax], 13
	mov	eax, DWORD PTR -1948[rbp]
	add	eax, 1
	cdqe
	mov	BYTE PTR -1520[rbp+rax], 10
	mov	eax, DWORD PTR -1948[rbp]
	add	eax, 2
	cdqe
	mov	BYTE PTR -1520[rbp+rax], 0
	lea	rax, -1728[rbp]
	mov	esi, 258
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -1944[rbp], eax
	cmp	DWORD PTR -1944[rbp], -1
	jne	.L32
	mov	edi, 2
	call	emsg
	neg	eax
	jmp	.L41
.L32:
	mov	eax, DWORD PTR -1944[rbp]
	add	eax, 1
	mov	DWORD PTR -1940[rbp], eax
	mov	rax, QWORD PTR stdin[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rax, -1920[rbp]
	mov	rdi, rax
	call	cfmakeraw@PLT
	mov	eax, DWORD PTR -1920[rbp]
	and	eax, -2052
	or	eax, 2049
	mov	DWORD PTR -1920[rbp], eax
	cmp	DWORD PTR -1956[rbp], 0
	jne	.L33
	mov	eax, DWORD PTR -1920[rbp]
	or	ah, 20
	mov	DWORD PTR -1920[rbp], eax
.L33:
	mov	eax, DWORD PTR -1916[rbp]
	mov	DWORD PTR -1916[rbp], eax
	mov	eax, DWORD PTR -1912[rbp]
	and	eax, 2147480447
	or	eax, 3200
	mov	DWORD PTR -1912[rbp], eax
	mov	eax, DWORD PTR -1972[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, baudflag[rip]
	mov	edx, DWORD PTR [rdx+rax]
	lea	rax, -1920[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetospeed@PLT
	mov	eax, DWORD PTR -1972[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, baudflag[rip]
	mov	edx, DWORD PTR [rdx+rax]
	lea	rax, -1920[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	cfsetispeed@PLT
	lea	rdx, -1920[rbp]
	mov	eax, DWORD PTR -1944[rbp]
	mov	esi, 0
	mov	edi, eax
	call	tcsetattr@PLT
	mov	eax, DWORD PTR -1944[rbp]
	mov	esi, 2
	mov	edi, eax
	call	tcflush@PLT
	lea	rax, -1520[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -1520[rbp]
	mov	eax, DWORD PTR -1944[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	cmp	DWORD PTR -1968[rbp], 0
	je	.L34
	mov	eax, 0
	jmp	.L41
.L34:
	mov	eax, 0
	mov	ecx, 16
	lea	rdx, -1856[rbp]
	mov	rdi, rdx
#APP
# 195 "the_stack_data/704079.c" 1
	cld; rep; stosq
# 0 "" 2
#NO_APP
	mov	eax, edi
	mov	edx, ecx
	mov	DWORD PTR -1936[rbp], edx
	mov	DWORD PTR -1932[rbp], eax
	mov	eax, DWORD PTR -1944[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	mov	esi, eax
	movsx	rax, esi
	mov	rdi, QWORD PTR -1856[rbp+rax*8]
	mov	eax, DWORD PTR -1944[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rdi, rax
	mov	rdx, rdi
	movsx	rax, esi
	mov	QWORD PTR -1856[rbp+rax*8], rdx
	lea	rsi, -1856[rbp]
	mov	eax, DWORD PTR -1940[rbp]
	lea	r8, timout[rip]
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	select@PLT
	mov	DWORD PTR -1928[rbp], eax
	cmp	DWORD PTR -1928[rbp], 0
	jns	.L35
	mov	edi, 5
	call	emsg
	neg	eax
	jmp	.L41
.L35:
	cmp	DWORD PTR -1928[rbp], 0
	jne	.L36
	mov	edi, 6
	call	emsg
	neg	eax
	jmp	.L41
.L36:
	mov	eax, DWORD PTR -1944[rbp]
	lea	edx, 63[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 6
	cdqe
	mov	rsi, QWORD PTR -1856[rbp+rax*8]
	mov	eax, DWORD PTR -1944[rbp]
	cdq
	shr	edx, 26
	add	eax, edx
	and	eax, 63
	sub	eax, edx
	mov	edx, 1
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	and	rax, rsi
	test	rax, rax
	je	.L34
	lea	rcx, -1008[rbp]
	mov	eax, DWORD PTR -1944[rbp]
	mov	edx, 1000
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -1924[rbp], eax
	cmp	DWORD PTR -1924[rbp], 0
	js	.L45
	cmp	DWORD PTR -1924[rbp], 0
	je	.L46
	mov	rcx, QWORD PTR stdout[rip]
	mov	eax, DWORD PTR -1924[rbp]
	movsx	rdx, eax
	lea	rax, -1008[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -1924[rbp]
	sub	eax, 1
	cdqe
	movzx	eax, BYTE PTR -1008[rbp+rax]
	cmp	al, 10
	jne	.L34
	mov	eax, 0
	jmp	.L41
.L46:
	nop
	jmp	.L34
.L45:
	nop
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	fputc@PLT
	mov	eax, DWORD PTR -1944[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L41:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-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	"704079.c"
	.text
	.global	baudlist
	.data
	.align	2
	.type	baudlist, %object
	.size	baudlist, 32
baudlist:
	.word	50
	.word	300
	.word	1200
	.word	2400
	.word	4800
	.word	9600
	.word	19200
	.word	115200
	.global	baudflag
	.align	2
	.type	baudflag, %object
	.size	baudflag, 32
baudflag:
	.word	1
	.word	7
	.word	9
	.word	11
	.word	12
	.word	13
	.word	14
	.word	4098
	.global	errormessage
	.section	.rodata
	.align	2
.LC0:
	.ascii	"No error.\000"
	.align	2
.LC1:
	.ascii	"Missing command string\000"
	.align	2
.LC2:
	.ascii	"Error opening device file\000"
	.align	2
.LC3:
	.ascii	"cannot parse baud rate\000"
	.align	2
.LC4:
	.ascii	"illegal baud rate\000"
	.align	2
.LC5:
	.ascii	"error in select call\000"
	.align	2
.LC6:
	.ascii	"timeout while waiting for response\000"
	.align	2
.LC7:
	.ascii	"illegal timeout value\000"
	.data
	.align	2
	.type	errormessage, %object
	.size	errormessage, 32
errormessage:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%s\012\000"
	.text
	.align	2
	.global	emsg
	.syntax unified
	.arm
	.fpu softvfp
	.type	emsg, %function
emsg:
	@ 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]
	ldr	r3, .L3
	ldr	r0, [r3]
	ldr	r2, .L3+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r1, .L3+8
	bl	fprintf
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	stderr
	.word	errormessage
	.word	.LC8
	.size	emsg, .-emsg
	.global	timout
	.data
	.align	2
	.type	timout, %object
	.size	timout, 8
timout:
	.word	3
	.word	0
	.global	cntrl
	.align	2
	.type	cntrl, %object
	.size	cntrl, 2
cntrl:
	.ascii	"\033)"
	.section	.rodata
	.align	2
.LC10:
	.ascii	"%i\000"
	.align	2
.LC11:
	.ascii	"%200s\000"
	.align	2
.LC12:
	.ascii	"B:d:t:nsX\000"
	.align	2
.LC13:
	.ascii	"%490s\000"
	.align	2
.LC9:
	.ascii	"/dev/ttyUSB0\000"
	.space	187
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1960
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1968
	str	r0, [fp, #-1960]
	str	r1, [fp, #-1964]
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L51+4
	sub	ip, fp, #1696
	sub	ip, ip, #4
	sub	ip, ip, #8
	ldm	r3, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strb	r3, [ip]
	sub	r3, fp, #1680
	sub	r3, r3, #4
	sub	r3, r3, #11
	mov	r2, #187
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #9600
	str	r3, [fp, #-1952]
	mov	r3, #0
	str	r3, [fp, #-1944]
	mov	r3, #0
	str	r3, [fp, #-1940]
	mov	r3, #0
	str	r3, [fp, #-1936]
	mov	r3, #0
	str	r3, [fp, #-1932]
	ldr	r3, .L51+8
	mov	r2, #0
	str	r2, [r3]
	b	.L6
.L20:
	ldr	r3, [fp, #-1924]
	sub	r3, r3, #66
	cmp	r3, #50
	ldrls	pc, [pc, r3, asl #2]
	b	.L6
.L8:
	.word	.L14
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L13
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L12
	.word	.L11
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L10
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L6
	.word	.L9
	.word	.L7
.L14:
	ldr	r3, .L51+12
	ldr	r0, [r3]
	sub	r3, fp, #1936
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L51+16
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L6
	mov	r0, #3
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L11:
	ldr	r3, .L51+12
	ldr	r0, [r3]
	sub	r3, fp, #1696
	sub	r3, r3, #4
	sub	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L51+20
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L6
	mov	r0, #2
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L7:
	ldr	r3, .L51+12
	ldr	r3, [r3]
	sub	r2, fp, #1952
	sub	r2, r2, #4
	ldr	r1, .L51+16
	mov	r0, r3
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L18
	mov	r0, #2
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L18:
	ldr	r3, [fp, #-1956]
	cmp	r3, #0
	bge	.L19
	mov	r0, #7
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L19:
	ldr	r3, [fp, #-1956]
	ldr	r2, .L51+24
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, .L51+28
	str	r3, [r2]
	ldr	r1, [fp, #-1956]
	ldr	r3, .L51+24
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, .L51+28
	str	r2, [r3, #4]
	b	.L6
.L10:
	mov	r3, #1
	str	r3, [fp, #-1944]
	b	.L6
.L9:
	mov	r3, #1
	str	r3, [fp, #-1940]
	b	.L6
.L12:
	mov	r3, #1
	str	r3, [fp, #-1936]
	b	.L6
.L13:
	mov	r3, #1
	str	r3, [fp, #-1932]
	nop
.L6:
	ldr	r2, .L51+32
	ldr	r1, [fp, #-1964]
	ldr	r0, [fp, #-1960]
	bl	getopt
	str	r0, [fp, #-1924]
	ldr	r3, [fp, #-1924]
	cmn	r3, #1
	bne	.L20
	mov	r3, #0
	str	r3, [fp, #-1948]
	b	.L21
.L24:
	ldr	r2, .L51+36
	ldr	r3, [fp, #-1948]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-1952]
	cmp	r2, r3
	beq	.L48
	ldr	r3, [fp, #-1948]
	add	r3, r3, #1
	str	r3, [fp, #-1948]
.L21:
	ldr	r3, [fp, #-1948]
	cmp	r3, #7
	ble	.L24
	b	.L23
.L48:
	nop
.L23:
	ldr	r3, [fp, #-1948]
	cmp	r3, #8
	bne	.L25
	mov	r0, #4
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L25:
	ldr	r3, .L51+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-1960]
	cmp	r2, r3
	bne	.L26
	ldr	r3, [fp, #-1940]
	cmp	r3, #0
	beq	.L27
.L26:
	ldr	r3, .L51+44
	ldr	r3, [r3]
	sub	r2, fp, #1504
	sub	r2, r2, #4
	ldr	r1, .L51+48
	mov	r0, r3
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	beq	.L29
	mov	r0, #1
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L27:
	ldr	r3, .L51+40
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1964]
	add	r3, r2, r3
	ldr	r3, [r3]
	sub	r2, fp, #1504
	sub	r2, r2, #4
	ldr	r1, .L51+48
	mov	r0, r3
	bl	__isoc99_sscanf
.L29:
	ldr	r3, [fp, #-1936]
	cmp	r3, #0
	beq	.L30
	mov	r3, #0
	str	r3, [fp, #-1956]
	b	.L31
.L33:
	ldr	r3, [fp, #-1956]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1504]	@ zero_extendqisi2
	cmp	r3, #44
	bne	.L32
	ldr	r3, [fp, #-1956]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3, #-1504]
.L32:
	ldr	r3, [fp, #-1956]
	add	r3, r3, #1
	str	r3, [fp, #-1956]
.L31:
	ldr	r3, [fp, #-1956]
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1504]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L33
.L30:
	sub	r3, fp, #1504
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1920]
	sub	r2, fp, #1504
	sub	r2, r2, #4
	ldr	r3, [fp, #-1920]
	add	r3, r2, r3
	mov	r2, #13
	strb	r2, [r3]
	ldr	r3, [fp, #-1920]
	add	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3, #-1504]
	ldr	r3, [fp, #-1920]
	add	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1504]
	sub	r3, fp, #1696
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r1, .L51+52
	mov	r0, r3
	bl	open
	str	r0, [fp, #-1916]
	ldr	r3, [fp, #-1916]
	cmn	r3, #1
	bne	.L34
	mov	r0, #2
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L34:
	ldr	r3, [fp, #-1916]
	add	r3, r3, #1
	str	r3, [fp, #-1912]
	ldr	r3, .L51+44
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	sub	r3, fp, #1888
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r0, r3
	bl	cfmakeraw
	ldr	r3, [fp, #-1896]
	bic	r3, r3, #2048
	bic	r3, r3, #3
	orr	r3, r3, #2048
	orr	r3, r3, #1
	str	r3, [fp, #-1896]
	ldr	r3, [fp, #-1932]
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-1896]
	orr	r3, r3, #5120
	str	r3, [fp, #-1896]
.L35:
	ldr	r3, [fp, #-1892]
	str	r3, [fp, #-1892]
	ldr	r3, [fp, #-1888]
	bic	r3, r3, #-2147483648
	bic	r3, r3, #3200
	orr	r3, r3, #3200
	str	r3, [fp, #-1888]
	ldr	r2, .L51+56
	ldr	r3, [fp, #-1948]
	ldr	r2, [r2, r3, lsl #2]
	sub	r3, fp, #1888
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	cfsetospeed
	ldr	r2, .L51+56
	ldr	r3, [fp, #-1948]
	ldr	r2, [r2, r3, lsl #2]
	sub	r3, fp, #1888
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	cfsetispeed
	sub	r3, fp, #1888
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	mov	r1, #0
	ldr	r0, [fp, #-1916]
	bl	tcsetattr
	mov	r1, #2
	ldr	r0, [fp, #-1916]
	bl	tcflush
	sub	r3, fp, #1504
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #1504
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, [fp, #-1916]
	bl	write
	ldr	r3, [fp, #-1944]
	cmp	r3, #0
	beq	.L36
	mov	r3, #0
	b	.L45
.L36:
	sub	r3, fp, #1824
	sub	r3, r3, #4
	sub	r3, r3, #8
	str	r3, [fp, #-1908]
	mov	r3, #0
	str	r3, [fp, #-1928]
	b	.L37
.L38:
	ldr	r3, [fp, #-1908]
	ldr	r2, [fp, #-1928]
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-1928]
	add	r3, r3, #1
	str	r3, [fp, #-1928]
.L37:
	ldr	r3, [fp, #-1928]
	cmp	r3, #31
	bls	.L38
	ldr	r3, [fp, #-1916]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	mov	r2, r3
	lsl	r3, r2, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r1, [r3, #-1832]
	ldr	r3, [fp, #-1916]
	rsbs	r0, r3, #0
	and	r3, r3, #31
	and	r0, r0, #31
	rsbpl	r3, r0, #0
	mov	r0, #1
	lsl	r3, r0, r3
	orr	r1, r1, r3
	lsl	r3, r2, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	str	r1, [r3, #-1832]
	sub	r1, fp, #1824
	sub	r1, r1, #4
	sub	r1, r1, #8
	ldr	r3, .L51+28
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	ldr	r0, [fp, #-1912]
	bl	select
	str	r0, [fp, #-1904]
	ldr	r3, [fp, #-1904]
	cmp	r3, #0
	bge	.L39
	mov	r0, #5
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L39:
	ldr	r3, [fp, #-1904]
	cmp	r3, #0
	bne	.L40
	mov	r0, #6
	bl	emsg
	mov	r3, r0
	rsb	r3, r3, #0
	b	.L45
.L40:
	ldr	r3, [fp, #-1916]
	add	r2, r3, #31
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #5
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-1832]
	ldr	r3, [fp, #-1916]
	rsbs	r1, r3, #0
	and	r3, r3, #31
	and	r1, r1, #31
	rsbpl	r3, r1, #0
	mov	r1, #1
	lsl	r3, r1, r3
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L36
	sub	r3, fp, #1008
	mov	r2, #1000
	mov	r1, r3
	ldr	r0, [fp, #-1916]
	bl	read
	str	r0, [fp, #-1900]
	ldr	r3, [fp, #-1900]
	cmp	r3, #0
	blt	.L49
	ldr	r3, [fp, #-1900]
	cmp	r3, #0
	beq	.L50
	ldr	r2, [fp, #-1900]
	ldr	r3, .L51+60
	ldr	r3, [r3]
	sub	r0, fp, #1008
	mov	r1, #1
	bl	fwrite
	ldr	r3, [fp, #-1900]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	ldrb	r3, [r3, #-1004]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L36
	mov	r3, #0
	b	.L45
.L50:
	nop
	b	.L36
.L49:
	nop
	ldr	r3, .L51+60
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	fputc
	ldr	r0, [fp, #-1916]
	bl	close
	mov	r3, #0
.L45:
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L46
	bl	__stack_chk_fail
.L46:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC14
	.word	.LC9
	.word	opterr
	.word	optarg
	.word	.LC10
	.word	.LC11
	.word	274877907
	.word	timout
	.word	.LC12
	.word	baudlist
	.word	optind
	.word	stdin
	.word	.LC13
	.word	258
	.word	baudflag
	.word	stdout
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
