	.file	"115764945.c"
	.intel_syntax noprefix
	.text
	.globl	mfsfat
	.bss
	.align 32
	.type	mfsfat, @object
	.size	mfsfat, 262144
mfsfat:
	.zero	262144
	.globl	mfsdata
	.align 32
	.type	mfsdata, @object
	.size	mfsdata, 1048576
mfsdata:
	.zero	1048576
	.globl	fatpointer
	.align 8
	.type	fatpointer, @object
	.size	fatpointer, 8
fatpointer:
	.zero	8
	.globl	datapointer
	.align 8
	.type	datapointer, @object
	.size	datapointer, 8
datapointer:
	.zero	8
	.section	.rodata
	.align 8
.LC0:
	.string	"Error: [tool] [directory to pack] [output packed .dat file]\n"
	.align 8
.LC1:
	.string	"Error: cannot open folder for packing.\n"
.LC2:
	.string	"MPFSMPFS"
.LC3:
	.string	"%s/%s"
	.align 8
.LC4:
	.string	"Error processing \"%s\" (snprintf)\n"
.LC5:
	.string	"Error processing \"%s\" (stat)\n"
.LC6:
	.string	"Warning: Fle \"%s\" too long.\n"
	.align 8
.LC7:
	.string	"Warning: Not enough entries to fit \"%s\".\n"
.LC8:
	.string	"Error: no space left.\n"
.LC9:
	.string	"rb"
	.align 8
.LC10:
	.string	"Error: cannot open \"%s\" for reading.\n"
.LC11:
	.string	"%s: %d (%ld)\n"
.LC12:
	.string	"%d %ld\n"
.LC13:
	.string	"w"
	.align 8
.LC14:
	.string	"Error: cannot open \"%s\" for writing.\n"
.LC15:
	.string	"mfs_data.h"
	.align 8
.LC16:
	.string	"unsigned char mfs_data[%ld] = {"
.LC17:
	.string	"\n\t"
.LC18:
	.string	"0x%02x, "
.LC19:
	.string	"\n//Data"
.LC20:
	.string	"};\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1264
	mov	DWORD PTR -1252[rbp], edi
	mov	QWORD PTR -1264[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -1252[rbp], 3
	je	.L2
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 60
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -1264[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	opendir@PLT
	mov	QWORD PTR -1216[rbp], rax
	cmp	QWORD PTR -1216[rbp], 0
	jne	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 39
	mov	esi, 1
	lea	rdi, .LC1[rip]
	call	fwrite@PLT
	mov	eax, -2
	jmp	.L3
.L4:
	mov	rax, QWORD PTR fatpointer[rip]
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip]
	add	rax, rdx
	mov	edx, 8
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR fatpointer[rip]
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip+24]
	mov	DWORD PTR [rdx+rax], 0
	mov	rax, QWORD PTR fatpointer[rip]
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip+28]
	mov	DWORD PTR [rdx+rax], 0
	mov	rax, QWORD PTR fatpointer[rip]
	add	rax, 1
	mov	QWORD PTR fatpointer[rip], rax
	jmp	.L5
.L16:
	mov	rax, QWORD PTR -1208[rbp]
	movzx	eax, BYTE PTR 18[rax]
	movzx	eax, al
	and	eax, 8
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -1208[rbp]
	add	rax, 19
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -1232[rbp], eax
	mov	rax, QWORD PTR -1208[rbp]
	lea	rcx, 19[rax]
	mov	rax, QWORD PTR -1264[rbp]
	add	rax, 8
	mov	rdx, QWORD PTR [rax]
	lea	rax, -1040[rbp]
	mov	r8, rcx
	mov	rcx, rdx
	lea	rdx, .LC3[rip]
	mov	esi, 1023
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -1228[rbp], eax
	cmp	DWORD PTR -1228[rbp], 1023
	jg	.L6
	cmp	DWORD PTR -1228[rbp], 0
	jg	.L7
