	.file	"extr_file.c_f2fs_ioc_write_checkpoint.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Skipping Checkpoint. Checkpoints currently disabled."
	.text
	.p2align 4
	.type	f2fs_ioc_write_checkpoint, @function
f2fs_ioc_write_checkpoint:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	call	file_inode@PLT
	mov	rdi, rax
	call	F2FS_I_SB@PLT
	mov	edi, DWORD PTR CAP_SYS_ADMIN[rip]
	mov	r13, rax
	call	capable@PLT
	test	eax, eax
	jne	.L2
	mov	r12d, DWORD PTR EPERM[rip]
	neg	r12d
.L1:
	mov	eax, r12d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	call	f2fs_readonly@PLT
	test	rax, rax
	je	.L4
	mov	r12d, DWORD PTR EROFS[rip]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	esi, DWORD PTR SBI_CP_DISABLED[rip]
	mov	rdi, r13
	call	is_sbi_flag_set@PLT
	mov	edi, eax
	call	unlikely@PLT
	test	rax, rax
	jne	.L8
	mov	rdi, rbp
	call	mnt_want_write_file@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L1
	mov	edi, DWORD PTR 0[r13]
	mov	esi, 1
	call	f2fs_sync_fs@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	mnt_drop_write_file@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	f2fs_info@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	f2fs_ioc_write_checkpoint, .-f2fs_ioc_write_checkpoint
	.comm	SBI_CP_DISABLED,4,4
	.comm	EROFS,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.comm	CAP_SYS_ADMIN,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_file.c_f2fs_ioc_write_checkpoint.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Skipping Checkpoint. Checkpoints currently disabled"
	.ascii	".\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2fs_ioc_write_checkpoint, %function
f2fs_ioc_write_checkpoint:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	bl	file_inode
	bl	F2FS_I_SB
	ldr	r3, .L9
	mov	r5, r0
	ldr	r0, [r3]
	bl	capable
	cmp	r0, #0
	bne	.L2
	ldr	r3, .L9+4
	ldr	r4, [r3]
	rsb	r4, r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r5]
	bl	f2fs_readonly
	cmp	r0, #0
	beq	.L4
	ldr	r3, .L9+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L4:
	ldr	r3, .L9+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	is_sbi_flag_set
	bl	unlikely
	cmp	r0, #0
	bne	.L8
	mov	r0, r6
	bl	mnt_want_write_file
	subs	r4, r0, #0
	bne	.L1
	mov	r1, #1
	ldr	r0, [r5]
	bl	f2fs_sync_fs
	mov	r4, r0
	mov	r0, r6
	bl	mnt_drop_write_file
	b	.L1
.L8:
	mov	r0, r5
	ldr	r1, .L9+16
	bl	f2fs_info
	ldr	r3, .L9+20
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L10:
	.align	2
.L9:
	.word	CAP_SYS_ADMIN
	.word	EPERM
	.word	EROFS
	.word	SBI_CP_DISABLED
	.word	.LC0
	.word	EINVAL
	.size	f2fs_ioc_write_checkpoint, .-f2fs_ioc_write_checkpoint
	.comm	SBI_CP_DISABLED,4,4
	.comm	EROFS,4,4
	.comm	EPERM,4,4
	.comm	EINVAL,4,4
	.comm	CAP_SYS_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
