	.file	"1267136.c"
	.intel_syntax noprefix
	.text
	.globl	greenC
	.bss
	.align 8
	.type	greenC, @object
	.size	greenC, 8
greenC:
	.zero	8
	.globl	redC
	.align 8
	.type	redC, @object
	.size	redC, 8
redC:
	.zero	8
	.globl	resetC
	.align 8
	.type	resetC, @object
	.size	resetC, 8
resetC:
	.zero	8
	.globl	errStream
	.align 8
	.type	errStream, @object
	.size	errStream, 8
errStream:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.ascii	"Usage: %s [options] ['<command string>' ['<command string>']"
	.ascii	" ...]\n\nProgram reads CANopen gateway command strings from "
	.ascii	"arguments, standard input or\nfile. It sends commands to can"
	.ascii	"opend via socket, line after line. Response status\nis print"
	.ascii	"ed to standard error and response data (for example, value f"
	.ascii	"rom write\ncommand) is printed to standard output. Command s"
	.ascii	"trings from arguments must\nbe quoted. Socket is either unix"
	.ascii	" domain socket (default) or a remote tcp socket\n(option -t)"
	.ascii	". For more information see http://www.can-cia.org/, CiA 309 "
	.ascii	"standard.\n\nOptions:\n  -f <input file>  Path to the input "
	.ascii	"file.\n  -s <socket path> Path to the unix socket. If not sp"
	.ascii	"ecified, path is obtained\n                   from environme"
	.ascii	"ntal variable, configured with:\n                   'export "
	.ascii	"cocomm_socket=<socket path>'. If latter is not\n            "
	.ascii	"       specified, default value is used: '/tmp/CO_command_so"
	.ascii	"cket'.\n  -t <host>        Connect via tcp to remote <host>."
	.ascii	" Set also with\n                   'export cocomm_host=<host"
	.ascii	">'. Unix socket is used by default.\n  -p <port>        Tcp "
	.ascii	"port to connect to when using -t. Set also with\n           "
	.ascii	"        'export cocomm_port=<port>'. Default is 60000.\n  -i"
	.ascii	"               If set, then standard input will be read afte"
	.ascii	"r each command\n                   string from arguments. Us"
	.ascii	"eful with write commands.\n  -o all|data|flat By defult (set"
	.ascii	"ting 'all') outupt is split to colored stderr\n             "
	.ascii	"      and stdout. 'data' prints data only to stdout. 'flat' "
	.ascii	"prints\n                   all to stdout, set also with 'exp"
	.ascii	"ort cocomm_flat=<0|1>'.\n  -d <can device>  If specified, th"
	.ascii	"en candump of specified CAN device will be\n                "
	.ascii	"   printed after the command response. Set also with\n      "
	.ascii	"             'export cocomm_candump=<can device>'. Not used "
	.ascii	"by default.\n  -n <count>       Print <count> of candump mes"
	.ascii	"sages, then exit. Set also with\n                   'export "
	.ascii	"cocomm_candump_count=<count>'. Default is 10.\n  -T <msec>  "
	.ascii	"      Exit candump after <msec> without reception"
	.string	". Set also with\n                   'export cocomm_candump_timeout=<msec>'. Default is 1000.\n  --help           Display this help.\n\nFor help on command strings type '%s \"help\"'.\n\nSee also: https://github.com/CANopenNode/CANopenLinux\n\n"
	.text
	.type	printUsage, @function
printUsage:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR errStream[rip]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printUsage, .-printUsage
	.section	.rodata
.LC1:
	.string	"replyBuf malloc"
.LC2:
	.string	"] ERROR:"
.LC3:
	.string	"\r\n"
.LC4:
	.string	"%s%s%s"
.LC5:
	.string	"] OK\r\n"
.LC6:
	.string	"] "
.LC7:
	.string	"%s%s%s "
.LC8:
	.string	"\n...ERROR:0x"
.LC9:
	.string	"\n%s%s%s"
.LC10:
	.string	"\n%s...success%s\r\n"
.LC11:
	.string	"%sError, zero response%s\n"
.LC12:
	.string	"Socket read failed"
	.text
	.type	printReply, @function
