	.file	"extr_alloc.c_ocfs2_run_deallocs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ocfs2_run_deallocs
	.type	ocfs2_run_deallocs, @function
ocfs2_run_deallocs:
.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
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	rsi, rsi
	je	.L9
	mov	rbp, QWORD PTR 8[rsi]
	mov	r14, rdi
	mov	rbx, rsi
	xor	r13d, r13d
	test	rbp, rbp
	jne	.L6
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	call	kfree@PLT
	mov	rbp, QWORD PTR 8[rbx]
	test	rbp, rbp
	je	.L3
.L6:
	cmp	QWORD PTR 8[rbp], 0
	je	.L4
	mov	esi, DWORD PTR 16[rbp]
	mov	edi, DWORD PTR 20[rbp]
	call	trace_ocfs2_run_deallocs@PLT
	mov	rcx, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR 16[rbp]
	mov	rdi, r14
	mov	esi, DWORD PTR 20[rbp]
	call	ocfs2_free_cached_blocks@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L23
.L5:
	test	r13d, r13d
	cmove	r13d, r12d
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, QWORD PTR [rbx]
	test	rsi, rsi
	je	.L1
	mov	rdi, r14
	call	ocfs2_free_cached_clusters@PLT
	mov	ebp, eax
	test	eax, eax
	jne	.L24
.L7:
	test	r13d, r13d
	mov	QWORD PTR [rbx], 0
	cmove	r13d, ebp
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	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
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	edi, eax
	call	mlog_errno@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r13d, r13d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r13d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	edi, eax
	call	mlog_errno@PLT
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ocfs2_run_deallocs, .-ocfs2_run_deallocs
	.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_alloc.c_ocfs2_run_deallocs.c"
	.text
	.align	2
	.global	ocfs2_run_deallocs
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_run_deallocs, %function
ocfs2_run_deallocs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	subs	r5, r1, #0
	moveq	r7, r5
	beq	.L1
	ldr	r4, [r5, #4]
	mov	r8, r0
	cmp	r4, #0
	beq	.L10
	mov	r7, #0
	b	.L6
.L4:
	ldr	r3, [r4]
	mov	r0, r4
	str	r3, [r5, #4]
	bl	kfree
	ldr	r4, [r5, #4]
	cmp	r4, #0
	beq	.L3
.L6:
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L4
	ldr	r1, [r4, #8]
	ldr	r0, [r4, #12]
	bl	trace_ocfs2_run_deallocs
	mov	r0, r8
	ldr	r3, [r4, #4]
	ldr	r2, [r4, #8]
	ldr	r1, [r4, #12]
	bl	ocfs2_free_cached_blocks
	subs	r6, r0, #0
	bne	.L26
.L5:
	cmp	r7, #0
	moveq	r7, r6
	b	.L4
.L10:
	mov	r7, r4
.L3:
	ldr	r1, [r5]
	cmp	r1, #0
	beq	.L1
	mov	r0, r8
	bl	ocfs2_free_cached_clusters
	subs	r4, r0, #0
	bne	.L27
.L7:
	mov	r3, #0
	cmp	r7, r3
	moveq	r7, r4
	str	r3, [r5]
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	bl	mlog_errno
	b	.L5
.L27:
	bl	mlog_errno
	b	.L7
	.size	ocfs2_run_deallocs, .-ocfs2_run_deallocs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
