	.file	"extr_recovery.c_write_rcvrd_mst_node.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"recovery"
	.text
	.p2align 4
	.type	write_rcvrd_mst_node, @function
write_rcvrd_mst_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, DWORD PTR UBIFS_MST_LNUM[rip]
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r13d, DWORD PTR [rdi]
	lea	rdi, .LC0[rip]
	mov	rbx, rsi
	call	dbg_rcvry@PLT
	mov	edi, DWORD PTR UBIFS_MST_RCVRY[rip]
	mov	r14d, DWORD PTR [rbx]
	call	cpu_to_le32@PLT
	or	DWORD PTR [rbx], eax
	mov	edx, DWORD PTR UBIFS_MST_NODE_SZ[rip]
	mov	rsi, rbx
	mov	ecx, 1
	mov	rdi, rbp
	call	ubifs_prepare_node@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	ecx, r13d
	mov	rdx, rbx
	mov	r8d, DWORD PTR UBI_SHORTTERM[rip]
	mov	esi, r12d
	call	ubi_leb_change@PLT
	test	eax, eax
	jne	.L2
	mov	edi, DWORD PTR 4[rbp]
	mov	r8d, DWORD PTR UBI_SHORTTERM[rip]
	mov	ecx, r13d
	mov	rdx, rbx
	lea	esi, 1[r12]
	call	ubi_leb_change@PLT
.L2:
	mov	DWORD PTR [rbx], r14d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	write_rcvrd_mst_node, .-write_rcvrd_mst_node
	.comm	UBI_SHORTTERM,4,4
	.comm	UBIFS_MST_RCVRY,4,4
	.comm	UBIFS_MST_NODE_SZ,4,4
	.comm	UBIFS_MST_LNUM,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_recovery.c_write_rcvrd_mst_node.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"recovery\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	write_rcvrd_mst_node, %function
write_rcvrd_mst_node:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r5, r0
	mov	r4, r1
	ldr	r3, .L5
	sub	sp, sp, #12
	ldr	r0, .L5+4
	ldr	r6, [r3]
	ldr	r8, [r5]
	bl	dbg_rcvry
	ldr	r3, .L5+8
	ldr	r7, [r4]
	ldr	r0, [r3]
	bl	cpu_to_le32
	ldr	r3, [r4]
	ldr	r2, .L5+12
	orr	r3, r3, r0
	str	r3, [r4]
	ldr	r9, .L5+16
	mov	r1, r4
	mov	r3, #1
	ldr	r2, [r2]
	mov	r0, r5
	bl	ubifs_prepare_node
	ldr	ip, [r9]
	ldr	r0, [r5, #4]
	mov	r3, r8
	mov	r2, r4
	mov	r1, r6
	str	ip, [sp]
	bl	ubi_leb_change
	cmp	r0, #0
	bne	.L2
	ldr	r2, [r9]
	mov	r3, r8
	str	r2, [sp]
	ldr	r0, [r5, #4]
	mov	r2, r4
	add	r1, r6, #1
	bl	ubi_leb_change
.L2:
	str	r7, [r4]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L6:
	.align	2
.L5:
	.word	UBIFS_MST_LNUM
	.word	.LC0
	.word	UBIFS_MST_RCVRY
	.word	UBIFS_MST_NODE_SZ
	.word	UBI_SHORTTERM
	.size	write_rcvrd_mst_node, .-write_rcvrd_mst_node
	.comm	UBI_SHORTTERM,4,4
	.comm	UBIFS_MST_RCVRY,4,4
	.comm	UBIFS_MST_NODE_SZ,4,4
	.comm	UBIFS_MST_LNUM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
