	.file	"1090742.c"
	.intel_syntax noprefix
	.text
	.globl	instr
	.section	.rodata
.LC0:
	.string	"show"
.LC1:
	.string	"set"
.LC2:
	.string	"export"
.LC3:
	.string	"unexport"
.LC4:
	.string	"exit"
.LC5:
	.string	"wait"
.LC6:
	.string	"team"
	.section	.data.rel.local,"aw"
	.align 32
	.type	instr, @object
	.size	instr, 64
instr:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC0
	.quad	.LC4
	.quad	.LC5
	.quad	.LC6
	.globl	varmax
	.data
	.align 4
	.type	varmax, @object
	.size	varmax, 4
varmax:
	.long	3
	.globl	varname
	.align 32
	.type	varname, @object
	.size	varname, 16384
varname:
	.string	"$"
	.string	""
	.zero	125
	.string	"?"
	.string	""
	.zero	125
	.string	"!"
	.string	""
	.zero	125
	.string	""
	.string	""
	.zero	126
	.zero	15872
	.globl	varvalue
	.bss
	.align 32
	.type	varvalue, @object
	.size	varvalue, 16384
varvalue:
	.zero	16384
	.globl	childnum
	.align 4
	.type	childnum, @object
	.size	childnum, 4
childnum:
	.zero	4
	.globl	childpid
	.align 4
	.type	childpid, @object
	.size	childpid, 4
childpid:
	.zero	4
	.globl	rootpid
	.align 4
	.type	rootpid, @object
	.size	rootpid, 4
rootpid:
	.zero	4
	.globl	rootdir
	.align 32
	.type	rootdir, @object
	.size	rootdir, 128
rootdir:
	.zero	128
	.section	.rodata
.LC7:
	.string	"%d"
	.align 8
.LC8:
	.string	"-xssh: Error on signal ctrlsig"
