	.file	"extr_refcounttree.c___ocfs2_decrease_refcount.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Tree owner %llu, decrease refcount start %llu, len %u, delete %u\n"
	.text
	.p2align 4
	.type	__ocfs2_decrease_refcount, @function
__ocfs2_decrease_refcount:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rdx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, ecx
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	rax, QWORD PTR 176[rsp]
	mov	QWORD PTR 48[rsp], r9
	mov	QWORD PTR 40[rsp], rdi
	mov	rdi, rsi
	mov	QWORD PTR [rsp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 76[rsp], 0
	call	ocfs2_metadata_cache_get_super@PLT
	mov	rdi, r14
	mov	QWORD PTR 80[rsp], 0
	mov	QWORD PTR 56[rsp], rax
	call	ocfs2_metadata_cache_owner@PLT
	xor	edi, edi
	mov	ecx, ebx
	mov	r8d, r13d
	mov	r9d, DWORD PTR 184[rsp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	call	mlog@PLT
	test	r13d, r13d
	je	.L2
	lea	rax, 76[rsp]
	mov	QWORD PTR 16[rsp], rax
	lea	rax, 92[rsp]
	mov	QWORD PTR 32[rsp], rax
	lea	rax, 80[rsp]
	mov	QWORD PTR 24[rsp], rax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edi, DWORD PTR 100[rsp]
	call	le64_to_cpu@PLT
	mov	edi, DWORD PTR 96[rsp]
	mov	rbp, rax
	call	le32_to_cpu@PLT
	lea	edi, [rbx+r13]
	movsx	rsi, eax
	add	rsi, rbp
	call	min@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	r9d, ebx
	mov	rdx, r15
	mov	ebp, eax
	sub	eax, ebx
	mov	rsi, r14
	mov	DWORD PTR 20[rsp], eax
	push	QWORD PTR 8[rsp]
	.cfi_def_cfa_offset 192
	push	QWORD PTR 64[rsp]
	.cfi_def_cfa_offset 200
	push	rax
	.cfi_def_cfa_offset 208
	mov	r8d, DWORD PTR 108[rsp]
	mov	rcx, QWORD PTR 112[rsp]
	mov	rdi, QWORD PTR 72[rsp]
	call	ocfs2_decrease_refcount_rec@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 176
	mov	r12d, eax
	test	eax, eax
	jne	.L21
	mov	edi, DWORD PTR 92[rsp]
	call	le32_to_cpu@PLT
	cmp	eax, 1
	jne	.L7
	mov	eax, DWORD PTR 184[rsp]
	test	eax, eax
	jne	.L23
.L7:
	mov	rdi, QWORD PTR 80[rsp]
	sub	ebx, ebp
	add	r13d, ebx
	call	brelse@PLT
	mov	QWORD PTR 80[rsp], 0
	test	r13d, r13d
	je	.L24
	mov	ebx, ebp
.L8:
	sub	rsp, 8
	.cfi_def_cfa_offset 184
	mov	ecx, r13d
	mov	rsi, r15
	mov	edx, ebx
	push	QWORD PTR 32[rsp]
	.cfi_def_cfa_offset 192
	mov	r9, QWORD PTR 32[rsp]
	mov	rdi, r14
	mov	r8, QWORD PTR 48[rsp]
	call	ocfs2_get_refcount_rec@PLT
	pop	rcx
	.cfi_def_cfa_offset 184
	pop	rsi
	.cfi_def_cfa_offset 176
	mov	r12d, eax
	test	eax, eax
	jne	.L21
	mov	edi, DWORD PTR 92[rsp]
	call	le32_to_cpu@PLT
	xor	edi, edi
	test	eax, eax
	mov	ebp, eax
	sete	dil
	call	BUG_ON@PLT
	mov	edx, DWORD PTR 184[rsp]
	test	edx, edx
	jne	.L5
	xor	edi, edi
	cmp	ebp, 1
	seta	dil
	call	BUG_ON@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, QWORD PTR 56[rsp]
	mov	esi, ebx
	call	ocfs2_clusters_to_blocks@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR [rsp]
	mov	esi, eax
	call	ocfs2_cache_cluster_dealloc@PLT
	test	eax, eax
	je	.L7
	mov	edi, eax
	mov	DWORD PTR [rsp], eax
	call	mlog_errno@PLT
	mov	edx, DWORD PTR [rsp]
	mov	rdi, QWORD PTR 80[rsp]
	mov	r12d, edx
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L21:
	mov	edi, r12d
	call	mlog_errno@PLT
	mov	rdi, QWORD PTR 80[rsp]
.L4:
	call	brelse@PLT
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L24:
	.cfi_restore_state
	xor	edi, edi
	jmp	.L4
.L2:
	mov	rdi, QWORD PTR 80[rsp]
	xor	r12d, r12d
	jmp	.L4
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__ocfs2_decrease_refcount, .-__ocfs2_decrease_refcount
	.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_refcounttree.c___ocfs2_decrease_refcount.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Tree owner %llu, decrease refcount start %llu, len "
	.ascii	"%u, delete %u\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ocfs2_decrease_refcount, %function
__ocfs2_decrease_refcount:
	@ args = 16, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	mov	r4, r3
	ldr	r3, .L25
	sub	sp, sp, #68
	ldr	r3, [r3]
	str	r3, [sp, #60]
	mov	r3,#0
	ldr	r3, [sp, #108]
	mov	r10, r0
	mov	r0, r1
	mov	r7, r1
	mov	r8, r2
	ldr	r6, [sp, #104]
	str	r3, [sp, #28]
	ldr	fp, [sp, #112]
	str	r5, [sp, #40]
	bl	ocfs2_metadata_cache_get_super
	mov	r3, r0
	mov	r0, r7
	str	r3, [sp, #36]
	str	r5, [sp, #44]
	bl	ocfs2_metadata_cache_owner
	ldr	r3, [sp, #116]
	mov	r2, r0
	str	r3, [sp, #12]
	stmib	sp, {r5, r6}
	asr	r3, r0, #31
	ldr	r1, .L25+4
	mov	r0, r5
	str	r4, [sp]
	bl	mlog
	cmp	r6, r5
	beq	.L2
	str	r5, [sp, #32]
	b	.L10
.L5:
	ldr	r0, [sp, #56]
	bl	le64_to_cpu
	mov	r5, r0
	ldr	r0, [sp, #52]
	bl	le32_to_cpu
	mov	r1, r0
	mov	r0, r9
	add	r1, r5, r1
	bl	min
	ldr	r3, [sp, #40]
	ldr	r2, [sp, #28]
	sub	r9, r0, r4
	stm	sp, {r3, r4, r9}
	str	r2, [sp, #12]
	mov	r5, r0
	mov	r2, r8
	mov	r1, r7
	mov	r0, r10
	ldr	r3, [sp, #44]
	str	fp, [sp, #16]
	bl	ocfs2_decrease_refcount_rec
	cmp	r0, #0
	bne	.L19
	ldr	r0, [sp, #48]
	bl	le32_to_cpu
	cmp	r0, #1
	beq	.L22
.L9:
	ldr	r0, [sp, #44]
	sub	r4, r4, r5
	bl	brelse
	add	r6, r6, r4
	ldr	r3, [sp, #32]
	cmp	r6, #0
	str	r3, [sp, #44]
	beq	.L23
	mov	r4, r5
.L10:
	add	r3, sp, #44
	str	r3, [sp, #8]
	add	r3, sp, #40
	str	r3, [sp, #4]
	add	r3, sp, #48
	str	r3, [sp]
	mov	r2, r4
	mov	r3, r6
	mov	r1, r8
	mov	r0, r7
	bl	ocfs2_get_refcount_rec
	subs	r3, r0, #0
	str	r3, [sp, #24]
	bne	.L20
	ldr	r0, [sp, #48]
	bl	le32_to_cpu
	mov	r5, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	ldr	r3, [sp, #116]
	add	r9, r4, r6
	cmp	r3, #0
	bne	.L5
	cmp	r5, #1
	movls	r0, #0
	movhi	r0, #1
	bl	BUG_ON
	ldr	r0, [sp, #56]
	bl	le64_to_cpu
	mov	r5, r0
	ldr	r0, [sp, #52]
	bl	le32_to_cpu
	mov	r1, r0
	mov	r0, r9
	add	r1, r5, r1
	bl	min
	ldr	r3, [sp, #40]
	ldr	r1, [sp, #28]
	sub	r2, r0, r4
	str	r1, [sp, #12]
	str	r2, [sp, #8]
	str	r3, [sp]
	mov	r5, r0
	mov	r2, r8
	mov	r1, r7
	mov	r0, r10
	ldr	r3, [sp, #44]
	str	fp, [sp, #16]
	str	r4, [sp, #4]
	bl	ocfs2_decrease_refcount_rec
	cmp	r0, #0
	bne	.L19
	ldr	r0, [sp, #48]
	bl	le32_to_cpu
	b	.L9
.L22:
	mov	r1, r4
	ldr	r0, [sp, #36]
	bl	ocfs2_clusters_to_blocks
	mov	r2, r9
	mov	r1, r0
	mov	r0, fp
	bl	ocfs2_cache_cluster_dealloc
	subs	r9, r0, #0
	beq	.L9
	bl	mlog_errno
	ldr	r0, [sp, #44]
	str	r9, [sp, #24]
	b	.L4
.L19:
	str	r0, [sp, #24]
.L20:
	bl	mlog_errno
	ldr	r0, [sp, #44]
.L4:
	bl	brelse
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L24
	ldr	r0, [sp, #24]
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
	mov	r0, r6
	b	.L4
.L2:
	ldr	r0, [sp, #44]
	str	r6, [sp, #24]
	b	.L4
.L24:
	bl	__stack_chk_fail
.L26:
	.align	2
.L25:
	.word	.LC1
	.word	.LC0
	.size	__ocfs2_decrease_refcount, .-__ocfs2_decrease_refcount
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
