	.file	"extr_journal.c_remove_from_transaction.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"b_count < 0"
.LC1:
	.string	"journal-1752"
	.text
	.p2align 4
	.type	remove_from_transaction, @function
remove_from_transaction:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	SB_JOURNAL@PLT
	mov	edx, r13d
	mov	rdi, r12
	mov	esi, DWORD PTR 8[rax]
	mov	rbx, rax
	call	get_journal_hash_dev@PLT
	test	rax, rax
	je	.L9
	mov	r15, QWORD PTR 16[rax]
	mov	rbp, rax
	test	r15, r15
	je	.L9
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR 8[rax]
	test	rdx, rdx
	je	.L3
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR 8[rbp]
.L3:
	test	rax, rax
	je	.L4
	mov	QWORD PTR [rax], rdx
.L4:
	cmp	QWORD PTR 24[rbx], rbp
	je	.L20
	cmp	QWORD PTR 16[rbx], rbp
	je	.L21
.L6:
	mov	ecx, DWORD PTR 4[r15]
	mov	esi, DWORD PTR 8[rbx]
	xor	r8d, r8d
	xor	edx, edx
	mov	rdi, r12
	xor	r13d, r13d
	call	remove_journal_hash@PLT
	mov	rdi, r15
	call	clear_buffer_journaled@PLT
	test	r14d, r14d
	je	.L22
.L7:
	sub	DWORD PTR 4[rbx], 1
	mov	rsi, rbp
	mov	rdi, r12
	sub	DWORD PTR [rbx], 1
	call	free_cnode@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
.L22:
	.cfi_restore_state
	mov	rdi, r15
	mov	r13d, 1
	call	clear_buffer_journal_dirty@PLT
	mov	rdi, r15
	call	clear_buffer_dirty@PLT
	mov	rdi, r15
	call	clear_buffer_journal_test@PLT
	mov	rdi, r15
	call	put_bh@PLT
	mov	rdi, r15
	call	atomic_read@PLT
	test	rax, rax
	jns	.L7
	lea	rdx, .LC0[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, r12
	call	reiserfs_warning@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rax, QWORD PTR 0[rbp]
	mov	QWORD PTR 16[rbx], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L20:
	mov	QWORD PTR 24[rbx], rax
	cmp	QWORD PTR 16[rbx], rbp
	jne	.L6
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r13d, r13d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	remove_from_transaction, .-remove_from_transaction
	.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_journal.c_remove_from_transaction.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"b_count < 0\000"
	.align	2
.LC1:
	.ascii	"journal-1752\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_from_transaction, %function
remove_from_transaction:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	mov	r5, r1
	mov	r9, r2
	mov	r8, r0
	bl	SB_JOURNAL
	mov	r2, r5
	ldr	r1, [r0, #8]
	mov	r4, r0
	mov	r0, r8
	bl	get_journal_hash_dev
	subs	r5, r0, #0
	moveq	r6, r5
	beq	.L1
	ldr	r7, [r5, #8]
	cmp	r7, #0
	beq	.L9
	ldm	r5, {r2, r3}
	mov	r6, #0
	cmp	r2, #0
	strne	r3, [r2, #4]
	ldrne	r3, [r5, #4]
	ldr	r1, [r4, #8]
	cmp	r3, #0
	strne	r2, [r3]
	ldr	r2, [r4, #16]
	mov	r0, r8
	cmp	r2, r5
	streq	r3, [r4, #16]
	ldr	r3, [r4, #12]
	mov	r2, r6
	cmp	r3, r5
	ldreq	r3, [r5]
	streq	r3, [r4, #12]
	ldr	r3, [r7, #4]
	str	r6, [sp]
	bl	remove_journal_hash
	mov	r0, r7
	bl	clear_buffer_journaled
	cmp	r9, r6
	beq	.L20
.L7:
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	sub	r2, r2, #1
	sub	r3, r3, #1
	mov	r1, r5
	mov	r0, r8
	str	r2, [r4, #4]
	str	r3, [r4]
	bl	free_cnode
.L1:
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L20:
	mov	r0, r7
	bl	clear_buffer_journal_dirty
	mov	r0, r7
	bl	clear_buffer_dirty
	mov	r0, r7
	bl	clear_buffer_journal_test
	mov	r0, r7
	bl	put_bh
	mov	r0, r7
	bl	atomic_read
	cmp	r0, r6
	movge	r6, #1
	bge	.L7
	mov	r0, r8
	ldr	r2, .L21
	ldr	r1, .L21+4
	bl	reiserfs_warning
	mov	r6, #1
	b	.L7
.L9:
	mov	r6, r7
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L22:
	.align	2
.L21:
	.word	.LC0
	.word	.LC1
	.size	remove_from_transaction, .-remove_from_transaction
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
