	.file	"824715.c"
	.intel_syntax noprefix
	.text
	.globl	in_red
	.bss
	.align 8
	.type	in_red, @object
	.size	in_red, 8
in_red:
	.zero	8
	.globl	out_red
	.align 8
	.type	out_red, @object
	.size	out_red, 8
out_red:
	.zero	8
	.globl	pipe_red
	.align 8
	.type	pipe_red, @object
	.size	pipe_red, 8
pipe_red:
	.zero	8
	.globl	entered_line
	.align 32
	.type	entered_line, @object
	.size	entered_line, 100
entered_line:
	.zero	100
	.globl	edited_line
	.align 32
	.type	edited_line, @object
	.size	edited_line, 200
edited_line:
	.zero	200
	.globl	word
	.align 32
	.type	word, @object
	.size	word, 128
word:
	.zero	128
	.globl	pid_1
	.align 4
	.type	pid_1, @object
	.size	pid_1, 4
pid_1:
	.zero	4
	.globl	pid_2
	.align 4
	.type	pid_2, @object
	.size	pid_2, 4
pid_2:
	.zero	4
	.section	.rodata
.LC0:
	.string	"\033[92m"
.LC1:
	.string	"\033[94m"
.LC2:
	.string	"sish:>"
.LC3:
	.string	"%s%s%s%s%s$ %s"
.LC4:
	.string	"\033[96m"
.LC5:
	.string	"exit"
.LC6:
	.string	"Terminating..."
.LC7:
	.string	"\033[91m"
.LC8:
	.string	"%s%s\n"
.LC9:
	.string	"No command has been entered"
.LC10:
	.string	"\033[95m"
	.align 8
.LC11:
	.string	"%sError: Only %s%d%s words are allowed in one command line\n"
