	.file	"extr_namei.c_ext4_symlink.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ext4_symlink, @function
ext4_symlink:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	mov	rdi, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 16[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 36[rsp], 0
	call	strlen@PLT
	mov	r12d, DWORD PTR ENAMETOOLONG[rip]
	mov	rdi, QWORD PTR 8[rbx]
	mov	DWORD PTR 28[rsp], eax
	lea	r14d, 1[rax]
	lea	rax, 36[rsp]
	mov	QWORD PTR 8[rsp], rax
	neg	r12d
	cmp	DWORD PTR [rdi], r14d
	jge	.L2
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rax, ext4_symlink_inode_operations[rip]
	mov	rdi, r15
	mov	QWORD PTR 16[r15], rax
	call	ext4_set_aops@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	edx, r14d
	mov	rdi, r15
	mov	ecx, 1
	call	__page_symlink@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L22
.L8:
	mov	rdi, r15
	call	EXT4_I@PLT
	mov	edx, DWORD PTR [r15]
	mov	rsi, r13
	mov	rdi, rbp
	mov	DWORD PTR [rax], edx
	mov	rdx, r15
	call	ext4_add_nondir@PLT
	mov	r12d, eax
.L6:
	mov	rdi, rbp
	call	ext4_journal_stop@PLT
	mov	eax, r12d
	add	eax, DWORD PTR ENOSPC[rip]
	jne	.L1
	mov	rdi, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR 8[rsp]
	call	ext4_should_retry_alloc@PLT
	test	rax, rax
	je	.L1
	mov	rdi, QWORD PTR 8[rbx]
.L2:
	call	EXT4_DATA_TRANS_BLOCKS@PLT
	mov	rdi, QWORD PTR 8[rbx]
	add	rax, QWORD PTR EXT4_INDEX_EXTRA_TRANS_BLOCKS[rip]
	mov	rbp, rax
	call	EXT4_MAXQUOTAS_INIT_BLOCKS@PLT
	add	rbp, 5
	mov	rdi, rbx
	lea	rsi, 0[rbp+rax]
	call	ext4_journal_start@PLT
	mov	rdi, rax
	mov	rbp, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L23
	mov	rdi, rbx
	call	IS_DIRSYNC@PLT
	test	rax, rax
	jne	.L24
.L5:
	xor	r8d, r8d
	mov	edx, DWORD PTR S_IFLNK[rip]
	mov	rcx, r13
	mov	rsi, rbx
	or	edx, DWORD PTR S_IRWXUGO[rip]
	mov	rdi, rbp
	call	ext4_new_inode@PLT
	mov	r15, rax
	mov	rdi, rax
	call	PTR_ERR@PLT
	mov	rdi, r15
	mov	r12d, eax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L6
	cmp	r14d, 4
	ja	.L25
	mov	esi, DWORD PTR EXT4_INODE_EXTENTS[rip]
	mov	rdi, r15
	call	ext4_clear_inode_flag@PLT
	lea	rax, ext4_fast_symlink_inode_operations[rip]
	mov	rdi, r15
	mov	QWORD PTR 16[r15], rax
	call	EXT4_I@PLT
	mov	rsi, QWORD PTR 16[rsp]
	mov	edx, r14d
	lea	rdi, 4[rax]
	call	memcpy@PLT
	mov	eax, DWORD PTR 28[rsp]
	mov	DWORD PTR [r15], eax
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, rbp
	call	ext4_handle_sync@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, rbp
	call	PTR_ERR@PLT
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rdi, r15
	call	clear_nlink@PLT
	mov	rdi, r15
	call	unlock_new_inode@PLT
	mov	rdi, rbp
	mov	rsi, r15
	call	ext4_mark_inode_dirty@PLT
	mov	rdi, r15
	call	iput@PLT
	jmp	.L6
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ext4_symlink, .-ext4_symlink
	.comm	ext4_symlink_inode_operations,4,4
	.comm	ext4_fast_symlink_inode_operations,4,4
	.comm	S_IRWXUGO,4,4
	.comm	S_IFLNK,4,4
	.comm	EXT4_INODE_EXTENTS,4,4
	.comm	EXT4_INDEX_EXTRA_TRANS_BLOCKS,8,8
	.comm	ENOSPC,4,4
	.comm	ENAMETOOLONG,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_namei.c_ext4_symlink.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_symlink, %function
ext4_symlink:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	str	r2, [sp, #8]
	mov	r6, r0
	mov	r0, r2
	ldr	r2, .L30
	mov	r8, r1
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #16]
	bl	strlen
	mov	r3, r0
	str	r0, [sp, #12]
	ldr	r0, [r6, #4]
	add	r9, r3, #1
	ldr	r3, [r0]
	cmp	r3, r9
	blt	.L20
	ldr	r10, .L30+4
	ldr	fp, .L30+8
	b	.L2
.L28:
	ldr	r3, .L30+12
	mov	r0, r4
	str	r3, [r4, #8]
	bl	ext4_set_aops
	mov	r3, #1
	mov	r2, r9
	mov	r0, r4
	ldr	r1, [sp, #8]
	bl	__page_symlink
	subs	r5, r0, #0
	bne	.L25
.L8:
	mov	r0, r4
	bl	EXT4_I
	ldr	r3, [r4]
	mov	r2, r4
	str	r3, [r0]
	mov	r1, r8
	mov	r0, r7
	bl	ext4_add_nondir
	mov	r5, r0
.L6:
	mov	r0, r7
	bl	ext4_journal_stop
	ldr	r3, .L30+16
	ldr	r3, [r3]
	cmn	r5, r3
	bne	.L1
	ldr	r0, [r6, #4]
	add	r1, sp, #16
	bl	ext4_should_retry_alloc
	cmp	r0, #0
	beq	.L1
	ldr	r0, [r6, #4]
.L2:
	bl	EXT4_DATA_TRANS_BLOCKS
	mov	r4, r0
	ldr	r1, [r10]
	ldr	r0, [r6, #4]
	add	r4, r4, r1
	bl	EXT4_MAXQUOTAS_INIT_BLOCKS
	add	r4, r4, #5
	add	r1, r4, r0
	mov	r0, r6
	bl	ext4_journal_start
	mov	r7, r0
	bl	IS_ERR
	cmp	r0, #0
	bne	.L26
	mov	r0, r6
	bl	IS_DIRSYNC
	cmp	r0, #0
	bne	.L27
.L5:
	mov	r1, #0
	ldr	r3, .L30+20
	ldr	r2, [fp]
	ldr	r3, [r3]
	mov	r0, r7
	orr	r2, r2, r3
	str	r1, [sp]
	mov	r3, r8
	mov	r1, r6
	bl	ext4_new_inode
	mov	r4, r0
	bl	PTR_ERR
	mov	r5, r0
	mov	r0, r4
	bl	IS_ERR
	cmp	r0, #0
	bne	.L6
	cmp	r9, #4
	bhi	.L28
	ldr	r3, .L30+24
	mov	r0, r4
	ldr	r1, [r3]
	bl	ext4_clear_inode_flag
	ldr	r3, .L30+28
	mov	r0, r4
	str	r3, [r4, #8]
	bl	EXT4_I
	mov	r2, r9
	ldr	r1, [sp, #8]
	add	r0, r0, #4
	bl	memcpy
	ldr	r3, [sp, #12]
	str	r3, [r4]
	b	.L8
.L27:
	mov	r0, r7
	bl	ext4_handle_sync
	b	.L5
.L26:
	mov	r0, r7
	bl	PTR_ERR
	mov	r5, r0
.L1:
	ldr	r3, .L30
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L29
	mov	r0, r5
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	mov	r0, r4
	bl	clear_nlink
	mov	r0, r4
	bl	unlock_new_inode
	mov	r1, r4
	mov	r0, r7
	bl	ext4_mark_inode_dirty
	mov	r0, r4
	bl	iput
	b	.L6
.L20:
	ldr	r3, .L30+32
	ldr	r5, [r3]
	rsb	r5, r5, #0
	b	.L1
.L29:
	bl	__stack_chk_fail
.L31:
	.align	2
.L30:
	.word	.LC0
	.word	EXT4_INDEX_EXTRA_TRANS_BLOCKS
	.word	S_IFLNK
	.word	ext4_symlink_inode_operations
	.word	ENOSPC
	.word	S_IRWXUGO
	.word	EXT4_INODE_EXTENTS
	.word	ext4_fast_symlink_inode_operations
	.word	ENAMETOOLONG
	.size	ext4_symlink, .-ext4_symlink
	.comm	ext4_symlink_inode_operations,4,4
	.comm	ext4_fast_symlink_inode_operations,4,4
	.comm	S_IRWXUGO,4,4
	.comm	S_IFLNK,4,4
	.comm	EXT4_INODE_EXTENTS,4,4
	.comm	EXT4_INDEX_EXTRA_TRANS_BLOCKS,4,4
	.comm	ENOSPC,4,4
	.comm	ENAMETOOLONG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
