	.file	"552958.c"
	.intel_syntax noprefix
	.text
	.globl	blocks
	.bss
	.align 32
	.type	blocks, @object
	.size	blocks, 34619392
blocks:
	.zero	34619392
	.globl	file_d
	.align 8
	.type	file_d, @object
	.size	file_d, 8
file_d:
	.zero	8
	.globl	dir
	.align 8
	.type	dir, @object
	.size	dir, 8
dir:
	.zero	8
	.globl	inodes_list
	.align 8
	.type	inodes_list, @object
	.size	inodes_list, 8
inodes_list:
	.zero	8
	.globl	free_block_list
	.align 8
	.type	free_block_list, @object
	.size	free_block_list, 8
free_block_list:
	.zero	8
	.globl	free_inode_list
	.align 8
	.type	free_inode_list, @object
	.size	free_inode_list, 8
free_inode_list:
	.zero	8
	.globl	timestamp
	.align 8
	.type	timestamp, @object
	.size	timestamp, 8
timestamp:
	.zero	8
	.text
	.globl	FreeINodeList_Init
	.type	FreeINodeList_Init, @function
FreeINodeList_Init:
.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], 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR free_inode_list[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 127
	jle	.L3
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	FreeINodeList_Init, .-FreeINodeList_Init
	.globl	FreeBlockList_Init
	.type	FreeBlockList_Init, @function
FreeBlockList_Init:
.LFB7:
	.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], 132
	jmp	.L5
.L6:
	mov	rdx, QWORD PTR free_block_list[rip]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 1
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 4225
	jle	.L6
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	FreeBlockList_Init, .-FreeBlockList_Init
	.globl	Dir_Init
	.type	Dir_Init, @function
Dir_Init:
.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], 0
	jmp	.L8
.L9:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 33
	mov	edx, 30
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR 64[rax], -1
	add	DWORD PTR -4[rbp], 1
.L8:
	cmp	DWORD PTR -4[rbp], 127
	jle	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Dir_Init, .-Dir_Init
	.globl	Inodes_Init
	.type	Inodes_Init, @function
Inodes_Init:
.LFB9:
	.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 -8[rbp], 0
	jmp	.L11
.L14:
	mov	rdx, QWORD PTR inodes_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 5008
	add	rax, rdx
	mov	BYTE PTR 1[rax], 0
	mov	rdx, QWORD PTR inodes_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 5008
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR inodes_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 5008
	add	rax, rdx
	mov	DWORD PTR 4[rax], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L12
.L13:
	mov	rdx, QWORD PTR inodes_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 5008
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	mov	DWORD PTR 8[rdx+rax*4], -1
	add	DWORD PTR -4[rbp], 1
.L12:
	cmp	DWORD PTR -4[rbp], 1249
	jle	.L13
	add	DWORD PTR -8[rbp], 1
.L11:
	cmp	DWORD PTR -8[rbp], 127
	jle	.L14
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Inodes_Init, .-Inodes_Init
	.globl	initialized
	.type	initialized, @function
initialized:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	Dir_Init
	mov	eax, 0
	call	FreeBlockList_Init
	mov	eax, 0
	call	FreeINodeList_Init
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	initialized, .-initialized
	.globl	disk_size
	.type	disk_size, @function
disk_size:
.LFB11:
	.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 -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L17
.L19:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L18
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	edx, DWORD PTR 4[rax]
	mov	eax, DWORD PTR -8[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
.L18:
	add	DWORD PTR -4[rbp], 1
.L17:
	cmp	DWORD PTR -4[rbp], 127
	jle	.L19
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	disk_size, .-disk_size
	.globl	find_free_dir
	.type	find_free_dir, @function
find_free_dir:
.LFB12:
	.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], -1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L22
.L25:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L23
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	BYTE PTR [rax], 1
	jmp	.L24
.L23:
	add	DWORD PTR -8[rbp], 1
.L22:
	cmp	DWORD PTR -8[rbp], 127
	jle	.L25
.L24:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	find_free_dir, .-find_free_dir
	.globl	find_free_inode
	.type	find_free_inode, @function
find_free_inode:
.LFB13:
	.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], -1
	mov	DWORD PTR -8[rbp], 0
	jmp	.L28
.L31:
	mov	rdx, QWORD PTR free_inode_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L29
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rdx, QWORD PTR free_inode_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L30
.L29:
	add	DWORD PTR -8[rbp], 1
.L28:
	cmp	DWORD PTR -8[rbp], 127
	jle	.L31
.L30:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	find_free_inode, .-find_free_inode
	.globl	find_free_block
	.type	find_free_block, @function
find_free_block:
.LFB14:
	.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], -1
	mov	DWORD PTR -8[rbp], 132
	jmp	.L34
.L37:
	mov	rdx, QWORD PTR free_block_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L35
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	rdx, QWORD PTR free_block_list[rip]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L36
.L35:
	add	DWORD PTR -8[rbp], 1
.L34:
	cmp	DWORD PTR -8[rbp], 4225
	jle	.L37
.L36:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	find_free_block, .-find_free_block
	.section	.rodata
.LC0:
	.string	"mfs> createfs: File not found"
.LC1:
	.string	"w"
	.text
	.globl	create_fs
	.type	create_fs, @function
create_fs:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	cmp	QWORD PTR -8[rbp], 0
	jne	.L40
	lea	rdi, .LC0[rip]
	call	puts@PLT
	jmp	.L39
