	.file	"914627.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"%s: wrong number of arguments.\n"
.LC1:
	.string	"%s: "
.LC2:
	.string	"r"
.LC3:
	.string	"CONFIG_"
.LC4:
	.string	"w"
	.align 8
.LC5:
	.string	"find * -type f -name \"*.h\" -print"
.LC6:
	.string	"find"
	.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
	sub	rsp, 352
	mov	DWORD PTR -340[rbp], edi
	mov	QWORD PTR -352[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -340[rbp], 3
	je	.L2
	mov	rax, QWORD PTR -352[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	rax, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR -240[rbp], rax
	mov	rax, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -232[rbp], rax
	mov	rax, QWORD PTR -352[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -224[rbp], rax
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L3
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -252[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -252[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L3:
	mov	rax, QWORD PTR -112[rbp]
	add	rax, 2048
	add	eax, eax
	mov	DWORD PTR -312[rbp], eax
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -216[rbp], rax
	cmp	QWORD PTR -216[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -208[rbp], rax
	cmp	QWORD PTR -208[rbp], 0
	je	.L4
	mov	eax, DWORD PTR -312[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -200[rbp], rax
	cmp	QWORD PTR -200[rbp], 0
	jne	.L5
.L4:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -256[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -256[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	mov	rax, QWORD PTR -232[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -192[rbp], rax
	cmp	QWORD PTR -192[rbp], 0
	jne	.L6
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -260[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -260[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -224[rbp]
	mov	esi, 493
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	je	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -308[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -308[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	chdir@PLT
	test	eax, eax
	je	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -264[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -264[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -224[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -248[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -248[rbp], rdx
	mov	BYTE PTR [rax], 10
	jmp	.L9
.L25:
	mov	rax, QWORD PTR -216[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 35
	je	.L10
	jmp	.L9
.L10:
	mov	rax, QWORD PTR -216[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -168[rbp], rax
	cmp	QWORD PTR -168[rbp], 0
	jne	.L11
	jmp	.L9
.L11:
	add	QWORD PTR -168[rbp], 7
	mov	DWORD PTR -320[rbp], 0
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -320[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -325[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -325[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L13
	movsx	eax, BYTE PTR -325[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	BYTE PTR -325[rbp], al
.L13:
	cmp	BYTE PTR -325[rbp], 95
	jne	.L14
	mov	BYTE PTR -325[rbp], 47
.L14:
	mov	eax, DWORD PTR -320[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -325[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -320[rbp], 1
.L12:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -320[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -168[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	movsx	rax, al
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 8192
	test	eax, eax
	je	.L15
	mov	eax, DWORD PTR -320[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -320[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 46
	mov	eax, DWORD PTR -320[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -320[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 104
	mov	eax, DWORD PTR -320[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -320[rbp], edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -324[rbp], 0
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	je	.L16
	mov	rdx, QWORD PTR -176[rbp]
	mov	ecx, DWORD PTR -312[rbp]
	mov	rax, QWORD PTR -208[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L17
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -280[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -280[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	rdx, QWORD PTR -208[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L16
	mov	DWORD PTR -324[rbp], 1
.L16:
	cmp	DWORD PTR -324[rbp], 0
	jne	.L18
	mov	DWORD PTR -316[rbp], 0
	jmp	.L19
.L22:
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 47
	jne	.L20
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	lea	rdx, -160[rbp]
	mov	rax, QWORD PTR -248[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	test	eax, eax
	je	.L21
	mov	rax, QWORD PTR -248[rbp]
	mov	esi, 493
	mov	rdi, rax
	call	mkdir@PLT
	test	eax, eax
	je	.L21
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -268[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -268[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L21:
	mov	eax, DWORD PTR -316[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -248[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 47
.L20:
	add	DWORD PTR -316[rbp], 1
.L19:
	mov	eax, DWORD PTR -316[rbp]
	cmp	eax, DWORD PTR -320[rbp]
	jl	.L22
	mov	rax, QWORD PTR -248[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L23
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -272[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -272[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L23:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L18
.L24:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -276[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -276[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -248[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	eax, DWORD PTR -320[rbp]
	cdqe
	add	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -248[rbp]
	sub	rax, 1
	mov	BYTE PTR [rax], 10
.L9:
	mov	rdx, QWORD PTR -192[rbp]
	mov	ecx, DWORD PTR -312[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	jne	.L25
	mov	rax, QWORD PTR -192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L26
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -284[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -284[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L26:
	mov	rax, QWORD PTR -248[rbp]
	mov	BYTE PTR [rax], 0
	lea	rsi, .LC2[rip]
	lea	rdi, .LC5[rip]
	call	popen@PLT
	mov	QWORD PTR -184[rbp], rax
	cmp	QWORD PTR -184[rbp], 0
	jne	.L27
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -288[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -288[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L27:
	mov	rax, QWORD PTR -216[rbp]
	mov	BYTE PTR [rax], 10
	jmp	.L28
.L31:
	mov	rdx, QWORD PTR -216[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strstr@PLT
	test	rax, rax
	jne	.L28
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	strlen@PLT
	lea	rdx, -1[rax]
	mov	rax, QWORD PTR -216[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -216[rbp]
	lea	rdx, 1[rax]
	lea	rax, -160[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	stat@PLT
	test	eax, eax
	je	.L29
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -292[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -292[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L29:
	mov	rax, QWORD PTR -112[rbp]
	test	rax, rax
	je	.L28
	mov	rax, QWORD PTR -216[rbp]
	add	rax, 1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -176[rbp], rax
	cmp	QWORD PTR -176[rbp], 0
	jne	.L30
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -296[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -296[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L30:
	mov	rax, QWORD PTR -176[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	je	.L28
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -300[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -300[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -216[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L28:
	mov	rax, QWORD PTR -216[rbp]
	lea	rcx, 1[rax]
	mov	rdx, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR -312[rbp]
	mov	esi, eax
	mov	rdi, rcx
	call	fgets@PLT
	test	rax, rax
	jne	.L31
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	pclose@PLT
	test	eax, eax
	je	.L32
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -304[rbp], eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -240[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	call	__errno_location@PLT
	mov	edx, DWORD PTR -304[rbp]
	mov	DWORD PTR [rax], edx
	lea	rdi, .LC6[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L32:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"914627.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: wrong number of arguments.\012\000"
	.align	2
.LC1:
	.ascii	"%s: \000"
	.align	2
.LC2:
	.ascii	"r\000"
	.align	2
.LC3:
	.ascii	"CONFIG_\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"find * -type f -name \"*.h\" -print\000"
	.align	2
.LC6:
	.ascii	"find\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 232
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #232
	str	r0, [fp, #-232]
	str	r1, [fp, #-236]
	ldr	r3, .L35
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-232]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L35+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-236]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L35+8
	bl	fprintf
	mov	r0, #1
	bl	exit
.L2:
	ldr	r3, [fp, #-236]
	ldr	r3, [r3]
	str	r3, [fp, #-204]
	ldr	r3, [fp, #-236]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-200]
	ldr	r3, [fp, #-236]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-196]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-200]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L3
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-104]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-104]
	str	r3, [r2]
	ldr	r0, [fp, #-200]
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	ldr	r3, [fp, #-56]
	add	r3, r3, #2048
	lsl	r3, r3, #1
	str	r3, [fp, #-192]
	ldr	r3, [fp, #-192]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-188]
	ldr	r3, [fp, #-188]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-192]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-184]
	ldr	r3, [fp, #-184]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-192]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-180]
	ldr	r3, [fp, #-180]
	cmp	r3, #0
	bne	.L5
.L4:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-108]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-108]
	str	r3, [r2]
	ldr	r0, [fp, #-200]
	bl	perror
	mov	r0, #1
	bl	exit
.L5:
	ldr	r1, .L35+16
	ldr	r0, [fp, #-200]
	bl	fopen
	str	r0, [fp, #-176]
	ldr	r3, [fp, #-176]
	cmp	r3, #0
	bne	.L6
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-112]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-112]
	str	r3, [r2]
	ldr	r0, [fp, #-200]
	bl	perror
	mov	r0, #1
	bl	exit
.L6:
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-196]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r1, .L35+20
	ldr	r0, [fp, #-196]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-172]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-172]
	str	r3, [r2]
	ldr	r0, [fp, #-196]
	bl	perror
	mov	r0, #1
	bl	exit
.L7:
	ldr	r0, [fp, #-196]
	bl	chdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-116]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-116]
	str	r3, [r2]
	ldr	r0, [fp, #-196]
	bl	perror
	mov	r0, #1
	bl	exit
.L8:
	ldr	r3, [fp, #-180]
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-220]
	add	r2, r3, #1
	str	r2, [fp, #-220]
	mov	r2, #10
	strb	r2, [r3]
	b	.L9
.L25:
	ldr	r3, [fp, #-188]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #35
	beq	.L10
	b	.L9
.L10:
	ldr	r1, .L35+24
	ldr	r0, [fp, #-188]
	bl	strstr
	str	r0, [fp, #-136]
	ldr	r3, [fp, #-136]
	cmp	r3, #0
	bne	.L11
	b	.L9
.L11:
	ldr	r3, [fp, #-136]
	add	r3, r3, #7
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-212]
	b	.L12
.L15:
	ldr	r3, [fp, #-212]
	ldr	r2, [fp, #-136]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-221]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-221]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L13
	ldrb	r3, [fp, #-221]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	strb	r3, [fp, #-221]
.L13:
	ldrb	r3, [fp, #-221]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L14
	mov	r3, #47
	strb	r3, [fp, #-221]
.L14:
	ldr	r3, [fp, #-212]
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldrb	r2, [fp, #-221]
	strb	r2, [r3]
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
.L12:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-212]
	ldr	r1, [fp, #-136]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #8192
	cmp	r3, #0
	beq	.L15
	ldr	r3, [fp, #-212]
	add	r2, r3, #1
	str	r2, [fp, #-212]
	mov	r2, r3
	ldr	r3, [fp, #-220]
	add	r3, r3, r2
	mov	r2, #46
	strb	r2, [r3]
	ldr	r3, [fp, #-212]
	add	r2, r3, #1
	str	r2, [fp, #-212]
	mov	r2, r3
	ldr	r3, [fp, #-220]
	add	r3, r3, r2
	mov	r2, #104
	strb	r2, [r3]
	ldr	r3, [fp, #-212]
	add	r2, r3, #1
	str	r2, [fp, #-212]
	mov	r2, r3
	ldr	r3, [fp, #-220]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-216]
	ldr	r1, .L35+16
	ldr	r0, [fp, #-220]
	bl	fopen
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	beq	.L16
	ldr	r2, [fp, #-160]
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-184]
	bl	fgets
	ldr	r0, [fp, #-160]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-132]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-132]
	str	r3, [r2]
	ldr	r0, [fp, #-220]
	bl	perror
	mov	r0, #1
	bl	exit
.L17:
	ldr	r1, [fp, #-184]
	ldr	r0, [fp, #-188]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	mov	r3, #1
	str	r3, [fp, #-216]
.L16:
	ldr	r3, [fp, #-216]
	cmp	r3, #0
	bne	.L18
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L19
.L22:
	ldr	r3, [fp, #-208]
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #47
	bne	.L20
	ldr	r3, [fp, #-208]
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	sub	r3, fp, #100
	mov	r1, r3
	ldr	r0, [fp, #-220]
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	ldr	r1, .L35+20
	ldr	r0, [fp, #-220]
	bl	mkdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L21
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-120]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-120]
	str	r3, [r2]
	ldr	r0, [fp, #-220]
	bl	perror
	mov	r0, #1
	bl	exit
.L21:
	ldr	r3, [fp, #-208]
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	mov	r2, #47
	strb	r2, [r3]
.L20:
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L19:
	ldr	r2, [fp, #-208]
	ldr	r3, [fp, #-212]
	cmp	r2, r3
	blt	.L22
	ldr	r1, .L35+28
	ldr	r0, [fp, #-220]
	bl	fopen
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bne	.L23
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-124]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-124]
	str	r3, [r2]
	ldr	r0, [fp, #-220]
	bl	perror
	mov	r0, #1
	bl	exit
.L23:
	ldr	r1, [fp, #-160]
	ldr	r0, [fp, #-188]
	bl	fputs
	ldr	r0, [fp, #-160]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	bne	.L24
	ldr	r0, [fp, #-160]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
.L24:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-128]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-128]
	str	r3, [r2]
	ldr	r0, [fp, #-220]
	bl	perror
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, [fp, #-212]
	ldr	r2, [fp, #-220]
	add	r3, r2, r3
	str	r3, [fp, #-220]
	ldr	r3, [fp, #-220]
	sub	r3, r3, #1
	mov	r2, #10
	strb	r2, [r3]
.L9:
	ldr	r2, [fp, #-176]
	ldr	r1, [fp, #-192]
	ldr	r0, [fp, #-188]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L25
	ldr	r0, [fp, #-176]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L26
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-140]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-140]
	str	r3, [r2]
	ldr	r0, [fp, #-200]
	bl	perror
	mov	r0, #1
	bl	exit
.L26:
	ldr	r3, [fp, #-220]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, .L35+16
	ldr	r0, .L35+32
	bl	popen
	str	r0, [fp, #-168]
	ldr	r3, [fp, #-168]
	cmp	r3, #0
	bne	.L27
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-144]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-144]
	str	r3, [r2]
	ldr	r0, .L35+36
	bl	perror
	mov	r0, #1
	bl	exit
.L27:
	ldr	r3, [fp, #-188]
	mov	r2, #10
	strb	r2, [r3]
	b	.L28
.L31:
	ldr	r1, [fp, #-188]
	ldr	r0, [fp, #-180]
	bl	strstr
	mov	r3, r0
	cmp	r3, #0
	bne	.L28
	ldr	r0, [fp, #-188]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	ldr	r2, [fp, #-188]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	sub	r2, fp, #100
	mov	r1, r2
	mov	r0, r3
	bl	stat
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-148]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-148]
	str	r3, [r2]
	ldr	r0, [fp, #-188]
	bl	perror
	mov	r0, #1
	bl	exit
.L29:
	ldr	r3, [fp, #-56]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	ldr	r1, .L35+28
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bne	.L30
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-152]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-152]
	str	r3, [r2]
	ldr	r0, [fp, #-188]
	bl	perror
	mov	r0, #1
	bl	exit
.L30:
	ldr	r0, [fp, #-160]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L28
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-156]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-156]
	str	r3, [r2]
	ldr	r0, [fp, #-188]
	bl	perror
	mov	r0, #1
	bl	exit
.L28:
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	ldr	r2, [fp, #-168]
	ldr	r1, [fp, #-192]
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	bne	.L31
	ldr	r0, [fp, #-168]
	bl	pclose
	mov	r3, r0
	cmp	r3, #0
	beq	.L32
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	str	r3, [fp, #-164]
	ldr	r3, .L35+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-204]
	ldr	r1, .L35+12
	mov	r0, r3
	bl	fprintf
	bl	__errno_location
	mov	r2, r0
	ldr	r3, [fp, #-164]
	str	r3, [r2]
	ldr	r0, .L35+36
	bl	perror
	mov	r0, #1
	bl	exit
.L32:
	mov	r3, #0
	ldr	r2, .L35
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L34
	bl	__stack_chk_fail
.L34:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L36:
	.align	2
.L35:
	.word	.LC7
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	493
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
