	.file	"943267.c"
	.intel_syntax noprefix
	.text
	.local	input
	.comm	input,512,32
	.local	tokens
	.comm	tokens,1024,32
	.globl	ptr
	.bss
	.align 8
	.type	ptr, @object
	.size	ptr, 8
ptr:
	.zero	8
	.globl	tok
	.align 8
	.type	tok, @object
	.size	tok, 8
tok:
	.zero	8
	.text
	.globl	get_token
	.type	get_token, @function
get_token:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	rdx, QWORD PTR tok[rip]
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	jmp	.L2
.L3:
	mov	rax, QWORD PTR ptr[rip]
	add	rax, 1
	mov	QWORD PTR ptr[rip], rax
.L2:
	mov	rax, QWORD PTR ptr[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L3
	mov	rax, QWORD PTR ptr[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L3
	mov	rdx, QWORD PTR ptr[rip]
	mov	rax, QWORD PTR tok[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR tok[rip], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR ptr[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR ptr[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 124
	je	.L4
	cmp	eax, 124
	jg	.L5
	cmp	eax, 62
	je	.L6
	cmp	eax, 62
	jg	.L5
	cmp	eax, 60
	je	.L7
	cmp	eax, 60
	jg	.L5
	test	eax, eax
	je	.L8
	cmp	eax, 38
	je	.L9
	jmp	.L5
.L8:
	mov	DWORD PTR -4[rbp], 1
	jmp	.L10
.L9:
	mov	DWORD PTR -4[rbp], 3
	jmp	.L10
.L7:
	mov	DWORD PTR -4[rbp], 4
	jmp	.L10
.L6:
	mov	DWORD PTR -4[rbp], 5
	jmp	.L10
.L4:
	mov	DWORD PTR -4[rbp], 6
	jmp	.L10
.L5:
	mov	DWORD PTR -4[rbp], 2
	jmp	.L11
.L12:
	mov	rdx, QWORD PTR ptr[rip]
	lea	rax, 1[rdx]
	mov	QWORD PTR ptr[rip], rax
	mov	rax, QWORD PTR tok[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR tok[rip], rcx
	movzx	edx, BYTE PTR [rdx]
	mov	BYTE PTR [rax], dl
.L11:
	mov	rax, QWORD PTR ptr[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L10
	mov	rax, QWORD PTR ptr[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 38
	je	.L10
	mov	rax, QWORD PTR ptr[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	je	.L10
	mov	rax, QWORD PTR ptr[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L12
.L10:
	mov	rax, QWORD PTR tok[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR tok[rip], rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	get_token, .-get_token
	.section	.rodata
.LC0:
	.string	"minish : fork error\n"
.LC1:
	.string	"minish : command not found\n"
.LC2:
	.string	"[%d]\n"
	.text
	.globl	execute
	.type	execute, @function
execute:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	call	fork@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L15
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 20
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L16
.L15:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L17
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 27
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	edi, 127
	call	exit@PLT
.L17:
	cmp	DWORD PTR -28[rbp], 1
	jne	.L19
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	jmp	.L16
.L20:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L19
	mov	eax, -1
	jmp	.L16
.L19:
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	js	.L20
	mov	eax, 0
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	execute, .-execute
	.section	.rodata
.LC3:
	.string	"quit"
.LC4:
	.string	"exit"
.LC5:
	.string	"cd"
.LC6:
	.string	"type"
.LC7:
	.string	"minish: fork error"
.LC8:
	.string	"minish: open error"
.LC9:
	.string	"minish: command not found"
	.align 8
.LC10:
	.string	"minish: first command not found"
	.align 8
.LC11:
	.string	"minish: second command not found"
	.text
	.globl	parse_and_execute
	.type	parse_and_execute, @function
parse_and_execute:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 608
	mov	QWORD PTR -8792[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -8772[rbp], 0
	mov	DWORD PTR -8768[rbp], 0
	mov	DWORD PTR -8764[rbp], 0
	mov	rax, QWORD PTR -8792[rbp]
	mov	QWORD PTR ptr[rip], rax
	lea	rax, tokens[rip]
	mov	QWORD PTR tok[rip], rax
	jmp	.L22
.L59:
	lea	rdx, -8720[rbp]
	mov	eax, DWORD PTR -8768[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	get_token
	mov	DWORD PTR -8752[rbp], eax
	cmp	DWORD PTR -8752[rbp], 6
	ja	.L22
	mov	eax, DWORD PTR -8752[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L24[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L24[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L24:
	.long	.L22-.L24
	.long	.L27-.L24
	.long	.L28-.L24
	.long	.L27-.L24
	.long	.L26-.L24
	.long	.L25-.L24
	.long	.L23-.L24
	.text
.L28:
	add	DWORD PTR -8768[rbp], 1
	jmp	.L22
.L27:
	mov	rax, QWORD PTR -8720[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L29
	mov	DWORD PTR -8772[rbp], 1
	jmp	.L30
.L29:
	mov	rax, QWORD PTR -8720[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L31
	mov	DWORD PTR -8772[rbp], 1
	jmp	.L30
.L31:
	mov	rax, QWORD PTR -8720[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L32
	mov	rax, QWORD PTR -8712[rbp]
	mov	rdi, rax
	call	chdir@PLT
	jmp	.L30
.L32:
	mov	rax, QWORD PTR -8720[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L33
	cmp	DWORD PTR -8768[rbp], 1
	jle	.L30
	mov	rax, QWORD PTR -8712[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8740[rbp], eax
	cmp	DWORD PTR -8740[rbp], 0
	js	.L34
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -8740[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -8756[rbp], eax
	jmp	.L35
.L38:
	mov	DWORD PTR -8760[rbp], 0
	jmp	.L36
.L37:
	mov	eax, DWORD PTR -8760[rbp]
	cdqe
	movzx	eax, BYTE PTR -528[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -8760[rbp], 1
.L36:
	mov	eax, DWORD PTR -8760[rbp]
	cmp	eax, DWORD PTR -8756[rbp]
	jl	.L37
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -8740[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -8756[rbp], eax
.L35:
	cmp	DWORD PTR -8756[rbp], 0
	jg	.L38
.L34:
	mov	eax, DWORD PTR -8740[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L30
.L33:
	cmp	DWORD PTR -8752[rbp], 3
	sete	al
	movzx	eax, al
	mov	DWORD PTR -8744[rbp], eax
	mov	eax, DWORD PTR -8768[rbp]
	cdqe
	mov	QWORD PTR -8720[rbp+rax*8], 0
	cmp	DWORD PTR -8768[rbp], 0
	je	.L30
	mov	edx, DWORD PTR -8744[rbp]
	lea	rax, -8720[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	execute
.L30:
	mov	DWORD PTR -8768[rbp], 0
	cmp	DWORD PTR -8752[rbp], 1
	jne	.L22
	mov	DWORD PTR -8764[rbp], 1
	jmp	.L22
.L26:
	add	DWORD PTR -8768[rbp], 1
	lea	rdx, -8720[rbp]
	mov	eax, DWORD PTR -8768[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	get_token
	mov	DWORD PTR -8752[rbp], eax
	call	fork@PLT
	mov	DWORD PTR -8736[rbp], eax
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jns	.L40
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L40:
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jne	.L41
	mov	rax, QWORD PTR -8704[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8748[rbp], eax
	cmp	DWORD PTR -8748[rbp], 0
	jns	.L42
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L42:
	mov	eax, DWORD PTR -8748[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -8748[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rcx, QWORD PTR -8720[rbp]
	mov	rax, QWORD PTR -8720[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L41:
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jle	.L43
	jmp	.L44
.L46:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L44
	mov	eax, -1
	jmp	.L60
.L44:
	mov	eax, DWORD PTR -8736[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	js	.L46
.L43:
	mov	DWORD PTR -8772[rbp], 0
	mov	eax, DWORD PTR -8772[rbp]
	jmp	.L60
.L25:
	add	DWORD PTR -8768[rbp], 1
	lea	rdx, -8720[rbp]
	mov	eax, DWORD PTR -8768[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	get_token
	mov	DWORD PTR -8752[rbp], eax
	call	fork@PLT
	mov	DWORD PTR -8736[rbp], eax
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jns	.L47
	lea	rdi, .LC7[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L47:
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jne	.L48
	mov	rax, QWORD PTR -8704[rbp]
	mov	edx, 420
	mov	esi, 70
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8748[rbp], eax
	cmp	DWORD PTR -8748[rbp], 0
	jns	.L49
	lea	rdi, .LC8[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L49:
	mov	eax, DWORD PTR -8748[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -8748[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rcx, QWORD PTR -8720[rbp]
	mov	rax, QWORD PTR -8720[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	lea	rdi, .LC9[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L48:
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jle	.L50
	jmp	.L51
.L52:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L51
	mov	eax, -1
	jmp	.L60
.L51:
	mov	eax, DWORD PTR -8736[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	js	.L52
.L50:
	mov	DWORD PTR -8772[rbp], 0
	mov	eax, DWORD PTR -8772[rbp]
	jmp	.L60
.L23:
	add	DWORD PTR -8768[rbp], 1
	lea	rdx, -8720[rbp]
	mov	eax, DWORD PTR -8768[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rdi, rax
	call	get_token
	mov	DWORD PTR -8752[rbp], eax
	lea	rax, -8728[rbp]
	mov	rdi, rax
	call	pipe@PLT
	call	fork@PLT
	mov	DWORD PTR -8736[rbp], eax
	mov	eax, DWORD PTR -8736[rbp]
	test	eax, eax
	jne	.L53
	mov	eax, DWORD PTR -8724[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -8728[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8724[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rcx, QWORD PTR -8720[rbp]
	mov	rax, QWORD PTR -8720[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	lea	rdi, .LC10[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L53:
	call	fork@PLT
	mov	DWORD PTR -8732[rbp], eax
	mov	eax, DWORD PTR -8732[rbp]
	test	eax, eax
	jne	.L54
	mov	eax, DWORD PTR -8728[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	mov	eax, DWORD PTR -8728[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8724[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rcx, QWORD PTR -8704[rbp]
	mov	rax, QWORD PTR -8704[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	execlp@PLT
	lea	rdi, .LC11[rip]
	call	perror@PLT
	mov	edi, -1
	call	exit@PLT
.L54:
	mov	eax, DWORD PTR -8728[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, DWORD PTR -8724[rbp]
	mov	edi, eax
	call	close@PLT
	jmp	.L55
.L56:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L55
	mov	eax, -1
	jmp	.L60
.L55:
	mov	eax, DWORD PTR -8736[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	js	.L56
	jmp	.L57
.L58:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 4
	je	.L57
	mov	eax, -1
	jmp	.L60
.L57:
	mov	eax, DWORD PTR -8732[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	js	.L58
	mov	DWORD PTR -8772[rbp], 0
	mov	eax, DWORD PTR -8772[rbp]
	jmp	.L60
.L22:
	cmp	DWORD PTR -8764[rbp], 0
	je	.L59
	mov	eax, DWORD PTR -8772[rbp]
.L60:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L61
	call	__stack_chk_fail@PLT
.L61:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	parse_and_execute, .-parse_and_execute
	.section	.rodata
.LC12:
	.string	"msh # "
	.text
	.globl	main
	.type	main, @function
main:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L63
.L66:
	lea	rdi, input[rip]
	call	parse_and_execute
	mov	DWORD PTR -8212[rbp], eax
	cmp	DWORD PTR -8212[rbp], 0
	jne	.L69
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
.L63:
	lea	rdi, input[rip]
	mov	eax, 0
	call	gets@PLT
	test	eax, eax
	jne	.L66
	jmp	.L65
.L69:
	nop
.L65:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"943267.c"
	.text
	.local	input
	.comm	input,512,4
	.local	tokens
	.comm	tokens,1024,4
	.comm	ptr,4,4
	.comm	tok,4,4
	.align	2
	.global	get_token
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_token, %function
get_token:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	b	.L2
.L3:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+4
	str	r3, [r2]
.L2:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L3
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L3
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L14
	str	r1, [r0]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r3, .L14+4
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L14+4
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	beq	.L4
	cmp	r3, #124
	bgt	.L5
	cmp	r3, #62
	beq	.L6
	cmp	r3, #62
	bgt	.L5
	cmp	r3, #60
	beq	.L7
	cmp	r3, #60
	bgt	.L5
	cmp	r3, #0
	beq	.L8
	cmp	r3, #38
	beq	.L9
	b	.L5
.L8:
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L10
.L9:
	mov	r3, #3
	str	r3, [fp, #-8]
	b	.L10
.L7:
	mov	r3, #4
	str	r3, [fp, #-8]
	b	.L10
.L6:
	mov	r3, #5
	str	r3, [fp, #-8]
	b	.L10
.L4:
	mov	r3, #6
	str	r3, [fp, #-8]
	b	.L10
.L5:
	mov	r3, #2
	str	r3, [fp, #-8]
	b	.L11
.L12:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L14+4
	str	r3, [r1]
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r0, .L14
	str	r1, [r0]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L11:
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L10
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #38
	beq	.L10
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	beq	.L10
	ldr	r3, .L14+4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L12
.L10:
	ldr	r3, .L14
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L14
	str	r2, [r1]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L15:
	.align	2
.L14:
	.word	tok
	.word	ptr
	.size	get_token, .-get_token
	.section	.rodata
	.align	2
.LC0:
	.ascii	"minish : fork error\012\000"
	.align	2
.LC1:
	.ascii	"minish : command not found\012\000"
	.align	2
.LC2:
	.ascii	"[%d]\012\000"
	.text
	.align	2
	.global	execute
	.syntax unified
	.arm
	.fpu softvfp
	.type	execute, %function
execute:
	@ 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]
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L17
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, #1
	ldr	r0, .L23+4
	bl	fwrite
	mvn	r3, #0
	b	.L18
.L17:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	execvp
	ldr	r3, .L23
	ldr	r3, [r3]
	mov	r2, #27
	mov	r1, #1
	ldr	r0, .L23+8
	bl	fwrite
	mov	r0, #127
	bl	exit
.L19:
	ldr	r3, [fp, #-20]
	cmp	r3, #1
	bne	.L21
	ldr	r1, [fp, #-8]
	ldr	r0, .L23+12
	bl	printf
	mov	r3, #0
	b	.L18
.L22:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L21
	mvn	r3, #0
	b	.L18
.L21:
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	blt	.L22
	mov	r3, #0
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	execute, .-execute
	.section	.rodata
	.align	2
.LC3:
	.ascii	"quit\000"
	.align	2
.LC4:
	.ascii	"exit\000"
	.align	2
.LC5:
	.ascii	"cd\000"
	.align	2
.LC6:
	.ascii	"type\000"
	.align	2
.LC7:
	.ascii	"minish: fork error\000"
	.align	2
.LC8:
	.ascii	"minish: open error\000"
	.align	2
.LC9:
	.ascii	"minish: command not found\000"
	.align	2
.LC10:
	.ascii	"minish: first command not found\000"
	.align	2
.LC11:
	.ascii	"minish: second command not found\000"
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	parse_and_execute
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_and_execute, %function
parse_and_execute:
	@ args = 0, pretend = 0, frame = 4672
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4672
	sub	sp, sp, #4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-572]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-568]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-564]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-560]
	ldr	r2, .L66+4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-572]
	str	r3, [r2]
	ldr	r3, .L66+8
	ldr	r2, .L66+12
	str	r2, [r3]
	b	.L26
.L63:
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-564]
	lsl	r2, r2, #2
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	get_token
	str	r0, [r4, #-548]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	str	r3, [r2, #-568]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	str	r3, [r2, #-564]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-560]
	str	r3, [r2, #-560]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	sub	r3, r3, #1
	cmp	r3, #5
	ldrls	pc, [pc, r3, asl #2]
	b	.L26
.L28:
	.word	.L31
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L27
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	add	r3, r3, #1
	str	r3, [r2, #-564]
	b	.L26
.L31:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	ldr	r1, .L66+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L33
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-568]
	b	.L34
.L33:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	ldr	r1, .L66+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-568]
	b	.L34
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	ldr	r1, .L66+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-512]
	mov	r0, r3
	bl	chdir
	b	.L34
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	ldr	r1, .L66+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	cmp	r3, #1
	ble	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-512]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [r4, #-536]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-536]
	cmp	r3, #0
	blt	.L38
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #528
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [r0, #-536]
	bl	read
	str	r0, [r4, #-552]
	b	.L39
.L42:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-556]
	b	.L40
.L41:
	sub	r2, fp, #528
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-556]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-556]
	add	r3, r3, #1
	str	r3, [r2, #-556]
.L40:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-556]
	ldr	r3, [r3, #-552]
	cmp	r2, r3
	blt	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #528
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [r0, #-536]
	bl	read
	str	r0, [r4, #-552]
.L39:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-552]
	cmp	r3, #0
	bgt	.L42
.L38:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-536]
	bl	close
	b	.L34
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	cmp	r3, #3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-540]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-516]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	cmp	r3, #0
	beq	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, [r2, #-540]
	mov	r0, r3
	bl	execute
.L34:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-564]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-548]
	cmp	r3, #1
	bne	.L26
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-560]
	b	.L26
.L30:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	add	r3, r3, #1
	str	r3, [r2, #-564]
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-564]
	lsl	r2, r2, #2
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	get_token
	str	r0, [r4, #-548]
	bl	fork
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-532]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	bge	.L44
	ldr	r0, .L66+32
	bl	perror
	mvn	r0, #0
	bl	exit
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	bne	.L45
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-508]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r1, #0
	mov	r0, r3
	bl	open
	str	r0, [r4, #-544]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-544]
	cmp	r3, #0
	bge	.L46
	ldr	r0, .L66+36
	bl	perror
	mvn	r0, #0
	bl	exit
.L46:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-544]
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-544]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r1, [r2, #-516]
	mov	r2, #0
	mov	r0, r3
	bl	execlp
	ldr	r0, .L66+40
	bl	perror
	mvn	r0, #0
	bl	exit
.L45:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	ble	.L47
	b	.L48
.L50:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L48
	mvn	r3, #0
	b	.L64
.L48:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	blt	.L50
.L47:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-568]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	b	.L64
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	add	r3, r3, #1
	str	r3, [r2, #-564]
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-564]
	lsl	r2, r2, #2
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	get_token
	str	r0, [r4, #-548]
	bl	fork
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-532]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	bge	.L51
	ldr	r0, .L66+32
	bl	perror
	mvn	r0, #0
	bl	exit
.L51:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	bne	.L52
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-508]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r2, #420
	mov	r1, #70
	mov	r0, r3
	bl	open
	str	r0, [r4, #-544]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-544]
	cmp	r3, #0
	bge	.L53
	ldr	r0, .L66+36
	bl	perror
	mvn	r0, #0
	bl	exit
.L53:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #1
	ldr	r0, [r3, #-544]
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-544]
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r1, [r2, #-516]
	mov	r2, #0
	mov	r0, r3
	bl	execlp
	ldr	r0, .L66+40
	bl	perror
	mvn	r0, #0
	bl	exit
.L52:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	ble	.L54
	b	.L55
.L56:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L55
	mvn	r3, #0
	b	.L64
.L55:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	blt	.L56
.L54:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-568]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	b	.L64
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-564]
	add	r3, r3, #1
	str	r3, [r2, #-564]
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-564]
	lsl	r2, r2, #2
	add	r3, r3, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	get_token
	str	r0, [r4, #-548]
	sub	r3, fp, #4608
	sub	r3, r3, #12
	sub	r3, r3, #12
	mov	r0, r3
	bl	pipe
	bl	fork
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-532]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	cmp	r3, #0
	bne	.L57
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-520]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-524]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-520]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-516]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r1, [r2, #-516]
	mov	r2, #0
	mov	r0, r3
	bl	execlp
	ldr	r0, .L66+44
	bl	perror
	mvn	r0, #0
	bl	exit
.L57:
	bl	fork
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r2, [r3, #-528]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-528]
	cmp	r3, #0
	bne	.L58
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-524]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-524]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-520]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-508]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r1, [r2, #-508]
	mov	r2, #0
	mov	r0, r3
	bl	execlp
	ldr	r0, .L66+48
	bl	perror
	mvn	r0, #0
	bl	exit
.L58:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-524]
	mov	r0, r3
	bl	close
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-520]
	mov	r0, r3
	bl	close
	b	.L59
.L60:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L59
	mvn	r3, #0
	b	.L64
.L59:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-532]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	blt	.L60
	b	.L61
.L62:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #4
	beq	.L61
	mvn	r3, #0
	b	.L64
.L61:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-528]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	blt	.L62
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-568]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
	b	.L64
.L26:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-560]
	cmp	r3, #0
	beq	.L63
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-568]
.L64:
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L65
	bl	__stack_chk_fail
.L65:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC12
	.word	ptr
	.word	tok
	.word	tokens
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	parse_and_execute, .-parse_and_execute
	.section	.rodata
	.align	2
.LC13:
	.ascii	"msh # \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 = 4104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #4096
	sub	sp, sp, #12
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, .L76+4
	bl	printf
	b	.L69
.L72:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	ldr	r0, .L76+8
	bl	parse_and_execute
	str	r0, [r4, #-8]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	cmp	r3, #0
	bne	.L75
	ldr	r0, .L76+4
	bl	printf
.L69:
	ldr	r0, .L76+8
	bl	gets
	mov	r3, r0
	cmp	r3, #0
	bne	.L72
	b	.L71
.L75:
	nop
.L71:
	mov	r3, #0
	ldr	r2, .L76
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC14
	.word	.LC13
	.word	input
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
