	.file	"50137687.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"verbose"
.LC1:
	.string	"help"
	.section	.data.rel.ro.local,"aw"
	.align 32
	.type	long_options, @object
	.size	long_options, 96
long_options:
	.quad	.LC0
	.long	0
	.zero	4
	.quad	0
	.long	118
	.zero	4
	.quad	.LC1
	.long	0
	.zero	4
	.quad	0
	.long	104
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.quad	0
	.long	0
	.zero	4
	.section	.rodata
.LC2:
	.string	"+hv"
.LC3:
	.string	"::"
.LC4:
	.string	"listen: %s:%s"
.LC5:
	.string	"accept"
.LC6:
	.string	"setremoteenv"
.LC7:
	.string	"getsockname"
.LC8:
	.string	"setlocalenv"
.LC9:
	.string	"dup2"
	.text
	.globl	main
	.type	main, @function
main:
.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, 336
	mov	DWORD PTR -324[rbp], edi
	mov	QWORD PTR -336[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -320[rbp], 0
	mov	DWORD PTR -316[rbp], 128
	mov	DWORD PTR -312[rbp], 128
	jmp	.L2
.L4:
	cmp	DWORD PTR -308[rbp], 118
	jne	.L3
	mov	eax, DWORD PTR -320[rbp]
	add	eax, 1
	mov	DWORD PTR -320[rbp], eax
	jmp	.L2
.L3:
	call	usage
.L2:
	mov	rsi, QWORD PTR -336[rbp]
	mov	eax, DWORD PTR -324[rbp]
	mov	r8d, 0
	lea	rcx, long_options[rip]
	lea	rdx, .LC2[rip]
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -308[rbp], eax
	cmp	DWORD PTR -308[rbp], -1
	jne	.L4
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -324[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -336[rbp], rax
	cmp	DWORD PTR -324[rbp], 1
	jg	.L5
	call	usage
.L5:
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -280[rbp], rax
	mov	rax, QWORD PTR -336[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -296[rbp], rax
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 91
	jne	.L6
	add	QWORD PTR -296[rbp], 1
	mov	rax, QWORD PTR -296[rbp]
	mov	esi, 93
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -280[rbp], rax
	cmp	QWORD PTR -280[rbp], 0
	jne	.L7
	call	usage
.L7:
	mov	rax, QWORD PTR -280[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -280[rbp], rdx
	mov	BYTE PTR [rax], 0
.L6:
	mov	rax, QWORD PTR -280[rbp]
	mov	esi, 58
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -288[rbp], rax
	cmp	QWORD PTR -288[rbp], 0
	jne	.L8
	mov	rax, QWORD PTR -296[rbp]
	mov	QWORD PTR -288[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -296[rbp], rax
	jmp	.L9
.L8:
	mov	rax, QWORD PTR -288[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -288[rbp], rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -296[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L9
	lea	rax, .LC3[rip]
	mov	QWORD PTR -296[rbp], rax
.L9:
	mov	rdx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tcpexec_listen
	mov	DWORD PTR -304[rbp], eax
	cmp	DWORD PTR -304[rbp], -1
	jne	.L10
	mov	rdx, QWORD PTR -288[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC4[rip]
	mov	edi, 111
	mov	eax, 0
	call	err@PLT
.L10:
	lea	rdx, -316[rbp]
	lea	rcx, -272[rbp]
	mov	eax, DWORD PTR -304[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	accept@PLT
	mov	DWORD PTR -300[rbp], eax
	cmp	DWORD PTR -300[rbp], -1
	jne	.L11
	lea	rsi, .LC5[rip]
	mov	edi, 111
	mov	eax, 0
	call	err@PLT
.L11:
	lea	rdx, -272[rbp]
	lea	rax, -320[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	setremoteenv
	cmp	eax, -1
	jne	.L12
	lea	rsi, .LC6[rip]
	mov	edi, 111
	mov	eax, 0
	call	err@PLT
.L12:
	lea	rdx, -312[rbp]
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -300[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	getsockname@PLT
	cmp	eax, -1
	jne	.L13
	lea	rsi, .LC7[rip]
	mov	edi, 111
	mov	eax, 0
	call	err@PLT
.L13:
	lea	rdx, -144[rbp]
	lea	rax, -320[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	setlocalenv
	cmp	eax, -1
	jne	.L14
	lea	rsi, .LC8[rip]
	mov	edi, 111
	mov	eax, 0
	call	err@PLT
.L14:
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	cmp	eax, -1
	je	.L15
	mov	eax, DWORD PTR -300[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	cmp	eax, -1
	jne	.L16
.L15:
	lea	rsi, .LC9[rip]
	mov	edi, 111
	mov	eax, 0
	call	err@PLT
.L16:
	mov	rax, QWORD PTR -336[rbp]
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -336[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	edi, 127
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
.LC10:
	.string	"getaddrinfo: %s\n"
	.text
	.type	tcpexec_listen, @function
tcpexec_listen:
.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	QWORD PTR -104[rbp], rdi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -88[rbp], -1
	mov	DWORD PTR -92[rbp], 1
	mov	DWORD PTR -60[rbp], 0
	mov	DWORD PTR -56[rbp], 1
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR -64[rbp], 1029
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	lea	rcx, -80[rbp]
	lea	rdx, -64[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	rax, QWORD PTR -104[rbp]
	mov	rdi, rax
	call	getaddrinfo@PLT
	mov	DWORD PTR -84[rbp], eax
	cmp	DWORD PTR -84[rbp], 0
	je	.L19
	mov	eax, DWORD PTR -84[rbp]
	mov	edi, eax
	call	gai_strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 22
	mov	eax, -1
	jmp	.L31
.L19:
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -72[rbp], rax
	jmp	.L21
.L29:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 8[rax]
	or	eax, 524288
	mov	ecx, eax
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, ecx
	mov	edi, eax
	call	socket@PLT
	mov	DWORD PTR -88[rbp], eax
	cmp	DWORD PTR -88[rbp], -1
	je	.L33
	lea	rdx, -92[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 2
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L24
	mov	eax, -1
	jmp	.L31
.L24:
	lea	rdx, -92[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	r8d, 4
	mov	rcx, rdx
	mov	edx, 15
	mov	esi, 1
	mov	edi, eax
	call	setsockopt@PLT
	cmp	eax, -1
	jne	.L25
	mov	eax, -1
	jmp	.L31
.L25:
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR 16[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR 24[rax]
	mov	eax, DWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	bind@PLT
	cmp	eax, -1
	jne	.L26
	mov	eax, -1
	jmp	.L31
.L26:
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, 4096
	mov	edi, eax
	call	listen@PLT
	test	eax, eax
	jns	.L34
	mov	eax, DWORD PTR -88[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L23
	mov	eax, -1
	jmp	.L31
.L33:
	nop
.L23:
	mov	rax, QWORD PTR -72[rbp]
	mov	rax, QWORD PTR 40[rax]
	mov	QWORD PTR -72[rbp], rax
.L21:
	cmp	QWORD PTR -72[rbp], 0
	jne	.L29
	jmp	.L28
.L34:
	nop
.L28:
	mov	rax, QWORD PTR -80[rbp]
	mov	rdi, rax
	call	freeaddrinfo@PLT
	cmp	QWORD PTR -72[rbp], 0
	jne	.L30
	mov	eax, -1
	jmp	.L31
.L30:
	mov	eax, DWORD PTR -88[rbp]
.L31:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L32
	call	__stack_chk_fail@PLT
.L32:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	tcpexec_listen, .-tcpexec_listen
	.section	.rodata
.LC11:
	.string	"TCP"
.LC12:
	.string	"PROTO"
.LC13:
	.string	"TCPREMOTEHOST"
.LC14:
	.string	"TCPREMOTEINFO"
.LC15:
	.string	"%u"
.LC16:
	.string	"remote:%s:%s\n"
.LC17:
	.string	"TCPREMOTEIP"
.LC18:
	.string	"TCPREMOTEPORT"
.LC19:
	.string	"remote:[%s]:%s\n"
	.text
	.type	setremoteenv, @function
setremoteenv:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	WORD PTR -20[rbp], 0
	mov	edx, 1
	lea	rsi, .LC11[rip]
	lea	rdi, .LC12[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L36
	mov	eax, -1
	jmp	.L53
.L36:
	lea	rdi, .LC13[rip]
	call	unsetenv@PLT
	cmp	eax, -1
	je	.L38
	lea	rdi, .LC14[rip]
	call	unsetenv@PLT
	cmp	eax, -1
	jne	.L39
.L38:
	mov	eax, -1
	jmp	.L53
.L39:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	cmp	eax, 2
	je	.L40
	cmp	eax, 10
	je	.L41
	nop
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 97
	mov	eax, -1
	jmp	.L53
.L40:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	lea	rax, -70[rbp]
	mov	ecx, edx
	lea	rdx, .LC15[rip]
	mov	esi, 6
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	js	.L43
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 6
	jbe	.L44
.L43:
	mov	eax, -1
	jmp	.L53
.L44:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L45
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -70[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L45:
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L46
	mov	eax, -1
	jmp	.L53
.L46:
	lea	rax, -70[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L47
	mov	eax, -1
	jmp	.L53
.L47:
	mov	eax, 0
	jmp	.L53
.L41:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	lea	rax, -70[rbp]
	mov	ecx, edx
	lea	rdx, .LC15[rip]
	mov	esi, 6
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	js	.L48
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 6
	jbe	.L49
.L48:
	mov	eax, -1
	jmp	.L53
.L49:
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, 8[rax]
	lea	rax, -64[rbp]
	mov	ecx, 46
	mov	rdx, rax
	mov	edi, 10
	call	inet_ntop@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L50
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, -70[rbp]
	lea	rdx, -64[rbp]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L50:
	lea	rax, -64[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L51
	mov	eax, -1
	jmp	.L53
.L51:
	lea	rax, -70[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L52
	mov	eax, -1
	jmp	.L53
.L52:
	mov	eax, 0
.L53:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L54
	call	__stack_chk_fail@PLT
.L54:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	setremoteenv, .-setremoteenv
	.section	.rodata
.LC20:
	.string	"TCPLOCALHOST"
.LC21:
	.string	"local:%s:%s\n"
.LC22:
	.string	"TCPLOCALIP"
.LC23:
	.string	"TCPLOCALPORT"
.LC24:
	.string	"local:[%s]:%s\n"
	.text
	.type	setlocalenv, @function
setlocalenv:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	WORD PTR -20[rbp], 0
	lea	rdi, .LC20[rip]
	call	unsetenv@PLT
	cmp	eax, -1
	jne	.L57
	mov	eax, -1
	jmp	.L72
.L57:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	cmp	eax, 2
	je	.L59
	cmp	eax, 10
	je	.L60
	nop
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 97
	mov	eax, -1
	jmp	.L72
.L59:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	lea	rax, -70[rbp]
	mov	ecx, edx
	lea	rdx, .LC15[rip]
	mov	esi, 6
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	js	.L62
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 6
	jbe	.L63
.L62:
	mov	eax, -1
	jmp	.L72
.L63:
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L64
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	rsi, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, -70[rbp]
	mov	rcx, rdx
	mov	rdx, rsi
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L64:
	mov	rax, QWORD PTR -96[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	inet_ntoa@PLT
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L65
	mov	eax, -1
	jmp	.L72
.L65:
	lea	rax, -70[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L66
	mov	eax, -1
	jmp	.L72
.L66:
	mov	eax, 0
	jmp	.L72
.L60:
	mov	rax, QWORD PTR -96[rbp]
	movzx	eax, WORD PTR 2[rax]
	movzx	eax, ax
	mov	edi, eax
	call	ntohs@PLT
	movzx	edx, ax
	lea	rax, -70[rbp]
	mov	ecx, edx
	lea	rdx, .LC15[rip]
	mov	esi, 6
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -76[rbp], eax
	cmp	DWORD PTR -76[rbp], 0
	js	.L67
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, 6
	jbe	.L68
.L67:
	mov	eax, -1
	jmp	.L72
.L68:
	mov	rax, QWORD PTR -96[rbp]
	lea	rsi, 8[rax]
	lea	rax, -64[rbp]
	mov	ecx, 46
	mov	rdx, rax
	mov	edi, 10
	call	inet_ntop@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jle	.L69
	mov	rax, QWORD PTR stderr[rip]
	lea	rcx, -70[rbp]
	lea	rdx, -64[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L69:
	lea	rax, -64[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L70
	mov	eax, -1
	jmp	.L72
.L70:
	lea	rax, -70[rbp]
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	call	setenv@PLT
	cmp	eax, -1
	jne	.L71
	mov	eax, -1
	jmp	.L72
.L71:
	mov	eax, 0
.L72:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L73
	call	__stack_chk_fail@PLT
.L73:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	setlocalenv, .-setlocalenv
	.section	.rodata
.LC25:
	.string	"0.1.1"
	.align 8
.LC26:
	.string	"[OPTION] [<IPADDR>:]<PORT> <COMMAND> <...>\nversion: %s\n-v, --verbose             write additional messages to stderr\n-h, --help                usage summary"
	.text
	.type	usage, @function
usage:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, .LC25[rip]
	lea	rsi, .LC26[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
	.cfi_endproc
.LFE10:
	.size	usage, .-usage
	.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	"50137687.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"verbose\000"
	.align	2
.LC1:
	.ascii	"help\000"
	.align	2
	.type	long_options, %object
	.size	long_options, 48
long_options:
	.word	.LC0
	.word	0
	.word	0
	.word	118
	.word	.LC1
	.word	0
	.word	0
	.word	104
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC2:
	.ascii	"+hv\000"
	.align	2
.LC3:
	.ascii	"::\000"
	.align	2
.LC4:
	.ascii	"listen: %s:%s\000"
	.align	2
.LC5:
	.ascii	"accept\000"
	.align	2
.LC6:
	.ascii	"setremoteenv\000"
	.align	2
.LC7:
	.ascii	"getsockname\000"
	.align	2
.LC8:
	.ascii	"setlocalenv\000"
	.align	2
.LC9:
	.ascii	"dup2\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 304
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #312
	str	r0, [fp, #-304]
	str	r1, [fp, #-308]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-300]
	mov	r3, #128
	str	r3, [fp, #-296]
	mov	r3, #128
	str	r3, [fp, #-292]
	b	.L2
.L4:
	ldr	r3, [fp, #-276]
	cmp	r3, #118
	bne	.L3
	ldr	r3, [fp, #-300]
	add	r3, r3, #1
	str	r3, [fp, #-300]
	b	.L2
.L3:
	bl	usage
.L2:
	mov	r3, #0
	str	r3, [sp]
	ldr	r3, .L18+4
	ldr	r2, .L18+8
	ldr	r1, [fp, #-308]
	ldr	r0, [fp, #-304]
	bl	getopt_long
	str	r0, [fp, #-276]
	ldr	r3, [fp, #-276]
	cmn	r3, #1
	bne	.L4
	ldr	r3, .L18+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-304]
	sub	r3, r2, r3
	str	r3, [fp, #-304]
	ldr	r3, .L18+12
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-308]
	add	r3, r2, r3
	str	r3, [fp, #-308]
	ldr	r3, [fp, #-304]
	cmp	r3, #1
	bgt	.L5
	bl	usage
.L5:
	ldr	r3, [fp, #-308]
	ldr	r3, [r3]
	str	r3, [fp, #-280]
	ldr	r3, [fp, #-308]
	ldr	r3, [r3]
	str	r3, [fp, #-288]
	ldr	r3, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L6
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
	mov	r1, #93
	ldr	r0, [fp, #-288]
	bl	strchr
	str	r0, [fp, #-280]
	ldr	r3, [fp, #-280]
	cmp	r3, #0
	bne	.L7
	bl	usage
.L7:
	ldr	r3, [fp, #-280]
	add	r2, r3, #1
	str	r2, [fp, #-280]
	mov	r2, #0
	strb	r2, [r3]
.L6:
	mov	r1, #58
	ldr	r0, [fp, #-280]
	bl	strrchr
	str	r0, [fp, #-284]
	ldr	r3, [fp, #-284]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-288]
	str	r3, [fp, #-284]
	ldr	r3, .L18+16
	str	r3, [fp, #-288]
	b	.L9
.L8:
	ldr	r3, [fp, #-284]
	add	r2, r3, #1
	str	r2, [fp, #-284]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L9
	ldr	r3, .L18+16
	str	r3, [fp, #-288]
.L9:
	ldr	r1, [fp, #-284]
	ldr	r0, [fp, #-288]
	bl	tcpexec_listen
	str	r0, [fp, #-272]
	ldr	r3, [fp, #-272]
	cmn	r3, #1
	bne	.L10
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	ldr	r1, .L18+20
	mov	r0, #111
	bl	err
.L10:
	sub	r2, fp, #296
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	accept
	str	r0, [fp, #-268]
	ldr	r3, [fp, #-268]
	cmn	r3, #1
	bne	.L11
	ldr	r1, .L18+24
	mov	r0, #111
	bl	err
.L11:
	sub	r2, fp, #264
	sub	r3, fp, #300
	mov	r1, r2
	mov	r0, r3
	bl	setremoteenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L12
	ldr	r1, .L18+28
	mov	r0, #111
	bl	err
.L12:
	sub	r2, fp, #292
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, [fp, #-268]
	bl	getsockname
	mov	r3, r0
	cmn	r3, #1
	bne	.L13
	ldr	r1, .L18+32
	mov	r0, #111
	bl	err
.L13:
	sub	r2, fp, #136
	sub	r3, fp, #300
	mov	r1, r2
	mov	r0, r3
	bl	setlocalenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L14
	ldr	r1, .L18+36
	mov	r0, #111
	bl	err
.L14:
	mov	r1, #1
	ldr	r0, [fp, #-268]
	bl	dup2
	mov	r3, r0
	cmn	r3, #1
	beq	.L15
	mov	r1, #0
	ldr	r0, [fp, #-268]
	bl	dup2
	mov	r3, r0
	cmn	r3, #1
	bne	.L16
.L15:
	ldr	r1, .L18+40
	mov	r0, #111
	bl	err
.L16:
	ldr	r3, [fp, #-308]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-308]
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r0, #127
	bl	exit
.L19:
	.align	2
.L18:
	.word	.LC10
	.word	long_options
	.word	.LC2
	.word	optind
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.section	.rodata
	.align	2
.LC11:
	.ascii	"getaddrinfo: %s\012\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tcpexec_listen, %function
tcpexec_listen:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-72]
	str	r1, [fp, #-76]
	ldr	r3, .L37
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #48
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mvn	r3, #0
	str	r3, [fp, #-56]
	mov	r3, #1
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r3, #1
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, .L37+4
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #68
	sub	r2, fp, #48
	ldr	r1, [fp, #-76]
	ldr	r0, [fp, #-72]
	bl	getaddrinfo
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L21
	ldr	r3, .L37+8
	ldr	r4, [r3]
	ldr	r0, [fp, #-52]
	bl	gai_strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L37+12
	mov	r0, r4
	bl	fprintf
	bl	__errno_location
	mov	r3, r0
	mov	r2, #22
	str	r2, [r3]
	mvn	r3, #0
	b	.L33
.L21:
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-60]
	b	.L23
.L31:
	ldr	r3, [fp, #-60]
	ldr	r0, [r3, #4]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #8]
	orr	r1, r3, #524288
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #12]
	mov	r2, r3
	bl	socket
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	cmn	r3, #1
	beq	.L35
	sub	r3, fp, #64
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, [fp, #-56]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L26
	mvn	r3, #0
	b	.L33
.L26:
	sub	r3, fp, #64
	mov	r2, #4
	str	r2, [sp]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, [fp, #-56]
	bl	setsockopt
	mov	r3, r0
	cmn	r3, #1
	bne	.L27
	mvn	r3, #0
	b	.L33
.L27:
	ldr	r3, [fp, #-60]
	ldr	r1, [r3, #20]
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #16]
	mov	r2, r3
	ldr	r0, [fp, #-56]
	bl	bind
	mov	r3, r0
	cmn	r3, #1
	bne	.L28
	mvn	r3, #0
	b	.L33
.L28:
	mov	r1, #4096
	ldr	r0, [fp, #-56]
	bl	listen
	mov	r3, r0
	cmp	r3, #0
	bge	.L36
	ldr	r0, [fp, #-56]
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L25
	mvn	r3, #0
	b	.L33
.L35:
	nop
.L25:
	ldr	r3, [fp, #-60]
	ldr	r3, [r3, #28]
	str	r3, [fp, #-60]
.L23:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L31
	b	.L30
.L36:
	nop
.L30:
	ldr	r3, [fp, #-68]
	mov	r0, r3
	bl	freeaddrinfo
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bne	.L32
	mvn	r3, #0
	b	.L33
.L32:
	ldr	r3, [fp, #-56]
.L33:
	ldr	r2, .L37
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L38:
	.align	2
.L37:
	.word	.LC12
	.word	1029
	.word	stderr
	.word	.LC11
	.size	tcpexec_listen, .-tcpexec_listen
	.section	.rodata
	.align	2
.LC13:
	.ascii	"TCP\000"
	.align	2
.LC14:
	.ascii	"PROTO\000"
	.align	2
.LC15:
	.ascii	"TCPREMOTEHOST\000"
	.align	2
.LC16:
	.ascii	"TCPREMOTEINFO\000"
	.align	2
.LC17:
	.ascii	"%u\000"
	.align	2
.LC18:
	.ascii	"remote:%s:%s\012\000"
	.align	2
.LC19:
	.ascii	"TCPREMOTEIP\000"
	.align	2
.LC20:
	.ascii	"TCPREMOTEPORT\000"
	.align	2
.LC21:
	.ascii	"remote:[%s]:%s\012\000"
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setremoteenv, %function
setremoteenv:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L60
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #60
	mov	r2, #42
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r2, #1
	ldr	r1, .L60+4
	ldr	r0, .L60+8
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L40
	mvn	r3, #0
	b	.L57
.L40:
	ldr	r0, .L60+12
	bl	unsetenv
	mov	r3, r0
	cmn	r3, #1
	beq	.L42
	ldr	r0, .L60+16
	bl	unsetenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L43
.L42:
	mvn	r3, #0
	b	.L57
.L43:
	ldr	r3, [fp, #-84]
	ldrh	r3, [r3]
	cmp	r3, #2
	beq	.L44
	cmp	r3, #10
	beq	.L45
	nop
	bl	__errno_location
	mov	r3, r0
	mov	r2, #97
	str	r2, [r3]
	mvn	r3, #0
	b	.L57
.L44:
	ldr	r3, [fp, #-84]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #72
	ldr	r2, .L60+20
	mov	r1, #6
	bl	snprintf
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L47
	ldr	r3, [fp, #-76]
	cmp	r3, #6
	bls	.L48
.L47:
	mvn	r3, #0
	b	.L57
.L48:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L49
	ldr	r3, .L60+24
	ldr	r4, [r3]
	ldr	r3, [fp, #-84]
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r2, r0
	sub	r3, fp, #72
	ldr	r1, .L60+28
	mov	r0, r4
	bl	fprintf
.L49:
	ldr	r3, [fp, #-84]
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r3, r0
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L60+32
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L50
	mvn	r3, #0
	b	.L57
.L50:
	sub	r3, fp, #72
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L60+36
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L51
	mvn	r3, #0
	b	.L57
.L51:
	mov	r3, #0
	b	.L57
.L45:
	ldr	r3, [fp, #-84]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #72
	ldr	r2, .L60+20
	mov	r1, #6
	bl	snprintf
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L52
	ldr	r3, [fp, #-76]
	cmp	r3, #6
	bls	.L53
.L52:
	mvn	r3, #0
	b	.L57
.L53:
	ldr	r3, [fp, #-84]
	add	r1, r3, #8
	sub	r2, fp, #64
	mov	r3, #46
	mov	r0, #10
	bl	inet_ntop
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L54
	ldr	r3, .L60+24
	ldr	r0, [r3]
	sub	r3, fp, #72
	sub	r2, fp, #64
	ldr	r1, .L60+40
	bl	fprintf
.L54:
	sub	r3, fp, #64
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L60+32
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L55
	mvn	r3, #0
	b	.L57
.L55:
	sub	r3, fp, #72
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L60+36
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L56
	mvn	r3, #0
	b	.L57
.L56:
	mov	r3, #0
.L57:
	ldr	r2, .L60
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L58
	bl	__stack_chk_fail
.L58:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L61:
	.align	2
.L60:
	.word	.LC22
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	stderr
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.size	setremoteenv, .-setremoteenv
	.section	.rodata
	.align	2
.LC23:
	.ascii	"TCPLOCALHOST\000"
	.align	2
.LC24:
	.ascii	"local:%s:%s\012\000"
	.align	2
.LC25:
	.ascii	"TCPLOCALIP\000"
	.align	2
.LC26:
	.ascii	"TCPLOCALPORT\000"
	.align	2
.LC27:
	.ascii	"local:[%s]:%s\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	setlocalenv, %function
setlocalenv:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L81
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-64]
	sub	r3, fp, #60
	mov	r2, #42
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r0, .L81+4
	bl	unsetenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L63
	mvn	r3, #0
	b	.L78
.L63:
	ldr	r3, [fp, #-84]
	ldrh	r3, [r3]
	cmp	r3, #2
	beq	.L65
	cmp	r3, #10
	beq	.L66
	nop
	bl	__errno_location
	mov	r3, r0
	mov	r2, #97
	str	r2, [r3]
	mvn	r3, #0
	b	.L78
.L65:
	ldr	r3, [fp, #-84]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #72
	ldr	r2, .L81+8
	mov	r1, #6
	bl	snprintf
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L68
	ldr	r3, [fp, #-76]
	cmp	r3, #6
	bls	.L69
.L68:
	mvn	r3, #0
	b	.L78
.L69:
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L70
	ldr	r3, .L81+12
	ldr	r4, [r3]
	ldr	r3, [fp, #-84]
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r2, r0
	sub	r3, fp, #72
	ldr	r1, .L81+16
	mov	r0, r4
	bl	fprintf
.L70:
	ldr	r3, [fp, #-84]
	ldr	r0, [r3, #4]
	bl	inet_ntoa
	mov	r3, r0
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L81+20
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L71
	mvn	r3, #0
	b	.L78
.L71:
	sub	r3, fp, #72
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L81+24
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L72
	mvn	r3, #0
	b	.L78
.L72:
	mov	r3, #0
	b	.L78
.L66:
	ldr	r3, [fp, #-84]
	ldrh	r3, [r3, #2]
	mov	r0, r3
	bl	ntohs
	mov	r3, r0
	sub	r0, fp, #72
	ldr	r2, .L81+8
	mov	r1, #6
	bl	snprintf
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	blt	.L73
	ldr	r3, [fp, #-76]
	cmp	r3, #6
	bls	.L74
.L73:
	mvn	r3, #0
	b	.L78
.L74:
	ldr	r3, [fp, #-84]
	add	r1, r3, #8
	sub	r2, fp, #64
	mov	r3, #46
	mov	r0, #10
	bl	inet_ntop
	ldr	r3, [fp, #-80]
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L75
	ldr	r3, .L81+12
	ldr	r0, [r3]
	sub	r3, fp, #72
	sub	r2, fp, #64
	ldr	r1, .L81+28
	bl	fprintf
.L75:
	sub	r3, fp, #64
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L81+20
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L76
	mvn	r3, #0
	b	.L78
.L76:
	sub	r3, fp, #72
	mov	r2, #1
	mov	r1, r3
	ldr	r0, .L81+24
	bl	setenv
	mov	r3, r0
	cmn	r3, #1
	bne	.L77
	mvn	r3, #0
	b	.L78
.L77:
	mov	r3, #0
.L78:
	ldr	r2, .L81
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L79
	bl	__stack_chk_fail
.L79:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L82:
	.align	2
.L81:
	.word	.LC28
	.word	.LC23
	.word	.LC17
	.word	stderr
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	setlocalenv, .-setlocalenv
	.section	.rodata
	.align	2
.LC29:
	.ascii	"0.1.1\000"
	.align	2
.LC30:
	.ascii	"[OPTION] [<IPADDR>:]<PORT> <COMMAND> <...>\012versi"
	.ascii	"on: %s\012-v, --verbose             write additiona"
	.ascii	"l messages to stderr\012-h, --help                u"
	.ascii	"sage summary\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L84
	ldr	r1, .L84+4
	mov	r0, #1
	bl	errx
.L85:
	.align	2
.L84:
	.word	.LC29
	.word	.LC30
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