.LC9:
	.string	"xssh>> "
	.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, 192
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	getpid@PLT
	mov	DWORD PTR rootpid[rip], eax
	mov	eax, DWORD PTR rootpid[rip]
	mov	DWORD PTR childpid[rip], eax
	mov	eax, DWORD PTR rootpid[rip]
	mov	edx, eax
	lea	rsi, .LC7[rip]
	lea	rdi, varvalue[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rsi, ctrlsig[rip]
	mov	edi, 2
	call	signal@PLT
	cmp	rax, -1
	jne	.L2
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L2:
	mov	DWORD PTR -192[rbp], 0
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	edi, eax
	call	isatty@PLT
	test	eax, eax
	je	.L3
	mov	DWORD PTR -192[rbp], 1
.L3:
	cmp	DWORD PTR -192[rbp], 0
	je	.L5
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L5
.L23:
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	substitute
	lea	rax, -144[rbp]
	mov	esi, 35
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -176[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -176[rbp]
	add	rax, 1
	mov	BYTE PTR [rax], 0
.L6:
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	deinstr
	mov	DWORD PTR -188[rbp], eax
	cmp	DWORD PTR -188[rbp], 1
	jne	.L7
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	show
	jmp	.L8
.L7:
	cmp	DWORD PTR -188[rbp], 2
	jne	.L9
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	set
	jmp	.L8
.L9:
	cmp	DWORD PTR -188[rbp], 3
	jne	.L10
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	export
	jmp	.L8
.L10:
	cmp	DWORD PTR -188[rbp], 4
	jne	.L11
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	unexport
	jmp	.L8
.L11:
	cmp	DWORD PTR -188[rbp], 5
	jne	.L12
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	show
	jmp	.L8
.L12:
	cmp	DWORD PTR -188[rbp], 6
	jne	.L13
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	xsshexit
	jmp	.L24
.L13:
	cmp	DWORD PTR -188[rbp], 7
	jne	.L15
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	waitchild
	jmp	.L8
.L15:
	cmp	DWORD PTR -188[rbp], 8
	jne	.L16
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	team
	jmp	.L8
.L16:
	cmp	DWORD PTR -188[rbp], 9
	jne	.L17
	jmp	.L5
.L17:
	lea	rax, -144[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -168[rbp], rax
	lea	rax, -144[rbp]
	mov	esi, 60
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -160[rbp], rax
	lea	rax, -144[rbp]
	mov	esi, 62
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	je	.L18
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	pipeprog
	mov	DWORD PTR -180[rbp], eax
	cmp	DWORD PTR -180[rbp], 0
	je	.L8
	jmp	.L19
.L18:
	cmp	QWORD PTR -160[rbp], 0
	jne	.L20
	cmp	QWORD PTR -152[rbp], 0
	je	.L21
.L20:
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	redirectprog
	jmp	.L8
.L21:
	lea	rax, -144[rbp]
	mov	rdi, rax
	call	program
	mov	DWORD PTR -184[rbp], eax
	cmp	DWORD PTR -184[rbp], 0
	jne	.L26
.L8:
	cmp	DWORD PTR -192[rbp], 0
	je	.L22
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
.L22:
	lea	rax, -144[rbp]
	mov	edx, 128
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L5:
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -144[rbp]
	mov	esi, 128
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L23
	jmp	.L19
.L26:
	nop
.L19:
	mov	eax, -1
.L24:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	xsshexit
	.type	xsshexit, @function
xsshexit:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L28
.L29:
	add	QWORD PTR -24[rbp], 1
.L28:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L29
	mov	DWORD PTR -8[rbp], 5
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L30
.L31:
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	ecx, eax
	mov	edx, DWORD PTR -8[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 48
	add	eax, ecx
	mov	DWORD PTR -12[rbp], eax
	add	DWORD PTR -16[rbp], 1
.L30:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L31
	cmp	DWORD PTR -12[rbp], 255
	jg	.L32
	cmp	DWORD PTR -12[rbp], 0
	js	.L32
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	exit@PLT
.L32:
	mov	edi, -1
	call	exit@PLT
	.cfi_endproc
.LFE7:
	.size	xsshexit, .-xsshexit
	.globl	show
	.type	show, @function
show:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L34
.L35:
	add	QWORD PTR -24[rbp], 1
.L34:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L35
	mov	DWORD PTR -4[rbp], 5
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	show, .-show
	.section	.rodata
.LC10:
	.string	"teammembers: Yupeng Lei"
	.text
	.globl	team
	.type	team, @function
team:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	jmp	.L37
.L38:
	add	QWORD PTR -8[rbp], 1
.L37:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L38
	lea	rdi, .LC10[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	team, .-team
	.section	.rodata
.LC11:
	.string	"-xssh: Export variable %s.\n"
	.align 8
.LC12:
	.string	"-xssh: Existing variable %s is %s.\n"
	.text
	.globl	export
	.type	export, @function
export:
.LFB10:
	.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, 200
	.cfi_offset 3, -24
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	jmp	.L40
.L41:
	add	QWORD PTR -200[rbp], 1
.L40:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L41
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -168[rbp], 7
	jmp	.L42
.L43:
	add	DWORD PTR -168[rbp], 1
.L42:
	mov	eax, DWORD PTR -168[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L43
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -180[rbp], eax
	jmp	.L44
.L46:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, DWORD PTR -168[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -160[rbp+rax], dl
	add	DWORD PTR -180[rbp], 1
.L44:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L45
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L45
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L45
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L46
.L45:
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, DWORD PTR -168[rbp]
	cdqe
	mov	BYTE PTR -160[rbp+rax], 0
	mov	DWORD PTR -176[rbp], 0
	jmp	.L47
.L50:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jne	.L48
	mov	DWORD PTR -172[rbp], 1
	jmp	.L49
.L48:
	add	DWORD PTR -176[rbp], 1
.L47:
	mov	eax, DWORD PTR varmax[rip]
	cmp	DWORD PTR -176[rbp], eax
	jl	.L50
.L49:
	cmp	DWORD PTR -172[rbp], 0
	jne	.L51
	mov	eax, DWORD PTR varmax[rip]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	eax, DWORD PTR varmax[rip]
	add	eax, 1
	mov	DWORD PTR varmax[rip], eax
	mov	eax, DWORD PTR varmax[rip]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varvalue[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR varmax[rip]
	sub	eax, 1
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L54
.L51:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varvalue[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rcx, rax
	lea	rax, varname[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L54:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	export, .-export
	.section	.rodata
	.align 8
.LC13:
	.string	"-xssh: Variable %s does not exist.\n"
	.align 8
.LC14:
	.string	"-xssh: Variable %s is unexported.\n"
	.text
	.globl	unexport
	.type	unexport, @function
unexport:
.LFB11:
	.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, 200
	.cfi_offset 3, -24
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	jmp	.L56
.L57:
	add	QWORD PTR -200[rbp], 1
.L56:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L57
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -168[rbp], 9
	jmp	.L58
.L59:
	add	DWORD PTR -168[rbp], 1
.L58:
	mov	eax, DWORD PTR -168[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L59
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -180[rbp], eax
	jmp	.L60
.L62:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, DWORD PTR -168[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -160[rbp+rax], dl
	add	DWORD PTR -180[rbp], 1
.L60:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L61
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L61
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L61
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L62
.L61:
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, DWORD PTR -168[rbp]
	cdqe
	mov	BYTE PTR -160[rbp+rax], 0
	mov	DWORD PTR -176[rbp], 0
	jmp	.L63
.L66:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jne	.L64
	mov	DWORD PTR -172[rbp], 1
	jmp	.L65
.L64:
	add	DWORD PTR -176[rbp], 1
.L63:
	mov	eax, DWORD PTR varmax[rip]
	cmp	DWORD PTR -176[rbp], eax
	jl	.L66
.L65:
	cmp	DWORD PTR -172[rbp], 0
	jne	.L67
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L70
.L67:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varvalue[rip]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
.L70:
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L69
	call	__stack_chk_fail@PLT
.L69:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	unexport, .-unexport
	.section	.rodata
.LC15:
	.string	"No value to set!"
	.align 8
.LC16:
	.string	"-xssh: Set existing variable %s to %s.\n"
	.text
	.globl	set
	.type	set, @function
set:
.LFB12:
	.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, 200
	.cfi_offset 3, -24
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	jmp	.L72
.L73:
	add	QWORD PTR -200[rbp], 1
.L72:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L73
	mov	DWORD PTR -172[rbp], 0
	mov	DWORD PTR -168[rbp], 4
	jmp	.L74
.L75:
	add	DWORD PTR -168[rbp], 1
.L74:
	mov	eax, DWORD PTR -168[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L75
	mov	eax, DWORD PTR -168[rbp]
	mov	DWORD PTR -180[rbp], eax
	jmp	.L76
.L78:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, DWORD PTR -168[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -160[rbp+rax], dl
	add	DWORD PTR -180[rbp], 1
.L76:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L77
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L77
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L77
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L78
.L77:
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, DWORD PTR -168[rbp]
	cdqe
	mov	BYTE PTR -160[rbp+rax], 0
	jmp	.L79
.L80:
	add	DWORD PTR -180[rbp], 1
.L79:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L80
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	jne	.L81
	lea	rdi, .LC15[rip]
	call	puts@PLT
	jmp	.L71
.L81:
	mov	DWORD PTR -176[rbp], 0
	jmp	.L83
.L86:
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	mov	DWORD PTR -164[rbp], eax
	cmp	DWORD PTR -164[rbp], 0
	jne	.L84
	mov	DWORD PTR -172[rbp], 1
	jmp	.L85
.L84:
	add	DWORD PTR -176[rbp], 1
.L83:
	mov	eax, DWORD PTR varmax[rip]
	cmp	DWORD PTR -176[rbp], eax
	jl	.L86
.L85:
	cmp	DWORD PTR -172[rbp], 0
	jne	.L87
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L71
.L87:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rcx, rax
	lea	rax, varvalue[rip]
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varvalue[rip]
	add	rdx, rax
	mov	eax, DWORD PTR -176[rbp]
	cdqe
	sal	rax, 7
	mov	rcx, rax
	lea	rax, varname[rip]
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L71:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	set, .-set
	.section	.rodata
.LC17:
	.string	"-xssh: Exit pid %d.\n"
	.align 8
.LC18:
	.string	" this is -xssh itself, ctrl+c is not working."
.LC19:
	.string	"xssh>>"
	.text
	.globl	ctrlsig
	.type	ctrlsig, @function
ctrlsig:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	lea	rdi, varvalue[rip]
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -20[rbp], 2
	jne	.L94
	mov	eax, DWORD PTR childpid[rip]
	cmp	DWORD PTR -4[rbp], eax
	je	.L92
	mov	eax, DWORD PTR childpid[rip]
	mov	esi, eax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR childpid[rip]
	mov	esi, 9
	mov	edi, eax
	call	kill@PLT
	jmp	.L93
.L92:
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L93:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR childpid[rip], eax
.L94:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	ctrlsig, .-ctrlsig
	.section	.rodata
	.align 8
.LC20:
	.string	"-xssh: Have finished waiting process %d.\n"
	.align 8
.LC21:
	.string	"-xssh: Unsuccessfully wait the background process %d.\n"
	.align 8
.LC22:
	.string	"-xssh: wait %d background processes.\n"
.LC23:
	.string	"-xssh: wait: Invalid pid."
	.text
	.globl	waitchild
	.type	waitchild, @function
waitchild:
.LFB14:
	.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, 200
	.cfi_offset 3, -24
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	jmp	.L96
.L97:
	add	QWORD PTR -200[rbp], 1
.L96:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -200[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L97
	mov	DWORD PTR -180[rbp], 5
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	jmp	.L98
.L99:
	add	DWORD PTR -180[rbp], 1
.L98:
	mov	eax, DWORD PTR -180[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L99
	mov	eax, DWORD PTR -180[rbp]
	mov	DWORD PTR -184[rbp], eax
	jmp	.L100
.L102:
	mov	eax, DWORD PTR -184[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -184[rbp]
	sub	eax, DWORD PTR -180[rbp]
	movzx	edx, BYTE PTR [rdx]
	cdqe
	mov	BYTE PTR -160[rbp+rax], dl
	add	DWORD PTR -184[rbp], 1
.L100:
	mov	eax, DWORD PTR -184[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jnb	.L101
	mov	eax, DWORD PTR -184[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L101
	mov	eax, DWORD PTR -184[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -200[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L102
.L101:
	mov	eax, DWORD PTR -184[rbp]
	sub	eax, DWORD PTR -180[rbp]
	cdqe
	mov	BYTE PTR -160[rbp+rax], 0
	lea	rcx, -168[rbp]
	lea	rax, -160[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtol@PLT
	mov	DWORD PTR -176[rbp], eax
	movzx	eax, BYTE PTR -160[rbp]
	test	al, al
	je	.L103
	mov	rax, QWORD PTR -168[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L103
	cmp	DWORD PTR -176[rbp], -1
	je	.L104
	lea	rcx, -188[rbp]
	mov	eax, DWORD PTR -176[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -172[rbp], eax
	cmp	DWORD PTR -172[rbp], 0
	jle	.L105
	mov	eax, DWORD PTR -176[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR childnum[rip]
	sub	eax, 1
	mov	DWORD PTR childnum[rip], eax
	jmp	.L107
.L105:
	mov	eax, DWORD PTR -176[rbp]
	mov	esi, eax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L107
.L104:
	mov	eax, DWORD PTR childnum[rip]
	mov	esi, eax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -188[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, -1
	call	waitpid@PLT
	jmp	.L107
.L103:
	lea	rdi, .LC23[rip]
	call	puts@PLT
.L107:
	mov	DWORD PTR childnum[rip], 0
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L108
	call	__stack_chk_fail@PLT
.L108:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	waitchild, .-waitchild
	.section	.rodata
.LC24:
	.string	" "
.LC25:
	.string	"Failed to fork."
.LC26:
	.string	"Unable to execute."
	.text
	.globl	program
	.type	program, @function
program:
.LFB15:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L110
.L111:
	add	QWORD PTR -88[rbp], 1
.L110:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -88[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L111
	mov	DWORD PTR -64[rbp], 0
	mov	rax, QWORD PTR -88[rbp]
	mov	esi, 38
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L112
	mov	DWORD PTR -64[rbp], 1
	mov	eax, DWORD PTR childnum[rip]
	add	eax, 1
	mov	DWORD PTR childnum[rip], eax
.L112:
	call	fork@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR childpid[rip], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, eax
	lea	rsi, .LC7[rip]
	lea	rdi, varvalue[rip+256]
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, .LC24[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -40[rbp], rax
	jmp	.L113
.L114:
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	add	DWORD PTR -60[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -40[rbp], rax
.L113:
	cmp	QWORD PTR -40[rbp], 0
	jne	.L114
	mov	eax, DWORD PTR -60[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -60[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rdx], rax
	cmp	DWORD PTR -64[rbp], 0
	jne	.L115
	cmp	DWORD PTR -56[rbp], 0
	jns	.L116
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, -2
	jmp	.L122
.L116:
	cmp	DWORD PTR -56[rbp], 0
	jne	.L120
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -48[rbp], eax
	cmp	DWORD PTR -48[rbp], 0
	jns	.L120
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -48[rbp]
	mov	edi, eax
	call	exit@PLT
.L120:
	lea	rcx, -68[rbp]
	mov	eax, DWORD PTR -56[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	and	eax, 127
	test	eax, eax
	je	.L119
	mov	eax, DWORD PTR -68[rbp]
	and	eax, 127
	add	eax, 1
	sar	al
	test	al, al
	jle	.L120
	jmp	.L119
.L115:
	cmp	DWORD PTR -64[rbp], 1
	jne	.L119
	cmp	DWORD PTR -56[rbp], 0
	jns	.L121
	lea	rdi, .LC25[rip]
	call	puts@PLT
	mov	eax, -2
	jmp	.L122
.L121:
	cmp	DWORD PTR -56[rbp], 0
	jne	.L119
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 0
	jns	.L119
	lea	rdi, .LC26[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edi, eax
	call	exit@PLT
.L119:
	mov	eax, 0
.L122:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L123
	call	__stack_chk_fail@PLT
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	program, .-program
	.section	.rodata
.LC27:
	.string	"|"
.LC28:
	.string	"pipe failed"
.LC29:
	.string	"failed to execute first."
	.text
	.globl	pipeprog
	.type	pipeprog, @function
pipeprog:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -20480[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 3632
	mov	QWORD PTR -24104[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L125
.L126:
	add	QWORD PTR -24104[rbp], 1
.L125:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24104[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L126
	lea	rax, .LC27[rip]
	mov	QWORD PTR -24040[rbp], rax
	mov	edi, 64
	call	malloc@PLT
	mov	QWORD PTR -24032[rbp], rax
	mov	DWORD PTR -24076[rbp], 0
	mov	DWORD PTR -24072[rbp], 0
	mov	DWORD PTR -24068[rbp], 0
	mov	rdx, QWORD PTR -24040[rbp]
	mov	rax, QWORD PTR -24104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24048[rbp], rax
	jmp	.L127
.L128:
	mov	rax, QWORD PTR -24048[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -24048[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -24076[rbp]
	cdqe
	mov	rdx, QWORD PTR -24048[rbp]
	mov	QWORD PTR -24016[rbp+rax*8], rdx
	add	DWORD PTR -24076[rbp], 1
	mov	rax, QWORD PTR -24040[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24048[rbp], rax
.L127:
	cmp	QWORD PTR -24048[rbp], 0
	jne	.L128
	mov	eax, DWORD PTR -24076[rbp]
	cdqe
	mov	QWORD PTR -24016[rbp+rax*8], 0
	mov	rax, QWORD PTR -24016[rbp]
	mov	rdi, rax
	call	trim
	mov	QWORD PTR -24016[rbp], rax
	mov	rax, QWORD PTR -24008[rbp]
	mov	rdi, rax
	call	trim
	mov	QWORD PTR -24008[rbp], rax
	mov	rax, QWORD PTR -24016[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24048[rbp], rax
	jmp	.L129
.L130:
	mov	rax, QWORD PTR -24048[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -24048[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -24068[rbp]
	cdqe
	mov	rdx, QWORD PTR -24048[rbp]
	mov	QWORD PTR -8016[rbp+rax*8], rdx
	add	DWORD PTR -24068[rbp], 1
	lea	rsi, .LC24[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24048[rbp], rax
.L129:
	cmp	QWORD PTR -24048[rbp], 0
	jne	.L130
	mov	eax, DWORD PTR -24068[rbp]
	cdqe
	mov	QWORD PTR -8016[rbp+rax*8], 0
	mov	rax, QWORD PTR -8016[rbp]
	mov	rdi, rax
	call	trim
	mov	QWORD PTR -8016[rbp], rax
	mov	rax, QWORD PTR -24008[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24048[rbp], rax
	jmp	.L131
.L132:
	mov	rax, QWORD PTR -24048[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -24048[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -24072[rbp]
	cdqe
	mov	rdx, QWORD PTR -24048[rbp]
	mov	QWORD PTR -16016[rbp+rax*8], rdx
	add	DWORD PTR -24072[rbp], 1
	lea	rsi, .LC24[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24048[rbp], rax
.L131:
	cmp	QWORD PTR -24048[rbp], 0
	jne	.L132
	mov	eax, DWORD PTR -24072[rbp]
	cdqe
	mov	QWORD PTR -16016[rbp+rax*8], 0
	mov	rax, QWORD PTR -16016[rbp]
	mov	rdi, rax
	call	trim
	mov	QWORD PTR -16016[rbp], rax
	lea	rax, -24024[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L133
	lea	rdi, .LC28[rip]
	call	puts@PLT
.L133:
	call	fork@PLT
	mov	DWORD PTR -24064[rbp], eax
	cmp	DWORD PTR -24064[rbp], 0
	jne	.L134
	mov	eax, DWORD PTR -24024[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -24020[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -8016[rbp]
	lea	rdx, -8016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -24052[rbp], eax
	cmp	DWORD PTR -24052[rbp], 0
	jns	.L135
	lea	rdi, .LC29[rip]
	call	puts@PLT
.L135:
	mov	eax, 0
	jmp	.L139
.L134:
	call	fork@PLT
	mov	DWORD PTR -24060[rbp], eax
	cmp	DWORD PTR -24060[rbp], 0
	jne	.L137
	mov	eax, DWORD PTR -24020[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -24024[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -16016[rbp]
	lea	rdx, -16016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -24056[rbp], eax
	cmp	DWORD PTR -24056[rbp], 0
	jns	.L138
	lea	rdi, .LC29[rip]
	call	puts@PLT
.L138:
	mov	eax, 0
	jmp	.L139
.L137:
	mov	eax, DWORD PTR -24020[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -24024[rbp]
	mov	edi, eax
	call	close@PLT
	lea	rcx, -24084[rbp]
	mov	eax, DWORD PTR -24064[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	lea	rcx, -24080[rbp]
	mov	eax, DWORD PTR -24060[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, 0
.L139:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L140
	call	__stack_chk_fail@PLT
.L140:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	pipeprog, .-pipeprog
	.globl	trim
	.type	trim, @function
trim:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L142
.L143:
	add	QWORD PTR -24[rbp], 1
.L142:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L143
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L144
.L145:
	sub	DWORD PTR -4[rbp], 1
.L144:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L145
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	trim, .-trim
	.section	.rodata
.LC30:
	.string	">"
.LC31:
	.string	"<"
	.align 8
.LC32:
	.string	"failed to create child process."
.LC33:
	.string	"%s doesn't exist.\n"
.LC34:
	.string	"failed to excecute."
.LC35:
	.string	"dddd"
	.text
	.globl	redirectprog
	.type	redirectprog, @function
redirectprog:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	r11, -20480[rsp]
.LPSRL1:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL1
	sub	rsp, 3600
	mov	QWORD PTR -24072[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L148
.L149:
	add	QWORD PTR -24072[rbp], 1
.L148:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -24072[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L149
	mov	DWORD PTR -24060[rbp], 0
	mov	DWORD PTR -24056[rbp], 0
	mov	DWORD PTR -24052[rbp], 0
	mov	DWORD PTR -24048[rbp], 0
	mov	DWORD PTR -24044[rbp], 0
	mov	DWORD PTR -24040[rbp], 420
	mov	rax, QWORD PTR -24072[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24024[rbp], rax
	jmp	.L150
.L151:
	mov	rax, QWORD PTR -24024[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -24024[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -24060[rbp]
	cdqe
	mov	rdx, QWORD PTR -24024[rbp]
	mov	QWORD PTR -24016[rbp+rax*8], rdx
	add	DWORD PTR -24060[rbp], 1
	lea	rsi, .LC30[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24024[rbp], rax
.L150:
	cmp	QWORD PTR -24024[rbp], 0
	jne	.L151
	mov	eax, DWORD PTR -24060[rbp]
	cdqe
	mov	QWORD PTR -24016[rbp+rax*8], 0
	mov	rax, QWORD PTR -24008[rbp]
	mov	rdi, rax
	call	trim
	mov	QWORD PTR -24008[rbp], rax
	mov	rax, QWORD PTR -24016[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24024[rbp], rax
	jmp	.L152
.L153:
	mov	rax, QWORD PTR -24024[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -24024[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -24056[rbp]
	cdqe
	mov	rdx, QWORD PTR -24024[rbp]
	mov	QWORD PTR -8016[rbp+rax*8], rdx
	add	DWORD PTR -24056[rbp], 1
	lea	rsi, .LC31[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24024[rbp], rax
.L152:
	cmp	QWORD PTR -24024[rbp], 0
	jne	.L153
	mov	eax, DWORD PTR -24056[rbp]
	cdqe
	mov	QWORD PTR -8016[rbp+rax*8], 0
	mov	rax, QWORD PTR -8008[rbp]
	mov	rdi, rax
	call	trim
	mov	QWORD PTR -8008[rbp], rax
	mov	rax, QWORD PTR -8016[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24024[rbp], rax
	jmp	.L154
.L155:
	mov	rax, QWORD PTR -24024[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, QWORD PTR -24024[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -24052[rbp]
	cdqe
	mov	rdx, QWORD PTR -24024[rbp]
	mov	QWORD PTR -16016[rbp+rax*8], rdx
	add	DWORD PTR -24052[rbp], 1
	lea	rsi, .LC24[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24024[rbp], rax
.L154:
	cmp	QWORD PTR -24024[rbp], 0
	jne	.L155
	mov	eax, DWORD PTR -24052[rbp]
	cdqe
	mov	QWORD PTR -16016[rbp+rax*8], 0
	call	fork@PLT
	mov	DWORD PTR -24036[rbp], eax
	cmp	DWORD PTR -24036[rbp], 0
	jns	.L156
	lea	rdi, .LC32[rip]
	call	puts@PLT
.L156:
	cmp	DWORD PTR -24036[rbp], 0
	jne	.L157
	cmp	DWORD PTR -24056[rbp], 1
	jle	.L158
	cmp	DWORD PTR -24060[rbp], 1
	jne	.L158
	mov	rax, QWORD PTR -8008[rbp]
	mov	edx, DWORD PTR -24040[rbp]
	mov	esi, 64
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24048[rbp], eax
	cmp	DWORD PTR -24048[rbp], 0
	jns	.L159
	mov	rax, QWORD PTR -8008[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L159:
	mov	eax, DWORD PTR -24048[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -24048[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -16016[rbp]
	lea	rdx, -16016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	test	eax, eax
	jns	.L158
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L158:
	cmp	DWORD PTR -24060[rbp], 1
	jle	.L160
	cmp	DWORD PTR -24056[rbp], 1
	jne	.L160
	lea	rdi, .LC35[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -24008[rbp]
	mov	edx, DWORD PTR -24040[rbp]
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24044[rbp], eax
	cmp	DWORD PTR -24044[rbp], 0
	jns	.L161
	mov	rax, QWORD PTR -24008[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L161:
	mov	eax, DWORD PTR -24044[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -24044[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -16016[rbp]
	lea	rdx, -16016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	test	eax, eax
	jns	.L160
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L160:
	cmp	DWORD PTR -24056[rbp], 1
	jle	.L157
	cmp	DWORD PTR -24060[rbp], 1
	jle	.L157
	mov	rax, QWORD PTR -24008[rbp]
	mov	edx, DWORD PTR -24040[rbp]
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24032[rbp], eax
	mov	rax, QWORD PTR -8008[rbp]
	mov	edx, DWORD PTR -24040[rbp]
	mov	esi, 64
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -24028[rbp], eax
	cmp	DWORD PTR -24032[rbp], 0
	jns	.L162
	mov	rax, QWORD PTR -24008[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L162:
	cmp	DWORD PTR -24028[rbp], 0
	jns	.L163
	mov	rax, QWORD PTR -8008[rbp]
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L163:
	mov	eax, DWORD PTR -24028[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -24032[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -24028[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -24032[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -16016[rbp]
	lea	rdx, -16016[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	test	eax, eax
	jns	.L157
	lea	rdi, .LC34[rip]
	call	puts@PLT
.L157:
	mov	eax, DWORD PTR -24036[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L164
	call	__stack_chk_fail@PLT
.L164:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	redirectprog, .-redirectprog
	.section	.rodata
	.align 8
.LC36:
	.string	"-xssh: Does not exist variable $%s.\n"
	.text
	.globl	substitute
	.type	substitute, @function
substitute:
.LFB19:
	.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, 328
	.cfi_offset 3, -24
	mov	QWORD PTR -328[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	DWORD PTR -304[rbp], 0
	jmp	.L166
.L167:
	add	QWORD PTR -328[rbp], 1
.L166:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -328[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L167
	mov	DWORD PTR -308[rbp], 0
	jmp	.L168
.L184:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L169
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	mov	BYTE PTR -288[rbp+rax], 10
	add	DWORD PTR -304[rbp], 1
	jmp	.L170
.L169:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 36
	jne	.L171
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L172
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L172
	mov	eax, DWORD PTR -308[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L172
	add	DWORD PTR -308[rbp], 1
	mov	DWORD PTR -300[rbp], 0
	jmp	.L173
.L175:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -300[rbp]
	cdqe
	mov	BYTE PTR -160[rbp+rax], dl
	add	DWORD PTR -300[rbp], 1
	add	DWORD PTR -308[rbp], 1
.L173:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L174
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L174
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L175
.L174:
	mov	eax, DWORD PTR -300[rbp]
	cdqe
	mov	BYTE PTR -160[rbp+rax], 0
	mov	DWORD PTR -296[rbp], 0
	mov	DWORD PTR -292[rbp], 0
	jmp	.L176
.L179:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varname[rip]
	add	rdx, rax
	lea	rax, -160[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L177
	mov	DWORD PTR -296[rbp], 1
	jmp	.L178
.L177:
	add	DWORD PTR -292[rbp], 1
.L176:
	mov	eax, DWORD PTR varmax[rip]
	cmp	DWORD PTR -292[rbp], eax
	jl	.L179
.L178:
	cmp	DWORD PTR -296[rbp], 0
	jne	.L180
	lea	rax, -160[rbp]
	mov	rsi, rax
	lea	rdi, .LC36[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L181
.L180:
	mov	eax, DWORD PTR -292[rbp]
	cdqe
	sal	rax, 7
	mov	rdx, rax
	lea	rax, varvalue[rip]
	add	rdx, rax
	lea	rcx, -288[rbp]
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	add	rax, rcx
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -304[rbp], eax
.L181:
	sub	DWORD PTR -308[rbp], 1
	jmp	.L183
.L172:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	mov	BYTE PTR -288[rbp+rax], dl
	add	DWORD PTR -304[rbp], 1
	jmp	.L183
.L171:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -328[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	mov	BYTE PTR -288[rbp+rax], dl
	add	DWORD PTR -304[rbp], 1
.L183:
	add	DWORD PTR -308[rbp], 1
.L168:
	mov	eax, DWORD PTR -308[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -328[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L184
.L170:
	mov	eax, DWORD PTR -304[rbp]
	sub	eax, 1
	cdqe
	mov	BYTE PTR -288[rbp+rax], 0
	lea	rdx, -288[rbp]
	mov	rax, QWORD PTR -328[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L185
	call	__stack_chk_fail@PLT
.L185:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	substitute, .-substitute
	.globl	deinstr
	.type	deinstr, @function
deinstr:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	jmp	.L187
.L188:
	add	QWORD PTR -40[rbp], 1
.L187:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -40[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	jne	.L188
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L189
.L202:
	mov	DWORD PTR -20[rbp], 0
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, instr[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	jmp	.L190
.L191:
	add	DWORD PTR -12[rbp], 1
.L190:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L191
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L192
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	jne	.L193
.L192:
	mov	DWORD PTR -20[rbp], 0
	mov	DWORD PTR -24[rbp], 8
	jmp	.L194
.L193:
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L195
.L198:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, instr[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L196
	mov	DWORD PTR -20[rbp], 1
	jmp	.L197
.L196:
	add	DWORD PTR -16[rbp], 1
.L195:
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jge	.L197
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, DWORD PTR -12[rbp]
	cmp	DWORD PTR -8[rbp], eax
	jg	.L198
.L197:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L199
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L199
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L199
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L194
.L199:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L200
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L200
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L200
	cmp	DWORD PTR -24[rbp], 5
	je	.L194
.L200:
	cmp	DWORD PTR -20[rbp], 0
	jne	.L201
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L201
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jg	.L201
	cmp	DWORD PTR -24[rbp], 7
	je	.L194
.L201:
	mov	DWORD PTR -20[rbp], 1
	add	DWORD PTR -24[rbp], 1
.L189:
	cmp	DWORD PTR -24[rbp], 7
	jle	.L202
.L194:
	cmp	DWORD PTR -20[rbp], 1
	jne	.L203
	mov	DWORD PTR -24[rbp], 0
	jmp	.L204
.L203:
	add	DWORD PTR -24[rbp], 1
.L204:
	mov	eax, DWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	deinstr, .-deinstr
	.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	"1090742.c"
	.text
	.global	instr
	.section	.rodata
	.align	2
.LC0:
	.ascii	"show\000"
	.align	2
.LC1:
	.ascii	"set\000"
	.align	2
.LC2:
	.ascii	"export\000"
	.align	2
.LC3:
	.ascii	"unexport\000"
	.align	2
.LC4:
	.ascii	"exit\000"
	.align	2
.LC5:
	.ascii	"wait\000"
	.align	2
.LC6:
	.ascii	"team\000"
	.data
	.align	2
	.type	instr, %object
	.size	instr, 32
instr:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.global	varmax
	.align	2
	.type	varmax, %object
	.size	varmax, 4
varmax:
	.word	3
	.global	varname
	.align	2
	.type	varname, %object
	.size	varname, 16384
varname:
	.ascii	"$\000\000"
	.space	125
	.ascii	"?\000\000"
	.space	125
	.ascii	"!\000\000"
	.space	125
	.ascii	"\000\000"
	.space	126
	.space	15872
	.global	varvalue
	.bss
	.align	2
	.type	varvalue, %object
	.size	varvalue, 16384
varvalue:
	.space	16384
	.global	childnum
	.align	2
	.type	childnum, %object
	.size	childnum, 4
childnum:
	.space	4
	.global	childpid
	.align	2
	.type	childpid, %object
	.size	childpid, 4
childpid:
	.space	4
	.global	rootpid
	.align	2
	.type	rootpid, %object
	.size	rootpid, 4
rootpid:
	.space	4
	.global	rootdir
	.align	2
	.type	rootdir, %object
	.size	rootdir, 128
rootdir:
	.space	128
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%d\000"
	.align	2
.LC8:
	.ascii	"-xssh: Error on signal ctrlsig\000"
	.align	2
.LC9:
	.ascii	"xssh>> \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 = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	ldr	r3, .L27
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getpid
	mov	r3, r0
	ldr	r2, .L27+4
	str	r3, [r2]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	ldr	r2, .L27+8
	str	r3, [r2]
	ldr	r3, .L27+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L27+12
	ldr	r0, .L27+16
	bl	sprintf
	ldr	r1, .L27+20
	mov	r0, #2
	bl	signal
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r0, .L27+24
	bl	puts
	mov	r0, #0
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-168]
	ldr	r3, .L27+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r3, r0
	mov	r0, r3
	bl	isatty
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	mov	r3, #1
	str	r3, [fp, #-168]
.L3:
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	beq	.L5
	ldr	r0, .L27+32
	bl	printf
	b	.L5
.L23:
	sub	r3, fp, #136
	mov	r0, r3
	bl	substitute
	sub	r3, fp, #136
	mov	r1, #35
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-164]
	ldr	r3, [fp, #-164]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-164]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-164]
	add	r3, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L6:
	sub	r3, fp, #136
	mov	r0, r3
	bl	deinstr
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #1
	bne	.L7
	sub	r3, fp, #136
	mov	r0, r3
	bl	show
	b	.L8
.L7:
	ldr	r3, [fp, #-160]
	cmp	r3, #2
	bne	.L9
	sub	r3, fp, #136
	mov	r0, r3
	bl	set
	b	.L8
.L9:
	ldr	r3, [fp, #-160]
	cmp	r3, #3
	bne	.L10
	sub	r3, fp, #136
	mov	r0, r3
	bl	export
	b	.L8
.L10:
	ldr	r3, [fp, #-160]
	cmp	r3, #4
	bne	.L11
	sub	r3, fp, #136
	mov	r0, r3
	bl	unexport
	b	.L8
.L11:
	ldr	r3, [fp, #-160]
	cmp	r3, #5
	bne	.L12
	sub	r3, fp, #136
	mov	r0, r3
	bl	show
	b	.L8
.L12:
	ldr	r3, [fp, #-160]
	cmp	r3, #6
	bne	.L13
	sub	r3, fp, #136
	mov	r0, r3
	bl	xsshexit
	mov	r3, r0
	b	.L24
.L13:
	ldr	r3, [fp, #-160]
	cmp	r3, #7
	bne	.L15
	sub	r3, fp, #136
	mov	r0, r3
	bl	waitchild
	b	.L8
.L15:
	ldr	r3, [fp, #-160]
	cmp	r3, #8
	bne	.L16
	sub	r3, fp, #136
	mov	r0, r3
	bl	team
	b	.L8
.L16:
	ldr	r3, [fp, #-160]
	cmp	r3, #9
	bne	.L17
	b	.L5
.L17:
	sub	r3, fp, #136
	mov	r1, #124
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-156]
	sub	r3, fp, #136
	mov	r1, #60
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-152]
	sub	r3, fp, #136
	mov	r1, #62
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-148]
	ldr	r3, [fp, #-156]
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #136
	mov	r0, r3
	bl	pipeprog
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	beq	.L8
	b	.L19
.L18:
	ldr	r3, [fp, #-152]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	beq	.L21
.L20:
	sub	r3, fp, #136
	mov	r0, r3
	bl	redirectprog
	b	.L8
.L21:
	sub	r3, fp, #136
	mov	r0, r3
	bl	program
	str	r0, [fp, #-144]
	ldr	r3, [fp, #-144]
	cmp	r3, #0
	bne	.L26
.L8:
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	beq	.L22
	ldr	r0, .L27+32
	bl	printf
.L22:
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L5:
	ldr	r3, .L27+28
	ldr	r2, [r3]
	sub	r3, fp, #136
	mov	r1, #128
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L23
	b	.L19
.L26:
	nop
.L19:
	mvn	r3, #0
.L24:
	ldr	r2, .L27
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	.LC10
	.word	rootpid
	.word	childpid
	.word	.LC7
	.word	varvalue
	.word	ctrlsig
	.word	.LC8
	.word	stdin
	.word	.LC9
	.size	main, .-main
	.align	2
	.global	xsshexit
	.syntax unified
	.arm
	.fpu softvfp
	.type	xsshexit, %function
xsshexit:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	b	.L30
.L31:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L30:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L31
	mov	r3, #5
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L32
.L33:
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r1, r3
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #48
	add	r3, r1, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L32:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L33
	ldr	r3, [fp, #-16]
	cmp	r3, #255
	bgt	.L34
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L34
	ldr	r0, [fp, #-16]
	bl	exit
.L34:
	mvn	r0, #0
	bl	exit
	.size	xsshexit, .-xsshexit
	.align	2
	.global	show
	.syntax unified
	.arm
	.fpu softvfp
	.type	show, %function
show:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	b	.L36
.L37:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L36:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L37
	mov	r3, #5
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r0, r3
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	show, .-show
	.section	.rodata
	.align	2
.LC11:
	.ascii	"teammembers: Yupeng Lei\000"
	.text
	.align	2
	.global	team
	.syntax unified
	.arm
	.fpu softvfp
	.type	team, %function
team:
	@ 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]
	b	.L39
.L40:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L40
	ldr	r0, .L41
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L42:
	.align	2
.L41:
	.word	.LC11
	.size	team, .-team
	.section	.rodata
	.align	2
.LC12:
	.ascii	"-xssh: Export variable %s.\012\000"
	.align	2
.LC13:
	.ascii	"-xssh: Existing variable %s is %s.\012\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	export
	.syntax unified
	.arm
	.fpu softvfp
	.type	export, %function
export:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	ldr	r3, .L59
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L44
.L45:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L44:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L45
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #7
	str	r3, [fp, #-144]
	b	.L46
.L47:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L46:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L47
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-156]
	b	.L48
.L50:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r2, r2, r3
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-144]
	sub	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-132]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L48:
	ldr	r0, [fp, #-160]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L49
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L49
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L49
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L50
.L49:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-144]
	sub	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-132]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L51
.L54:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L59+4
	add	r2, r3, r2
	sub	r3, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L52
	mov	r3, #1
	str	r3, [fp, #-148]
	b	.L53
.L52:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L51:
	ldr	r3, .L59+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	blt	.L54
.L53:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L55
	ldr	r3, .L59+8
	ldr	r3, [r3]
	lsl	r3, r3, #7
	ldr	r2, .L59+4
	add	r3, r3, r2
	sub	r2, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	ldr	r3, .L59+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L59+8
	str	r3, [r2]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	lsl	r3, r3, #7
	ldr	r2, .L59+12
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L59+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	lsl	r3, r3, #7
	ldr	r2, .L59+4
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L59+16
	bl	printf
	b	.L58
.L55:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L59+4
	add	r1, r3, r2
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L59+12
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L59+20
	bl	printf
.L58:
	nop
	ldr	r3, .L59
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L57
	bl	__stack_chk_fail
.L57:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC14
	.word	varname
	.word	varmax
	.word	varvalue
	.word	.LC12
	.word	.LC13
	.size	export, .-export
	.section	.rodata
	.align	2
.LC15:
	.ascii	"-xssh: Variable %s does not exist.\012\000"
	.align	2
.LC16:
	.ascii	"-xssh: Variable %s is unexported.\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	unexport
	.syntax unified
	.arm
	.fpu softvfp
	.type	unexport, %function
unexport:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	ldr	r3, .L77
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L62
.L63:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L62:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L63
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #9
	str	r3, [fp, #-144]
	b	.L64
.L65:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L64:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L65
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-156]
	b	.L66
.L68:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r2, r2, r3
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-144]
	sub	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-132]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L66:
	ldr	r0, [fp, #-160]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L67
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L67
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L67
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L68
.L67:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-144]
	sub	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-132]
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L69
.L72:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L77+4
	add	r2, r3, r2
	sub	r3, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L70
	mov	r3, #1
	str	r3, [fp, #-148]
	b	.L71
.L70:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L69:
	ldr	r3, .L77+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	blt	.L72
.L71:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L73
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L77+12
	bl	printf
	b	.L76
.L73:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L77+4
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L77+16
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L77+20
	bl	printf
.L76:
	nop
	ldr	r3, .L77
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	.LC17
	.word	varname
	.word	varmax
	.word	.LC15
	.word	varvalue
	.word	.LC16
	.size	unexport, .-unexport
	.section	.rodata
	.align	2
.LC18:
	.ascii	"No value to set!\000"
	.align	2
.LC19:
	.ascii	"-xssh: Set existing variable %s to %s.\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	set
	.syntax unified
	.arm
	.fpu softvfp
	.type	set, %function
set:
	@ args = 0, pretend = 0, frame = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	ldr	r3, .L98
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L80
.L81:
	ldr	r3, [fp, #-160]
	add	r3, r3, #1
	str	r3, [fp, #-160]
.L80:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-160]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L81
	mov	r3, #0
	str	r3, [fp, #-148]
	mov	r3, #4
	str	r3, [fp, #-144]
	b	.L82
.L83:
	ldr	r3, [fp, #-144]
	add	r3, r3, #1
	str	r3, [fp, #-144]
.L82:
	ldr	r3, [fp, #-144]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L83
	ldr	r3, [fp, #-144]
	str	r3, [fp, #-156]
	b	.L84
.L86:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r2, r2, r3
	ldr	r1, [fp, #-156]
	ldr	r3, [fp, #-144]
	sub	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-132]
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L84:
	ldr	r0, [fp, #-160]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-156]
	cmp	r2, r3
	bls	.L85
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L85
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L85
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L86
.L85:
	ldr	r2, [fp, #-156]
	ldr	r3, [fp, #-144]
	sub	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-132]
	b	.L87
.L88:
	ldr	r3, [fp, #-156]
	add	r3, r3, #1
	str	r3, [fp, #-156]
.L87:
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L88
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	bne	.L89
	ldr	r0, .L98+4
	bl	puts
	b	.L79
.L89:
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L91
.L94:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L98+8
	add	r2, r3, r2
	sub	r3, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bne	.L92
	mov	r3, #1
	str	r3, [fp, #-148]
	b	.L93
.L92:
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L91:
	ldr	r3, .L98+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-152]
	cmp	r2, r3
	blt	.L94
.L93:
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L95
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L98+16
	bl	printf
	b	.L79
.L95:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L98+20
	add	r0, r3, r2
	ldr	r3, [fp, #-156]
	ldr	r2, [fp, #-160]
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L98+8
	add	r1, r3, r2
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #7
	ldr	r2, .L98+20
	add	r3, r3, r2
	mov	r2, r3
	ldr	r0, .L98+24
	bl	printf
.L79:
	ldr	r3, .L98
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L97
	bl	__stack_chk_fail
.L97:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L99:
	.align	2
.L98:
	.word	.LC20
	.word	.LC18
	.word	varname
	.word	varmax
	.word	.LC15
	.word	varvalue
	.word	.LC19
	.size	set, .-set
	.section	.rodata
	.align	2
.LC21:
	.ascii	"-xssh: Exit pid %d.\012\000"
	.align	2
.LC22:
	.ascii	" this is -xssh itself, ctrl+c is not working.\000"
	.align	2
.LC23:
	.ascii	"xssh>>\000"
	.text
	.align	2
	.global	ctrlsig
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctrlsig, %function
ctrlsig:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, .L105
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	bne	.L104
	ldr	r3, .L105+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L102
	ldr	r3, .L105+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L105+8
	bl	printf
	ldr	r3, .L105+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L105+4
	ldr	r3, [r3]
	mov	r1, #9
	mov	r0, r3
	bl	kill
	b	.L103
.L102:
	ldr	r0, .L105+16
	bl	puts
	ldr	r0, .L105+20
	bl	printf
	ldr	r3, .L105+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L103:
	ldr	r2, .L105+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L104:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	varvalue
	.word	childpid
	.word	.LC21
	.word	stdout
	.word	.LC22
	.word	.LC23
	.size	ctrlsig, .-ctrlsig
	.section	.rodata
	.align	2
.LC24:
	.ascii	"-xssh: Have finished waiting process %d.\012\000"
	.align	2
.LC25:
	.ascii	"-xssh: Unsuccessfully wait the background process %"
	.ascii	"d.\012\000"
	.align	2
.LC26:
	.ascii	"-xssh: wait %d background processes.\012\000"
	.align	2
.LC27:
	.ascii	"-xssh: wait: Invalid pid.\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	waitchild
	.syntax unified
	.arm
	.fpu softvfp
	.type	waitchild, %function
waitchild:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	ldr	r3, .L121
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L108
.L109:
	ldr	r3, [fp, #-168]
	add	r3, r3, #1
	str	r3, [fp, #-168]
.L108:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-168]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L109
	mov	r3, #5
	str	r3, [fp, #-148]
	mov	r3, #0
	str	r3, [fp, #-136]
	sub	r3, fp, #132
	mov	r2, #124
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L110
.L111:
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-148]
.L110:
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L111
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-152]
	b	.L112
.L114:
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-168]
	add	r2, r2, r3
	ldr	r1, [fp, #-152]
	ldr	r3, [fp, #-148]
	sub	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-132]
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L112:
	ldr	r0, [fp, #-168]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-152]
	cmp	r2, r3
	bls	.L113
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L113
	ldr	r3, [fp, #-152]
	ldr	r2, [fp, #-168]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L114
.L113:
	ldr	r2, [fp, #-152]
	ldr	r3, [fp, #-148]
	sub	r3, r2, r3
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-132]
	sub	r1, fp, #156
	sub	r3, fp, #136
	mov	r2, #10
	mov	r0, r3
	bl	strtol
	str	r0, [fp, #-144]
	ldrb	r3, [fp, #-136]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-156]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L115
	ldr	r3, [fp, #-144]
	cmn	r3, #1
	beq	.L116
	sub	r3, fp, #160
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-144]
	bl	waitpid
	str	r0, [fp, #-140]
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	ble	.L117
	ldr	r1, [fp, #-144]
	ldr	r0, .L121+4
	bl	printf
	ldr	r3, .L121+8
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L121+8
	str	r3, [r2]
	b	.L119
.L117:
	ldr	r1, [fp, #-144]
	ldr	r0, .L121+12
	bl	printf
	b	.L119
.L116:
	ldr	r3, .L121+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L121+16
	bl	printf
	sub	r3, fp, #160
	mov	r2, #0
	mov	r1, r3
	mvn	r0, #0
	bl	waitpid
	b	.L119
.L115:
	ldr	r0, .L121+20
	bl	puts
.L119:
	ldr	r3, .L121+8
	mov	r2, #0
	str	r2, [r3]
	nop
	ldr	r3, .L121
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L120
	bl	__stack_chk_fail
.L120:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L122:
	.align	2
.L121:
	.word	.LC28
	.word	.LC24
	.word	childnum
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.size	waitchild, .-waitchild
	.section	.rodata
	.align	2
.LC29:
	.ascii	" \000"
	.align	2
.LC30:
	.ascii	"Failed to fork.\000"
	.align	2
.LC31:
	.ascii	"Unable to execute.\000"
	.align	2
.LC32:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	program
	.syntax unified
	.arm
	.fpu softvfp
	.type	program, %function
program:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-56]
	ldr	r3, .L138
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L124
.L125:
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L124:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-56]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L125
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r1, #38
	ldr	r0, [fp, #-56]
	bl	strchr
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L126
	mov	r3, #1
	str	r3, [fp, #-48]
	ldr	r3, .L138+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L138+4
	str	r3, [r2]
.L126:
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r2, .L138+8
	ldr	r3, [fp, #-32]
	str	r3, [r2]
	ldr	r2, [fp, #-32]
	ldr	r1, .L138+12
	ldr	r0, .L138+16
	bl	sprintf
	ldr	r3, .L138+20
	str	r3, [fp, #-28]
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-56]
	bl	strtok
	str	r0, [fp, #-44]
	b	.L127
.L128:
	ldr	r0, [fp, #-44]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-44]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r1, [fp, #-28]
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-44]
.L127:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L128
	ldr	r3, [fp, #-40]
	add	r2, r3, #1
	str	r2, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldr	r2, [fp, #-44]
	str	r2, [r3]
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bne	.L129
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L130
	ldr	r0, .L138+24
	bl	puts
	mvn	r3, #1
	b	.L136
.L130:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L134
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bge	.L134
	ldr	r0, .L138+28
	bl	puts
	ldr	r0, [fp, #-16]
	bl	exit
.L134:
	sub	r3, fp, #52
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	waitpid
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-52]
	and	r3, r3, #127
	cmp	r3, #0
	beq	.L133
	ldr	r3, [fp, #-52]
	and	r3, r3, #255
	and	r3, r3, #127
	and	r3, r3, #255
	add	r3, r3, #1
	and	r3, r3, #255
	lsl	r3, r3, #24
	asr	r3, r3, #24
	asr	r3, r3, #1
	lsl	r3, r3, #24
	asr	r3, r3, #24
	cmp	r3, #0
	ble	.L134
	b	.L133
.L129:
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L133
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bge	.L135
	ldr	r0, .L138+24
	bl	puts
	mvn	r3, #1
	b	.L136
.L135:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L133
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bge	.L133
	ldr	r0, .L138+28
	bl	puts
	ldr	r0, [fp, #-20]
	bl	exit
.L133:
	mov	r3, #0
.L136:
	ldr	r2, .L138
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L137
	bl	__stack_chk_fail
.L137:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L139:
	.align	2
.L138:
	.word	.LC32
	.word	childnum
	.word	childpid
	.word	.LC7
	.word	varvalue+256
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	program, .-program
	.section	.rodata
	.align	2
.LC33:
	.ascii	"|\000"
	.align	2
.LC34:
	.ascii	"pipe failed\000"
	.align	2
.LC35:
	.ascii	"failed to execute first.\000"
	.align	2
.LC36:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pipeprog
	.syntax unified
	.arm
	.fpu softvfp
	.type	pipeprog, %function
pipeprog:
	@ args = 0, pretend = 0, frame = 12072
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12032
	sub	sp, sp, #44
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-3876]
	ldr	r3, .L157
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L141
.L142:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	add	r3, r3, #1
	str	r3, [r2, #-3876]
.L141:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3876]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L142
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L157+4
	str	r3, [r2, #-3844]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #32
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-3840]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3860]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3848]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r2, #-3844]
	ldr	r0, [r3, #-3876]
	bl	strtok
	str	r0, [r4, #-3856]
	b	.L143
.L144:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3856]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3860]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3856]
	str	r2, [r3, #-3812]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3860]
	add	r3, r3, #1
	str	r3, [r2, #-3860]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, [r3, #-3844]
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3856]
.L143:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	cmp	r3, #0
	bne	.L144
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3860]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3812]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3812]
	mov	r0, r3
	bl	trim
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-3812]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	mov	r0, r3
	bl	trim
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-3808]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3812]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L157+8
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-3856]
	b	.L145
.L146:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3856]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3856]
	str	r2, [r3, #-4004]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	add	r3, r3, #1
	str	r3, [r2, #-3848]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L157+8
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3856]
.L145:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	cmp	r3, #0
	bne	.L146
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-4004]
	ldr	r3, [fp, #-4016]
	mov	r0, r3
	bl	trim
	mov	r3, r0
	str	r3, [fp, #-4016]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L157+8
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-3856]
	b	.L147
.L148:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3856]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3856]
	str	r2, [r3, #-3908]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	add	r3, r3, #1
	str	r3, [r2, #-3852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L157+8
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3856]
.L147:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3856]
	cmp	r3, #0
	bne	.L148
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3908]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-3908]
	mov	r0, r3
	bl	trim
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-3908]
	sub	r3, fp, #11968
	sub	r3, r3, #12
	sub	r3, r3, #44
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L149
	ldr	r0, .L157+12
	bl	puts
.L149:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3836]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3836]
	cmp	r3, #0
	bne	.L150
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3820]
	mov	r0, r3
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3816]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	ldr	r2, [fp, #-4016]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r3, r0
	str	r3, [r4, #-3824]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3824]
	cmp	r3, #0
	bge	.L151
	ldr	r0, .L157+16
	bl	puts
.L151:
	mov	r3, #0
	b	.L155
.L150:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3832]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3832]
	cmp	r3, #0
	bne	.L153
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3816]
	mov	r0, r3
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3820]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3908]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r3, r0
	str	r3, [r4, #-3828]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3828]
	cmp	r3, #0
	bge	.L154
	ldr	r0, .L157+16
	bl	puts
.L154:
	mov	r3, #0
	b	.L155
.L153:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3816]
	mov	r0, r3
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3820]
	mov	r0, r3
	bl	close
	sub	r3, fp, #12032
	sub	r3, r3, #12
	sub	r3, r3, #28
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [r0, #-3836]
	bl	waitpid
	sub	r3, fp, #12032
	sub	r3, r3, #12
	sub	r3, r3, #24
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #2
	mov	r1, r3
	ldr	r0, [r0, #-3832]
	bl	waitpid
	mov	r3, #0
.L155:
	ldr	r2, .L157
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L156
	bl	__stack_chk_fail
.L156:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L158:
	.align	2
.L157:
	.word	.LC36
	.word	.LC33
	.word	.LC29
	.word	.LC34
	.word	.LC35
	.size	pipeprog, .-pipeprog
	.align	2
	.global	trim
	.syntax unified
	.arm
	.fpu softvfp
	.type	trim, %function
trim:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	b	.L160
.L161:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L160:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L161
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L162
.L163:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L162:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L163
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	trim, .-trim
	.section	.rodata
	.align	2
.LC37:
	.ascii	">\000"
	.align	2
.LC38:
	.ascii	"<\000"
	.align	2
.LC39:
	.ascii	"failed to create child process.\000"
	.align	2
.LC40:
	.ascii	"%s doesn't exist.\012\000"
	.align	2
.LC41:
	.ascii	"failed to excecute.\000"
	.align	2
.LC42:
	.ascii	"dddd\000"
	.align	2
.LC43:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	redirectprog
	.syntax unified
	.arm
	.fpu softvfp
	.type	redirectprog, %function
redirectprog:
	@ args = 0, pretend = 0, frame = 12056
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12032
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-3860]
	ldr	r3, .L183
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L166
.L167:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3860]
	add	r3, r3, #1
	str	r3, [r2, #-3860]
.L166:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3860]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L167
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3848]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3844]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3836]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-3832]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #420
	str	r3, [r2, #-3828]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r1, .L183+4
	ldr	r0, [r3, #-3860]
	bl	strtok
	str	r0, [r4, #-3840]
	b	.L168
.L169:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3840]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3840]
	str	r2, [r3, #-3812]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	add	r3, r3, #1
	str	r3, [r2, #-3852]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L183+4
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3840]
.L168:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	cmp	r3, #0
	bne	.L169
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3812]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	mov	r0, r3
	bl	trim
	mov	r3, r0
	sub	r2, fp, #8192
	sub	r2, r2, #12
	str	r3, [r2, #-3808]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3812]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L183+8
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-3840]
	b	.L170
.L171:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3840]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3840]
	str	r2, [r3, #-4004]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	add	r3, r3, #1
	str	r3, [r2, #-3848]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L183+8
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3840]
.L170:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	cmp	r3, #0
	bne	.L171
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-4004]
	ldr	r3, [fp, #-4012]
	mov	r0, r3
	bl	trim
	mov	r3, r0
	str	r3, [fp, #-4012]
	ldr	r3, [fp, #-4016]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	ldr	r1, .L183+12
	mov	r0, r3
	bl	strtok
	str	r0, [r4, #-3840]
	b	.L172
.L173:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3840]
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3844]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3840]
	str	r2, [r3, #-3908]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3844]
	add	r3, r3, #1
	str	r3, [r2, #-3844]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r1, .L183+12
	mov	r0, #0
	bl	strtok
	str	r0, [r4, #-3840]
.L172:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3840]
	cmp	r3, #0
	bne	.L173
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3844]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-3908]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	bl	fork
	mov	r3, r0
	str	r3, [r4, #-3824]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3824]
	cmp	r3, #0
	bge	.L174
	ldr	r0, .L183+16
	bl	puts
.L174:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3824]
	cmp	r3, #0
	bne	.L175
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	cmp	r3, #1
	ble	.L176
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	cmp	r3, #1
	bne	.L176
	ldr	r3, [fp, #-4012]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3828]
	mov	r1, #64
	mov	r0, r3
	bl	open
	str	r0, [r4, #-3836]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3836]
	cmp	r3, #0
	bge	.L177
	ldr	r3, [fp, #-4012]
	mov	r1, r3
	ldr	r0, .L183+20
	bl	printf
	mov	r0, #1
	bl	exit
.L177:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-3836]
	bl	dup2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3836]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3908]
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r3, r0
	cmp	r3, #0
	bge	.L176
	ldr	r0, .L183+24
	bl	puts
.L176:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	cmp	r3, #1
	ble	.L178
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	cmp	r3, #1
	bne	.L178
	ldr	r0, .L183+28
	bl	puts
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3828]
	mov	r1, #65
	mov	r0, r3
	bl	open
	str	r0, [r4, #-3832]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3832]
	cmp	r3, #0
	bge	.L179
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	mov	r1, r3
	ldr	r0, .L183+20
	bl	printf
	mov	r0, #1
	bl	exit
.L179:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #1
	ldr	r0, [r3, #-3832]
	bl	dup2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3832]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3908]
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r3, r0
	cmp	r3, #0
	bge	.L178
	ldr	r0, .L183+24
	bl	puts
.L178:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3848]
	cmp	r3, #1
	ble	.L175
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3852]
	cmp	r3, #1
	ble	.L175
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3828]
	mov	r1, #65
	mov	r0, r3
	bl	open
	str	r0, [r4, #-3820]
	ldr	r3, [fp, #-4012]
	sub	r2, fp, #8192
	sub	r2, r2, #12
	mov	r4, r2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-3828]
	mov	r1, #64
	mov	r0, r3
	bl	open
	str	r0, [r4, #-3816]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3820]
	cmp	r3, #0
	bge	.L180
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3808]
	mov	r1, r3
	ldr	r0, .L183+20
	bl	printf
	mov	r0, #1
	bl	exit
.L180:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-3816]
	cmp	r3, #0
	bge	.L181
	ldr	r3, [fp, #-4012]
	mov	r1, r3
	ldr	r0, .L183+20
	bl	printf
	mov	r0, #1
	bl	exit
.L181:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-3816]
	bl	dup2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, #1
	ldr	r0, [r3, #-3820]
	bl	dup2
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3816]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-3820]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-3908]
	sub	r3, fp, #8000
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	mov	r3, r0
	cmp	r3, #0
	bge	.L175
	ldr	r0, .L183+24
	bl	puts
.L175:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [r3, #-3824]
	bl	waitpid
	nop
	ldr	r3, .L183
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L182
	bl	__stack_chk_fail
.L182:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L184:
	.align	2
.L183:
	.word	.LC43
	.word	.LC37
	.word	.LC38
	.word	.LC29
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.size	redirectprog, .-redirectprog
	.section	.rodata
	.align	2
.LC44:
	.ascii	"-xssh: Does not exist variable $%s.\012\000"
	.align	2
.LC45:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	substitute
	.syntax unified
	.arm
	.fpu softvfp
	.type	substitute, %function
substitute:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	ldr	r3, .L206
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #124
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L186
.L187:
	ldr	r3, [fp, #-288]
	add	r3, r3, #1
	str	r3, [fp, #-288]
.L186:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-288]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L187
	mov	r3, #0
	str	r3, [fp, #-284]
	b	.L188
.L204:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L189
	sub	r2, fp, #264
	ldr	r3, [fp, #-280]
	add	r3, r2, r3
	mov	r2, #10
	strb	r2, [r3]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	b	.L190
.L189:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L191
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L192
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L192
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L192
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
	mov	r3, #0
	str	r3, [fp, #-276]
	b	.L193
.L195:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #136
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
.L193:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L194
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L194
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L195
.L194:
	sub	r2, fp, #136
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-272]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L196
.L199:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #7
	ldr	r2, .L206+4
	add	r2, r3, r2
	sub	r3, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L197
	mov	r3, #1
	str	r3, [fp, #-272]
	b	.L198
.L197:
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L196:
	ldr	r3, .L206+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-268]
	cmp	r2, r3
	blt	.L199
.L198:
	ldr	r3, [fp, #-272]
	cmp	r3, #0
	bne	.L200
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L206+12
	bl	printf
	b	.L201
.L200:
	sub	r2, fp, #264
	ldr	r3, [fp, #-280]
	add	r2, r2, r3
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #7
	ldr	r1, .L206+16
	add	r3, r3, r1
	mov	r1, r3
	mov	r0, r2
	bl	strcat
	sub	r3, fp, #264
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-280]
.L201:
	ldr	r3, [fp, #-284]
	sub	r3, r3, #1
	str	r3, [fp, #-284]
	b	.L203
.L192:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #264
	ldr	r3, [fp, #-280]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
	b	.L203
.L191:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #264
	ldr	r3, [fp, #-280]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L203:
	ldr	r3, [fp, #-284]
	add	r3, r3, #1
	str	r3, [fp, #-284]
.L188:
	ldr	r0, [fp, #-288]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-284]
	cmp	r2, r3
	bhi	.L204
.L190:
	ldr	r3, [fp, #-280]
	sub	r3, r3, #1
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-260]
	sub	r3, fp, #264
	mov	r1, r3
	ldr	r0, [fp, #-288]
	bl	strcpy
	nop
	ldr	r3, .L206
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L205
	bl	__stack_chk_fail
.L205:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L207:
	.align	2
.L206:
	.word	.LC45
	.word	varname
	.word	varmax
	.word	.LC44
	.word	varvalue
	.size	substitute, .-substitute
	.align	2
	.global	deinstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	deinstr, %function
deinstr:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	b	.L209
.L210:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L209:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	bne	.L210
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L211
.L224:
	mov	r3, #0
	str	r3, [fp, #-24]
	ldr	r2, .L228
	ldr	r3, [fp, #-28]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L212
.L213:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L212:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L213
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L214
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	bne	.L215
.L214:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #8
	str	r3, [fp, #-28]
	b	.L216
.L215:
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	b	.L217
.L220:
	ldr	r2, .L228
	ldr	r3, [fp, #-28]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-32]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L218
	mov	r3, #1
	str	r3, [fp, #-24]
	b	.L219
.L218:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L217:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bge	.L219
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bgt	.L220
.L219:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L221
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L221
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L221
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L216
.L221:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L222
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L222
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L222
	ldr	r3, [fp, #-28]
	cmp	r3, #5
	beq	.L216
.L222:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L223
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L223
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bgt	.L223
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	beq	.L216
.L223:
	mov	r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L211:
	ldr	r3, [fp, #-28]
	cmp	r3, #7
	ble	.L224
.L216:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L225
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L226
.L225:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L226:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L229:
	.align	2
.L228:
	.word	instr
	.size	deinstr, .-deinstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
