	.file	"extr_inode.c_hpfs_write_inode_nolock.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\001\001"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"directory %08lx doesn't have '.' entry"
	.text
	.p2align 4
	.globl	hpfs_write_inode_nolock
	.type	hpfs_write_inode_nolock, @function
hpfs_write_inode_nolock:
.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
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	hpfs_i@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	rbp, QWORD PTR [rbx]
	mov	r12, rax
	call	hpfs_sb@PLT
	cmp	rbp, QWORD PTR [rax]
	je	.L1
	mov	edi, DWORD PTR 12[rbx]
	mov	rsi, QWORD PTR [rbx]
	lea	rdx, 16[rsp]
	call	hpfs_map_fnode@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 12[rbx]
	mov	r13, QWORD PTR [rbx]
	call	hpfs_sb@PLT
	cmp	r13, QWORD PTR [rax]
	je	.L3
	cmp	QWORD PTR 40[rbx], 0
	jne	.L31
.L3:
	mov	edi, DWORD PTR 8[rbx]
	call	S_ISREG@PLT
	test	rax, rax
	jne	.L32
	mov	edi, DWORD PTR 8[rbx]
	call	S_ISDIR@PLT
	test	rax, rax
	jne	.L33
.L6:
	mov	rsi, rbp
	mov	rdi, rbx
	call	hpfs_write_inode_ea@PLT
.L14:
	mov	edi, DWORD PTR 8[rbx]
	call	S_ISDIR@PLT
	test	rax, rax
	jne	.L34
.L10:
	mov	rdi, QWORD PTR 16[rsp]
	call	mark_buffer_dirty@PLT
