	.file	"extr_nftlmount.c_NFTL_mount.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Could not find valid boot record\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"Formatting block %d\n"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Block %d: free but referenced in chain %d\n"
	.align 8
.LC3:
	.string	"Block %d: incorrect logical block: %d expected: %d\n"
	.align 8
.LC4:
	.string	"Block %d: incorrectly marked as first block in chain\n"
	.align 8
.LC5:
	.string	"Block %d: folding in progress - ignoring first block flag\n"
	.align 8
.LC6:
	.string	"Block %d: referencing invalid block %d\n"
	.align 8
.LC7:
	.string	"Block %d: referencing block %d already in another chain\n"
	.align 8
.LC8:
	.string	"Could read foldmark at block %d\n"
	.align 8
.LC9:
	.string	"Two chains at blocks %d (len=%d) and %d (len=%d)\n"
	.align 8
.LC10:
	.string	"Unreferenced block %d, formatting it\n"
	.text
	.p2align 4
	.globl	NFTL_mount
	.type	NFTL_mount, @function
NFTL_mount:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	r14, QWORD PTR 48[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	call	find_boot_record@PLT
	test	rax, rax
	js	.L2
	mov	eax, DWORD PTR [r15]
	test	eax, eax
	jle	.L4
	mov	rcx, QWORD PTR 8[r15]
	xor	edx, edx
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR BLOCK_NIL[rip]
	mov	DWORD PTR [rcx+rdx*4], eax
	mov	eax, DWORD PTR [r15]
	add	rdx, 1
	cmp	eax, edx
	jg	.L6
.L4:
	lea	rcx, 64[rsp]
	mov	DWORD PTR 32[rsp], 0
	xor	ebx, ebx
	mov	QWORD PTR 16[rsp], rcx
	lea	rcx, 56[rsp]
	mov	QWORD PTR 24[rsp], rcx
	test	eax, eax
	jne	.L7
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L11:
	add	ebx, 1
	cmp	ebx, eax
	jnb	.L36
.L7:
	mov	rcx, QWORD PTR 16[r15]
	mov	edx, ebx
	mov	esi, DWORD PTR BLOCK_NOTEXPLORED[rip]
	cmp	DWORD PTR [rcx+rdx*4], esi
	jne	.L11
	xor	eax, eax
	mov	DWORD PTR 44[rsp], ebx
	mov	ebp, ebx
	lea	r13, 48[rsp]
	mov	DWORD PTR 40[rsp], 0
	mov	ebx, eax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L62:
	test	r9d, r9d
	jne	.L52
	mov	DWORD PTR 32[rsp], edx
.L21:
	mov	eax, ebp
	add	ebx, 1
	lea	rcx, 0[0+rax*4]
	cmp	r12d, 65535
	je	.L59
	cmp	DWORD PTR [r15], r12d
	jbe	.L60
	mov	rdx, QWORD PTR 16[r15]
	mov	esi, r12d
	mov	esi, DWORD PTR [rdx+rsi*4]
	cmp	esi, DWORD PTR BLOCK_NOTEXPLORED[rip]
	jne	.L61
	mov	DWORD PTR [rdx+rax*4], r12d
	mov	ebp, r12d
.L10:
	mov	esi, DWORD PTR 24[r15]
	mov	r8, QWORD PTR 16[rsp]
	mov	rcx, r13
	mov	rdi, r14
	mov	edx, 8
	imul	esi, ebp
	add	esi, 8
	call	nftl_read_oob@PLT
	test	rax, rax
	js	.L14
	mov	edx, DWORD PTR 24[r15]
	mov	eax, DWORD PTR SECTORSIZE[rip]
	mov	rcx, r13
	mov	rdi, r14
	mov	r8, QWORD PTR 24[rsp]
	imul	edx, ebp
	lea	esi, 8[rdx+rax]
	mov	edx, 8
	call	nftl_read_oob@PLT
	test	rax, rax
	js	.L14
	mov	edi, DWORD PTR 64[rsp]
	or	edi, DWORD PTR 68[rsp]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 72[rsp]
	or	edi, DWORD PTR 76[rsp]
	mov	QWORD PTR 8[rsp], rax
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 56[rsp]
	or	edi, DWORD PTR 60[rsp]
	mov	DWORD PTR 36[rsp], eax
	mov	r12, rax
	call	le16_to_cpu@PLT
	mov	rdx, QWORD PTR 8[rsp]
	mov	r9d, edx
	and	edx, 32767
	shr	r9d, 15
	cmp	DWORD PTR ERASE_MARK[rip], eax
	jne	.L15
	mov	eax, DWORD PTR [r15]
	cmp	eax, edx
	jbe	.L15
	test	ebx, ebx
	je	.L62
	mov	ecx, DWORD PTR 32[rsp]
	cmp	ecx, edx
	je	.L22
	mov	esi, ebp
	lea	rdi, .LC3[rip]
	xor	eax, eax
	mov	DWORD PTR 8[rsp], r9d
	call	printk@PLT
	mov	DWORD PTR 40[rsp], 1
	mov	r9d, DWORD PTR 8[rsp]
.L22:
	test	r9d, r9d
	jne	.L21
	mov	esi, ebp
	mov	rdi, r15
	call	get_fold_mark@PLT
	cmp	DWORD PTR FOLD_MARK_IN_PROGRESS[rip], eax
	jne	.L46
	cmp	r12d, 65535
	je	.L23
.L46:
	mov	esi, ebp
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	printk@PLT
	mov	DWORD PTR 40[rsp], 1
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L36:
	mov	QWORD PTR 32[r15], 0
	mov	edi, DWORD PTR 40[r15]
	call	le16_to_cpu@PLT
	mov	edx, DWORD PTR [r15]
	mov	DWORD PTR 28[r15], eax
	test	edx, edx
	je	.L9
	mov	rcx, QWORD PTR 16[r15]
	xor	ebx, ebx
	lea	r12, .LC10[rip]
	jmp	.L41
	.p2align 4,,10
	.p2align 3
.L40:
	add	ebx, 1
	cmp	DWORD PTR [r15], ebx
	jbe	.L9
.L41:
	mov	ebp, ebx
	mov	eax, DWORD PTR [rcx+rbp*4]
	cmp	eax, DWORD PTR BLOCK_NOTEXPLORED[rip]
	je	.L37
.L57:
	mov	rdx, QWORD PTR BLOCK_FREE[rip]
.L38:
	cmp	rdx, rax
	jne	.L40
	mov	DWORD PTR 28[r15], ebx
	add	ebx, 1
	add	QWORD PTR 32[r15], 1
	cmp	DWORD PTR [r15], ebx
	ja	.L41
.L9:
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR 88[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L63
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L37:
	.cfi_restore_state
	mov	esi, ebx
	mov	rdi, r12
	xor	eax, eax
	call	printk@PLT
	mov	esi, ebx
	mov	rdi, r15
	call	NFTL_formatblock@PLT
	test	rax, rax
	js	.L64
	mov	rdx, QWORD PTR BLOCK_FREE[rip]
	mov	rcx, QWORD PTR 16[r15]
	mov	eax, edx
	mov	DWORD PTR [rcx+rbp*4], edx
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L64:
	mov	rdx, QWORD PTR BLOCK_RESERVED[rip]
	mov	rcx, QWORD PTR 16[r15]
	mov	eax, edx
	mov	DWORD PTR [rcx+rbp*4], edx
	jmp	.L57
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rax, QWORD PTR 16[r15]
	mov	edx, DWORD PTR BLOCK_NIL[rip]
	mov	ebx, DWORD PTR 44[rsp]
	mov	DWORD PTR [rax+rbp*4], edx
.L56:
	mov	esi, ebx
	mov	rdi, r15
	call	format_chain@PLT
	mov	eax, DWORD PTR [r15]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L15:
	mov	eax, ebx
	mov	r13d, ebp
	mov	ebx, DWORD PTR 44[rsp]
	test	eax, eax
	je	.L65
	mov	edx, ebx
	mov	esi, ebp
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printk@PLT
	mov	rax, QWORD PTR 16[r15]
	mov	edx, DWORD PTR BLOCK_NIL[rip]
	mov	DWORD PTR [rax+r13*4], edx
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L60:
	mov	ebx, DWORD PTR 44[rsp]
	mov	edx, DWORD PTR 36[rsp]
	mov	QWORD PTR 8[rsp], rcx
	mov	esi, ebp
	lea	rdi, .LC6[rip]
.L54:
	xor	eax, eax
	call	printk@PLT
	mov	rax, QWORD PTR 16[r15]
	mov	edx, DWORD PTR BLOCK_NIL[rip]
	mov	rcx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax+rcx], edx
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L61:
	cmp	esi, DWORD PTR BLOCK_NIL[rip]
	mov	r12d, ebx
	mov	ebx, DWORD PTR 44[rsp]
	jne	.L30
	mov	r13d, DWORD PTR 32[rsp]
	mov	rax, QWORD PTR 8[r15]
	mov	esi, DWORD PTR 36[rsp]
	cmp	DWORD PTR [rax+r13*4], esi
	je	.L66
.L30:
	mov	QWORD PTR 8[rsp], rcx
	mov	edx, DWORD PTR 36[rsp]
	mov	esi, ebp
	lea	rdi, .LC7[rip]
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L23:
	mov	r13d, ebx
	mov	esi, ebp
	lea	rdi, .LC5[rip]
	xor	eax, eax
	mov	ebx, DWORD PTR 44[rsp]
	add	r13d, 1
	call	printk@PLT
	mov	ecx, ebp
	mov	r12d, r13d
	sal	rcx, 2
.L25:
	mov	rax, QWORD PTR 16[r15]
	mov	edx, DWORD PTR BLOCK_NIL[rip]
	mov	DWORD PTR [rax+rcx], edx
.L27:
	mov	eax, DWORD PTR 40[rsp]
	test	eax, eax
	jne	.L56
	mov	esi, ebx
	mov	rdi, r15
	call	get_fold_mark@PLT
	test	eax, eax
	je	.L67
	cmp	DWORD PTR FOLD_MARK_IN_PROGRESS[rip], eax
	je	.L68
.L33:
	mov	r13d, DWORD PTR 32[rsp]
	mov	rax, QWORD PTR 8[r15]
	lea	rax, [rax+r13*4]
	mov	ebp, DWORD PTR [rax]
	cmp	DWORD PTR BLOCK_NIL[rip], ebp
	je	.L34
	mov	esi, ebp
	mov	rdi, r15
	call	calc_chain_length@PLT
	mov	r8d, r12d
	mov	ecx, ebx
	mov	esi, ebp
	mov	edx, eax
	mov	DWORD PTR 8[rsp], eax
	lea	rdi, .LC9[rip]
	xor	eax, eax
	call	printk@PLT
	mov	edx, DWORD PTR 8[rsp]
	cmp	r12d, edx
	jb	.L45
	mov	rax, QWORD PTR 8[r15]
	mov	DWORD PTR [rax+r13*4], ebx
.L35:
	mov	esi, ebp
	mov	rdi, r15
	call	format_chain@PLT
	mov	eax, DWORD PTR [r15]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L34:
	mov	DWORD PTR [rax], ebx
	mov	eax, DWORD PTR [r15]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L67:
	mov	esi, ebx
	lea	rdi, .LC8[rip]
	call	printk@PLT
	jmp	.L56
	.p2align 4,,10
	.p2align 3
.L65:
	mov	esi, ebp
	mov	rdi, r15
	call	check_and_mark_free_block@PLT
	test	rax, rax
	js	.L69
	mov	rax, QWORD PTR 16[r15]
.L55:
	mov	rdx, QWORD PTR BLOCK_FREE[rip]
	mov	DWORD PTR [rax+r13*4], edx
	mov	eax, DWORD PTR [r15]
	jmp	.L11
.L45:
	mov	ebp, ebx
	jmp	.L35
.L52:
	mov	ebx, DWORD PTR 44[rsp]
	jmp	.L11
.L68:
	mov	esi, ebx
	mov	rdi, r15
	call	check_sectors_in_chain@PLT
	jmp	.L33
.L69:
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	printk@PLT
	mov	esi, ebp
	mov	rdi, r15
	call	NFTL_formatblock@PLT
	test	rax, rax
	mov	rax, QWORD PTR 16[r15]
	jns	.L55
	mov	rdx, QWORD PTR BLOCK_RESERVED[rip]
	mov	DWORD PTR [rax+r13*4], edx
	mov	eax, DWORD PTR [r15]
	jmp	.L11
.L59:
	mov	r12d, ebx
	mov	ebx, DWORD PTR 44[rsp]
	jmp	.L25
.L66:
	mov	esi, ebx
	mov	rdi, r15
	mov	QWORD PTR 8[rsp], rcx
	call	get_fold_mark@PLT
	cmp	eax, DWORD PTR FOLD_MARK_IN_PROGRESS[rip]
	mov	rcx, QWORD PTR 8[rsp]
	jne	.L30
	mov	ebp, DWORD PTR 36[rsp]
	lea	rdi, .LC5[rip]
	xor	eax, eax
	mov	esi, ebp
	call	printk@PLT
	mov	rax, QWORD PTR 16[r15]
	mov	rcx, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax+rcx], ebp
	mov	rax, QWORD PTR 8[r15]
	mov	edx, DWORD PTR BLOCK_NIL[rip]
	mov	DWORD PTR [rax+r13*4], edx
	jmp	.L27
