	.file	"672814.c"
	.intel_syntax noprefix
	.text
	.local	diskfile
	.comm	diskfile,8,8
	.local	nblocks
	.comm	nblocks,4,4
	.local	ninodeblocks
	.comm	ninodeblocks,4,4
	.local	filename1
	.comm	filename1,8,8
	.section	.rodata
.LC0:
	.string	"fsys"
	.section	.data.rel.local,"aw"
	.align 8
	.type	prompt, @object
	.size	prompt, 8
prompt:
	.quad	.LC0
	.section	.rodata
.LC1:
	.string	">"
	.section	.data.rel.local
	.align 8
	.type	end, @object
	.size	end, 8
end:
	.quad	.LC1
	.local	fd
	.comm	fd,4,4
	.local	isize
	.comm	isize,8,8
	.local	super
	.comm	super,2032,32
	.local	buffindoe
	.comm	buffindoe,112,32
	.local	rootInode
	.comm	rootInode,112,32
	.local	currentInode
	.comm	currentInode,112,32
	.section	.rodata
.LC2:
	.string	"r+"
.LC3:
	.string	"w+"
	.text
	.globl	initfs
	.type	initfs, @function
initfs:
.LFB6:
	.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR diskfile[rip], rax
	mov	rax, QWORD PTR diskfile[rip]
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR diskfile[rip], rax
.L2:
	mov	rax, QWORD PTR diskfile[rip]
	test	rax, rax
	jne	.L3
	mov	eax, 0
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -32[rbp]
	lea	edx, 15[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 4
	mov	DWORD PTR ninodeblocks[rip], eax
	mov	eax, DWORD PTR -32[rbp]
	and	eax, 15
	test	eax, eax
	je	.L5
	mov	eax, DWORD PTR ninodeblocks[rip]
	add	eax, 1
	mov	DWORD PTR ninodeblocks[rip], eax
.L5:
	mov	edx, DWORD PTR ninodeblocks[rip]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	add	eax, 2
	mov	DWORD PTR nblocks[rip], eax
	mov	eax, DWORD PTR nblocks[rip]
	sal	eax, 10
	movsx	rbx, eax
	mov	rax, QWORD PTR diskfile[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	rsi, rbx
	mov	edi, eax
	call	ftruncate@PLT
	mov	edx, DWORD PTR -32[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	mov	eax, 0
	call	filesetup
	mov	rax, QWORD PTR diskfile[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
.L4:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	initfs, .-initfs
	.globl	disk_size
	.type	disk_size, @function
disk_size:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR nblocks[rip]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	disk_size, .-disk_size
	.globl	openfs
	.type	openfs, @function
openfs:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 1024
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2032
	lea	rsi, super[rip]
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 2048
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 112
	lea	rsi, rootInode[rip]
	mov	edi, eax
	call	read@PLT
	mov	eax, 1
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	openfs, .-openfs
	.globl	filesetup
	.type	filesetup, @function
filesetup:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -56[rbp], rdi
	mov	DWORD PTR -60[rbp], esi
	mov	DWORD PTR -64[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	r12, rax
	mov	esi, DWORD PTR -64[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -40[rbp], rax
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	imul	rdx, r9, 896
	imul	rax, r8, 0
	lea	rdi, [rdx+rax]
	mov	eax, 896
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	movsx	rax, esi
	mov	rcx, rax
	mov	ebx, 0
	imul	rdx, rbx, 896
	imul	rax, rcx, 0
	lea	rdi, [rdx+rax]
	mov	eax, 896
	mul	rcx
	lea	rcx, [rdi+rdx]
	mov	rdx, rcx
	movsx	rdx, esi
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	ebx, 16
	mov	edx, 0
	div	rbx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L11:
	cmp	rsp, rdx
	je	.L12
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L11
.L12:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L13
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L13:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	mov	QWORD PTR super[rip+8], rax
	mov	WORD PTR super[rip+18], 0
	mov	eax, DWORD PTR ninodeblocks[rip]
	mov	WORD PTR super[rip+26], ax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	QWORD PTR super[rip], rax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	mov	QWORD PTR isize[rip], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	DWORD PTR -44[rbp], 1
	jmp	.L14
.L15:
	mov	eax, DWORD PTR -44[rbp]
	mov	edi, eax
	mov	eax, 0
	call	addInodetoSuper
	mov	eax, DWORD PTR -44[rbp]
	mov	ecx, eax
	mov	rsi, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rsi
	add	rax, 4
	mov	WORD PTR [rax], cx
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	add	rax, rcx
	add	rax, 104
	mov	DWORD PTR [rax], 0
	mov	eax, DWORD PTR -44[rbp]
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR -44[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 3
	sub	rax, rdx
	sal	rax, 4
	mov	rdx, QWORD PTR -32[rbp]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 112
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -44[rbp], 1
.L14:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -64[rbp]
	jl	.L15
	mov	DWORD PTR -48[rbp], 0
	jmp	.L16
.L17:
	mov	eax, DWORD PTR ninodeblocks[rip]
	lea	edx, 2[rax]
	mov	eax, DWORD PTR -48[rbp]
	add	eax, edx
	mov	edi, eax
	mov	eax, 0
	call	addFreeBlock
	add	DWORD PTR -48[rbp], 1
.L16:
	mov	eax, DWORD PTR -48[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L17
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 1024
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2032
	lea	rsi, super[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, 0
	call	setRootInode
	mov	rsp, r12
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	filesetup, .-filesetup
	.section	.rodata
.LC4:
	.string	"nfree is full "
	.align 8
.LC5:
	.string	"logical block to hold free is %d\n"
	.text
	.globl	addFreeBlockold
	.type	addFreeBlockold, @function
addFreeBlockold:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1248
	mov	QWORD PTR -1240[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, WORD PTR super[rip+16]
	cmp	ax, 150
	jne	.L20
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -1240[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR super[rip+16]
	mov	WORD PTR -1216[rbp], ax
	mov	DWORD PTR -1220[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -1220[rbp]
	cdqe
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -1220[rbp]
	cdqe
	mov	QWORD PTR -1208[rbp+rax*8], rdx
	add	DWORD PTR -1220[rbp], 1
.L21:
	cmp	DWORD PTR -1220[rbp], 149
	jle	.L22
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -1240[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -1216[rbp]
	mov	edx, 1208
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR super[rip+16], 1
	mov	rax, QWORD PTR -1240[rbp]
	mov	QWORD PTR super[rip+32], rax
	jmp	.L23
.L20:
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	cdqe
	add	rax, 4
	lea	rcx, 0[0+rax*8]
	lea	rdx, super[rip]
	mov	rax, QWORD PTR -1240[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	movzx	eax, WORD PTR super[rip+16]
	add	eax, 1
	mov	WORD PTR super[rip+16], ax
.L23:
	mov	eax, 1
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	addFreeBlockold, .-addFreeBlockold
	.globl	addFreeBlock
	.type	addFreeBlock, @function
addFreeBlock:
.LFB11:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	disk_size
	cdqe
	cmp	QWORD PTR -40[rbp], rax
	jbe	.L27
	mov	eax, 1
	jmp	.L28
.L27:
	movzx	eax, WORD PTR super[rip+16]
	cmp	ax, 150
	jne	.L29
	mov	WORD PTR -22[rbp], 150
	mov	QWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -40[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -22[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L30
.L31:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -40[rbp]
	sal	rax, 10
	mov	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 2
	cdqe
	add	rax, rdx
	add	rax, 2
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -16[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -20[rbp], 1
.L30:
	cmp	DWORD PTR -20[rbp], 149
	jle	.L31
	mov	WORD PTR super[rip+16], 1
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR super[rip+32], rax
	mov	eax, 1
	jmp	.L28
.L29:
	movzx	eax, WORD PTR super[rip+16]
	cmp	ax, 149
	ja	.L32
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	cdqe
	add	rax, 4
	lea	rcx, 0[0+rax*8]
	lea	rdx, super[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR [rcx+rdx], rax
	movzx	eax, WORD PTR super[rip+16]
	add	eax, 1
	mov	WORD PTR super[rip+16], ax
	mov	eax, 1
	jmp	.L28
.L32:
	movzx	eax, WORD PTR super[rip+16]
	cmp	ax, 150
	jbe	.L33
	mov	WORD PTR super[rip+16], 150
	mov	eax, 1
	jmp	.L28
.L33:
	mov	eax, 1
.L28:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L34
	call	__stack_chk_fail@PLT
.L34:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	addFreeBlock, .-addFreeBlock
	.globl	getFreeBlock
	.type	getFreeBlock, @function
getFreeBlock:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1248
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, WORD PTR super[rip+16]
	sub	eax, 1
	mov	WORD PTR super[rip+16], ax
	movzx	eax, WORD PTR super[rip+16]
	test	ax, ax
	jne	.L36
	mov	QWORD PTR -1224[rbp], 0
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	cdqe
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -1224[rbp], rax
	mov	QWORD PTR -1232[rbp], 0
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -1224[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -1238[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, WORD PTR -1238[rbp]
	mov	WORD PTR super[rip+16], ax
	movzx	eax, WORD PTR super[rip+16]
	test	ax, ax
	jne	.L37
	mov	eax, 0
	jmp	.L42
.L37:
	mov	DWORD PTR -1236[rbp], 0
	jmp	.L39
.L40:
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -1224[rbp]
	sal	rax, 10
	mov	rdx, rax
	mov	eax, DWORD PTR -1236[rbp]
	sal	eax, 2
	cdqe
	add	rax, rdx
	add	rax, 2
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -1232[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -1232[rbp]
	mov	edx, DWORD PTR -1236[rbp]
	movsx	rdx, edx
	add	rdx, 4
	lea	rcx, 0[0+rdx*8]
	lea	rdx, super[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -1236[rbp], 1
.L39:
	cmp	DWORD PTR -1236[rbp], 149
	jle	.L40
	mov	rax, QWORD PTR -1224[rbp]
	jmp	.L42
.L36:
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	cdqe
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rax, QWORD PTR [rdx+rax]
.L42:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L43
	call	__stack_chk_fail@PLT
.L43:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	getFreeBlock, .-getFreeBlock
	.globl	getFreeBlockold
	.type	getFreeBlockold, @function
getFreeBlockold:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1232
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movzx	eax, WORD PTR super[rip+16]
	sub	eax, 1
	mov	WORD PTR super[rip+16], ax
	movzx	eax, WORD PTR super[rip+16]
	test	ax, ax
	jne	.L45
	mov	QWORD PTR -1224[rbp], 0
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	cdqe
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	QWORD PTR -1224[rbp], rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -1224[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rdx, -1216[rbp]
	lea	rcx, 8[rdx]
	mov	edx, 1208
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rax, -1216[rbp]
	add	rax, 8
	mov	WORD PTR super[rip+16], ax
	movzx	eax, WORD PTR super[rip+16]
	test	ax, ax
	jne	.L46
	mov	eax, 0
	jmp	.L50
.L46:
	mov	DWORD PTR -1228[rbp], 0
	jmp	.L48
.L49:
	mov	eax, DWORD PTR -1228[rbp]
	cdqe
	mov	rax, QWORD PTR -1208[rbp+rax*8]
	mov	edx, DWORD PTR -1228[rbp]
	movsx	rdx, edx
	add	rdx, 4
	lea	rcx, 0[0+rdx*8]
	lea	rdx, super[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -1228[rbp], 1
.L48:
	cmp	DWORD PTR -1228[rbp], 149
	jle	.L49
	mov	rax, QWORD PTR -1224[rbp]
	jmp	.L50
.L45:
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	cdqe
	add	rax, 4
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rax, QWORD PTR [rdx+rax]
.L50:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	getFreeBlockold, .-getFreeBlockold
	.globl	addInodetoSuper
	.type	addInodetoSuper, @function
addInodetoSuper:
.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], edi
	movzx	eax, WORD PTR super[rip+18]
	cmp	ax, 99
	ja	.L53
	movzx	eax, WORD PTR super[rip+18]
	movzx	edx, ax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movsx	rdx, edx
	add	rdx, 154
	lea	rcx, 0[0+rdx*8]
	lea	rdx, super[rip]
	mov	QWORD PTR [rcx+rdx], rax
	movzx	eax, WORD PTR super[rip+18]
	add	eax, 1
	mov	WORD PTR super[rip+18], ax
	mov	eax, 1
	jmp	.L54
.L53:
	mov	eax, 0
.L54:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	addInodetoSuper, .-addInodetoSuper
	.section	.rodata
.LC6:
	.string	"."
.LC7:
	.string	".."
.LC8:
	.string	"...."
	.text
	.globl	setRootInode
	.type	setRootInode, @function
setRootInode:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR rootInode[rip], -15873
	mov	WORD PTR rootInode[rip+2], 1
	mov	WORD PTR rootInode[rip+4], 0
	mov	WORD PTR rootInode[rip+6], 0
	mov	QWORD PTR rootInode[rip+8], 0
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR rootInode[rip+16], rax
	mov	QWORD PTR rootInode[rip+24], 0
	mov	WORD PTR rootInode[rip+100], 0
	mov	WORD PTR rootInode[rip+102], 0
	mov	DWORD PTR rootInode[rip+104], 1
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 2048
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 64
	lea	rsi, rootInode[rip]
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR -32[rbp], 0
	lea	rax, -32[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR rootInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -32[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR -32[rbp], 0
	lea	rax, -32[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -32[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -36[rbp], 2
	jmp	.L56
.L57:
	mov	WORD PTR -32[rbp], -1
	lea	rax, -32[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -32[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -36[rbp], 1
.L56:
	cmp	DWORD PTR -36[rbp], 63
	jle	.L57
	mov	rax, QWORD PTR rootInode[rip]
	mov	rdx, QWORD PTR rootInode[rip+8]
	mov	QWORD PTR currentInode[rip], rax
	mov	QWORD PTR currentInode[rip+8], rdx
	mov	rax, QWORD PTR rootInode[rip+16]
	mov	rdx, QWORD PTR rootInode[rip+24]
	mov	QWORD PTR currentInode[rip+16], rax
	mov	QWORD PTR currentInode[rip+24], rdx
	mov	rax, QWORD PTR rootInode[rip+32]
	mov	rdx, QWORD PTR rootInode[rip+40]
	mov	QWORD PTR currentInode[rip+32], rax
	mov	QWORD PTR currentInode[rip+40], rdx
	mov	rax, QWORD PTR rootInode[rip+48]
	mov	rdx, QWORD PTR rootInode[rip+56]
	mov	QWORD PTR currentInode[rip+48], rax
	mov	QWORD PTR currentInode[rip+56], rdx
	mov	rax, QWORD PTR rootInode[rip+64]
	mov	rdx, QWORD PTR rootInode[rip+72]
	mov	QWORD PTR currentInode[rip+64], rax
	mov	QWORD PTR currentInode[rip+72], rdx
	mov	rax, QWORD PTR rootInode[rip+80]
	mov	rdx, QWORD PTR rootInode[rip+88]
	mov	QWORD PTR currentInode[rip+80], rax
	mov	QWORD PTR currentInode[rip+88], rdx
	mov	rax, QWORD PTR rootInode[rip+96]
	mov	rdx, QWORD PTR rootInode[rip+104]
	mov	QWORD PTR currentInode[rip+96], rax
	mov	QWORD PTR currentInode[rip+104], rdx
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L58
	call	__stack_chk_fail@PLT
.L58:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	setRootInode, .-setRootInode
	.globl	getInode
	.type	getInode, @function
getInode:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	eax, WORD PTR super[rip+18]
	test	ax, ax
	jne	.L60
	mov	eax, 0
	call	scanforInodes
	mov	eax, 0
	call	getInode
	jmp	.L61
.L60:
	movzx	eax, WORD PTR super[rip+18]
	sub	eax, 1
	mov	WORD PTR super[rip+18], ax
	movzx	eax, WORD PTR super[rip+18]
	movzx	eax, ax
	cdqe
	add	rax, 154
	lea	rdx, 0[0+rax*8]
	lea	rax, super[rip]
	mov	rax, QWORD PTR [rdx+rax]
.L61:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	getInode, .-getInode
	.globl	scanforInodes
	.type	scanforInodes, @function
scanforInodes:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -16[rbp], 2048
	mov	DWORD PTR -20[rbp], 0
	jmp	.L63
.L67:
	mov	eax, DWORD PTR -20[rbp]
	sal	eax, 6
	movsx	rdx, eax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	add	rax, 60
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -24[rbp]
	mov	edx, 4
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jne	.L64
	movzx	eax, WORD PTR super[rip+18]
	cmp	ax, 99
	ja	.L69
	movzx	eax, WORD PTR super[rip+18]
	movzx	edx, ax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	movsx	rdx, edx
	add	rdx, 154
	lea	rcx, 0[0+rdx*8]
	lea	rdx, super[rip]
	mov	QWORD PTR [rcx+rdx], rax
	movzx	eax, WORD PTR super[rip+18]
	add	eax, 1
	mov	WORD PTR super[rip+18], ax
.L64:
	add	DWORD PTR -20[rbp], 1
.L63:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR isize[rip]
	cmp	rdx, rax
	jb	.L67
	jmp	.L66
.L69:
	nop
.L66:
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	scanforInodes, .-scanforInodes
	.globl	checkifFile
	.type	checkifFile, @function
checkifFile:
.LFB18:
	.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, 40
	.cfi_offset 3, -24
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -20[rbp], 0
	jmp	.L71
.L74:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 46
	jne	.L72
	mov	eax, 1
	jmp	.L73
.L72:
	add	DWORD PTR -20[rbp], 1
.L71:
	mov	eax, DWORD PTR -20[rbp]
	movsx	rbx, eax
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L74
	mov	eax, 0
.L73:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	checkifFile, .-checkifFile
	.globl	cpin
	.type	cpin, @function
cpin:
.LFB19:
	.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 -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	QWORD PTR -8[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	edx, 2
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR fd[rip]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	esi, DWORD PTR -12[rbp]
	mov	edi, eax
	mov	eax, 0
	call	copyfile
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	cpin, .-cpin
	.section	.rodata
.LC9:
	.string	"Error copying file"
.LC10:
	.string	"file size exceeded!!!"
	.text
	.globl	copyfile
	.type	copyfile, @function
copyfile:
.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, 2336
	mov	DWORD PTR -2308[rbp], edi
	mov	DWORD PTR -2312[rbp], esi
	mov	QWORD PTR -2320[rbp], rdx
	mov	QWORD PTR -2328[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -2264[rbp], 0
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -2272[rbp], eax
	cmp	DWORD PTR -2272[rbp], 0
	jns	.L78
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L111
.L78:
	movabs	rax, 4294967296
	cmp	QWORD PTR -2320[rbp], rax
	jbe	.L80
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L111
.L80:
	mov	eax, 0
	call	getInode
	mov	WORD PTR -2302[rbp], ax
	mov	DWORD PTR -2300[rbp], 0
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -2296[rbp], 0
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L81
.L86:
	movzx	eax, WORD PTR -2192[rbp]
	cmp	ax, -1
	je	.L113
	movzx	eax, WORD PTR -2192[rbp]
	cmp	ax, -2
	je	.L114
	movzx	eax, WORD PTR -2192[rbp]
	test	ax, ax
	js	.L115
	add	DWORD PTR -2300[rbp], 1
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	add	DWORD PTR -2296[rbp], 1
.L81:
	movzx	eax, WORD PTR -2192[rbp]
	cmp	ax, -1
	jne	.L86
	movzx	eax, WORD PTR -2192[rbp]
	cmp	ax, -2
	je	.L83
	cmp	DWORD PTR -2296[rbp], 63
	jle	.L86
	jmp	.L83
.L113:
	nop
	jmp	.L83
.L114:
	nop
	jmp	.L83
.L115:
	nop
.L83:
	movzx	eax, WORD PTR -2302[rbp]
	mov	WORD PTR -2192[rbp], ax
	mov	rax, QWORD PTR -2328[rbp]
	lea	rdx, -2192[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 14
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rdx, rax
	mov	eax, DWORD PTR -2300[rbp]
	sal	eax, 4
	cdqe
	add	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2192[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edi, 1024
	call	malloc@PLT
	mov	QWORD PTR -2256[rbp], rax
	mov	rax, QWORD PTR -2320[rbp]
	shr	rax, 10
	mov	DWORD PTR -2268[rbp], eax
	mov	WORD PTR -2176[rbp], -32257
	mov	WORD PTR -2174[rbp], 0
	movzx	eax, WORD PTR -2302[rbp]
	mov	WORD PTR -2172[rbp], ax
	mov	WORD PTR -2170[rbp], 0
	mov	rax, QWORD PTR -2320[rbp]
	mov	QWORD PTR -2168[rbp], rax
	mov	WORD PTR -2076[rbp], 0
	mov	WORD PTR -2074[rbp], 1
	mov	DWORD PTR -2072[rbp], 1
	mov	DWORD PTR -2292[rbp], 0
	jmp	.L87
.L92:
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2248[rbp], rax
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	je	.L116
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	cmp	rax, 1023
	jbe	.L90
	mov	rcx, QWORD PTR -2264[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2248[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	QWORD PTR -2264[rbp], 1024
	jmp	.L91
.L90:
	mov	rcx, QWORD PTR -2264[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2248[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -2320[rbp]
	mov	QWORD PTR -2264[rbp], rax
.L91:
	mov	eax, DWORD PTR -2292[rbp]
	cdqe
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -2248[rbp]
	mov	QWORD PTR -2176[rbp+rdx*8], rax
	add	DWORD PTR -2292[rbp], 1
.L87:
	cmp	DWORD PTR -2292[rbp], 7
	jg	.L89
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	ja	.L92
	jmp	.L89
.L116:
	nop
.L89:
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	jbe	.L93
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2240[rbp], rax
	mov	DWORD PTR -2288[rbp], 0
	jmp	.L94
.L98:
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2232[rbp], rax
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	cmp	rax, 1023
	jbe	.L95
	mov	rcx, QWORD PTR -2264[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2232[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	QWORD PTR -2264[rbp], 1024
	jmp	.L96
.L95:
	mov	rcx, QWORD PTR -2264[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2232[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -2320[rbp]
	mov	QWORD PTR -2264[rbp], rax
.L96:
	mov	eax, DWORD PTR -2288[rbp]
	cdqe
	mov	rdx, QWORD PTR -2232[rbp]
	mov	QWORD PTR -2064[rbp+rax*8], rdx
	add	DWORD PTR -2288[rbp], 1
.L94:
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	jbe	.L97
	cmp	DWORD PTR -2288[rbp], 255
	jle	.L98
.L97:
	mov	rax, QWORD PTR -2240[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2240[rbp]
	mov	QWORD PTR -2096[rbp], rax
.L93:
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	jbe	.L99
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2224[rbp], rax
	mov	DWORD PTR -2284[rbp], 0
	jmp	.L100
.L110:
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2216[rbp], rax
	mov	DWORD PTR -2280[rbp], 0
	jmp	.L101
.L108:
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2208[rbp], rax
	mov	DWORD PTR -2276[rbp], 0
	jmp	.L102
.L106:
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -2200[rbp], rax
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	cmp	rax, 1023
	jbe	.L103
	mov	rcx, QWORD PTR -2264[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2200[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	QWORD PTR -2264[rbp], 1024
	jmp	.L104
.L103:
	mov	rcx, QWORD PTR -2264[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2312[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2200[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -2320[rbp]
	sub	rax, QWORD PTR -2264[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -2256[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -2320[rbp]
	mov	QWORD PTR -2264[rbp], rax
.L104:
	mov	eax, DWORD PTR -2276[rbp]
	cdqe
	mov	rdx, QWORD PTR -2200[rbp]
	mov	QWORD PTR -2064[rbp+rax*8], rdx
	add	DWORD PTR -2276[rbp], 1
.L102:
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	jbe	.L105
	cmp	DWORD PTR -2276[rbp], 255
	jle	.L106
.L105:
	mov	rax, QWORD PTR -2208[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	add	DWORD PTR -2280[rbp], 1
.L101:
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	jbe	.L107
	cmp	DWORD PTR -2280[rbp], 255
	jle	.L108
.L107:
	mov	rax, QWORD PTR -2216[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	add	DWORD PTR -2284[rbp], 1
.L100:
	mov	rax, QWORD PTR -2320[rbp]
	cmp	rax, QWORD PTR -2264[rbp]
	jbe	.L109
	cmp	DWORD PTR -2284[rbp], 255
	jle	.L110
.L109:
	mov	rax, QWORD PTR -2224[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -2224[rbp]
	mov	QWORD PTR -2088[rbp], rax
.L99:
	movsx	eax, WORD PTR -2302[rbp]
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2176[rbp]
	mov	eax, DWORD PTR -2308[rbp]
	mov	edx, 112
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, 1
.L111:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L112
	call	__stack_chk_fail@PLT
.L112:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	copyfile, .-copyfile
	.globl	newdir
	.type	newdir, @function
newdir:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, DWORD PTR fd[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	mov	eax, 0
	call	makeDir
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	newdir, .-newdir
	.globl	makeDir
	.type	makeDir, @function
makeDir:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 176
	mov	DWORD PTR -164[rbp], edi
	mov	QWORD PTR -176[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	getInode
	mov	WORD PTR -158[rbp], ax
	mov	DWORD PTR -156[rbp], 0
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -152[rbp], 0
	jmp	.L120
.L123:
	movzx	eax, WORD PTR -144[rbp]
	cmp	ax, -1
	je	.L121
	movzx	eax, WORD PTR -144[rbp]
	cmp	ax, -2
	je	.L121
	add	DWORD PTR -156[rbp], 1
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	add	DWORD PTR -152[rbp], 1
.L120:
	movzx	eax, WORD PTR -144[rbp]
	cmp	ax, -1
	jne	.L122
	movzx	eax, WORD PTR -144[rbp]
	cmp	ax, -2
	je	.L121
.L122:
	cmp	DWORD PTR -152[rbp], 63
	jle	.L123
.L121:
	movzx	eax, WORD PTR -158[rbp]
	mov	WORD PTR -144[rbp], ax
	mov	rax, QWORD PTR -176[rbp]
	lea	rdx, -144[rbp]
	lea	rcx, 2[rdx]
	mov	edx, 14
	mov	rsi, rax
	mov	rdi, rcx
	call	strncpy@PLT
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rdx, rax
	mov	eax, DWORD PTR -156[rbp]
	sal	eax, 4
	cdqe
	add	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR -128[rbp], -15891
	mov	WORD PTR -126[rbp], 0
	movzx	eax, WORD PTR -158[rbp]
	mov	WORD PTR -124[rbp], ax
	mov	WORD PTR -122[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	WORD PTR -28[rbp], 0
	mov	WORD PTR -26[rbp], 1
	mov	DWORD PTR -24[rbp], 1
	mov	eax, 0
	call	getFreeBlock
	mov	QWORD PTR -112[rbp], rax
	movsx	eax, WORD PTR -158[rbp]
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -128[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 112
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	movzx	eax, WORD PTR currentInode[rip+4]
	mov	WORD PTR -144[rbp], ax
	lea	rax, -144[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -112[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	movzx	eax, WORD PTR -124[rbp]
	mov	WORD PTR -144[rbp], ax
	lea	rax, -144[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -148[rbp], 2
	jmp	.L124
.L125:
	mov	WORD PTR -144[rbp], -1
	lea	rax, -144[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strncpy@PLT
	lea	rcx, -144[rbp]
	mov	eax, DWORD PTR -164[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -148[rbp], 1
.L124:
	cmp	DWORD PTR -148[rbp], 63
	jle	.L125
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L126
	call	__stack_chk_fail@PLT
.L126:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	makeDir, .-makeDir
	.globl	cpout
	.type	cpout, @function
cpout:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, DWORD PTR fd[rip]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	copyout
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	cpout, .-cpout
	.section	.rodata
	.align 8
.LC11:
	.string	"\n$$ ERROR !!! SOURCE FILE DOES NOT EXISTS $$"
	.align 8
.LC12:
	.string	"\n## CREATING NEW EXTERNAL FILE"
	.text
	.globl	copyout
	.type	copyout, @function
copyout:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2352
	mov	DWORD PTR -6420[rbp], edi
	mov	QWORD PTR -6432[rbp], rsi
	mov	QWORD PTR -6440[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -6408[rbp], 0
	mov	DWORD PTR -6404[rbp], 0
	mov	edi, 1024
	call	malloc@PLT
	mov	QWORD PTR -6360[rbp], rax
	mov	DWORD PTR -6396[rbp], 0
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6288[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L130
.L134:
	movzx	eax, WORD PTR -6288[rbp]
	cmp	ax, -1
	je	.L161
	lea	rax, -6288[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -6432[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L133
	movzx	eax, WORD PTR -6288[rbp]
	cwde
	mov	DWORD PTR -6400[rbp], eax
	mov	DWORD PTR -6404[rbp], 1
	jmp	.L132
.L133:
	add	DWORD PTR -6408[rbp], 1
	lea	rcx, -6288[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	add	DWORD PTR -6396[rbp], 1
.L130:
	movzx	eax, WORD PTR -6288[rbp]
	cmp	ax, -1
	je	.L132
	cmp	DWORD PTR -6396[rbp], 63
	jle	.L134
	jmp	.L132
.L161:
	nop
.L132:
	cmp	DWORD PTR -6404[rbp], 1
	je	.L135
	lea	rdi, .LC11[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L129
.L135:
	mov	eax, DWORD PTR -6400[rbp]
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6272[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 112
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -6264[rbp]
	mov	QWORD PTR -6352[rbp], rax
	mov	rdx, QWORD PTR -6352[rbp]
	mov	rax, QWORD PTR -6440[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	createfile
	mov	rax, QWORD PTR -6440[rbp]
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -6372[rbp], eax
	mov	QWORD PTR -6368[rbp], 0
	mov	DWORD PTR -6392[rbp], 0
	jmp	.L137
.L141:
	mov	eax, DWORD PTR -6392[rbp]
	cdqe
	add	rax, 2
	mov	rax, QWORD PTR -6272[rbp+rax*8]
	mov	QWORD PTR -6344[rbp], rax
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	cmp	rax, 1023
	jbe	.L138
	mov	rax, QWORD PTR -6344[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -6368[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	QWORD PTR -6368[rbp], 1024
	jmp	.L139
.L138:
	mov	rax, QWORD PTR -6344[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -6368[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -6352[rbp]
	mov	QWORD PTR -6368[rbp], rax
.L139:
	add	DWORD PTR -6392[rbp], 1
.L137:
	cmp	DWORD PTR -6392[rbp], 7
	jg	.L140
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	ja	.L141
.L140:
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	jbe	.L142
	mov	rax, QWORD PTR -6192[rbp]
	mov	QWORD PTR -6336[rbp], rax
	mov	DWORD PTR -6388[rbp], 0
	mov	rax, QWORD PTR -6336[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L143
.L147:
	mov	eax, DWORD PTR -6388[rbp]
	cdqe
	mov	rax, QWORD PTR -2064[rbp+rax*8]
	mov	QWORD PTR -6328[rbp], rax
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	cmp	rax, 1023
	jbe	.L144
	mov	rax, QWORD PTR -6328[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -6368[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	QWORD PTR -6368[rbp], 1024
	jmp	.L145
.L144:
	mov	rax, QWORD PTR -6328[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -6368[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -6352[rbp]
	mov	QWORD PTR -6368[rbp], rax
.L145:
	add	DWORD PTR -6388[rbp], 1
.L143:
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	jbe	.L142
	cmp	DWORD PTR -6388[rbp], 255
	jle	.L147
.L142:
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	jbe	.L148
	mov	rax, QWORD PTR -6184[rbp]
	mov	QWORD PTR -6320[rbp], rax
	mov	DWORD PTR -6384[rbp], 0
	mov	rax, QWORD PTR -6320[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6160[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L149
.L159:
	mov	eax, DWORD PTR -6384[rbp]
	cdqe
	mov	rax, QWORD PTR -6160[rbp+rax*8]
	mov	QWORD PTR -6312[rbp], rax
	mov	DWORD PTR -6380[rbp], 0
	mov	rax, QWORD PTR -6312[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -4112[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L150
.L157:
	mov	eax, DWORD PTR -6380[rbp]
	cdqe
	mov	rax, QWORD PTR -4112[rbp+rax*8]
	mov	QWORD PTR -6304[rbp], rax
	mov	DWORD PTR -6376[rbp], 0
	mov	rax, QWORD PTR -6304[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L151
.L155:
	mov	eax, DWORD PTR -6376[rbp]
	cdqe
	mov	rax, QWORD PTR -2064[rbp+rax*8]
	mov	QWORD PTR -6296[rbp], rax
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	cmp	rax, 1023
	jbe	.L152
	mov	rax, QWORD PTR -6296[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -6368[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 1024
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	QWORD PTR -6368[rbp], 1024
	jmp	.L153
.L152:
	mov	rax, QWORD PTR -6296[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6420[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6420[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rcx, QWORD PTR -6368[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	rax, QWORD PTR -6352[rbp]
	sub	rax, QWORD PTR -6368[rbp]
	mov	rdx, rax
	mov	rcx, QWORD PTR -6360[rbp]
	mov	eax, DWORD PTR -6372[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	rax, QWORD PTR -6352[rbp]
	mov	QWORD PTR -6368[rbp], rax
.L153:
	add	DWORD PTR -6376[rbp], 1
.L151:
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	jbe	.L154
	cmp	DWORD PTR -6376[rbp], 255
	jle	.L155
.L154:
	add	DWORD PTR -6380[rbp], 1
.L150:
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	jbe	.L156
	cmp	DWORD PTR -6380[rbp], 255
	jle	.L157
.L156:
	add	DWORD PTR -6384[rbp], 1
.L149:
	mov	rax, QWORD PTR -6352[rbp]
	cmp	rax, QWORD PTR -6368[rbp]
	jbe	.L148
	cmp	DWORD PTR -6384[rbp], 255
	jle	.L159
.L148:
.L129:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L160
	call	__stack_chk_fail@PLT
.L160:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	copyout, .-copyout
	.globl	createfile
	.type	createfile, @function
createfile:
.LFB25:
	.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR diskfile[rip], rax
	mov	rax, QWORD PTR diskfile[rip]
	test	rax, rax
	jne	.L163
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR diskfile[rip], rax
.L163:
	mov	rax, QWORD PTR diskfile[rip]
	test	rax, rax
	jne	.L164
	mov	eax, 0
	jmp	.L165
.L164:
	mov	rbx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR diskfile[rip]
	mov	rdi, rax
	call	fileno@PLT
	mov	rsi, rbx
	mov	edi, eax
	call	ftruncate@PLT
	mov	rax, QWORD PTR diskfile[rip]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, 1
.L165:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	createfile, .-createfile
	.globl	rm
	.type	rm, @function
rm:
.LFB26:
	.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	eax, DWORD PTR fd[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	mov	eax, 0
	call	rmove
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	rm, .-rm
	.section	.rodata
	.align 8
.LC13:
	.string	"\n$$ ERROR!!!! SOURCE FILE DOES NOT EXISTS $$"
.LC14:
	.string	"..."
	.text
	.globl	rmove
	.type	rmove, @function
rmove:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 2304
	mov	DWORD PTR -6388[rbp], edi
	mov	QWORD PTR -6400[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -6376[rbp], 0
	mov	DWORD PTR -6372[rbp], 0
	mov	QWORD PTR -6336[rbp], 0
	mov	QWORD PTR -6328[rbp], 0
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6288[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L169
.L174:
	mov	rax, QWORD PTR -6400[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L169
	mov	rax, QWORD PTR -6400[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L171
	jmp	.L169
.L171:
	lea	rax, -6288[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -6400[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L172
	movzx	eax, WORD PTR -6288[rbp]
	cwde
	mov	DWORD PTR -6368[rbp], eax
	mov	DWORD PTR -6372[rbp], 1
	jmp	.L173
.L172:
	add	DWORD PTR -6376[rbp], 1
	lea	rcx, -6288[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
.L169:
	movzx	eax, WORD PTR -6288[rbp]
	cmp	ax, -1
	jne	.L174
.L173:
	cmp	DWORD PTR -6372[rbp], 1
	je	.L175
	lea	rdi, .LC13[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L168
.L175:
	mov	eax, DWORD PTR -6368[rbp]
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6272[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 112
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -6264[rbp]
	mov	QWORD PTR -6336[rbp], rax
	mov	DWORD PTR -6364[rbp], 0
	jmp	.L177
.L182:
	cmp	QWORD PTR -6336[rbp], 0
	jne	.L178
	mov	QWORD PTR -6336[rbp], 1
.L178:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L200
	mov	QWORD PTR -6344[rbp], 0
	mov	eax, DWORD PTR -6368[rbp]
	add	eax, 32
	sal	eax, 6
	lea	edx, 12[rax]
	mov	eax, DWORD PTR -6364[rbp]
	sal	eax, 2
	add	eax, edx
	movsx	rcx, eax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6344[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	rax, QWORD PTR -6344[rbp]
	mov	rdi, rax
	call	addFreeBlock
	add	QWORD PTR -6328[rbp], 1024
	add	DWORD PTR -6364[rbp], 1
.L177:
	cmp	DWORD PTR -6364[rbp], 7
	jle	.L182
	jmp	.L181
.L200:
	nop
.L181:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L183
	mov	QWORD PTR -6344[rbp], 0
	mov	eax, DWORD PTR -6368[rbp]
	add	eax, 32
	sal	eax, 6
	add	eax, 44
	movsx	rcx, eax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6344[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -6360[rbp], 0
	mov	rax, QWORD PTR -6344[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L184
.L188:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L201
	mov	eax, DWORD PTR -6360[rbp]
	cdqe
	mov	rax, QWORD PTR -2064[rbp+rax*8]
	mov	QWORD PTR -6320[rbp], rax
	mov	rax, QWORD PTR -6320[rbp]
	mov	rdi, rax
	call	addFreeBlock
	add	QWORD PTR -6328[rbp], 1024
	add	DWORD PTR -6360[rbp], 1
.L184:
	cmp	DWORD PTR -6360[rbp], 255
	jle	.L188
	jmp	.L183
.L201:
	nop
.L183:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L189
	mov	QWORD PTR -6344[rbp], 0
	mov	eax, DWORD PTR -6368[rbp]
	add	eax, 32
	sal	eax, 6
	add	eax, 48
	movsx	rcx, eax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6344[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 8
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	mov	DWORD PTR -6356[rbp], 0
	mov	rax, QWORD PTR -6344[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6160[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L190
.L198:
	mov	eax, DWORD PTR -6356[rbp]
	cdqe
	mov	rax, QWORD PTR -6160[rbp+rax*8]
	mov	QWORD PTR -6312[rbp], rax
	mov	DWORD PTR -6352[rbp], 0
	mov	rax, QWORD PTR -6312[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -4112[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L191
.L196:
	mov	eax, DWORD PTR -6352[rbp]
	cdqe
	mov	rax, QWORD PTR -4112[rbp+rax*8]
	mov	QWORD PTR -6304[rbp], rax
	mov	DWORD PTR -6348[rbp], 0
	mov	rax, QWORD PTR -6304[rbp]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -2064[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 2048
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L192
.L194:
	mov	eax, DWORD PTR -6348[rbp]
	cdqe
	mov	rax, QWORD PTR -2064[rbp+rax*8]
	mov	QWORD PTR -6296[rbp], rax
	mov	rax, QWORD PTR -6296[rbp]
	mov	rdi, rax
	call	addFreeBlock
	add	QWORD PTR -6328[rbp], 1024
	add	DWORD PTR -6348[rbp], 1
.L192:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L193
	cmp	DWORD PTR -6348[rbp], 255
	jle	.L194
.L193:
	mov	rax, QWORD PTR -6304[rbp]
	mov	rdi, rax
	call	addFreeBlock
	add	DWORD PTR -6352[rbp], 1
.L191:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L195
	cmp	DWORD PTR -6352[rbp], 255
	jle	.L196
.L195:
	mov	rax, QWORD PTR -6312[rbp]
	mov	rdi, rax
	call	addFreeBlock
	add	DWORD PTR -6356[rbp], 1
.L190:
	mov	rax, QWORD PTR -6336[rbp]
	cmp	rax, QWORD PTR -6328[rbp]
	jbe	.L197
	cmp	DWORD PTR -6356[rbp], 255
	jle	.L198
.L197:
	mov	rax, QWORD PTR -6344[rbp]
	mov	rdi, rax
	call	addFreeBlock
.L189:
	movzx	eax, WORD PTR -6288[rbp]
	mov	WORD PTR -6268[rbp], ax
	mov	DWORD PTR -6168[rbp], 0
	movzx	eax, WORD PTR -6288[rbp]
	cwde
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6272[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 112
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	WORD PTR -6288[rbp], -2
	lea	rax, -6288[rbp]
	add	rax, 2
	mov	edx, 14
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rdx, rax
	mov	eax, DWORD PTR -6376[rbp]
	sal	eax, 4
	cdqe
	add	rax, rdx
	mov	rcx, rax
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -6288[rbp]
	mov	eax, DWORD PTR -6388[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L168:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L199
	call	__stack_chk_fail@PLT
.L199:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	rmove, .-rmove
	.globl	ls
	.type	ls, @function
ls:
.LFB28:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	DWORD PTR -36[rbp], 0
	jmp	.L203
.L209:
	mov	eax, DWORD PTR fd[rip]
	lea	rcx, -32[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	movzx	eax, WORD PTR -32[rbp]
	test	ax, ax
	jle	.L204
	lea	rax, -32[rbp]
	add	rax, 2
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L212
	lea	rax, -32[rbp]
	add	rax, 2
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L212
	lea	rax, -32[rbp]
	add	rax, 2
	mov	rdi, rax
	call	puts@PLT
.L204:
	movzx	eax, WORD PTR -32[rbp]
	cmp	ax, -1
	je	.L213
	jmp	.L207
.L212:
	nop
.L207:
	add	DWORD PTR -36[rbp], 1
.L203:
	cmp	DWORD PTR -36[rbp], 63
	jle	.L209
	jmp	.L208
.L213:
	nop
.L208:
	mov	eax, 1
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L211
	call	__stack_chk_fail@PLT
.L211:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	ls, .-ls
	.globl	cd
	.type	cd, @function
cd:
.LFB29:
	.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	eax, DWORD PTR fd[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rsi, rdx
	mov	edi, eax
	mov	eax, 0
	call	opendir
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	cd, .-cd
	.section	.rodata
.LC15:
	.string	"root directory opened"
.LC16:
	.string	"parent directory opened"
	.align 8
.LC17:
	.string	"\n$$ ERROR!!!! NO directiory found$$"
	.text
	.globl	opendir
	.type	opendir, @function
opendir:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR -40[rbp], 0
	mov	rax, QWORD PTR currentInode[rip+16]
	sal	rax, 10
	mov	rcx, rax
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	jmp	.L217
.L225:
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L218
	movzx	eax, WORD PTR -32[rbp]
	test	ax, ax
	jne	.L219
	lea	rdi, .LC15[rip]
	call	puts@PLT
.L219:
	movzx	eax, WORD PTR -32[rbp]
	cwde
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 112
	lea	rsi, currentInode[rip]
	mov	edi, eax
	call	read@PLT
	lea	rdi, .LC16[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L227
.L218:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	checkifFile
	test	eax, eax
	je	.L221
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L227
.L221:
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC7[rip]
	call	strcmp@PLT
	test	eax, eax
	jne	.L222
	mov	eax, 0
	jmp	.L227
.L222:
	lea	rax, -32[rbp]
	lea	rdx, 2[rax]
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L223
	movzx	eax, WORD PTR -32[rbp]
	cwde
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -44[rbp], 1
	jmp	.L224
.L223:
	add	DWORD PTR -48[rbp], 1
	lea	rcx, -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	read@PLT
	add	DWORD PTR -40[rbp], 1
.L217:
	movzx	eax, WORD PTR -32[rbp]
	cmp	ax, -1
	je	.L224
	cmp	DWORD PTR -40[rbp], 63
	jle	.L225
.L224:
	cmp	DWORD PTR -44[rbp], 1
	je	.L226
	lea	rdi, .LC17[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L227
.L226:
	movzx	eax, WORD PTR -32[rbp]
	cwde
	add	eax, 32
	sal	eax, 6
	movsx	rcx, eax
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR -52[rbp]
	mov	edx, 112
	lea	rsi, currentInode[rip]
	mov	edi, eax
	call	read@PLT
	mov	eax, 1
.L227:
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L228
	call	__stack_chk_fail@PLT
.L228:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	opendir, .-opendir
	.section	.rodata
.LC18:
	.string	"fs1 isize=%d\n"
.LC19:
	.string	"fs1 fsize=%d\n"
.LC20:
	.string	"fs1 nfree=%d\n"
	.text
	.globl	printsuper
	.type	printsuper, @function
printsuper:
.LFB31:
	.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 super[rip]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR super[rip+8]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, WORD PTR super[rip+16]
	movzx	eax, ax
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	printsuper, .-printsuper
	.globl	quit
	.type	quit, @function
quit:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 1024
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2032
	lea	rsi, super[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 0
	mov	esi, 2048
	mov	edi, eax
	call	lseek@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 112
	lea	rsi, currentInode[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	quit, .-quit
	.section	.rodata
.LC21:
	.string	"%s %s %s %s"
.LC22:
	.string	"initfs"
.LC23:
	.string	"File System Initialized."
	.align 8
.LC24:
	.string	"opened emulated disk image %s with %d blocks\n"
.LC25:
	.string	"failed!"
	.align 8
.LC26:
	.string	"use: initfs<const char *filename, int fsize,int ninodes >"
.LC27:
	.string	"cpin"
	.align 8
.LC28:
	.string	"File Copied from %s to v6 file :%s\n"
.LC29:
	.string	"File copy failed!"
	.align 8
.LC30:
	.string	"use: cpin<char *filename> <char *v6filename >"
.LC31:
	.string	"cpout"
	.align 8
.LC32:
	.string	"File Copied from %s to ext file :%s\n"
	.align 8
.LC33:
	.string	"use: cpout <const char *v6filename> <char *extfile>"
.LC34:
	.string	"mkdir"
.LC35:
	.string	"directory created : %s \n"
.LC36:
	.string	"directory create failed!"
.LC37:
	.string	"use: mkdir<char *dirname>"
.LC38:
	.string	"cd"
.LC39:
	.string	"directory opened "
.LC40:
	.string	"directory open failed!"
.LC41:
	.string	"use: cd<char *dirname>"
.LC42:
	.string	"rm"
.LC43:
	.string	"file : %s removed \n"
.LC44:
	.string	"deleting file failed!"
.LC45:
	.string	"use: rm<char *filename>"
.LC46:
	.string	"openfs"
	.align 8
.LC47:
	.string	"v6 filesystem : %s is initialized and ready to use \n"
.LC48:
	.string	"Error Opening V6 file system!"
	.align 8
.LC49:
	.string	"use: openfs<const char *filename>"
.LC50:
	.string	"ls"
.LC51:
	.string	"cmd :help for cmd list"
.LC52:
	.string	"q"
	.align 8
.LC53:
	.string	"File System Modifications saved"
.LC54:
	.string	"Bye Bye!!!"
.LC55:
	.string	"psuper"
.LC56:
	.string	"super"
.LC57:
	.string	"help"
	.align 8
.LC58:
	.string	"To initiate a new V6 file system use: initfs"
	.align 8
.LC59:
	.string	"all the operations are subjected to level i.e "
	.align 8
.LC60:
	.string	"until and unless u enter in to directory all operations are done in that directory only"
	.align 8
.LC61:
	.string	"go to that directory  where operations are to be executed"
	.align 8
.LC62:
	.string	"cmd: initfs<const char *filename, int fsize,int ninodes >"
	.align 8
.LC63:
	.string	"ex:initfs C:\\Users\\himas\\Desktop\\test8.data 500 100"
	.align 8
.LC64:
	.string	"cmd: cpin<char *filename> <char *v6filename >"
	.align 8
.LC65:
	.string	"ex: cpin C:\\Users\\himas\\Desktop\\test.txt v6txt.txtn"
	.align 8
.LC66:
	.string	"cmd: cpout <const char *v6filename> <char *extfile>"
	.align 8
.LC67:
	.string	"ex: cpout v6txt.txt C:\\Users\\himas\\Desktop\\tout.txt"
.LC68:
	.string	"cmd: mkdir<char *dirname>"
.LC69:
	.string	"ex: mkdir dir_name"
.LC70:
	.string	"cmd: rm<char *filename>"
.LC71:
	.string	"ex: rm dir_name"
	.align 8
.LC72:
	.string	"cmd: ls for list of files and directories at that level"
.LC73:
	.string	"ex: ls"
	.align 8
.LC74:
	.string	"cmd: cd <dir name> to open directory"
.LC75:
	.string	"ex: cd dir_name"
	.align 8
.LC76:
	.string	"cmd: cd <.> to open parent directory"
.LC77:
	.string	"ex: cd ."
.LC78:
	.string	"cmd: q to quit"
.LC79:
	.string	"ex: q"
	.align 8
.LC80:
	.string	"unknown command: %s input q to exit  or help for commands\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB33:
	.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 1064
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
.L264:
	mov	rax, QWORD PTR prompt[rip]
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	mov	edi, 62
	call	putchar@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -5152[rbp]
	mov	esi, 1024
	mov	rdi, rax
	call	fgets@PLT
	test	rax, rax
	je	.L267
	movzx	eax, BYTE PTR -5152[rbp]
	cmp	al, 10
	je	.L268
	lea	rax, -5152[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	rax, 1
	mov	BYTE PTR -5152[rbp+rax], 0
	lea	rdi, -1056[rbp]
	lea	rsi, -2080[rbp]
	lea	rcx, -3104[rbp]
	lea	rdx, -4128[rbp]
	lea	rax, -5152[rbp]
	mov	r9, rdi
	mov	r8, rsi
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	DWORD PTR -5156[rbp], eax
	cmp	DWORD PTR -5156[rbp], 0
	je	.L269
	lea	rax, -4128[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L238
	cmp	DWORD PTR -5156[rbp], 4
	jne	.L239
	lea	rax, -1056[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	ebx, eax
	lea	rax, -2080[rbp]
	mov	rdi, rax
	call	atoi@PLT
	mov	ecx, eax
	lea	rax, -3104[rbp]
	mov	edx, ebx
	mov	esi, ecx
	mov	rdi, rax
	call	initfs
	test	eax, eax
	je	.L240
	lea	rdi, .LC23[rip]
	call	puts@PLT
	mov	eax, 0
	call	disk_size
	mov	edx, eax
	lea	rax, -3104[rbp]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L240:
	lea	rdi, .LC25[rip]
	call	puts@PLT
	jmp	.L264
.L239:
	lea	rdi, .LC26[rip]
	call	puts@PLT
	jmp	.L264
.L238:
	lea	rax, -4128[rbp]
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L241
	cmp	DWORD PTR -5156[rbp], 3
	jne	.L242
	lea	rdx, -2080[rbp]
	lea	rax, -3104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cpin
	test	eax, eax
	je	.L243
	lea	rdx, -2080[rbp]
	lea	rax, -3104[rbp]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L243:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L264
.L242:
	lea	rdi, .LC30[rip]
	call	puts@PLT
	jmp	.L264
.L241:
	lea	rax, -4128[rbp]
	lea	rsi, .LC31[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L244
	cmp	DWORD PTR -5156[rbp], 3
	jne	.L245
	lea	rdx, -2080[rbp]
	lea	rax, -3104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	cpout
	test	eax, eax
	je	.L246
	lea	rdx, -2080[rbp]
	lea	rax, -3104[rbp]
	mov	rsi, rax
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L246:
	lea	rdi, .LC29[rip]
	call	puts@PLT
	jmp	.L264
.L245:
	lea	rdi, .LC33[rip]
	call	puts@PLT
	jmp	.L264
.L244:
	lea	rax, -4128[rbp]
	lea	rsi, .LC34[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L247
	cmp	DWORD PTR -5156[rbp], 2
	jne	.L248
	lea	rax, -3104[rbp]
	mov	rdi, rax
	call	newdir
	test	eax, eax
	je	.L249
	lea	rax, -3104[rbp]
	mov	rsi, rax
	lea	rdi, .LC35[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L249:
	lea	rdi, .LC36[rip]
	call	puts@PLT
	jmp	.L264
.L248:
	lea	rdi, .LC37[rip]
	call	puts@PLT
	jmp	.L264
.L247:
	lea	rax, -4128[rbp]
	lea	rsi, .LC38[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L250
	cmp	DWORD PTR -5156[rbp], 2
	jne	.L251
	lea	rax, -3104[rbp]
	mov	rdi, rax
	call	cd
	test	eax, eax
	je	.L252
	lea	rdi, .LC39[rip]
	call	puts@PLT
	jmp	.L264
.L252:
	lea	rdi, .LC40[rip]
	call	puts@PLT
	jmp	.L264
.L251:
	lea	rdi, .LC41[rip]
	call	puts@PLT
	jmp	.L264
.L250:
	lea	rax, -4128[rbp]
	lea	rsi, .LC42[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L253
	cmp	DWORD PTR -5156[rbp], 2
	jne	.L254
	lea	rax, -3104[rbp]
	mov	rdi, rax
	call	rm
	test	eax, eax
	je	.L255
	lea	rax, -3104[rbp]
	mov	rsi, rax
	lea	rdi, .LC43[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L255:
	lea	rdi, .LC44[rip]
	call	puts@PLT
	jmp	.L264
.L254:
	lea	rdi, .LC45[rip]
	call	puts@PLT
	jmp	.L264
.L253:
	lea	rax, -4128[rbp]
	lea	rsi, .LC46[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L256
	cmp	DWORD PTR -5156[rbp], 2
	jne	.L257
	lea	rax, -3104[rbp]
	mov	rdi, rax
	call	openfs
	test	eax, eax
	je	.L258
	lea	rax, -3104[rbp]
	mov	rsi, rax
	lea	rdi, .LC47[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L258:
	lea	rdi, .LC48[rip]
	call	puts@PLT
	jmp	.L264
.L257:
	lea	rdi, .LC49[rip]
	call	puts@PLT
	jmp	.L264
.L256:
	lea	rax, -4128[rbp]
	lea	rsi, .LC50[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L259
	mov	eax, 0
	call	ls
	test	eax, eax
	jle	.L264
	lea	rdi, .LC51[rip]
	call	puts@PLT
	jmp	.L264
.L259:
	lea	rax, -4128[rbp]
	lea	rsi, .LC52[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L260
	mov	eax, 0
	call	quit
	test	eax, eax
	jle	.L270
	lea	rdi, .LC53[rip]
	call	puts@PLT
	lea	rdi, .LC54[rip]
	call	puts@PLT
	jmp	.L270
.L260:
	lea	rax, -4128[rbp]
	lea	rsi, .LC55[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L262
	mov	eax, 0
	call	printsuper
	test	eax, eax
	jle	.L264
	lea	rdi, .LC56[rip]
	call	puts@PLT
	jmp	.L264
.L262:
	lea	rax, -4128[rbp]
	lea	rsi, .LC57[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L263
	lea	rdi, .LC58[rip]
	call	puts@PLT
	lea	rdi, .LC59[rip]
	call	puts@PLT
	lea	rdi, .LC60[rip]
	call	puts@PLT
	lea	rdi, .LC61[rip]
	call	puts@PLT
	lea	rdi, .LC62[rip]
	call	puts@PLT
	lea	rdi, .LC63[rip]
	call	puts@PLT
	lea	rdi, .LC64[rip]
	call	puts@PLT
	lea	rdi, .LC65[rip]
	call	puts@PLT
	lea	rdi, .LC66[rip]
	call	puts@PLT
	lea	rdi, .LC67[rip]
	call	puts@PLT
	lea	rdi, .LC68[rip]
	call	puts@PLT
	lea	rdi, .LC69[rip]
	call	puts@PLT
	lea	rdi, .LC70[rip]
	call	puts@PLT
	lea	rdi, .LC71[rip]
	call	puts@PLT
	lea	rdi, .LC72[rip]
	call	puts@PLT
	lea	rdi, .LC73[rip]
	call	puts@PLT
	lea	rdi, .LC74[rip]
	call	puts@PLT
	lea	rdi, .LC75[rip]
	call	puts@PLT
	lea	rdi, .LC76[rip]
	call	puts@PLT
	lea	rdi, .LC77[rip]
	call	puts@PLT
	lea	rdi, .LC78[rip]
	call	puts@PLT
	lea	rdi, .LC79[rip]
	call	puts@PLT
	jmp	.L264
.L263:
	lea	rax, -4128[rbp]
	mov	rsi, rax
	lea	rdi, .LC80[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L264
.L268:
	nop
	jmp	.L264
.L269:
	nop
	jmp	.L264
.L267:
	nop
	jmp	.L234
.L270:
	nop
.L234:
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L266
	call	__stack_chk_fail@PLT
.L266:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.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	"672814.c"
	.text
	.local	diskfile
	.comm	diskfile,4,4
	.local	nblocks
	.comm	nblocks,4,4
	.local	ninodeblocks
	.comm	ninodeblocks,4,4
	.local	filename1
	.comm	filename1,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"fsys\000"
	.data
	.align	2
	.type	prompt, %object
	.size	prompt, 4
prompt:
	.word	.LC0
	.section	.rodata
	.align	2
.LC1:
	.ascii	">\000"
	.data
	.align	2
	.type	end, %object
	.size	end, 4
end:
	.word	.LC1
	.local	fd
	.comm	fd,4,4
	.local	isize
	.comm	isize,4,4
	.local	super
	.comm	super,1024,4
	.local	buffindoe
	.comm	buffindoe,64,4
	.local	rootInode
	.comm	rootInode,64,4
	.local	currentInode
	.comm	currentInode,64,4
	.section	.rodata
	.align	2
.LC2:
	.ascii	"r+\000"
	.align	2
.LC3:
	.ascii	"w+\000"
	.text
	.align	2
	.global	initfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	initfs, %function
initfs:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, .L6
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L6+4
	str	r3, [r2]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r1, .L6+8
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L6+4
	str	r3, [r2]
.L2:
	ldr	r3, .L6+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L3
	mov	r3, #0
	b	.L4
.L3:
	ldr	r3, [fp, #-16]
	add	r2, r3, #15
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #4
	mov	r2, r3
	ldr	r3, .L6+12
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	and	r3, r3, #15
	cmp	r3, #0
	beq	.L5
	ldr	r3, .L6+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L6+12
	str	r3, [r2]
.L5:
	ldr	r3, .L6+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #2
	ldr	r2, .L6+16
	str	r3, [r2]
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	ldr	r3, .L6+16
	ldr	r3, [r3]
	lsl	r3, r3, #10
	mov	r1, r3
	mov	r0, r2
	bl	ftruncate
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	filesetup
	ldr	r3, .L6+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r3, #1
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC2
	.word	diskfile
	.word	.LC3
	.word	ninodeblocks
	.word	nblocks
	.size	initfs, .-initfs
	.align	2
	.global	disk_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	disk_size, %function
disk_size:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L11:
	.align	2
.L10:
	.word	nblocks
	.size	disk_size, .-disk_size
	.align	2
	.global	openfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	openfs, %function
openfs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r1, #2
	ldr	r0, [fp, #-8]
	bl	open
	mov	r3, r0
	ldr	r2, .L14
	str	r3, [r2]
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1024
	mov	r0, r3
	bl	lseek
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L14+4
	mov	r0, r3
	bl	read
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2048
	mov	r0, r3
	bl	lseek
	ldr	r3, .L14
	ldr	r3, [r3]
	mov	r2, #64
	ldr	r1, .L14+8
	mov	r0, r3
	bl	read
	mov	r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	fd
	.word	super
	.word	rootInode
	.size	openfs, .-openfs
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	filesetup
	.syntax unified
	.arm
	.fpu softvfp
	.type	filesetup, %function
filesetup:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, sp
	mov	r4, r3
	ldr	ip, [fp, #-48]
	sub	r3, ip, #1
	str	r3, [fp, #-24]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #9
	orr	r3, r3, r0, lsr #23
	lsl	r2, r0, #9
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #9
	orr	r3, r3, r0, lsr #23
	lsl	r2, r0, #9
	mov	r3, ip
	lsl	r3, r3, #6
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-44]
	ldr	r2, .L22+4
	str	r3, [r2, #4]
	ldr	r3, .L22+4
	mov	r2, #0
	strh	r2, [r3, #10]	@ movhi
	ldr	r3, .L22+8
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L22+4
	strh	r3, [r2, #18]	@ movhi
	ldr	r3, [fp, #-48]
	ldr	r2, .L22+4
	str	r3, [r2]
	ldr	r3, [fp, #-48]
	ldr	r2, .L22+12
	str	r3, [r2]
	mov	r1, #2
	ldr	r0, [fp, #-40]
	bl	open
	mov	r3, r0
	ldr	r2, .L22+16
	str	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L17
.L18:
	ldr	r0, [fp, #-28]
	bl	addInodetoSuper
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r1, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #6
	add	r3, r1, r3
	add	r3, r3, #4
	strh	r2, [r3]	@ movhi
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #6
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #60]
	ldr	r3, .L22+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L22+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #6
	ldr	r2, [fp, #-20]
	add	r3, r2, r3
	mov	r2, #64
	mov	r1, r3
	bl	write
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L17:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L18
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L19
.L20:
	ldr	r3, .L22+8
	ldr	r3, [r3]
	add	r2, r3, #2
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	mov	r0, r3
	bl	addFreeBlock
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L19:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	blt	.L20
	ldr	r3, .L22+16
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1024
	mov	r0, r3
	bl	lseek
	ldr	r3, .L22+16
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L22+4
	mov	r0, r3
	bl	write
	bl	setRootInode
	mov	sp, r4
	nop
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC4
	.word	super
	.word	ninodeblocks
	.word	isize
	.word	fd
	.size	filesetup, .-filesetup
	.section	.rodata
	.align	2
.LC5:
	.ascii	"nfree is full \000"
	.align	2
.LC6:
	.ascii	"logical block to hold free is %d\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	addFreeBlockold
	.syntax unified
	.arm
	.fpu softvfp
	.type	addFreeBlockold, %function
addFreeBlockold:
	@ args = 0, pretend = 0, frame = 624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #624
	str	r0, [fp, #-624]
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L31+4
	ldrh	r3, [r3, #8]
	cmp	r3, #150
	bne	.L25
	ldr	r0, .L31+8
	bl	puts
	ldr	r1, [fp, #-624]
	ldr	r0, .L31+12
	bl	printf
	ldr	r3, .L31+4
	ldrh	r2, [r3, #8]
	sub	r3, fp, #4
	sub	r3, r3, #608
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-616]
	b	.L26
.L27:
	ldr	r2, .L31+4
	ldr	r3, [fp, #-616]
	add	r3, r3, #6
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-616]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-604]
	ldr	r3, [fp, #-616]
	add	r3, r3, #1
	str	r3, [fp, #-616]
.L26:
	ldr	r3, [fp, #-616]
	cmp	r3, #149
	ble	.L27
	ldr	r3, .L31+16
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L31+16
	ldr	r0, [r3]
	ldr	r3, [fp, #-624]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L31+16
	ldr	r3, [r3]
	sub	r1, fp, #612
	mov	r2, #604
	mov	r0, r3
	bl	write
	ldr	r3, .L31+4
	mov	r2, #1
	strh	r2, [r3, #8]	@ movhi
	ldr	r2, .L31+4
	ldr	r3, [fp, #-624]
	str	r3, [r2, #24]
	b	.L28
.L25:
	ldr	r3, .L31+4
	ldrh	r3, [r3, #8]
	ldr	r1, .L31+4
	add	r3, r3, #6
	ldr	r2, [fp, #-624]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L31+4
	ldrh	r3, [r3, #8]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L31+4
	strh	r3, [r2, #8]	@ movhi
.L28:
	mov	r3, #1
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC7
	.word	super
	.word	.LC5
	.word	.LC6
	.word	fd
	.size	addFreeBlockold, .-addFreeBlockold
	.section	.rodata
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	addFreeBlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	addFreeBlock, %function
addFreeBlock:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L42
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	disk_size
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	cmp	r3, r2
	bls	.L34
	mov	r3, #1
	b	.L35
.L34:
	ldr	r3, .L42+4
	ldrh	r3, [r3, #8]
	cmp	r3, #150
	bne	.L36
	mov	r3, #150
	strh	r3, [fp, #-18]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, .L42+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L42+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L42+8
	ldr	r3, [r3]
	sub	r1, fp, #18
	mov	r2, #2
	mov	r0, r3
	bl	write
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L37
.L38:
	ldr	r2, .L42+4
	ldr	r3, [fp, #-12]
	add	r3, r3, #6
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-16]
	ldr	r3, .L42+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L42+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-12]
	lsl	r2, r2, #2
	add	r3, r3, r2
	add	r3, r3, #2
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L42+8
	ldr	r3, [r3]
	sub	r1, fp, #16
	mov	r2, #4
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L37:
	ldr	r3, [fp, #-12]
	cmp	r3, #149
	ble	.L38
	ldr	r3, .L42+4
	mov	r2, #1
	strh	r2, [r3, #8]	@ movhi
	ldr	r2, .L42+4
	ldr	r3, [fp, #-24]
	str	r3, [r2, #24]
	mov	r3, #1
	b	.L35
.L36:
	ldr	r3, .L42+4
	ldrh	r3, [r3, #8]
	cmp	r3, #149
	bhi	.L39
	ldr	r3, .L42+4
	ldrh	r3, [r3, #8]
	ldr	r1, .L42+4
	add	r3, r3, #6
	ldr	r2, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L42+4
	ldrh	r3, [r3, #8]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L42+4
	strh	r3, [r2, #8]	@ movhi
	mov	r3, #1
	b	.L35
.L39:
	ldr	r3, .L42+4
	ldrh	r3, [r3, #8]
	cmp	r3, #150
	bls	.L40
	ldr	r3, .L42+4
	mov	r2, #150
	strh	r2, [r3, #8]	@ movhi
	mov	r3, #1
	b	.L35
.L40:
	mov	r3, #1
.L35:
	ldr	r2, .L42
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L41
	bl	__stack_chk_fail
.L41:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC8
	.word	super
	.word	fd
	.size	addFreeBlock, .-addFreeBlock
	.section	.rodata
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getFreeBlock
	.syntax unified
	.arm
	.fpu softvfp
	.type	getFreeBlock, %function
getFreeBlock:
	@ args = 0, pretend = 0, frame = 624
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #624
	ldr	r3, .L53
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L53+4
	ldrh	r3, [r3, #8]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L53+4
	strh	r3, [r2, #8]	@ movhi
	ldr	r3, .L53+4
	ldrh	r3, [r3, #8]
	cmp	r3, #0
	bne	.L45
	mov	r3, #0
	str	r3, [fp, #-616]
	ldr	r3, .L53+4
	ldrh	r3, [r3, #8]
	ldr	r2, .L53+4
	add	r3, r3, #6
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-616]
	mov	r3, #0
	str	r3, [fp, #-624]
	ldr	r3, .L53+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L53+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-616]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L53+8
	ldr	r0, [r3]
	sub	r3, fp, #624
	sub	r3, r3, #2
	mov	r2, #2
	mov	r1, r3
	bl	read
	sub	r3, fp, #4
	sub	r3, r3, #620
	sub	r3, r3, #2
	ldrh	r3, [r3]
	ldr	r2, .L53+4
	strh	r3, [r2, #8]	@ movhi
	ldr	r3, .L53+4
	ldrh	r3, [r3, #8]
	cmp	r3, #0
	bne	.L46
	mov	r3, #0
	b	.L51
.L46:
	mov	r3, #0
	str	r3, [fp, #-620]
	b	.L48
.L49:
	ldr	r3, .L53+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L53+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-616]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-620]
	lsl	r2, r2, #2
	add	r3, r3, r2
	add	r3, r3, #2
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L53+8
	ldr	r3, [r3]
	sub	r1, fp, #624
	mov	r2, #4
	mov	r0, r3
	bl	read
	ldr	r2, [fp, #-624]
	ldr	r1, .L53+4
	ldr	r3, [fp, #-620]
	add	r3, r3, #6
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-620]
	add	r3, r3, #1
	str	r3, [fp, #-620]
.L48:
	ldr	r3, [fp, #-620]
	cmp	r3, #149
	ble	.L49
	ldr	r3, [fp, #-616]
	b	.L51
.L45:
	ldr	r3, .L53+4
	ldrh	r3, [r3, #8]
	ldr	r2, .L53+4
	add	r3, r3, #6
	ldr	r3, [r2, r3, lsl #2]
.L51:
	ldr	r2, .L53
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L52
	bl	__stack_chk_fail
.L52:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L54:
	.align	2
.L53:
	.word	.LC9
	.word	super
	.word	fd
	.size	getFreeBlock, .-getFreeBlock
	.section	.rodata
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getFreeBlockold
	.syntax unified
	.arm
	.fpu softvfp
	.type	getFreeBlockold, %function
getFreeBlockold:
	@ args = 0, pretend = 0, frame = 616
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #616
	ldr	r3, .L63
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L63+4
	ldrh	r3, [r3, #8]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L63+4
	strh	r3, [r2, #8]	@ movhi
	ldr	r3, .L63+4
	ldrh	r3, [r3, #8]
	cmp	r3, #0
	bne	.L56
	mov	r3, #0
	str	r3, [fp, #-616]
	ldr	r3, .L63+4
	ldrh	r3, [r3, #8]
	ldr	r2, .L63+4
	add	r3, r3, #6
	ldr	r3, [r2, r3, lsl #2]
	str	r3, [fp, #-616]
	ldr	r3, .L63+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	lseek
	ldr	r3, .L63+8
	ldr	r0, [r3]
	ldr	r3, [fp, #-616]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L63+8
	ldr	r0, [r3]
	sub	r3, fp, #612
	add	r3, r3, #4
	mov	r2, #604
	mov	r1, r3
	bl	read
	sub	r3, fp, #612
	add	r3, r3, #4
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L63+4
	strh	r3, [r2, #8]	@ movhi
	ldr	r3, .L63+4
	ldrh	r3, [r3, #8]
	cmp	r3, #0
	bne	.L57
	mov	r3, #0
	b	.L61
.L57:
	mov	r3, #0
	str	r3, [fp, #-620]
	b	.L59
.L60:
	ldr	r3, [fp, #-620]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-604]
	ldr	r1, .L63+4
	ldr	r3, [fp, #-620]
	add	r3, r3, #6
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-620]
	add	r3, r3, #1
	str	r3, [fp, #-620]
.L59:
	ldr	r3, [fp, #-620]
	cmp	r3, #149
	ble	.L60
	ldr	r3, [fp, #-616]
	b	.L61
.L56:
	ldr	r3, .L63+4
	ldrh	r3, [r3, #8]
	ldr	r2, .L63+4
	add	r3, r3, #6
	ldr	r3, [r2, r3, lsl #2]
.L61:
	ldr	r2, .L63
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L64:
	.align	2
.L63:
	.word	.LC10
	.word	super
	.word	fd
	.size	getFreeBlockold, .-getFreeBlockold
	.align	2
	.global	addInodetoSuper
	.syntax unified
	.arm
	.fpu softvfp
	.type	addInodetoSuper, %function
addInodetoSuper:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L68
	ldrh	r3, [r3, #10]
	cmp	r3, #99
	bhi	.L66
	ldr	r3, .L68
	ldrh	r3, [r3, #10]
	ldr	r2, [fp, #-8]
	ldr	r1, .L68
	add	r3, r3, #156
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L68
	ldrh	r3, [r3, #10]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L68
	strh	r3, [r2, #10]	@ movhi
	mov	r3, #1
	b	.L67
.L66:
	mov	r3, #0
.L67:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L69:
	.align	2
.L68:
	.word	super
	.size	addInodetoSuper, .-addInodetoSuper
	.section	.rodata
	.align	2
.LC11:
	.ascii	".\000"
	.align	2
.LC12:
	.ascii	"..\000"
	.align	2
.LC13:
	.ascii	"....\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	setRootInode
	.syntax unified
	.arm
	.fpu softvfp
	.type	setRootInode, %function
setRootInode:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L74
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L74+4
	mvn	r2, #15872
	strh	r2, [r3]	@ movhi
	ldr	r3, .L74+4
	mov	r2, #1
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L74+4
	mov	r2, #0
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, .L74+4
	mov	r2, #0
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #8]
	bl	getFreeBlock
	mov	r3, r0
	ldr	r2, .L74+4
	str	r3, [r2, #12]
	ldr	r3, .L74+4
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L74+4
	mov	r2, #0
	strh	r2, [r3, #56]	@ movhi
	ldr	r3, .L74+4
	mov	r2, #0
	strh	r2, [r3, #58]	@ movhi
	ldr	r3, .L74+4
	mov	r2, #1
	str	r2, [r3, #60]
	ldr	r3, .L74+8
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2048
	mov	r0, r3
	bl	lseek
	ldr	r3, .L74+8
	ldr	r3, [r3]
	mov	r2, #64
	ldr	r1, .L74+4
	mov	r0, r3
	bl	write
	mov	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L74+12
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L74+8
	ldr	r0, [r3]
	ldr	r3, .L74+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L74+8
	ldr	r3, [r3]
	sub	r1, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	write
	mov	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L74+16
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L74+8
	ldr	r3, [r3]
	sub	r1, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	write
	mov	r3, #2
	str	r3, [fp, #-28]
	b	.L71
.L72:
	mvn	r3, #0
	strh	r3, [fp, #-24]	@ movhi
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L74+20
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L74+8
	ldr	r3, [r3]
	sub	r1, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	write
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L71:
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	ble	.L72
	ldr	r2, .L74+24
	ldr	r3, .L74+4
	mov	ip, r2
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	nop
	ldr	r2, .L74
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L73
	bl	__stack_chk_fail
.L73:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L75:
	.align	2
.L74:
	.word	.LC14
	.word	rootInode
	.word	fd
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	currentInode
	.size	setRootInode, .-setRootInode
	.align	2
	.global	getInode
	.syntax unified
	.arm
	.fpu softvfp
	.type	getInode, %function
getInode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L79
	ldrh	r3, [r3, #10]
	cmp	r3, #0
	bne	.L77
	bl	scanforInodes
	bl	getInode
	mov	r3, r0
	b	.L78
.L77:
	ldr	r3, .L79
	ldrh	r3, [r3, #10]
	sub	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L79
	strh	r3, [r2, #10]	@ movhi
	ldr	r3, .L79
	ldrh	r3, [r3, #10]
	ldr	r2, .L79
	add	r3, r3, #156
	ldr	r3, [r2, r3, lsl #2]
.L78:
	mov	r0, r3
	pop	{fp, pc}
.L80:
	.align	2
.L79:
	.word	super
	.size	getInode, .-getInode
	.section	.rodata
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	scanforInodes
	.syntax unified
	.arm
	.fpu softvfp
	.type	scanforInodes, %function
scanforInodes:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #2048
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L82
.L86:
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #6
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	add	r3, r3, #60
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	ldr	r3, .L89+4
	ldr	r3, [r3]
	sub	r1, fp, #20
	mov	r2, #4
	mov	r0, r3
	bl	read
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L83
	ldr	r3, .L89+8
	ldrh	r3, [r3, #10]
	cmp	r3, #99
	bhi	.L88
	ldr	r3, .L89+8
	ldrh	r3, [r3, #10]
	ldr	r2, [fp, #-16]
	ldr	r1, .L89+8
	add	r3, r3, #156
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L89+8
	ldrh	r3, [r3, #10]
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	ldr	r2, .L89+8
	strh	r3, [r2, #10]	@ movhi
.L83:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L82:
	ldr	r2, [fp, #-16]
	ldr	r3, .L89+12
	ldr	r3, [r3]
	cmp	r2, r3
	bcc	.L86
	b	.L85
.L88:
	nop
.L85:
	nop
	ldr	r2, .L89
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L87
	bl	__stack_chk_fail
.L87:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC15
	.word	fd
	.word	super
	.word	isize
	.size	scanforInodes, .-scanforInodes
	.align	2
	.global	checkifFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	checkifFile, %function
checkifFile:
	@ 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	.L92
.L95:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L93
	mov	r3, #1
	b	.L94
.L93:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L92:
	ldr	r0, [fp, #-16]
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	bhi	.L95
	mov	r3, #0
.L94:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	checkifFile, .-checkifFile
	.align	2
	.global	cpin
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpin, %function
cpin:
	@ 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]
	mov	r1, #2
	ldr	r0, [fp, #-16]
	bl	open
	str	r0, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r2, #2
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	lseek
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L98
	ldr	r0, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-12]
	bl	copyfile
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L99:
	.align	2
.L98:
	.word	fd
	.size	cpin, .-cpin
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Error copying file\000"
	.align	2
.LC17:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	copyfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	copyfile, %function
copyfile:
	@ args = 0, pretend = 0, frame = 1200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1200
	str	r0, [fp, #-1192]
	str	r1, [fp, #-1196]
	str	r2, [fp, #-1200]
	str	r3, [fp, #-1204]
	ldr	r3, .L139
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-1196]
	bl	lseek
	str	r0, [fp, #-1152]
	ldr	r3, [fp, #-1152]
	cmp	r3, #0
	bge	.L101
	ldr	r0, .L139+4
	bl	puts
	mov	r3, #0
	b	.L133
.L101:
	bl	getInode
	mov	r2, r0
	sub	r3, fp, #4
	sub	r3, r3, #1168
	sub	r3, r3, #14
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-1180]
	ldr	r3, .L139+8
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	mov	r3, #0
	str	r3, [fp, #-1176]
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	read
	b	.L103
.L108:
	sub	r3, fp, #4
	sub	r3, r3, #1104
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #1
	beq	.L135
	sub	r3, fp, #4
	sub	r3, r3, #1104
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #2
	beq	.L136
	sub	r3, fp, #4
	sub	r3, r3, #1104
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmp	r3, #0
	blt	.L137
	ldr	r3, [fp, #-1180]
	add	r3, r3, #1
	str	r3, [fp, #-1180]
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	read
	ldr	r3, [fp, #-1176]
	add	r3, r3, #1
	str	r3, [fp, #-1176]
.L103:
	sub	r3, fp, #4
	sub	r3, r3, #1104
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #1
	bne	.L108
	sub	r3, fp, #4
	sub	r3, r3, #1104
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #2
	beq	.L105
	ldr	r3, [fp, #-1176]
	cmp	r3, #63
	ble	.L108
	b	.L105
.L135:
	nop
	b	.L105
.L136:
	nop
	b	.L105
.L137:
	nop
.L105:
	sub	r3, fp, #4
	sub	r3, r3, #1104
	sub	r3, r3, #4
	sub	r2, fp, #4
	sub	r2, r2, #1168
	sub	r2, r2, #14
	ldrh	r2, [r2]	@ movhi
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, [fp, #-1204]
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L139+8
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-1180]
	lsl	r2, r2, #4
	add	r3, r3, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	sub	r3, fp, #1104
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	write
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-1148]
	ldr	r3, [fp, #-1200]
	lsr	r3, r3, #10
	str	r3, [fp, #-1144]
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #4
	mvn	r2, #32256
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3, #2]	@ movhi
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #4
	sub	r2, fp, #4
	sub	r2, r2, #1168
	sub	r2, r2, #14
	ldrh	r2, [r2]	@ movhi
	strh	r2, [r3, #4]	@ movhi
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3, #6]	@ movhi
	ldr	r3, [fp, #-1200]
	str	r3, [fp, #-1088]
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #4
	mov	r2, #0
	strh	r2, [r3, #56]	@ movhi
	sub	r3, fp, #4
	sub	r3, r3, #1088
	sub	r3, r3, #4
	mov	r2, #1
	strh	r2, [r3, #58]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-1036]
	mov	r3, #0
	str	r3, [fp, #-1172]
	b	.L109
.L114:
	bl	getFreeBlock
	str	r0, [fp, #-1140]
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	beq	.L138
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L112
	ldr	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1196]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1196]
	bl	read
	ldr	r3, [fp, #-1140]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1192]
	bl	write
	ldr	r3, [fp, #-1184]
	add	r3, r3, #1024
	str	r3, [fp, #-1184]
	b	.L113
.L112:
	ldr	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1196]
	bl	lseek
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1196]
	bl	read
	ldr	r3, [fp, #-1140]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1192]
	bl	write
	ldr	r3, [fp, #-1200]
	str	r3, [fp, #-1184]
.L113:
	ldr	r3, [fp, #-1172]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-1140]
	str	r2, [r3, #-1088]
	ldr	r3, [fp, #-1172]
	add	r3, r3, #1
	str	r3, [fp, #-1172]
.L109:
	ldr	r3, [fp, #-1172]
	cmp	r3, #7
	bgt	.L111
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bhi	.L114
	b	.L111
.L138:
	nop
.L111:
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bls	.L115
	bl	getFreeBlock
	str	r0, [fp, #-1136]
	mov	r3, #0
	str	r3, [fp, #-1168]
	b	.L116
.L120:
	bl	getFreeBlock
	str	r0, [fp, #-1132]
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L117
	ldr	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1196]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1196]
	bl	read
	ldr	r3, [fp, #-1132]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1192]
	bl	write
	ldr	r3, [fp, #-1184]
	add	r3, r3, #1024
	str	r3, [fp, #-1184]
	b	.L118
.L117:
	ldr	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1196]
	bl	lseek
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1196]
	bl	read
	ldr	r3, [fp, #-1132]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1192]
	bl	write
	ldr	r3, [fp, #-1200]
	str	r3, [fp, #-1184]
.L118:
	ldr	r3, [fp, #-1168]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-1132]
	str	r2, [r3, #-1028]
	ldr	r3, [fp, #-1168]
	add	r3, r3, #1
	str	r3, [fp, #-1168]
.L116:
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bls	.L119
	ldr	r3, [fp, #-1168]
	cmp	r3, #255
	ble	.L120
.L119:
	ldr	r3, [fp, #-1136]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	read
	ldr	r3, [fp, #-1136]
	str	r3, [fp, #-1052]
.L115:
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bls	.L121
	bl	getFreeBlock
	str	r0, [fp, #-1128]
	mov	r3, #0
	str	r3, [fp, #-1164]
	b	.L122
.L132:
	bl	getFreeBlock
	str	r0, [fp, #-1124]
	mov	r3, #0
	str	r3, [fp, #-1160]
	b	.L123
.L130:
	bl	getFreeBlock
	str	r0, [fp, #-1120]
	mov	r3, #0
	str	r3, [fp, #-1156]
	b	.L124
.L128:
	bl	getFreeBlock
	str	r0, [fp, #-1116]
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L125
	ldr	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1196]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1196]
	bl	read
	ldr	r3, [fp, #-1116]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1192]
	bl	write
	ldr	r3, [fp, #-1184]
	add	r3, r3, #1024
	str	r3, [fp, #-1184]
	b	.L126
.L125:
	ldr	r3, [fp, #-1184]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1196]
	bl	lseek
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1196]
	bl	read
	ldr	r3, [fp, #-1116]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-1148]
	ldr	r0, [fp, #-1192]
	bl	write
	ldr	r3, [fp, #-1200]
	str	r3, [fp, #-1184]
.L126:
	ldr	r3, [fp, #-1156]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-1116]
	str	r2, [r3, #-1028]
	ldr	r3, [fp, #-1156]
	add	r3, r3, #1
	str	r3, [fp, #-1156]
.L124:
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bls	.L127
	ldr	r3, [fp, #-1156]
	cmp	r3, #255
	ble	.L128
.L127:
	ldr	r3, [fp, #-1120]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	read
	ldr	r3, [fp, #-1160]
	add	r3, r3, #1
	str	r3, [fp, #-1160]
.L123:
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bls	.L129
	ldr	r3, [fp, #-1160]
	cmp	r3, #255
	ble	.L130
.L129:
	ldr	r3, [fp, #-1124]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	read
	ldr	r3, [fp, #-1164]
	add	r3, r3, #1
	str	r3, [fp, #-1164]
.L122:
	ldr	r2, [fp, #-1200]
	ldr	r3, [fp, #-1184]
	cmp	r2, r3
	bls	.L131
	ldr	r3, [fp, #-1164]
	cmp	r3, #255
	ble	.L132
.L131:
	ldr	r3, [fp, #-1128]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	read
	ldr	r3, [fp, #-1128]
	str	r3, [fp, #-1048]
.L121:
	sub	r3, fp, #4
	sub	r3, r3, #1168
	sub	r3, r3, #14
	ldrsh	r3, [r3]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	lseek
	sub	r3, fp, #1088
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #64
	mov	r1, r3
	ldr	r0, [fp, #-1192]
	bl	write
	mov	r3, #1
.L133:
	ldr	r2, .L139
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L134
	bl	__stack_chk_fail
.L134:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L140:
	.align	2
.L139:
	.word	.LC17
	.word	.LC16
	.word	currentInode
	.size	copyfile, .-copyfile
	.align	2
	.global	newdir
	.syntax unified
	.arm
	.fpu softvfp
	.type	newdir, %function
newdir:
	@ 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, .L143
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	makeDir
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L144:
	.align	2
.L143:
	.word	fd
	.size	newdir, .-newdir
	.section	.rodata
	.align	2
.LC18:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	makeDir
	.syntax unified
	.arm
	.fpu softvfp
	.type	makeDir, %function
makeDir:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L153
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	getInode
	mov	r3, r0
	strh	r3, [fp, #-102]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r3, .L153+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	lseek
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L146
.L149:
	ldrsh	r3, [fp, #-88]
	cmn	r3, #1
	beq	.L147
	ldrsh	r3, [fp, #-88]
	cmn	r3, #2
	beq	.L147
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	read
	ldr	r3, [fp, #-96]
	add	r3, r3, #1
	str	r3, [fp, #-96]
.L146:
	ldrsh	r3, [fp, #-88]
	cmn	r3, #1
	bne	.L148
	ldrsh	r3, [fp, #-88]
	cmn	r3, #2
	beq	.L147
.L148:
	ldr	r3, [fp, #-96]
	cmp	r3, #63
	ble	.L149
.L147:
	ldrh	r3, [fp, #-102]	@ movhi
	strh	r3, [fp, #-88]	@ movhi
	sub	r3, fp, #88
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, [fp, #-116]
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L153+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-100]
	lsl	r2, r2, #4
	add	r3, r3, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	lseek
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	write
	ldr	r3, .L153+8
	strh	r3, [fp, #-72]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-70]	@ movhi
	ldrh	r3, [fp, #-102]	@ movhi
	strh	r3, [fp, #-68]	@ movhi
	mov	r3, #0
	strh	r3, [fp, #-66]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-64]
	mov	r3, #0
	strh	r3, [fp, #-16]	@ movhi
	mov	r3, #1
	strh	r3, [fp, #-14]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-12]
	bl	getFreeBlock
	mov	r3, r0
	str	r3, [fp, #-60]
	ldrsh	r3, [fp, #-102]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	lseek
	sub	r3, fp, #72
	mov	r2, #64
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	write
	ldr	r3, .L153+4
	ldrsh	r3, [r3, #4]
	strh	r3, [fp, #-88]	@ movhi
	sub	r3, fp, #88
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L153+12
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	lseek
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	write
	ldrsh	r3, [fp, #-68]
	strh	r3, [fp, #-88]	@ movhi
	sub	r3, fp, #88
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L153+16
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	write
	mov	r3, #2
	str	r3, [fp, #-92]
	b	.L150
.L151:
	mvn	r3, #0
	strh	r3, [fp, #-88]	@ movhi
	sub	r3, fp, #88
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L153+20
	mov	r0, r3
	bl	strncpy
	sub	r3, fp, #88
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	write
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L150:
	ldr	r3, [fp, #-92]
	cmp	r3, #63
	ble	.L151
	nop
	ldr	r2, .L153
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L152
	bl	__stack_chk_fail
.L152:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L154:
	.align	2
.L153:
	.word	.LC18
	.word	currentInode
	.word	-15891
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	makeDir, .-makeDir
	.align	2
	.global	cpout
	.syntax unified
	.arm
	.fpu softvfp
	.type	cpout, %function
cpout:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, .L157
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	copyout
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L158:
	.align	2
.L157:
	.word	fd
	.size	cpout, .-cpout
	.section	.rodata
	.align	2
.LC19:
	.ascii	"\012$$ ERROR !!! SOURCE FILE DOES NOT EXISTS $$\000"
	.align	2
.LC20:
	.ascii	"\012## CREATING NEW EXTERNAL FILE\000"
	.align	2
.LC21:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	copyout
	.syntax unified
	.arm
	.fpu softvfp
	.type	copyout, %function
copyout:
	@ args = 0, pretend = 0, frame = 3256
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3248
	sub	sp, sp, #8
	str	r0, [fp, #-3248]
	str	r1, [fp, #-3252]
	str	r2, [fp, #-3256]
	ldr	r3, .L192
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3240]
	mov	r3, #0
	str	r3, [fp, #-3236]
	mov	r0, #1024
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-3200]
	mov	r3, #0
	str	r3, [fp, #-3228]
	ldr	r3, .L192+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	b	.L160
.L164:
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #1
	beq	.L191
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-3252]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L163
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	str	r3, [fp, #-3232]
	mov	r3, #1
	str	r3, [fp, #-3236]
	b	.L162
.L163:
	ldr	r3, [fp, #-3240]
	add	r3, r3, #1
	str	r3, [fp, #-3240]
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3228]
	add	r3, r3, #1
	str	r3, [fp, #-3228]
.L160:
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #1
	beq	.L162
	ldr	r3, [fp, #-3228]
	cmp	r3, #63
	ble	.L164
	b	.L162
.L191:
	nop
.L162:
	ldr	r3, [fp, #-3236]
	cmp	r3, #1
	beq	.L165
	ldr	r0, .L192+8
	bl	puts
	mov	r3, #1
	b	.L159
.L165:
	ldr	r3, [fp, #-3232]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	sub	r3, fp, #3136
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #64
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r0, .L192+12
	bl	puts
	ldr	r3, [fp, #-3136]
	str	r3, [fp, #-3196]
	ldr	r1, [fp, #-3196]
	ldr	r0, [fp, #-3256]
	bl	createfile
	mov	r1, #2
	ldr	r0, [fp, #-3256]
	bl	open
	str	r0, [fp, #-3192]
	mov	r3, #0
	str	r3, [fp, #-3224]
	mov	r3, #0
	str	r3, [fp, #-3220]
	b	.L167
.L171:
	ldr	r3, [fp, #-3220]
	add	r3, r3, #2
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3136]
	str	r3, [fp, #-3188]
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L168
	ldr	r3, [fp, #-3188]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3224]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3192]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3192]
	bl	write
	ldr	r3, [fp, #-3224]
	add	r3, r3, #1024
	str	r3, [fp, #-3224]
	b	.L169
.L168:
	ldr	r3, [fp, #-3188]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3224]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3192]
	bl	lseek
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3192]
	bl	write
	ldr	r3, [fp, #-3196]
	str	r3, [fp, #-3224]
.L169:
	ldr	r3, [fp, #-3220]
	add	r3, r3, #1
	str	r3, [fp, #-3220]
.L167:
	ldr	r3, [fp, #-3220]
	cmp	r3, #7
	bgt	.L170
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bhi	.L171
.L170:
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bls	.L172
	ldr	r3, [fp, #-3100]
	str	r3, [fp, #-3184]
	mov	r3, #0
	str	r3, [fp, #-3216]
	ldr	r3, [fp, #-3184]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	b	.L173
.L177:
	ldr	r3, [fp, #-3216]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-3180]
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L174
	ldr	r3, [fp, #-3180]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3224]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3192]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3192]
	bl	write
	ldr	r3, [fp, #-3224]
	add	r3, r3, #1024
	str	r3, [fp, #-3224]
	b	.L175
.L174:
	ldr	r3, [fp, #-3180]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3224]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3192]
	bl	lseek
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3192]
	bl	write
	ldr	r3, [fp, #-3196]
	str	r3, [fp, #-3224]
.L175:
	ldr	r3, [fp, #-3216]
	add	r3, r3, #1
	str	r3, [fp, #-3216]
.L173:
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bls	.L172
	ldr	r3, [fp, #-3216]
	cmp	r3, #255
	ble	.L177
.L172:
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bls	.L178
	ldr	r3, [fp, #-3096]
	str	r3, [fp, #-3176]
	mov	r3, #0
	str	r3, [fp, #-3212]
	ldr	r3, [fp, #-3176]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	b	.L179
.L189:
	ldr	r3, [fp, #-3212]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3076]
	str	r3, [fp, #-3172]
	mov	r3, #0
	str	r3, [fp, #-3208]
	ldr	r3, [fp, #-3172]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	b	.L180
.L187:
	ldr	r3, [fp, #-3208]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2052]
	str	r3, [fp, #-3168]
	mov	r3, #0
	str	r3, [fp, #-3204]
	ldr	r3, [fp, #-3168]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	read
	b	.L181
.L185:
	ldr	r3, [fp, #-3204]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-3164]
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	cmp	r3, #1024
	bcc	.L182
	ldr	r3, [fp, #-3164]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3224]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3192]
	bl	lseek
	mov	r2, #1024
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3192]
	bl	write
	ldr	r3, [fp, #-3224]
	add	r3, r3, #1024
	str	r3, [fp, #-3224]
	b	.L183
.L182:
	ldr	r3, [fp, #-3164]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3248]
	bl	lseek
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3248]
	bl	read
	ldr	r3, [fp, #-3224]
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3192]
	bl	lseek
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r1, [fp, #-3200]
	ldr	r0, [fp, #-3192]
	bl	write
	ldr	r3, [fp, #-3196]
	str	r3, [fp, #-3224]
.L183:
	ldr	r3, [fp, #-3204]
	add	r3, r3, #1
	str	r3, [fp, #-3204]
.L181:
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bls	.L184
	ldr	r3, [fp, #-3204]
	cmp	r3, #255
	ble	.L185
.L184:
	ldr	r3, [fp, #-3208]
	add	r3, r3, #1
	str	r3, [fp, #-3208]
.L180:
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bls	.L186
	ldr	r3, [fp, #-3208]
	cmp	r3, #255
	ble	.L187
.L186:
	ldr	r3, [fp, #-3212]
	add	r3, r3, #1
	str	r3, [fp, #-3212]
.L179:
	ldr	r2, [fp, #-3196]
	ldr	r3, [fp, #-3224]
	cmp	r2, r3
	bls	.L178
	ldr	r3, [fp, #-3212]
	cmp	r3, #255
	ble	.L189
.L178:
.L159:
	ldr	r2, .L192
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L190
	bl	__stack_chk_fail
.L190:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L193:
	.align	2
.L192:
	.word	.LC21
	.word	currentInode
	.word	.LC19
	.word	.LC20
	.size	copyout, .-copyout
	.align	2
	.global	createfile
	.syntax unified
	.arm
	.fpu softvfp
	.type	createfile, %function
createfile:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r1, .L198
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L198+4
	str	r3, [r2]
	ldr	r3, .L198+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L195
	ldr	r1, .L198+8
	ldr	r0, [fp, #-8]
	bl	fopen
	mov	r3, r0
	ldr	r2, .L198+4
	str	r3, [r2]
.L195:
	ldr	r3, .L198+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L196
	mov	r3, #0
	b	.L197
.L196:
	ldr	r3, .L198+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fileno
	mov	r2, r0
	ldr	r3, [fp, #-12]
	mov	r1, r3
	mov	r0, r2
	bl	ftruncate
	ldr	r3, .L198+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fclose
	mov	r3, #1
.L197:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L199:
	.align	2
.L198:
	.word	.LC2
	.word	diskfile
	.word	.LC3
	.size	createfile, .-createfile
	.align	2
	.global	rm
	.syntax unified
	.arm
	.fpu softvfp
	.type	rm, %function
rm:
	@ 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, .L202
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	rmove
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L203:
	.align	2
.L202:
	.word	fd
	.size	rm, .-rm
	.section	.rodata
	.align	2
.LC22:
	.ascii	"\012$$ ERROR!!!! SOURCE FILE DOES NOT EXISTS $$\000"
	.align	2
.LC23:
	.ascii	"...\000"
	.align	2
.LC24:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rmove
	.syntax unified
	.arm
	.fpu softvfp
	.type	rmove, %function
rmove:
	@ args = 0, pretend = 0, frame = 3224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3216
	sub	sp, sp, #8
	str	r0, [fp, #-3224]
	str	r1, [fp, #-3228]
	ldr	r3, .L238
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3216]
	mov	r3, #0
	str	r3, [fp, #-3212]
	mov	r3, #0
	str	r3, [fp, #-3204]
	mov	r3, #0
	str	r3, [fp, #-3200]
	ldr	r3, .L238+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	b	.L205
.L210:
	ldr	r1, [fp, #-3228]
	ldr	r0, .L238+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L205
	ldr	r1, [fp, #-3228]
	ldr	r0, .L238+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L207
	b	.L205
.L207:
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-3228]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L208
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	str	r3, [fp, #-3208]
	mov	r3, #1
	str	r3, [fp, #-3212]
	b	.L209
.L208:
	ldr	r3, [fp, #-3216]
	add	r3, r3, #1
	str	r3, [fp, #-3216]
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
.L205:
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	cmn	r3, #1
	bne	.L210
.L209:
	ldr	r3, [fp, #-3212]
	cmp	r3, #1
	beq	.L211
	ldr	r0, .L238+16
	bl	puts
	mov	r3, #1
	b	.L204
.L211:
	ldr	r3, [fp, #-3208]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3136
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #64
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	ldr	r3, [fp, #-3136]
	str	r3, [fp, #-3204]
	mov	r3, #0
	str	r3, [fp, #-3196]
	b	.L213
.L218:
	ldr	r3, [fp, #-3204]
	cmp	r3, #0
	bne	.L214
	mov	r3, #1
	str	r3, [fp, #-3204]
.L214:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L236
	mov	r3, #0
	str	r3, [fp, #-3220]
	ldr	r3, [fp, #-3208]
	add	r3, r3, #32
	lsl	r3, r3, #6
	add	r2, r3, #12
	ldr	r3, [fp, #-3196]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3216
	sub	r3, r3, #4
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	ldr	r3, [fp, #-3220]
	mov	r0, r3
	bl	addFreeBlock
	ldr	r3, [fp, #-3200]
	add	r3, r3, #1024
	str	r3, [fp, #-3200]
	ldr	r3, [fp, #-3196]
	add	r3, r3, #1
	str	r3, [fp, #-3196]
.L213:
	ldr	r3, [fp, #-3196]
	cmp	r3, #7
	ble	.L218
	b	.L217
.L236:
	nop
.L217:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L219
	mov	r3, #0
	str	r3, [fp, #-3220]
	ldr	r3, [fp, #-3208]
	add	r3, r3, #32
	lsl	r3, r3, #6
	add	r3, r3, #44
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3216
	sub	r3, r3, #4
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-3192]
	ldr	r3, [fp, #-3220]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	b	.L220
.L224:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L237
	ldr	r3, [fp, #-3192]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-3176]
	ldr	r0, [fp, #-3176]
	bl	addFreeBlock
	ldr	r3, [fp, #-3200]
	add	r3, r3, #1024
	str	r3, [fp, #-3200]
	ldr	r3, [fp, #-3192]
	add	r3, r3, #1
	str	r3, [fp, #-3192]
.L220:
	ldr	r3, [fp, #-3192]
	cmp	r3, #255
	ble	.L224
	b	.L219
.L237:
	nop
.L219:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L225
	mov	r3, #0
	str	r3, [fp, #-3220]
	ldr	r3, [fp, #-3208]
	add	r3, r3, #32
	lsl	r3, r3, #6
	add	r3, r3, #48
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3216
	sub	r3, r3, #4
	mov	r2, #4
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-3188]
	ldr	r3, [fp, #-3220]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	b	.L226
.L234:
	ldr	r3, [fp, #-3188]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-3076]
	str	r3, [fp, #-3172]
	mov	r3, #0
	str	r3, [fp, #-3184]
	ldr	r3, [fp, #-3172]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #2048
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	b	.L227
.L232:
	ldr	r3, [fp, #-3184]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-2052]
	str	r3, [fp, #-3168]
	mov	r3, #0
	str	r3, [fp, #-3180]
	ldr	r3, [fp, #-3168]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #1024
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	read
	b	.L228
.L230:
	ldr	r3, [fp, #-3180]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-1028]
	str	r3, [fp, #-3164]
	ldr	r0, [fp, #-3164]
	bl	addFreeBlock
	ldr	r3, [fp, #-3200]
	add	r3, r3, #1024
	str	r3, [fp, #-3200]
	ldr	r3, [fp, #-3180]
	add	r3, r3, #1
	str	r3, [fp, #-3180]
.L228:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L229
	ldr	r3, [fp, #-3180]
	cmp	r3, #255
	ble	.L230
.L229:
	ldr	r0, [fp, #-3168]
	bl	addFreeBlock
	ldr	r3, [fp, #-3184]
	add	r3, r3, #1
	str	r3, [fp, #-3184]
.L227:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L231
	ldr	r3, [fp, #-3184]
	cmp	r3, #255
	ble	.L232
.L231:
	ldr	r0, [fp, #-3172]
	bl	addFreeBlock
	ldr	r3, [fp, #-3188]
	add	r3, r3, #1
	str	r3, [fp, #-3188]
.L226:
	ldr	r2, [fp, #-3204]
	ldr	r3, [fp, #-3200]
	cmp	r2, r3
	bls	.L233
	ldr	r3, [fp, #-3188]
	cmp	r3, #255
	ble	.L234
.L233:
	ldr	r3, [fp, #-3220]
	mov	r0, r3
	bl	addFreeBlock
.L225:
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r2, [r3]
	sub	r3, fp, #4
	sub	r3, r3, #3136
	sub	r3, r3, #4
	strh	r2, [r3, #4]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-3084]
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	ldrsh	r3, [r3]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3136
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #64
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	write
	sub	r3, fp, #4
	sub	r3, r3, #3152
	sub	r3, r3, #4
	mvn	r2, #1
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	add	r3, r3, #2
	mov	r2, #14
	ldr	r1, .L238+20
	mov	r0, r3
	bl	strncpy
	ldr	r3, .L238+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	ldr	r2, [fp, #-3216]
	lsl	r2, r2, #4
	add	r3, r3, r2
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	lseek
	sub	r3, fp, #3152
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-3224]
	bl	write
.L204:
	ldr	r2, .L238
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L235
	bl	__stack_chk_fail
.L235:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L239:
	.align	2
.L238:
	.word	.LC24
	.word	currentInode
	.word	.LC11
	.word	.LC12
	.word	.LC22
	.word	.LC23
	.size	rmove, .-rmove
	.section	.rodata
	.align	2
.LC25:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ls
	.syntax unified
	.arm
	.fpu softvfp
	.type	ls, %function
ls:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L252
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L252+4
	ldr	r0, [r3]
	ldr	r3, .L252+8
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	bl	lseek
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L241
.L247:
	ldr	r3, .L252+4
	ldr	r3, [r3]
	sub	r1, fp, #24
	mov	r2, #16
	mov	r0, r3
	bl	read
	ldrsh	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L242
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L252+12
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L250
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L252+16
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L250
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r0, r3
	bl	puts
.L242:
	ldrsh	r3, [fp, #-24]
	cmn	r3, #1
	beq	.L251
	b	.L245
.L250:
	nop
.L245:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L241:
	ldr	r3, [fp, #-28]
	cmp	r3, #63
	ble	.L247
	b	.L246
.L251:
	nop
.L246:
	mov	r3, #1
	ldr	r2, .L252
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L249
	bl	__stack_chk_fail
.L249:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L253:
	.align	2
.L252:
	.word	.LC25
	.word	fd
	.word	currentInode
	.word	.LC12
	.word	.LC23
	.size	ls, .-ls
	.align	2
	.global	cd
	.syntax unified
	.arm
	.fpu softvfp
	.type	cd, %function
cd:
	@ 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, .L256
	ldr	r3, [r3]
	ldr	r1, [fp, #-8]
	mov	r0, r3
	bl	opendir
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L257:
	.align	2
.L256:
	.word	fd
	.size	cd, .-cd
	.section	.rodata
	.align	2
.LC26:
	.ascii	"root directory opened\000"
	.align	2
.LC27:
	.ascii	"parent directory opened\000"
	.align	2
.LC28:
	.ascii	"\012$$ ERROR!!!! NO directiory found$$\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	opendir
	.syntax unified
	.arm
	.fpu softvfp
	.type	opendir, %function
opendir:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L271
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-40]
	mov	r3, #0
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, .L271+4
	ldr	r3, [r3, #12]
	lsl	r3, r3, #10
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	lseek
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	read
	b	.L259
.L267:
	ldr	r1, [fp, #-52]
	ldr	r0, .L271+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L260
	ldrsh	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L261
	ldr	r0, .L271+12
	bl	puts
.L261:
	ldrsh	r3, [fp, #-24]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	lseek
	mov	r2, #64
	ldr	r1, .L271+4
	ldr	r0, [fp, #-48]
	bl	read
	ldr	r0, .L271+16
	bl	puts
	mov	r3, #1
	b	.L269
.L260:
	ldr	r0, [fp, #-52]
	bl	checkifFile
	mov	r3, r0
	cmp	r3, #0
	beq	.L263
	ldr	r0, .L271+20
	bl	puts
	mov	r3, #0
	b	.L269
.L263:
	ldr	r1, [fp, #-52]
	ldr	r0, .L271+24
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L264
	mov	r3, #0
	b	.L269
.L264:
	sub	r3, fp, #24
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, [fp, #-52]
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L265
	ldrsh	r3, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L266
.L265:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	sub	r3, fp, #24
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	read
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L259:
	ldrsh	r3, [fp, #-24]
	cmn	r3, #1
	beq	.L266
	ldr	r3, [fp, #-32]
	cmp	r3, #63
	ble	.L267
.L266:
	ldr	r3, [fp, #-36]
	cmp	r3, #1
	beq	.L268
	ldr	r0, .L271+20
	bl	puts
	mov	r3, #1
	b	.L269
.L268:
	ldrsh	r3, [fp, #-24]
	add	r3, r3, #32
	lsl	r3, r3, #6
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-48]
	bl	lseek
	mov	r2, #64
	ldr	r1, .L271+4
	ldr	r0, [fp, #-48]
	bl	read
	mov	r3, #1
.L269:
	ldr	r2, .L271
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L270
	bl	__stack_chk_fail
.L270:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L272:
	.align	2
.L271:
	.word	.LC29
	.word	currentInode
	.word	.LC11
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC12
	.size	opendir, .-opendir
	.section	.rodata
	.align	2
.LC30:
	.ascii	"fs1 isize=%d\012\000"
	.align	2
.LC31:
	.ascii	"fs1 fsize=%d\012\000"
	.align	2
.LC32:
	.ascii	"fs1 nfree=%d\012\000"
	.text
	.align	2
	.global	printsuper
	.syntax unified
	.arm
	.fpu softvfp
	.type	printsuper, %function
printsuper:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L274
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L274+4
	bl	printf
	ldr	r3, .L274
	ldr	r3, [r3, #4]
	mov	r1, r3
	ldr	r0, .L274+8
	bl	printf
	ldr	r3, .L274
	ldrh	r3, [r3, #8]
	mov	r1, r3
	ldr	r0, .L274+12
	bl	printf
	nop
	mov	r0, r3
	pop	{fp, pc}
.L275:
	.align	2
.L274:
	.word	super
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.size	printsuper, .-printsuper
	.align	2
	.global	quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	quit, %function
quit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L278
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1024
	mov	r0, r3
	bl	lseek
	ldr	r3, .L278
	ldr	r3, [r3]
	mov	r2, #1024
	ldr	r1, .L278+4
	mov	r0, r3
	bl	write
	ldr	r3, .L278
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #2048
	mov	r0, r3
	bl	lseek
	ldr	r3, .L278
	ldr	r3, [r3]
	mov	r2, #64
	ldr	r1, .L278+8
	mov	r0, r3
	bl	write
	mov	r3, #1
	mov	r0, r3
	pop	{fp, pc}
.L279:
	.align	2
.L278:
	.word	fd
	.word	super
	.word	currentInode
	.size	quit, .-quit
	.section	.rodata
	.align	2
.LC33:
	.ascii	"%s %s %s %s\000"
	.align	2
.LC34:
	.ascii	"initfs\000"
	.align	2
.LC35:
	.ascii	"File System Initialized.\000"
	.align	2
.LC36:
	.ascii	"opened emulated disk image %s with %d blocks\012\000"
	.align	2
.LC37:
	.ascii	"failed!\000"
	.align	2
.LC38:
	.ascii	"use: initfs<const char *filename, int fsize,int nin"
	.ascii	"odes >\000"
	.align	2
.LC39:
	.ascii	"cpin\000"
	.align	2
.LC40:
	.ascii	"File Copied from %s to v6 file :%s\012\000"
	.align	2
.LC41:
	.ascii	"File copy failed!\000"
	.align	2
.LC42:
	.ascii	"use: cpin<char *filename> <char *v6filename >\000"
	.align	2
.LC43:
	.ascii	"cpout\000"
	.align	2
.LC44:
	.ascii	"File Copied from %s to ext file :%s\012\000"
	.align	2
.LC45:
	.ascii	"use: cpout <const char *v6filename> <char *extfile>"
	.ascii	"\000"
	.align	2
.LC46:
	.ascii	"mkdir\000"
	.align	2
.LC47:
	.ascii	"directory created : %s \012\000"
	.align	2
.LC48:
	.ascii	"directory create failed!\000"
	.align	2
.LC49:
	.ascii	"use: mkdir<char *dirname>\000"
	.align	2
.LC50:
	.ascii	"cd\000"
	.align	2
.LC51:
	.ascii	"directory opened \000"
	.align	2
.LC52:
	.ascii	"directory open failed!\000"
	.align	2
.LC53:
	.ascii	"use: cd<char *dirname>\000"
	.align	2
.LC54:
	.ascii	"rm\000"
	.align	2
.LC55:
	.ascii	"file : %s removed \012\000"
	.align	2
.LC56:
	.ascii	"deleting file failed!\000"
	.align	2
.LC57:
	.ascii	"use: rm<char *filename>\000"
	.align	2
.LC58:
	.ascii	"openfs\000"
	.align	2
.LC59:
	.ascii	"v6 filesystem : %s is initialized and ready to use "
	.ascii	"\012\000"
	.align	2
.LC60:
	.ascii	"Error Opening V6 file system!\000"
	.align	2
.LC61:
	.ascii	"use: openfs<const char *filename>\000"
	.align	2
.LC62:
	.ascii	"ls\000"
	.align	2
.LC63:
	.ascii	"cmd :help for cmd list\000"
	.align	2
.LC64:
	.ascii	"q\000"
	.align	2
.LC65:
	.ascii	"File System Modifications saved\000"
	.align	2
.LC66:
	.ascii	"Bye Bye!!!\000"
	.align	2
.LC67:
	.ascii	"psuper\000"
	.align	2
.LC68:
	.ascii	"super\000"
	.align	2
.LC69:
	.ascii	"help\000"
	.align	2
.LC70:
	.ascii	"To initiate a new V6 file system use: initfs\000"
	.align	2
.LC71:
	.ascii	"all the operations are subjected to level i.e \000"
	.align	2
.LC72:
	.ascii	"until and unless u enter in to directory all operat"
	.ascii	"ions are done in that directory only\000"
	.align	2
.LC73:
	.ascii	"go to that directory  where operations are to be ex"
	.ascii	"ecuted\000"
	.align	2
.LC74:
	.ascii	"cmd: initfs<const char *filename, int fsize,int nin"
	.ascii	"odes >\000"
	.align	2
.LC75:
	.ascii	"ex:initfs C:\\Users\\himas\\Desktop\\test8.data 500"
	.ascii	" 100\000"
	.align	2
.LC76:
	.ascii	"cmd: cpin<char *filename> <char *v6filename >\000"
	.align	2
.LC77:
	.ascii	"ex: cpin C:\\Users\\himas\\Desktop\\test.txt v6txt."
	.ascii	"txtn\000"
	.align	2
.LC78:
	.ascii	"cmd: cpout <const char *v6filename> <char *extfile>"
	.ascii	"\000"
	.align	2
.LC79:
	.ascii	"ex: cpout v6txt.txt C:\\Users\\himas\\Desktop\\tout"
	.ascii	".txt\000"
	.align	2
.LC80:
	.ascii	"cmd: mkdir<char *dirname>\000"
	.align	2
.LC81:
	.ascii	"ex: mkdir dir_name\000"
	.align	2
.LC82:
	.ascii	"cmd: rm<char *filename>\000"
	.align	2
.LC83:
	.ascii	"ex: rm dir_name\000"
	.align	2
.LC84:
	.ascii	"cmd: ls for list of files and directories at that l"
	.ascii	"evel\000"
	.align	2
.LC85:
	.ascii	"ex: ls\000"
	.align	2
.LC86:
	.ascii	"cmd: cd <dir name> to open directory\000"
	.align	2
.LC87:
	.ascii	"ex: cd dir_name\000"
	.align	2
.LC88:
	.ascii	"cmd: cd <.> to open parent directory\000"
	.align	2
.LC89:
	.ascii	"ex: cd .\000"
	.align	2
.LC90:
	.ascii	"cmd: q to quit\000"
	.align	2
.LC91:
	.ascii	"ex: q\000"
	.align	2
.LC92:
	.ascii	"unknown command: %s input q to exit  or help for co"
	.ascii	"mmands\012\000"
	.align	2
.LC93:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 5128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #5120
	sub	sp, sp, #20
	ldr	r3, .L319
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
.L312:
	ldr	r3, .L319+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	printf
	mov	r0, #62
	bl	putchar
	ldr	r3, .L319+8
	ldr	r2, [r3]
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1024
	mov	r0, r3
	bl	fgets
	mov	r3, r0
	cmp	r3, #0
	beq	.L315
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldrb	r3, [r3, #-1028]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L316
	sub	r3, fp, #5120
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	sub	r2, fp, #4096
	sub	r2, r2, #12
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3, #-1028]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r4, r3
	sub	r1, fp, #3072
	sub	r1, r1, #12
	sub	r1, r1, #4
	sub	r2, fp, #4096
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r0, fp, #5120
	sub	r0, r0, #12
	sub	r0, r0, #4
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp, #4]
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, .L319+12
	bl	__isoc99_sscanf
	str	r0, [r4, #-1032]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #0
	beq	.L317
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L286
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #4
	bne	.L287
	sub	r3, fp, #2048
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	mov	r4, r0
	sub	r3, fp, #1024
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	atoi
	mov	r2, r0
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r4
	mov	r0, r3
	bl	initfs
	mov	r3, r0
	cmp	r3, #0
	beq	.L288
	ldr	r0, .L319+20
	bl	puts
	bl	disk_size
	mov	r2, r0
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+24
	bl	printf
	b	.L312
.L288:
	ldr	r0, .L319+28
	bl	puts
	b	.L312
.L287:
	ldr	r0, .L319+32
	bl	puts
	b	.L312
.L286:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+36
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L289
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #3
	bne	.L290
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	cpin
	mov	r3, r0
	cmp	r3, #0
	beq	.L291
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+40
	bl	printf
	b	.L312
.L291:
	ldr	r0, .L319+44
	bl	puts
	b	.L312
.L290:
	ldr	r0, .L319+48
	bl	puts
	b	.L312
.L289:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+52
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L292
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #3
	bne	.L293
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	cpout
	mov	r3, r0
	cmp	r3, #0
	beq	.L294
	sub	r2, fp, #2048
	sub	r2, r2, #12
	sub	r2, r2, #4
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+56
	bl	printf
	b	.L312
.L294:
	ldr	r0, .L319+44
	bl	puts
	b	.L312
.L293:
	ldr	r0, .L319+60
	bl	puts
	b	.L312
.L292:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+64
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L295
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #2
	bne	.L296
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	newdir
	mov	r3, r0
	cmp	r3, #0
	beq	.L297
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+68
	bl	printf
	b	.L312
.L297:
	ldr	r0, .L319+72
	bl	puts
	b	.L312
.L296:
	ldr	r0, .L319+76
	bl	puts
	b	.L312
.L295:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+80
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L298
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #2
	bne	.L299
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	cd
	mov	r3, r0
	cmp	r3, #0
	beq	.L300
	ldr	r0, .L319+84
	bl	puts
	b	.L312
.L300:
	ldr	r0, .L319+88
	bl	puts
	b	.L312
.L299:
	ldr	r0, .L319+92
	bl	puts
	b	.L312
.L298:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+96
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L301
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #2
	bne	.L302
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	rm
	mov	r3, r0
	cmp	r3, #0
	beq	.L303
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+100
	bl	printf
	b	.L312
.L303:
	ldr	r0, .L319+104
	bl	puts
	b	.L312
.L302:
	ldr	r0, .L319+108
	bl	puts
	b	.L312
.L301:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+112
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L304
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-1032]
	cmp	r3, #2
	bne	.L305
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	openfs
	mov	r3, r0
	cmp	r3, #0
	beq	.L306
	sub	r3, fp, #3072
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+116
	bl	printf
	b	.L312
.L306:
	ldr	r0, .L319+120
	bl	puts
	b	.L312
.L305:
	ldr	r0, .L319+124
	bl	puts
	b	.L312
.L304:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+128
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L307
	bl	ls
	mov	r3, r0
	cmp	r3, #0
	ble	.L312
	ldr	r0, .L319+132
	bl	puts
	b	.L312
.L307:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+136
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L308
	bl	quit
	mov	r3, r0
	cmp	r3, #0
	ble	.L318
	ldr	r0, .L319+140
	bl	puts
	ldr	r0, .L319+144
	bl	puts
	b	.L318
.L308:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+148
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L310
	bl	printsuper
	mov	r3, r0
	cmp	r3, #0
	ble	.L312
	ldr	r0, .L319+152
	bl	puts
	b	.L312
.L310:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r1, .L319+156
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L311
	ldr	r0, .L319+160
	bl	puts
	ldr	r0, .L319+164
	bl	puts
	ldr	r0, .L319+168
	bl	puts
	ldr	r0, .L319+172
	bl	puts
	ldr	r0, .L319+176
	bl	puts
	ldr	r0, .L319+180
	bl	puts
	ldr	r0, .L319+184
	bl	puts
	ldr	r0, .L319+188
	bl	puts
	ldr	r0, .L319+192
	bl	puts
	ldr	r0, .L319+196
	bl	puts
	ldr	r0, .L319+200
	bl	puts
	ldr	r0, .L319+204
	bl	puts
	ldr	r0, .L319+208
	bl	puts
	ldr	r0, .L319+212
	bl	puts
	ldr	r0, .L319+216
	bl	puts
	ldr	r0, .L319+220
	bl	puts
	ldr	r0, .L319+224
	bl	puts
	ldr	r0, .L319+228
	bl	puts
	ldr	r0, .L319+232
	bl	puts
	ldr	r0, .L319+236
	bl	puts
	ldr	r0, .L319+240
	bl	puts
	ldr	r0, .L319+244
	bl	puts
	b	.L312
.L311:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	ldr	r0, .L319+248
	bl	printf
	b	.L312
.L316:
	nop
	b	.L312
.L317:
	nop
	b	.L312
.L315:
	nop
	b	.L282
.L318:
	nop
.L282:
	mov	r3, #0
	ldr	r2, .L319
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L314
	bl	__stack_chk_fail
.L314:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L320:
	.align	2
.L319:
	.word	.LC93
	.word	prompt
	.word	stdin
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC39
	.word	.LC40
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC49
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	.LC54
	.word	.LC55
	.word	.LC56
	.word	.LC57
	.word	.LC58
	.word	.LC59
	.word	.LC60
	.word	.LC61
	.word	.LC62
	.word	.LC63
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	.LC67
	.word	.LC68
	.word	.LC69
	.word	.LC70
	.word	.LC71
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	.LC79
	.word	.LC80
	.word	.LC81
	.word	.LC82
	.word	.LC83
	.word	.LC84
	.word	.LC85
	.word	.LC86
	.word	.LC87
	.word	.LC88
	.word	.LC89
	.word	.LC90
	.word	.LC91
	.word	.LC92
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
