	.file	"32950662.c"
	.intel_syntax noprefix
	.text
	.globl	history
	.bss
	.align 32
	.type	history, @object
	.size	history, 40000
history:
	.zero	40000
	.globl	input_cnt
	.align 4
	.type	input_cnt, @object
	.size	input_cnt, 4
input_cnt:
	.zero	4
	.globl	set_noclobber
	.type	set_noclobber, @object
	.size	set_noclobber, 1
set_noclobber:
	.zero	1
	.section	.rodata
	.align 8
.LC0:
	.string	"\n====================================="
	.align 8
.LC1:
	.string	"--- Implementated Features ---"
.LC2:
	.string	" * cd"
.LC3:
	.string	" * history"
.LC4:
	.string	" * Multiple Commands (;)"
.LC5:
	.string	" * Background execution (&)"
.LC6:
	.string	" * Redirection >, >>, <"
	.align 8
.LC7:
	.string	" * Redirection >| (Ignore [set -o noclobber])"
.LC8:
	.string	" * Pipe |"
.LC9:
	.string	" * Multiple Pipe "
	.align 8
.LC10:
	.string	"------------------------------"
	.align 8
.LC11:
	.string	"  + set -o noclobber, set +o noclobber"
	.align 8
.LC12:
	.string	"=====================================\n"
