	.file	"243894125.c"
	.intel_syntax noprefix
	.text
	.globl	buf
	.bss
	.align 32
	.type	buf, @object
	.size	buf, 200
buf:
	.zero	200
	.globl	file_check
	.align 4
	.type	file_check, @object
	.size	file_check, 4
file_check:
	.zero	4
	.globl	byte_check
	.align 4
	.type	byte_check, @object
	.size	byte_check, 4
byte_check:
	.zero	4
	.section	.rodata
	.align 8
.LC0:
	.string	"Error: unable to invoke sigaction (%s)\n"
	.align 8
.LC1:
	.string	"Error: incorrect command format\n"
	.align 8
.LC2:
	.string	"Error: unable to open file %s for reading (%s)\n"
	.align 8
.LC3:
	.string	"Error: pipe connecting infile and grep fails (%s)\n"
	.align 8
.LC4:
	.string	"Error: pipe connecting grep and more fails (%s)\n"
	.align 8
.LC5:
	.string	"Error: unable to create child process (%s)\n"
	.align 8
.LC6:
	.string	"Error: unable to redirect file %d to stdin (%s)\n"
	.align 8
.LC7:
	.string	"Error: unable to redirect file %d to stdout (%s)\n"
	.align 8
.LC8:
	.string	"Error: unable to close read end of pipe (%s)\n"
	.align 8
.LC9:
	.string	"Error: unable to close write end of pipe (%s)\n"
.LC10:
	.string	"grep"
	.align 8
.LC11:
	.string	"Error: unable to execute grep command (%s)\n"
.LC12:
	.string	"more"
	.align 8
.LC13:
	.string	"Error: unable to execute more command (%s)\n"
	.align 8
.LC14:
	.string	"Error: unable to read from file %s (%s)\n"
	.align 8
.LC15:
	.string	"Error: unable to write from buffer to pipe: %s\n"
	.align 8
.LC16:
	.string	"Error: unable to close infile #%d (%s)\n"
	.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, -32768[rsp]
