	.file	"175142599.c"
	.intel_syntax noprefix
	.text
	.globl	open_flag
	.bss
	.align 4
	.type	open_flag, @object
	.size	open_flag, 4
open_flag:
	.zero	4
	.text
	.globl	hsh_parseline
	.type	hsh_parseline, @function
hsh_parseline:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 32
	jmp	.L2
.L4:
	add	QWORD PTR -24[rbp], 1
.L2:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L3
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L4
.L3:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -12[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR [rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	add	rax, 1
	mov	QWORD PTR -24[rbp], rax
	jmp	.L6
.L7:
	add	QWORD PTR -24[rbp], 1
.L6:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L5
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L7
.L5:
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 32
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	cmp	DWORD PTR -12[rbp], 0
	jne	.L9
	mov	eax, 1
	jmp	.L10
.L9:
	cmp	DWORD PTR -12[rbp], 2
	jle	.L11
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 62
	jne	.L11
	mov	eax, 1
	jmp	.L12
.L11:
	mov	eax, 0
.L12:
	and	eax, 1
	mov	rdx, QWORD PTR -48[rbp]
	mov	BYTE PTR [rdx], al
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L13
	mov	DWORD PTR open_flag[rip], 577
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 62
	jne	.L13
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -16[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	add	rax, 2
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L13
	mov	DWORD PTR open_flag[rip], 65
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 38
	sete	al
	mov	BYTE PTR -13[rbp], al
	cmp	BYTE PTR -13[rbp], 0
	je	.L14
	sub	DWORD PTR -12[rbp], 1
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	QWORD PTR [rax], 0
.L14:
	movzx	eax, BYTE PTR -13[rbp]
.L10:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	hsh_parseline, .-hsh_parseline
	.section	.rodata
.LC0:
	.string	"exit"
.LC1:
	.string	"logout"
.LC2:
	.string	"&"
.LC3:
	.string	"mua"
	.text
	.globl	hsh_builtin_command
	.type	hsh_builtin_command, @function
hsh_builtin_command:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	edi, 0
	call	exit@PLT
.L16:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L17
	mov	edi, 0
	call	exit@PLT
.L17:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L18
	mov	eax, 1
	jmp	.L19
.L18:
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L20
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L19
.L20:
	mov	eax, 0
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hsh_builtin_command, .-hsh_builtin_command
	.section	.rodata
.LC4:
	.string	"%s: command not found\n"
.LC5:
	.string	"waitpid error!\n"
.LC6:
	.string	"pid:%d %s"
	.text
	.globl	hsh_exec
	.type	hsh_exec, @function
hsh_exec:
.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, 240
	mov	QWORD PTR -232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -232[rbp]
	lea	rax, -96[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	BYTE PTR -218[rbp], 0
	lea	rcx, -218[rbp]
	lea	rdx, -216[rbp]
	lea	rsi, -192[rbp]
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	hsh_parseline
	mov	BYTE PTR -217[rbp], al
	mov	rax, QWORD PTR -192[rbp]
	test	rax, rax
	je	.L31
	lea	rax, -192[rbp]
	mov	rdi, rax
	call	hsh_builtin_command
	test	eax, eax
	jne	.L21
	call	fork@PLT
	mov	DWORD PTR -204[rbp], eax
	cmp	DWORD PTR -204[rbp], 0
	jne	.L25
	movzx	eax, BYTE PTR -218[rbp]
	test	al, al
	je	.L26
	mov	edi, 1
	call	close@PLT
	mov	ecx, DWORD PTR open_flag[rip]
	mov	eax, DWORD PTR -216[rbp]
	sub	eax, 1
	cdqe
	mov	rax, QWORD PTR -192[rbp+rax*8]
	mov	edx, 511
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -200[rbp], eax
	mov	eax, DWORD PTR -200[rbp]
	mov	esi, eax
	mov	edi, 1
	call	dup2@PLT
	mov	DWORD PTR -208[rbp], eax
	mov	eax, DWORD PTR -216[rbp]
	sub	eax, 1
	cdqe
	mov	QWORD PTR -192[rbp+rax*8], 0
	mov	eax, DWORD PTR -216[rbp]
	sub	eax, 2
	cdqe
	mov	QWORD PTR -192[rbp+rax*8], 0
.L26:
	mov	rax, QWORD PTR -192[rbp]
	lea	rdx, -192[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	execvp@PLT
	mov	DWORD PTR -196[rbp], eax
	movzx	eax, BYTE PTR -218[rbp]
	test	al, al
	je	.L27
	mov	edi, 1
	call	close@PLT
	mov	eax, DWORD PTR -208[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
.L27:
	cmp	DWORD PTR -196[rbp], 0
	jns	.L25
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 0
	call	exit@PLT
.L25:
	movzx	eax, BYTE PTR -217[rbp]
	xor	eax, 1
	test	al, al
	je	.L28
	lea	rcx, -212[rbp]
	mov	eax, DWORD PTR -204[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	test	eax, eax
	jns	.L21
	lea	rdi, .LC5[rip]
	call	perror@PLT
	jmp	.L21
.L28:
	mov	rdx, QWORD PTR -232[rbp]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L21
.L31:
	nop
.L21:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	hsh_exec, .-hsh_exec
	.section	.rodata
.LC7:
	.string	"%% "
	.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, 112
	mov	DWORD PTR -100[rbp], edi
	mov	QWORD PTR -112[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L34:
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -96[rbp]
	mov	esi, 80
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L33
	mov	edi, 0
	call	exit@PLT
.L33:
	lea	rax, -96[rbp]
	mov	rdi, rax
	call	hsh_exec
	jmp	.L34
	.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	"175142599.c"
	.text
	.comm	open_flag,4,4
	.align	2
	.global	hsh_parseline
	.syntax unified
	.arm
	.fpu softvfp
	.type	hsh_parseline, %function
hsh_parseline:
	@ 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, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	b	.L2
.L4:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L4
.L3:
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L5
.L8:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-24]
	b	.L6
.L7:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L6:
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L7
.L5:
	mov	r1, #32
	ldr	r0, [fp, #-24]
	bl	strchr
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	mov	r3, #1
	b	.L10
.L9:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	ble	.L11
	ldr	r3, [fp, #-12]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L11
	mov	r3, #1
	b	.L12
.L11:
	mov	r3, #0
.L12:
	and	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-36]
	strb	r2, [r3]
	ldr	r3, [fp, #-36]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L15
	ldr	r2, .L15+4
	str	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #62
	bne	.L13
	ldr	r3, [fp, #-12]
	sub	r3, r3, #-1073741822
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r3, r3, #2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L13
	ldr	r3, .L15
	mov	r2, #65
	str	r2, [r3]
.L13:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #-1073741823
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #38
	moveq	r3, #1
	movne	r3, #0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
.L14:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	open_flag
	.word	577
	.size	hsh_parseline, .-hsh_parseline
	.section	.rodata
	.align	2
.LC0:
	.ascii	"exit\000"
	.align	2
.LC1:
	.ascii	"logout\000"
	.align	2
.LC2:
	.ascii	"&\000"
	.align	2
.LC3:
	.ascii	"mua\000"
	.text
	.align	2
	.global	hsh_builtin_command
	.syntax unified
	.arm
	.fpu softvfp
	.type	hsh_builtin_command, %function
hsh_builtin_command:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L18
	mov	r0, #0
	bl	exit
.L18:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+4
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L19
	mov	r0, #0
	bl	exit
.L19:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	mov	r3, #1
	b	.L21
.L20:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L23+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L23+12
	bl	puts
	mov	r3, #1
	b	.L21
.L22:
	mov	r3, #0
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	hsh_builtin_command, .-hsh_builtin_command
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%s: command not found\012\000"
	.align	2
.LC5:
	.ascii	"waitpid error!\012\000"
	.align	2
.LC6:
	.ascii	"pid:%d %s\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hsh_exec
	.syntax unified
	.arm
	.fpu softvfp
	.type	hsh_exec, %function
hsh_exec:
	@ args = 0, pretend = 0, frame = 168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #168
	str	r0, [fp, #-168]
	ldr	r3, .L36
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #88
	ldr	r1, [fp, #-168]
	mov	r0, r3
	bl	strcpy
	mov	r3, #0
	strb	r3, [fp, #-162]
	sub	r3, fp, #162
	sub	r2, fp, #160
	sub	r1, fp, #136
	sub	r0, fp, #88
	bl	hsh_parseline
	mov	r3, r0
	strb	r3, [fp, #-161]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #136
	mov	r0, r3
	bl	hsh_builtin_command
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	bl	fork
	mov	r3, r0
	str	r3, [fp, #-148]
	ldr	r3, [fp, #-148]
	cmp	r3, #0
	bne	.L29
	ldrb	r3, [fp, #-162]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L30
	mov	r0, #1
	bl	close
	ldr	r3, [fp, #-160]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	ldr	r2, .L36+4
	ldr	r1, [r2]
	ldr	r2, .L36+8
	mov	r0, r3
	bl	open
	str	r0, [fp, #-144]
	ldr	r1, [fp, #-144]
	mov	r0, #1
	bl	dup2
	str	r0, [fp, #-152]
	ldr	r3, [fp, #-160]
	sub	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-132]
	ldr	r3, [fp, #-160]
	sub	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-132]
.L30:
	ldr	r3, [fp, #-136]
	sub	r2, fp, #136
	mov	r1, r2
	mov	r0, r3
	bl	execvp
	mov	r3, r0
	str	r3, [fp, #-140]
	ldrb	r3, [fp, #-162]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L31
	mov	r0, #1
	bl	close
	mov	r1, #1
	ldr	r0, [fp, #-152]
	bl	dup2
.L31:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bge	.L29
	ldr	r3, [fp, #-136]
	mov	r1, r3
	ldr	r0, .L36+12
	bl	printf
	mov	r0, #0
	bl	exit
.L29:
	ldrb	r3, [fp, #-161]
	eor	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L32
	sub	r3, fp, #156
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-148]
	bl	waitpid
	mov	r3, r0
	cmp	r3, #0
	bge	.L25
	ldr	r0, .L36+16
	bl	perror
	b	.L25
.L32:
	ldr	r2, [fp, #-168]
	ldr	r1, [fp, #-148]
	ldr	r0, .L36+20
	bl	printf
	b	.L25
.L35:
	nop
.L25:
	ldr	r3, .L36
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L37:
	.align	2
.L36:
	.word	.LC7
	.word	open_flag
	.word	511
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	hsh_exec, .-hsh_exec
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%% \000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, 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, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L40:
	ldr	r0, .L42+4
	bl	printf
	ldr	r3, .L42+8
	ldr	r2, [r3]
	sub	r3, fp, #88
	mov	r1, #80
	mov	r0, r3
	bl	fgets
	ldr	r3, .L42+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	mov	r0, #0
	bl	exit
.L39:
	sub	r3, fp, #88
	mov	r0, r3
	bl	hsh_exec
	b	.L40
.L43:
	.align	2
.L42:
	.word	.LC9
	.word	.LC8
	.word	stdin
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