.LC13:
	.string	"%s >>> "
	.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
	lea	r11, -24576[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 1360
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -25932[rbp]
	mov	QWORD PTR -25896[rbp], rax
	mov	DWORD PTR input_cnt[rip], 0
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	call	puts@PLT
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L14:
	lea	rax, -2064[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	getcwd@PLT
	mov	QWORD PTR -25888[rbp], rax
	mov	rax, QWORD PTR -25888[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -1040[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	lea	rax, -1040[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -1040[rbp+rax], 0
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -25880[rbp], rax
	lea	rdx, -1040[rbp]
	mov	rax, QWORD PTR -25880[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR input_cnt[rip]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, history[rip]
	mov	rax, QWORD PTR -25880[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR input_cnt[rip]
	add	eax, 1
	mov	DWORD PTR input_cnt[rip], eax
	lea	rdx, -25664[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	div_cmd_by_semicolon
	mov	DWORD PTR -25908[rbp], eax
	mov	DWORD PTR -25928[rbp], 0
	jmp	.L2
.L9:
	mov	eax, DWORD PTR -25928[rbp]
	cdqe
	mov	rax, QWORD PTR -25664[rbp+rax*8]
	lea	rdx, -23664[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	div_cmd_by_op
	mov	rdx, QWORD PTR -25896[rbp]
	mov	DWORD PTR [rdx], eax
	lea	rdx, -23664[rbp]
	mov	rax, QWORD PTR -25896[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	amp_chk
	mov	BYTE PTR -25933[rbp], al
	mov	DWORD PTR -25924[rbp], 0
	jmp	.L3
.L6:
	mov	eax, DWORD PTR -25924[rbp]
	cdqe
	mov	rax, QWORD PTR -23664[rbp+rax*8]
	lea	rdx, -24864[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	tokenize
	mov	DWORD PTR -25900[rbp], eax
	mov	eax, DWORD PTR -25924[rbp]
	cdqe
	mov	edx, DWORD PTR -25900[rbp]
	mov	DWORD PTR -25872[rbp+rax*4], edx
	mov	DWORD PTR -25920[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -25920[rbp]
	cdqe
	mov	rdx, QWORD PTR -24864[rbp+rax*8]
	mov	eax, DWORD PTR -25920[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -25924[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	add	rax, rax
	add	rax, rsi
	mov	QWORD PTR -22064[rbp+rax*8], rdx
	add	DWORD PTR -25920[rbp], 1
.L4:
	mov	eax, DWORD PTR -25920[rbp]
	cmp	eax, DWORD PTR -25900[rbp]
	jl	.L5
	add	DWORD PTR -25924[rbp], 1
.L3:
	mov	eax, DWORD PTR -25932[rbp]
	cmp	DWORD PTR -25924[rbp], eax
	jl	.L6
	mov	eax, DWORD PTR -25932[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -25904[rbp], eax
	cmp	DWORD PTR -25904[rbp], 0
	jle	.L7
	movzx	eax, BYTE PTR set_noclobber[rip]
	movzx	edi, al
	movzx	ecx, BYTE PTR -25933[rbp]
	mov	edx, DWORD PTR -25904[rbp]
	lea	rsi, -22064[rbp]
	lea	rax, -25872[rbp]
	mov	r8d, edi
	mov	rdi, rax
	call	run_op
	jmp	.L8
.L7:
	movzx	edx, BYTE PTR -25933[rbp]
	mov	eax, DWORD PTR -25872[rbp]
	lea	rcx, -22064[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
.L8:
	add	DWORD PTR -25928[rbp], 1
.L2:
	mov	eax, DWORD PTR -25928[rbp]
	cmp	eax, DWORD PTR -25908[rbp]
	jl	.L9
	mov	DWORD PTR -25916[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -25912[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -25912[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -25916[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	mov	QWORD PTR -22064[rbp+rax*8], 0
	add	DWORD PTR -25912[rbp], 1
.L11:
	cmp	DWORD PTR -25912[rbp], 50
	jle	.L12
	add	DWORD PTR -25916[rbp], 1
.L10:
	cmp	DWORD PTR -25916[rbp], 50
	jle	.L13
	jmp	.L14
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	div_cmd_by_semicolon
	.type	div_cmd_by_semicolon, @function
div_cmd_by_semicolon:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	mov	WORD PTR -10[rbp], 59
	lea	rdx, -10[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	lea	rax, -10[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L17:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	div_cmd_by_semicolon, .-div_cmd_by_semicolon
	.section	.rodata
.LC14:
	.string	":"
	.text
	.globl	div_cmd_by_op
	.type	div_cmd_by_op, @function
div_cmd_by_op:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	edi, 100
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	BYTE PTR -29[rbp], 0
	jmp	.L22
.L36:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 34
	je	.L23
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 39
	jne	.L24
.L23:
	movzx	eax, BYTE PTR -29[rbp]
	xor	eax, 1
	test	al, al
	je	.L25
	mov	BYTE PTR -29[rbp], 1
	jmp	.L26
.L25:
	mov	BYTE PTR -29[rbp], 0
.L26:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 32
	add	DWORD PTR -28[rbp], 1
	add	DWORD PTR -24[rbp], 1
.L24:
	movzx	eax, BYTE PTR -29[rbp]
	xor	eax, 1
	test	al, al
	je	.L27
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 62
	jne	.L28
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 62
	jne	.L29
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 62
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 62
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 3
	add	DWORD PTR -28[rbp], 1
	jmp	.L30
.L29:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	jne	.L31
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 62
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 124
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 3
	add	DWORD PTR -28[rbp], 1
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 62
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 2
	jmp	.L30
.L28:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	jne	.L32
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 60
	jne	.L33
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 60
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 60
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 3[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 3
	add	DWORD PTR -28[rbp], 1
	jmp	.L30
.L33:
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 60
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 2
	jmp	.L30
.L32:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 124
	jne	.L34
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 124
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 2
	jmp	.L30
.L34:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 38
	jne	.L35
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 38
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 58
	add	DWORD PTR -24[rbp], 2
	jmp	.L30
.L35:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L30
.L27:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -8[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
.L30:
	add	DWORD PTR -28[rbp], 1
	add	DWORD PTR -24[rbp], 1
.L22:
	mov	eax, DWORD PTR -28[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L36
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -16[rbp], rax
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR [rdx], rax
	lea	rsi, .LC14[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -16[rbp], rax
	add	DWORD PTR -20[rbp], 1
.L37:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L38
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -20[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	div_cmd_by_op, .-div_cmd_by_op
	.section	.rodata
	.align 8
.LC15:
	.string	"\nRun from Background Process (PID: %d)\n"
.LC16:
	.string	"/dev/null"
.LC17:
	.string	"history"
.LC18:
	.string	"cd"
.LC19:
	.string	"ls"
.LC20:
	.string	"cat"
.LC21:
	.string	"grep"
.LC22:
	.string	"echo"
	.align 8
.LC23:
	.string	"\nError: Not Implemented Command"
.LC24:
	.string	"set"
.LC25:
	.string	"-o"
.LC26:
	.string	"noclobber"
.LC27:
	.string	"\n** Overwrite disabled **"
.LC28:
	.string	"+o"
.LC29:
	.string	"\n** Overwrite enabled **"
	.text
	.globl	run_cmd
	.type	run_cmd, @function
run_cmd:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	eax, edx
	mov	BYTE PTR -40[rbp], al
	cmp	BYTE PTR -40[rbp], 0
	je	.L41
	call	fork@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L42
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	mov	esi, 1
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	edi, 2
	call	dup@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 2
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L43
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	cmd_history
	mov	edi, 0
	call	exit@PLT
.L43:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	cmd_cd
	mov	edi, 0
	call	exit@PLT
.L44:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L45
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L46
	cmp	DWORD PTR -36[rbp], 1
	jne	.L47
	mov	edx, 0
	lea	rsi, .LC19[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L48
.L47:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	call	execvp@PLT
	jmp	.L48
.L46:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	edi, 0
	call	exit@PLT
.L45:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L49
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L50
	cmp	DWORD PTR -36[rbp], 1
	jne	.L51
	mov	edx, 0
	lea	rsi, .LC20[rip]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L48
.L51:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	call	execvp@PLT
	jmp	.L48
.L50:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	edi, 0
	call	exit@PLT
.L49:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L52
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L53
	cmp	DWORD PTR -36[rbp], 1
	jne	.L54
	mov	edx, 0
	lea	rsi, .LC21[rip]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L48
.L54:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	call	execvp@PLT
	jmp	.L48
.L53:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	edi, 0
	call	exit@PLT
.L52:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L55
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L56
	cmp	DWORD PTR -36[rbp], 1
	jne	.L57
	mov	edx, 0
	lea	rsi, .LC22[rip]
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L48
.L57:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	execvp@PLT
	jmp	.L48
.L56:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	edi, 0
	call	exit@PLT
.L55:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L48:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -8[rbp]
	mov	esi, 2
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L75
.L42:
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L75
.L41:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L59
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	cmd_history
	jmp	.L75
.L59:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L60
	mov	rdx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	cmd_cd
	jmp	.L75
.L60:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L61
	mov	BYTE PTR set_noclobber[rip], 1
	lea	rdi, .LC27[rip]
	call	puts@PLT
	jmp	.L58
.L61:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L62
	mov	BYTE PTR set_noclobber[rip], 0
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L58
.L62:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L63
	call	fork@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L64
	cmp	DWORD PTR -36[rbp], 1
	jne	.L65
	mov	edx, 0
	lea	rsi, .LC19[rip]
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L75
.L65:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	call	execvp@PLT
	jmp	.L75
.L64:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	jmp	.L75
.L63:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L66
	call	fork@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L67
	cmp	DWORD PTR -36[rbp], 1
	jne	.L68
	mov	edx, 0
	lea	rsi, .LC20[rip]
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L75
.L68:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	call	execvp@PLT
	jmp	.L75
.L67:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	jmp	.L75
.L66:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L69
	call	fork@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L70
	cmp	DWORD PTR -36[rbp], 1
	jne	.L71
	mov	edx, 0
	lea	rsi, .LC21[rip]
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L75
.L71:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	call	execvp@PLT
	jmp	.L75
.L70:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	jmp	.L75
.L69:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L72
	call	fork@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L73
	cmp	DWORD PTR -36[rbp], 1
	jne	.L74
	mov	edx, 0
	lea	rsi, .LC22[rip]
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	execlp@PLT
	jmp	.L75
.L74:
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	call	execvp@PLT
	jmp	.L75
.L73:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	jmp	.L75
.L72:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L75
.L58:
.L75:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	run_cmd, .-run_cmd
	.section	.rodata
.LC30:
	.string	"&"
.LC31:
	.string	" "
	.text
	.globl	amp_chk
	.type	amp_chk, @function
amp_chk:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L77
.L80:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L78
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	lea	rdx, .LC31[rip]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 1
	jmp	.L79
.L78:
	add	DWORD PTR -4[rbp], 1
.L77:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L80
	mov	eax, 0
.L79:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	amp_chk, .-amp_chk
	.globl	tokenize
	.type	tokenize, @function
tokenize:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -12[rbp], 657696
	lea	rdx, -12[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24[rbp], rax
	jmp	.L82
.L83:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	lea	rax, -12[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -24[rbp], rax
	add	DWORD PTR -28[rbp], 1
.L82:
	cmp	QWORD PTR -24[rbp], 0
	jne	.L83
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L85
	call	__stack_chk_fail@PLT
.L85:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	tokenize, .-tokenize
	.section	.rodata
.LC32:
	.string	"==== History of cmd ===="
.LC33:
	.string	"[%d] %s\n"
.LC34:
	.string	"\n========================"
	.text
	.globl	cmd_history
	.type	cmd_history, @function
cmd_history:
.LFB12:
	.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
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jne	.L87
	lea	rdi, .LC32[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L88
.L89:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, history[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -4[rbp]
	lea	ecx, 1[rdx]
	mov	rdx, rax
	mov	esi, ecx
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L88:
	mov	eax, DWORD PTR input_cnt[rip]
	sub	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	jl	.L89
	lea	rdi, .LC34[rip]
	call	puts@PLT
	mov	eax, DWORD PTR input_cnt[rip]
	jmp	.L90
.L87:
	mov	eax, -1
.L90:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	cmd_history, .-cmd_history
	.section	.rodata
.LC35:
	.string	"HOME"
.LC36:
	.string	"**Error: chdir Failed **\n"
	.text
	.globl	cmd_cd
	.type	cmd_cd, @function
cmd_cd:
.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	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	cmp	DWORD PTR -4[rbp], 1
	jne	.L92
	lea	rdi, .LC35[rip]
	call	getenv@PLT
	mov	rdi, rax
	call	chdir@PLT
	jmp	.L93
.L92:
	cmp	DWORD PTR -4[rbp], 2
	jne	.L93
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	chdir@PLT
	cmp	eax, -1
	jne	.L93
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC36[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L94
.L93:
	mov	eax, 0
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cmd_cd, .-cmd_cd
	.section	.rodata
.LC37:
	.string	">"
.LC38:
	.string	">|"
.LC39:
	.string	">>"
.LC40:
	.string	"<"
.LC41:
	.string	"|"
	.align 8
.LC42:
	.string	"\nError : Can't overwrite.\nTo overwrite, use '>|' or Enter [set +o noclobber]."
	.text
	.globl	run_op
	.type	run_op, @function
run_op:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 112
	mov	QWORD PTR -88[rbp], rdi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -100[rbp], edx
	mov	eax, ecx
	mov	edx, r8d
	mov	BYTE PTR -104[rbp], al
	mov	eax, edx
	mov	BYTE PTR -108[rbp], al
	mov	edi, 0
	call	dup@PLT
	mov	DWORD PTR -68[rbp], eax
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -64[rbp], eax
	mov	edi, 2
	call	dup@PLT
	mov	DWORD PTR -60[rbp], eax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 400
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -8[rbp], rax
	cmp	BYTE PTR -104[rbp], 0
	je	.L96
	call	fork@PLT
	mov	DWORD PTR -32[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	jne	.L97
	call	getpid@PLT
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -100[rbp], 1
	jg	.L98
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L99
	movzx	eax, BYTE PTR -108[rbp]
	xor	eax, 1
	test	al, al
	je	.L99
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jle	.L100
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
.L100:
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
.L99:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L101
	cmp	BYTE PTR -108[rbp], 0
	je	.L101
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 193
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jle	.L102
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
.L102:
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L107
.L101:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L104
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L107
.L104:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L105
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 1089
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L107
.L105:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L106
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	edi, 0
	call	dup@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L107
.L106:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L107
	mov	edx, DWORD PTR -100[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	run_pipe
	jmp	.L107
.L98:
	mov	BYTE PTR -78[rbp], 1
	mov	DWORD PTR -76[rbp], 0
	jmp	.L108
.L110:
	mov	eax, DWORD PTR -76[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L109
	mov	BYTE PTR -78[rbp], 0
.L109:
	add	DWORD PTR -76[rbp], 1
.L108:
	mov	eax, DWORD PTR -76[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L110
	cmp	BYTE PTR -78[rbp], 0
	je	.L107
	mov	edx, DWORD PTR -100[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	multiple_pipe
.L107:
	mov	edi, 0
	call	exit@PLT
.L97:
	mov	eax, DWORD PTR -32[rbp]
	mov	edx, 1
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	edi, 1
	call	sleep@PLT
	jmp	.L125
.L96:
	cmp	DWORD PTR -100[rbp], 1
	jg	.L112
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L113
	cmp	BYTE PTR -108[rbp], 0
	je	.L113
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 193
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jle	.L114
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	jmp	.L115
.L114:
	lea	rdi, .LC42[rip]
	call	puts@PLT
.L115:
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L111
.L113:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC37[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L117
	movzx	eax, BYTE PTR -108[rbp]
	xor	eax, 1
	test	al, al
	je	.L117
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	jle	.L118
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -48[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
.L118:
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L111
.L117:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L119
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 577
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L125
.L119:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC39[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L120
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 420
	mov	esi, 1089
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	edi, 1
	call	dup@PLT
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L125
.L120:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC40[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L121
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -56[rbp], eax
	mov	edi, 0
	call	dup@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rcx, QWORD PTR -96[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	run_cmd
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR -44[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L125
.L121:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L125
	mov	edx, DWORD PTR -100[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	run_pipe
	jmp	.L125
.L112:
	mov	BYTE PTR -77[rbp], 1
	mov	DWORD PTR -72[rbp], 0
	jmp	.L122
.L124:
	mov	eax, DWORD PTR -72[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC41[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L123
	mov	BYTE PTR -77[rbp], 0
.L123:
	add	DWORD PTR -72[rbp], 1
.L122:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -100[rbp]
	jl	.L124
	cmp	BYTE PTR -77[rbp], 0
	je	.L125
	mov	edx, DWORD PTR -100[rbp]
	mov	rcx, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR -88[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	multiple_pipe
	jmp	.L125
.L111:
.L125:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	run_op, .-run_op
	.globl	run_pipe
	.type	run_pipe, @function
run_pipe:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -52[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	DWORD PTR -52[rbp], 1
	jne	.L133
	call	fork@PLT
	mov	DWORD PTR -24[rbp], eax
	cmp	DWORD PTR -24[rbp], 0
	jne	.L128
	call	fork@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jne	.L129
	mov	eax, DWORD PTR -16[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L130
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 800
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	jmp	.L133
.L130:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 800[rax]
	mov	rax, QWORD PTR -48[rbp]
	add	rax, 800
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	jmp	.L133
.L129:
	mov	eax, DWORD PTR -12[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L131
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	jmp	.L133
.L131:
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	jmp	.L133
.L128:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	close@PLT
.L133:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L132
	call	__stack_chk_fail@PLT
.L132:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	run_pipe, .-run_pipe
	.globl	multiple_pipe
	.type	multiple_pipe, @function
multiple_pipe:
.LFB16:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	DWORD PTR -84[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	rbx, rax
	mov	eax, DWORD PTR -84[rbp]
	movsx	rdx, eax
	sub	rdx, 1
	mov	QWORD PTR -40[rbp], rdx
	movsx	rdx, eax
	mov	r10, rdx
	mov	r11d, 0
	movsx	rdx, eax
	mov	r8, rdx
	mov	r9d, 0
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	esi, 16
	mov	edx, 0
	div	rsi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L135:
	cmp	rsp, rdx
	je	.L136
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L135
.L136:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L137
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L137:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L138
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L139
	mov	rax, QWORD PTR -80[rbp]
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	jmp	.L138
.L139:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -80[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
.L138:
	mov	DWORD PTR -48[rbp], 1
	jmp	.L140
.L145:
	mov	eax, DWORD PTR -48[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L141
	mov	eax, DWORD PTR -48[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -48[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	DWORD PTR -52[rbp], 0
	jmp	.L142
.L143:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -52[rbp], 1
.L142:
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -48[rbp]
	jle	.L143
	mov	eax, DWORD PTR -48[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L144
	mov	eax, DWORD PTR -48[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -48[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	jmp	.L141
.L144:
	mov	eax, DWORD PTR -48[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -48[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
.L141:
	add	DWORD PTR -48[rbp], 1
.L140:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L145
	mov	DWORD PTR -56[rbp], 0
	jmp	.L146
.L147:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -56[rbp], 1
.L146:
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, 1
	cmp	DWORD PTR -56[rbp], eax
	jl	.L147
	call	fork@PLT
	mov	DWORD PTR -44[rbp], eax
	cmp	DWORD PTR -44[rbp], 0
	jne	.L148
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -84[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -32[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -72[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	cmp	eax, 1
	jne	.L149
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	jmp	.L150
.L149:
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -84[rbp]
	add	eax, eax
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 4
	mov	rcx, rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	jmp	.L150
.L148:
	mov	DWORD PTR -60[rbp], 0
	jmp	.L151
.L152:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -60[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR 4[rax+rdx*8]
	mov	edi, eax
	call	close@PLT
	add	DWORD PTR -60[rbp], 1
.L151:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -84[rbp]
	jl	.L152
	mov	edi, 1
	call	sleep@PLT
.L150:
	mov	rsp, rbx
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L153
	call	__stack_chk_fail@PLT
.L153:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	multiple_pipe, .-multiple_pipe
	.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	"32950662.c"
	.text
	.comm	history,20000,4
	.comm	input_cnt,4,4
	.global	set_noclobber
	.bss
	.type	set_noclobber, %object
	.size	set_noclobber, 1
set_noclobber:
	.space	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012=====================================\000"
	.align	2
.LC1:
	.ascii	"--- Implementated Features ---\000"
	.align	2
.LC2:
	.ascii	" * cd\000"
	.align	2
.LC3:
	.ascii	" * history\000"
	.align	2
.LC4:
	.ascii	" * Multiple Commands (;)\000"
	.align	2
.LC5:
	.ascii	" * Background execution (&)\000"
	.align	2
.LC6:
	.ascii	" * Redirection >, >>, <\000"
	.align	2
.LC7:
	.ascii	" * Redirection >| (Ignore [set -o noclobber])\000"
	.align	2
.LC8:
	.ascii	" * Pipe |\000"
	.align	2
.LC9:
	.ascii	" * Multiple Pipe \000"
	.align	2
.LC10:
	.ascii	"------------------------------\000"
	.align	2
.LC11:
	.ascii	"  + set -o noclobber, set +o noclobber\000"
	.align	2
.LC12:
	.ascii	"=====================================\012\000"
	.align	2
.LC13:
	.ascii	"%s >>> \000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 14104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #14080
	sub	sp, sp, #36
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #14080
	sub	r3, r3, #12
	sub	r3, r3, #20
	str	r3, [r2, #-1788]
	ldr	r3, .L16+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L16+8
	bl	puts
	ldr	r0, .L16+12
	bl	puts
	ldr	r0, .L16+16
	bl	puts
	ldr	r0, .L16+20
	bl	puts
	ldr	r0, .L16+24
	bl	puts
	ldr	r0, .L16+28
	bl	puts
	ldr	r0, .L16+32
	bl	puts
	ldr	r0, .L16+36
	bl	puts
	ldr	r0, .L16+40
	bl	puts
	ldr	r0, .L16+44
	bl	puts
	ldr	r0, .L16+48
	bl	puts
	ldr	r0, .L16+52
	bl	puts
	ldr	r0, .L16+56
	bl	puts
.L14:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	getcwd
	str	r0, [r4, #-1784]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r1, [r3, #-1784]
	ldr	r0, .L16+60
	bl	printf
	ldr	r3, .L16+64
	ldr	r2, [r3]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #-1780]
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #12288
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-1780]
	bl	strcpy
	ldr	r3, .L16+4
	ldr	r3, [r3]
	ldr	r1, .L16+68
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1780]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L16+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L16+4
	str	r3, [r2]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #13824
	sub	r2, r2, #12
	sub	r2, r2, #28
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	div_cmd_by_semicolon
	str	r0, [r4, #-1776]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1808]
	b	.L2
.L9:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1808]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-1564]
	sub	r3, fp, #12800
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r1, r3
	mov	r0, r2
	bl	div_cmd_by_op
	mov	r2, r0
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1788]
	str	r2, [r3]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #12800
	sub	r3, r3, #12
	sub	r3, r3, #52
	sub	r2, fp, #12288
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-1788]
	bl	amp_chk
	mov	r3, r0
	strb	r3, [r4, #-1813]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1804]
	b	.L3
.L6:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1804]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #-564]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #13440
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r1, r3
	mov	r0, r2
	bl	tokenize
	str	r0, [r4, #-1768]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1804]
	lsl	r3, r3, #2
	add	r3, r2, r3
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1768]
	str	r2, [r3, #-1764]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1800]
	b	.L4
.L5:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1800]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r1, [r3, #-1164]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r3, #-1804]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1800]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	str	r1, [r3, #-3860]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1800]
	add	r3, r3, #1
	str	r3, [r2, #-1800]
.L4:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r2, #-1800]
	ldr	r3, [r3, #-1768]
	cmp	r2, r3
	blt	.L5
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1804]
	add	r3, r3, #1
	str	r3, [r2, #-1804]
.L3:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1812]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1804]
	cmp	r2, r3
	blt	.L6
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1812]
	sub	r2, fp, #12288
	sub	r2, r2, #12
	mov	r1, r2
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [r1, #-1772]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1772]
	cmp	r3, #0
	ble	.L7
	ldr	r3, .L16+72
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldrb	r2, [r2, #-1813]	@ zero_extendqisi2
	sub	r1, fp, #12288
	sub	r1, r1, #12
	mov	ip, r1
	sub	r1, fp, #12032
	sub	r1, r1, #12
	sub	r1, r1, #20
	sub	r0, fp, #14016
	sub	r0, r0, #12
	sub	r0, r0, #36
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [ip, #-1772]
	bl	run_op
	b	.L8
.L7:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r0, [r3, #-1764]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldrb	r2, [r3, #-1813]	@ zero_extendqisi2
	sub	r3, fp, #12032
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r1, r3
	bl	run_cmd
.L8:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1808]
	add	r3, r3, #1
	str	r3, [r2, #-1808]
.L2:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r2, #-1808]
	ldr	r3, [r3, #-1776]
	cmp	r2, r3
	blt	.L9
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1796]
	b	.L10
.L13:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-1792]
	b	.L11
.L12:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r2, [r3, #-1796]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, fp, #12288
	sub	r2, r2, #12
	ldr	r2, [r2, #-1792]
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #-3860]
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1792]
	add	r3, r3, #1
	str	r3, [r2, #-1792]
.L11:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1792]
	cmp	r3, #50
	ble	.L12
	sub	r3, fp, #12288
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1796]
	add	r3, r3, #1
	str	r3, [r2, #-1796]
.L10:
	sub	r3, fp, #12288
	sub	r3, r3, #12
	ldr	r3, [r3, #-1796]
	cmp	r3, #50
	ble	.L13
	b	.L14
.L17:
	.align	2
.L16:
	.word	.LC14
	.word	input_cnt
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	stdin
	.word	history
	.word	set_noclobber
	.size	main, .-main
	.section	.rodata
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	div_cmd_by_semicolon
	.syntax unified
	.arm
	.fpu softvfp
	.type	div_cmd_by_semicolon, %function
div_cmd_by_semicolon:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #59
	strh	r3, [fp, #-12]	@ movhi
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strtok
	str	r0, [fp, #-16]
	b	.L19
.L20:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	sub	r3, fp, #12
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L19:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-20]
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC15
	.size	div_cmd_by_semicolon, .-div_cmd_by_semicolon
	.section	.rodata
	.align	2
.LC16:
	.ascii	":\000"
	.text
	.align	2
	.global	div_cmd_by_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	div_cmd_by_op, %function
div_cmd_by_op:
	@ 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]
	str	r1, [fp, #-36]
	mov	r0, #100
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	strb	r3, [fp, #-25]
	b	.L26
.L40:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #34
	beq	.L27
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #39
	bne	.L28
.L27:
	ldrb	r3, [fp, #-25]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L29
	mov	r3, #1
	strb	r3, [fp, #-25]
	b	.L30
.L29:
	mov	r3, #0
	strb	r3, [fp, #-25]
.L30:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L28:
	ldrb	r3, [fp, #-25]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L31
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L32
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L33
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #62
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #62
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L34
.L33:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	bne	.L35
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #62
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #124
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L34
.L35:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #62
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	b	.L34
.L32:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	bne	.L36
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #60
	bne	.L37
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #60
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #60
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #3
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L34
.L37:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #60
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	b	.L34
.L36:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	bne	.L38
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #124
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	b	.L34
.L38:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #38
	bne	.L39
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #38
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #58
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #2
	str	r3, [fp, #-20]
	b	.L34
.L39:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L34
.L31:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r2, r2, r3
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L34:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L26:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L40
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r1, .L44
	ldr	r0, [fp, #-8]
	bl	strtok
	str	r0, [fp, #-12]
	b	.L41
.L42:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r1, .L44
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L41:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L42
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	.LC16
	.size	div_cmd_by_op, .-div_cmd_by_op
	.section	.rodata
	.align	2
.LC17:
	.ascii	"\012Run from Background Process (PID: %d)\012\000"
	.align	2
.LC18:
	.ascii	"/dev/null\000"
	.align	2
.LC19:
	.ascii	"history\000"
	.align	2
.LC20:
	.ascii	"cd\000"
	.align	2
.LC21:
	.ascii	"ls\000"
	.align	2
.LC22:
	.ascii	"cat\000"
	.align	2
.LC23:
	.ascii	"grep\000"
	.align	2
.LC24:
	.ascii	"echo\000"
	.align	2
.LC25:
	.ascii	"\012Error: Not Implemented Command\000"
	.align	2
.LC26:
	.ascii	"set\000"
	.align	2
.LC27:
	.ascii	"-o\000"
	.align	2
.LC28:
	.ascii	"noclobber\000"
	.align	2
.LC29:
	.ascii	"\012** Overwrite disabled **\000"
	.align	2
.LC30:
	.ascii	"+o\000"
	.align	2
.LC31:
	.ascii	"\012** Overwrite enabled **\000"
	.text
	.align	2
	.global	run_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_cmd, %function
run_cmd:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	mov	r3, r2
	strb	r3, [fp, #-37]
	ldrb	r3, [fp, #-37]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L47
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L48
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L82
	bl	printf
	mov	r1, #1
	ldr	r0, .L82+4
	bl	open
	str	r0, [fp, #-20]
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-16]
	mov	r0, #2
	bl	dup
	str	r0, [fp, #-12]
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	dup2
	mov	r1, #2
	ldr	r0, [fp, #-20]
	bl	dup2
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L49
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	cmd_history
	mov	r0, #0
	bl	exit
.L49:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L50
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	cmd_cd
	mov	r0, #0
	bl	exit
.L50:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L51
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L52
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L53
	mov	r2, #0
	ldr	r1, .L82+16
	ldr	r0, .L82+16
	bl	execlp
	b	.L54
.L53:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+16
	bl	execvp
	b	.L54
.L52:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	waitpid
	mov	r0, #0
	bl	exit
.L51:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L55
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L56
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L57
	mov	r2, #0
	ldr	r1, .L82+20
	ldr	r0, .L82+20
	bl	execlp
	b	.L54
.L57:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+20
	bl	execvp
	b	.L54
.L56:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	waitpid
	mov	r0, #0
	bl	exit
.L55:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L58
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L59
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L60
	mov	r2, #0
	ldr	r1, .L82+24
	ldr	r0, .L82+24
	bl	execlp
	b	.L54
.L60:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+24
	bl	execvp
	b	.L54
.L59:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	waitpid
	mov	r0, #0
	bl	exit
.L58:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L61
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L63
	mov	r2, #0
	ldr	r1, .L82+28
	ldr	r0, .L82+28
	bl	execlp
	b	.L54
.L63:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+28
	bl	execvp
	b	.L54
.L62:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	waitpid
	mov	r0, #0
	bl	exit
.L61:
	ldr	r0, .L82+32
	bl	puts
	mov	r0, #0
	bl	exit
.L54:
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	dup2
	mov	r1, #2
	ldr	r0, [fp, #-12]
	bl	dup2
	ldr	r0, [fp, #-20]
	bl	close
	b	.L81
.L48:
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	waitpid
	mov	r0, #1
	bl	sleep
	b	.L81
.L47:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L65
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	cmd_history
	b	.L81
.L65:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L66
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-32]
	bl	cmd_cd
	b	.L81
.L66:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L82+40
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L82+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L67
	ldr	r3, .L82+48
	mov	r2, #1
	strb	r2, [r3]
	ldr	r0, .L82+52
	bl	puts
	b	.L64
.L67:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L82+56
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-36]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L82+44
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L82+48
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, .L82+60
	bl	puts
	b	.L64
.L68:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L69
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L70
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L71
	mov	r2, #0
	ldr	r1, .L82+16
	ldr	r0, .L82+16
	bl	execlp
	b	.L81
.L71:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+16
	bl	execvp
	b	.L81
.L70:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	waitpid
	b	.L81
.L69:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L73
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L74
	mov	r2, #0
	ldr	r1, .L82+20
	ldr	r0, .L82+20
	bl	execlp
	b	.L81
.L74:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+20
	bl	execvp
	b	.L81
.L73:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	waitpid
	b	.L81
.L72:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L75
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L76
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L77
	mov	r2, #0
	ldr	r1, .L82+24
	ldr	r0, .L82+24
	bl	execlp
	b	.L81
.L77:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+24
	bl	execvp
	b	.L81
.L76:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	waitpid
	b	.L81
.L75:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, .L82+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L78
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L79
	ldr	r3, [fp, #-32]
	cmp	r3, #1
	bne	.L80
	mov	r2, #0
	ldr	r1, .L82+28
	ldr	r0, .L82+28
	bl	execlp
	b	.L81
.L80:
	ldr	r1, [fp, #-36]
	ldr	r0, .L82+28
	bl	execvp
	b	.L81
.L79:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	waitpid
	b	.L81
.L78:
	ldr	r0, .L82+32
	bl	puts
	b	.L81
.L64:
.L81:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L83:
	.align	2
.L82:
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	set_noclobber
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.size	run_cmd, .-run_cmd
	.section	.rodata
	.align	2
.LC32:
	.ascii	"&\000"
	.align	2
.LC33:
	.ascii	" \000"
	.text
	.align	2
	.global	amp_chk
	.syntax unified
	.arm
	.fpu softvfp
	.type	amp_chk, %function
amp_chk:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L85
.L88:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L89
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L86
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, .L89+4
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	mov	r3, #1
	b	.L87
.L86:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L85:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L88
	mov	r3, #0
.L87:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC32
	.word	.LC33
	.size	amp_chk, .-amp_chk
	.section	.rodata
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	tokenize
	.syntax unified
	.arm
	.fpu softvfp
	.type	tokenize, %function
tokenize:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r3, .L96
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, .L96+4
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	strtok
	str	r0, [fp, #-16]
	b	.L92
.L93:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	sub	r3, fp, #12
	mov	r1, r3
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L92:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L93
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, .L96
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L95
	bl	__stack_chk_fail
.L95:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC34
	.word	657696
	.size	tokenize, .-tokenize
	.section	.rodata
	.align	2
.LC35:
	.ascii	"==== History of cmd ====\000"
	.align	2
.LC36:
	.ascii	"[%d] %s\012\000"
	.align	2
.LC37:
	.ascii	"\012========================\000"
	.text
	.align	2
	.global	cmd_history
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_history, %function
cmd_history:
	@ 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]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L99
	ldr	r0, .L103
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L100
.L101:
	ldr	r3, [fp, #-8]
	add	r1, r3, #1
	ldr	r2, .L103+4
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	ldr	r0, .L103+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L100:
	ldr	r3, .L103+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L101
	ldr	r0, .L103+16
	bl	puts
	ldr	r3, .L103+12
	ldr	r3, [r3]
	b	.L102
.L99:
	mvn	r3, #0
.L102:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L104:
	.align	2
.L103:
	.word	.LC35
	.word	history
	.word	.LC36
	.word	input_cnt
	.word	.LC37
	.size	cmd_history, .-cmd_history
	.section	.rodata
	.align	2
.LC38:
	.ascii	"HOME\000"
	.align	2
.LC39:
	.ascii	"**Error: chdir Failed **\012\000"
	.text
	.align	2
	.global	cmd_cd
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_cd, %function
cmd_cd:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L106
	ldr	r0, .L109
	bl	getenv
	mov	r3, r0
	mov	r0, r3
	bl	chdir
	b	.L107
.L106:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bne	.L107
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	chdir
	mov	r3, r0
	cmn	r3, #1
	bne	.L107
	ldr	r3, .L109+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L109+8
	bl	fwrite
	mvn	r3, #0
	b	.L108
.L107:
	mov	r3, #0
.L108:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC38
	.word	stderr
	.word	.LC39
	.size	cmd_cd, .-cmd_cd
	.section	.rodata
	.align	2
.LC40:
	.ascii	">\000"
	.align	2
.LC41:
	.ascii	">|\000"
	.align	2
.LC42:
	.ascii	">>\000"
	.align	2
.LC43:
	.ascii	"<\000"
	.align	2
.LC44:
	.ascii	"|\000"
	.align	2
.LC45:
	.ascii	"\012Error : Can't overwrite.\012To overwrite, use '"
	.ascii	">|' or Enter [set +o noclobber].\000"
	.text
	.align	2
	.global	run_op
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_op, %function
run_op:
	@ args = 4, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	str	r2, [fp, #-96]
	strb	r3, [fp, #-97]
	mov	r0, #0
	bl	dup
	str	r0, [fp, #-68]
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-64]
	mov	r0, #2
	bl	dup
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-92]
	add	r3, r3, #200
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	ldrb	r3, [fp, #-97]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L112
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L113
	bl	getpid
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L142
	bl	printf
	ldr	r3, [fp, #-96]
	cmp	r3, #1
	bgt	.L114
	ldr	r1, .L142+4
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L115
	ldrb	r3, [fp, #4]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L115
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	ldr	r1, .L142+8
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L116
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-24]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	dup2
.L116:
	ldr	r0, [fp, #-52]
	bl	close
.L115:
	ldr	r1, .L142+4
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L117
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L117
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	mov	r1, #193
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L118
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-20]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	dup2
.L118:
	ldr	r0, [fp, #-52]
	bl	close
	b	.L123
.L117:
	ldr	r1, .L142+16
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L120
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	ldr	r1, .L142+8
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-8]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-8]
	bl	dup2
	ldr	r0, [fp, #-52]
	bl	close
	b	.L123
.L120:
	ldr	r1, .L142+20
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L121
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	ldr	r1, .L142+24
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-12]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-12]
	bl	dup2
	ldr	r0, [fp, #-52]
	bl	close
	b	.L123
.L121:
	ldr	r1, .L142+28
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L122
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	mov	r0, #0
	bl	dup
	str	r0, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #0
	ldr	r0, [fp, #-16]
	bl	dup2
	ldr	r0, [fp, #-52]
	bl	close
	b	.L123
.L122:
	ldr	r1, .L142+36
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L123
	ldr	r2, [fp, #-96]
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-88]
	bl	run_pipe
	b	.L123
.L114:
	mov	r3, #1
	strb	r3, [fp, #-78]
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L124
.L126:
	ldr	r2, [fp, #-76]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #200
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L142+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L125
	mov	r3, #0
	strb	r3, [fp, #-78]
.L125:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L124:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L126
	ldrb	r3, [fp, #-78]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L123
	ldr	r2, [fp, #-96]
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-88]
	bl	multiple_pipe
.L123:
	mov	r0, #0
	bl	exit
.L113:
	mov	r2, #1
	mov	r1, #0
	ldr	r0, [fp, #-28]
	bl	waitpid
	mov	r0, #1
	bl	sleep
	b	.L141
.L112:
	ldr	r3, [fp, #-96]
	cmp	r3, #1
	bgt	.L128
	ldr	r1, .L142+4
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L129
	ldrb	r3, [fp, #4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L129
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	mov	r1, #193
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L130
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-48]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-48]
	bl	dup2
	b	.L131
.L130:
	ldr	r0, .L142+40
	bl	puts
.L131:
	ldr	r0, [fp, #-52]
	bl	close
	b	.L127
.L129:
	ldr	r1, .L142+4
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L133
	ldrb	r3, [fp, #4]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L133
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	ldr	r1, .L142+8
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	ble	.L134
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-44]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-44]
	bl	dup2
.L134:
	ldr	r0, [fp, #-52]
	bl	close
	b	.L127
.L133:
	ldr	r1, .L142+16
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L135
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	ldr	r1, .L142+8
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-32]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-32]
	bl	dup2
	ldr	r0, [fp, #-52]
	bl	close
	b	.L141
.L135:
	ldr	r1, .L142+20
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L136
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #420
	ldr	r1, .L142+24
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	mov	r0, #1
	bl	dup
	str	r0, [fp, #-36]
	mov	r1, #1
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #1
	ldr	r0, [fp, #-36]
	bl	dup2
	ldr	r0, [fp, #-52]
	bl	close
	b	.L141
.L136:
	ldr	r1, .L142+28
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L137
	ldr	r3, [fp, #-92]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [fp, #-52]
	mov	r0, #0
	bl	dup
	str	r0, [fp, #-40]
	mov	r1, #0
	ldr	r0, [fp, #-52]
	bl	dup2
	ldr	r3, [fp, #-88]
	ldr	r3, [r3]
	mov	r2, #0
	ldr	r1, [fp, #-92]
	mov	r0, r3
	bl	run_cmd
	ldr	r3, .L142+32
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #0
	ldr	r0, [fp, #-40]
	bl	dup2
	ldr	r0, [fp, #-52]
	bl	close
	b	.L141
.L137:
	ldr	r1, .L142+36
	ldr	r0, [fp, #-56]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L141
	ldr	r2, [fp, #-96]
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-88]
	bl	run_pipe
	b	.L141
.L128:
	mov	r3, #1
	strb	r3, [fp, #-77]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L138
.L140:
	ldr	r2, [fp, #-72]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r3, #200
	ldr	r2, [fp, #-92]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L142+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L139
	mov	r3, #0
	strb	r3, [fp, #-77]
.L139:
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L138:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #-96]
	cmp	r2, r3
	blt	.L140
	ldrb	r3, [fp, #-77]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L141
	ldr	r2, [fp, #-96]
	ldr	r1, [fp, #-92]
	ldr	r0, [fp, #-88]
	bl	multiple_pipe
	b	.L141
.L127:
.L141:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L143:
	.align	2
.L142:
	.word	.LC17
	.word	.LC40
	.word	577
	.word	stdout
	.word	.LC41
	.word	.LC42
	.word	1089
	.word	.LC43
	.word	stdin
	.word	.LC44
	.word	.LC45
	.size	run_op, .-run_op
	.section	.rodata
	.align	2
.LC46:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	run_pipe
	.syntax unified
	.arm
	.fpu softvfp
	.type	run_pipe, %function
run_pipe:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, .L152
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r0, r3
	bl	pipe
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L151
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L146
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L147
	ldr	r3, [fp, #-16]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-32]
	add	r3, r3, #8
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L148
	ldr	r3, [fp, #-36]
	add	r3, r3, #400
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #400
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	bl	execlp
	b	.L151
.L148:
	ldr	r3, [fp, #-36]
	add	r3, r3, #400
	ldr	r2, [r3]
	ldr	r3, [fp, #-36]
	add	r3, r3, #400
	mov	r1, r3
	mov	r0, r2
	bl	execvp
	b	.L151
.L147:
	ldr	r3, [fp, #-12]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-32]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L149
	ldr	r3, [fp, #-36]
	ldr	r0, [r3]
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	bl	execlp
	b	.L151
.L149:
	ldr	r3, [fp, #-36]
	ldr	r3, [r3]
	ldr	r1, [fp, #-36]
	mov	r0, r3
	bl	execvp
	b	.L151
.L146:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	waitpid
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-12]
	mov	r0, r3
	bl	close
.L151:
	nop
	ldr	r3, .L152
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L150
	bl	__stack_chk_fail
.L150:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L153:
	.align	2
.L152:
	.word	.LC46
	.size	run_pipe, .-run_pipe
	.section	.rodata
	.align	2
.LC47:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	multiple_pipe
	.syntax unified
	.arm
	.fpu softvfp
	.type	multiple_pipe, %function
multiple_pipe:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	str	r2, [fp, #-56]
	ldr	r3, .L171
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-56]
	sub	r3, ip, #1
	str	r3, [fp, #-28]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	pipe
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L155
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L156
	ldr	r3, [fp, #-52]
	ldr	r0, [r3]
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	bl	execlp
	b	.L155
.L156:
	ldr	r3, [fp, #-52]
	ldr	r3, [r3]
	ldr	r1, [fp, #-52]
	mov	r0, r3
	bl	execvp
.L155:
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L157
.L162:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r0, r3
	bl	pipe
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L158
	ldr	r3, [fp, #-32]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, r2, lsl #3]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	mov	r3, #0
	str	r3, [fp, #-36]
	b	.L159
.L160:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-36]
	ldr	r3, [r3, r2, lsl #3]
	mov	r0, r3
	bl	close
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L159:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	ble	.L160
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L161
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	bl	execlp
	b	.L158
.L161:
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	mov	r1, r3
	bl	execvp
.L158:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L157:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L162
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L163
.L164:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-40]
	ldr	r3, [r3, r2, lsl #3]
	mov	r0, r3
	bl	close
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L163:
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-40]
	cmp	r2, r3
	blt	.L164
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L165
	ldr	r3, [fp, #-56]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, r2, lsl #3]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	ldr	r3, [fp, #-56]
	sub	r2, r3, #1
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, r2, lsl #3]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-48]
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L166
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, r3
	bl	execlp
	b	.L167
.L166:
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	ldr	r0, [r3]
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-52]
	add	r3, r3, r2
	mov	r1, r3
	bl	execvp
	b	.L167
.L165:
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L168
.L169:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-44]
	ldr	r3, [r3, r2, lsl #3]
	mov	r0, r3
	bl	close
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	close
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L168:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-56]
	cmp	r2, r3
	blt	.L169
	mov	r0, #1
	bl	sleep
.L167:
	mov	sp, r4
	nop
	ldr	r3, .L171
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L170
	bl	__stack_chk_fail
.L170:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L172:
	.align	2
.L171:
	.word	.LC47
	.size	multiple_pipe, .-multiple_pipe
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
