	.file	"extr_namei.c_ocfs2_create_symlink_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"i_blocks = %llu, i_size = %llu, blocks = %d\n"
	.text
	.p2align 4
	.type	ocfs2_create_symlink_data, @function
ocfs2_create_symlink_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	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
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	rbp, QWORD PTR [rdi]
	mov	rdi, rdx
	mov	QWORD PTR 24[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	call	i_size_read@PLT
	mov	ecx, DWORD PTR 4[rbp]
	mov	rdi, r13
	lea	r12d, 1[rax]
	add	eax, DWORD PTR 0[rbp]
	sar	eax, cl
	mov	ebx, eax
	mov	DWORD PTR 36[rsp], eax
	call	i_size_read@PLT
	mov	rsi, QWORD PTR 0[r13]
	mov	ecx, ebx
	lea	rdi, .LC0[rip]
	mov	edx, eax
	call	mlog_entry@PLT
	mov	rdi, r13
	call	OCFS2_I@PLT
	mov	rdi, rbp
	mov	esi, DWORD PTR [rax]
	call	ocfs2_clusters_to_bytes@PLT
	cmp	eax, r12d
	jl	.L24
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	edi, DWORD PTR 36[rsp]
	mov	esi, 8
	call	kcalloc@PLT
	mov	QWORD PTR 40[rsp], rax
	test	rax, rax
	je	.L25
	lea	rcx, 52[rsp]
	lea	rdx, 48[rsp]
	xor	r8d, r8d
	xor	esi, esi
	mov	rdi, r13
	call	ocfs2_extent_map_get_blocks@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L22
	mov	ecx, DWORD PTR 4[rbp]
	mov	eax, DWORD PTR 52[rsp]
	sal	eax, cl
	cmp	eax, r12d
	jl	.L7
	test	r12d, r12d
	jle	.L9
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 12[rsp], 0
	mov	esi, DWORD PTR 48[rsp]
	mov	rbx, QWORD PTR 40[rsp]
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, r13
	call	INODE_CACHE@PLT
	mov	rsi, r14
	mov	edi, eax
	call	ocfs2_set_new_buffer_uptodate@PLT
	mov	ecx, DWORD PTR OCFS2_JOURNAL_ACCESS_CREATE[rip]
	mov	r14, QWORD PTR [rbx]
	mov	rdi, r13
	mov	DWORD PTR 32[rsp], ecx
	call	INODE_CACHE@PLT
	mov	ecx, DWORD PTR 32[rsp]
	mov	rdx, r14
	mov	rdi, r15
	mov	esi, eax
	call	ocfs2_journal_access@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L22
	mov	rax, QWORD PTR [rbx]
	mov	edx, DWORD PTR 0[rbp]
	xor	esi, esi
	mov	edi, DWORD PTR [rax]
	call	memset@PLT
	mov	rax, QWORD PTR [rbx]
	cmp	DWORD PTR 0[rbp], r12d
	mov	edx, r12d
	mov	rsi, QWORD PTR 16[rsp]
	cmovle	edx, DWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	memcpy@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r15
	call	ocfs2_journal_dirty@PLT
	mov	r14d, eax
	test	eax, eax
	js	.L22
	mov	eax, DWORD PTR 48[rsp]
	add	DWORD PTR 12[rsp], 1
	add	rbx, 8
	lea	esi, 1[rax]
	mov	eax, DWORD PTR 0[rbp]
	mov	DWORD PTR 48[rsp], esi
	sub	r12d, eax
	test	r12d, r12d
	jle	.L9
.L13:
	imul	eax, DWORD PTR 12[rsp]
	mov	rdi, rbp
	cdqe
	add	rax, QWORD PTR 24[rsp]
	mov	QWORD PTR 16[rsp], rax
	call	sb_getblk@PLT
	mov	QWORD PTR [rbx], rax
	mov	r14, rax
	test	rax, rax
	jne	.L10
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	mov	edi, r14d
	call	mlog_errno@PLT
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L22:
	mov	edi, r14d
	call	mlog_errno@PLT
.L6:
	mov	eax, DWORD PTR 36[rsp]
	test	eax, eax
	jle	.L16
	mov	eax, DWORD PTR 36[rsp]
	mov	rdx, QWORD PTR 40[rsp]
	sub	eax, 1
	mov	rbx, rdx
	lea	rbp, 8[rdx+rax*8]
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, QWORD PTR [rbx]
	add	rbx, 8
	call	brelse@PLT
	cmp	rbx, rbp
	jne	.L14
.L16:
	mov	rdi, QWORD PTR 40[rsp]
	call	kfree@PLT
.L3:
	mov	edi, r14d
	call	mlog_exit@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r14d
	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
.L24:
	.cfi_restore_state
	mov	r14d, DWORD PTR EIO[rip]
	neg	r14d
	mov	edi, r14d
	call	mlog_errno@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L25:
	mov	r14d, DWORD PTR ENOMEM[rip]
	neg	r14d
	mov	edi, r14d
	call	mlog_errno@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L9:
	xor	r14d, r14d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L7:
	mov	r14d, DWORD PTR EIO[rip]
	neg	r14d
	mov	edi, r14d
	call	mlog_errno@PLT
	jmp	.L6
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ocfs2_create_symlink_data, .-ocfs2_create_symlink_data
	.comm	OCFS2_JOURNAL_ACCESS_CREATE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,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_ocfs2_create_symlink_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"i_blocks = %llu, i_size = %llu, blocks = %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_create_symlink_data, %function
ocfs2_create_symlink_data:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r2
	mov	r2, r0
	sub	sp, sp, #44
	str	r3, [sp, #20]
	ldr	r3, .L28
	mov	r0, r8
	ldr	r6, [r2]
	mov	r10, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	i_size_read
	ldr	r3, [r6]
	ldr	r1, [r6, #4]
	ldr	r2, [r8]
	add	r3, r3, r0
	asr	r4, r3, r1
	mov	r5, r0
	asr	r3, r2, #31
	mov	r0, r8
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r4, [sp, #16]
	bl	i_size_read
	add	r3, sp, #8
	ldmia	r3, {r2-r3}
	str	r0, [sp]
	str	r4, [sp, #4]
	ldr	r0, .L28+4
	bl	mlog_entry
	mov	r0, r8
	bl	OCFS2_I
	mov	r3, r0
	mov	r0, r6
	ldr	r1, [r3]
	bl	ocfs2_clusters_to_bytes
	add	r5, r5, #1
	cmp	r0, r5
	blt	.L25
	ldr	r3, .L28+8
	mov	r1, #4
	ldr	r2, [r3]
	ldr	r0, [sp, #16]
	bl	kcalloc
	subs	r3, r0, #0
	str	r3, [sp, #8]
	beq	.L26
	mov	r9, #0
	mov	r0, r8
	mov	r1, r9
	add	r3, sp, #32
	str	r9, [sp]
	add	r2, sp, #28
	bl	ocfs2_extent_map_get_blocks
	subs	fp, r0, #0
	blt	.L23
	ldr	r2, [sp, #32]
	ldr	r3, [r6, #4]
	cmp	r5, r2, lsl r3
	bgt	.L7
	cmp	r5, #0
	ble	.L9
	ldr	r3, [sp, #8]
	ldr	r7, [r6]
	ldr	r1, [sp, #28]
	ldr	fp, [sp, #20]
	sub	r4, r3, #4
	b	.L13
.L10:
	mov	r0, r8
	bl	INODE_CACHE
	ldr	r1, [r4]
	bl	ocfs2_set_new_buffer_uptodate
	mov	r0, r8
	bl	INODE_CACHE
	ldr	r3, .L28+12
	mov	r1, r0
	ldr	r3, [r3]
	mov	r0, r10
	ldr	r2, [r4]
	bl	ocfs2_journal_access
	subs	r3, r0, #0
	blt	.L22
	ldr	r3, [r4]
	mov	r1, #0
	ldr	r2, [r6]
	ldr	r0, [r3]
	bl	memset
	ldr	r2, [r6]
	ldr	r3, [r4]
	cmp	r5, r2
	movlt	r2, r5
	ldr	r0, [r3]
	mov	r1, r7
	bl	memcpy
	mov	r0, r10
	ldr	r1, [r4]
	bl	ocfs2_journal_dirty
	subs	r3, r0, #0
	blt	.L22
	ldr	r7, [r6]
	ldr	r1, [sp, #28]
	sub	r5, r5, r7
	add	r1, r1, #1
	cmp	r5, #0
	add	r9, r9, #1
	str	r1, [sp, #28]
	ble	.L9
.L13:
	mov	r0, r6
	bl	sb_getblk
	cmp	r0, #0
	mla	r7, r9, r7, fp
	str	r0, [r4, #4]!
	bne	.L10
	ldr	r3, .L28+16
	ldr	r3, [r3]
	rsb	fp, r3, #0
	mov	r0, fp
	bl	mlog_errno
	b	.L6
.L22:
	mov	fp, r3
.L23:
	bl	mlog_errno
.L6:
	ldr	r3, [sp, #16]
	cmp	r3, #0
	ble	.L16
	ldr	r3, [sp, #8]
	ldr	r2, [sp, #16]
	sub	r4, r3, #4
	add	r5, r3, r2, lsl #2
	sub	r5, r5, #4
.L14:
	ldr	r0, [r4, #4]!
	bl	brelse
	cmp	r4, r5
	bne	.L14
.L16:
	ldr	r0, [sp, #8]
	bl	kfree
.L3:
	mov	r0, fp
	bl	mlog_exit
	ldr	r3, .L28
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L27
	mov	r0, fp
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L25:
	ldr	r3, .L28+20
	ldr	r3, [r3]
	rsb	fp, r3, #0
	mov	r0, fp
	bl	mlog_errno
	b	.L3
.L26:
	ldr	r3, .L28+16
	ldr	r3, [r3]
	rsb	fp, r3, #0
	mov	r0, fp
	bl	mlog_errno
	b	.L3
.L9:
	mov	fp, #0
	b	.L6
.L7:
	ldr	r3, .L28+20
	ldr	r3, [r3]
	rsb	fp, r3, #0
	mov	r0, fp
	bl	mlog_errno
	b	.L6
.L27:
	bl	__stack_chk_fail
.L29:
	.align	2
.L28:
	.word	.LC1
	.word	.LC0
	.word	GFP_KERNEL
	.word	OCFS2_JOURNAL_ACCESS_CREATE
	.word	ENOMEM
	.word	EIO
	.size	ocfs2_create_symlink_data, .-ocfs2_create_symlink_data
	.comm	OCFS2_JOURNAL_ACCESS_CREATE,4,4
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