.L6:
	mov	rax, QWORD PTR -1208[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L7:
	lea	rdx, -1184[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -1224[rbp], eax
	cmp	DWORD PTR -1224[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -1208[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L9:
	cmp	DWORD PTR -1232[rbp], 23
	jle	.L10
	mov	rax, QWORD PTR -1208[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L10:
	mov	rax, QWORD PTR fatpointer[rip]
	cmp	rax, 8192
	jbe	.L11
	mov	rax, QWORD PTR -1208[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L5
.L11:
	mov	rax, QWORD PTR -1136[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR datapointer[rip]
	add	rax, rdx
	cmp	rax, 1048576
	jbe	.L12
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	mov	eax, -1
	jmp	.L3
.L12:
	mov	eax, DWORD PTR -1232[rbp]
	cdqe
	mov	rdx, QWORD PTR -1208[rbp]
	lea	rsi, 19[rdx]
	mov	rdx, QWORD PTR fatpointer[rip]
	mov	rcx, rdx
	sal	rcx, 5
	lea	rdx, mfsfat[rip]
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rdx, QWORD PTR datapointer[rip]
	mov	rax, QWORD PTR fatpointer[rip]
	mov	ecx, edx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip+24]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rdx, QWORD PTR -1136[rbp]
	mov	rax, QWORD PTR fatpointer[rip]
	mov	ecx, edx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip+28]
	mov	DWORD PTR [rdx+rax], ecx
	mov	rax, QWORD PTR fatpointer[rip]
	add	rax, 1
	mov	QWORD PTR fatpointer[rip], rax
	mov	rax, QWORD PTR -1136[rbp]
	test	rax, rax
	je	.L5
	lea	rax, -1040[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1192[rbp], rax
	cmp	QWORD PTR -1192[rbp], 0
	jne	.L15
	mov	rax, QWORD PTR -1208[rbp]
	lea	rdx, 19[rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, -9
	jmp	.L3
.L15:
	mov	rax, QWORD PTR -1136[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR datapointer[rip]
	lea	rcx, mfsdata[rip]
	lea	rdi, [rax+rcx]
	mov	rax, QWORD PTR -1192[rbp]
	mov	rcx, rax
	mov	esi, 1
	call	fread@PLT
	mov	rax, QWORD PTR -1192[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	rax, QWORD PTR -1136[rbp]
	mov	DWORD PTR -1220[rbp], eax
	mov	eax, DWORD PTR -1220[rbp]
	add	eax, 257
	mov	al, 0
	mov	DWORD PTR -1220[rbp], eax
	mov	eax, DWORD PTR -1220[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR datapointer[rip]
	add	rax, rdx
	mov	QWORD PTR datapointer[rip], rax
	mov	rcx, QWORD PTR datapointer[rip]
	mov	edx, DWORD PTR -1220[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
.L5:
	mov	rax, QWORD PTR -1216[rbp]
	mov	rdi, rax
	call	readdir@PLT
	mov	QWORD PTR -1208[rbp], rax
	cmp	QWORD PTR -1208[rbp], 0
	jne	.L16
	mov	rax, QWORD PTR -1216[rbp]
	mov	rdi, rax
	call	closedir@PLT
	mov	rax, QWORD PTR fatpointer[rip]
	add	rax, 1
	sal	eax, 5
	mov	DWORD PTR -1236[rbp], eax
	mov	eax, DWORD PTR -1236[rbp]
	add	eax, 257
	mov	al, 0
	mov	DWORD PTR -1236[rbp], eax
	mov	DWORD PTR -1240[rbp], 0
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -1240[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip+24]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1236[rbp]
	lea	ecx, [rdx+rax]
	mov	eax, DWORD PTR -1240[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	lea	rax, mfsfat[rip+24]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -1240[rbp], 1
.L17:
	mov	eax, DWORD PTR -1240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR fatpointer[rip]
	cmp	rdx, rax
	jb	.L18
	mov	rdx, QWORD PTR datapointer[rip]
	mov	eax, DWORD PTR -1236[rbp]
	mov	esi, eax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -1264[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1200[rbp], rax
	cmp	QWORD PTR -1200[rbp], 0
	je	.L19
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L20
.L19:
	mov	rax, QWORD PTR -1264[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L20:
	mov	eax, DWORD PTR -1236[rbp]
	cdqe
	mov	rdx, QWORD PTR -1200[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, mfsfat[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR datapointer[rip]
	mov	rdx, QWORD PTR -1200[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	lea	rdi, mfsdata[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rsi, .LC13[rip]
	lea	rdi, .LC15[rip]
	call	fopen@PLT
	mov	QWORD PTR -1200[rbp], rax
	cmp	QWORD PTR -1200[rbp], 0
	je	.L21
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdi, rax
	call	ferror@PLT
	test	eax, eax
	je	.L22
.L21:
	mov	rax, QWORD PTR stderr[rip]
	lea	rdx, .LC15[rip]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L22:
	mov	eax, DWORD PTR -1236[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR datapointer[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -1200[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -1240[rbp], 0
	jmp	.L23
.L25:
	mov	eax, DWORD PTR -1240[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L24
	mov	rax, QWORD PTR -1200[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
.L24:
	mov	eax, DWORD PTR -1240[rbp]
	cdqe
	lea	rdx, mfsfat[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -1200[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -1240[rbp], 1
.L23:
	mov	eax, DWORD PTR -1240[rbp]
	cmp	eax, DWORD PTR -1236[rbp]
	jl	.L25
	mov	rax, QWORD PTR -1200[rbp]
	mov	rcx, rax
	mov	edx, 7
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	DWORD PTR -1240[rbp], 0
	jmp	.L26
.L28:
	mov	eax, DWORD PTR -1240[rbp]
	and	eax, 15
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -1200[rbp]
	mov	rcx, rax
	mov	edx, 2
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
.L27:
	mov	eax, DWORD PTR -1240[rbp]
	cdqe
	lea	rdx, mfsdata[rip]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -1200[rbp]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -1240[rbp], 1
.L26:
	mov	eax, DWORD PTR -1240[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR datapointer[rip]
	cmp	rdx, rax
	jb	.L28
	mov	rax, QWORD PTR -1200[rbp]
	mov	rcx, rax
	mov	edx, 3
	mov	esi, 1
	lea	rdi, .LC20[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -1200[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 0
.L3:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L29
	call	__stack_chk_fail@PLT
.L29:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"115764945.c"
	.text
	.comm	mfsfat,262144,4
	.comm	mfsdata,1048576,4
	.global	fatpointer
	.bss
	.align	2
	.type	fatpointer, %object
	.size	fatpointer, 4
fatpointer:
	.space	4
	.global	datapointer
	.align	2
	.type	datapointer, %object
	.size	datapointer, 4
datapointer:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Error: [tool] [directory to pack] [output packed .d"
	.ascii	"at file]\012\000"
	.align	2
.LC1:
	.ascii	"Error: cannot open folder for packing.\012\000"
	.align	2
.LC2:
	.ascii	"MPFSMPFS\000"
	.align	2
.LC3:
	.ascii	"%s/%s\000"
	.align	2
.LC4:
	.ascii	"Error processing \"%s\" (snprintf)\012\000"
	.align	2
.LC5:
	.ascii	"Error processing \"%s\" (stat)\012\000"
	.align	2
.LC6:
	.ascii	"Warning: Fle \"%s\" too long.\012\000"
	.align	2
.LC7:
	.ascii	"Warning: Not enough entries to fit \"%s\".\012\000"
	.align	2
.LC8:
	.ascii	"Error: no space left.\012\000"
	.align	2
.LC9:
	.ascii	"rb\000"
	.align	2
.LC10:
	.ascii	"Error: cannot open \"%s\" for reading.\012\000"
	.align	2
.LC11:
	.ascii	"%s: %d (%ld)\012\000"
	.align	2
.LC12:
	.ascii	"%d %ld\012\000"
	.align	2
.LC13:
	.ascii	"w\000"
	.align	2
.LC14:
	.ascii	"Error: cannot open \"%s\" for writing.\012\000"
	.align	2
.LC15:
	.ascii	"mfs_data.h\000"
	.align	2
.LC16:
	.ascii	"unsigned char mfs_data[%ld] = {\000"
	.align	2
.LC17:
	.ascii	"\012\011\000"
	.align	2
.LC18:
	.ascii	"0x%02x, \000"
	.align	2
.LC19:
	.ascii	"\012//Data\000"
	.align	2
.LC20:
	.ascii	"};\012\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1168
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1168
	sub	sp, sp, #8
	str	r0, [fp, #-1168]
	str	r1, [fp, #-1172]
	ldr	r3, .L30
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-1168]
	cmp	r3, #3
	beq	.L2
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r2, #60
	mov	r1, #1
	ldr	r0, .L30+8
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L2:
	ldr	r3, [fp, #-1172]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	opendir
	str	r0, [fp, #-1160]
	ldr	r3, [fp, #-1160]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r2, #39
	mov	r1, #1
	ldr	r0, .L30+12
	bl	fwrite
	mvn	r3, #1
	b	.L3
.L4:
	ldr	r3, .L30+16
	ldr	r3, [r3]
	lsl	r3, r3, #5
	ldr	r2, .L30+20
	add	r3, r3, r2
	mov	r2, #8
	ldr	r1, .L30+24
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L30+16
	ldr	r3, [r3]
	ldr	r2, .L30+20
	lsl	r3, r3, #5
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, .L30+16
	ldr	r3, [r3]
	ldr	r2, .L30+20
	lsl	r3, r3, #5
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, .L30+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+16
	str	r3, [r2]
	b	.L5
.L16:
	ldr	r3, [fp, #-1156]
	ldrb	r3, [r3, #10]	@ zero_extendqisi2
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-1144]
	ldr	r3, [fp, #-1172]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	sub	r0, fp, #1024
	sub	r0, r0, #4
	sub	r0, r0, #4
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L30+28
	ldr	r1, .L30+32
	bl	snprintf
	str	r0, [fp, #-1140]
	ldr	r3, [fp, #-1140]
	cmp	r3, #1024
	bge	.L6
	ldr	r3, [fp, #-1140]
	cmp	r3, #0
	bgt	.L7
.L6:
	ldr	r3, .L30+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, .L30+36
	bl	fprintf
	b	.L5
.L7:
	sub	r2, fp, #1120
	sub	r2, r2, #4
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stat
	str	r0, [fp, #-1136]
	ldr	r3, [fp, #-1136]
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L30+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, .L30+40
	bl	fprintf
	b	.L5
.L9:
	ldr	r3, [fp, #-1144]
	cmp	r3, #23
	ble	.L10
	ldr	r3, .L30+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, .L30+44
	bl	fprintf
	b	.L5
.L10:
	ldr	r3, .L30+16
	ldr	r3, [r3]
	cmp	r3, #8192
	bls	.L11
	ldr	r3, .L30+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, .L30+48
	bl	fprintf
	b	.L5
.L11:
	ldr	r3, [fp, #-1080]
	mov	r2, r3
	ldr	r3, .L30+52
	ldr	r3, [r3]
	add	r3, r2, r3
	cmp	r3, #1048576
	bls	.L12
	ldr	r3, .L30+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L30+56
	bl	fwrite
	mvn	r3, #0
	b	.L3
.L12:
	ldr	r3, .L30+16
	ldr	r3, [r3]
	lsl	r3, r3, #5
	ldr	r2, .L30+20
	add	r0, r3, r2
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	ldr	r2, [fp, #-1144]
	mov	r1, r3
	bl	memcpy
	ldr	r3, .L30+16
	ldr	r3, [r3]
	ldr	r2, .L30+52
	ldr	r2, [r2]
	ldr	r1, .L30+20
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #24]
	ldr	r2, [fp, #-1080]
	ldr	r3, .L30+16
	ldr	r3, [r3]
	mov	r1, r2
	ldr	r2, .L30+20
	lsl	r3, r3, #5
	add	r3, r2, r3
	str	r1, [r3, #28]
	ldr	r3, .L30+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L30+16
	str	r3, [r2]
	ldr	r3, [fp, #-1080]
	cmp	r3, #0
	beq	.L5
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, .L30+60
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1132]
	ldr	r3, [fp, #-1132]
	cmp	r3, #0
	bne	.L15
	ldr	r3, .L30+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #11
	mov	r2, r3
	ldr	r1, .L30+64
	bl	fprintf
	mvn	r3, #8
	b	.L3
.L15:
	ldr	r3, .L30+52
	ldr	r3, [r3]
	ldr	r2, .L30+68
	add	r0, r3, r2
	ldr	r3, [fp, #-1080]
	mov	r2, r3
	ldr	r3, [fp, #-1132]
	mov	r1, #1
	bl	fread
	ldr	r0, [fp, #-1132]
	bl	fclose
	ldr	r3, [fp, #-1080]
	str	r3, [fp, #-1128]
	ldr	r3, [fp, #-1128]
	add	r3, r3, #256
	add	r3, r3, #1
	bic	r3, r3, #255
	str	r3, [fp, #-1128]
	ldr	r3, .L30+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-1128]
	add	r3, r2, r3
	ldr	r2, .L30+52
	str	r3, [r2]
	ldr	r3, .L30+52
	ldr	r3, [r3]
	sub	r1, fp, #1024
	sub	r1, r1, #4
	sub	r1, r1, #4
	ldr	r2, [fp, #-1128]
	ldr	r0, .L30+72
	bl	printf
.L5:
	ldr	r0, [fp, #-1160]
	bl	readdir
	str	r0, [fp, #-1156]
	ldr	r3, [fp, #-1156]
	cmp	r3, #0
	bne	.L16
	ldr	r0, [fp, #-1160]
	bl	closedir
	ldr	r3, .L30+16
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #5
	str	r3, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	add	r3, r3, #256
	add	r3, r3, #1
	bic	r3, r3, #255
	str	r3, [fp, #-1152]
	mov	r3, #0
	str	r3, [fp, #-1164]
	b	.L17
.L18:
	ldr	r2, .L30+20
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #5
	add	r3, r2, r3
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-1152]
	add	r2, r2, r3
	ldr	r1, .L30+20
	ldr	r3, [fp, #-1164]
	lsl	r3, r3, #5
	add	r3, r1, r3
	str	r2, [r3, #24]
	ldr	r3, [fp, #-1164]
	add	r3, r3, #1
	str	r3, [fp, #-1164]
.L17:
	ldr	r2, [fp, #-1164]
	ldr	r3, .L30+16
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L18
	ldr	r3, .L30+52
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-1152]
	ldr	r0, .L30+76
	bl	printf
	ldr	r3, [fp, #-1172]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, .L30+80
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1148]
	ldr	r3, [fp, #-1148]
	cmp	r3, #0
	beq	.L19
	ldr	r0, [fp, #-1148]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L20
.L19:
	ldr	r3, .L30+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-1172]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L30+84
	bl	fprintf
.L20:
	ldr	r1, [fp, #-1152]
	ldr	r3, [fp, #-1148]
	mov	r2, #1
	ldr	r0, .L30+20
	bl	fwrite
	ldr	r3, .L30+52
	ldr	r1, [r3]
	ldr	r3, [fp, #-1148]
	mov	r2, #1
	ldr	r0, .L30+68
	bl	fwrite
	ldr	r0, [fp, #-1148]
	bl	fclose
	ldr	r1, .L30+80
	ldr	r0, .L30+88
	bl	fopen
	str	r0, [fp, #-1148]
	ldr	r3, [fp, #-1148]
	cmp	r3, #0
	beq	.L21
	ldr	r0, [fp, #-1148]
	bl	ferror
	mov	r3, r0
	cmp	r3, #0
	beq	.L22
.L21:
	ldr	r3, .L30+4
	ldr	r3, [r3]
	ldr	r2, .L30+88
	ldr	r1, .L30+84
	mov	r0, r3
	bl	fprintf
.L22:
	ldr	r2, [fp, #-1152]
	ldr	r3, .L30+52
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L30+92
	ldr	r0, [fp, #-1148]
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-1164]
	b	.L23
.L25:
	ldr	r3, [fp, #-1164]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L24
	ldr	r3, [fp, #-1148]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L30+96
	bl	fwrite
.L24:
	ldr	r3, [fp, #-1164]
	ldr	r2, .L30+20
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L30+100
	ldr	r0, [fp, #-1148]
	bl	fprintf
	ldr	r3, [fp, #-1164]
	add	r3, r3, #1
	str	r3, [fp, #-1164]
.L23:
	ldr	r2, [fp, #-1164]
	ldr	r3, [fp, #-1152]
	cmp	r2, r3
	blt	.L25
	ldr	r3, [fp, #-1148]
	mov	r2, #7
	mov	r1, #1
	ldr	r0, .L30+104
	bl	fwrite
	mov	r3, #0
	str	r3, [fp, #-1164]
	b	.L26
.L28:
	ldr	r3, [fp, #-1164]
	and	r3, r3, #15
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-1148]
	mov	r2, #2
	mov	r1, #1
	ldr	r0, .L30+96
	bl	fwrite
.L27:
	ldr	r3, [fp, #-1164]
	ldr	r2, .L30+68
	add	r3, r3, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r1, .L30+100
	ldr	r0, [fp, #-1148]
	bl	fprintf
	ldr	r3, [fp, #-1164]
	add	r3, r3, #1
	str	r3, [fp, #-1164]
.L26:
	ldr	r2, [fp, #-1164]
	ldr	r3, .L30+52
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L28
	ldr	r3, [fp, #-1148]
	mov	r2, #3
	mov	r1, #1
	ldr	r0, .L30+108
	bl	fwrite
	ldr	r0, [fp, #-1148]
	bl	fclose
	mov	r3, #0
.L3:
	ldr	r2, .L30
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L29
	bl	__stack_chk_fail
.L29:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L31:
	.align	2
.L30:
	.word	.LC21
	.word	stderr
	.word	.LC0
	.word	.LC1
	.word	fatpointer
	.word	mfsfat
	.word	.LC2
	.word	.LC3
	.word	1023
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	datapointer
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	mfsdata
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
