	.file	"extr_transaction.c___journal_file_buffer.c"
	.intel_syntax noprefix
	.text
	.section	.text.unlikely,"ax",@progbits
.LCOLDB0:
	.text
.LHOTB0:
	.p2align 4
	.globl	__journal_file_buffer
	.type	__journal_file_buffer, @function
__journal_file_buffer:
.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
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	jh2bh@PLT
	mov	rdi, rax
	mov	r13, rax
	call	jbd_is_locked_bh_state@PLT
	mov	rdi, rbp
	mov	esi, eax
	call	J_ASSERT_JH@PLT
	mov	rdi, QWORD PTR 72[rbx]
	call	assert_spin_locked@PLT
	mov	eax, DWORD PTR BJ_Types[rip]
	xor	esi, esi
	cmp	DWORD PTR 0[rbp], eax
	setl	sil
	mov	rdi, rbp
	call	J_ASSERT_JH@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, rbp
	cmp	rax, rbx
	sete	sil
	test	rax, rax
	sete	al
	or	esi, eax
	movzx	esi, sil
	call	J_ASSERT_JH@PLT
	mov	rax, QWORD PTR 16[rbp]
	test	rax, rax
	je	.L2
	cmp	DWORD PTR 0[rbp], r12d
	je	.L1
.L2:
	lea	edx, -132[r12]
	and	edx, -5
	je	.L4
	lea	edx, -129[r12]
	xor	r14d, r14d
	cmp	edx, 1
	ja	.L5
.L4:
	mov	rdi, r13
	call	buffer_dirty@PLT
	test	rax, rax
	jne	.L40
	mov	rdi, r13
	call	test_clear_buffer_dirty@PLT
	test	rax, rax
	je	.L7
.L42:
	mov	rax, QWORD PTR 16[rbp]
	mov	r14d, 1
.L5:
	test	rax, rax
	je	.L8
.L41:
	mov	rdi, rbp
	call	__journal_temp_unlink_buffer@PLT
