	.file	"extr_dir.c_ufs_set_link.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ufs_set_link
	.type	ufs_set_link, @function
ufs_set_link:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	mov	rdi, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	QWORD PTR 8[rsp], rdx
	call	page_offset@PLT
	mov	rdi, QWORD PTR 8[rsp]
	movsx	rbx, eax
	call	page_address@PLT
	mov	esi, DWORD PTR 4[r12]
	mov	edi, DWORD PTR 12[rbp]
	add	rbx, r12
	sub	rbx, rax
	call	fs16_to_cpu@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	r13d, eax
	call	lock_page@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 72
	mov	ecx, r13d
	mov	edx, ebx
	push	0
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR 24[rsp]
	xor	edi, edi
	mov	r8d, DWORD PTR AOP_FLAG_UNINTERRUPTIBLE[rip]
	mov	esi, DWORD PTR [rax]
	lea	r9, 24[rsp]
	call	__ufs_write_begin@PLT
	mov	edi, eax
	call	BUG_ON@PLT
	mov	esi, DWORD PTR 16[r14]
	mov	edi, DWORD PTR 12[rbp]
	call	cpu_to_fs32@PLT
	mov	edx, DWORD PTR 8[r14]
	mov	edi, DWORD PTR 12[rbp]
	mov	rsi, r12
	mov	DWORD PTR [r12], eax
	call	ufs_set_de_type@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	edx, r13d
	mov	esi, ebx
	call	ufs_commit_chunk@PLT
	mov	rdi, QWORD PTR 24[rsp]
	call	ufs_put_page@PLT
	mov	eax, DWORD PTR CURRENT_TIME_SEC[rip]
	mov	rdi, rbp
	mov	DWORD PTR 0[rbp], eax
	mov	DWORD PTR 4[rbp], eax
	call	mark_inode_dirty@PLT
	add	rsp, 32
	.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
	.cfi_endproc
.LFE0:
	.size	ufs_set_link, .-ufs_set_link
	.comm	CURRENT_TIME_SEC,4,4
	.comm	AOP_FLAG_UNINTERRUPTIBLE,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_dir.c_ufs_set_link.c"
	.text
	.align	2
	.global	ufs_set_link
	.syntax unified
	.arm
	.fpu softvfp
	.type	ufs_set_link, %function
ufs_set_link:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	sub	sp, sp, #24
	mov	r0, r2
	mov	r7, r1
	mov	r8, r3
	str	r2, [sp, #20]
	bl	page_offset
	mov	r5, r0
	ldr	r0, [sp, #20]
	bl	page_address
	mov	r3, r0
	ldr	r1, [r7, #4]
	ldr	r0, [r4, #12]
	add	r5, r7, r5
	sub	r5, r5, r3
	bl	fs16_to_cpu
	mov	r6, r0
	ldr	r0, [sp, #20]
	bl	lock_page
	mov	r0, #0
	ldr	r3, .L4
	ldr	r2, [sp, #20]
	ldr	lr, [r3]
	add	ip, sp, #20
	mov	r3, r6
	ldr	r1, [r2]
	str	lr, [sp]
	str	ip, [sp, #4]
	mov	r2, r5
	str	r0, [sp, #8]
	bl	__ufs_write_begin
	bl	BUG_ON
	ldr	r1, [r8, #16]
	ldr	r0, [r4, #12]
	bl	cpu_to_fs32
	ldr	r2, [r8, #8]
	mov	r1, r7
	str	r0, [r7]
	ldr	r0, [r4, #12]
	bl	ufs_set_de_type
	mov	r2, r6
	mov	r1, r5
	ldr	r0, [sp, #20]
	bl	ufs_commit_chunk
	ldr	r0, [sp, #20]
	bl	ufs_put_page
	ldr	r3, .L4+4
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [r4]
	str	r3, [r4, #4]
	bl	mark_inode_dirty
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	.align	2
.L4:
	.word	AOP_FLAG_UNINTERRUPTIBLE
	.word	CURRENT_TIME_SEC
	.size	ufs_set_link, .-ufs_set_link
	.comm	CURRENT_TIME_SEC,4,4
	.comm	AOP_FLAG_UNINTERRUPTIBLE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