.L2:
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	printk@PLT
	mov	eax, -1
	jmp	.L1
.L63:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	NFTL_mount, .-NFTL_mount
	.comm	SECTORSIZE,4,4
	.comm	FOLD_MARK_IN_PROGRESS,4,4
	.comm	ERASE_MARK,4,4
	.comm	BLOCK_RESERVED,8,8
	.comm	BLOCK_NOTEXPLORED,4,4
	.comm	BLOCK_NIL,4,4
	.comm	BLOCK_FREE,8,8
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_nftlmount.c_NFTL_mount.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Could not find valid boot record\012\000"
	.align	2
.LC1:
	.ascii	"Formatting block %d\012\000"
	.align	2
.LC2:
	.ascii	"Block %d: free but referenced in chain %d\012\000"
	.align	2
.LC3:
	.ascii	"Block %d: incorrect logical block: %d expected: %d\012"
	.ascii	"\000"
	.align	2
.LC4:
	.ascii	"Block %d: incorrectly marked as first block in chai"
	.ascii	"n\012\000"
	.align	2
.LC5:
	.ascii	"Block %d: folding in progress - ignoring first bloc"
	.ascii	"k flag\012\000"
	.align	2
.LC6:
	.ascii	"Block %d: referencing invalid block %d\012\000"
	.align	2