.L8:
	lea	eax, -128[r12]
	mov	QWORD PTR 16[rbp], rbx
	cmp	eax, 8
	ja	.L22
	lea	rdx, .L11[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L11:
	.long	.L19-.L11
	.long	.L18-.L11
	.long	.L17-.L11
	.long	.L16-.L11
	.long	.L15-.L11
	.long	.L14-.L11
	.long	.L13-.L11
	.long	.L12-.L11
	.long	.L10-.L11
	.text
	.p2align 4,,10
	.p2align 3
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	mov	rdi, r13
	xor	r14d, r14d
	call	test_clear_buffer_jbddirty@PLT
	test	rax, rax
	mov	rax, QWORD PTR 16[rbp]
	setne	r14b
	test	rax, rax
	jne	.L41
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L40:
	mov	rdi, r13
	call	warn_dirty_buffer@PLT
	mov	rdi, r13
	call	test_clear_buffer_dirty@PLT
	test	rax, rax
	jne	.L42
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L10:
	lea	rdi, 40[rbx]
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rsi, rbp
	call	__blist_add_buffer@PLT
	mov	DWORD PTR 0[rbp], r12d
	test	r14d, r14d
	je	.L1
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, r13
	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
	jmp	set_buffer_jbddirty@PLT
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	lea	rdi, 64[rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L12:
	lea	rdi, 32[rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, 16[rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L13:
	mov	rdi, rbx
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	lea	rdi, 24[rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L17:
	lea	rdi, 8[rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L16:
	mov	eax, DWORD PTR 8[rbp]
	xor	esi, esi
	mov	rdi, rbp
	test	eax, eax
	sete	sil
	call	J_ASSERT_JH@PLT
	mov	edx, DWORD PTR 4[rbp]
	xor	esi, esi
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	test	edx, edx
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	sete	sil
	jmp	J_ASSERT_JH@PLT
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	add	DWORD PTR 56[rbx], 1
	lea	rdi, 48[rbx]
	jmp	.L9
	.cfi_endproc
	.section	.text.unlikely
	.cfi_startproc
	.type	__journal_file_buffer.cold, @function
__journal_file_buffer.cold:
.LFSB0:
.L22:
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	.cfi_offset 6, -40
	.cfi_offset 12, -32
	.cfi_offset 13, -24
	.cfi_offset 14, -16
	xor	edi, edi
	jmp	.L9
	.cfi_endproc
.LFE0:
	.text
	.size	__journal_file_buffer, .-__journal_file_buffer
	.section	.text.unlikely
	.size	__journal_file_buffer.cold, .-__journal_file_buffer.cold
.LCOLDE0:
	.text
.LHOTE0:
	.comm	BJ_Types,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_transaction.c___journal_file_buffer.c"
	.text
	.align	2
	.global	__journal_file_buffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	__journal_file_buffer, %function
__journal_file_buffer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r2
	mov	r6, r1
	bl	jh2bh
	mov	r7, r0
	bl	jbd_is_locked_bh_state
	mov	r1, r0
	mov	r0, r4
	bl	J_ASSERT_JH
	ldr	r0, [r6, #36]
	bl	assert_spin_locked
	ldr	r3, .L43
	ldr	r1, [r4]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r1, r3
	movge	r1, #0
	movlt	r1, #1
	bl	J_ASSERT_JH
	ldr	r1, [r4, #12]
	mov	r0, r4
	cmp	r1, #0
	cmpne	r1, r6
	moveq	r1, #1
	movne	r1, #0
	bl	J_ASSERT_JH
	ldr	r3, [r4, #12]
	cmp	r3, #0
	beq	.L2
	ldr	r2, [r4]
	cmp	r2, r5
	popeq	{r4, r5, r6, r7, r8, pc}
.L2:
	sub	r2, r5, #132
	bics	r2, r2, #4
	beq	.L4
	sub	r2, r5, #129
	cmp	r2, #1
	movhi	r8, #0
	bhi	.L5
.L4:
	mov	r0, r7
	bl	buffer_dirty
	cmp	r0, #0
	bne	.L40
	mov	r0, r7
	bl	test_clear_buffer_dirty
	cmp	r0, #0
	beq	.L7
.L42:
	mov	r8, #1
	ldr	r3, [r4, #12]
.L5:
	cmp	r3, #0
	beq	.L8
.L41:
	mov	r0, r4
	bl	__journal_temp_unlink_buffer
.L8:
	sub	r3, r5, #128
	str	r6, [r4, #12]
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L22
.L11:
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L10
.L7:
	mov	r0, r7
	bl	test_clear_buffer_jbddirty
	ldr	r3, [r4, #12]
	subs	r8, r0, #0
	movne	r8, #1
	cmp	r3, #0
	bne	.L41
	b	.L8
.L40:
	mov	r0, r7
	bl	warn_dirty_buffer
	mov	r0, r7
	bl	test_clear_buffer_dirty
	cmp	r0, #0
	bne	.L42
	b	.L7
.L19:
	add	r0, r6, #32
.L9:
	mov	r1, r4
	bl	__blist_add_buffer
	cmp	r8, #0
	str	r5, [r4]
	popeq	{r4, r5, r6, r7, r8, pc}
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, lr}
	b	set_buffer_jbddirty
.L18:
	add	r0, r6, #12
	b	.L9
.L10:
	add	r0, r6, #20
	b	.L9
.L13:
	mov	r0, r6
	b	.L9
.L12:
	add	r0, r6, #16
	b	.L9
.L17:
	add	r0, r6, #4
	b	.L9
.L16:
	ldr	r1, [r4, #8]
	mov	r0, r4
	clz	r1, r1
	lsr	r1, r1, #5
	bl	J_ASSERT_JH
	ldr	r1, [r4, #4]
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	clz	r1, r1
	lsr	r1, r1, #5
	b	J_ASSERT_JH
.L15:
	ldr	r3, [r6, #28]
	add	r0, r6, #24
	add	r3, r3, #1
	str	r3, [r6, #28]
	b	.L9
.L14:
	add	r0, r6, #8
	b	.L9
.L22:
	mov	r0, #0
	b	.L9
.L44:
	.align	2
.L43:
	.word	BJ_Types
	.size	__journal_file_buffer, .-__journal_file_buffer
	.comm	BJ_Types,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
