	.file	"extr_readinode.c_jffs2_do_read_inode_internal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ino #%u pino/nlink is %d\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"cannot read nodes for ino %u, returned error is %d\n"
	.align 8
.LC2:
	.string	"Failed to build final fragtree for inode #%u: error %d\n"
	.align 8
.LC3:
	.string	"no data nodes found for ino #%u\n"
	.align 8
.LC4:
	.string	"but it has children so we fake some modes for it\n"
	.align 8
.LC5:
	.string	"CRC failed for read_inode of inode %u at physical location 0x%x\n"
	.align 8
.LC6:
	.string	"Truncating ino #%u to %d bytes failed because it only had %d bytes to start with!\n"
	.align 8
.LC7:
	.string	"can't allocate %u bytes of memory for the symlink target path cache\n"
	.section	.rodata.str1.1
.LC8:
	.string	"symlink's target '%s' cached\n"
	.section	.rodata.str1.8
	.align 8
.LC9:
	.string	"Argh. Special inode #%u with mode 0%o had metadata node\n"
	.align 8
.LC10:
	.string	"Argh. Special inode #%u with mode 0%o has no fragments\n"
	.align 8
.LC11:
	.string	"Argh. Special inode #%u with mode 0x%x had more than one node\n"
	.align 8
.LC12:
	.string	"failed to read from flash: error %d, %zd of %zd bytes read\n"
	.text
	.p2align 4
	.type	jffs2_do_read_inode_internal, @function
jffs2_do_read_inode_internal:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	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
	mov	rbp, rdi
	lea	rdi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR 8[rsi]
	lea	r13, 32[rsp]
	mov	edx, DWORD PTR 16[rax]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	dbg_readinode@PLT
	xor	esi, esi
	mov	edx, 48
	mov	rdi, r13
	call	memset@PLT
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	call	jffs2_get_inode_nodes@PLT
	test	eax, eax
	jne	.L50
	mov	rdx, r13
	mov	rsi, r14
	mov	rdi, rbp
	call	jffs2_build_inode_fragtree@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L51
	mov	rsi, QWORD PTR 64[rsp]
	test	rsi, rsi
	je	.L6
	mov	rax, QWORD PTR [rsi]
	mov	rcx, QWORD PTR 32[rsp]
	cmp	QWORD PTR [rax], rcx
	je	.L52
	mov	rdi, rbp
	call	jffs2_kill_tn@PLT
.L8:
	mov	QWORD PTR 64[rsp], 0
.L6:
	mov	eax, DWORD PTR 56[rsp]
	mov	rdi, r14
	mov	DWORD PTR 32[r14], eax
	call	jffs2_dbg_fragtree_paranoia_check_nolock@PLT
	xor	edi, edi
	cmp	QWORD PTR 32[rsp], 0
	sete	dil
	call	unlikely@PLT
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR 8[r14]
	mov	esi, DWORD PTR [rax]
	cmp	esi, 1
	je	.L10
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	JFFS2_WARNING@PLT
	mov	eax, DWORD PTR 56[rsp]
	test	eax, eax
	jne	.L11
	mov	rsi, QWORD PTR 8[r14]
	mov	rax, QWORD PTR INO_STATE_READING[rip]
	cmp	QWORD PTR 8[rsi], rax
	je	.L53
.L48:
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L50:
	mov	r12d, eax
	mov	rax, QWORD PTR 8[r14]
	lea	rdi, .LC1[rip]
	mov	edx, r12d
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	rsi, QWORD PTR 8[r14]
	mov	rax, QWORD PTR INO_STATE_READING[rip]
	cmp	QWORD PTR 8[rsi], rax
	je	.L54
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L55
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L9:
	.cfi_restore_state
	mov	rdi, QWORD PTR 32[rsp]
	lea	r15, 24[rsp]
	call	ref_offset@PLT
	mov	r8, rbx
	mov	rcx, r15
	mov	edx, 88
	mov	esi, eax
	mov	rdi, rbp
	call	jffs2_flash_read@PLT
	mov	r13d, eax
	test	eax, eax
	jne	.L14
	mov	rdx, QWORD PTR 24[rsp]
	cmp	rdx, 88
	je	.L56
	mov	ecx, 88
	xor	esi, esi
	lea	rdi, .LC12[rip]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC4[rip]
	call	JFFS2_NOTICE@PLT
