	.file	"extr_lpt_commit.c_ubifs_lpt_free.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ubifs_lpt_free
	.type	ubifs_lpt_free, @function
ubifs_lpt_free:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, esi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	free_obsolete_cnodes@PLT
	mov	rdi, QWORD PTR 56[r12]
	call	vfree@PLT
	mov	rdi, QWORD PTR 48[r12]
	mov	QWORD PTR 56[r12], 0
	call	vfree@PLT
	mov	rdi, QWORD PTR 40[r12]
	mov	QWORD PTR 48[r12], 0
	call	kfree@PLT
	mov	QWORD PTR 40[r12], 0
	test	ebx, ebx
	je	.L21
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L21:
	.cfi_restore_state
	lea	r13, 4[rsp]
	mov	rdi, r12
	mov	rsi, r13
	call	first_nnode@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L5
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR UBIFS_LPT_FANOUT[rip]
	xor	ebx, ebx
	test	edx, edx
	jle	.L7
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, QWORD PTR [rax+rbx*8]
	add	rbx, 1
	call	kfree@PLT
	cmp	DWORD PTR UBIFS_LPT_FANOUT[rip], ebx
	jg	.L6
.L7:
	mov	rsi, rbp
	mov	rdx, r13
	mov	rdi, r12
	call	next_nnode@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L4
.L5:
	mov	eax, DWORD PTR LPROPS_HEAP_CNT[rip]
	test	eax, eax
	jle	.L8
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 32[r12]
	mov	rdi, QWORD PTR [rax+rbx*8]
	add	rbx, 1
	call	kfree@PLT
	cmp	DWORD PTR LPROPS_HEAP_CNT[rip], ebx
	jg	.L9
.L8:
	mov	rdi, QWORD PTR 24[r12]
	call	kfree@PLT
	mov	rdi, QWORD PTR 16[r12]
	call	kfree@PLT
	mov	rdi, QWORD PTR 8[r12]
	call	vfree@PLT
	mov	rdi, QWORD PTR [r12]
	call	kfree@PLT
	jmp	.L1
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ubifs_lpt_free, .-ubifs_lpt_free
	.comm	UBIFS_LPT_FANOUT,4,4
	.comm	LPROPS_HEAP_CNT,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_lpt_commit.c_ubifs_lpt_free.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ubifs_lpt_free
	.syntax unified
	.arm
	.fpu softvfp
	.type	ubifs_lpt_free, %function
ubifs_lpt_free:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r4, #0
	mov	r6, r1
	ldr	r3, .L22
	sub	sp, sp, #8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	free_obsolete_cnodes
	ldr	r0, [r7, #28]
	bl	vfree
	ldr	r0, [r7, #24]
	str	r4, [r7, #28]
	bl	vfree
	ldr	r0, [r7, #20]
	str	r4, [r7, #24]
	bl	kfree
	cmp	r6, r4
	str	r4, [r7, #20]
	beq	.L20
.L1:
	ldr	r3, .L22
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L20:
	mov	r1, sp
	mov	r0, r7
	bl	first_nnode
	subs	r5, r0, #0
	beq	.L5
	ldr	r8, .L22+4
.L4:
	ldr	r3, [r8]
	cmp	r3, #0
	movgt	r4, #0
	ble	.L7
.L6:
	ldr	r3, [r5]
	ldr	r0, [r3, r4, lsl #2]
	bl	kfree
	ldr	r3, [r8]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L6
.L7:
	mov	r1, r5
	mov	r2, sp
	mov	r0, r7
	bl	next_nnode
	subs	r5, r0, #0
	bne	.L4
.L5:
	ldr	r4, .L22+8
	ldr	r3, [r4]
	cmp	r3, #0
	ble	.L8
.L9:
	ldr	r3, [r7, #16]
	ldr	r0, [r3, r6, lsl #2]
	bl	kfree
	ldr	r3, [r4]
	add	r6, r6, #1
	cmp	r3, r6
	bgt	.L9
.L8:
	ldr	r0, [r7, #12]
	bl	kfree
	ldr	r0, [r7, #8]
	bl	kfree
	ldr	r0, [r7, #4]
	bl	vfree
	ldr	r0, [r7]
	bl	kfree
	b	.L1
.L21:
	bl	__stack_chk_fail
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	UBIFS_LPT_FANOUT
	.word	LPROPS_HEAP_CNT
	.size	ubifs_lpt_free, .-ubifs_lpt_free
	.comm	UBIFS_LPT_FANOUT,4,4
	.comm	LPROPS_HEAP_CNT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
