	.file	"extr_recovery.c_nilfs_finish_roll_forward.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"buffer sync write failed during post-cleaning of recovery."
	.text
	.p2align 4
	.type	nilfs_finish_roll_forward, @function
nilfs_finish_roll_forward:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	esi, DWORD PTR [rsi]
	mov	rbx, rdi
	call	nilfs_get_segnum_of_block@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	rdi, rbx
	mov	r12, rax
	call	nilfs_get_segnum_of_block@PLT
	cmp	r12, rax
	je	.L9
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR 0[rbp]
	mov	edx, DWORD PTR 4[rbx]
	mov	edi, DWORD PTR 8[rbx]
	call	__getblk@PLT
	xor	edi, edi
	test	rax, rax
	mov	rbp, rax
	sete	dil
	call	BUG_ON@PLT
	mov	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR 4[rbp]
	xor	esi, esi
	call	memset@PLT
	mov	rdi, rbp
	call	set_buffer_dirty@PLT
	mov	rdi, rbp
	call	sync_dirty_buffer@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L10
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	brelse@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR [rbx]
	mov	esi, DWORD PTR KERN_WARNING[rip]
	lea	rdx, .LC0[rip]
	call	nilfs_msg@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	brelse@PLT
	.cfi_endproc
.LFE0:
	.size	nilfs_finish_roll_forward, .-nilfs_finish_roll_forward
	.comm	KERN_WARNING,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_recovery.c_nilfs_finish_roll_forward.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"buffer sync write failed during post-cleaning of re"
	.ascii	"covery.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nilfs_finish_roll_forward, %function
nilfs_finish_roll_forward:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r1, [r1]
	mov	r5, r0
	bl	nilfs_get_segnum_of_block
	ldr	r1, [r4, #4]
	mov	r6, r0
	mov	r0, r5
	bl	nilfs_get_segnum_of_block
	cmp	r6, r0
	popne	{r4, r5, r6, pc}
	ldr	r1, [r4]
	ldr	r2, [r5, #4]
	ldr	r0, [r5, #8]
	bl	__getblk
	mov	r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	BUG_ON
	mov	r1, #0
	ldr	r2, [r4]
	ldr	r0, [r4, #4]
	bl	memset
	mov	r0, r4
	bl	set_buffer_dirty
	mov	r0, r4
	bl	sync_dirty_buffer
	bl	unlikely
	cmp	r0, #0
	bne	.L9
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	brelse
.L9:
	ldr	r3, .L10
	ldr	r0, [r5]
	ldr	r1, [r3]
	ldr	r2, .L10+4
	bl	nilfs_msg
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	brelse
.L11:
	.align	2
.L10:
	.word	KERN_WARNING
	.word	.LC0
	.size	nilfs_finish_roll_forward, .-nilfs_finish_roll_forward
	.comm	KERN_WARNING,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