.LPSRL0:
	sub	rsp, 4096
	or	DWORD PTR [rsp], 0
	cmp	rsp, r11
	jne	.LPSRL0
	sub	rsp, 416
	mov	DWORD PTR -33172[rbp], edi
	mov	QWORD PTR -33184[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -32968[rbp], 0
	lea	rax, handler[rip]
	mov	QWORD PTR -33104[rbp], rax
	lea	rax, -33104[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -33104[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 2
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L2
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L2:
	mov	DWORD PTR -32808[rbp], 0
	lea	rax, phandler[rip]
	mov	QWORD PTR -32944[rbp], rax
	lea	rax, -32944[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	lea	rax, -32944[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 13
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L4
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L4:
	cmp	DWORD PTR -33172[rbp], 2
	jg	.L5
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L43
.L5:
	mov	DWORD PTR -33152[rbp], 2
	jmp	.L6
.L42:
	mov	eax, DWORD PTR -33152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -33184[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -33144[rbp], eax
	cmp	DWORD PTR -33144[rbp], 0
	jns	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -33152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -33184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L7:
	lea	rax, -33120[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L9:
	lea	rax, -33112[rbp]
	mov	rdi, rax
	call	pipe@PLT
	cmp	eax, -1
	jne	.L10
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L10:
	call	fork@PLT
	mov	DWORD PTR -33140[rbp], eax
	cmp	DWORD PTR -33140[rbp], -1
	je	.L11
	cmp	DWORD PTR -33140[rbp], 0
	je	.L12
	jmp	.L13
.L11:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -33120[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	test	eax, eax
	jns	.L14
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	edx, DWORD PTR -33120[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L14:
	mov	eax, DWORD PTR -33108[rbp]
	mov	esi, 1
	mov	edi, eax
	call	dup2@PLT
	test	eax, eax
	jns	.L15
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	edx, DWORD PTR -33108[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L15:
	mov	eax, DWORD PTR -33120[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L16
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L16:
	mov	eax, DWORD PTR -33116[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L17:
	mov	eax, DWORD PTR -33112[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L18
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L18:
	mov	eax, DWORD PTR -33108[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L19
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L19:
	mov	rax, QWORD PTR -33184[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	ecx, 0
	mov	rdx, rax
	lea	rsi, .LC10[rip]
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	execlp@PLT
	cmp	eax, -1
	jne	.L20
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L20:
	mov	eax, -1
	jmp	.L43
.L13:
	call	fork@PLT
	mov	DWORD PTR -33136[rbp], eax
	cmp	DWORD PTR -33136[rbp], -1
	je	.L21
	cmp	DWORD PTR -33136[rbp], 0
	je	.L22
	jmp	.L23
.L21:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L23
.L22:
	mov	eax, DWORD PTR -33112[rbp]
	mov	esi, 0
	mov	edi, eax
	call	dup2@PLT
	test	eax, eax
	jns	.L24
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	edx, DWORD PTR -33112[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L24:
	mov	eax, DWORD PTR -33120[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L25
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L25:
	mov	eax, DWORD PTR -33116[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L26:
	mov	eax, DWORD PTR -33112[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L27:
	mov	eax, DWORD PTR -33108[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L28:
	mov	edx, 0
	lea	rsi, .LC12[rip]
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	execlp@PLT
	cmp	eax, -1
	jne	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L29:
	mov	eax, -1
	jmp	.L43
.L23:
	jmp	.L30
.L35:
	cmp	DWORD PTR -33132[rbp], 0
	jns	.L31
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	eax, DWORD PTR -33152[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -33184[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L31:
	mov	eax, DWORD PTR -33132[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -33116[rbp]
	lea	rcx, -32784[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -33148[rbp], eax
	jmp	.L32
.L34:
	cmp	DWORD PTR -33148[rbp], 0
	jns	.L33
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L33:
	mov	eax, DWORD PTR -33132[rbp]
	sub	eax, DWORD PTR -33148[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -33148[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, -32784[rbp]
	add	rcx, rax
	mov	eax, DWORD PTR -33116[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edx, eax
	mov	eax, DWORD PTR -33148[rbp]
	add	eax, edx
	mov	DWORD PTR -33148[rbp], eax
.L32:
	mov	eax, DWORD PTR -33148[rbp]
	cmp	eax, DWORD PTR -33132[rbp]
	jl	.L34
.L30:
	lea	rcx, -32784[rbp]
	mov	eax, DWORD PTR -33144[rbp]
	mov	edx, 4096
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -33132[rbp], eax
	cmp	DWORD PTR -33132[rbp], 0
	jne	.L35
	mov	eax, DWORD PTR -33144[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L36
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -33144[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L36:
	mov	eax, DWORD PTR -33120[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L37
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L37:
	mov	eax, DWORD PTR -33116[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L38
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L38:
	mov	eax, DWORD PTR -33112[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L39:
	mov	eax, DWORD PTR -33108[rbp]
	mov	edi, eax
	call	close@PLT
	test	eax, eax
	jns	.L40
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -1
	jmp	.L43
.L40:
	mov	eax, DWORD PTR file_check[rip]
	add	eax, 1
	mov	DWORD PTR file_check[rip], eax
	mov	edx, DWORD PTR byte_check[rip]
	mov	eax, DWORD PTR -33148[rbp]
	add	eax, edx
	mov	DWORD PTR byte_check[rip], eax
	lea	rcx, -33160[rbp]
	mov	eax, DWORD PTR -33140[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -33128[rbp], eax
	lea	rcx, -33156[rbp]
	mov	eax, DWORD PTR -33136[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	waitpid@PLT
	mov	DWORD PTR -33124[rbp], eax
	lea	rdi, buf[rip]
	call	_setjmp@PLT
	endbr64
	add	DWORD PTR -33152[rbp], 1
.L6:
	mov	eax, DWORD PTR -33152[rbp]
	cmp	eax, DWORD PTR -33172[rbp]
	jl	.L42
	mov	eax, 0
.L43:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC17:
	.string	"Number of Files Processed: %d\nNumber of Bytes Processed: %d\n"
	.text
	.globl	handler
	.type	handler, @function
handler:
.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 -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 2
	jne	.L45
	mov	ecx, DWORD PTR byte_check[rip]
	mov	edx, DWORD PTR file_check[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	nop
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	handler, .-handler
	.globl	phandler
	.type	phandler, @function
phandler:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	esi, 1
	lea	rdi, buf[rip]
	call	longjmp@PLT
	.cfi_endproc
.LFE8:
	.size	phandler, .-phandler
	.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	"243894125.c"
	.text
	.comm	buf,392,8
	.comm	file_check,4,4
	.comm	byte_check,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error: unable to invoke sigaction (%s)\012\000"
	.align	2
.LC1:
	.ascii	"Error: incorrect command format\012\000"
	.align	2
.LC2:
	.ascii	"Error: unable to open file %s for reading (%s)\012\000"
	.align	2
.LC3:
	.ascii	"Error: pipe connecting infile and grep fails (%s)\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Error: pipe connecting grep and more fails (%s)\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"Error: unable to create child process (%s)\012\000"
	.align	2
.LC6:
	.ascii	"Error: unable to redirect file %d to stdin (%s)\012"
	.ascii	"\000"
	.align	2
.LC7:
	.ascii	"Error: unable to redirect file %d to stdout (%s)\012"
	.ascii	"\000"
	.align	2
.LC8:
	.ascii	"Error: unable to close read end of pipe (%s)\012\000"
	.align	2
.LC9:
	.ascii	"Error: unable to close write end of pipe (%s)\012\000"
	.align	2
.LC10:
	.ascii	"grep\000"
	.align	2
.LC11:
	.ascii	"Error: unable to execute grep command (%s)\012\000"
	.align	2
.LC12:
	.ascii	"more\000"
	.align	2
.LC13:
	.ascii	"Error: unable to execute more command (%s)\012\000"
	.align	2
.LC14:
	.ascii	"Error: unable to read from file %s (%s)\012\000"
	.align	2
.LC15:
	.ascii	"Error: unable to write from buffer to pipe: %s\012\000"
	.align	2
.LC16:
	.ascii	"Error: unable to close infile #%d (%s)\012\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16736
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16640
	sub	sp, sp, #96
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r0, [r3, #-348]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r1, [r3, #-352]
	ldr	r3, .L45
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-152]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L45+4
	str	r3, [r2, #-284]
	sub	r3, fp, #16640
	sub	r3, r3, #12
	sub	r3, r3, #28
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #16640
	sub	r3, r3, #12
	sub	r3, r3, #28
	mov	r2, #0
	mov	r1, r3
	mov	r0, #2
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L2
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+12
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L2:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L45+16
	str	r3, [r2, #-144]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #144
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #144
	mov	r2, #0
	mov	r1, r3
	mov	r0, #13
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L4
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+12
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L4:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-348]
	cmp	r3, #2
	bgt	.L5
	ldr	r3, .L45+8
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L45+20
	bl	fwrite
	mvn	r3, #0
	b	.L43
.L5:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #2
	str	r3, [r2, #-332]
	b	.L6
.L42:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-332]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-352]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	open
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-324]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-324]
	cmp	r3, #0
	bge	.L7
	ldr	r3, .L45+8
	ldr	r4, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-332]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-352]
	add	r3, r2, r3
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L45+24
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L7:
	sub	r3, fp, #16640
	sub	r3, r3, #12
	sub	r3, r3, #44
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L9
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+28
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L9:
	sub	r3, fp, #16640
	sub	r3, r3, #12
	sub	r3, r3, #36
	mov	r0, r3
	bl	pipe
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+32
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L10:
	bl	fork
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r2, [r3, #-320]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-320]
	cmn	r3, #1
	beq	.L11
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-320]
	cmp	r3, #0
	beq	.L12
	b	.L13
.L11:
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+36
	mov	r0, r4
	bl	fprintf
	b	.L13
.L12:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-300]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	mov	r3, r0
	cmp	r3, #0
	bge	.L14
	ldr	r3, .L45+8
	ldr	r4, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r5, [r3, #-300]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L45+40
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L14:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	mov	r1, #1
	mov	r0, r3
	bl	dup2
	mov	r3, r0
	cmp	r3, #0
	bge	.L15
	ldr	r3, .L45+8
	ldr	r4, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r5, [r3, #-288]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L45+44
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L15:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-300]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L16
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+48
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L16:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-296]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L17
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+52
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L17:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-292]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L18
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+48
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L18:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L19
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+52
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L19:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-352]
	add	r3, r3, #4
	ldr	r2, [r3]
	mov	r3, #0
	ldr	r1, .L45+56
	ldr	r0, .L45+56
	bl	execlp
	mov	r3, r0
	cmn	r3, #1
	bne	.L20
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+60
	mov	r0, r4
	bl	fprintf
.L20:
	mvn	r3, #0
	b	.L43
.L13:
	bl	fork
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	str	r2, [r3, #-316]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	cmn	r3, #1
	beq	.L21
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-316]
	cmp	r3, #0
	beq	.L22
	b	.L23
.L21:
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+36
	mov	r0, r4
	bl	fprintf
	b	.L23
.L22:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-292]
	mov	r1, #0
	mov	r0, r3
	bl	dup2
	mov	r3, r0
	cmp	r3, #0
	bge	.L24
	ldr	r3, .L45+8
	ldr	r4, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r5, [r3, #-292]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L45+40
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L24:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-300]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L25
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+48
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L25:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-296]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L26
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+52
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L26:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-292]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L27
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+48
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L27:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L28
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+52
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L28:
	mov	r2, #0
	ldr	r1, .L45+64
	ldr	r0, .L45+64
	bl	execlp
	mov	r3, r0
	cmn	r3, #1
	bne	.L29
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+68
	mov	r0, r4
	bl	fprintf
.L29:
	mvn	r3, #0
	b	.L43
.L23:
	b	.L30
.L35:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-312]
	cmp	r3, #0
	bge	.L31
	ldr	r3, .L45+8
	ldr	r4, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-332]
	lsl	r3, r3, #2
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-352]
	add	r3, r2, r3
	ldr	r5, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L45+72
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L31:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-296]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r3, #-312]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	bl	write
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-328]
	b	.L32
.L34:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-328]
	cmp	r3, #0
	bge	.L33
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+76
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L33:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-296]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-328]
	lsl	r2, r3, #2
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	add	r1, r3, r2
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r2, #-312]
	ldr	r3, [r3, #-328]
	sub	r3, r2, r3
	mov	r2, r3
	bl	write
	mov	r2, r0
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-328]
	add	r3, r2, r3
	str	r3, [r1, #-328]
.L32:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r2, #-328]
	ldr	r3, [r3, #-312]
	cmp	r2, r3
	blt	.L34
.L30:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #4096
	mov	r1, r3
	ldr	r0, [r0, #-324]
	bl	read
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-312]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-312]
	cmp	r3, #0
	bne	.L35
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r0, [r3, #-324]
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L36
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	ldr	r2, [r2, #-324]
	ldr	r1, .L45+80
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L36:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-300]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L37
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+48
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L37:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-296]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L38
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+52
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L38:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-292]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L39
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+48
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L39:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-288]
	mov	r0, r3
	bl	close
	mov	r3, r0
	cmp	r3, #0
	bge	.L40
	ldr	r3, .L45+8
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L45+52
	mov	r0, r4
	bl	fprintf
	mvn	r3, #0
	b	.L43
.L40:
	ldr	r3, .L45+84
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L45+84
	str	r3, [r2]
	ldr	r3, .L45+88
	ldr	r2, [r3]
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-328]
	add	r3, r2, r3
	ldr	r2, .L45+88
	str	r3, [r2]
	sub	r3, fp, #16640
	sub	r3, r3, #12
	sub	r3, r3, #84
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-320]
	bl	waitpid
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-308]
	sub	r3, fp, #16640
	sub	r3, r3, #12
	sub	r3, r3, #80
	sub	r2, fp, #16384
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [r0, #-316]
	bl	waitpid
	mov	r3, r0
	sub	r2, fp, #16384
	sub	r2, r2, #12
	str	r3, [r2, #-304]
	ldr	r0, .L45+92
	bl	_setjmp
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r3, [r3, #-332]
	add	r3, r3, #1
	str	r3, [r2, #-332]
.L6:
	sub	r3, fp, #16384
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #16384
	sub	r3, r3, #12
	ldr	r2, [r2, #-332]
	ldr	r3, [r3, #-348]
	cmp	r2, r3
	blt	.L42
	mov	r3, #0
.L43:
	ldr	r2, .L45
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L44
	bl	__stack_chk_fail
.L44:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L46:
	.align	2
.L45:
	.word	.LC17
	.word	handler
	.word	stderr
	.word	.LC0
	.word	phandler
	.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	.LC14
	.word	.LC15
	.word	.LC16
	.word	file_check
	.word	byte_check
	.word	buf
	.size	main, .-main
	.section	.rodata
	.align	2
.LC18:
	.ascii	"Number of Files Processed: %d\012Number of Bytes Pr"
	.ascii	"ocessed: %d\012\000"
	.text
	.align	2
	.global	handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	handler, %function
handler:
	@ 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]
	cmp	r3, #2
	bne	.L47
	ldr	r3, .L49
	ldr	r0, [r3]
	ldr	r3, .L49+4
	ldr	r2, [r3]
	ldr	r3, .L49+8
	ldr	r3, [r3]
	ldr	r1, .L49+12
	bl	fprintf
	nop
.L47:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	stderr
	.word	file_check
	.word	byte_check
	.word	.LC18
	.size	handler, .-handler
	.align	2
	.global	phandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	phandler, %function
phandler:
	@ 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]
	mov	r1, #1
	ldr	r0, .L52
	bl	longjmp
.L53:
	.align	2
.L52:
	.word	buf
	.size	phandler, .-phandler
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
