	.file	"903399.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.text
	.globl	handle_sigchld
	.type	handle_sigchld, @function
handle_sigchld:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR n[rip]
	sub	eax, 1
	mov	DWORD PTR n[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	handle_sigchld, .-handle_sigchld
	.section	.rodata
.LC0:
	.string	"d:s:f:"
.LC1:
	.string	"dir"
.LC2:
	.string	"string"
.LC3:
	.string	"file"
	.align 8
.LC4:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260! \320\224\320\273\320\270\320\275\320\260 \320\270\320\274\320\265\320\275\320\270 \320\272\320\260\321\202\320\260\320\273\320\276\320\263\320\260 \320\264\320\276\320\273\320\266\320\275\320\260 \320\261\321\213\321\202\321\214 \320\261\320\276\320\273\321\214\321\210\320\265 \320\275\321\203\320\273\321\217!"
	.align 8
.LC5:
	.string	"\320\230\320\274\321\217 \320\272\320\260\321\202\320\260\320\273\320\276\320\263\320\260: '%s'\n"
	.align 8
.LC6:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260! \320\224\320\273\320\270\320\275\320\260 \321\201\321\202\321\200\320\276\320\272\320\270 \320\277\320\276\320\270\321\201\320\272\320\260 \320\264\320\276\320\273\320\266\320\275\320\260 \320\261\321\213\321\202\321\214 \320\261\320\276\320\273\321\214\321\210\320\265 \320\275\321\203\320\273\321\217!"
	.align 8
.LC7:
	.string	"\320\241\321\202\321\200\320\276\320\272\320\260 \320\277\320\276\320\270\321\201\320\272\320\260: '%s'\n"
	.align 8
.LC8:
	.string	"\320\224\320\273\320\270\320\275\320\260 \321\201\321\202\321\200\320\276\320\272\320\270 \320\277\320\276\320\270\321\201\320\272\320\260: %lu \320\261\320\260\320\271\321\202\n"
	.align 8
.LC9:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260! \320\240\320\260\320\267\320\274\320\265\321\200 \321\201\321\202\321\200\320\276\320\272\320\270 \320\264\320\276\320\273\320\266\320\265\320\275 \320\261\321\213\321\202\321\214 \320\274\320\265\320\275\321\214\321\210\320\265 255 \320\261\320\260\320\271\321\202!"
	.align 8
.LC10:
	.string	"\320\240\320\260\320\267\320\274\320\265\321\200 char \321\201\320\276\321\201\321\202\320\260\320\262\320\273\321\217\320\265\321\202 %lu \320\261\320\260\320\271\321\202.\n"
	.align 8
.LC11:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260! \320\224\320\273\320\270\320\275\320\260 \320\270\320\274\320\265\320\275\320\270 \321\204\320\260\320\271\320\273\320\260 \321\200\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202\320\260 \320\264\320\276\320\273\320\266\320\275\320\260 \320\261\321\213\321\202\321\214 \320\261\320\276\320\273\321\214\321\210\320\265 \320\275\321\203\320\273\321\217!"
	.align 8
.LC12:
	.string	"\320\244\320\260\320\271\320\273 \321\200\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202\320\260: '%s'\n"
	.align 8
.LC13:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260! \320\235\320\265\320\270\320\267\320\262\320\265\321\201\321\202\320\275\321\213\320\271 \320\260\321\200\320\263\321\203\320\274\320\265\320\275\321\202 '%s'!\n"
	.align 8
.LC14:
	.string	"\320\242\320\265\320\272\321\203\321\211\320\270\320\271 \320\272\320\260\321\202\320\260\320\273\320\276\320\263: %s\n"
.LC15:
	.string	"getcwd() error"
	.align 8
.LC16:
	.string	"\320\222\320\275\320\270\320\274\320\260\320\275\320\270\320\265! \320\235\320\265 \321\203\320\272\320\260\320\267\320\260\320\275 \320\272\320\260\321\202\320\260\320\273\320\276\320\263 \320\264\320\273\321\217 \320\277\320\276\320\270\321\201\320\272\320\260! \320\222 \320\272\320\260\321\207\320\265\321\201\321\202\320\262\320\265 \320\262\321\205\320\276\320\264\320\275\320\276\320\263\320\276 \320\261\321\203\320\264\320\265\321\202 \320\270\321\201\320\277\320\276\320\273\321\214\320\267\320\276\320\262\320\260\320\275 \321\202\320\265\320\272\321\203\321\211\320\270\320\271 \320\272\320\260\321\202\320\260\320\273\320\276\320\263: '%s'\n"
	.align 8
.LC17:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260! \320\235\320\265 \321\203\320\272\320\260\320\267\320\260\320\275\320\260 \321\201\321\202\321\200\320\276\320\272\320\260 \320\277\320\276\320\270\321\201\320\272\320\260!"
	.align 8
.LC18:
	.string	"\320\222\320\275\320\270\320\274\320\260\320\275\320\270\320\265! \320\235\320\265 \321\203\320\272\320\260\320\267\320\260\320\275 \321\204\320\260\320\271\320\273 \321\200\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202\320\260! \320\222\321\213\320\262\320\276\320\264 \320\261\321\203\320\264\320\265\321\202 \320\276\321\201\321\203\321\211\320\265\321\201\321\202\320\262\320\273\321\217\321\202\321\214\321\201\321\217 \321\202\320\276\320\273\321\214\320\272\320\276 \320\262 \320\272\320\276\320\275\321\201\320\276\320\273\321\214."
.LC19:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260!\n%s\n"
.LC20:
	.string	"\320\222\320\262\320\265\320\264\320\270\321\202\320\265 N="
.LC21:
	.string	"%d"
	.align 8
.LC22:
	.string	"\320\247\320\270\321\201\320\273\320\276 \320\267\320\260\320\277\321\203\321\211\320\265\320\275\320\275\321\213\321\205 \320\277\321\200\320\276\321\206\320\265\321\201\321\201\320\276\320\262 \320\264\320\276\320\273\320\266\320\275\320\276 \320\261\321\213\321\202\321\214 \320\261\320\276\320\273\321\214\321\210\320\265 \320\275\321\203\320\273\321\217!"
	.align 8
.LC23:
	.string	"-------------------------------------------------------------------"
	.align 8
.LC24:
	.string	"\320\230\320\224        \320\237\320\276\320\273\320\275\321\213\320\271 \320\277\321\203\321\202\321\214                     \320\247\320\270\321\201\320\273\320\276          \320\240\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202\321\213"
	.align 8
.LC25:
	.string	"\320\277\321\200\320\276\321\206\320\265\321\201\321\201\320\260  \320\270                               \320\277\321\200\320\276\321\201\320\274\320\276\321\202\321\200\320\265\320\275\320\275\321\213\321\205  \320\277\320\276\320\270\321\201\320\272\320\260    "
	.align 8
.LC26:
	.string	"          \320\270\320\274\321\217 \321\204\320\260\320\271\320\273\320\260                       \320\261\320\260\320\271\321\202                     "
.LC27:
	.string	"%s/%s"
	.align 8
.LC28:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260 \320\267\320\260\320\272\321\200\321\213\321\202\320\270\321\217 \320\276\321\207\320\265\321\200\320\265\320\264\320\275\320\276\320\263\320\276 \321\204\320\260\320\271\320\273\320\260 \320\262 \320\272\320\276\321\202\320\276\321\200\320\276\320\274 \320\277\321\200\320\276\320\270\320\267\320\262\320\276\320\264\320\270\321\202\321\201\321\217 \320\277\320\276\320\270\321\201\320\272!\n%s\n"
.LC29:
	.string	"\320\235\320\220\320\231\320\224\320\225\320\235\320\236"
.LC30:
	.string	"\320\235\320\225 \320\235\320\220\320\231\320\224\320\225\320\235\320\236"
.LC31:
	.string	"%-10d%-32s%-15d%-10s\n"
	.align 8
.LC32:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260 \320\267\320\260\320\272\321\200\321\213\321\202\320\270\321\217 \321\204\320\260\320\271\320\273\320\260 \321\200\320\265\320\267\321\203\320\273\321\214\321\202\320\260\321\202\320\260!\n%s\n"
	.align 8
.LC33:
	.string	"\320\236\321\210\320\270\320\261\320\272\320\260 \320\267\320\260\320\272\321\200\321\213\321\202\320\270\321\217 \320\272\320\260\321\202\320\260\320\273\320\276\320\263\320\260!\n%s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r12
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 704
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 12, -40
	.cfi_offset 3, -48
	mov	DWORD PTR -4804[rbp], edi
	mov	QWORD PTR -4816[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -4752[rbp], 0
	mov	DWORD PTR -4768[rbp], 0
	mov	QWORD PTR -4744[rbp], 0
	mov	DWORD PTR -4784[rbp], 0
	mov	QWORD PTR -4736[rbp], 0
	mov	DWORD PTR -4764[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -4728[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -4688[rbp], rax
	mov	DWORD PTR -4680[rbp], 1
	mov	QWORD PTR -4672[rbp], 0
	mov	DWORD PTR -4664[rbp], 100
	lea	rax, .LC2[rip]
	mov	QWORD PTR -4656[rbp], rax
	mov	DWORD PTR -4648[rbp], 1
	mov	QWORD PTR -4640[rbp], 0
	mov	DWORD PTR -4632[rbp], 115
	lea	rax, .LC3[rip]
	mov	QWORD PTR -4624[rbp], rax
	mov	DWORD PTR -4616[rbp], 1
	mov	QWORD PTR -4608[rbp], 0
	mov	DWORD PTR -4600[rbp], 102
	mov	QWORD PTR -4592[rbp], 0
	mov	DWORD PTR -4584[rbp], 0
	mov	QWORD PTR -4576[rbp], 0
	mov	DWORD PTR -4568[rbp], 0
	mov	DWORD PTR -4796[rbp], -1
	jmp	.L3
.L15:
	cmp	DWORD PTR -4760[rbp], 115
	je	.L4
	cmp	DWORD PTR -4760[rbp], 115
	jg	.L5
	cmp	DWORD PTR -4760[rbp], 100
	je	.L6
	cmp	DWORD PTR -4760[rbp], 102
	je	.L7
	jmp	.L5
.L6:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4768[rbp], eax
	cmp	DWORD PTR -4768[rbp], 0
	jg	.L8
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L49
.L8:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -4752[rbp], rax
	cmp	DWORD PTR -4768[rbp], 0
	jle	.L10
	mov	eax, DWORD PTR -4768[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L10
	mov	eax, DWORD PTR -4768[rbp]
	cdqe
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -4752[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L10:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L4:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4784[rbp], eax
	cmp	DWORD PTR -4784[rbp], 0
	jg	.L12
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L49
.L12:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -4744[rbp], rax
	mov	rax, QWORD PTR -4744[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4784[rbp]
	cdqe
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -4784[rbp]
	cdqe
	cmp	rax, 254
	jbe	.L52
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	esi, 1
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L49
.L7:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4764[rbp], eax
	cmp	DWORD PTR -4764[rbp], 0
	jg	.L14
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L49
.L14:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -4736[rbp], rax
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L5:
	mov	rax, QWORD PTR optarg[rip]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L11
.L52:
	nop
.L11:
	mov	DWORD PTR -4796[rbp], -1
.L3:
	lea	rdi, -4796[rbp]
	lea	rcx, -4688[rbp]
	mov	rdx, QWORD PTR -4728[rbp]
	mov	rsi, QWORD PTR -4816[rbp]
	mov	eax, DWORD PTR -4804[rbp]
	mov	r8, rdi
	mov	edi, eax
	call	getopt_long@PLT
	mov	DWORD PTR -4760[rbp], eax
	cmp	DWORD PTR -4760[rbp], -1
	jne	.L15
	lea	rax, -4144[rbp]
	mov	esi, 4096
	mov	rdi, rax
	call	getcwd@PLT
	test	rax, rax
	je	.L16
	lea	rax, -4144[rbp]
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -4752[rbp], 0
	jne	.L18
	jmp	.L51
.L16:
	lea	rdi, .LC15[rip]
	call	perror@PLT
	mov	eax, 1
	jmp	.L49
.L51:
	lea	rax, -4144[rbp]
	mov	QWORD PTR -4752[rbp], rax
	mov	rax, QWORD PTR -4752[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	printf@PLT
.L18:
	cmp	QWORD PTR -4744[rbp], 0
	jne	.L19
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L49
.L19:
	cmp	QWORD PTR -4736[rbp], 0
	jne	.L20
	lea	rdi, .LC18[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L49
.L20:
	mov	rax, QWORD PTR -4752[rbp]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -4720[rbp], rax
	cmp	QWORD PTR -4720[rbp], 0
	jne	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L49
.L21:
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -4792[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -4792[rbp]
	test	eax, eax
	jg	.L22
	lea	rdi, .LC22[rip]
	call	puts@PLT
.L22:
	mov	eax, DWORD PTR -4792[rbp]
	test	eax, eax
	jle	.L21
	lea	rax, handle_sigchld[rip]
	mov	QWORD PTR -4416[rbp], rax
	lea	rax, -4416[rbp]
	add	rax, 8
	mov	rdi, rax
	call	sigemptyset@PLT
	cmp	eax, -1
	jne	.L23
	mov	edi, 0
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L23:
	mov	DWORD PTR -4280[rbp], 268435457
	lea	rax, -4416[rbp]
	mov	edx, 0
	mov	rsi, rax
	mov	edi, 17
	call	sigaction@PLT
	cmp	eax, -1
	jne	.L24
	mov	edi, 0
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L24:
	lea	rdi, .LC23[rip]
	call	puts@PLT
	lea	rdi, .LC24[rip]
	call	puts@PLT
	lea	rdi, .LC25[rip]
	call	puts@PLT
	lea	rdi, .LC26[rip]
	call	puts@PLT
	lea	rdi, .LC23[rip]
	call	puts@PLT
	jmp	.L25
.L46:
	mov	rax, rsp
	mov	rbx, rax
	mov	rax, QWORD PTR -4752[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	r12, rax
	mov	rax, QWORD PTR -4712[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	add	rax, r12
	add	rax, 2
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -4704[rbp], rdx
	mov	r14, rax
	mov	r15d, 0
	mov	QWORD PTR -4832[rbp], rax
	mov	QWORD PTR -4824[rbp], 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L26:
	cmp	rsp, rdx
	je	.L27
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L26
.L27:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L28
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L28:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -4696[rbp], rax
	mov	rax, QWORD PTR -4712[rbp]
	lea	rcx, 19[rax]
	mov	rdx, QWORD PTR -4752[rbp]
	mov	rax, QWORD PTR -4696[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rdx, -4560[rbp]
	mov	rax, QWORD PTR -4696[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	jne	.L29
	mov	eax, DWORD PTR -4536[rbp]
	and	eax, 61440
	cmp	eax, 16384
	je	.L29
	call	fork@PLT
	mov	DWORD PTR -4780[rbp], eax
	cmp	DWORD PTR -4780[rbp], 0
	jle	.L30
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
	jmp	.L31
.L32:
	mov	edi, 1
	call	usleep@PLT
.L31:
	mov	edx, DWORD PTR n[rip]
	mov	eax, DWORD PTR -4792[rbp]
	cmp	edx, eax
	jge	.L32
.L30:
	cmp	DWORD PTR -4780[rbp], 0
	jne	.L29
	mov	rax, QWORD PTR -4696[rbp]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4756[rbp], eax
	cmp	DWORD PTR -4756[rbp], 0
	jns	.L33
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L34
.L33:
	mov	DWORD PTR -4776[rbp], 0
	mov	DWORD PTR -4772[rbp], 0
	mov	BYTE PTR -4797[rbp], 0
	jmp	.L35
.L38:
	add	DWORD PTR -4772[rbp], 1
	mov	eax, DWORD PTR -4776[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4744[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR -4788[rbp]
	cmp	dl, al
	je	.L36
	mov	DWORD PTR -4776[rbp], 0
	jmp	.L37
.L36:
	mov	eax, DWORD PTR -4776[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -4744[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	movzx	eax, BYTE PTR -4788[rbp]
	cmp	dl, al
	jne	.L37
	add	DWORD PTR -4776[rbp], 1
.L37:
	mov	eax, DWORD PTR -4776[rbp]
	cmp	eax, DWORD PTR -4784[rbp]
	jne	.L35
	mov	BYTE PTR -4797[rbp], 1
	mov	DWORD PTR -4776[rbp], 0
.L35:
	lea	rcx, -4788[rbp]
	mov	eax, DWORD PTR -4756[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	test	rax, rax
	jg	.L38
	mov	eax, DWORD PTR -4756[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L39
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
.L39:
	cmp	BYTE PTR -4797[rbp], 0
	je	.L40
	lea	r12, .LC29[rip]
	jmp	.L41
.L40:
	lea	r12, .LC30[rip]
.L41:
	call	getpid@PLT
	mov	esi, eax
	mov	edx, DWORD PTR -4772[rbp]
	mov	rax, QWORD PTR -4696[rbp]
	mov	r8, r12
	mov	ecx, edx
	mov	rdx, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	QWORD PTR -4736[rbp], 0
	je	.L42
	cmp	BYTE PTR -4797[rbp], 0
	je	.L42
	mov	rax, QWORD PTR -4736[rbp]
	mov	esi, 1090
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4756[rbp], eax
	cmp	DWORD PTR -4756[rbp], 0
	jns	.L43
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 1
	jmp	.L34
.L43:
	call	getpid@PLT
	mov	esi, eax
	mov	ecx, DWORD PTR -4772[rbp]
	mov	rdx, QWORD PTR -4696[rbp]
	lea	rax, -4256[rbp]
	lea	r9, .LC29[rip]
	mov	r8d, ecx
	mov	rcx, rdx
	mov	edx, esi
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -4256[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -4256[rbp]
	mov	eax, DWORD PTR -4756[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -4756[rbp]
	mov	edi, eax
	call	close@PLT
	cmp	eax, -1
	jne	.L42
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
.L42:
	mov	edi, 1
	call	sleep@PLT
	mov	rsp, rbx
	jmp	.L45
.L34:
	mov	rsp, rbx
	jmp	.L49
.L29:
	mov	rsp, rbx
.L25:
	mov	rax, QWORD PTR -4720[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -4712[rbp], rax
	cmp	QWORD PTR -4712[rbp], 0
	jne	.L46
.L45:
	cmp	DWORD PTR -4780[rbp], 0
	jle	.L47
	lea	rax, -4788[rbp]
	mov	rdi, rax
	call	wait@PLT
	mov	rax, QWORD PTR -4720[rbp]
	mov	rdi, rax
	call	closedir@PLT
	cmp	eax, -1
	jne	.L47
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC33[rip]
	mov	eax, 0
	call	printf@PLT
.L47:
	mov	eax, 0
.L49:
	mov	rbx, QWORD PTR -40[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L50
	call	__stack_chk_fail@PLT
.L50:
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"903399.c"
	.section	.rodata
	.align	2
.LC0:
	.ascii	"dir\000"
	.align	2
.LC1:
	.ascii	"string\000"
	.align	2
.LC2:
	.ascii	"file\000"
	.text
	.global	n
	.bss
	.align	2
	.type	n, %object
	.size	n, 4
n:
	.space	4
	.text
	.align	2
	.global	handle_sigchld
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_sigchld, %function
handle_sigchld:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L2
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L2
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	n
	.size	handle_sigchld, .-handle_sigchld
	.section	.rodata
	.align	2
.LC4:
	.ascii	"d:s:f:\000"
	.align	2
.LC6:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260! \320"
	.ascii	"\224\320\273\320\270\320\275\320\260 \320\270\320\274"
	.ascii	"\320\265\320\275\320\270 \320\272\320\260\321\202\320"
	.ascii	"\260\320\273\320\276\320\263\320\260 \320\264\320\276"
	.ascii	"\320\273\320\266\320\275\320\260 \320\261\321\213\321"
	.ascii	"\202\321\214 \320\261\320\276\320\273\321\214\321\210"
	.ascii	"\320\265 \320\275\321\203\320\273\321\217!\000"
	.align	2
.LC7:
	.ascii	"\320\230\320\274\321\217 \320\272\320\260\321\202\320"
	.ascii	"\260\320\273\320\276\320\263\320\260: '%s'\012\000"
	.align	2
.LC8:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260! \320"
	.ascii	"\224\320\273\320\270\320\275\320\260 \321\201\321\202"
	.ascii	"\321\200\320\276\320\272\320\270 \320\277\320\276\320"
	.ascii	"\270\321\201\320\272\320\260 \320\264\320\276\320\273"
	.ascii	"\320\266\320\275\320\260 \320\261\321\213\321\202\321"
	.ascii	"\214 \320\261\320\276\320\273\321\214\321\210\320\265"
	.ascii	" \320\275\321\203\320\273\321\217!\000"
	.align	2
.LC9:
	.ascii	"\320\241\321\202\321\200\320\276\320\272\320\260 \320"
	.ascii	"\277\320\276\320\270\321\201\320\272\320\260: '%s'\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"\320\224\320\273\320\270\320\275\320\260 \321\201\321"
	.ascii	"\202\321\200\320\276\320\272\320\270 \320\277\320\276"
	.ascii	"\320\270\321\201\320\272\320\260: %lu \320\261\320\260"
	.ascii	"\320\271\321\202\012\000"
	.align	2
.LC11:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260! \320"
	.ascii	"\240\320\260\320\267\320\274\320\265\321\200 \321\201"
	.ascii	"\321\202\321\200\320\276\320\272\320\270 \320\264\320"
	.ascii	"\276\320\273\320\266\320\265\320\275 \320\261\321\213"
	.ascii	"\321\202\321\214 \320\274\320\265\320\275\321\214\321"
	.ascii	"\210\320\265 255 \320\261\320\260\320\271\321\202!\000"
	.align	2
.LC12:
	.ascii	"\320\240\320\260\320\267\320\274\320\265\321\200 ch"
	.ascii	"ar \321\201\320\276\321\201\321\202\320\260\320\262"
	.ascii	"\320\273\321\217\320\265\321\202 %lu \320\261\320\260"
	.ascii	"\320\271\321\202.\012\000"
	.align	2
.LC13:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260! \320"
	.ascii	"\224\320\273\320\270\320\275\320\260 \320\270\320\274"
	.ascii	"\320\265\320\275\320\270 \321\204\320\260\320\271\320"
	.ascii	"\273\320\260 \321\200\320\265\320\267\321\203\320\273"
	.ascii	"\321\214\321\202\320\260\321\202\320\260 \320\264\320"
	.ascii	"\276\320\273\320\266\320\275\320\260 \320\261\321\213"
	.ascii	"\321\202\321\214 \320\261\320\276\320\273\321\214\321"
	.ascii	"\210\320\265 \320\275\321\203\320\273\321\217!\000"
	.align	2
.LC14:
	.ascii	"\320\244\320\260\320\271\320\273 \321\200\320\265\320"
	.ascii	"\267\321\203\320\273\321\214\321\202\320\260\321\202"
	.ascii	"\320\260: '%s'\012\000"
	.align	2
.LC15:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260! \320"
	.ascii	"\235\320\265\320\270\320\267\320\262\320\265\321\201"
	.ascii	"\321\202\320\275\321\213\320\271 \320\260\321\200\320"
	.ascii	"\263\321\203\320\274\320\265\320\275\321\202 '%s'!\012"
	.ascii	"\000"
	.align	2
.LC16:
	.ascii	"\320\242\320\265\320\272\321\203\321\211\320\270\320"
	.ascii	"\271 \320\272\320\260\321\202\320\260\320\273\320\276"
	.ascii	"\320\263: %s\012\000"
	.align	2
.LC17:
	.ascii	"getcwd() error\000"
	.align	2
.LC18:
	.ascii	"\320\222\320\275\320\270\320\274\320\260\320\275\320"
	.ascii	"\270\320\265! \320\235\320\265 \321\203\320\272\320"
	.ascii	"\260\320\267\320\260\320\275 \320\272\320\260\321\202"
	.ascii	"\320\260\320\273\320\276\320\263 \320\264\320\273\321"
	.ascii	"\217 \320\277\320\276\320\270\321\201\320\272\320\260"
	.ascii	"! \320\222 \320\272\320\260\321\207\320\265\321\201"
	.ascii	"\321\202\320\262\320\265 \320\262\321\205\320\276\320"
	.ascii	"\264\320\275\320\276\320\263\320\276 \320\261\321\203"
	.ascii	"\320\264\320\265\321\202 \320\270\321\201\320\277\320"
	.ascii	"\276\320\273\321\214\320\267\320\276\320\262\320\260"
	.ascii	"\320\275 \321\202\320\265\320\272\321\203\321\211\320"
	.ascii	"\270\320\271 \320\272\320\260\321\202\320\260\320\273"
	.ascii	"\320\276\320\263: '%s'\012\000"
	.align	2
.LC19:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260! \320"
	.ascii	"\235\320\265 \321\203\320\272\320\260\320\267\320\260"
	.ascii	"\320\275\320\260 \321\201\321\202\321\200\320\276\320"
	.ascii	"\272\320\260 \320\277\320\276\320\270\321\201\320\272"
	.ascii	"\320\260!\000"
	.align	2
.LC20:
	.ascii	"\320\222\320\275\320\270\320\274\320\260\320\275\320"
	.ascii	"\270\320\265! \320\235\320\265 \321\203\320\272\320"
	.ascii	"\260\320\267\320\260\320\275 \321\204\320\260\320\271"
	.ascii	"\320\273 \321\200\320\265\320\267\321\203\320\273\321"
	.ascii	"\214\321\202\320\260\321\202\320\260! \320\222\321\213"
	.ascii	"\320\262\320\276\320\264 \320\261\321\203\320\264\320"
	.ascii	"\265\321\202 \320\276\321\201\321\203\321\211\320\265"
	.ascii	"\321\201\321\202\320\262\320\273\321\217\321\202\321"
	.ascii	"\214\321\201\321\217 \321\202\320\276\320\273\321\214"
	.ascii	"\320\272\320\276 \320\262 \320\272\320\276\320\275\321"
	.ascii	"\201\320\276\320\273\321\214.\000"
	.align	2
.LC21:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260!\012"
	.ascii	"%s\012\000"
	.align	2
.LC22:
	.ascii	"\320\222\320\262\320\265\320\264\320\270\321\202\320"
	.ascii	"\265 N=\000"
	.align	2
.LC23:
	.ascii	"%d\000"
	.align	2
.LC24:
	.ascii	"\320\247\320\270\321\201\320\273\320\276 \320\267\320"
	.ascii	"\260\320\277\321\203\321\211\320\265\320\275\320\275"
	.ascii	"\321\213\321\205 \320\277\321\200\320\276\321\206\320"
	.ascii	"\265\321\201\321\201\320\276\320\262 \320\264\320\276"
	.ascii	"\320\273\320\266\320\275\320\276 \320\261\321\213\321"
	.ascii	"\202\321\214 \320\261\320\276\320\273\321\214\321\210"
	.ascii	"\320\265 \320\275\321\203\320\273\321\217!\000"
	.align	2
.LC25:
	.ascii	"---------------------------------------------------"
	.ascii	"----------------\000"
	.align	2
.LC26:
	.ascii	"\320\230\320\224        \320\237\320\276\320\273\320"
	.ascii	"\275\321\213\320\271 \320\277\321\203\321\202\321\214"
	.ascii	"                     \320\247\320\270\321\201\320\273"
	.ascii	"\320\276          \320\240\320\265\320\267\321\203\320"
	.ascii	"\273\321\214\321\202\320\260\321\202\321\213\000"
	.align	2
.LC27:
	.ascii	"\320\277\321\200\320\276\321\206\320\265\321\201\321"
	.ascii	"\201\320\260  \320\270                             "
	.ascii	"  \320\277\321\200\320\276\321\201\320\274\320\276\321"
	.ascii	"\202\321\200\320\265\320\275\320\275\321\213\321\205"
	.ascii	"  \320\277\320\276\320\270\321\201\320\272\320\260 "
	.ascii	"   \000"
	.align	2
.LC28:
	.ascii	"          \320\270\320\274\321\217 \321\204\320\260"
	.ascii	"\320\271\320\273\320\260                       \320"
	.ascii	"\261\320\260\320\271\321\202                     \000"
	.align	2
.LC29:
	.ascii	"%s/%s\000"
	.align	2
.LC30:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\267\320\260\320\272\321\200\321\213\321\202\320\270"
	.ascii	"\321\217 \320\276\321\207\320\265\321\200\320\265\320"
	.ascii	"\264\320\275\320\276\320\263\320\276 \321\204\320\260"
	.ascii	"\320\271\320\273\320\260 \320\262 \320\272\320\276\321"
	.ascii	"\202\320\276\321\200\320\276\320\274 \320\277\321\200"
	.ascii	"\320\276\320\270\320\267\320\262\320\276\320\264\320"
	.ascii	"\270\321\202\321\201\321\217 \320\277\320\276\320\270"
	.ascii	"\321\201\320\272!\012%s\012\000"
	.align	2
.LC31:
	.ascii	"\320\235\320\220\320\231\320\224\320\225\320\235\320"
	.ascii	"\236\000"
	.align	2
.LC32:
	.ascii	"\320\235\320\225 \320\235\320\220\320\231\320\224\320"
	.ascii	"\225\320\235\320\236\000"
	.align	2
.LC33:
	.ascii	"%-10d%-32s%-15d%-10s\012\000"
	.align	2
.LC34:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\267\320\260\320\272\321\200\321\213\321\202\320\270"
	.ascii	"\321\217 \321\204\320\260\320\271\320\273\320\260 \321"
	.ascii	"\200\320\265\320\267\321\203\320\273\321\214\321\202"
	.ascii	"\320\260\321\202\320\260!\012%s\012\000"
	.align	2
.LC35:
	.ascii	"\320\236\321\210\320\270\320\261\320\272\320\260 \320"
	.ascii	"\267\320\260\320\272\321\200\321\213\321\202\320\270"
	.ascii	"\321\217 \320\272\320\260\321\202\320\260\320\273\320"
	.ascii	"\276\320\263\320\260!\012%s\012\000"
	.align	2
.LC5:
	.word	.LC0
	.word	1
	.word	0
	.word	100
	.word	.LC1
	.word	1
	.word	0
	.word	115
	.word	.LC2
	.word	1
	.word	0
	.word	102
	.word	0
	.word	0
	.word	0
	.word	0
	.align	2
.LC36:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 4584
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #4544
	sub	sp, sp, #48
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r0, [r3, #-484]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	str	r1, [r3, #-488]
	ldr	r3, .L52
	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, #-464]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-436]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-460]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-456]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-452]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-432]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L52+4
	str	r3, [r2, #-428]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, .L52+8
	sub	ip, r3, #308
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-476]
	b	.L5
.L17:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	cmp	r3, #115
	beq	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	cmp	r3, #115
	bgt	.L7
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	cmp	r3, #100
	beq	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	cmp	r3, #102
	beq	.L9
	b	.L7
.L8:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-436]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-436]
	cmp	r3, #0
	bgt	.L10
	ldr	r0, .L52+16
	bl	puts
	mov	r3, #1
	b	.L48
.L10:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r4, #-464]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-436]
	cmp	r3, #0
	ble	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-436]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-464]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L12
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-436]
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-464]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L12:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L52+20
	bl	printf
	b	.L13
.L6:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-456]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-456]
	cmp	r3, #0
	bgt	.L14
	ldr	r0, .L52+24
	bl	puts
	mov	r3, #1
	b	.L48
.L14:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r4, #-460]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-460]
	ldr	r0, .L52+28
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-456]
	mov	r1, r3
	ldr	r0, .L52+32
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-456]
	cmp	r3, #254
	bls	.L51
	ldr	r0, .L52+36
	bl	puts
	mov	r1, #1
	ldr	r0, .L52+40
	bl	printf
	mov	r3, #1
	b	.L48
.L9:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-432]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-432]
	cmp	r3, #0
	bgt	.L16
	ldr	r0, .L52+44
	bl	puts
	mov	r3, #1
	b	.L48
.L16:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r4, r2
	mov	r0, r3
	bl	strdup
	mov	r3, r0
	str	r3, [r4, #-452]
	ldr	r3, .L52+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L52+48
	bl	printf
	b	.L13
.L7:
	ldr	r3, .L52+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L52+52
	bl	printf
	b	.L13
.L51:
	nop
.L13:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mvn	r3, #0
	str	r3, [r2, #-476]
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r2, fp, #4352
	sub	r2, r2, #12
	sub	r2, r2, #52
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	ip, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r0, r3
	sub	r3, fp, #4544
	sub	r3, r3, #12
	sub	r3, r3, #28
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, [ip, #-428]
	ldr	r1, [r1, #-488]
	ldr	r0, [r0, #-484]
	bl	getopt_long
	str	r0, [r4, #-424]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-424]
	cmn	r3, #1
	bne	.L17
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #4096
	mov	r0, r3
	bl	getcwd
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L52+56
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-464]
	cmp	r3, #0
	bne	.L20
	b	.L50
.L18:
	ldr	r0, .L52+60
	bl	perror
	mov	r3, #1
	b	.L48
.L50:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [r2, #-464]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, [r3, #-464]
	ldr	r0, .L52+64
	bl	printf
.L20:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-460]
	cmp	r3, #0
	bne	.L21
	ldr	r0, .L52+68
	bl	puts
	mov	r3, #1
	b	.L48
.L21:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-452]
	cmp	r3, #0
	bne	.L22
	ldr	r0, .L52+72
	bl	puts
	mov	r3, #1
	b	.L48
.L22:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-464]
	bl	opendir
	str	r0, [r4, #-420]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-420]
	cmp	r3, #0
	bne	.L23
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L52+76
	bl	printf
	mov	r3, #1
	b	.L48
.L23:
	ldr	r0, .L52+80
	bl	printf
	sub	r3, fp, #4544
	sub	r3, r3, #12
	sub	r3, r3, #24
	mov	r1, r3
	ldr	r0, .L52+84
	bl	__isoc99_scanf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-472]
	cmp	r3, #0
	bgt	.L24
	ldr	r0, .L52+88
	bl	puts
.L24:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-472]
	cmp	r3, #0
	ble	.L23
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	ldr	r3, .L52+92
	str	r3, [r2, #-244]
	sub	r3, fp, #4288
	sub	r3, r3, #12
	sub	r3, r3, #52
	add	r3, r3, #4
	mov	r0, r3
	bl	sigemptyset
	mov	r3, r0
	cmn	r3, #1
	bne	.L25
	mov	r0, #0
	bl	perror
	mov	r0, #1
	bl	exit
.L25:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #268435457
	str	r3, [r2, #-112]
	sub	r3, fp, #4288
	sub	r3, r3, #12
	sub	r3, r3, #52
	mov	r2, #0
	mov	r1, r3
	mov	r0, #17
	bl	sigaction
	mov	r3, r0
	cmn	r3, #1
	bne	.L26
	mov	r0, #0
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	ldr	r0, .L52+96
	bl	puts
	ldr	r0, .L52+100
	bl	puts
	ldr	r0, .L52+104
	bl	puts
	ldr	r0, .L52+108
	bl	puts
	ldr	r0, .L52+96
	bl	puts
	b	.L27
.L45:
	mov	r3, sp
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-464]
	bl	strlen
	mov	r5, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-416]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	add	r3, r5, r3
	add	ip, r3, #2
	mov	r3, ip
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-412]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #8
	add	r3, r3, #0
	str	r3, [r2, #-408]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-416]
	add	r3, r3, #11
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	ldr	r2, [r2, #-464]
	ldr	r1, .L52+112
	ldr	r0, [r0, #-408]
	bl	sprintf
	sub	r3, fp, #4480
	sub	r3, r3, #12
	sub	r3, r3, #16
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r1, r3
	ldr	r0, [r2, #-408]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-384]
	and	r3, r3, #61440
	cmp	r3, #16384
	beq	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r5, r3
	bl	fork
	mov	r3, r0
	str	r3, [r5, #-448]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-448]
	cmp	r3, #0
	ble	.L29
	ldr	r3, .L52+116
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L52+116
	str	r3, [r2]
	b	.L30
.L31:
	mov	r0, #1
	bl	usleep
.L30:
	ldr	r3, .L52+116
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-472]
	cmp	r2, r3
	bge	.L31
.L29:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-448]
	cmp	r3, #0
	bne	.L28
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r5, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, #0
	ldr	r0, [r3, #-408]
	bl	open
	str	r0, [r5, #-404]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-404]
	cmp	r3, #0
	bge	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L52+76
	bl	printf
	mov	r3, #1
	b	.L33
.L32:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-444]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-440]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #0
	strb	r2, [r3, #-477]
	b	.L34
.L37:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-440]
	add	r3, r3, #1
	str	r3, [r2, #-440]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-444]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-460]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-468]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L35
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-444]
	b	.L36
.L35:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-444]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-460]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-468]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L36
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-444]
	add	r3, r3, #1
	str	r3, [r2, #-444]
.L36:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-477]
	strb	r3, [r2, #-477]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-444]
	ldr	r3, [r3, #-456]
	cmp	r2, r3
	bne	.L34
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, #1
	strb	r2, [r3, #-477]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-444]
.L34:
	sub	r3, fp, #4544
	sub	r3, r3, #12
	sub	r3, r3, #20
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [r0, #-404]
	bl	read
	mov	r3, r0
	cmp	r3, #0
	bgt	.L37
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-404]
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L38
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L52+120
	bl	printf
.L38:
	bl	getpid
	mov	r1, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-477]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L52+124
	b	.L40
.L39:
	ldr	r3, .L52+128
.L40:
	sub	r2, fp, #4096
	sub	r2, r2, #12
	mov	r0, r2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [sp]
	ldr	r3, [r0, #-440]
	ldr	r2, [r2, #-408]
	ldr	r0, .L52+132
	bl	printf
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-452]
	cmp	r3, #0
	beq	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-477]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L41
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r5, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r1, .L52+136
	ldr	r0, [r3, #-452]
	bl	open
	str	r0, [r5, #-404]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-404]
	cmp	r3, #0
	bge	.L42
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L52+76
	bl	printf
	mov	r3, #1
	b	.L33
.L42:
	bl	getpid
	mov	r2, r0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r1, r3
	sub	r0, fp, #4160
	sub	r0, r0, #12
	sub	r0, r0, #40
	ldr	r3, .L52+124
	str	r3, [sp, #4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-440]
	str	r3, [sp]
	ldr	r3, [r1, #-408]
	ldr	r1, .L52+132
	bl	sprintf
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #40
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #4160
	sub	r3, r3, #12
	sub	r3, r3, #40
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-404]
	bl	write
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-404]
	bl	close
	mov	r3, r0
	cmn	r3, #1
	bne	.L41
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L52+140
	bl	printf
.L41:
	mov	r0, #1
	bl	sleep
	mov	sp, r4
	b	.L44
.L33:
	mov	sp, r4
	b	.L48
.L28:
	mov	sp, r4
.L27:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-420]
	bl	readdir
	str	r0, [r4, #-416]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-416]
	cmp	r3, #0
	bne	.L45
.L44:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-448]
	cmp	r3, #0
	ble	.L46
	sub	r3, fp, #4544
	sub	r3, r3, #12
	sub	r3, r3, #20
	mov	r0, r3
	bl	wait
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r0, [r3, #-420]
	bl	closedir
	mov	r3, r0
	cmn	r3, #1
	bne	.L46
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L52+144
	bl	printf
.L46:
	mov	r3, #0
.L48:
	ldr	r2, .L52
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L53:
	.align	2
.L52:
	.word	.LC36
	.word	.LC4
	.word	.LC5
	.word	optarg
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	handle_sigchld
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	n
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	1090
	.word	.LC34
	.word	.LC35
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