.LC12:
	.string	"Syntax Error"
	.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, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L10:
	mov	eax, 0
	call	resetting_flags
	lea	rax, -48[rbp]
	mov	esi, 30
	mov	rdi, rax
	call	getcwd@PLT
	lea	rdx, -48[rbp]
	sub	rsp, 8
	lea	rax, .LC4[rip]
	push	rax
	lea	r9, .LC0[rip]
	mov	r8, rdx
	lea	rcx, .LC1[rip]
	lea	rdx, .LC2[rip]
	lea	rsi, .LC0[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	mov	eax, 0
	call	read_line
	mov	eax, 0
	call	parse_line
	mov	DWORD PTR -52[rbp], eax
	cmp	DWORD PTR -52[rbp], 1
	jne	.L2
	mov	rax, QWORD PTR word[rip]
	add	rax, 4
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L2
	mov	rax, QWORD PTR word[rip]
	mov	edx, 4
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	je	.L3
.L2:
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L4
.L3:
	lea	rdx, .LC6[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L4:
	cmp	DWORD PTR -52[rbp], 0
	jne	.L5
	lea	rdx, .LC9[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L5:
	cmp	DWORD PTR -52[rbp], -1
	jne	.L7
	lea	r8, .LC7[rip]
	mov	ecx, 15
	lea	rdx, .LC10[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L7:
	cmp	DWORD PTR -52[rbp], -2
	jne	.L8
	lea	rdx, .LC12[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L8:
	mov	eax, DWORD PTR pipe_red[rip]
	test	eax, eax
	jne	.L9
	mov	eax, 0
	call	command_exec
	jmp	.L10
.L9:
	mov	eax, 0
	call	piping_exec
	jmp	.L10
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	testing_char
	.type	testing_char, @function
testing_char:
.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, 16
	mov	eax, edi
	mov	BYTE PTR -4[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -4[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8
	test	eax, eax
	jne	.L13
	cmp	BYTE PTR -4[rbp], 32
	je	.L13
	cmp	BYTE PTR -4[rbp], 46
	je	.L13
	cmp	BYTE PTR -4[rbp], 45
	je	.L13
	cmp	BYTE PTR -4[rbp], 47
	je	.L13
	cmp	BYTE PTR -4[rbp], 36
	jne	.L14
.L13:
	mov	eax, 1
	jmp	.L15
.L14:
	cmp	BYTE PTR -4[rbp], 60
	je	.L16
	cmp	BYTE PTR -4[rbp], 62
	je	.L16
	cmp	BYTE PTR -4[rbp], 124
	jne	.L17
.L16:
	mov	eax, 2
	jmp	.L15
.L17:
	mov	eax, 0
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	testing_char, .-testing_char
	.globl	read_line
	.type	read_line, @function
read_line:
.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, 16
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 100
	lea	rdi, entered_line[rip]
	call	fgets@PLT
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
.L23:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, entered_line[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	testing_char
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, edited_line[rip]
	mov	BYTE PTR [rax+rdx], 32
	add	DWORD PTR -8[rbp], 1
	jmp	.L20
.L19:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L21
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, edited_line[rip]
	mov	BYTE PTR [rax+rdx], 32
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, entered_line[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, edited_line[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -8[rbp], 1
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, edited_line[rip]
	mov	BYTE PTR [rax+rdx], 32
	add	DWORD PTR -8[rbp], 1
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, entered_line[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rcx, edited_line[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -8[rbp], 1
.L20:
	add	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, entered_line[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 10
	je	.L24
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cdqe
	lea	rdx, entered_line[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L23
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	read_line, .-read_line
	.section	.rodata
.LC13:
	.string	" "
.LC14:
	.string	"<"
.LC15:
	.string	">"
.LC16:
	.string	"|"
	.text
	.globl	parse_line
	.type	parse_line, @function
parse_line:
.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	DWORD PTR -8[rbp], 0
	lea	rsi, .LC13[rip]
	lea	rdi, edited_line[rip]
	call	strtok@PLT
	mov	QWORD PTR word[rip], rax
	mov	rax, QWORD PTR word[rip]
	test	rax, rax
	jne	.L28
	mov	eax, 0
	jmp	.L27
.L29:
	add	DWORD PTR -8[rbp], 1
	lea	rsi, .LC13[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, word[rip]
	mov	QWORD PTR [rcx+rdx], rax
	cmp	DWORD PTR -8[rbp], 15
	jle	.L28
	mov	eax, -1
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L29
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L30
.L37:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC14[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L31
	mov	eax, DWORD PTR in_red[rip]
	test	eax, eax
	jle	.L32
	mov	eax, -2
	jmp	.L27
.L32:
	mov	eax, DWORD PTR in_red[rip]
	add	eax, 1
	mov	DWORD PTR in_red[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR in_red[rip+4], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	QWORD PTR [rdx+rax], 0
	jmp	.L33
.L31:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC15[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L34
	mov	eax, DWORD PTR out_red[rip]
	test	eax, eax
	jle	.L35
	mov	eax, -2
	jmp	.L27
.L35:
	mov	eax, DWORD PTR out_red[rip]
	add	eax, 1
	mov	DWORD PTR out_red[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR out_red[rip+4], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	QWORD PTR [rdx+rax], 0
	jmp	.L33
.L34:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, BYTE PTR .LC16[rip]
	movzx	eax, al
	movzx	edx, dl
	sub	eax, edx
	test	eax, eax
	jne	.L33
	mov	eax, DWORD PTR pipe_red[rip]
	test	eax, eax
	jle	.L36
	mov	eax, -2
	jmp	.L27
.L36:
	mov	eax, DWORD PTR pipe_red[rip]
	add	eax, 1
	mov	DWORD PTR pipe_red[rip], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR pipe_red[rip+4], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	QWORD PTR [rdx+rax], 0
.L33:
	add	DWORD PTR -4[rbp], 1
.L30:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L37
	mov	eax, DWORD PTR -8[rbp]
.L27:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	parse_line, .-parse_line
	.globl	input_redirecting
	.type	input_redirecting, @function
input_redirecting:
.LFB10:
	.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	eax, DWORD PTR in_red[rip+4]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 511
	mov	esi, 66
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	input_redirecting, .-input_redirecting
	.globl	output_redirecting
	.type	output_redirecting, @function
output_redirecting:
.LFB11:
	.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	eax, DWORD PTR out_red[rip+4]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 511
	mov	esi, 66
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	output_redirecting, .-output_redirecting
	.section	.rodata
.LC17:
	.string	"cd"
.LC18:
	.string	": No such directory"
.LC19:
	.string	"%s%s%s%s\n"
.LC20:
	.string	"Error in command: "
	.text
	.globl	command_exec
	.type	command_exec, @function
command_exec:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR word[rip]
	mov	edx, 2
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L41
	mov	rax, QWORD PTR word[rip+8]
	mov	rdi, rax
	call	chdir@PLT
	cmp	eax, -1
	jne	.L46
	mov	rax, QWORD PTR word[rip+8]
	lea	r8, .LC18[rip]
	lea	rcx, .LC7[rip]
	mov	rdx, rax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L46
.L41:
	call	fork@PLT
	mov	DWORD PTR pid_1[rip], eax
	mov	eax, DWORD PTR pid_1[rip]
	test	eax, eax
	jne	.L43
	mov	eax, DWORD PTR in_red[rip]
	cmp	eax, 1
	jne	.L44
	mov	eax, 0
	call	input_redirecting
	jmp	.L45
.L44:
	mov	eax, DWORD PTR out_red[rip]
	cmp	eax, 1
	jne	.L45
	mov	eax, 0
	call	output_redirecting
.L45:
	mov	rax, QWORD PTR word[rip]
	lea	rsi, word[rip]
	mov	rdi, rax
	call	execvp@PLT
	mov	rax, QWORD PTR word[rip]
	mov	r8, rax
	lea	rcx, .LC10[rip]
	lea	rdx, .LC20[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L43:
	mov	eax, DWORD PTR pid_1[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
.L46:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	command_exec, .-command_exec
	.globl	piping_exec
	.type	piping_exec, @function
piping_exec:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	fork@PLT
	mov	DWORD PTR pid_1[rip], eax
	mov	eax, DWORD PTR pid_1[rip]
	test	eax, eax
	jne	.L48
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR pid_2[rip], eax
	mov	eax, DWORD PTR pid_2[rip]
	test	eax, eax
	jle	.L49
	mov	eax, DWORD PTR pid_2[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR out_red[rip]
	test	eax, eax
	jle	.L50
	mov	eax, 0
	call	output_redirecting
.L50:
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR pipe_red[rip+4]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	add	rdx, rax
	mov	eax, DWORD PTR pipe_red[rip+4]
	add	eax, 1
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	eax, DWORD PTR pipe_red[rip+4]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, word[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	r8, rax
	lea	rcx, .LC10[rip]
	lea	rdx, .LC20[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L49:
	mov	eax, DWORD PTR in_red[rip]
	test	eax, eax
	jle	.L51
	mov	eax, 0
	call	input_redirecting
.L51:
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR word[rip]
	lea	rsi, word[rip]
	mov	rdi, rax
	call	execvp@PLT
	mov	rax, QWORD PTR word[rip]
	mov	r8, rax
	lea	rcx, .LC10[rip]
	lea	rdx, .LC20[rip]
	lea	rsi, .LC7[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L48:
	mov	eax, DWORD PTR pid_1[rip]
	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	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	piping_exec, .-piping_exec
	.globl	resetting_flags
	.type	resetting_flags, @function
resetting_flags:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edx, 100
	mov	esi, 0
	lea	rdi, entered_line[rip]
	call	memset@PLT
	mov	edx, 200
	mov	esi, 0
	lea	rdi, edited_line[rip]
	call	memset@PLT
	mov	edx, 15
	mov	esi, 0
	lea	rdi, word[rip]
	call	memset@PLT
	mov	DWORD PTR in_red[rip], 0
	mov	DWORD PTR out_red[rip], 0
	mov	DWORD PTR pipe_red[rip], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	resetting_flags, .-resetting_flags
	.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	"824715.c"
	.text
	.comm	in_red,8,4
	.comm	out_red,8,4
	.comm	pipe_red,8,4
	.comm	entered_line,100,4
	.comm	edited_line,200,4
	.comm	word,64,4
	.comm	pid_1,4,4
	.comm	pid_2,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033[94m\000"
	.align	2
.LC1:
	.ascii	"sish:>\000"
	.align	2
.LC2:
	.ascii	"\033[92m\000"
	.align	2
.LC3:
	.ascii	"%s%s%s%s%s$ %s\000"
	.align	2
.LC4:
	.ascii	"\033[96m\000"
	.align	2
.LC5:
	.ascii	"exit\000"
	.align	2
.LC6:
	.ascii	"Terminating...\000"
	.align	2
.LC7:
	.ascii	"\033[91m\000"
	.align	2
.LC8:
	.ascii	"%s%s\012\000"
	.align	2
.LC9:
	.ascii	"No command has been entered\000"
	.align	2
.LC10:
	.ascii	"\033[95m\000"
	.align	2
.LC11:
	.ascii	"%sError: Only %s%d%s words are allowed in one comma"
	.ascii	"nd line\012\000"
	.align	2
.LC12:
	.ascii	"Syntax Error\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L10:
	bl	resetting_flags
	sub	r3, fp, #40
	mov	r1, #30
	mov	r0, r3
	bl	getcwd
	ldr	r3, .L12+4
	str	r3, [sp, #8]
	ldr	r3, .L12+8
	str	r3, [sp, #4]
	sub	r3, fp, #40
	str	r3, [sp]
	ldr	r3, .L12+12
	ldr	r2, .L12+16
	ldr	r1, .L12+8
	ldr	r0, .L12+20
	bl	printf
	bl	read_line
	bl	parse_line
	str	r0, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #1
	bne	.L2
	ldr	r3, .L12+24
	ldr	r3, [r3]
	add	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L12+24
	ldr	r3, [r3]
	mov	r2, #4
	ldr	r1, .L12+28
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
.L2:
	ldr	r3, .L12+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L4
.L3:
	ldr	r2, .L12+36
	ldr	r1, .L12+40
	ldr	r0, .L12+44
	bl	printf
	mov	r0, #0
	bl	exit
.L4:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L5
	ldr	r2, .L12+48
	ldr	r1, .L12+40
	ldr	r0, .L12+44
	bl	printf
	b	.L10
.L5:
	ldr	r3, [fp, #-44]
	cmn	r3, #1
	bne	.L7
	ldr	r3, .L12+40
	str	r3, [sp]
	mov	r3, #15
	ldr	r2, .L12+52
	ldr	r1, .L12+40
	ldr	r0, .L12+56
	bl	printf
	b	.L10
.L7:
	ldr	r3, [fp, #-44]
	cmn	r3, #2
	bne	.L8
	ldr	r2, .L12+60
	ldr	r1, .L12+40
	ldr	r0, .L12+44
	bl	printf
	b	.L10
.L8:
	ldr	r3, .L12+64
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	bl	command_exec
	b	.L10
.L9:
	bl	piping_exec
	b	.L10
.L13:
	.align	2
.L12:
	.word	.LC13
	.word	.LC4
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.word	.LC3
	.word	word
	.word	.LC5
	.word	stdin
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	pipe_red
	.size	main, .-main
	.align	2
	.global	testing_char
	.syntax unified
	.arm
	.fpu softvfp
	.type	testing_char, %function
testing_char:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, r0
	strb	r3, [fp, #-5]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	bne	.L15
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L15
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #46
	beq	.L15
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L15
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #47
	beq	.L15
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #36
	bne	.L16
.L15:
	mov	r3, #1
	b	.L17
.L16:
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #60
	beq	.L18
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #62
	beq	.L18
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #124
	bne	.L19
.L18:
	mov	r3, #2
	b	.L17
.L19:
	mov	r3, #0
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	testing_char, .-testing_char
	.align	2
	.global	read_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_line, %function
read_line:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L27
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #100
	ldr	r0, .L27+4
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
.L25:
	ldr	r2, .L27+4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	testing_char
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L21
	ldr	r2, .L27+8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L22
.L21:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L23
	ldr	r2, .L27+8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, .L27+4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L27+8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, .L27+8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L22
.L23:
	ldr	r2, .L27+4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L27+8
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L22:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r2, .L27+4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L26
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldr	r2, .L27+4
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L25
.L26:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L28:
	.align	2
.L27:
	.word	stdin
	.word	entered_line
	.word	edited_line
	.size	read_line, .-read_line
	.section	.rodata
	.align	2
.LC14:
	.ascii	" \000"
	.align	2
.LC15:
	.ascii	"<\000"
	.align	2
.LC16:
	.ascii	">\000"
	.align	2
.LC17:
	.ascii	"|\000"
	.text
	.align	2
	.global	parse_line
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_line, %function
parse_line:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r1, .L42
	ldr	r0, .L42+4
	bl	strtok
	mov	r3, r0
	ldr	r2, .L42+8
	str	r3, [r2]
	ldr	r3, .L42+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L32
	mov	r3, #0
	b	.L31
.L33:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r1, .L42
	mov	r0, #0
	bl	strtok
	mov	r2, r0
	ldr	r1, .L42+8
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	cmp	r3, #15
	ble	.L32
	mvn	r3, #0
	b	.L31
.L32:
	ldr	r2, .L42+8
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, .L42+8
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L34
.L41:
	ldr	r2, .L42+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L42+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L35
	ldr	r3, .L42+16
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L36
	mvn	r3, #1
	b	.L31
.L36:
	ldr	r3, .L42+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+16
	str	r3, [r2]
	ldr	r2, .L42+16
	ldr	r3, [fp, #-8]
	str	r3, [r2, #4]
	ldr	r2, .L42+8
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	b	.L37
.L35:
	ldr	r2, .L42+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L42+20
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L38
	ldr	r3, .L42+24
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L39
	mvn	r3, #1
	b	.L31
.L39:
	ldr	r3, .L42+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+24
	str	r3, [r2]
	ldr	r2, .L42+24
	ldr	r3, [fp, #-8]
	str	r3, [r2, #4]
	ldr	r2, .L42+8
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	b	.L37
.L38:
	ldr	r2, .L42+8
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L42+28
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r2, r3
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L42+32
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L40
	mvn	r3, #1
	b	.L31
.L40:
	ldr	r3, .L42+32
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L42+32
	str	r3, [r2]
	ldr	r2, .L42+32
	ldr	r3, [fp, #-8]
	str	r3, [r2, #4]
	ldr	r2, .L42+8
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L37:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L34:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L41
	ldr	r3, [fp, #-12]
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC14
	.word	edited_line
	.word	word
	.word	.LC15
	.word	in_red
	.word	.LC16
	.word	out_red
	.word	.LC17
	.word	pipe_red
	.size	parse_line, .-parse_line
	.align	2
	.global	input_redirecting
	.syntax unified
	.arm
	.fpu softvfp
	.type	input_redirecting, %function
input_redirecting:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L45
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L45+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L45+8
	mov	r1, #66
	ldr	r0, [fp, #-8]
	bl	open
	mov	r3, r0
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L46:
	.align	2
.L45:
	.word	in_red
	.word	word
	.word	511
	.size	input_redirecting, .-input_redirecting
	.align	2
	.global	output_redirecting
	.syntax unified
	.arm
	.fpu softvfp
	.type	output_redirecting, %function
output_redirecting:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L48
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L48+4
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-8]
	ldr	r2, .L48+8
	mov	r1, #66
	ldr	r0, [fp, #-8]
	bl	open
	mov	r3, r0
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L49:
	.align	2
.L48:
	.word	out_red
	.word	word
	.word	511
	.size	output_redirecting, .-output_redirecting
	.section	.rodata
	.align	2
.LC18:
	.ascii	"cd\000"
	.align	2
.LC19:
	.ascii	"%s%s%s%s\012\000"
	.align	2
.LC20:
	.ascii	": No such directory\000"
	.align	2
.LC21:
	.ascii	"Error in command: \000"
	.text
	.align	2
	.global	command_exec
	.syntax unified
	.arm
	.fpu softvfp
	.type	command_exec, %function
command_exec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L57
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L57+4
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	ldr	r3, .L57
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	chdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L56
	ldr	r3, .L57
	ldr	r2, [r3, #4]
	ldr	r3, .L57+8
	str	r3, [sp]
	ldr	r3, .L57+12
	ldr	r1, .L57+16
	ldr	r0, .L57+20
	bl	printf
	b	.L56
.L51:
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L57+24
	str	r2, [r3]
	ldr	r3, .L57+24
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L57+28
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L54
	bl	input_redirecting
	b	.L55
.L54:
	ldr	r3, .L57+32
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L55
	bl	output_redirecting
.L55:
	ldr	r3, .L57
	ldr	r3, [r3]
	ldr	r1, .L57
	mov	r0, r3
	bl	execvp
	ldr	r3, .L57
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, .L57+16
	ldr	r2, .L57+36
	ldr	r1, .L57+12
	ldr	r0, .L57+20
	bl	printf
	mov	r0, #1
	bl	exit
.L53:
	ldr	r3, .L57+24
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
.L56:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L58:
	.align	2
.L57:
	.word	word
	.word	.LC18
	.word	.LC20
	.word	.LC7
	.word	.LC10
	.word	.LC19
	.word	pid_1
	.word	in_red
	.word	out_red
	.word	.LC21
	.size	command_exec, .-command_exec
	.section	.rodata
	.align	2
.LC22:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	piping_exec
	.syntax unified
	.arm
	.fpu softvfp
	.type	piping_exec, %function
piping_exec:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L65+4
	str	r2, [r3]
	ldr	r3, .L65+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L60
	sub	r3, fp, #16
	mov	r0, r3
	bl	pipe
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L65+8
	str	r2, [r3]
	ldr	r3, .L65+8
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L61
	ldr	r3, .L65+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
	ldr	r3, .L65+12
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L62
	bl	output_redirecting
.L62:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	ldr	r3, .L65+16
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L65+20
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L65+16
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r1, .L65+20
	add	r3, r3, r1
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	ldr	r3, .L65+16
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L65+20
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [sp]
	ldr	r3, .L65+24
	ldr	r2, .L65+28
	ldr	r1, .L65+32
	ldr	r0, .L65+36
	bl	printf
	mov	r0, #1
	bl	exit
.L61:
	ldr	r3, .L65+40
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L63
	bl	input_redirecting
.L63:
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-12]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	ldr	r3, .L65+20
	ldr	r3, [r3]
	ldr	r1, .L65+20
	mov	r0, r3
	bl	execvp
	ldr	r3, .L65+20
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, .L65+24
	ldr	r2, .L65+28
	ldr	r1, .L65+32
	ldr	r0, .L65+36
	bl	printf
	mov	r0, #1
	bl	exit
.L60:
	ldr	r3, .L65+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
	nop
	ldr	r3, .L65
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC22
	.word	pid_1
	.word	pid_2
	.word	out_red
	.word	pipe_red
	.word	word
	.word	.LC10
	.word	.LC21
	.word	.LC7
	.word	.LC19
	.word	in_red
	.size	piping_exec, .-piping_exec
	.align	2
	.global	resetting_flags
	.syntax unified
	.arm
	.fpu softvfp
	.type	resetting_flags, %function
resetting_flags:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r2, #100
	mov	r1, #0
	ldr	r0, .L68
	bl	memset
	mov	r2, #200
	mov	r1, #0
	ldr	r0, .L68+4
	bl	memset
	mov	r2, #15
	mov	r1, #0
	ldr	r0, .L68+8
	bl	memset
	ldr	r3, .L68+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L68+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L68+20
	mov	r2, #0
	str	r2, [r3]
	nop
	pop	{fp, pc}
.L69:
	.align	2
.L68:
	.word	entered_line
	.word	edited_line
	.word	word
	.word	in_red
	.word	out_red
	.word	pipe_red
	.size	resetting_flags, .-resetting_flags
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