.LC7:
	.ascii	"Block %d: referencing block %d already in another c"
	.ascii	"hain\012\000"
	.align	2
.LC8:
	.ascii	"Could read foldmark at block %d\012\000"
	.align	2
.LC9:
	.ascii	"Two chains at blocks %d (len=%d) and %d (len=%d)\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"Unreferenced block %d, formatting it\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	NFTL_mount
	.syntax unified
	.arm
	.fpu softvfp
	.type	NFTL_mount, %function
NFTL_mount:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L65
	sub	sp, sp, #60
	mov	r10, r0
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	r8, [r0, #28]
	bl	find_boot_record
	cmp	r0, #0
	blt	.L2
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L4
	mov	r2, #0
	ldr	r1, [r10, #4]
	ldr	r0, .L65+4
	sub	r1, r1, #4
.L6:
	ldr	r3, [r0]
	add	r2, r2, #1
	str	r3, [r1, #4]!
	ldr	r3, [r10]
	cmp	r3, r2
	bgt	.L6
.L4:
	cmp	r3, #0
	beq	.L35
	mov	r9, #0
	ldr	fp, .L65+8
	str	r9, [sp, #8]
	b	.L7
.L11:
	add	r9, r9, #1
	cmp	r9, r3
	bcs	.L35
.L7:
	ldr	r1, [r10, #8]
	ldr	r2, [fp]
	ldr	r1, [r1, r9, lsl #2]
	cmp	r1, r2
	bne	.L11
	mov	r3, #0
	mov	r5, r9
	mov	r6, r3
	str	r3, [sp, #12]
	str	r9, [sp, #16]
	b	.L10
.L56:
	cmp	r7, #0
	bne	.L49
	str	r2, [sp, #8]
.L21:
	ldr	r3, .L65+12
	add	r6, r6, #1
	cmp	r4, r3
	lsl	r3, r5, #2
	beq	.L53
	ldr	r2, [r10]
	cmp	r2, r4
	bls	.L54
	ldr	r2, [r10, #8]
	ldr	r0, [fp]
	ldr	r1, [r2, r4, lsl #2]
	cmp	r1, r0
	bne	.L55
	mov	r5, r4
	str	r4, [r2, r3]
.L10:
	ldr	r1, [r10, #12]
	add	r3, sp, #36
	mul	r1, r5, r1
	str	r3, [sp]
	mov	r2, #8
	mov	r0, r8
	add	r3, sp, #24
	add	r1, r1, #8
	bl	nftl_read_oob
	cmp	r0, #0
	blt	.L14
	ldr	r3, .L65+16
	ldr	r1, [r10, #12]
	ldr	r3, [r3]
	add	r2, sp, #28
	add	r3, r3, #8
	mla	r1, r5, r1, r3
	str	r2, [sp]
	mov	r0, r8
	mov	r2, #8
	add	r3, sp, #24
	bl	nftl_read_oob
	cmp	r0, #0
	blt	.L14
	ldr	r3, [sp, #40]
	ldr	r0, [sp, #36]
	orr	r0, r0, r3
	bl	le16_to_cpu
	ldr	r1, [sp, #44]
	ldr	r3, [sp, #48]
	mov	r9, r0
	orr	r0, r1, r3
	bl	le16_to_cpu
	ldr	r3, [sp, #32]
	ldr	r1, [sp, #28]
	mov	r4, r0
	orr	r0, r1, r3
	bl	le16_to_cpu
	ldr	r3, .L65+20
	lsl	r2, r9, #17
	ldr	r3, [r3]
	lsr	r7, r9, #15
	cmp	r0, r3
	lsr	r2, r2, #17
	bne	.L15
	ldr	r3, [r10]
	cmp	r3, r2
	bls	.L15
	cmp	r6, #0
	beq	.L56
	ldr	r3, [sp, #8]
	cmp	r3, r2
	beq	.L22
	mov	r1, r5
	ldr	r0, .L65+24
	bl	printk
	mov	r3, #1
	str	r3, [sp, #12]
.L22:
	cmp	r7, #0
	bne	.L21
	mov	r1, r5
	mov	r0, r10
	bl	get_fold_mark
	ldr	r3, .L65+28
	ldr	r2, [r3]
	ldr	r3, .L65+12
	cmp	r4, r3
	cmpeq	r2, r0
	beq	.L23
	mov	r1, r5
	ldr	r0, .L65+32
	bl	printk
	mov	r3, #1
	str	r3, [sp, #12]
	b	.L21
.L35:
	mov	r4, #0
	ldr	r0, [r10, #24]
	str	r4, [r10, #20]
	bl	le16_to_cpu
	ldr	r3, [r10]
	str	r0, [r10, #16]
	cmp	r3, r4
	beq	.L9
	ldr	r0, [r10, #8]
	ldr	fp, .L65+8
	ldr	r7, .L65+36
	ldr	r8, .L65+40
	ldr	r6, .L65+44
	b	.L41
.L57:
	ldr	r1, [r7]
.L37:
	cmp	r2, r1
	beq	.L39
	add	r4, r4, #1
	cmp	r3, r4
	bls	.L9
.L41:
	ldr	r2, [r0, r4, lsl #2]
	ldr	r1, [fp]
	lsl	r5, r4, #2
	cmp	r2, r1
	bne	.L57
	mov	r1, r4
	mov	r0, r8
	bl	printk
	mov	r1, r4
	mov	r0, r10
	bl	NFTL_formatblock
	cmp	r0, #0
	blt	.L58
	ldr	r3, [r7]
	ldr	r0, [r10, #8]
	str	r3, [r0, r5]
	ldr	r3, [r10]
.L39:
	ldr	r2, [r10, #20]
	str	r4, [r10, #16]
	add	r4, r4, #1
	add	r2, r2, #1
	cmp	r3, r4
	str	r2, [r10, #20]
	bhi	.L41
.L9:
	mov	r0, #0
.L1:
	ldr	r3, .L65
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L59
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L58:
	ldr	r2, [r6]
	ldr	r0, [r10, #8]
	ldr	r1, [r7]
	str	r2, [r0, r5]
	ldr	r3, [r10]
	b	.L37
.L14:
	ldr	r2, .L65+4
	ldr	r3, [r10, #8]
	ldr	r2, [r2]
	ldr	r9, [sp, #16]
	str	r2, [r3, r5, lsl #2]
.L51:
	mov	r1, r9
	mov	r0, r10
	bl	format_chain
	ldr	r3, [r10]
	b	.L11
.L15:
	cmp	r6, #0
	ldr	r9, [sp, #16]
	lsl	r4, r5, #2
	beq	.L60
	mov	r2, r9
	mov	r1, r5
	ldr	r0, .L65+48
	bl	printk
	ldr	r2, .L65+4
	ldr	r3, [r10, #8]
	ldr	r2, [r2]
	str	r2, [r3, r5, lsl #2]
	b	.L51
.L54:
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L65+52
	str	r3, [sp, #12]
	ldr	r9, [sp, #16]
	bl	printk
	ldr	r1, .L65+4
	ldr	r2, [r10, #8]
	ldr	r1, [r1]
	ldr	r3, [sp, #12]
	str	r1, [r2, r3]
	b	.L51
.L55:
	ldr	r7, .L65+4
	ldr	r9, [sp, #16]
	ldr	r2, [r7]
	cmp	r1, r2
	bne	.L29
	ldr	r0, [sp, #8]
	ldr	r1, [r10, #4]
	lsl	r2, r0, #2
	ldr	r1, [r1, r0, lsl #2]
	cmp	r1, r4
	beq	.L61
.L29:
	mov	r2, r4
	mov	r1, r5
	ldr	r0, .L65+56
	str	r3, [sp, #12]
	bl	printk
	ldr	r1, [r7]
	ldr	r2, [r10, #8]
	ldr	r3, [sp, #12]
	str	r1, [r2, r3]
	b	.L51
.L23:
	lsl	r3, r5, #2
	mov	r1, r5
	ldr	r0, .L65+60
	ldr	r9, [sp, #16]
	str	r3, [sp, #16]
	bl	printk
	ldr	r3, [sp, #16]
	add	r6, r6, #1
.L24:
	ldr	r7, .L65+4
	ldr	r2, [r10, #8]
	ldr	r1, [r7]
	str	r1, [r2, r3]
.L26:
	ldr	r3, [sp, #12]
	cmp	r3, #0
	bne	.L51
	mov	r1, r9
	mov	r0, r10
	bl	get_fold_mark
	cmp	r0, #0
	beq	.L62
	ldr	r3, .L65+28
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L63
.L32:
	ldr	r1, [sp, #8]
	ldr	r3, [r10, #4]
	ldr	r2, [r7]
	ldr	r4, [r3, r1, lsl #2]
	lsl	r5, r1, #2
	cmp	r2, r4
	beq	.L33
	mov	r1, r4
	mov	r0, r10
	bl	calc_chain_length
	mov	r7, r0
	mov	r3, r9
	mov	r2, r0
	mov	r1, r4
	ldr	r0, .L65+64
	str	r6, [sp]
	bl	printk
	cmp	r6, r7
	movcc	r4, r9
	ldrcs	r3, [r10, #4]
	mov	r1, r4
	strcs	r9, [r3, r5]
	mov	r0, r10
	bl	format_chain
	ldr	r3, [r10]
	b	.L11
.L33:
	ldr	r2, [sp, #8]
	str	r9, [r3, r2, lsl #2]
	ldr	r3, [r10]
	b	.L11
.L62:
	mov	r1, r9
	ldr	r0, .L65+68
	bl	printk
	b	.L51
.L60:
	mov	r1, r5
	mov	r0, r10
	bl	check_and_mark_free_block
	cmp	r0, #0
	blt	.L64
.L18:
	ldr	r3, .L65+36
	ldr	r2, [r10, #8]
	ldr	r3, [r3]
	str	r3, [r2, r4]
	ldr	r3, [r10]
	b	.L11
.L49:
	ldr	r9, [sp, #16]
	b	.L11
.L63:
	mov	r1, r9
	mov	r0, r10
	bl	check_sectors_in_chain
	b	.L32
.L53:
	ldr	r9, [sp, #16]
	b	.L24
.L64:
	mov	r1, r5
	ldr	r0, .L65+72
	bl	printk
	mov	r1, r5
	mov	r0, r10
	bl	NFTL_formatblock
	cmp	r0, #0
	bge	.L18
	ldr	r2, .L65+44
	ldr	r3, [r10, #8]
	ldr	r2, [r2]
	str	r2, [r3, r4]
	ldr	r3, [r10]
	b	.L11
.L61:
	mov	r1, r9
	mov	r0, r10
	str	r3, [sp, #20]
	str	r2, [sp, #16]
	bl	get_fold_mark
	ldr	r3, .L65+28
	ldr	r1, [r3]
	ldr	r3, [sp, #20]
	cmp	r0, r1
	bne	.L29
	mov	r1, r4
	ldr	r0, .L65+60
	bl	printk
	ldr	r0, [r10, #8]
	ldr	r3, [sp, #20]
	ldr	r1, [r10, #4]
	str	r4, [r0, r3]
	ldr	r3, [r7]
	ldr	r2, [sp, #16]
	str	r3, [r1, r2]
	b	.L26
.L2:
	ldr	r0, .L65+76
	bl	printk
	mvn	r0, #0
	b	.L1
.L59:
	bl	__stack_chk_fail
.L66:
	.align	2
.L65:
	.word	.LC11
	.word	BLOCK_NIL
	.word	BLOCK_NOTEXPLORED
	.word	65535
	.word	SECTORSIZE
	.word	ERASE_MARK
	.word	.LC3
	.word	FOLD_MARK_IN_PROGRESS
	.word	.LC4
	.word	BLOCK_FREE
	.word	.LC10
	.word	BLOCK_RESERVED
	.word	.LC2
	.word	.LC6
	.word	.LC7
	.word	.LC5
	.word	.LC9
	.word	.LC8
	.word	.LC1
	.word	.LC0
	.size	NFTL_mount, .-NFTL_mount
	.comm	SECTORSIZE,4,4
	.comm	FOLD_MARK_IN_PROGRESS,4,4
	.comm	ERASE_MARK,4,4
	.comm	BLOCK_RESERVED,4,4
	.comm	BLOCK_NOTEXPLORED,4,4
	.comm	BLOCK_NIL,4,4
	.comm	BLOCK_FREE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
