	.file	"137362.c"
	.intel_syntax noprefix
	.text
	.globl	childPID
	.bss
	.align 4
	.type	childPID, @object
	.size	childPID, 4
childPID:
	.zero	4
	.globl	buf
	.align 32
	.type	buf, @object
	.size	buf, 512
buf:
	.zero	512
	.globl	cmd
	.align 32
	.type	cmd, @object
	.size	cmd, 80
cmd:
	.zero	80
	.globl	path
	.align 32
	.type	path, @object
	.size	path, 1024
path:
	.zero	1024
	.globl	cmdCount
	.align 4
	.type	cmdCount, @object
	.size	cmdCount, 4
cmdCount:
	.zero	4
	.globl	shellStatus
	.data
	.align 4
	.type	shellStatus, @object
	.size	shellStatus, 4
shellStatus:
	.long	1
	.section	.rodata
.LC0:
	.string	"0%d:"
.LC1:
	.string	"%d:"
.LC2:
	.string	"0%d#> "
.LC3:
	.string	"%d#> "
	.text
	.globl	show_prompt
	.type	show_prompt, @function
show_prompt:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	localtime@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	edi, 60
	call	putchar@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	eax, 9
	jg	.L2
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 8[rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	cmp	eax, 9
	jg	.L4
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L7
.L4:
	mov	rax, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L7:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	show_prompt, .-show_prompt
	.section	.rodata
.LC4:
	.string	" \n"
	.text
	.globl	parse_cmd
	.type	parse_cmd, @function
parse_cmd:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -12[rbp], 0
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, cmd[rip]
	mov	QWORD PTR [rdx+rax], 0
	add	DWORD PTR -12[rbp], 1
.L9:
	mov	eax, DWORD PTR cmdCount[rip]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L10
	mov	rax, QWORD PTR stdin[rip]
	mov	rdx, rax
	mov	esi, 512
	lea	rdi, buf[rip]
	call	fgets@PLT
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR cmdCount[rip], 0
	lea	rsi, .LC4[rip]
	lea	rdi, buf[rip]
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rdx, cmd[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	lea	rsi, .LC4[rip]
	mov	edi, 0
	call	strtok@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR cmdCount[rip]
	add	eax, 1
	mov	DWORD PTR cmdCount[rip], eax
.L11:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L12
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	parse_cmd, .-parse_cmd
	.globl	print_tok
	.type	print_tok, @function
print_tok:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -4[rbp], 1
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L15
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	print_tok, .-print_tok
	.section	.rodata
.LC5:
	.string	"/bin/"
	.text
	.globl	set_path
	.type	set_path, @function
set_path:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rax, .LC5[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, path[rip]
	call	strcpy@PLT
	mov	rax, QWORD PTR cmd[rip]
	mov	rsi, rax
	lea	rdi, path[rip]
	call	strcat@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	set_path, .-set_path
	.section	.rodata
	.align 8
.LC6:
	.string	"error: permission is denied for file"
	.align 8
.LC7:
	.string	"error: file header is not recognised"
	.align 8
.LC8:
	.string	"error: process specified by pid does not exist"
	.text
	.globl	handle_errors
	.type	handle_errors, @function
handle_errors:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 13
	jne	.L18
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L21
.L18:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 8
	jne	.L20
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L21
.L20:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 10
	jne	.L21
	lea	rdi, .LC8[rip]
	call	puts@PLT
.L21:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	handle_errors, .-handle_errors
	.section	.rodata
.LC9:
	.string	"error: fork failure"
	.text
	.globl	fork_child
	.type	fork_child, @function
fork_child:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	fork@PLT
	mov	DWORD PTR childPID[rip], eax
	mov	eax, DWORD PTR childPID[rip]
	test	eax, eax
	jne	.L23
	lea	rsi, cmd[rip]
	lea	rdi, path[rip]
	call	execv@PLT
	mov	eax, 0
	call	handle_errors
	mov	edi, 0
	call	exit@PLT
.L23:
	mov	eax, DWORD PTR childPID[rip]
	cmp	eax, -1
	jne	.L24
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	mov	edx, 0
	mov	esi, 0
	mov	edi, -1
	mov	eax, 0
	call	waitpid@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	fork_child, .-fork_child
	.section	.rodata
.LC10:
	.string	"exit"
	.text
	.globl	check_exit
	.type	check_exit, @function
check_exit:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR cmd[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L27
	mov	DWORD PTR shellStatus[rip], 0
.L27:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	check_exit, .-check_exit
	.globl	process_cmd
	.type	process_cmd, @function
process_cmd:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR cmd[rip]
	test	rax, rax
	je	.L30
	mov	eax, 0
	call	set_path
	mov	eax, 0
	call	fork_child
	mov	eax, 0
	call	check_exit
.L30:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	process_cmd, .-process_cmd
	.globl	main
	.type	main, @function
main:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	jmp	.L32
.L33:
	mov	eax, 0
	call	show_prompt
	mov	eax, 0
	call	parse_cmd
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, 0
	call	process_cmd
.L32:
	mov	eax, DWORD PTR shellStatus[rip]
	test	eax, eax
	jne	.L33
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.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	"137362.c"
	.text
	.comm	childPID,4,4
	.comm	buf,512,4
	.comm	cmd,40,4
	.comm	path,1024,4
	.comm	cmdCount,4,4
	.global	shellStatus
	.data
	.align	2
	.type	shellStatus, %object
	.size	shellStatus, 4
shellStatus:
	.word	1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0%d:\000"
	.align	2
.LC1:
	.ascii	"%d:\000"
	.align	2
.LC2:
	.ascii	"0%d#> \000"
	.align	2
.LC3:
	.ascii	"%d#> \000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	show_prompt
	.syntax unified
	.arm
	.fpu softvfp
	.type	show_prompt, %function
show_prompt:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L8
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #0
	bl	time
	mov	r3, r0
	str	r3, [fp, #-16]
	sub	r3, fp, #16
	mov	r0, r3
	bl	localtime
	str	r0, [fp, #-12]
	mov	r0, #60
	bl	putchar
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	cmp	r3, #9
	bgt	.L2
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L8+4
	bl	printf
	b	.L3
.L2:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L8+8
	bl	printf
.L3:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	cmp	r3, #9
	bgt	.L4
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L8+12
	bl	printf
	b	.L7
.L4:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L8+16
	bl	printf
.L7:
	nop
	ldr	r3, .L8
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L9:
	.align	2
.L8:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	show_prompt, .-show_prompt
	.section	.rodata
	.align	2
.LC5:
	.ascii	" \012\000"
	.text
	.align	2
	.global	parse_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_cmd, %function
parse_cmd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L11
.L12:
	ldr	r2, .L15
	ldr	r3, [fp, #-12]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L12
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #512
	ldr	r0, .L15+12
	bl	fgets
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L15+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r1, .L15+16
	ldr	r0, .L15+12
	bl	strtok
	str	r0, [fp, #-8]
	b	.L13
.L14:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r1, .L15
	ldr	r2, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r1, .L15+16
	mov	r0, #0
	bl	strtok
	str	r0, [fp, #-8]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L15+4
	str	r3, [r2]
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L14
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	cmd
	.word	cmdCount
	.word	stdin
	.word	buf
	.word	.LC5
	.size	parse_cmd, .-parse_cmd
	.align	2
	.global	print_tok
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_tok, %function
print_tok:
	@ 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	.L18
.L19:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L19
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	print_tok, .-print_tok
	.section	.rodata
	.align	2
.LC6:
	.ascii	"/bin/\000"
	.text
	.align	2
	.global	set_path
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_path, %function
set_path:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L21
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L21+4
	bl	strcpy
	ldr	r3, .L21+8
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L21+4
	bl	strcat
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC6
	.word	path
	.word	cmd
	.size	set_path, .-set_path
	.section	.rodata
	.align	2
.LC7:
	.ascii	"error: permission is denied for file\000"
	.align	2
.LC8:
	.ascii	"error: file header is not recognised\000"
	.align	2
.LC9:
	.ascii	"error: process specified by pid does not exist\000"
	.text
	.align	2
	.global	handle_errors
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_errors, %function
handle_errors:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #13
	bne	.L24
	ldr	r0, .L28
	bl	puts
	b	.L27
.L24:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L26
	ldr	r0, .L28+4
	bl	puts
	b	.L27
.L26:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #10
	bne	.L27
	ldr	r0, .L28+8
	bl	puts
.L27:
	nop
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	handle_errors, .-handle_errors
	.section	.rodata
	.align	2
.LC10:
	.ascii	"error: fork failure\000"
	.text
	.align	2
	.global	fork_child
	.syntax unified
	.arm
	.fpu softvfp
	.type	fork_child, %function
fork_child:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	fork
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L33
	str	r2, [r3]
	ldr	r3, .L33
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L31
	ldr	r1, .L33+4
	ldr	r0, .L33+8
	bl	execv
	bl	handle_errors
	mov	r0, #0
	bl	exit
.L31:
	ldr	r3, .L33
	ldr	r3, [r3]
	cmn	r3, #1
	bne	.L32
	ldr	r0, .L33+12
	bl	puts
	mov	r0, #1
	bl	exit
.L32:
	mov	r2, #0
	mov	r1, #0
	mvn	r0, #0
	bl	waitpid
	nop
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	childPID
	.word	cmd
	.word	path
	.word	.LC10
	.size	fork_child, .-fork_child
	.section	.rodata
	.align	2
.LC11:
	.ascii	"exit\000"
	.text
	.align	2
	.global	check_exit
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_exit, %function
check_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L38
	ldr	r3, [r3]
	ldr	r1, .L38+4
	mov	r0, r3
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L38+8
	mov	r2, #0
	str	r2, [r3]
.L37:
	nop
	pop	{fp, pc}
.L39:
	.align	2
.L38:
	.word	cmd
	.word	.LC11
	.word	shellStatus
	.size	check_exit, .-check_exit
	.align	2
	.global	process_cmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_cmd, %function
process_cmd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L43
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L42
	bl	set_path
	bl	fork_child
	bl	check_exit
.L42:
	nop
	pop	{fp, pc}
.L44:
	.align	2
.L43:
	.word	cmd
	.size	process_cmd, .-process_cmd
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	b	.L46
.L47:
	bl	show_prompt
	bl	parse_cmd
	ldr	r3, .L49
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	process_cmd
.L46:
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L47
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	stdout
	.word	shellStatus
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
