	.file	"extr_misc.c_fat_update_time.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	fat_update_time
	.type	fat_update_time, @function
fat_update_time:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR MSDOS_ROOT_INO[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L18
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, DWORD PTR I_DIRTY_TIME[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	call	fat_truncate_time@PLT
	test	DWORD PTR S_VERSION[rip], ebx
	jne	.L23
	mov	eax, DWORD PTR S_ATIME[rip]
	or	eax, DWORD PTR S_CTIME[rip]
	or	eax, DWORD PTR S_MTIME[rip]
	test	eax, ebx
	je	.L5
	mov	rax, QWORD PTR 8[rbp]
	mov	eax, DWORD PTR [rax]
	test	DWORD PTR SB_LAZYTIME[rip], eax
	jne	.L5
.L6:
	or	r12d, DWORD PTR I_DIRTY_SYNC[rip]
.L5:
	mov	esi, r12d
	mov	rdi, rbp
	call	__mark_inode_dirty@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	xor	esi, esi
	mov	rdi, rbp
	call	inode_maybe_inc_iversion@PLT
	mov	edx, DWORD PTR S_ATIME[rip]
	or	edx, DWORD PTR S_CTIME[rip]
	or	edx, DWORD PTR S_MTIME[rip]
	test	edx, ebx
	je	.L4
	mov	rdx, QWORD PTR 8[rbp]
	mov	edx, DWORD PTR [rdx]
	test	DWORD PTR SB_LAZYTIME[rip], edx
	je	.L6
.L4:
	test	eax, eax
	je	.L5
	or	r12d, DWORD PTR I_DIRTY_SYNC[rip]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_def_cfa_offset 8
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	fat_update_time, .-fat_update_time
	.comm	S_VERSION,4,4
	.comm	S_MTIME,4,4
	.comm	S_CTIME,4,4
	.comm	S_ATIME,4,4
	.comm	SB_LAZYTIME,4,4
	.comm	MSDOS_ROOT_INO,8,8
	.comm	I_DIRTY_TIME,4,4
	.comm	I_DIRTY_SYNC,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_misc.c_fat_update_time.c"
	.text
	.align	2
	.global	fat_update_time
	.syntax unified
	.arm
	.fpu softvfp
	.type	fat_update_time, %function
fat_update_time:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L24
	ldr	ip, [r0]
	ldr	r3, [r3]
	cmp	ip, r3
	beq	.L18
	push	{r4, r5, r6, lr}
	mov	r5, r2
	ldr	r3, .L24+4
	mov	r4, r0
	ldr	r6, [r3]
	bl	fat_truncate_time
	ldr	r3, .L24+8
	ldr	r3, [r3]
	tst	r5, r3
	bne	.L23
	ldr	r3, .L24+12
	ldr	r1, .L24+16
	ldr	r2, .L24+20
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	orr	r3, r3, r2
	tst	r3, r5
	beq	.L5
	ldr	r2, [r4, #4]
	ldr	r3, .L24+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	bne	.L5
.L6:
	ldr	r3, .L24+28
	ldr	r3, [r3]
	orr	r6, r6, r3
.L5:
	mov	r1, r6
	mov	r0, r4
	bl	__mark_inode_dirty
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L23:
	mov	r1, #0
	mov	r0, r4
	bl	inode_maybe_inc_iversion
	ldr	r3, .L24+12
	ldr	r1, .L24+16
	ldr	r2, .L24+20
	ldr	r3, [r3]
	ldr	r1, [r1]
	ldr	r2, [r2]
	orr	r3, r3, r1
	orr	r3, r3, r2
	tst	r3, r5
	beq	.L4
	ldr	r2, [r4, #4]
	ldr	r3, .L24+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	tst	r2, r3
	beq	.L6
.L4:
	cmp	r0, #0
	ldrne	r3, .L24+28
	ldrne	r3, [r3]
	orrne	r6, r6, r3
	b	.L5
.L18:
	mov	r0, #0
	bx	lr
.L25:
	.align	2
.L24:
	.word	MSDOS_ROOT_INO
	.word	I_DIRTY_TIME
	.word	S_VERSION
	.word	S_ATIME
	.word	S_CTIME
	.word	S_MTIME
	.word	SB_LAZYTIME
	.word	I_DIRTY_SYNC
	.size	fat_update_time, .-fat_update_time
	.comm	S_VERSION,4,4
	.comm	S_MTIME,4,4
	.comm	S_CTIME,4,4
	.comm	S_ATIME,4,4
	.comm	SB_LAZYTIME,4,4
	.comm	MSDOS_ROOT_INO,4,4
	.comm	I_DIRTY_TIME,4,4
	.comm	I_DIRTY_SYNC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