printReply:
.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	edi, 1101
	call	malloc@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -80[rbp], 0
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -84[rbp], 0
	cmp	QWORD PTR -64[rbp], 0
	jne	.L3
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -80[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, 1000
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jle	.L4
	mov	rax, QWORD PTR -56[rbp]
	add	QWORD PTR -80[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	cmp	DWORD PTR -88[rbp], 1
	jne	.L5
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L6
	mov	rsi, QWORD PTR resetC[rip]
	mov	rdx, QWORD PTR redC[rip]
	mov	rax, QWORD PTR errStream[rip]
	mov	rcx, QWORD PTR -64[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -84[rbp], 1
	jmp	.L7
.L6:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	je	.L8
	mov	rsi, QWORD PTR resetC[rip]
	mov	rdx, QWORD PTR greenC[rip]
	mov	rax, QWORD PTR errStream[rip]
	mov	rcx, QWORD PTR -64[rbp]
	mov	r8, rsi
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -64[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR -64[rbp]
	cmp	rax, 14
	ja	.L9
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 2
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, rdx
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	mov	rsi, QWORD PTR resetC[rip]
	mov	rdx, QWORD PTR greenC[rip]
	mov	rax, QWORD PTR errStream[rip]
	mov	rcx, QWORD PTR -64[rbp]
	mov	r8, rsi
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L9:
	cmp	QWORD PTR -16[rbp], 0
	je	.L10
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR errStream[rip]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	jmp	.L7
.L10:
	cmp	QWORD PTR -80[rbp], 100
	jbe	.L11
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, 100
	mov	QWORD PTR -8[rbp], rax
	mov	rcx, QWORD PTR stdout[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -8[rbp]
	add	QWORD PTR -72[rbp], rax
	mov	QWORD PTR -80[rbp], 100
.L11:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	DWORD PTR -88[rbp], 0
	jmp	.L12
.L5:
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -64[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rsi, QWORD PTR resetC[rip]
	mov	rax, QWORD PTR -32[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR redC[rip]
	mov	rax, QWORD PTR errStream[rip]
	mov	r8, rsi
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -84[rbp], 1
	jmp	.L7
.L14:
	mov	rax, QWORD PTR -48[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rcx, QWORD PTR resetC[rip]
	mov	rdx, QWORD PTR greenC[rip]
	mov	rax, QWORD PTR errStream[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L7
.L13:
	cmp	QWORD PTR -80[rbp], 100
	jbe	.L12
	mov	rax, QWORD PTR -80[rbp]
	sub	rax, 100
	mov	QWORD PTR -40[rbp], rax
	mov	rcx, QWORD PTR stdout[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	QWORD PTR -80[rbp], 100
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	jmp	.L12
.L4:
	cmp	QWORD PTR -56[rbp], 0
	jne	.L16
	mov	rcx, QWORD PTR resetC[rip]
	mov	rdx, QWORD PTR redC[rip]
	mov	rax, QWORD PTR errStream[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -84[rbp], 1
	jmp	.L7
.L16:
	lea	rdi, .LC12[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	jmp	.L3
.L7:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR -84[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	printReply, .-printReply
	.section	.rodata
.LC13:
	.string	"/tmp/CO_command_socket"
.LC14:
	.string	"--help"
.LC15:
	.string	"cocomm_host"
.LC16:
	.string	"cocomm_port"
.LC17:
	.string	"cocomm_socket"
.LC18:
	.string	"cocomm_flat"
.LC19:
	.string	"1"
.LC20:
	.string	"cocomm_candump"
.LC21:
	.string	"cocomm_candump_count"
.LC22:
	.string	"cocomm_candump_timeout"
.LC23:
	.string	"data"
.LC24:
	.string	"flat"
.LC25:
	.string	"f:s:t:p:io:d:n:T:"
.LC26:
	.string	"\033[32m"
.LC27:
	.string	"\033[31m"
.LC28:
	.string	"\033[0m"
.LC29:
	.string	""
.LC30:
	.string	"w+"
.LC31:
	.string	"/dev/null"
.LC32:
	.string	"signal"
	.align 8
.LC33:
	.string	"Error! Getaddrinfo for host %s failed\n"
.LC34:
	.string	"Socket connection failed"
.LC35:
	.string	"Socket creation failed"
	.align 8
.LC36:
	.string	"Socket connection failed \"%s\": "
.LC37:
	.string	"CAN socket creation failed"
	.align 8
.LC38:
	.string	"CAN Socket binding failed \"%s\": "
.LC39:
	.string	"commBuf malloc"
.LC40:
	.string	"r"
.LC41:
	.string	"Can't open input file"
.LC42:
	.string	"%c %u"
.LC43:
	.string	"result = %u\n"
	.align 8
.LC44:
	.string	"syntax error on 'P'ause command\n"
.LC45:
	.string	"pause %u msec...\n"
.LC46:
	.string	"Socket write failed"
.LC47:
	.string	"[%d] "
.LC48:
	.string	"%sCommand string too long!%s\n"
.LC49:
	.string	"CAN raw socket read timeout"
.LC50:
	.string	"%03X#%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 584
	.cfi_offset 3, -24
	mov	DWORD PTR -580[rbp], edi
	mov	QWORD PTR -592[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -560[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	lea	rax, .LC13[rip]
	mov	QWORD PTR -504[rbp], rax
	movabs	rax, 206966894646
	mov	edx, 0
	mov	QWORD PTR -128[rbp], rax
	mov	QWORD PTR -120[rbp], rdx
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -556[rbp], 0
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 10
	mov	QWORD PTR -480[rbp], 1000
	mov	WORD PTR -562[rbp], 1
	mov	rax, QWORD PTR stderr[rip]
	mov	QWORD PTR errStream[rip], rax
	cmp	DWORD PTR -580[rbp], 1
	jle	.L19
	mov	rax, QWORD PTR -592[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L19
	mov	rax, QWORD PTR -592[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	printUsage
	mov	edi, 0
	call	exit@PLT
.L19:
	lea	rdi, .LC15[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L20
	mov	rcx, QWORD PTR -448[rbp]
	lea	rax, -96[rbp]
	mov	edx, 64
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	mov	WORD PTR -562[rbp], 2
.L20:
	lea	rdi, .LC16[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L21
	mov	rcx, QWORD PTR -448[rbp]
	lea	rax, -128[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
.L21:
	lea	rdi, .LC17[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -448[rbp]
	mov	QWORD PTR -504[rbp], rax
	mov	WORD PTR -562[rbp], 1
.L22:
	lea	rdi, .LC18[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L23
	mov	rax, QWORD PTR -448[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L23
	mov	DWORD PTR -560[rbp], 2
.L23:
	lea	rdi, .LC20[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -448[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L24
	mov	rax, QWORD PTR -448[rbp]
	mov	QWORD PTR -496[rbp], rax
.L24:
	lea	rdi, .LC21[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L25
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -488[rbp], rax
.L25:
	lea	rdi, .LC22[rip]
	call	getenv@PLT
	mov	QWORD PTR -448[rbp], rax
	cmp	QWORD PTR -448[rbp], 0
	je	.L27
	mov	rax, QWORD PTR -448[rbp]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -480[rbp], rax
	jmp	.L27
.L41:
	mov	eax, DWORD PTR -528[rbp]
	sub	eax, 84
	cmp	eax, 32
	ja	.L28
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L30[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L30[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L30:
	.long	.L38-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L37-.L30
	.long	.L28-.L30
	.long	.L36-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L35-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L34-.L30
	.long	.L33-.L30
	.long	.L32-.L30
	.long	.L28-.L30
	.long	.L28-.L30
	.long	.L31-.L30
	.long	.L29-.L30
	.text
.L36:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -512[rbp], rax
	jmp	.L27
.L31:
	mov	WORD PTR -562[rbp], 1
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -504[rbp], rax
	jmp	.L27
.L29:
	mov	WORD PTR -562[rbp], 2
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -96[rbp]
	mov	edx, 64
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	jmp	.L27
.L32:
	mov	rcx, QWORD PTR optarg[rip]
	lea	rax, -128[rbp]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncpy@PLT
	jmp	.L27
.L35:
	mov	DWORD PTR -556[rbp], 1
	jmp	.L27
.L33:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L39
	mov	DWORD PTR -560[rbp], 1
	jmp	.L27
.L39:
	mov	rax, QWORD PTR optarg[rip]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L27
	mov	DWORD PTR -560[rbp], 2
	jmp	.L27
.L37:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -496[rbp], rax
	jmp	.L27
.L34:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -488[rbp], rax
	jmp	.L27
.L38:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR -480[rbp], rax
	jmp	.L27
.L28:
	mov	rax, QWORD PTR -592[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	printUsage
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	rcx, QWORD PTR -592[rbp]
	mov	eax, DWORD PTR -580[rbp]
	lea	rdx, .LC25[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -528[rbp], eax
	cmp	DWORD PTR -528[rbp], -1
	jne	.L41
	cmp	DWORD PTR -560[rbp], 1
	je	.L42
	cmp	DWORD PTR -560[rbp], 2
	je	.L43
	lea	rax, .LC26[rip]
	mov	QWORD PTR greenC[rip], rax
	lea	rax, .LC27[rip]
	mov	QWORD PTR redC[rip], rax
	lea	rax, .LC28[rip]
	mov	QWORD PTR resetC[rip], rax
	mov	rax, QWORD PTR stderr[rip]
	mov	QWORD PTR errStream[rip], rax
	jmp	.L44
.L42:
	lea	rax, .LC29[rip]
	mov	QWORD PTR resetC[rip], rax
	mov	rax, QWORD PTR resetC[rip]
	mov	QWORD PTR redC[rip], rax
	mov	rax, QWORD PTR redC[rip]
	mov	QWORD PTR greenC[rip], rax
	lea	rsi, .LC30[rip]
	lea	rdi, .LC31[rip]
	call	fopen@PLT
	mov	QWORD PTR errStream[rip], rax
	jmp	.L44
.L43:
	lea	rax, .LC29[rip]
	mov	QWORD PTR resetC[rip], rax
	mov	rax, QWORD PTR resetC[rip]
	mov	QWORD PTR redC[rip], rax
	mov	rax, QWORD PTR redC[rip]
	mov	QWORD PTR greenC[rip], rax
	mov	rax, QWORD PTR stdout[rip]
	mov	QWORD PTR errStream[rip], rax
	nop
.L44:
	mov	esi, 1
	mov	edi, 13
	call	signal@PLT
	cmp	rax, -1
	jne	.L45
	lea	rdi, .LC32[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L45:
	cmp	WORD PTR -562[rbp], 2
	jne	.L46
	lea	rax, -368[rbp]
	mov	edx, 48
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	DWORD PTR -364[rbp], 2
	mov	DWORD PTR -360[rbp], 1
	mov	eax, DWORD PTR -368[rbp]
	or	eax, 2
	mov	DWORD PTR -368[rbp], eax
	lea	rcx, -384[rbp]
	lea	rdx, -368[rbp]
	lea	rsi, -128[rbp]
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -524[rbp], eax
	cmp	DWORD PTR -524[rbp], 0
	je	.L47
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -96[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L47:
	mov	rax, QWORD PTR -384[rbp]
	mov	QWORD PTR -472[rbp], rax
	jmp	.L48
.L52:
	mov	rax, QWORD PTR -472[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -472[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -472[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -552[rbp], eax
	cmp	DWORD PTR -552[rbp], -1
	jne	.L49
	mov	rax, QWORD PTR -472[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -472[rbp], rax
	jmp	.L48
.L49:
	mov	rax, QWORD PTR -472[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -472[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L96
	mov	eax, DWORD PTR -552[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rdi, .LC34[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	cmp	QWORD PTR -472[rbp], 0
	jne	.L52
	jmp	.L53
.L46:
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	socket@PLT
	mov	DWORD PTR -552[rbp], eax
	cmp	DWORD PTR -552[rbp], -1
	jne	.L54
	lea	rdi, .LC35[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L54:
	lea	rax, -304[rbp]
	mov	edx, 110
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	movzx	eax, WORD PTR -562[rbp]
	mov	WORD PTR -304[rbp], ax
	mov	rax, QWORD PTR -504[rbp]
	lea	rdx, -304[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 107
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	lea	rcx, -304[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	edx, 110
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	cmp	eax, -1
	jne	.L53
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -504[rbp]
	lea	rsi, .LC36[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L96:
	nop
.L53:
	cmp	QWORD PTR -496[rbp], 0
	je	.L55
	cmp	QWORD PTR -488[rbp], 0
	jle	.L55
	cmp	QWORD PTR -480[rbp], 0
	jle	.L55
	mov	edx, 1
	mov	esi, 3
	mov	edi, 29
	call	socket@PLT
	mov	DWORD PTR -548[rbp], eax
	cmp	DWORD PTR -548[rbp], 0
	jns	.L56
	lea	rdi, .LC37[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L56:
	mov	rcx, QWORD PTR -480[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	sar	rcx, 63
	mov	rdx, rcx
	sub	rax, rdx
	mov	QWORD PTR -384[rbp], rax
	mov	rcx, QWORD PTR -480[rbp]
	movabs	rdx, 2361183241434822607
	mov	rax, rcx
	imul	rdx
	mov	rax, rdx
	sar	rax, 7
	mov	rdx, rcx
	sar	rdx, 63
	sub	rax, rdx
	imul	rdx, rax, 1000
	mov	rax, rcx
	sub	rax, rdx
	imul	rax, rax, 1000
	mov	QWORD PTR -376[rbp], rax
	lea	rdx, -384[rbp]
	mov	eax, DWORD PTR -548[rbp]
	mov	r8d, 16
	mov	rcx, rdx
	mov	edx, 20
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	lea	rax, -368[rbp]
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -368[rbp], 29
	mov	rax, QWORD PTR -496[rbp]
	mov	rdi, rax
	call	if_nametoindex@PLT
	mov	DWORD PTR -364[rbp], eax
	mov	eax, DWORD PTR -364[rbp]
	test	eax, eax
	jne	.L57
	mov	rax, QWORD PTR -496[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L57:
	lea	rcx, -368[rbp]
	mov	eax, DWORD PTR -548[rbp]
	mov	edx, 24
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	mov	DWORD PTR -520[rbp], eax
	cmp	DWORD PTR -520[rbp], 0
	jns	.L97
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -496[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 0
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L55:
	mov	QWORD PTR -488[rbp], 0
	jmp	.L59
.L97:
	nop
.L59:
	mov	DWORD PTR -544[rbp], 0
	mov	edi, 1000
	call	malloc@PLT
	mov	QWORD PTR -440[rbp], rax
	cmp	QWORD PTR -440[rbp], 0
	jne	.L60
	lea	rdi, .LC39[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L60:
	cmp	QWORD PTR -512[rbp], 0
	je	.L61
	mov	rax, QWORD PTR -512[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -408[rbp], rax
	cmp	QWORD PTR -408[rbp], 0
	jne	.L63
	lea	rdi, .LC41[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	exit@PLT
.L69:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -400[rbp], rax
	cmp	QWORD PTR -400[rbp], 1
	ja	.L64
	jmp	.L63
.L64:
	mov	rax, QWORD PTR -440[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L65
	jmp	.L63
.L65:
	mov	rax, QWORD PTR -440[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 80
	jne	.L66
	mov	DWORD PTR -368[rbp], 1
	mov	BYTE PTR -384[rbp], 0
	lea	rcx, -368[rbp]
	lea	rdx, -384[rbp]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -516[rbp], eax
	mov	rax, QWORD PTR errStream[rip]
	mov	edx, DWORD PTR -516[rbp]
	lea	rsi, .LC43[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -516[rbp], 2
	je	.L67
	mov	rax, QWORD PTR errStream[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC44[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR errStream[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	edi, 1
	call	exit@PLT
.L67:
	mov	edx, DWORD PTR -368[rbp]
	mov	rax, QWORD PTR stdout[rip]
	lea	rsi, .LC45[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -368[rbp]
	imul	eax, eax, 1000
	mov	edi, eax
	call	usleep@PLT
	jmp	.L63
.L66:
	mov	rdx, QWORD PTR -400[rbp]
	mov	rcx, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rdx, QWORD PTR -400[rbp]
	cmp	rax, rdx
	je	.L68
	lea	rdi, .LC46[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	exit@PLT
.L68:
	mov	rax, QWORD PTR -400[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L63
	mov	eax, DWORD PTR -552[rbp]
	mov	edi, eax
	call	printReply
	cmp	eax, 1
	jne	.L63
	mov	DWORD PTR -544[rbp], 1
.L63:
	mov	rdx, QWORD PTR -408[rbp]
	mov	rax, QWORD PTR -440[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L69
	mov	rax, QWORD PTR -408[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L70
.L61:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -580[rbp], eax
	jle	.L84
	mov	eax, DWORD PTR optind[rip]
	mov	DWORD PTR -540[rbp], eax
	jmp	.L72
.L83:
	mov	eax, DWORD PTR -540[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -592[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -424[rbp], rax
	mov	rax, QWORD PTR -440[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	je	.L73
	mov	rax, QWORD PTR -424[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L73
	mov	edx, DWORD PTR optind[rip]
	mov	eax, DWORD PTR -540[rbp]
	sub	eax, edx
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -440[rbp]
	lea	rsi, .LC47[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
.L73:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rbx, rax
	mov	rax, QWORD PTR -424[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, rbx
	cmp	rax, 997
	jbe	.L74
	mov	rcx, QWORD PTR greenC[rip]
	mov	rdx, QWORD PTR redC[rip]
	mov	rax, QWORD PTR errStream[rip]
	lea	rsi, .LC48[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L75
.L74:
	mov	rdx, QWORD PTR -424[rbp]
	mov	rax, QWORD PTR -440[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	cmp	DWORD PTR -556[rbp], 0
	jne	.L76
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 10
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -416[rbp], rax
	mov	rdx, QWORD PTR -416[rbp]
	mov	rcx, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rdx, QWORD PTR -416[rbp]
	cmp	rax, rdx
	je	.L77
	lea	rdi, .LC46[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	exit@PLT
.L76:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -464[rbp], rax
.L82:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, QWORD PTR -464[rbp]
	mov	ecx, edx
	mov	edx, 999
	sub	edx, ecx
	mov	esi, edx
	mov	rcx, QWORD PTR -440[rbp]
	mov	rdx, QWORD PTR -464[rbp]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L78
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 10
.L78:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -464[rbp], rax
	mov	rax, QWORD PTR -464[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -564[rbp], al
	cmp	QWORD PTR -464[rbp], 997
	ja	.L79
	cmp	BYTE PTR -564[rbp], 10
	jne	.L98
.L79:
	mov	rdx, QWORD PTR -464[rbp]
	mov	rcx, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rdx, QWORD PTR -464[rbp]
	cmp	rax, rdx
	je	.L81
	lea	rdi, .LC46[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	exit@PLT
.L81:
	mov	rax, QWORD PTR -440[rbp]
	mov	BYTE PTR [rax], 0
	mov	QWORD PTR -464[rbp], 0
	jmp	.L80
.L98:
	nop
.L80:
	cmp	BYTE PTR -564[rbp], 10
	jne	.L82
.L77:
	mov	eax, DWORD PTR -552[rbp]
	mov	edi, eax
	call	printReply
	cmp	eax, 1
	jne	.L75
	mov	DWORD PTR -544[rbp], 1
.L75:
	add	DWORD PTR -540[rbp], 1
.L72:
	mov	eax, DWORD PTR -540[rbp]
	cmp	eax, DWORD PTR -580[rbp]
	jl	.L83
	jmp	.L70
.L87:
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -432[rbp], rax
	cmp	QWORD PTR -432[rbp], 0
	jne	.L85
	jmp	.L84
.L85:
	mov	rdx, QWORD PTR -432[rbp]
	mov	rcx, QWORD PTR -440[rbp]
	mov	eax, DWORD PTR -552[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rdx, QWORD PTR -432[rbp]
	cmp	rax, rdx
	je	.L86
	lea	rdi, .LC46[rip]
	call	perror@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 1
	call	exit@PLT
.L86:
	mov	rax, QWORD PTR -432[rbp]
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -440[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L84
	mov	eax, DWORD PTR -552[rbp]
	mov	edi, eax
	call	printReply
	cmp	eax, 1
	jne	.L84
	mov	DWORD PTR -544[rbp], 1
.L84:
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -440[rbp]
	mov	esi, 1000
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L87
.L70:
	mov	eax, DWORD PTR -552[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -440[rbp]
	mov	rdi, rax
	call	free@PLT
	cmp	QWORD PTR -488[rbp], 0
	jle	.L88
	mov	DWORD PTR -536[rbp], 0
	jmp	.L89
.L94:
	movabs	rax, 3978425819141910832
	movabs	rdx, 5063528411713059128
	mov	QWORD PTR -192[rbp], rax
	mov	QWORD PTR -184[rbp], rdx
	mov	BYTE PTR -176[rbp], 0
	lea	rcx, -320[rbp]
	mov	eax, DWORD PTR -548[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	QWORD PTR -392[rbp], rax
	cmp	QWORD PTR -392[rbp], 15
	jg	.L90
	lea	rdi, .LC49[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L90:
	lea	rax, -160[rbp]
	mov	QWORD PTR -456[rbp], rax
	mov	DWORD PTR -532[rbp], 0
	jmp	.L91
.L93:
	mov	eax, DWORD PTR -532[rbp]
	cdqe
	movzx	eax, BYTE PTR -312[rbp+rax]
	mov	BYTE PTR -563[rbp], al
	movzx	eax, BYTE PTR -563[rbp]
	shr	al, 4
	movzx	ecx, al
	mov	rax, QWORD PTR -456[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -456[rbp], rdx
	movsx	rdx, ecx
	movzx	edx, BYTE PTR -192[rbp+rdx]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR -563[rbp]
	and	eax, 15
	mov	ecx, eax
	mov	rax, QWORD PTR -456[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -456[rbp], rdx
	movsx	rdx, ecx
	movzx	edx, BYTE PTR -192[rbp+rdx]
	mov	BYTE PTR [rax], dl
	add	DWORD PTR -532[rbp], 1
.L91:
	movzx	eax, BYTE PTR -316[rbp]
	movzx	eax, al
	cmp	DWORD PTR -532[rbp], eax
	jge	.L92
	mov	eax, DWORD PTR -532[rbp]
	cmp	eax, 16
	jbe	.L93
.L92:
	mov	rax, QWORD PTR -456[rbp]
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -320[rbp]
	lea	rdx, -160[rbp]
	mov	esi, eax
	lea	rdi, .LC50[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -536[rbp], 1
.L89:
	mov	eax, DWORD PTR -536[rbp]
	cdqe
	cmp	QWORD PTR -488[rbp], rax
	jg	.L94
	mov	eax, DWORD PTR -548[rbp]
	mov	edi, eax
	call	close@PLT
.L88:
	mov	eax, DWORD PTR -544[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.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	"1267136.c"
	.text
	.comm	greenC,4,4
	.comm	redC,4,4
	.comm	resetC,4,4
	.comm	errStream,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: %s [options] ['<command string>' ['<command "
	.ascii	"string>'] ...]\012\012Program reads CANopen gateway"
	.ascii	" command strings from arguments, standard input or\012"
	.ascii	"file. It sends commands to canopend via socket, lin"
	.ascii	"e after line. Response status\012is printed to stan"
	.ascii	"dard error and response data (for example, value fr"
	.ascii	"om write\012command) is printed to standard output."
	.ascii	" Command strings from arguments must\012be quoted. "
	.ascii	"Socket is either unix domain socket (default) or a "
	.ascii	"remote tcp socket\012(option -t). For more informat"
	.ascii	"ion see http://www.can-cia.org/, CiA 309 standard.\012"
	.ascii	"\012Options:\012  -f <input file>  Path to the inpu"
	.ascii	"t file.\012  -s <socket path> Path to the unix sock"
	.ascii	"et. If not specified, path is obtained\012         "
	.ascii	"          from environmental variable, configured w"
	.ascii	"ith:\012                   'export cocomm_socket=<s"
	.ascii	"ocket path>'. If latter is not\012                 "
	.ascii	"  specified, default value is used: '/tmp/CO_comman"
	.ascii	"d_socket'.\012  -t <host>        Connect via tcp to"
	.ascii	" remote <host>. Set also with\012                  "
	.ascii	" 'export cocomm_host=<host>'. Unix socket is used b"
	.ascii	"y default.\012  -p <port>        Tcp port to connec"
	.ascii	"t to when using -t. Set also with\012              "
	.ascii	"     'export cocomm_port=<port>'. Default is 60000."
	.ascii	"\012  -i               If set, then standard input "
	.ascii	"will be read after each command\012                "
	.ascii	"   string from arguments. Useful with write command"
	.ascii	"s.\012  -o all|data|flat By defult (setting 'all') "
	.ascii	"outupt is split to colored stderr\012              "
	.ascii	"     and stdout. 'data' prints data only to stdout."
	.ascii	" 'flat' prints\012                   all to stdout,"
	.ascii	" set also with 'export cocomm_flat=<0|1>'.\012  -d "
	.ascii	"<can device>  If specified, then candump of specifi"
	.ascii	"ed CAN device will be\012                   printed"
	.ascii	" after the command response. Set also with\012     "
	.ascii	"              'export cocomm_candump=<can device>'."
	.ascii	" Not used by default.\012  -n <count>       Print <"
	.ascii	"count> of candump messages, then exit. Set also wit"
	.ascii	"h\012                   'export cocomm_candump_coun"
	.ascii	"t=<count>'. Default is 10.\012  -T <msec>        Ex"
	.ascii	"it candump after <msec> without reception"
	.ascii	". Set also with\012                   'export cocom"
	.ascii	"m_candump_timeout=<msec>'. Default is 1000.\012  --"
	.ascii	"help           Display this help.\012\012For help o"
	.ascii	"n command strings type '%s \"help\"'.\012\012See al"
	.ascii	"so: https://github.com/CANopenNode/CANopenLinux\012"
	.ascii	"\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	printUsage, %function
printUsage:
	@ 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, .L2
	ldr	r0, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	bl	fprintf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	errStream
	.word	.LC0
	.size	printUsage, .-printUsage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"replyBuf malloc\000"
	.align	2
.LC2:
	.ascii	"] ERROR:\000"
	.align	2
.LC3:
	.ascii	"\015\012\000"
	.align	2
.LC4:
	.ascii	"%s%s%s\000"
	.align	2
.LC5:
	.ascii	"] OK\015\012\000"
	.align	2
.LC6:
	.ascii	"] \000"
	.align	2
.LC7:
	.ascii	"%s%s%s \000"
	.align	2
.LC8:
	.ascii	"\012...ERROR:0x\000"
	.align	2
.LC9:
	.ascii	"\012%s%s%s\000"
	.align	2
.LC10:
	.ascii	"\012%s...success%s\015\012\000"
	.align	2
.LC11:
	.ascii	"%sError, zero response%s\012\000"
	.align	2
.LC12:
	.ascii	"Socket read failed\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	printReply, %function
printReply:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	str	r0, [fp, #-56]
	ldr	r0, .L20
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #1
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L5
	ldr	r0, .L20+4
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, #1000
	mov	r1, r3
	ldr	r0, [fp, #-56]
	bl	read
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-52]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L7
	ldr	r1, .L20+8
	ldr	r0, [fp, #-36]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r1, .L20+12
	ldr	r0, [fp, #-36]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+20
	ldr	r2, [r3]
	ldr	r3, .L20+24
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r1, .L20+28
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L9
.L8:
	ldr	r1, .L20+32
	ldr	r0, [fp, #-36]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+36
	ldr	r2, [r3]
	ldr	r3, .L20+24
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r1, .L20+28
	bl	fprintf
	b	.L9
.L10:
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-40]
	ldr	r1, .L20+40
	ldr	r0, [fp, #-36]
	bl	strstr
	str	r0, [fp, #-16]
	ldr	r1, .L20+12
	ldr	r0, [fp, #-36]
	bl	strstr
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L11
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-36]
	sub	r3, r2, r3
	cmp	r3, #14
	bhi	.L11
	ldr	r3, [fp, #-16]
	add	r3, r3, #2
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-52]
	sub	r3, r3, r2
	sub	r3, r3, #1
	str	r3, [fp, #-52]
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+36
	ldr	r2, [r3]
	ldr	r3, .L20+24
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-36]
	ldr	r1, .L20+44
	bl	fprintf
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L12
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	fputs
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L20+16
	ldr	r3, [r3]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L20+12
	bl	fwrite
	b	.L9
.L12:
	ldr	r3, [fp, #-52]
	cmp	r3, #100
	bls	.L13
	ldr	r3, [fp, #-52]
	sub	r3, r3, #100
	str	r3, [fp, #-8]
	ldr	r3, .L20+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mov	r1, #1
	ldr	r0, [fp, #-40]
	bl	fwrite
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-40]
	mov	r3, #100
	str	r3, [fp, #-52]
.L13:
	ldr	r2, [fp, #-52]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-36]
	bl	memmove
	mov	r3, #0
	str	r3, [fp, #-48]
	b	.L14
.L7:
	ldr	r1, .L20+12
	ldr	r0, [fp, #-36]
	bl	strstr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L15
	ldr	r1, .L20+52
	ldr	r0, [fp, #-36]
	bl	strstr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L16
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	fputs
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+20
	ldr	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r1, r3, #1
	ldr	r3, .L20+24
	ldr	r3, [r3]
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L20+56
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L9
.L16:
	ldr	r3, [fp, #-28]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	fputs
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+36
	ldr	r2, [r3]
	ldr	r3, .L20+24
	ldr	r3, [r3]
	ldr	r1, .L20+60
	bl	fprintf
	b	.L9
.L15:
	ldr	r3, [fp, #-52]
	cmp	r3, #100
	bls	.L14
	ldr	r3, [fp, #-52]
	sub	r3, r3, #100
	str	r3, [fp, #-24]
	ldr	r3, .L20+48
	ldr	r3, [r3]
	ldr	r2, [fp, #-24]
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	fwrite
	mov	r3, #100
	str	r3, [fp, #-52]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, [fp, #-36]
	bl	memmove
	b	.L14
.L6:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L20+16
	ldr	r0, [r3]
	ldr	r3, .L20+20
	ldr	r2, [r3]
	ldr	r3, .L20+24
	ldr	r3, [r3]
	ldr	r1, .L20+64
	bl	fprintf
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L9
.L18:
	ldr	r0, .L20+68
	bl	perror
	ldr	r0, [fp, #-36]
	bl	free
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, .L20+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	b	.L5
.L9:
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r3, [fp, #-44]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	1101
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	errStream
	.word	redC
	.word	resetC
	.word	.LC4
	.word	.LC5
	.word	greenC
	.word	.LC6
	.word	.LC7
	.word	stdout
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	printReply, .-printReply
	.section	.rodata
	.align	2
.LC13:
	.ascii	"/tmp/CO_command_socket\000"
	.align	2
.LC15:
	.ascii	"--help\000"
	.align	2
.LC16:
	.ascii	"cocomm_host\000"
	.align	2
.LC17:
	.ascii	"cocomm_port\000"
	.align	2
.LC18:
	.ascii	"cocomm_socket\000"
	.align	2
.LC19:
	.ascii	"cocomm_flat\000"
	.align	2
.LC20:
	.ascii	"1\000"
	.align	2
.LC21:
	.ascii	"cocomm_candump\000"
	.align	2
.LC22:
	.ascii	"cocomm_candump_count\000"
	.align	2
.LC23:
	.ascii	"cocomm_candump_timeout\000"
	.align	2
.LC24:
	.ascii	"data\000"
	.align	2
.LC25:
	.ascii	"flat\000"
	.align	2
.LC26:
	.ascii	"f:s:t:p:io:d:n:T:\000"
	.align	2
.LC27:
	.ascii	"\033[32m\000"
	.align	2
.LC28:
	.ascii	"\033[31m\000"
	.align	2
.LC29:
	.ascii	"\033[0m\000"
	.align	2
.LC30:
	.ascii	"\000"
	.align	2
.LC31:
	.ascii	"w+\000"
	.align	2
.LC32:
	.ascii	"/dev/null\000"
	.align	2
.LC33:
	.ascii	"signal\000"
	.align	2
.LC34:
	.ascii	"Error! Getaddrinfo for host %s failed\012\000"
	.align	2
.LC35:
	.ascii	"Socket connection failed\000"
	.align	2
.LC36:
	.ascii	"Socket creation failed\000"
	.align	2
.LC37:
	.ascii	"Socket connection failed \"%s\": \000"
	.align	2
.LC38:
	.ascii	"CAN socket creation failed\000"
	.align	2
.LC39:
	.ascii	"CAN Socket binding failed \"%s\": \000"
	.align	2
.LC40:
	.ascii	"commBuf malloc\000"
	.align	2
.LC41:
	.ascii	"r\000"
	.align	2
.LC42:
	.ascii	"Can't open input file\000"
	.align	2
.LC43:
	.ascii	"%c %u\000"
	.align	2
.LC44:
	.ascii	"result = %u\012\000"
	.align	2
.LC45:
	.ascii	"syntax error on 'P'ause command\012\000"
	.align	2
.LC46:
	.ascii	"pause %u msec...\012\000"
	.align	2
.LC47:
	.ascii	"Socket write failed\000"
	.align	2
.LC48:
	.ascii	"[%d] \000"
	.align	2
.LC49:
	.ascii	"%sCommand string too long!%s\012\000"
	.align	2
.LC50:
	.ascii	"\012\000"
	.align	2
.LC51:
	.ascii	" \000"
	.align	2
.LC53:
	.ascii	"CAN raw socket read timeout\000"
	.align	2
.LC54:
	.ascii	"%03X#%s\012\000"
	.align	2
.LC14:
	.ascii	"60000\000"
	.space	14
	.align	2
.LC52:
	.ascii	"0123456789ABCDEF\000"
	.align	2
.LC55:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 424
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #436
	str	r0, [fp, #-432]
	str	r1, [fp, #-436]
	ldr	r3, .L103
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-420]
	mov	r3, #0
	str	r3, [fp, #-416]
	ldr	r3, .L103+4
	str	r3, [fp, #-412]
	ldr	r2, .L103+8
	sub	r3, fp, #100
	ldm	r2, {r0, r1}
	str	r0, [r3]
	add	r3, r3, #4
	strh	r1, [r3]	@ movhi
	sub	r3, fp, #94
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	strh	r2, [r3, #2]	@ movhi
	strh	r2, [r3, #4]	@ movhi
	strh	r2, [r3, #6]	@ movhi
	strh	r2, [r3, #8]	@ movhi
	strh	r2, [r3, #10]	@ movhi
	strh	r2, [r3, #12]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-408]
	mov	r3, #0
	str	r3, [fp, #-404]
	mov	r3, #10
	str	r3, [fp, #-400]
	mov	r3, #1000
	str	r3, [fp, #-396]
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r3, .L103+12
	ldr	r3, [r3]
	ldr	r2, .L103+16
	str	r3, [r2]
	ldr	r3, [fp, #-432]
	cmp	r3, #1
	ble	.L23
	ldr	r3, [fp, #-436]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L103+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	ldr	r3, [fp, #-436]
	ldr	r3, [r3]
	mov	r0, r3
	bl	printUsage
	mov	r0, #0
	bl	exit
.L23:
	ldr	r0, .L103+24
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L24
	sub	r3, fp, #80
	mov	r2, #64
	ldr	r1, [fp, #-356]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	mov	r2, #2
	strh	r2, [r3]	@ movhi
.L24:
	ldr	r0, .L103+28
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L25
	sub	r3, fp, #100
	mov	r2, #20
	ldr	r1, [fp, #-356]
	mov	r0, r3
	bl	strncpy
.L25:
	ldr	r0, .L103+32
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-356]
	str	r3, [fp, #-412]
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
.L26:
	ldr	r0, .L103+36
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L27
	ldr	r1, .L103+40
	ldr	r0, [fp, #-356]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L27
	mov	r3, #2
	str	r3, [fp, #-420]
.L27:
	ldr	r0, .L103+44
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-356]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-356]
	str	r3, [fp, #-404]
.L28:
	ldr	r0, .L103+48
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L29
	ldr	r0, [fp, #-356]
	bl	atol
	str	r0, [fp, #-400]
.L29:
	ldr	r0, .L103+52
	bl	getenv
	str	r0, [fp, #-356]
	ldr	r3, [fp, #-356]
	cmp	r3, #0
	beq	.L31
	ldr	r0, [fp, #-356]
	bl	atol
	str	r0, [fp, #-396]
	b	.L31
.L45:
	ldr	r3, [fp, #-352]
	sub	r3, r3, #84
	cmp	r3, #32
	ldrls	pc, [pc, r3, asl #2]
	b	.L32
.L34:
	.word	.L42
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L41
	.word	.L32
	.word	.L40
	.word	.L32
	.word	.L32
	.word	.L39
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L32
	.word	.L38
	.word	.L37
	.word	.L36
	.word	.L32
	.word	.L32
	.word	.L35
	.word	.L33
.L40:
	ldr	r3, .L103+56
	ldr	r3, [r3]
	str	r3, [fp, #-416]
	b	.L31
.L35:
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r3, .L103+56
	ldr	r3, [r3]
	str	r3, [fp, #-412]
	b	.L31
.L33:
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r3, .L103+56
	ldr	r1, [r3]
	sub	r3, fp, #80
	mov	r2, #64
	mov	r0, r3
	bl	strncpy
	b	.L31
.L36:
	ldr	r3, .L103+56
	ldr	r1, [r3]
	sub	r3, fp, #100
	mov	r2, #20
	mov	r0, r3
	bl	strncpy
	b	.L31
.L39:
	mov	r3, #1
	str	r3, [fp, #-408]
	b	.L31
.L37:
	ldr	r3, .L103+56
	ldr	r3, [r3]
	ldr	r1, .L103+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L43
	mov	r3, #1
	str	r3, [fp, #-420]
	b	.L31
.L43:
	ldr	r3, .L103+56
	ldr	r3, [r3]
	ldr	r1, .L103+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	mov	r3, #2
	str	r3, [fp, #-420]
	b	.L31
.L41:
	ldr	r3, .L103+56
	ldr	r3, [r3]
	str	r3, [fp, #-404]
	b	.L31
.L38:
	ldr	r3, .L103+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-400]
	b	.L31
.L42:
	ldr	r3, .L103+56
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	str	r0, [fp, #-396]
	b	.L31
.L32:
	ldr	r3, [fp, #-436]
	ldr	r3, [r3]
	mov	r0, r3
	bl	printUsage
	mov	r0, #1
	bl	exit
.L31:
	ldr	r2, .L103+68
	ldr	r1, [fp, #-436]
	ldr	r0, [fp, #-432]
	bl	getopt
	str	r0, [fp, #-352]
	ldr	r3, [fp, #-352]
	cmn	r3, #1
	bne	.L45
	ldr	r3, [fp, #-420]
	cmp	r3, #1
	beq	.L46
	ldr	r3, [fp, #-420]
	cmp	r3, #2
	beq	.L47
	ldr	r3, .L103+72
	ldr	r2, .L103+76
	str	r2, [r3]
	ldr	r3, .L103+80
	ldr	r2, .L103+84
	str	r2, [r3]
	ldr	r3, .L103+88
	ldr	r2, .L103+92
	str	r2, [r3]
	ldr	r3, .L103+12
	ldr	r3, [r3]
	ldr	r2, .L103+16
	str	r3, [r2]
	b	.L48
.L46:
	ldr	r3, .L103+88
	ldr	r2, .L103+96
	str	r2, [r3]
	ldr	r3, .L103+88
	ldr	r3, [r3]
	ldr	r2, .L103+80
	str	r3, [r2]
	ldr	r3, .L103+80
	ldr	r3, [r3]
	ldr	r2, .L103+72
	str	r3, [r2]
	ldr	r1, .L103+100
	ldr	r0, .L103+104
	bl	fopen
	mov	r3, r0
	ldr	r2, .L103+16
	str	r3, [r2]
	b	.L48
.L47:
	ldr	r3, .L103+88
	ldr	r2, .L103+96
	str	r2, [r3]
	ldr	r3, .L103+88
	ldr	r3, [r3]
	ldr	r2, .L103+80
	str	r3, [r2]
	ldr	r3, .L103+80
	ldr	r3, [r3]
	ldr	r2, .L103+72
	str	r3, [r2]
	ldr	r3, .L103+108
	ldr	r3, [r3]
	ldr	r2, .L103+16
	str	r3, [r2]
	nop
.L48:
	mov	r1, #1
	mov	r0, #13
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L49
	ldr	r0, .L103+112
	bl	perror
	mov	r0, #1
	bl	exit
.L49:
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	ldrh	r3, [r3]
	cmp	r3, #2
	bne	.L50
	sub	r3, fp, #300
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #2
	str	r3, [fp, #-296]
	mov	r3, #1
	str	r3, [fp, #-292]
	ldr	r3, [fp, #-300]
	orr	r3, r3, #2
	str	r3, [fp, #-300]
	sub	r3, fp, #308
	sub	r2, fp, #300
	sub	r1, fp, #100
	sub	r0, fp, #80
	bl	getaddrinfo
	str	r0, [fp, #-348]
	ldr	r3, [fp, #-348]
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L103+12
	ldr	r3, [r3]
	sub	r2, fp, #80
	ldr	r1, .L103+116
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L51:
	ldr	r3, [fp, #-308]
	str	r3, [fp, #-384]
	b	.L52
.L56:
	ldr	r3, [fp, #-384]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-384]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-384]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmn	r3, #1
	bne	.L53
	ldr	r3, [fp, #-384]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-384]
	b	.L52
.L53:
	ldr	r3, [fp, #-384]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-384]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-392]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L100
	ldr	r0, [fp, #-392]
	bl	close
	ldr	r0, .L103+120
	bl	perror
	mov	r0, #1
	bl	exit
.L52:
	ldr	r3, [fp, #-384]
	cmp	r3, #0
	bne	.L56
	b	.L57
.L50:
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	socket
	str	r0, [fp, #-392]
	ldr	r3, [fp, #-392]
	cmn	r3, #1
	bne	.L58
	ldr	r0, .L103+124
	bl	perror
	mov	r0, #1
	bl	exit
.L58:
	sub	r3, fp, #252
	mov	r2, #110
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #12
	sub	r3, r3, #408
	sub	r3, r3, #2
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-252]	@ movhi
	sub	r3, fp, #252
	add	r3, r3, #2
	mov	r2, #107
	ldr	r1, [fp, #-412]
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #252
	mov	r2, #110
	mov	r1, r3
	ldr	r0, [fp, #-392]
	bl	connect
	mov	r3, r0
	cmn	r3, #1
	bne	.L57
	ldr	r3, .L103+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-412]
	ldr	r1, .L103+128
	mov	r0, r3
	bl	fprintf
	mov	r0, #0
	bl	perror
	mov	r0, #1
	bl	exit
.L100:
	nop
.L57:
	ldr	r3, [fp, #-404]
	cmp	r3, #0
	beq	.L59
	ldr	r3, [fp, #-400]
	cmp	r3, #0
	ble	.L59
	ldr	r3, [fp, #-396]
	cmp	r3, #0
	ble	.L59
	mov	r2, #1
	mov	r1, #3
	mov	r0, #29
	bl	socket
	str	r0, [fp, #-388]
	ldr	r3, [fp, #-388]
	cmp	r3, #0
	bge	.L60
	ldr	r0, .L103+132
	bl	perror
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, [fp, #-396]
	ldr	r2, .L103+136
	smull	r1, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	str	r3, [fp, #-308]
	ldr	r1, [fp, #-396]
	ldr	r3, .L103+136
	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
	str	r3, [fp, #-304]
	sub	r3, fp, #308
	mov	r2, #8
	str	r2, [sp]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, [fp, #-388]
	bl	setsockopt
	sub	r3, fp, #300
	mov	r2, #24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #12
	sub	r3, r3, #288
	mov	r2, #29
	strh	r2, [r3]	@ movhi
	ldr	r0, [fp, #-404]
	bl	if_nametoindex
	mov	r3, r0
	str	r3, [fp, #-296]
	ldr	r3, [fp, #-296]
	cmp	r3, #0
	bne	.L61
	ldr	r0, [fp, #-404]
	bl	perror
	mov	r0, #1
	bl	exit
.L61:
	sub	r3, fp, #300
	mov	r2, #24
	mov	r1, r3
	ldr	r0, [fp, #-388]
	bl	bind
	str	r0, [fp, #-344]
	ldr	r3, [fp, #-344]
	cmp	r3, #0
	bge	.L101
	ldr	r3, .L103+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-404]
	ldr	r1, .L103+140
	mov	r0, r3
	bl	fprintf
	mov	r0, #0
	bl	perror
	mov	r0, #1
	bl	exit
.L59:
	mov	r3, #0
	str	r3, [fp, #-400]
	b	.L63
.L101:
	nop
.L63:
	mov	r3, #0
	str	r3, [fp, #-380]
	mov	r0, #1000
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-340]
	ldr	r3, [fp, #-340]
	cmp	r3, #0
	bne	.L64
	ldr	r0, .L103+144
	bl	perror
	mov	r0, #1
	bl	exit
.L64:
	ldr	r3, [fp, #-416]
	cmp	r3, #0
	beq	.L65
	ldr	r1, .L103+148
	ldr	r0, [fp, #-416]
	bl	fopen
	str	r0, [fp, #-324]
	ldr	r3, [fp, #-324]
	cmp	r3, #0
	bne	.L67
	ldr	r0, .L103+152
	bl	perror
	ldr	r0, [fp, #-340]
	bl	free
	mov	r0, #1
	bl	exit
.L73:
	ldr	r0, [fp, #-340]
	bl	strlen
	str	r0, [fp, #-320]
	ldr	r3, [fp, #-320]
	cmp	r3, #1
	bhi	.L68
	b	.L67
.L68:
	ldr	r3, [fp, #-340]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L69
	b	.L67
.L69:
	ldr	r3, [fp, #-340]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #80
	bne	.L70
	mov	r3, #1
	str	r3, [fp, #-300]
	mov	r3, #0
	strb	r3, [fp, #-308]
	sub	r3, fp, #300
	sub	r2, fp, #308
	ldr	r1, .L103+156
	ldr	r0, [fp, #-340]
	bl	__isoc99_sscanf
	mov	r3, r0
	str	r3, [fp, #-316]
	ldr	r3, .L103+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-316]
	ldr	r1, .L103+160
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-316]
	cmp	r3, #2
	beq	.L71
	ldr	r3, .L103+16
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L103+164
	bl	fwrite
	ldr	r3, .L103+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r0, #1
	bl	exit
.L71:
	ldr	r3, .L103+108
	ldr	r3, [r3]
	ldr	r2, [fp, #-300]
	ldr	r1, .L103+168
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L103+108
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r2, [fp, #-300]
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r0, r3
	bl	usleep
	b	.L67
.L70:
	ldr	r2, [fp, #-320]
	ldr	r1, [fp, #-340]
	ldr	r0, [fp, #-392]
	bl	write
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-320]
	cmp	r3, r2
	beq	.L72
	ldr	r0, .L103+172
	bl	perror
	ldr	r0, [fp, #-340]
	bl	free
	mov	r0, #1
	bl	exit
.L72:
	ldr	r3, [fp, #-320]
	sub	r3, r3, #1
	ldr	r2, [fp, #-340]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L67
	ldr	r0, [fp, #-392]
	bl	printReply
	mov	r3, r0
	cmp	r3, #1
	bne	.L67
	mov	r3, #1
	str	r3, [fp, #-380]
.L67:
	ldr	r2, [fp, #-324]
	mov	r1, #1000
	ldr	r0, [fp, #-340]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L73
	ldr	r0, [fp, #-324]
	bl	fclose
	b	.L74
.L65:
	ldr	r3, .L103+176
	ldr	r3, [r3]
	ldr	r2, [fp, #-432]
	cmp	r2, r3
	ble	.L88
	ldr	r3, .L103+176
	ldr	r3, [r3]
	str	r3, [fp, #-376]
	b	.L76
.L87:
	ldr	r3, [fp, #-376]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-436]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-332]
	ldr	r3, [fp, #-340]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-332]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L77
	ldr	r3, [fp, #-332]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L77
	ldr	r3, .L103+176
	ldr	r3, [r3]
	ldr	r2, [fp, #-376]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, .L103+180
	ldr	r0, [fp, #-340]
	bl	sprintf
.L77:
	ldr	r0, [fp, #-340]
	bl	strlen
	mov	r4, r0
	ldr	r0, [fp, #-332]
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L103+184
	cmp	r3, r2
	bls	.L78
	ldr	r3, .L103+16
	ldr	r0, [r3]
	ldr	r3, .L103+80
	ldr	r2, [r3]
	ldr	r3, .L103+72
	ldr	r3, [r3]
	ldr	r1, .L103+188
	bl	fprintf
	b	.L79
.L78:
	ldr	r1, [fp, #-332]
	ldr	r0, [fp, #-340]
	bl	strcat
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	bne	.L80
	ldr	r0, [fp, #-340]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-340]
	add	r3, r3, r2
	ldr	r2, .L103+192
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-340]
	bl	strlen
	str	r0, [fp, #-328]
	ldr	r2, [fp, #-328]
	ldr	r1, [fp, #-340]
	ldr	r0, [fp, #-392]
	bl	write
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-328]
	cmp	r3, r2
	beq	.L81
	ldr	r0, .L103+172
	bl	perror
	ldr	r0, [fp, #-340]
	bl	free
	mov	r0, #1
	bl	exit
.L80:
	ldr	r0, [fp, #-340]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-340]
	add	r3, r3, r2
	ldr	r2, .L103+196
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r0, [fp, #-340]
	bl	strlen
	str	r0, [fp, #-372]
.L86:
	ldr	r2, [fp, #-340]
	ldr	r3, [fp, #-372]
	add	r0, r2, r3
	ldr	r3, [fp, #-372]
	rsb	r3, r3, #996
	add	r3, r3, #3
	mov	r1, r3
	ldr	r3, .L103+200
	ldr	r3, [r3]
	mov	r2, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L82
	ldr	r0, [fp, #-340]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-340]
	add	r3, r3, r2
	ldr	r2, .L103+192
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
.L82:
	ldr	r0, [fp, #-340]
	bl	strlen
	str	r0, [fp, #-372]
	ldr	r3, [fp, #-372]
	sub	r3, r3, #1
	ldr	r2, [fp, #-340]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-424]
	ldr	r3, [fp, #-372]
	ldr	r2, .L103+184
	cmp	r3, r2
	bhi	.L83
	ldrb	r3, [fp, #-424]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L102
.L83:
	ldr	r2, [fp, #-372]
	ldr	r1, [fp, #-340]
	ldr	r0, [fp, #-392]
	bl	write
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-372]
	cmp	r3, r2
	beq	.L85
	ldr	r0, .L103+172
	bl	perror
	ldr	r0, [fp, #-340]
	bl	free
	mov	r0, #1
	bl	exit
.L85:
	ldr	r3, [fp, #-340]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-372]
	b	.L84
.L102:
	nop
.L84:
	ldrb	r3, [fp, #-424]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L86
.L81:
	ldr	r0, [fp, #-392]
	bl	printReply
	mov	r3, r0
	cmp	r3, #1
	bne	.L79
	mov	r3, #1
	str	r3, [fp, #-380]
.L79:
	ldr	r3, [fp, #-376]
	add	r3, r3, #1
	str	r3, [fp, #-376]
.L76:
	ldr	r2, [fp, #-376]
	ldr	r3, [fp, #-432]
	cmp	r2, r3
	blt	.L87
	b	.L74
.L91:
	ldr	r0, [fp, #-340]
	bl	strlen
	str	r0, [fp, #-336]
	ldr	r3, [fp, #-336]
	cmp	r3, #0
	bne	.L89
	b	.L88
.L89:
	ldr	r2, [fp, #-336]
	ldr	r1, [fp, #-340]
	ldr	r0, [fp, #-392]
	bl	write
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-336]
	cmp	r3, r2
	beq	.L90
	ldr	r0, .L103+172
	bl	perror
	ldr	r0, [fp, #-340]
	bl	free
	mov	r0, #1
	bl	exit
.L90:
	ldr	r3, [fp, #-336]
	sub	r3, r3, #1
	ldr	r2, [fp, #-340]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L88
	ldr	r0, [fp, #-392]
	bl	printReply
	mov	r3, r0
	cmp	r3, #1
	bne	.L88
	mov	r3, #1
	str	r3, [fp, #-380]
.L88:
	ldr	r3, .L103+200
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #1000
	ldr	r0, [fp, #-340]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L91
.L74:
	ldr	r0, [fp, #-392]
	bl	close
	ldr	r0, [fp, #-340]
	bl	free
	ldr	r3, [fp, #-400]
	cmp	r3, #0
	ble	.L92
	mov	r3, #0
	str	r3, [fp, #-368]
	b	.L93
.L98:
	ldr	r3, .L103+204
	sub	ip, fp, #140
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strb	r3, [ip]
	sub	r3, fp, #268
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-388]
	bl	read
	str	r0, [fp, #-312]
	ldr	r3, [fp, #-312]
	cmp	r3, #15
	bgt	.L94
	ldr	r0, .L103+208
	bl	perror
	mov	r0, #1
	bl	exit
.L94:
	sub	r3, fp, #120
	str	r3, [fp, #-364]
	mov	r3, #0
	str	r3, [fp, #-360]
	b	.L95
.L97:
	sub	r2, fp, #260
	ldr	r3, [fp, #-360]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-423]
	ldrb	r3, [fp, #-423]	@ zero_extendqisi2
	lsr	r3, r3, #4
	and	r3, r3, #255
	mov	r1, r3
	ldr	r3, [fp, #-364]
	add	r2, r3, #1
	str	r2, [fp, #-364]
	sub	r2, fp, #12
	add	r2, r2, r1
	ldrb	r2, [r2, #-128]	@ zero_extendqisi2
	strb	r2, [r3]
	ldrb	r3, [fp, #-423]	@ zero_extendqisi2
	and	r2, r3, #15
	ldr	r3, [fp, #-364]
	add	r1, r3, #1
	str	r1, [fp, #-364]
	sub	r1, fp, #12
	add	r2, r1, r2
	ldrb	r2, [r2, #-128]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, [fp, #-360]
	add	r3, r3, #1
	str	r3, [fp, #-360]
.L95:
	ldrb	r3, [fp, #-264]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-360]
	cmp	r3, r2
	bge	.L96
	ldr	r3, [fp, #-360]
	cmp	r3, #16
	bls	.L97
.L96:
	ldr	r3, [fp, #-364]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-268]
	sub	r2, fp, #120
	mov	r1, r3
	ldr	r0, .L103+212
	bl	printf
	ldr	r3, [fp, #-368]
	add	r3, r3, #1
	str	r3, [fp, #-368]
.L93:
	ldr	r2, [fp, #-368]
	ldr	r3, [fp, #-400]
	cmp	r2, r3
	blt	.L98
	ldr	r0, [fp, #-388]
	bl	close
.L92:
	ldr	r0, [fp, #-380]
	bl	exit
.L104:
	.align	2
.L103:
	.word	.LC55
	.word	.LC13
	.word	.LC14
	.word	stderr
	.word	errStream
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	optarg
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	greenC
	.word	.LC27
	.word	redC
	.word	.LC28
	.word	resetC
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	stdout
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	274877907
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	optind
	.word	.LC48
	.word	997
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	stdin
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