.L29:
	mov	rdi, QWORD PTR 16[rsp]
	call	brelse@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L35
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.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
.L33:
	.cfi_restore_state
	mov	QWORD PTR 0[rbp], 0
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L34:
	mov	esi, DWORD PTR [r12]
	lea	r13, 12[rsp]
	xor	r8d, r8d
	mov	rdi, rbx
	mov	r9, r13
	mov	ecx, 2
	lea	rdx, .LC0[rip]
	call	map_dirent@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L11
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 12[rbx]
	call	gmt_to_local@PLT
	mov	esi, DWORD PTR 20[rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	QWORD PTR 40[rbp], rax
	call	gmt_to_local@PLT
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	QWORD PTR 32[rbp], rax
	call	gmt_to_local@PLT
	mov	rdi, r13
	mov	QWORD PTR 24[rbp], rax
	xor	eax, eax
	test	BYTE PTR 8[rbx], -110
	sete	al
	mov	QWORD PTR 16[rbp], 0
	mov	DWORD PTR 0[rbp], eax
	mov	QWORD PTR 8[rbp], 0
	call	hpfs_mark_4buffers_dirty@PLT
	mov	rdi, r13
	call	hpfs_brelse4@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L31:
	mov	edi, DWORD PTR 12[rbx]
	mov	rsi, QWORD PTR [rbx]
	lea	r14, 12[rsp]
	mov	rdx, rbp
	mov	rcx, r14
	call	map_fnode_dirent@PLT
	mov	r13, rax
	test	rax, rax
	je	.L29
	mov	edi, DWORD PTR 8[rbx]
	call	S_ISREG@PLT
	test	rax, rax
	je	.L36
	mov	rax, QWORD PTR 32[rbx]
	mov	QWORD PTR 0[rbp], rax
	mov	QWORD PTR 8[r13], rax
.L8:
	mov	rsi, rbp
	mov	rdi, rbx
	call	hpfs_write_inode_ea@PLT
	mov	esi, DWORD PTR 24[rbx]
	mov	edi, DWORD PTR 12[rbx]
	call	gmt_to_local@PLT
	mov	esi, DWORD PTR 20[rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	QWORD PTR 40[r13], rax
	call	gmt_to_local@PLT
	mov	esi, DWORD PTR 16[rbx]
	mov	edi, DWORD PTR 12[rbx]
	mov	QWORD PTR 32[r13], rax
	call	gmt_to_local@PLT
	mov	rdi, r14
	mov	QWORD PTR 24[r13], rax
	xor	eax, eax
	test	BYTE PTR 8[rbx], -110
	sete	al
	mov	DWORD PTR 0[r13], eax
	mov	rax, QWORD PTR 8[r12]
	mov	QWORD PTR 16[r13], rax
	call	hpfs_mark_4buffers_dirty@PLT
	mov	rdi, r14
	call	hpfs_brelse4@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rax, QWORD PTR 32[rbx]
	mov	QWORD PTR 0[rbp], rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 12[rbx]
	mov	rdx, QWORD PTR [rbx]
	lea	rsi, .LC1[rip]
	call	hpfs_error@PLT
	jmp	.L10
.L35:
	call	__stack_chk_fail@PLT
.L36:
	mov	edi, DWORD PTR 8[rbx]
	call	S_ISDIR@PLT
	test	rax, rax
	je	.L8
	mov	QWORD PTR 0[rbp], 0
	mov	QWORD PTR 8[r13], 0
	jmp	.L8
	.cfi_endproc
.LFE0:
	.size	hpfs_write_inode_nolock, .-hpfs_write_inode_nolock
	.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_inode.c_hpfs_write_inode_nolock.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\001\001\000"
	.align	2
.LC1:
	.ascii	"directory %08lx doesn't have '.' entry\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	hpfs_write_inode_nolock
	.syntax unified
	.arm
	.fpu softvfp
	.type	hpfs_write_inode_nolock, %function
hpfs_write_inode_nolock:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L39
	sub	sp, sp, #24
	mov	r4, r0
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	hpfs_i
	mov	r6, r0
	ldr	r0, [r4, #8]
	ldr	r5, [r4]
	bl	hpfs_sb
	ldr	r3, [r0]
	cmp	r5, r3
	beq	.L1
	ldr	r1, [r4]
	ldr	r0, [r4, #8]
	add	r2, sp, #12
	bl	hpfs_map_fnode
	subs	r5, r0, #0
	beq	.L1
	ldr	r0, [r4, #8]
	ldr	r7, [r4]
	bl	hpfs_sb
	ldr	r3, [r0]
	cmp	r7, r3
	beq	.L3
	ldr	r3, [r4, #28]
	cmp	r3, #0
	bne	.L34
.L3:
	ldr	r0, [r4, #4]
	bl	S_ISREG
	subs	r7, r0, #0
	bne	.L35
	ldr	r0, [r4, #4]
	bl	S_ISDIR
	cmp	r0, #0
	strne	r7, [r5]
.L6:
	mov	r1, r5
	mov	r0, r4
	bl	hpfs_write_inode_ea
.L14:
	ldr	r0, [r4, #4]
	bl	S_ISDIR
	cmp	r0, #0
	bne	.L36
.L10:
	ldr	r0, [sp, #12]
	bl	mark_buffer_dirty
.L32:
	ldr	r0, [sp, #12]
	bl	brelse
.L1:
	ldr	r3, .L39
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L37
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L36:
	mov	r7, #0
	ldr	r1, [r6]
	add	r6, sp, #16
	mov	r3, #2
	mov	r0, r4
	ldr	r2, .L39+4
	str	r7, [sp]
	str	r6, [sp, #4]
	bl	map_dirent
	subs	r5, r0, #0
	beq	.L11
	ldr	r1, [r4, #20]
	ldr	r0, [r4, #8]
	bl	gmt_to_local
	ldr	r1, [r4, #16]
	str	r0, [r5, #20]
	ldr	r0, [r4, #8]
	bl	gmt_to_local
	ldr	r1, [r4, #12]
	str	r0, [r5, #16]
	ldr	r0, [r4, #8]
	bl	gmt_to_local
	ldr	r3, [r4, #4]
	str	r0, [r5, #12]
	tst	r3, #146
	moveq	r3, #1
	movne	r3, r7
	mov	r0, r6
	stm	r5, {r3, r7}
	str	r7, [r5, #8]
	bl	hpfs_mark_4buffers_dirty
	mov	r0, r6
	bl	hpfs_brelse4
	b	.L10
.L34:
	mov	r2, r5
	ldr	r1, [r4]
	ldr	r0, [r4, #8]
	add	r3, sp, #16
	bl	map_fnode_dirent
	subs	r7, r0, #0
	beq	.L32
	ldr	r0, [r4, #4]
	bl	S_ISREG
	subs	r8, r0, #0
	beq	.L38
	ldr	r3, [r4, #24]
	str	r3, [r5]
	str	r3, [r7, #4]
.L8:
	mov	r1, r5
	mov	r0, r4
	bl	hpfs_write_inode_ea
	ldr	r1, [r4, #20]
	ldr	r0, [r4, #8]
	bl	gmt_to_local
	ldr	r1, [r4, #16]
	str	r0, [r7, #20]
	ldr	r0, [r4, #8]
	bl	gmt_to_local
	ldr	r1, [r4, #12]
	str	r0, [r7, #16]
	ldr	r0, [r4, #8]
	bl	gmt_to_local
	ldr	r3, [r4, #4]
	str	r0, [r7, #12]
	tst	r3, #146
	moveq	r2, #1
	movne	r2, #0
	ldr	r3, [r6, #4]
	add	r0, sp, #16
	str	r2, [r7]
	str	r3, [r7, #8]
	bl	hpfs_mark_4buffers_dirty
	add	r0, sp, #16
	bl	hpfs_brelse4
	b	.L14
.L35:
	ldr	r3, [r4, #24]
	str	r3, [r5]
	b	.L6
.L11:
	ldr	r2, [r4]
	ldr	r0, [r4, #8]
	ldr	r1, .L39+8
	bl	hpfs_error
	b	.L10
.L37:
	bl	__stack_chk_fail
.L38:
	ldr	r0, [r4, #4]
	bl	S_ISDIR
	cmp	r0, #0
	strne	r8, [r5]
	strne	r8, [r7, #4]
	b	.L8
.L40:
	.align	2
.L39:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	hpfs_write_inode_nolock, .-hpfs_write_inode_nolock
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