.L10:
	mov	edi, DWORD PTR S_IRUGO[rip]
	or	edi, DWORD PTR S_IXUGO[rip]
	or	edi, DWORD PTR S_IWUSR[rip]
	or	dil, -126
	call	cpu_to_jemode@PLT
	xor	edi, edi
	mov	DWORD PTR [rbx], eax
	call	cpu_to_je32@PLT
	xor	edi, edi
	mov	QWORD PTR 48[rbx], rax
	call	cpu_to_je32@PLT
	xor	edi, edi
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR 40[rbx], rax
	mov	QWORD PTR 80[rbx], rax
	call	cpu_to_je32@PLT
	xor	edi, edi
	mov	QWORD PTR 24[rbx], rax
	call	cpu_to_je16@PLT
	xor	edi, edi
	mov	QWORD PTR 72[rbx], rax
	call	cpu_to_je16@PLT
	mov	rsi, QWORD PTR 8[r14]
	mov	QWORD PTR 64[rbx], rax
	mov	rax, QWORD PTR INO_STATE_READING[rip]
	cmp	QWORD PTR 8[rsi], rax
	jne	.L1
	mov	edx, DWORD PTR INO_STATE_PRESENT[rip]
	mov	rdi, rbp
	call	jffs2_set_inocache_state@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L51:
	mov	rax, QWORD PTR 8[r14]
	mov	edx, r12d
	lea	rdi, .LC2[rip]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	rsi, QWORD PTR 8[r14]
	mov	rax, QWORD PTR INO_STATE_READING[rip]
	cmp	QWORD PTR 8[rsi], rax
	je	.L57