.L40:
	mov	edx, 34619392
	mov	esi, 0
	lea	rdi, blocks[rip]
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR file_d[rip], rax
	mov	eax, 0
	call	initialized
	mov	rax, QWORD PTR file_d[rip]
	mov	rcx, rax
	mov	edx, 4226
	mov	esi, 8192
	lea	rdi, blocks[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR file_d[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR file_d[rip], 0
.L39:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	create_fs, .-create_fs
	.globl	file_searcher
	.type	file_searcher, @function
file_searcher:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L43
.L46:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L44
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L44
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L45
.L44:
	add	DWORD PTR -4[rbp], 1
.L43:
	cmp	DWORD PTR -4[rbp], 127
	jle	.L46
	mov	eax, -1
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	file_searcher, .-file_searcher
	.section	.rodata
.LC2:
	.string	"r+"
.LC3:
	.string	"mfs> open: File not found"
	.text
	.globl	open
	.type	open, @function
open:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR file_d[rip], rax
	mov	rax, QWORD PTR file_d[rip]
	test	rax, rax
	jne	.L48
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L47
.L48:
	mov	rax, QWORD PTR file_d[rip]
	mov	rcx, rax
	mov	edx, 4226
	mov	esi, 8192
	lea	rdi, blocks[rip]
	call	fread@PLT
.L47:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	open, .-open
	.section	.rodata
	.align 8
.LC4:
	.string	"mfs> close error: No open fs to close."
	.text
	.globl	fs_close
	.type	fs_close, @function
fs_close:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR file_d[rip]
	test	rax, rax
	jne	.L51
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L50
.L51:
	mov	rax, QWORD PTR file_d[rip]
	mov	rdi, rax
	call	rewind@PLT
	mov	rax, QWORD PTR file_d[rip]
	mov	rcx, rax
	mov	edx, 4226
	mov	esi, 8192
	lea	rdi, blocks[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR file_d[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	QWORD PTR file_d[rip], 0
.L50:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	fs_close, .-fs_close
	.section	.rodata
	.align 8
.LC5:
	.string	"mfs> put error: File name too long."
	.align 8
.LC6:
	.string	"mfs> put error: File not found."
	.align 8
.LC7:
	.string	"mfs> put error: Not enough disk space."
.LC8:
	.string	"mfs> put error: File too big."
.LC9:
	.string	"r"
	.align 8
.LC10:
	.string	"mfs> An error occured reading from the input file."
	.text
	.globl	put
	.type	put, @function
put:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 232
	.cfi_offset 3, -24
	mov	QWORD PTR -232[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -232[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 32
	jbe	.L54
	lea	rdi, .LC5[rip]
	call	puts@PLT
	jmp	.L53
.L54:
	lea	rdx, -176[rbp]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stat@PLT
	mov	DWORD PTR -200[rbp], eax
	cmp	DWORD PTR -200[rbp], -1
	jne	.L56
	lea	rdi, .LC6[rip]
	call	puts@PLT
	jmp	.L65
.L56:
	mov	rbx, QWORD PTR -128[rbp]
	mov	eax, 0
	call	disk_size
	mov	edx, eax
	mov	eax, 34553856
	sub	eax, edx
	cdqe
	cmp	rbx, rax
	jle	.L58
	lea	rdi, .LC7[rip]
	call	puts@PLT
	jmp	.L65
.L58:
	mov	rax, QWORD PTR -128[rbp]
	cmp	rax, 10240000
	jle	.L59
	lea	rdi, .LC8[rip]
	call	puts@PLT
	jmp	.L65
.L59:
	mov	rax, QWORD PTR -232[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -184[rbp], rax
	mov	eax, 0
	call	find_free_dir
	mov	DWORD PTR -196[rbp], eax
	mov	eax, 0
	call	find_free_inode
	mov	edx, eax
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	add	rax, rcx
	sal	rax, 2
	add	rax, rsi
	mov	DWORD PTR 64[rax], edx
	mov	rax, QWORD PTR -128[rbp]
	mov	DWORD PTR -212[rbp], eax
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -232[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	strcpy@PLT
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR timestamp[rip], rax
	lea	rdi, timestamp[rip]
	call	localtime@PLT
	mov	rdi, rax
	call	asctime@PLT
	mov	rcx, rax
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	add	rax, 33
	mov	rsi, rcx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	lea	rbx, [rcx+rax]
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 33
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR 33[rbx+rax], 0
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -196[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -212[rbp]
	mov	DWORD PTR 4[rdx], eax
	mov	DWORD PTR -208[rbp], 0
	mov	DWORD PTR -204[rbp], 0
	jmp	.L60
.L62:
	mov	eax, 0
	call	find_free_block
	mov	DWORD PTR -192[rbp], eax
	mov	rdx, QWORD PTR inodes_list[rip]
	mov	eax, DWORD PTR -196[rbp]
	cdqe
	imul	rax, rax, 5008
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -192[rbp]
	mov	eax, DWORD PTR -208[rbp]
	cdqe
	mov	DWORD PTR 8[rcx+rax*4], edx
	mov	eax, DWORD PTR -204[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -184[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
	mov	eax, DWORD PTR -192[rbp]
	cdqe
	sal	rax, 13
	mov	rdx, rax
	lea	rax, blocks[rip]
	lea	rdi, [rdx+rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 8192
	call	fread@PLT
	mov	DWORD PTR -188[rbp], eax
	cmp	DWORD PTR -188[rbp], 0
	jne	.L61
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	jne	.L61
	lea	rdi, .LC10[rip]
	call	puts@PLT
	jmp	.L53
.L61:
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	clearerr@PLT
	sub	DWORD PTR -212[rbp], 8192
	add	DWORD PTR -204[rbp], 8192
	add	DWORD PTR -208[rbp], 1
.L60:
	cmp	DWORD PTR -212[rbp], 0
	jg	.L62
	mov	rax, QWORD PTR -184[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L65:
	nop
.L53:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	put, .-put
	.section	.rodata
.LC11:
	.string	"%8d%27s%15s\n"
.LC12:
	.string	"mfs> list: No files found"
	.text
	.globl	list
	.type	list, @function
list:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L67
.L71:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L68
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 1
	jne	.L69
	cmp	QWORD PTR -24[rbp], 0
	je	.L68
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 104
	je	.L70
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 72
	jne	.L68
.L70:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 1[rax]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 33[rax]
	mov	rdi, QWORD PTR inodes_list[rip]
	mov	r8, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	add	rax, r8
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rdi
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
	jmp	.L68
.L69:
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 1[rax]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	lea	rdx, 33[rax]
	mov	rdi, QWORD PTR inodes_list[rip]
	mov	r8, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 4
	add	rax, rsi
	sal	rax, 2
	add	rax, r8
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rdi
	mov	eax, DWORD PTR 4[rax]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L68:
	add	DWORD PTR -8[rbp], 1
.L67:
	cmp	DWORD PTR -8[rbp], 127
	jle	.L71
	cmp	DWORD PTR -4[rbp], 0
	jne	.L73
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L73:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	list, .-list
	.section	.rodata
	.align 8
.LC13:
	.string	"mfs> del error: File not found"
	.align 8
.LC14:
	.string	"mfs> del error: That file is marked read-only."
	.text
	.globl	del
	.type	del, @function
del:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	file_searcher
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L75
	lea	rdi, .LC13[rip]
	call	puts@PLT
	jmp	.L74
.L75:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	movzx	eax, BYTE PTR 1[rax]
	cmp	al, 1
	jne	.L77
	lea	rdi, .LC14[rip]
	call	puts@PLT
	jmp	.L74
.L77:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	BYTE PTR 1[rax], 0
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	DWORD PTR 4[rax], 0
	mov	DWORD PTR -8[rbp], 0
	jmp	.L78
.L80:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	eax, DWORD PTR 8[rdx+rax*4]
	cmp	eax, -1
	je	.L79
	mov	rcx, QWORD PTR free_block_list[rip]
	mov	rsi, QWORD PTR inodes_list[rip]
	mov	rdi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rdi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	eax, DWORD PTR 8[rdx+rax*4]
	mov	eax, eax
	add	rax, rcx
	mov	BYTE PTR [rax], 1
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	mov	DWORD PTR 8[rdx+rax*4], -1
.L79:
	add	DWORD PTR -8[rbp], 1
.L78:
	cmp	DWORD PTR -8[rbp], 1249
	jle	.L80
	mov	rcx, QWORD PTR free_inode_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	add	rax, rcx
	mov	BYTE PTR [rax], 1
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 1
	mov	edx, 32
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	add	rax, 33
	mov	edx, 30
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	DWORD PTR 64[rax], -1
.L74:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	del, .-del
	.section	.rodata
.LC15:
	.string	"%d bytes free.\n"
	.text
	.globl	df
	.type	df, @function
df:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	disk_size
	mov	edx, eax
	mov	eax, 34553856
	sub	eax, edx
	mov	esi, eax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	df, .-df
	.section	.rodata
	.align 8
.LC16:
	.string	"mfs> get error: New file name too long."
	.align 8
.LC17:
	.string	"mfs> get error: File not found"
	.align 8
.LC18:
	.string	"mfs> Could not open output file: %s\n"
	.text
	.globl	get
	.type	get, @function
get:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	cmp	QWORD PTR -48[rbp], 0
	je	.L83
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 32
	jbe	.L83
	lea	rdi, .LC16[rip]
	call	puts@PLT
	jmp	.L82
.L83:
	mov	DWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	file_searcher
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], -1
	jne	.L85
	lea	rdi, .LC17[rip]
	call	puts@PLT
	jmp	.L82
.L85:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L86
	mov	rax, QWORD PTR -40[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	jmp	.L87
.L86:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
.L87:
	cmp	QWORD PTR -8[rbp], 0
	jne	.L88
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L82
.L88:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	mov	DWORD PTR -28[rbp], eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L89
.L92:
	mov	rdx, QWORD PTR inodes_list[rip]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	imul	rax, rax, 5008
	add	rdx, rax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	mov	eax, DWORD PTR 8[rdx+rax*4]
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -28[rbp], 8191
	jg	.L90
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L91
.L90:
	mov	DWORD PTR -20[rbp], 8192
.L91:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	mov	rcx, rdx
	sal	rcx, 13
	lea	rdx, blocks[rip]
	lea	rdi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rsi, rax
	call	fwrite@PLT
	sub	DWORD PTR -28[rbp], 8192
	add	DWORD PTR -24[rbp], 8192
	add	DWORD PTR -32[rbp], 1
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	fseek@PLT
.L89:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L92
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L82:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	get, .-get
	.section	.rodata
.LC19:
	.string	"mfs> attrib: File not found"
	.align 8
.LC20:
	.string	"mfs> attrib: Unrecognized attribute."
	.align 8
.LC21:
	.string	"mfs> attrib: Unrecognized operation."
	.text
	.globl	attrib
	.type	attrib, @function
attrib:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	file_searcher
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L94
	lea	rdi, .LC19[rip]
	call	puts@PLT
	jmp	.L93
.L94:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 43
	jne	.L96
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 104
	je	.L97
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 72
	jne	.L98
.L97:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	BYTE PTR [rax], 1
	jmp	.L93
.L98:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	je	.L100
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 82
	jne	.L101
.L100:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	BYTE PTR 1[rax], 1
	jmp	.L93
.L101:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L93
.L96:
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	jne	.L102
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 104
	je	.L103
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 72
	jne	.L104
.L103:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	BYTE PTR [rax], 0
	jmp	.L93
.L104:
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	je	.L106
	mov	rax, QWORD PTR -24[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	cmp	al, 82
	jne	.L107
.L106:
	mov	rcx, QWORD PTR inodes_list[rip]
	mov	rsi, QWORD PTR dir[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 64[rax]
	mov	eax, eax
	imul	rax, rax, 5008
	add	rax, rcx
	mov	BYTE PTR 1[rax], 0
	jmp	.L93
.L107:
	lea	rdi, .LC20[rip]
	call	puts@PLT
	jmp	.L93
.L102:
	lea	rdi, .LC21[rip]
	call	puts@PLT
	nop
.L93:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	attrib, .-attrib
	.section	.rodata
.LC22:
	.string	"mfs> "
.LC23:
	.string	" \t\n"
.LC24:
	.string	"quit"
.LC25:
	.string	"exit"
.LC26:
	.string	"put"
.LC27:
	.string	"get"
.LC28:
	.string	"del"
.LC29:
	.string	"list"
.LC30:
	.string	"df"
.LC31:
	.string	"open"
.LC32:
	.string	"close"
.LC33:
	.string	"createfs"
.LC34:
	.string	"attrib"
	.align 8
.LC35:
	.string	"mfs> Command not found. Try Again!!!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, blocks[rip]
	mov	QWORD PTR dir[rip], rax
	lea	rax, blocks[rip+57344]
	mov	QWORD PTR inodes_list[rip], rax
	lea	rax, blocks[rip+40960]
	mov	QWORD PTR free_block_list[rip], rax
	lea	rax, blocks[rip+49152]
	mov	QWORD PTR free_inode_list[rip], rax
	mov	eax, 0
	call	initialized
	mov	edi, 255
	call	malloc@PLT
	mov	QWORD PTR -72[rbp], rax
.L127:
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L109:
	mov	rdx, QWORD PTR stdin[rip]
	mov	rax, QWORD PTR -72[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L109
	mov	DWORD PTR -84[rbp], 0
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	QWORD PTR -64[rbp], rax
	jmp	.L110
.L113:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 255
	mov	rdi, rax
	call	strndup@PLT
	mov	rdx, rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	QWORD PTR -48[rbp+rax*8], rdx
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	rax, QWORD PTR -48[rbp+rax*8]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L111
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	QWORD PTR -48[rbp+rax*8], 0
.L111:
	add	DWORD PTR -84[rbp], 1
.L110:
	lea	rax, -80[rbp]
	lea	rsi, .LC23[rip]
	mov	rdi, rax
	call	strsep@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	je	.L112
	cmp	DWORD PTR -84[rbp], 4
	jle	.L113
.L112:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC24[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L114
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC25[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L115
.L114:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR file_d[rip]
	test	rax, rax
	je	.L116
	mov	eax, 0
	call	fs_close
.L116:
	mov	edi, 0
	call	exit@PLT
.L115:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L117
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	put
	jmp	.L118
.L117:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L119
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	get
	jmp	.L118
.L119:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC28[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L120
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	del
	jmp	.L118
.L120:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L121
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	list
	jmp	.L118
.L121:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC30[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L122
	mov	eax, 0
	call	df
	jmp	.L118
.L122:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L123
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	open
	jmp	.L118
.L123:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC32[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L124
	mov	eax, 0
	call	fs_close
	jmp	.L118
.L124:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC33[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L125
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	create_fs
	jmp	.L118
.L125:
	mov	rax, QWORD PTR -48[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L126
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	attrib
	jmp	.L118
.L126:
	lea	rdi, .LC35[rip]
	call	puts@PLT
.L118:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L127
	.cfi_endproc
.LFE25:
	.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	"552958.c"
	.text
	.comm	blocks,34619392,4
	.global	file_d
	.bss
	.align	2
	.type	file_d, %object
	.size	file_d, 4
file_d:
	.space	4
	.comm	dir,4,4
	.comm	inodes_list,4,4
	.comm	free_block_list,4,4
	.comm	free_inode_list,4,4
	.comm	timestamp,4,4
	.text
	.align	2
	.global	FreeINodeList_Init
	.syntax unified
	.arm
	.fpu softvfp
	.type	FreeINodeList_Init, %function
FreeINodeList_Init:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r3, .L4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	ble	.L3
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	free_inode_list
	.size	FreeINodeList_Init, .-FreeINodeList_Init
	.align	2
	.global	FreeBlockList_Init
	.syntax unified
	.arm
	.fpu softvfp
	.type	FreeBlockList_Init, %function
FreeBlockList_Init:
	@ 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
	mov	r3, #132
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	ldr	r2, .L9+4
	cmp	r3, r2
	ble	.L8
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L10:
	.align	2
.L9:
	.word	free_block_list
	.word	4225
	.size	FreeBlockList_Init, .-FreeBlockList_Init
	.align	2
	.global	Dir_Init
	.syntax unified
	.arm
	.fpu softvfp
	.type	Dir_Init, %function
Dir_Init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L12
.L13:
	ldr	r3, .L14
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L14
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L14
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #33
	mov	r2, #30
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L14
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mvn	r2, #0
	str	r2, [r3, #64]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L12:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	ble	.L13
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	dir
	.size	Dir_Init, .-Dir_Init
	.align	2
	.global	Inodes_Init
	.syntax unified
	.arm
	.fpu softvfp
	.type	Inodes_Init, %function
Inodes_Init:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L17
.L20:
	ldr	r3, .L21
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, .L21
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L21
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L18
.L19:
	ldr	r3, .L21
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [fp, #-8]
	add	r2, r2, #2
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L18:
	ldr	r3, [fp, #-8]
	ldr	r2, .L21+4
	cmp	r3, r2
	ble	.L19
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	ble	.L20
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L22:
	.align	2
.L21:
	.word	inodes_list
	.word	1249
	.size	Inodes_Init, .-Inodes_Init
	.align	2
	.global	initialized
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialized, %function
initialized:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	Dir_Init
	bl	FreeBlockList_Init
	bl	FreeINodeList_Init
	nop
	pop	{fp, pc}
	.size	initialized, .-initialized
	.align	2
	.global	disk_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	disk_size, %function
disk_size:
	@ 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
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L25
.L27:
	ldr	r3, .L29
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L29+4
	ldr	r1, [r3]
	ldr	r3, .L29
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L25:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	ble	.L27
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L30:
	.align	2
.L29:
	.word	dir
	.word	inodes_list
	.size	disk_size, .-disk_size
	.align	2
	.global	find_free_dir
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_free_dir, %function
find_free_dir:
	@ 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
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L32
.L35:
	ldr	r3, .L37
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, .L37
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #1
	strb	r2, [r3]
	b	.L34
.L33:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L32:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	ble	.L35
.L34:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L38:
	.align	2
.L37:
	.word	dir
	.size	find_free_dir, .-find_free_dir
	.align	2
	.global	find_free_inode
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_free_inode, %function
find_free_inode:
	@ 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
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L40
.L43:
	ldr	r3, .L45
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L41
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, .L45
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L42
.L41:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L40:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	ble	.L43
.L42:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L46:
	.align	2
.L45:
	.word	free_inode_list
	.size	find_free_inode, .-find_free_inode
	.align	2
	.global	find_free_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	find_free_block, %function
find_free_block:
	@ 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
	mvn	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #132
	str	r3, [fp, #-12]
	b	.L48
.L51:
	ldr	r3, .L53
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L49
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, .L53
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L50
.L49:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L48:
	ldr	r3, [fp, #-12]
	ldr	r2, .L53+4
	cmp	r3, r2
	ble	.L51
.L50:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L54:
	.align	2
.L53:
	.word	free_block_list
	.word	4225
	.size	find_free_block, .-find_free_block
	.section	.rodata
	.align	2
.LC0:
	.ascii	"mfs> createfs: File not found\000"
	.align	2
.LC1:
	.ascii	"w\000"
	.text
	.align	2
	.global	create_fs
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_fs, %function
create_fs:
	@ 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, #0
	bne	.L56
	ldr	r0, .L58
	bl	puts
	b	.L55
.L56:
	ldr	r2, .L58+4
	mov	r1, #0
	ldr	r0, .L58+8
	bl	memset
	ldr	r1, .L58+12
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L58+16
	str	r3, [r2]
	bl	initialized
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, .L58+20
	mov	r1, #8192
	ldr	r0, .L58+8
	bl	fwrite
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L58+16
	mov	r2, #0
	str	r2, [r3]
.L55:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	.LC0
	.word	34619392
	.word	blocks
	.word	.LC1
	.word	file_d
	.word	4226
	.size	create_fs, .-create_fs
	.align	2
	.global	file_searcher
	.syntax unified
	.arm
	.fpu softvfp
	.type	file_searcher, %function
file_searcher:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L61
.L64:
	ldr	r3, .L65
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L65
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L62
	ldr	r3, [fp, #-8]
	b	.L63
.L62:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L61:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	ble	.L64
	mvn	r3, #0
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	dir
	.size	file_searcher, .-file_searcher
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r+\000"
	.align	2
.LC3:
	.ascii	"mfs> open: File not found\000"
	.text
	.align	2
	.global	open
	.syntax unified
	.arm
	.fpu softvfp
	.type	open, %function
open:
	@ 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	r1, .L70
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L70+4
	str	r3, [r2]
	ldr	r3, .L70+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L68
	ldr	r0, .L70+8
	bl	puts
	b	.L67
.L68:
	ldr	r3, .L70+4
	ldr	r3, [r3]
	ldr	r2, .L70+12
	mov	r1, #8192
	ldr	r0, .L70+16
	bl	fread
.L67:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L71:
	.align	2
.L70:
	.word	.LC2
	.word	file_d
	.word	.LC3
	.word	4226
	.word	blocks
	.size	open, .-open
	.section	.rodata
	.align	2
.LC4:
	.ascii	"mfs> close error: No open fs to close.\000"
	.text
	.align	2
	.global	fs_close
	.syntax unified
	.arm
	.fpu softvfp
	.type	fs_close, %function
fs_close:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L75
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L73
	ldr	r0, .L75+4
	bl	puts
	pop	{fp, pc}
.L73:
	ldr	r3, .L75
	ldr	r3, [r3]
	mov	r0, r3
	bl	rewind
	ldr	r3, .L75
	ldr	r3, [r3]
	ldr	r2, .L75+8
	mov	r1, #8192
	ldr	r0, .L75+12
	bl	fwrite
	ldr	r3, .L75
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	ldr	r3, .L75
	mov	r2, #0
	str	r2, [r3]
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	file_d
	.word	.LC4
	.word	4226
	.word	blocks
	.size	fs_close, .-fs_close
	.section	.rodata
	.align	2
.LC5:
	.ascii	"mfs> put error: File name too long.\000"
	.align	2
.LC6:
	.ascii	"mfs> put error: File not found.\000"
	.align	2
.LC7:
	.ascii	"mfs> put error: Not enough disk space.\000"
	.align	2
.LC8:
	.ascii	"mfs> put error: File too big.\000"
	.align	2
.LC9:
	.ascii	"r\000"
	.align	2
.LC10:
	.ascii	"mfs> An error occured reading from the input file.\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	put
	.syntax unified
	.arm
	.fpu softvfp
	.type	put, %function
put:
	@ args = 0, pretend = 0, frame = 136
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #140
	str	r0, [fp, #-144]
	ldr	r3, .L90
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r0, [fp, #-144]
	bl	strlen
	mov	r3, r0
	cmp	r3, #32
	bls	.L78
	ldr	r0, .L90+4
	bl	puts
	b	.L77
.L78:
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, [fp, #-144]
	bl	stat
	str	r0, [fp, #-128]
	ldr	r3, [fp, #-128]
	cmn	r3, #1
	bne	.L80
	ldr	r0, .L90+8
	bl	puts
	b	.L89
.L80:
	ldr	r4, [fp, #-64]
	bl	disk_size
	mov	r3, r0
	rsb	r3, r3, #34340864
	add	r3, r3, #212992
	cmp	r4, r3
	ble	.L82
	ldr	r0, .L90+12
	bl	puts
	b	.L89
.L82:
	ldr	r3, [fp, #-64]
	ldr	r2, .L90+16
	cmp	r3, r2
	ble	.L83
	ldr	r0, .L90+20
	bl	puts
	b	.L89
.L83:
	ldr	r1, .L90+24
	ldr	r0, [fp, #-144]
	bl	fopen
	str	r0, [fp, #-124]
	bl	find_free_dir
	str	r0, [fp, #-120]
	bl	find_free_inode
	ldr	r3, .L90+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, r0
	str	r2, [r3, #64]
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-140]
	ldr	r3, .L90+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1
	ldr	r1, [fp, #-144]
	mov	r0, r3
	bl	strcpy
	mov	r0, #0
	bl	time
	mov	r3, r0
	ldr	r2, .L90+32
	str	r3, [r2]
	ldr	r3, .L90+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r4, r3, #33
	ldr	r0, .L90+32
	bl	localtime
	mov	r3, r0
	mov	r0, r3
	bl	asctime
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	strcpy
	ldr	r3, .L90+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	ldr	r3, .L90+28
	ldr	r1, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #33
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	add	r3, r4, r3
	mov	r2, #0
	strb	r2, [r3, #33]
	ldr	r3, .L90+36
	ldr	r1, [r3]
	ldr	r3, .L90+28
	ldr	r0, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [fp, #-140]
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-132]
	b	.L84
.L86:
	bl	find_free_block
	str	r0, [fp, #-116]
	ldr	r3, .L90+36
	ldr	r1, [r3]
	ldr	r2, [fp, #-120]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r1, [fp, #-116]
	ldr	r2, [fp, #-136]
	add	r2, r2, #2
	str	r1, [r3, r2, lsl #2]
	mov	r2, #0
	ldr	r1, [fp, #-132]
	ldr	r0, [fp, #-124]
	bl	fseek
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #13
	ldr	r2, .L90+40
	add	r0, r3, r2
	ldr	r3, [fp, #-124]
	mov	r2, #1
	mov	r1, #8192
	bl	fread
	mov	r3, r0
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-112]
	cmp	r3, #0
	bne	.L85
	ldr	r0, [fp, #-124]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	bne	.L85
	ldr	r0, .L90+44
	bl	puts
	b	.L77
.L85:
	ldr	r0, [fp, #-124]
	bl	clearerr
	ldr	r3, [fp, #-140]
	sub	r3, r3, #8192
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-132]
	add	r3, r3, #8192
	str	r3, [fp, #-132]
	ldr	r3, [fp, #-136]
	add	r3, r3, #1
	str	r3, [fp, #-136]
.L84:
	ldr	r3, [fp, #-140]
	cmp	r3, #0
	bgt	.L86
	ldr	r0, [fp, #-124]
	bl	fclose
.L89:
	nop
.L77:
	ldr	r3, .L90
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L91:
	.align	2
.L90:
	.word	.LC11
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	10240000
	.word	.LC8
	.word	.LC9
	.word	dir
	.word	timestamp
	.word	inodes_list
	.word	blocks
	.word	.LC10
	.size	put, .-put
	.section	.rodata
	.align	2
.LC12:
	.ascii	"%8d%27s%15s\012\000"
	.align	2
.LC13:
	.ascii	"mfs> list: No files found\000"
	.text
	.align	2
	.global	list
	.syntax unified
	.arm
	.fpu softvfp
	.type	list, %function
list:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L93
.L97:
	ldr	r3, .L100
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L94
	ldr	r3, .L100+4
	ldr	r1, [r3]
	ldr	r3, .L100
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L95
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L94
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #104
	beq	.L96
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #72
	bne	.L94
.L96:
	ldr	r3, .L100+4
	ldr	r1, [r3]
	ldr	r3, .L100
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r0, [r3, #4]
	ldr	r3, .L100
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	ip, r3, #33
	ldr	r3, .L100
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L100+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L94
.L95:
	ldr	r3, .L100+4
	ldr	r1, [r3]
	ldr	r3, .L100
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r0, [r3, #4]
	ldr	r3, .L100
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	ip, r3, #33
	ldr	r3, .L100
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r2, ip
	mov	r1, r0
	ldr	r0, .L100+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L94:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L93:
	ldr	r3, [fp, #-12]
	cmp	r3, #127
	ble	.L97
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L99
	ldr	r0, .L100+12
	bl	puts
.L99:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	dir
	.word	inodes_list
	.word	.LC12
	.word	.LC13
	.size	list, .-list
	.section	.rodata
	.align	2
.LC14:
	.ascii	"mfs> del error: File not found\000"
	.align	2
.LC15:
	.ascii	"mfs> del error: That file is marked read-only.\000"
	.text
	.align	2
	.global	del
	.syntax unified
	.arm
	.fpu softvfp
	.type	del, %function
del:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-16]
	bl	file_searcher
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L103
	ldr	r0, .L109
	bl	puts
	b	.L102
.L103:
	ldr	r3, .L109+4
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L105
	ldr	r0, .L109+12
	bl	puts
	b	.L102
.L105:
	ldr	r3, .L109+4
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3, #1]
	ldr	r3, .L109+4
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L109+4
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	str	r2, [r3, #4]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L106
.L108:
	ldr	r3, .L109+4
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	cmn	r3, #1
	beq	.L107
	ldr	r3, .L109+16
	ldr	r1, [r3]
	ldr	r3, .L109+4
	ldr	r0, [r3]
	ldr	r3, .L109+8
	ldr	ip, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, ip, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r0, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	add	r3, r1, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L109+4
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, #2
	mvn	r1, #0
	str	r1, [r3, r2, lsl #2]
.L107:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L106:
	ldr	r3, [fp, #-12]
	ldr	r2, .L109+20
	cmp	r3, r2
	ble	.L108
	ldr	r3, .L109+24
	ldr	r1, [r3]
	ldr	r3, .L109+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #64]
	add	r3, r1, r3
	mov	r2, #1
	strb	r2, [r3]
	ldr	r3, .L109+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L109+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r2, #32
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L109+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	add	r3, r3, #33
	mov	r2, #30
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L109+8
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mvn	r2, #0
	str	r2, [r3, #64]
.L102:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L110:
	.align	2
.L109:
	.word	.LC14
	.word	inodes_list
	.word	dir
	.word	.LC15
	.word	free_block_list
	.word	1249
	.word	free_inode_list
	.size	del, .-del
	.section	.rodata
	.align	2
.LC16:
	.ascii	"%d bytes free.\012\000"
	.text
	.align	2
	.global	df
	.syntax unified
	.arm
	.fpu softvfp
	.type	df, %function
df:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	disk_size
	mov	r3, r0
	rsb	r3, r3, #34340864
	add	r3, r3, #212992
	mov	r1, r3
	ldr	r0, .L112
	bl	printf
	nop
	pop	{fp, pc}
.L113:
	.align	2
.L112:
	.word	.LC16
	.size	df, .-df
	.section	.rodata
	.align	2
.LC17:
	.ascii	"mfs> get error: New file name too long.\000"
	.align	2
.LC18:
	.ascii	"mfs> get error: File not found\000"
	.align	2
.LC19:
	.ascii	"mfs> Could not open output file: %s\012\000"
	.text
	.align	2
	.global	get
	.syntax unified
	.arm
	.fpu softvfp
	.type	get, %function
get:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L115
	ldr	r0, [fp, #-44]
	bl	strlen
	mov	r3, r0
	cmp	r3, #32
	bls	.L115
	ldr	r0, .L125
	bl	puts
	b	.L114
.L115:
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r0, [fp, #-40]
	bl	file_searcher
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	bne	.L117
	ldr	r0, .L125+4
	bl	puts
	b	.L114
.L117:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L118
	ldr	r1, .L125+8
	ldr	r0, [fp, #-40]
	bl	fopen
	str	r0, [fp, #-28]
	b	.L119
.L118:
	ldr	r1, .L125+8
	ldr	r0, [fp, #-44]
	bl	fopen
	str	r0, [fp, #-28]
.L119:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L120
	ldr	r1, [fp, #-40]
	ldr	r0, .L125+12
	bl	printf
	b	.L114
.L120:
	ldr	r3, .L125+16
	ldr	r1, [r3]
	ldr	r3, .L125+20
	ldr	r0, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L121
.L124:
	ldr	r3, .L125+16
	ldr	r1, [r3]
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldr	r2, [fp, #-32]
	add	r2, r2, #2
	ldr	r3, [r3, r2, lsl #2]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r3, #8192
	bge	.L122
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-16]
	b	.L123
.L122:
	mov	r3, #8192
	str	r3, [fp, #-16]
.L123:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #13
	ldr	r2, .L125+24
	add	r0, r3, r2
	ldr	r1, [fp, #-16]
	ldr	r3, [fp, #-28]
	mov	r2, #1
	bl	fwrite
	ldr	r3, [fp, #-24]
	sub	r3, r3, #8192
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #8192
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	mov	r2, #0
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	fseek
.L121:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L124
	ldr	r0, [fp, #-28]
	bl	fclose
.L114:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L126:
	.align	2
.L125:
	.word	.LC17
	.word	.LC18
	.word	.LC1
	.word	.LC19
	.word	inodes_list
	.word	dir
	.word	blocks
	.size	get, .-get
	.section	.rodata
	.align	2
.LC20:
	.ascii	"mfs> attrib: File not found\000"
	.align	2
.LC21:
	.ascii	"mfs> attrib: Unrecognized attribute.\000"
	.align	2
.LC22:
	.ascii	"mfs> attrib: Unrecognized operation.\000"
	.text
	.align	2
	.global	attrib
	.syntax unified
	.arm
	.fpu softvfp
	.type	attrib, %function
attrib:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	file_searcher
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L128
	ldr	r0, .L142
	bl	puts
	b	.L127
.L128:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L130
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #104
	beq	.L131
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #72
	bne	.L132
.L131:
	ldr	r3, .L142+4
	ldr	r1, [r3]
	ldr	r3, .L142+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #1
	strb	r2, [r3]
	b	.L127
.L132:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	beq	.L134
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L135
.L134:
	ldr	r3, .L142+4
	ldr	r1, [r3]
	ldr	r3, .L142+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #1
	strb	r2, [r3, #1]
	b	.L127
.L135:
	ldr	r0, .L142+12
	bl	puts
	b	.L127
.L130:
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	bne	.L136
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #104
	beq	.L137
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #72
	bne	.L138
.L137:
	ldr	r3, .L142+4
	ldr	r1, [r3]
	ldr	r3, .L142+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L127
.L138:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	beq	.L140
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	bne	.L141
.L140:
	ldr	r3, .L142+4
	ldr	r1, [r3]
	ldr	r3, .L142+8
	ldr	r0, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #4
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r3, #64]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, #0
	strb	r2, [r3, #1]
	b	.L127
.L141:
	ldr	r0, .L142+12
	bl	puts
	b	.L127
.L136:
	ldr	r0, .L142+16
	bl	puts
	nop
.L127:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L143:
	.align	2
.L142:
	.word	.LC20
	.word	inodes_list
	.word	dir
	.word	.LC21
	.word	.LC22
	.size	attrib, .-attrib
	.section	.rodata
	.align	2
.LC23:
	.ascii	"mfs> \000"
	.align	2
.LC24:
	.ascii	" \011\012\000"
	.align	2
.LC25:
	.ascii	"quit\000"
	.align	2
.LC26:
	.ascii	"exit\000"
	.align	2
.LC27:
	.ascii	"put\000"
	.align	2
.LC28:
	.ascii	"get\000"
	.align	2
.LC29:
	.ascii	"del\000"
	.align	2
.LC30:
	.ascii	"list\000"
	.align	2
.LC31:
	.ascii	"df\000"
	.align	2
.LC32:
	.ascii	"open\000"
	.align	2
.LC33:
	.ascii	"close\000"
	.align	2
.LC34:
	.ascii	"createfs\000"
	.align	2
.LC35:
	.ascii	"attrib\000"
	.align	2
.LC36:
	.ascii	"mfs> Command not found. Try Again!!!\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L165
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L165+4
	ldr	r2, .L165+8
	str	r2, [r3]
	ldr	r3, .L165+12
	ldr	r2, .L165+16
	str	r2, [r3]
	ldr	r3, .L165+20
	ldr	r2, .L165+24
	str	r2, [r3]
	ldr	r3, .L165+28
	ldr	r2, .L165+32
	str	r2, [r3]
	bl	initialized
	mov	r0, #255
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-40]
.L163:
	ldr	r0, .L165+36
	bl	printf
	nop
.L145:
	ldr	r3, .L165+40
	ldr	r3, [r3]
	mov	r2, r3
	mov	r1, #255
	ldr	r0, [fp, #-40]
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L145
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	strdup
	mov	r3, r0
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-36]
	b	.L146
.L149:
	mov	r1, #255
	ldr	r0, [fp, #-32]
	bl	strndup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-24]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L147
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-24]
.L147:
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L146:
	sub	r3, fp, #48
	ldr	r1, .L165+44
	mov	r0, r3
	bl	strsep
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L148
	ldr	r3, [fp, #-44]
	cmp	r3, #4
	ble	.L149
.L148:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+48
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L150
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L151
.L150:
	ldr	r0, [fp, #-36]
	bl	free
	ldr	r3, .L165+56
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L152
	bl	fs_close
.L152:
	mov	r0, #0
	bl	exit
.L151:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+60
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L153
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	put
	b	.L154
.L153:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L155
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	get
	b	.L154
.L155:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+68
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L156
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	del
	b	.L154
.L156:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+72
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L157
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	list
	b	.L154
.L157:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+76
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L158
	bl	df
	b	.L154
.L158:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+80
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L159
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	open
	b	.L154
.L159:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+84
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L160
	bl	fs_close
	b	.L154
.L160:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+88
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L161
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	create_fs
	b	.L154
.L161:
	ldr	r3, [fp, #-28]
	ldr	r1, .L165+92
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L162
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-20]
	mov	r1, r2
	mov	r0, r3
	bl	attrib
	b	.L154
.L162:
	ldr	r0, .L165+96
	bl	puts
.L154:
	ldr	r0, [fp, #-36]
	bl	free
	b	.L163
.L166:
	.align	2
.L165:
	.word	.LC37
	.word	dir
	.word	blocks
	.word	inodes_list
	.word	blocks+57344
	.word	free_block_list
	.word	blocks+40960
	.word	free_inode_list
	.word	blocks+49152
	.word	.LC23
	.word	stdin
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	file_d
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
