	.file	"extr_io.c_ubifs_leb_unmap.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unmap LEB %d failed, error %d"
	.text
	.p2align 4
	.globl	ubifs_leb_unmap
	.type	ubifs_leb_unmap, @function
ubifs_leb_unmap:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, esi
	xor	esi, esi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	cmp	QWORD PTR 16[rdi], 0
	mov	rbp, rdi
	sete	sil
	call	ubifs_assert@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L2
	mov	r12d, DWORD PTR EROFS[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	dbg_is_tst_rcvry@PLT
	mov	esi, r13d
	test	eax, eax
	jne	.L4
	mov	edi, DWORD PTR 0[rbp]
	call	ubi_leb_unmap@PLT
	mov	r12d, eax
.L5:
	test	r12d, r12d
	je	.L1
	mov	ecx, r12d
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	ubifs_err@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	ubifs_ro_mode@PLT
	xor	eax, eax
	call	dump_stack@PLT
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	rdi, rbp
	call	dbg_leb_unmap@PLT
	mov	r12d, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ubifs_leb_unmap, .-ubifs_leb_unmap
	.comm	EROFS,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_io.c_ubifs_leb_unmap.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unmap LEB %d failed, error %d\000"
	.text
	.align	2
	.global	ubifs_leb_unmap
	.syntax unified
	.arm
	.fpu softvfp
	.type	ubifs_leb_unmap, %function
ubifs_leb_unmap:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #12]
	push	{r4, r5, r6, lr}
	cmp	r3, #0
	ldreq	r3, [r0, #8]
	mov	r6, r1
	clzeq	r1, r3
	mov	r4, r0
	movne	r1, #0
	lsreq	r1, r1, #5
	bl	ubifs_assert
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L3
	ldr	r3, .L13
	ldr	r5, [r3]
	rsb	r5, r5, #0
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L3:
	mov	r0, r4
	bl	dbg_is_tst_rcvry
	cmp	r0, #0
	mov	r1, r6
	bne	.L5
	ldr	r0, [r4]
	bl	ubi_leb_unmap
	mov	r5, r0
.L6:
	cmp	r5, #0
	beq	.L1
	mov	r2, r6
	mov	r3, r5
	mov	r0, r4
	ldr	r1, .L13+4
	bl	ubifs_err
	mov	r1, r5
	mov	r0, r4
	bl	ubifs_ro_mode
	bl	dump_stack
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mov	r0, r4
	bl	dbg_leb_unmap
	mov	r5, r0
	b	.L6
.L14:
	.align	2
.L13:
	.word	EROFS
	.word	.LC0
	.size	ubifs_leb_unmap, .-ubifs_leb_unmap
	.comm	EROFS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