.L5:
	lea	rdi, 72[rsp]
	call	jffs2_free_tmp_dnode_info_list@PLT
	mov	rax, QWORD PTR 64[rsp]
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR [rax]
	call	jffs2_free_full_dnode@PLT
	mov	rdi, QWORD PTR 64[rsp]
	call	jffs2_free_tmp_dnode_info@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L52:
	mov	QWORD PTR 24[r14], rax
	mov	rdi, rsi
	call	jffs2_free_tmp_dnode_info@PLT
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L54:
	mov	edx, DWORD PTR INO_STATE_CHECKEDABSENT[rip]
	mov	rdi, rbp
	call	jffs2_set_inocache_state@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L56:
	xor	edi, edi
	mov	edx, 80
	mov	rsi, rbx
	call	crc32@PLT
	mov	rdi, QWORD PTR 56[rbx]
	mov	r13, rax
	call	je32_to_cpu@PLT
	cmp	rax, r13
	je	.L16
	mov	rdi, QWORD PTR 32[rsp]
	call	ref_offset@PLT
	lea	rdi, .LC5[rip]
	mov	edx, eax
	mov	rax, QWORD PTR 8[r14]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L53:
	mov	edx, DWORD PTR INO_STATE_CHECKEDABSENT[rip]
	mov	rdi, rbp
	call	jffs2_set_inocache_state@PLT
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdx, QWORD PTR 24[rsp]
	mov	esi, eax
	mov	ecx, 88
	xor	eax, eax
	lea	rdi, .LC12[rip]
	mov	r12d, r13d
	call	JFFS2_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L57:
	mov	edx, DWORD PTR INO_STATE_CHECKEDABSENT[rip]
	mov	rdi, rbp
	call	jffs2_set_inocache_state@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edi, DWORD PTR [rbx]
	call	jemode_to_cpu@PLT
	and	eax, DWORD PTR S_IFMT[rip]
	cmp	eax, 130
	je	.L17
	jg	.L18
	cmp	eax, 128
	je	.L19
	cmp	eax, 129
	jne	.L21
	mov	rdi, QWORD PTR 24[rbx]
	call	je32_to_cpu@PLT
	test	rax, rax
	jne	.L25
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR 24[rbx], rax
.L25:
	mov	rax, QWORD PTR 8[r14]
	mov	rcx, QWORD PTR INO_STATE_CHECKING[rip]
	cmp	QWORD PTR 8[rax], rcx
	je	.L22
	mov	rdi, QWORD PTR 8[rbx]
	call	je32_to_cpu@PLT
	cmp	QWORD PTR JFFS2_MAX_NAME_LEN[rip], rax
	mov	r13, rax
	jge	.L26
	mov	r12d, DWORD PTR ENAMETOOLONG[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	sub	eax, 131
	cmp	eax, 1
	ja	.L21
.L22:
	cmp	QWORD PTR 24[r14], 0
	je	.L32
	mov	edi, DWORD PTR [rbx]
	call	jemode_to_cpu@PLT
	lea	rdi, .LC9[rip]
	mov	edx, eax
	mov	rax, QWORD PTR 8[r14]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
.L32:
	lea	r13, 16[r14]
	mov	rdi, r13
	call	frag_first@PLT
	test	rax, rax
	je	.L58
	mov	rdi, r13
	call	frag_first@PLT
	mov	rdi, rax
	call	frag_next@PLT
	test	eax, eax
	jne	.L59
	mov	rdi, r13
	call	frag_first@PLT
	mov	rdi, r13
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR 24[r14], rax
	call	frag_first@PLT
	mov	rdi, rax
	call	jffs2_free_node_frag@PLT
	mov	eax, DWORD PTR RB_ROOT[rip]
	mov	DWORD PTR 16[r14], eax
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rsi, QWORD PTR 8[r14]
	mov	rax, QWORD PTR INO_STATE_READING[rip]
	cmp	QWORD PTR 8[rsi], rax
	jne	.L1
	mov	edx, DWORD PTR INO_STATE_PRESENT[rip]
	mov	rdi, rbp
	xor	r12d, r12d
	call	jffs2_set_inocache_state@PLT
	jmp	.L1
.L17:
	mov	rdi, QWORD PTR 48[rbx]
	mov	r13, QWORD PTR 40[rsp]
	call	je32_to_cpu@PLT
	cmp	r13, rax
	jle	.L21
	mov	rdi, QWORD PTR 48[rsp]
	call	cpu_to_je32@PLT
	mov	QWORD PTR 32[rbx], rax
	mov	QWORD PTR 40[rbx], rax
	jmp	.L21
.L19:
	mov	rdi, QWORD PTR 24[rbx]
	call	je32_to_cpu@PLT
	mov	rdi, rbp
	lea	rsi, 16[r14]
	mov	rdx, rax
	call	jffs2_truncate_fragtree@PLT
	mov	rdi, QWORD PTR 24[rbx]
	mov	r13, rax
	call	je32_to_cpu@PLT
	cmp	rax, r13
	je	.L21
	mov	rdi, QWORD PTR 24[rbx]
	call	je32_to_cpu@PLT
	mov	rcx, r13
	lea	rdi, .LC6[rip]
	mov	rdx, rax
	mov	rax, QWORD PTR 8[r14]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_WARNING@PLT
	mov	rdi, r13
	call	cpu_to_je32@PLT
	mov	QWORD PTR 24[rbx], rax
	jmp	.L21
.L26:
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	lea	edi, 1[rax]
	call	kmalloc@PLT
	mov	QWORD PTR [r14], rax
	test	rax, rax
	je	.L60
	mov	rdi, QWORD PTR 32[rsp]
	mov	QWORD PTR 8[rsp], rax
	call	ref_offset@PLT
	mov	r8, QWORD PTR 8[rsp]
	mov	rcx, r15
	mov	rdx, r13
	lea	esi, 88[rax]
	mov	rdi, rbp
	call	jffs2_flash_read@PLT
	mov	r15d, eax
	test	eax, eax
	jne	.L28
	cmp	QWORD PTR 24[rsp], r13
	je	.L61
.L29:
	mov	r15d, DWORD PTR EIO[rip]
	neg	r15d
.L31:
	mov	rdi, QWORD PTR [r14]
	mov	r12d, r15d
	call	kfree@PLT
	mov	QWORD PTR [r14], 0
	jmp	.L1
.L59:
	mov	edi, DWORD PTR [rbx]
	call	jemode_to_cpu@PLT
	lea	rdi, .LC11[rip]
	mov	edx, eax
	mov	rax, QWORD PTR 8[r14]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
.L58:
	mov	edi, DWORD PTR [rbx]
	call	jemode_to_cpu@PLT
	lea	rdi, .LC10[rip]
	mov	edx, eax
	mov	rax, QWORD PTR 8[r14]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
.L55:
	call	__stack_chk_fail@PLT
.L28:
	cmp	QWORD PTR 24[rsp], r13
	je	.L31
	jmp	.L29
.L61:
	mov	rax, QWORD PTR [r14]
	lea	rdi, .LC8[rip]
	mov	BYTE PTR [rax+r13], 0
	mov	rsi, QWORD PTR [r14]
	xor	eax, eax
	call	dbg_readinode@PLT
	jmp	.L22
.L60:
	mov	esi, r13d
	lea	rdi, .LC7[rip]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	jffs2_do_read_inode_internal, .-jffs2_do_read_inode_internal
	.comm	S_IXUGO,4,4
	.comm	S_IWUSR,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFMT,4,4
	.comm	RB_ROOT,4,4
	.comm	JFFS2_MAX_NAME_LEN,8,8
	.comm	INO_STATE_READING,8,8
	.comm	INO_STATE_PRESENT,4,4
	.comm	INO_STATE_CHECKING,8,8
	.comm	INO_STATE_CHECKEDABSENT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENAMETOOLONG,4,4
	.comm	EIO,4,4
	.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_readinode.c_jffs2_do_read_inode_internal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ino #%u pino/nlink is %d\012\000"
	.align	2
.LC1:
	.ascii	"cannot read nodes for ino %u, returned error is %d\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Failed to build final fragtree for inode #%u: error"
	.ascii	" %d\012\000"
	.align	2
.LC3:
	.ascii	"no data nodes found for ino #%u\012\000"
	.align	2
.LC4:
	.ascii	"but it has children so we fake some modes for it\012"
	.ascii	"\000"
	.align	2
.LC5:
	.ascii	"CRC failed for read_inode of inode %u at physical l"
	.ascii	"ocation 0x%x\012\000"
	.align	2
.LC6:
	.ascii	"Truncating ino #%u to %d bytes failed because it on"
	.ascii	"ly had %d bytes to start with!\012\000"
	.align	2
.LC7:
	.ascii	"can't allocate %u bytes of memory for the symlink t"
	.ascii	"arget path cache\012\000"
	.align	2
.LC8:
	.ascii	"symlink's target '%s' cached\012\000"
	.align	2
.LC9:
	.ascii	"Argh. Special inode #%u with mode 0%o had metadata "
	.ascii	"node\012\000"
	.align	2
.LC10:
	.ascii	"Argh. Special inode #%u with mode 0%o has no fragme"
	.ascii	"nts\012\000"
	.align	2
.LC11:
	.ascii	"Argh. Special inode #%u with mode 0x%x had more tha"
	.ascii	"n one node\012\000"
	.align	2
.LC12:
	.ascii	"failed to read from flash: error %d, %zd of %zd byt"
	.ascii	"es read\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jffs2_do_read_inode_internal, %function
jffs2_do_read_inode_internal:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, [r1, #4]
	mov	r5, r1
	mov	r7, r2
	ldr	r1, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L63
	sub	sp, sp, #44
	mov	r6, r0
	ldr	r0, .L63+4
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	dbg_readinode
	mov	r3, #0
	mov	r1, r5
	mov	r0, r6
	add	r2, sp, #12
	str	r3, [sp, #12]
	str	r3, [sp, #16]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	bl	jffs2_get_inode_nodes
	subs	r4, r0, #0
	bne	.L50
	mov	r1, r5
	mov	r0, r6
	add	r2, sp, #12
	bl	jffs2_build_inode_fragtree
	subs	r4, r0, #0
	bne	.L51
	ldr	r1, [sp, #28]
	cmp	r1, #0
	beq	.L6
	ldr	r3, [r1]
	ldr	r2, [sp, #12]
	ldr	r0, [r3]
	cmp	r0, r2
	beq	.L52
	mov	r0, r6
	bl	jffs2_kill_tn
.L8:
	mov	r3, #0
	str	r3, [sp, #28]
.L6:
	ldr	r3, [sp, #24]
	mov	r0, r5
	str	r3, [r5, #16]
	bl	jffs2_dbg_fragtree_paranoia_check_nolock
	ldr	r0, [sp, #12]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	unlikely
	cmp	r0, #0
	beq	.L9
	ldr	r3, [r5, #4]
	ldr	r1, [r3]
	cmp	r1, #1
	beq	.L10
	ldr	r0, .L63+8
	bl	JFFS2_WARNING
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L11
	ldr	r1, [r5, #4]
	ldr	r3, .L63+12
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L53
.L48:
	ldr	r3, .L63+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L50:
	ldr	r3, [r5, #4]
	mov	r2, r4
	ldr	r1, [r3]
	ldr	r0, .L63+20
	bl	JFFS2_ERROR
	ldr	r1, [r5, #4]
	ldr	r3, .L63+12
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L54
.L1:
	ldr	r3, .L63
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L55
	mov	r0, r4
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r0, [sp, #12]
	bl	ref_offset
	mov	r2, #44
	mov	r1, r0
	str	r7, [sp]
	mov	r0, r6
	add	r3, sp, #8
	bl	jffs2_flash_read
	subs	r1, r0, #0
	bne	.L14
	ldr	r2, [sp, #8]
	cmp	r2, #44
	beq	.L56
	mov	r3, #44
	ldr	r0, .L63+24
	bl	JFFS2_ERROR
	b	.L48
.L11:
	ldr	r0, .L63+28
	bl	JFFS2_NOTICE
.L10:
	ldr	r1, .L63+32
	ldr	r2, .L63+36
	ldr	r3, .L63+40
	ldr	r0, [r1]
	ldr	r2, [r2]
	ldr	r3, [r3]
	orr	r0, r0, r2
	orr	r0, r0, r3
	orr	r0, r0, #130
	bl	cpu_to_jemode
	mov	r3, r0
	mov	r0, #0
	str	r3, [r7]
	bl	cpu_to_je32
	mov	r3, r0
	mov	r0, #0
	str	r3, [r7, #24]
	bl	cpu_to_je32
	mov	r3, r0
	mov	r0, #0
	str	r3, [r7, #16]
	str	r3, [r7, #20]
	str	r3, [r7, #40]
	bl	cpu_to_je32
	mov	r3, r0
	mov	r0, #0
	str	r3, [r7, #12]
	bl	cpu_to_je16
	mov	r3, r0
	mov	r0, #0
	str	r3, [r7, #36]
	bl	cpu_to_je16
	ldr	r1, [r5, #4]
	ldr	r3, .L63+12
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	str	r0, [r7, #32]
	cmp	r2, r3
	bne	.L1
	ldr	r3, .L63+44
	mov	r0, r6
	ldr	r2, [r3]
	bl	jffs2_set_inocache_state
	b	.L1
.L51:
	ldr	r3, [r5, #4]
	mov	r2, r4
	ldr	r1, [r3]
	ldr	r0, .L63+48
	bl	JFFS2_ERROR
	ldr	r1, [r5, #4]
	ldr	r3, .L63+12
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L57
.L5:
	add	r0, sp, #32
	bl	jffs2_free_tmp_dnode_info_list
	ldr	r3, [sp, #28]
	cmp	r3, #0
	beq	.L1
	ldr	r0, [r3]
	bl	jffs2_free_full_dnode
	ldr	r0, [sp, #28]
	bl	jffs2_free_tmp_dnode_info
	b	.L1
.L52:
	mov	r0, r1
	str	r3, [r5, #12]
	bl	jffs2_free_tmp_dnode_info
	b	.L8
.L54:
	ldr	r3, .L63+52
	mov	r0, r6
	ldr	r2, [r3]
	bl	jffs2_set_inocache_state
	b	.L1
.L56:
	mov	r2, #36
	mov	r1, r7
	bl	crc32
	mov	r8, r0
	ldr	r0, [r7, #28]
	bl	je32_to_cpu
	cmp	r0, r8
	beq	.L16
	ldr	r3, [r5, #4]
	ldr	r0, [sp, #12]
	ldr	r4, [r3]
	bl	ref_offset
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L63+56
	bl	JFFS2_ERROR
	ldr	r3, .L63+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L53:
	ldr	r3, .L63+52
	mov	r0, r6
	ldr	r2, [r3]
	bl	jffs2_set_inocache_state
	b	.L48
.L14:
	mov	r3, #44
	ldr	r2, [sp, #8]
	ldr	r0, .L63+24
	mov	r4, r1
	bl	JFFS2_ERROR
	b	.L1
.L57:
	ldr	r3, .L63+52
	mov	r0, r6
	ldr	r2, [r3]
	bl	jffs2_set_inocache_state
	b	.L5
.L16:
	ldr	r0, [r7]
	bl	jemode_to_cpu
	ldr	r3, .L63+60
	ldr	r3, [r3]
	and	r3, r3, r0
	sub	r3, r3, #128
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L17
.L19:
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L18
	.word	.L18
.L62:
	ldr	r2, [r5]
	ldr	r0, .L63+64
	strb	r8, [r2, r3]
	ldr	r1, [r5]
	bl	dbg_readinode
.L18:
	ldr	r3, [r5, #12]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [r5, #4]
	ldr	r0, [r7]
	ldr	r4, [r3]
	bl	jemode_to_cpu
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L63+68
	bl	JFFS2_ERROR
	ldr	r3, .L63+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L20:
	ldr	r0, [r7, #24]
	ldr	r8, [sp, #16]
	bl	je32_to_cpu
	cmp	r8, r0
	bgt	.L58
.L17:
	ldr	r1, [r5, #4]
	ldr	r3, .L63+12
	ldr	r2, [r1, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L1
	ldr	r3, .L63+44
	mov	r0, r6
	ldr	r2, [r3]
	bl	jffs2_set_inocache_state
	mov	r4, #0
	b	.L1
.L21:
	ldr	r0, [r7, #12]
	bl	je32_to_cpu
	cmp	r0, #0
	ldreq	r3, [r7, #8]
	ldr	r2, [r5, #4]
	streq	r3, [r7, #12]
	ldr	r3, .L63+72
	ldr	r2, [r2, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L18
	ldr	r0, [r7, #4]
	bl	je32_to_cpu
	ldr	r3, .L63+76
	mov	r9, r0
	ldr	r3, [r3]
	cmp	r3, r0
	bge	.L26
	ldr	r3, .L63+80
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L22:
	ldr	r0, [r7, #12]
	bl	je32_to_cpu
	add	r1, r5, #8
	mov	r2, r0
	mov	r0, r6
	bl	jffs2_truncate_fragtree
	mov	r8, r0
	ldr	r0, [r7, #12]
	bl	je32_to_cpu
	cmp	r0, r8
	beq	.L17
	ldr	r3, [r5, #4]
	ldr	r0, [r7, #12]
	ldr	r9, [r3]
	bl	je32_to_cpu
	mov	r3, r8
	mov	r2, r0
	mov	r1, r9
	ldr	r0, .L63+84
	bl	JFFS2_WARNING
	mov	r0, r8
	bl	cpu_to_je32
	str	r0, [r7, #12]
	b	.L17
.L32:
	add	r8, r5, #8
	mov	r0, r8
	bl	frag_first
	cmp	r0, #0
	beq	.L59
	mov	r0, r8
	bl	frag_first
	bl	frag_next
	cmp	r0, #0
	bne	.L60
	mov	r0, r8
	bl	frag_first
	ldr	r3, [r0]
	mov	r0, r8
	str	r3, [r5, #12]
	bl	frag_first
	bl	jffs2_free_node_frag
	ldr	r3, .L63+88
	ldr	r3, [r3]
	str	r3, [r5, #8]
	b	.L17
.L58:
	ldr	r0, [sp, #20]
	bl	cpu_to_je32
	str	r0, [r7, #16]
	str	r0, [r7, #20]
	b	.L17
.L26:
	ldr	r3, .L63+92
	add	r0, r0, #1
	ldr	r1, [r3]
	bl	kmalloc
	cmp	r0, #0
	str	r0, [r5]
	beq	.L61
	ldr	r0, [sp, #12]
	bl	ref_offset
	ldr	r2, [r5]
	add	r1, r0, #44
	add	r3, sp, #8
	str	r2, [sp]
	mov	r0, r6
	mov	r2, r9
	bl	jffs2_flash_read
	subs	r8, r0, #0
	ldr	r3, [sp, #8]
	bne	.L28
	cmp	r3, r9
	beq	.L62
.L29:
	ldr	r3, .L63+16
	ldr	r8, [r3]
	rsb	r8, r8, #0
.L31:
	ldr	r0, [r5]
	bl	kfree
	mov	r3, #0
	mov	r4, r8
	str	r3, [r5]
	b	.L1
.L60:
	ldr	r3, [r5, #4]
	ldr	r0, [r7]
	ldr	r4, [r3]
	bl	jemode_to_cpu
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L63+96
	bl	JFFS2_ERROR
	ldr	r3, .L63+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L59:
	ldr	r3, [r5, #4]
	ldr	r0, [r7]
	ldr	r4, [r3]
	bl	jemode_to_cpu
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L63+100
	bl	JFFS2_ERROR
	ldr	r3, .L63+16
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L55:
	bl	__stack_chk_fail
.L28:
	cmp	r3, r9
	beq	.L31
	b	.L29
.L61:
	mov	r1, r9
	ldr	r0, .L63+104
	bl	JFFS2_ERROR
	ldr	r3, .L63+108
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L64:
	.align	2
.L63:
	.word	.LC13
	.word	.LC0
	.word	.LC3
	.word	INO_STATE_READING
	.word	EIO
	.word	.LC1
	.word	.LC12
	.word	.LC4
	.word	S_IRUGO
	.word	S_IXUGO
	.word	S_IWUSR
	.word	INO_STATE_PRESENT
	.word	.LC2
	.word	INO_STATE_CHECKEDABSENT
	.word	.LC5
	.word	S_IFMT
	.word	.LC8
	.word	.LC9
	.word	INO_STATE_CHECKING
	.word	JFFS2_MAX_NAME_LEN
	.word	ENAMETOOLONG
	.word	.LC6
	.word	RB_ROOT
	.word	GFP_KERNEL
	.word	.LC11
	.word	.LC10
	.word	.LC7
	.word	ENOMEM
	.size	jffs2_do_read_inode_internal, .-jffs2_do_read_inode_internal
	.comm	S_IXUGO,4,4
	.comm	S_IWUSR,4,4
	.comm	S_IRUGO,4,4
	.comm	S_IFMT,4,4
	.comm	RB_ROOT,4,4
	.comm	JFFS2_MAX_NAME_LEN,4,4
	.comm	INO_STATE_READING,4,4
	.comm	INO_STATE_PRESENT,4,4
	.comm	INO_STATE_CHECKING,4,4
	.comm	INO_STATE_CHECKEDABSENT,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	ENAMETOOLONG,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
