	.file	"extr_xfs_dir2_block.c_xfs_dir2_sf_to_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xfs_dir2_sf_to_block
	.type	xfs_dir2_sf_to_block, @function
xfs_dir2_sf_to_block:
.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
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 152
	.cfi_def_cfa_offset 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 136[rsp], rax
	xor	eax, eax
	call	trace_xfs_dir2_sf_to_block@PLT
	mov	r12, QWORD PTR 8[rbp]
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR 16[r12]
	and	edi, DWORD PTR XFS_IFINLINE[rip]
	mov	QWORD PTR 16[rsp], rax
	mov	r15, QWORD PTR 32[r12]
	call	ASSERT@PLT
	mov	esi, DWORD PTR parent[rip]
	mov	edi, DWORD PTR xfs_dir2_sf_hdr_t[rip]
	mov	rbx, QWORD PTR 8[r12]
	call	offsetof@PLT
	cmp	rbx, rax
	jl	.L22
	movsx	rax, DWORD PTR 20[r12]
	xor	edi, edi
	cmp	rax, QWORD PTR 8[r12]
	sete	dil
	call	ASSERT@PLT
	xor	edi, edi
	cmp	QWORD PTR 24[r12], 0
	setne	dil
	call	ASSERT@PLT
	mov	r14, QWORD PTR 24[r12]
	mov	rbx, QWORD PTR 8[r12]
	mov	edi, DWORD PTR 8[r14]
	call	xfs_dir2_sf_hdr_size@PLT
	xor	edi, edi
	cmp	rbx, rax
	setge	dil
	call	ASSERT@PLT
	mov	ebx, DWORD PTR 20[r12]
	mov	esi, DWORD PTR KM_SLEEP[rip]
	mov	edi, ebx
	call	kmem_alloc@PLT
	mov	edx, ebx
	mov	rsi, r14
	mov	rdi, rax
	mov	r13, rax
	call	memcpy@PLT
	mov	edx, DWORD PTR XFS_DATA_FORK[rip]
	mov	esi, ebx
	mov	rdi, r12
	neg	esi
	call	xfs_idata_realloc@PLT
	mov	edx, DWORD PTR XFS_ILOG_CORE[rip]
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, r12
	mov	QWORD PTR 8[r12], 0
	call	xfs_trans_log_inode@PLT
	mov	esi, DWORD PTR XFS_DIR2_DATA_SPACE[rip]
	lea	rdx, 88[rsp]
	mov	rdi, rbp
	call	xfs_dir2_grow_inode@PLT
	mov	DWORD PTR 44[rsp], eax
	test	eax, eax
	jne	.L20
	mov	esi, DWORD PTR 88[rsp]
	lea	rdx, 104[rsp]
	mov	rdi, rbp
	call	xfs_dir2_data_init@PLT
	mov	DWORD PTR 44[rsp], eax
	test	eax, eax
	jne	.L20
	mov	rax, QWORD PTR 104[rsp]
	mov	edi, DWORD PTR XFS_DIR2_BLOCK_MAGIC[rip]
	lea	rbp, 96[rsp]
	mov	rbx, QWORD PTR [rax]
	call	cpu_to_be32@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 216
	mov	rcx, QWORD PTR 8[r15]
	mov	r9, rbp
	mov	QWORD PTR 8[rbx], rax
	mov	eax, DWORD PTR 0[r13]
	mov	r14, QWORD PTR [rbx]
	mov	DWORD PTR 108[rsp], 0
	mov	DWORD PTR 104[rsp], 0
	lea	r8d, 3[rax]
	lea	r10, 108[rsp]
	push	r10
	.cfi_def_cfa_offset 224
	sal	r8d, 4
	mov	rsi, QWORD PTR 120[rsp]
	mov	rdx, r14
	movsx	rax, r8d
	mov	rdi, QWORD PTR 32[rsp]
	sub	rcx, rax
	mov	QWORD PTR 16[rsp], r10
	call	xfs_dir2_data_use_free@PLT
	mov	edx, DWORD PTR 116[rsp]
	xor	edi, edi
	test	edx, edx
	sete	dil
	call	ASSERT@PLT
	mov	rsi, rbx
	mov	rdi, r15
	call	xfs_dir2_block_tail_p@PLT
	mov	edx, DWORD PTR 0[r13]
	mov	QWORD PTR 80[rsp], rax
	lea	edi, 2[rdx]
	call	cpu_to_be32@PLT
	mov	rcx, QWORD PTR 80[rsp]
	mov	QWORD PTR [rcx], rax
	mov	rdi, rcx
	mov	QWORD PTR 8[rcx], 0
	call	xfs_dir2_block_leaf_p@PLT
	mov	rdi, QWORD PTR [r14]
	mov	QWORD PTR 24[rsp], rbx
	mov	rcx, rax
	mov	QWORD PTR 48[rsp], rax
	sub	rcx, rbx
	mov	DWORD PTR 56[rsp], ecx
	mov	rbx, rcx
	call	be16_to_cpu@PLT
	mov	r10, QWORD PTR 16[rsp]
	mov	r9, rbp
	mov	rdx, r14
	mov	rsi, QWORD PTR 120[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	r8d, eax
	mov	rcx, r14
	sub	rcx, QWORD PTR 24[rsp]
	mov	QWORD PTR [rsp], r10
	call	xfs_dir2_data_use_free@PLT
	movsx	rbp, DWORD PTR XFS_DIR2_DATA_DOT_OFFSET[rip]
	mov	edi, DWORD PTR [r12]
	mov	r14, rbp
	add	rbp, QWORD PTR 24[rsp]
	call	cpu_to_be64@PLT
	mov	DWORD PTR 0[rbp], 1
	mov	rdi, rbp
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR 8[rbp]
	mov	BYTE PTR [rax], 46
	call	xfs_dir2_data_entry_tag_p@PLT
	mov	edi, r14d
	mov	QWORD PTR 16[rsp], rax
	call	cpu_to_be16@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	QWORD PTR [rdx], rax
	mov	rsi, QWORD PTR 120[rsp]
	mov	rdx, rbp
	call	xfs_dir2_data_log_entry@PLT
	mov	edi, DWORD PTR xfs_dir_hash_dot[rip]
	call	cpu_to_be32@PLT
	mov	rbp, QWORD PTR 48[rsp]
	mov	esi, r14d
	mov	rdi, r15
	mov	QWORD PTR 8[rbp], rax
	call	xfs_dir2_byte_to_dataptr@PLT
	mov	edi, eax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 48[rsp], rbp
	lea	rsi, 4[r13]
	mov	rdi, r13
	mov	QWORD PTR 0[rbp], rax
	movsx	rbp, DWORD PTR XFS_DIR2_DATA_DOTDOT_OFFSET[rip]
	mov	r14, rbp
	add	rbp, QWORD PTR 24[rsp]
	call	xfs_dir2_sf_get_inumber@PLT
	mov	edi, eax
	call	cpu_to_be64@PLT
	mov	DWORD PTR 0[rbp], 2
	mov	rdi, rbp
	mov	QWORD PTR 16[rbp], rax
	mov	rax, QWORD PTR 8[rbp]
	mov	BYTE PTR 1[rax], 46
	mov	rax, QWORD PTR 8[rbp]
	mov	BYTE PTR [rax], 46
	call	xfs_dir2_data_entry_tag_p@PLT
	mov	edi, r14d
	mov	QWORD PTR 16[rsp], rax
	call	cpu_to_be16@PLT
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 32[rsp]
	mov	QWORD PTR [rdx], rax
	mov	rsi, QWORD PTR 120[rsp]
	mov	rdx, rbp
	call	xfs_dir2_data_log_entry@PLT
	mov	edi, DWORD PTR xfs_dir_hash_dotdot[rip]
	call	cpu_to_be32@PLT
	mov	rbp, QWORD PTR 48[rsp]
	mov	esi, r14d
	mov	rdi, r15
	xor	r14d, r14d
	mov	QWORD PTR 24[rbp], rax
	call	xfs_dir2_byte_to_dataptr@PLT
	mov	edi, eax
	call	cpu_to_be32@PLT
	mov	r8d, DWORD PTR 0[r13]
	mov	ecx, DWORD PTR XFS_DIR2_DATA_FIRST_OFFSET[rip]
	mov	QWORD PTR 16[rbp], rax
	pop	rsi
	.cfi_def_cfa_offset 216
	pop	rdi
	.cfi_def_cfa_offset 208
	test	r8d, r8d
	jne	.L23
.L6:
	cmp	ebx, ecx
	jle	.L7
	lea	rax, 92[rsp]
	mov	DWORD PTR [rsp], 0
	mov	QWORD PTR 56[rsp], rax
	lea	rax, 112[rsp]
	mov	QWORD PTR 24[rsp], r13
	mov	QWORD PTR 48[rsp], rax
	mov	rax, r15
	mov	r15, r14
	mov	QWORD PTR 72[rsp], r12
	mov	r14, rax
	mov	r12d, ecx
	.p2align 4,,10
	.p2align 3
.L13:
	test	r15, r15
	je	.L16
	mov	rdi, r15
	call	xfs_dir2_sf_get_offset@PLT
	movsx	rbp, DWORD PTR [rsp]
	mov	r13d, eax
	mov	rax, r15
	mov	r15d, r13d
	sal	rbp, 4
	mov	r13, rax
	add	rbp, QWORD PTR 32[rsp]
	cmp	r15d, r12d
	jg	.L24
.L9:
	mov	rdi, r13
	movsx	r12, r15d
	add	r12, QWORD PTR 8[rsp]
	call	xfs_dir2_sf_inumberp@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, rax
	call	xfs_dir2_sf_get_inumber@PLT
	mov	edi, eax
	call	cpu_to_be64@PLT
	mov	edx, DWORD PTR 0[r13]
	mov	rsi, QWORD PTR 8[r13]
	mov	QWORD PTR 16[r12], rax
	mov	rdi, QWORD PTR 8[r12]
	mov	DWORD PTR [r12], edx
	call	memcpy@PLT
	mov	rdi, r12
	call	xfs_dir2_data_entry_tag_p@PLT
	mov	edi, r15d
	mov	rbx, rax
	call	cpu_to_be16@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, r12
	add	rbx, 8
	mov	QWORD PTR -8[rbx], rax
	mov	rsi, QWORD PTR 104[rsp]
	call	xfs_dir2_data_log_entry@PLT
	mov	rax, QWORD PTR 8[r13]
	mov	rdi, QWORD PTR 48[rsp]
	mov	QWORD PTR 120[rsp], rax
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 112[rsp], eax
	mov	rax, QWORD PTR [r14]
	call	[QWORD PTR [rax]]
	mov	edi, eax
	call	cpu_to_be32@PLT
	mov	esi, r15d
	mov	rdi, r14
	mov	QWORD PTR 40[rbp], rax
	call	xfs_dir2_byte_to_dataptr@PLT
	mov	edi, eax
	call	cpu_to_be32@PLT
	mov	rcx, QWORD PTR 24[rsp]
	sub	rbx, QWORD PTR 8[rsp]
	add	DWORD PTR [rsp], 1
	mov	r12d, ebx
	mov	QWORD PTR 32[rbp], rax
	mov	eax, DWORD PTR [rsp]
	cmp	DWORD PTR [rcx], eax
	jne	.L11
	add	rbp, 16
	xor	r13d, r13d
	cmp	DWORD PTR 40[rsp], ebx
	jle	.L25
	mov	r15d, DWORD PTR 40[rsp]
	cmp	r15d, r12d
	jle	.L9
.L24:
	mov	rax, r13
	mov	r13d, r15d
	mov	r15, rax
.L8:
	mov	edi, DWORD PTR XFS_DIR2_DATA_FREE_TAG[rip]
	movsx	rbx, r12d
	add	rbx, QWORD PTR 8[rsp]
	sub	r13d, r12d
	call	cpu_to_be16@PLT
	mov	edi, r13d
	mov	QWORD PTR 8[rbx], rax
	call	cpu_to_be16@PLT
	mov	rdi, rbx
	mov	QWORD PTR [rbx], rax
	call	xfs_dir2_data_unused_tag_p@PLT
	mov	edi, r12d
	mov	rbp, rax
	call	cpu_to_be16@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	rdx, rbx
	mov	QWORD PTR 0[rbp], rax
	mov	rsi, QWORD PTR 104[rsp]
	call	xfs_dir2_data_log_unused@PLT
	mov	rdx, QWORD PTR 56[rsp]
	mov	rdi, QWORD PTR 8[rsp]
	mov	rsi, rbx
	call	xfs_dir2_data_freeinsert@PLT
	mov	rdi, QWORD PTR [rbx]
	call	be16_to_cpu@PLT
	add	r12d, eax
.L10:
	cmp	r12d, DWORD PTR 40[rsp]
	jl	.L13
	mov	r12, QWORD PTR 72[rsp]
	mov	r13, QWORD PTR 24[rsp]
.L7:
	mov	rdi, r13
	call	kmem_free@PLT
	mov	rbx, QWORD PTR 64[rsp]
	mov	r13d, DWORD PTR xfs_dir2_block_sort[rip]
	mov	rdi, QWORD PTR [rbx]
	call	be32_to_cpu@PLT
	mov	rdi, QWORD PTR 32[rsp]
	mov	ecx, r13d
	mov	edx, 16
	mov	rsi, rax
	call	xfs_sort@PLT
	mov	eax, DWORD PTR 100[rsp]
	xor	edi, edi
	test	eax, eax
	sete	dil
	call	ASSERT@PLT
	mov	rdi, QWORD PTR [rbx]
	call	be32_to_cpu@PLT
	mov	rbx, QWORD PTR 16[rsp]
	mov	rsi, QWORD PTR 104[rsp]
	xor	edx, edx
	lea	rcx, -1[rax]
	mov	rdi, rbx
	call	xfs_dir2_block_log_leaf@PLT
	mov	rsi, QWORD PTR 104[rsp]
	mov	rdi, rbx
	call	xfs_dir2_block_log_tail@PLT
	mov	rsi, QWORD PTR 104[rsp]
	mov	rdi, r12
	call	xfs_dir2_data_check@PLT
	mov	rdi, QWORD PTR 104[rsp]
	call	xfs_da_buf_done@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	rdi, r13
	call	kmem_free@PLT
.L1:
	mov	rax, QWORD PTR 136[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	mov	eax, DWORD PTR 44[rsp]
	add	rsp, 152
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L11:
	.cfi_restore_state
	mov	rdi, QWORD PTR 24[rsp]
	mov	rsi, r13
	call	xfs_dir2_sf_nextentry@PLT
	mov	r15, rax
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L22:
	mov	rdi, r15
	call	XFS_FORCED_SHUTDOWN@PLT
	mov	edi, eax
	call	ASSERT@PLT
	mov	edi, DWORD PTR EIO[rip]
	call	XFS_ERROR@PLT
	mov	DWORD PTR 44[rsp], eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	rdi, r13
	mov	DWORD PTR [rsp], ecx
	call	xfs_dir2_sf_firstentry@PLT
	mov	ecx, DWORD PTR [rsp]
	mov	r14, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L25:
	mov	r12, QWORD PTR 72[rsp]
	mov	r13, rcx
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r13d, DWORD PTR 40[rsp]
	jmp	.L8
.L26:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xfs_dir2_sf_to_block, .-xfs_dir2_sf_to_block
	.comm	xfs_dir_hash_dotdot,4,4
	.comm	xfs_dir_hash_dot,4,4
	.comm	xfs_dir2_sf_hdr_t,4,4
	.comm	xfs_dir2_block_sort,4,4
	.comm	parent,4,4
	.comm	XFS_ILOG_CORE,4,4
	.comm	XFS_IFINLINE,4,4
	.comm	XFS_DIR2_DATA_SPACE,4,4
	.comm	XFS_DIR2_DATA_FREE_TAG,4,4
	.comm	XFS_DIR2_DATA_FIRST_OFFSET,4,4
	.comm	XFS_DIR2_DATA_DOT_OFFSET,4,4
	.comm	XFS_DIR2_DATA_DOTDOT_OFFSET,4,4
	.comm	XFS_DIR2_BLOCK_MAGIC,4,4
	.comm	XFS_DATA_FORK,4,4
	.comm	KM_SLEEP,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_xfs_dir2_block.c_xfs_dir2_sf_to_block.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	xfs_dir2_sf_to_block
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_dir2_sf_to_block, %function
xfs_dir2_sf_to_block:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r3, .L26
	sub	sp, sp, #84
	ldr	r3, [r3]
	str	r3, [sp, #76]
	mov	r3,#0
	bl	trace_xfs_dir2_sf_to_block
	ldr	r8, [r4, #4]
	ldr	r3, .L26+4
	ldr	r0, [r8, #8]
	ldr	r3, [r3]
	ldr	r2, [r8, #20]
	and	r0, r0, r3
	str	r2, [sp, #20]
	ldr	fp, [r4]
	bl	ASSERT
	ldr	r2, .L26+8
	ldr	r3, .L26+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	ldr	r5, [r8, #4]
	bl	offsetof
	cmp	r5, r0
	blt	.L23
	ldr	r3, [r8, #4]
	ldr	r0, [r8, #12]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r8, #16]
	subs	r0, r0, #0
	movne	r0, #1
	bl	ASSERT
	ldr	r6, [r8, #16]
	ldr	r5, [r8, #4]
	ldr	r0, [r6, #8]
	bl	xfs_dir2_sf_hdr_size
	cmp	r5, r0
	movlt	r0, #0
	movge	r0, #1
	bl	ASSERT
	ldr	r5, [r8, #12]
	ldr	r3, .L26+16
	mov	r0, r5
	ldr	r1, [r3]
	bl	kmem_alloc
	mov	r1, r6
	mov	r2, r5
	mov	r9, r0
	bl	memcpy
	ldr	r3, .L26+20
	rsb	r1, r5, #0
	ldr	r2, [r3]
	mov	r0, r8
	bl	xfs_idata_realloc
	mov	r2, #0
	ldr	r3, .L26+24
	mov	r1, r8
	str	r2, [r8, #4]
	mov	r0, fp
	ldr	r2, [r3]
	bl	xfs_trans_log_inode
	ldr	r3, .L26+28
	mov	r0, r4
	ldr	r1, [r3]
	add	r2, sp, #48
	bl	xfs_dir2_grow_inode
	subs	r3, r0, #0
	str	r3, [sp, #24]
	bne	.L21
	mov	r0, r4
	ldr	r1, [sp, #48]
	add	r2, sp, #52
	bl	xfs_dir2_data_init
	subs	r3, r0, #0
	str	r3, [sp, #24]
	bne	.L21
	ldr	r2, .L26+32
	ldr	r3, [sp, #52]
	ldr	r0, [r2]
	ldr	r7, [r3]
	bl	cpu_to_be32
	ldr	r3, [r9]
	ldr	r2, [sp, #20]
	add	r3, r3, #3
	ldr	r10, [r7]
	ldr	r1, [r2, #4]
	lsl	ip, r3, #3
	str	r0, [r7, #4]
	add	r6, sp, #64
	add	r5, sp, #60
	str	ip, [sp]
	ldr	ip, [sp, #24]
	mov	r2, r10
	sub	r3, r1, r3, lsl #3
	stmib	sp, {r5, r6}
	ldr	r1, [sp, #52]
	mov	r0, fp
	str	ip, [sp, #64]
	str	ip, [sp, #60]
	bl	xfs_dir2_data_use_free
	ldr	r0, [sp, #64]
	mov	r4, r9
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	mov	r1, r7
	ldr	r0, [sp, #20]
	bl	xfs_dir2_block_tail_p
	ldr	r3, [r4], #4
	str	r0, [sp, #40]
	add	r0, r3, #2
	bl	cpu_to_be32
	ldr	ip, [sp, #24]
	ldr	r3, [sp, #40]
	stm	r3, {r0, ip}
	mov	r0, r3
	bl	xfs_dir2_block_leaf_p
	mov	r3, r0
	ldr	r1, [sp, #52]
	ldr	r0, [r10]
	str	r3, [sp, #28]
	str	r1, [sp, #32]
	bl	be16_to_cpu
	ldr	r1, [sp, #32]
	mov	r2, r10
	stmib	sp, {r5, r6}
	sub	r3, r10, r7
	str	r0, [sp]
	mov	r0, fp
	bl	xfs_dir2_data_use_free
	ldr	r3, .L26+36
	ldr	r0, [r8]
	ldr	r5, [r3]
	mov	r6, #46
	bl	cpu_to_be64
	mov	r2, #1
	add	r10, r7, r5
	ldr	r3, [r10, #4]
	str	r0, [r10, #8]
	str	r2, [r7, r5]
	mov	r0, r10
	strb	r6, [r3]
	bl	xfs_dir2_data_entry_tag_p
	mov	r3, r0
	mov	r0, r5
	str	r3, [sp, #32]
	bl	cpu_to_be16
	ldr	r3, [sp, #32]
	mov	r2, r10
	str	r0, [r3]
	ldr	r1, [sp, #52]
	mov	r0, fp
	bl	xfs_dir2_data_log_entry
	ldr	r10, [sp, #28]
	ldr	r3, .L26+40
	sub	r1, r10, r7
	ldr	r0, [r3]
	str	r1, [sp, #32]
	bl	cpu_to_be32
	mov	r1, r5
	str	r0, [r10, #4]
	ldr	r0, [sp, #20]
	bl	xfs_dir2_byte_to_dataptr
	bl	cpu_to_be32
	ldr	r3, .L26+44
	mov	r1, r4
	str	r0, [r10]
	mov	r0, r9
	ldr	r4, [r3]
	bl	xfs_dir2_sf_get_inumber
	bl	cpu_to_be64
	mov	r2, #2
	add	r5, r7, r4
	ldr	r3, [r5, #4]
	str	r0, [r5, #8]
	str	r2, [r7, r4]
	strb	r6, [r3, #1]
	ldr	r3, [r5, #4]
	mov	r0, r5
	strb	r6, [r3]
	bl	xfs_dir2_data_entry_tag_p
	mov	r6, r0
	mov	r0, r4
	bl	cpu_to_be16
	str	r0, [r6]
	mov	r2, r5
	ldr	r1, [sp, #52]
	mov	r0, fp
	bl	xfs_dir2_data_log_entry
	ldr	r3, .L26+48
	ldr	r0, [r3]
	bl	cpu_to_be32
	mov	r1, r4
	str	r0, [r10, #12]
	ldr	r0, [sp, #20]
	bl	xfs_dir2_byte_to_dataptr
	bl	cpu_to_be32
	ldr	r2, [r9]
	ldr	r3, .L26+52
	cmp	r2, #0
	str	r0, [r10, #8]
	ldreq	r4, [sp, #24]
	ldr	r10, [r3]
	bne	.L24
.L6:
	ldr	r3, [sp, #32]
	cmp	r3, r10
	ble	.L7
	mov	r3, #0
	str	r8, [sp, #44]
	mov	r8, r3
	str	fp, [sp, #36]
.L13:
	cmp	r4, #0
	beq	.L16
	mov	r0, r4
	bl	xfs_dir2_sf_get_offset
	mov	r5, r0
	ldr	r3, [sp, #28]
	cmp	r5, r10
	add	r6, r3, r8, lsl #3
	bgt	.L8
.L9:
	mov	r0, r4
	bl	xfs_dir2_sf_inumberp
	mov	r1, r0
	mov	r0, r9
	bl	xfs_dir2_sf_get_inumber
	bl	cpu_to_be64
	ldr	r2, [r4]
	add	r10, r7, r5
	ldr	r1, [r4, #4]
	str	r0, [r10, #8]
	ldr	r0, [r10, #4]
	str	r2, [r7, r5]
	bl	memcpy
	mov	r0, r10
	bl	xfs_dir2_data_entry_tag_p
	mov	fp, r0
	mov	r0, r5
	bl	cpu_to_be16
	str	r0, [fp], #4
	mov	r2, r10
	ldr	r1, [sp, #52]
	ldr	r0, [sp, #36]
	bl	xfs_dir2_data_log_entry
	ldr	r10, [sp, #20]
	ldr	r1, [r4]
	ldr	r2, [r10]
	ldr	r0, [r4, #4]
	ldr	r2, [r2]
	str	r1, [sp, #68]
	str	r0, [sp, #72]
	add	r0, sp, #68
	blx	r2
	bl	cpu_to_be32
	mov	r1, r5
	str	r0, [r6, #20]
	mov	r0, r10
	bl	xfs_dir2_byte_to_dataptr
	bl	cpu_to_be32
	ldr	r2, [r9]
	add	r8, r8, #1
	cmp	r2, r8
	str	r0, [r6, #16]
	sub	r10, fp, r7
	bne	.L11
	ldr	r3, [sp, #28]
	mov	r4, #0
	cmp	fp, r3
	add	r6, r6, #8
	bcs	.L20
	ldr	r5, [sp, #32]
	cmp	r5, r10
	ble	.L9
.L8:
	ldr	r3, .L26+56
	add	r6, r7, r10
	ldr	r0, [r3]
	bl	cpu_to_be16
	mov	r3, r0
	sub	r0, r5, r10
	str	r3, [r6, #4]
	bl	cpu_to_be16
	mov	r3, r0
	mov	r0, r6
	str	r3, [r7, r10]
	bl	xfs_dir2_data_unused_tag_p
	mov	r5, r0
	mov	r0, r10
	bl	cpu_to_be16
	str	r0, [r5]
	mov	r2, r6
	ldr	r1, [sp, #52]
	ldr	r0, [sp, #36]
	bl	xfs_dir2_data_log_unused
	mov	r1, r6
	add	r2, sp, #56
	mov	r0, r7
	bl	xfs_dir2_data_freeinsert
	ldr	r0, [r7, r10]
	bl	be16_to_cpu
	add	r10, r10, r0
.L10:
	ldr	r3, [sp, #32]
	cmp	r10, r3
	blt	.L13
.L20:
	ldr	r8, [sp, #44]
	ldr	fp, [sp, #36]
.L7:
	mov	r0, r9
	bl	kmem_free
	ldr	r4, [sp, #40]
	ldr	r0, [r4]
	bl	be32_to_cpu
	ldr	r3, .L26+60
	mov	r1, r0
	mov	r2, #8
	ldr	r3, [r3]
	ldr	r0, [sp, #28]
	bl	xfs_sort
	ldr	r0, [sp, #64]
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r4]
	ldr	r4, [sp, #52]
	bl	be32_to_cpu
	mov	r2, #0
	sub	r3, r0, #1
	mov	r1, r4
	mov	r0, fp
	bl	xfs_dir2_block_log_leaf
	ldr	r1, [sp, #52]
	mov	r0, fp
	bl	xfs_dir2_block_log_tail
	mov	r0, r8
	ldr	r1, [sp, #52]
	bl	xfs_dir2_data_check
	ldr	r0, [sp, #52]
	bl	xfs_da_buf_done
	b	.L1
.L21:
	mov	r0, r9
	bl	kmem_free
.L1:
	ldr	r3, .L26
	ldr	r2, [r3]
	ldr	r3, [sp, #76]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	ldr	r0, [sp, #24]
	add	sp, sp, #84
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r1, r4
	mov	r0, r9
	bl	xfs_dir2_sf_nextentry
	mov	r4, r0
	b	.L10
.L23:
	ldr	r0, [sp, #20]
	bl	XFS_FORCED_SHUTDOWN
	bl	ASSERT
	ldr	r3, .L26+64
	ldr	r0, [r3]
	bl	XFS_ERROR
	str	r0, [sp, #24]
	b	.L1
.L24:
	mov	r0, r9
	bl	xfs_dir2_sf_firstentry
	mov	r4, r0
	b	.L6
.L16:
	ldr	r5, [sp, #32]
	b	.L8
.L25:
	bl	__stack_chk_fail
.L27:
	.align	2
.L26:
	.word	.LC0
	.word	XFS_IFINLINE
	.word	parent
	.word	xfs_dir2_sf_hdr_t
	.word	KM_SLEEP
	.word	XFS_DATA_FORK
	.word	XFS_ILOG_CORE
	.word	XFS_DIR2_DATA_SPACE
	.word	XFS_DIR2_BLOCK_MAGIC
	.word	XFS_DIR2_DATA_DOT_OFFSET
	.word	xfs_dir_hash_dot
	.word	XFS_DIR2_DATA_DOTDOT_OFFSET
	.word	xfs_dir_hash_dotdot
	.word	XFS_DIR2_DATA_FIRST_OFFSET
	.word	XFS_DIR2_DATA_FREE_TAG
	.word	xfs_dir2_block_sort
	.word	EIO
	.size	xfs_dir2_sf_to_block, .-xfs_dir2_sf_to_block
	.comm	xfs_dir_hash_dotdot,4,4
	.comm	xfs_dir_hash_dot,4,4
	.comm	xfs_dir2_sf_hdr_t,4,4
	.comm	xfs_dir2_block_sort,4,4
	.comm	parent,4,4
	.comm	XFS_ILOG_CORE,4,4
	.comm	XFS_IFINLINE,4,4
	.comm	XFS_DIR2_DATA_SPACE,4,4
	.comm	XFS_DIR2_DATA_FREE_TAG,4,4
	.comm	XFS_DIR2_DATA_FIRST_OFFSET,4,4
	.comm	XFS_DIR2_DATA_DOT_OFFSET,4,4
	.comm	XFS_DIR2_DATA_DOTDOT_OFFSET,4,4
	.comm	XFS_DIR2_BLOCK_MAGIC,4,4
	.comm	XFS_DATA_FORK,4,4
	.comm	KM_SLEEP,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
