	.file	"extr_readinode.c_read_unknown.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"REF_UNCHECKED but unknown node at %#08x\n"
	.align 8
.LC1:
	.string	"Node is {%04x,%04x,%08x,%08x}. Please report this error.\n"
	.align 8
.LC2:
	.string	"unknown INCOMPAT nodetype %#04X at %#08x\n"
	.align 8
.LC3:
	.string	"unknown ROCOMPAT nodetype %#04X at %#08x\n"
	.align 8
.LC4:
	.string	"unknown RWCOMPAT_COPY nodetype %#04X at %#08x\n"
	.align 8
.LC5:
	.string	"unknown RWCOMPAT_DELETE nodetype %#04X at %#08x\n"
	.text
	.p2align 4
	.type	read_unknown, @function
read_unknown:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	rdi, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	ref_flags@PLT
	cmp	rax, QWORD PTR REF_UNCHECKED[rip]
	je	.L10
	mov	edi, DWORD PTR [rbx]
	call	je16_to_cpu@PLT
	or	eax, DWORD PTR JFFS2_NODE_ACCURATE[rip]
	mov	edi, eax
	call	cpu_to_je16@PLT
	mov	DWORD PTR [rbx], eax
	mov	edi, eax
	call	je16_to_cpu@PLT
	and	eax, DWORD PTR JFFS2_COMPAT_MASK[rip]
	cmp	eax, 130
	je	.L4
	jg	.L5
	cmp	eax, 128
	je	.L6
	cmp	eax, 129
	jne	.L3
	mov	rdi, rbp
	call	ref_offset@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r12d, eax
	call	je16_to_cpu@PLT
	mov	edx, r12d
	lea	rdi, .LC4[rip]
	mov	esi, eax
	call	JFFS2_NOTICE@PLT
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
.L5:
	.cfi_restore_state
	cmp	eax, 131
	jne	.L3
	mov	rdi, rbp
	call	ref_offset@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r12d, eax
	call	je16_to_cpu@PLT
	mov	edx, r12d
	lea	rdi, .LC2[rip]
	mov	esi, eax
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	xor	eax, eax
	call	BUG@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	ref_offset@PLT
	lea	rdi, .LC0[rip]
	mov	esi, eax
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	edi, DWORD PTR 4[rbx]
	call	je32_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	r15d, eax
	call	je32_to_cpu@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r14d, eax
	call	je16_to_cpu@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	r13d, eax
	call	je16_to_cpu@PLT
	mov	r8d, r15d
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, eax
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	jffs2_mark_node_obsolete@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rdi, rbp
	call	ref_offset@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r13d, eax
	call	je16_to_cpu@PLT
	mov	edx, r13d
	lea	rdi, .LC5[rip]
	mov	esi, eax
	call	JFFS2_NOTICE@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	jffs2_mark_node_obsolete@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdi, rbp
	call	ref_offset@PLT
	mov	edi, DWORD PTR [rbx]
	mov	r13d, eax
	call	je16_to_cpu@PLT
	mov	edx, r13d
	lea	rdi, .LC3[rip]
	mov	esi, eax
	xor	eax, eax
	call	JFFS2_ERROR@PLT
	mov	eax, DWORD PTR [r12]
	xor	edi, edi
	test	DWORD PTR JFFS2_SB_FLAG_RO[rip], eax
	sete	dil
	call	BUG_ON@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	read_unknown, .-read_unknown
	.comm	REF_UNCHECKED,8,8
	.comm	JFFS2_SB_FLAG_RO,4,4
	.comm	JFFS2_NODE_ACCURATE,4,4
	.comm	JFFS2_COMPAT_MASK,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_read_unknown.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"REF_UNCHECKED but unknown node at %#08x\012\000"
	.align	2
.LC1:
	.ascii	"Node is {%04x,%04x,%08x,%08x}. Please report this e"
	.ascii	"rror.\012\000"
	.align	2
.LC2:
	.ascii	"unknown INCOMPAT nodetype %#04X at %#08x\012\000"
	.align	2
.LC3:
	.ascii	"unknown ROCOMPAT nodetype %#04X at %#08x\012\000"
	.align	2
.LC4:
	.ascii	"unknown RWCOMPAT_COPY nodetype %#04X at %#08x\012\000"
	.align	2
.LC5:
	.ascii	"unknown RWCOMPAT_DELETE nodetype %#04X at %#08x\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_unknown, %function
read_unknown:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, r0
	sub	sp, sp, #8
	mov	r0, r1
	mov	r5, r1
	mov	r4, r2
	bl	ref_flags
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L11
	ldr	r0, [r4]
	bl	je16_to_cpu
	ldr	r3, .L12+4
	ldr	r3, [r3]
	orr	r0, r0, r3
	bl	cpu_to_je16
	str	r0, [r4]
	bl	je16_to_cpu
	ldr	r3, .L12+8
	ldr	r3, [r3]
	and	r3, r3, r0
	sub	r3, r3, #128
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L3
.L5:
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L8:
	ldr	r0, [r4]
	bl	je16_to_cpu
	mov	r4, r0
	mov	r0, r5
	bl	ref_offset
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+12
	bl	JFFS2_NOTICE
	mov	r1, r5
	mov	r0, r6
	bl	jffs2_mark_node_obsolete
.L3:
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r0, r5
	bl	ref_offset
	mov	r1, r0
	ldr	r0, .L12+16
	bl	JFFS2_ERROR
	ldr	r0, [r4, #12]
	bl	je16_to_cpu
	mov	r7, r0
	ldr	r0, [r4]
	bl	je16_to_cpu
	mov	r8, r0
	ldr	r0, [r4, #8]
	bl	je32_to_cpu
	mov	r3, r0
	ldr	r0, [r4, #4]
	mov	r4, r3
	bl	je32_to_cpu
	mov	r3, r4
	mov	r2, r8
	mov	r1, r7
	str	r0, [sp]
	ldr	r0, .L12+20
	bl	JFFS2_ERROR
	mov	r1, r5
	mov	r0, r6
	bl	jffs2_mark_node_obsolete
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r0, [r4]
	bl	je16_to_cpu
	mov	r4, r0
	mov	r0, r5
	bl	ref_offset
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+24
	bl	JFFS2_ERROR
	bl	BUG
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	ldr	r0, [r4]
	bl	je16_to_cpu
	mov	r4, r0
	mov	r0, r5
	bl	ref_offset
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+28
	bl	JFFS2_NOTICE
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r0, [r4]
	bl	je16_to_cpu
	mov	r4, r0
	mov	r0, r5
	bl	ref_offset
	mov	r1, r4
	mov	r2, r0
	ldr	r0, .L12+32
	bl	JFFS2_ERROR
	ldr	r3, .L12+36
	ldr	r2, [r6]
	ldr	r3, [r3]
	tst	r2, r3
	moveq	r0, #1
	movne	r0, #0
	bl	BUG_ON
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	REF_UNCHECKED
	.word	JFFS2_NODE_ACCURATE
	.word	JFFS2_COMPAT_MASK
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC4
	.word	.LC3
	.word	JFFS2_SB_FLAG_RO
	.size	read_unknown, .-read_unknown
	.comm	REF_UNCHECKED,4,4
	.comm	JFFS2_SB_FLAG_RO,4,4
	.comm	JFFS2_NODE_ACCURATE,4,4
	.comm	JFFS2_COMPAT_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
