	.file	"extr_xfs_fsops.c_xfs_growfs_data_private.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"error %d reading secondary superblock for ag %d"
	.align 8
.LC1:
	.string	"write error %d updating secondary superblock for ag %d"
	.text
	.p2align 4
	.type	xfs_growfs_data_private, @function
xfs_growfs_data_private:
.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
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 120
	.cfi_def_cfa_offset 176
	mov	r13, QWORD PTR [rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 92[rsp], 0
	cmp	QWORD PTR 8[rdi], r13
	jg	.L68
	mov	eax, DWORD PTR 8[rsi]
	mov	DWORD PTR 16[rsp], eax
	cmp	eax, 100
	jbe	.L3
.L68:
	mov	edi, DWORD PTR EINVAL[rip]
	call	XFS_ERROR@PLT
	mov	r10d, eax
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L70
	add	rsp, 120
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r10d
	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
.L3:
	.cfi_restore_state
	lea	rax, 8[rdi]
	mov	rbp, rdi
	mov	rsi, r13
	mov	rdi, rax
	mov	QWORD PTR 48[rsp], rax
	call	xfs_sb_validate_fsb_count@PLT
	mov	r10d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 16[rbp]
	mov	esi, 1
	mov	rdi, rbp
	mov	DWORD PTR 68[rsp], eax
	call	XFS_FSS_TO_BB@PLT
	mov	rdi, rax
	call	BBTOB@PLT
	mov	rsi, r13
	mov	rdi, rbp
	mov	r12d, eax
	call	XFS_FSB_TO_BB@PLT
	mov	esi, 1
	mov	rdi, rbp
	mov	rbx, rax
	call	XFS_FSS_TO_BB@PLT
	mov	esi, DWORD PTR 48[rbp]
	mov	rdx, rbx
	mov	rdi, rbp
	sub	rdx, rax
	xor	r8d, r8d
	mov	ecx, r12d
	call	xfs_buf_read_uncached@PLT
	mov	r10d, DWORD PTR EIO[rip]
	mov	QWORD PTR 96[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L1
	call	xfs_buf_relse@PLT
	mov	esi, DWORD PTR 20[rbp]
	mov	rdi, r13
	call	do_div@PLT
	xor	edx, edx
	mov	rbx, QWORD PTR 8[rbp]
	test	rax, rax
	setne	dl
	lea	ecx, [rdx+r13]
	mov	DWORD PTR 64[rsp], ecx
	je	.L7
	cmp	QWORD PTR XFS_MIN_AG_BLOCKS[rip], rax
	jg	.L71
.L7:
	mov	eax, DWORD PTR 24[rbp]
	mov	DWORD PTR 24[rsp], eax
	cmp	DWORD PTR 64[rsp], eax
	jle	.L11
	mov	esi, DWORD PTR 64[rsp]
	lea	rdx, 92[rsp]
	mov	rdi, rbp
	call	xfs_initialize_perag@PLT
	mov	r10d, eax
	test	eax, eax
	jne	.L1
.L11:
	mov	esi, DWORD PTR XFS_TRANS_GROWFS[rip]
	mov	rdi, rbp
	call	xfs_trans_alloc@PLT
	mov	rdi, rbp
	mov	r14, rax
	mov	QWORD PTR 56[rsp], rax
	mov	eax, DWORD PTR XFS_TRANS_RESERVE[rip]
	or	DWORD PTR [r14], eax
	call	XFS_GROWDATA_LOG_RES@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	XFS_GROWFS_SPACE_RES@PLT
	xor	r9d, r9d
	xor	r8d, r8d
	xor	ecx, ecx
	mov	esi, eax
	mov	edx, r12d
	mov	rdi, r14
	call	xfs_trans_reserve@PLT
	test	eax, eax
	jne	.L72
	mov	rax, r13
	sub	rax, rbx
	mov	QWORD PTR 40[rsp], rax
	mov	eax, DWORD PTR 64[rsp]
	lea	r12d, -1[rax]
	mov	DWORD PTR 28[rsp], r12d
	cmp	DWORD PTR 24[rsp], r12d
	jg	.L41
	movsx	rax, r12d
	mov	QWORD PTR 72[rsp], r13
	mov	QWORD PTR 8[rsp], rax
	mov	QWORD PTR 32[rsp], 0
	.p2align 4,,10
	.p2align 3
.L24:
	mov	esi, 1
	mov	rdi, rbp
	mov	ebx, DWORD PTR XBF_LOCK[rip]
	or	ebx, DWORD PTR XBF_MAPPED[rip]
	call	XFS_FSS_TO_BB@PLT
	mov	rdi, rbp
	mov	r13, rax
	call	XFS_AGF_DADDR@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	XFS_AG_DADDR@PLT
	mov	edi, DWORD PTR 48[rbp]
	mov	ecx, ebx
	mov	rdx, r13
	mov	esi, eax
	call	xfs_buf_get@PLT
	mov	QWORD PTR 96[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L67
	call	XFS_BUF_TO_AGF@PLT
	mov	edx, DWORD PTR 44[rbp]
	xor	esi, esi
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, QWORD PTR XFS_AGF_MAGIC[rip]
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR XFS_AGF_VERSION[rip]
	mov	QWORD PTR 208[rbx], rax
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	QWORD PTR 200[rbx], rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 192[rbx], rax
	cmp	DWORD PTR 28[rsp], r12d
	je	.L73
	movsx	r13, DWORD PTR 20[rbp]
.L16:
	mov	rdi, r13
	call	cpu_to_be32@PLT
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rax
	call	XFS_BNO_BLOCK@PLT
	mov	rdx, QWORD PTR XFS_BTNUM_BNOi[rip]
	mov	rdi, rax
	mov	rax, QWORD PTR 184[rbx]
	lea	r15, [rax+rdx*8]
	call	cpu_to_be32@PLT
	mov	rdi, rbp
	mov	QWORD PTR [r15], rax
	call	XFS_CNT_BLOCK@PLT
	mov	rdx, QWORD PTR XFS_BTNUM_CNTi[rip]
	mov	rdi, rax
	mov	rax, QWORD PTR 184[rbx]
	lea	r15, [rax+rdx*8]
	call	cpu_to_be32@PLT
	mov	rdx, QWORD PTR XFS_BTNUM_BNOi[rip]
	mov	edi, 1
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 176[rbx]
	lea	r15, [rax+rdx*8]
	call	cpu_to_be32@PLT
	mov	rdx, QWORD PTR XFS_BTNUM_CNTi[rip]
	mov	edi, 1
	mov	QWORD PTR [r15], rax
	mov	rax, QWORD PTR 176[rbx]
	lea	r15, [rax+rdx*8]
	call	cpu_to_be32@PLT
	mov	rdi, rbp
	mov	QWORD PTR [r15], rax
	mov	r15, r13
	mov	QWORD PTR 168[rbx], 0
	call	XFS_AGFL_SIZE@PLT
	lea	edi, -1[rax]
	movsx	rdi, edi
	call	cpu_to_be32@PLT
	mov	rdi, rbp
	mov	QWORD PTR 152[rbx], 0
	mov	QWORD PTR 160[rbx], rax
	call	XFS_PREALLOC_BLOCKS@PLT
	sub	r15, rax
	mov	rdi, r15
	call	cpu_to_be32@PLT
	mov	rdi, r15
	mov	QWORD PTR 144[rbx], rax
	call	cpu_to_be32@PLT
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 136[rbx], rax
	call	xfs_bwrite@PLT
	test	eax, eax
	jne	.L65
	mov	esi, 1
	mov	ecx, DWORD PTR XBF_LOCK[rip]
	mov	rdi, rbp
	or	ecx, DWORD PTR XBF_MAPPED[rip]
	mov	ebx, ecx
	call	XFS_FSS_TO_BB@PLT
	mov	rdi, rbp
	mov	r15, rax
	call	XFS_AGI_DADDR@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	XFS_AG_DADDR@PLT
	mov	edi, DWORD PTR 48[rbp]
	mov	ecx, ebx
	mov	rdx, r15
	mov	esi, eax
	call	xfs_buf_get@PLT
	mov	QWORD PTR 96[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L67
	call	XFS_BUF_TO_AGI@PLT
	mov	edx, DWORD PTR 44[rbp]
	xor	esi, esi
	xor	r15d, r15d
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, QWORD PTR XFS_AGI_MAGIC[rip]
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR XFS_AGI_VERSION[rip]
	mov	QWORD PTR 128[rbx], rax
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR 8[rsp]
	mov	QWORD PTR 120[rbx], rax
	call	cpu_to_be32@PLT
	mov	rdi, r13
	mov	QWORD PTR 112[rbx], rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 104[rbx], 0
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	call	XFS_IBT_BLOCK@PLT
	mov	rdi, rax
	call	cpu_to_be32@PLT
	mov	edi, 1
	mov	QWORD PTR 96[rbx], rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 80[rbx], 0
	mov	rdi, QWORD PTR NULLAGINO[rip]
	mov	QWORD PTR 88[rbx], rax
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR NULLAGINO[rip]
	mov	QWORD PTR 72[rbx], rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 64[rbx], rax
	mov	eax, DWORD PTR XFS_AGI_UNLINKED_BUCKETS[rip]
	test	eax, eax
	jle	.L20
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR 56[rbx]
	mov	rdi, QWORD PTR NULLAGINO[rip]
	lea	r14, [rax+r15*8]
	add	r15, 1
	call	cpu_to_be32@PLT
	cmp	DWORD PTR XFS_AGI_UNLINKED_BUCKETS[rip], r15d
	mov	QWORD PTR [r14], rax
	jg	.L18
.L20:
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbp
	call	xfs_bwrite@PLT
	test	eax, eax
	jne	.L65
	mov	edi, DWORD PTR 40[rbp]
	mov	ecx, DWORD PTR XBF_LOCK[rip]
	or	ecx, DWORD PTR XBF_MAPPED[rip]
	mov	DWORD PTR 20[rsp], ecx
	call	BTOBB@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	XFS_BNO_BLOCK@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	rdx, rax
	call	XFS_AGB_TO_DADDR@PLT
	mov	edi, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR 20[rsp]
	mov	rdx, rbx
	mov	esi, eax
	call	xfs_buf_get@PLT
	mov	QWORD PTR 96[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L67
	call	XFS_BUF_TO_BLOCK@PLT
	mov	edx, DWORD PTR 40[rbp]
	xor	esi, esi
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, QWORD PTR XFS_ABTB_MAGIC[rip]
	call	cpu_to_be32@PLT
	mov	QWORD PTR 40[rbx], 0
	mov	edi, 1
	mov	QWORD PTR 48[rbx], rax
	call	cpu_to_be16@PLT
	mov	rdi, QWORD PTR NULLAGBLOCK[rip]
	mov	QWORD PTR 32[rbx], rax
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR NULLAGBLOCK[rip]
	mov	QWORD PTR 24[rbx], rax
	call	cpu_to_be32@PLT
	mov	rsi, rbx
	mov	edx, 1
	mov	rdi, rbp
	mov	QWORD PTR 16[rbx], rax
	call	XFS_ALLOC_REC_ADDR@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	XFS_PREALLOC_BLOCKS@PLT
	mov	rdi, rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	be32_to_cpu@PLT
	mov	rdi, r13
	sub	rdi, rax
	call	cpu_to_be32@PLT
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rax
	call	xfs_bwrite@PLT
	test	eax, eax
	jne	.L65
	mov	edi, DWORD PTR 40[rbp]
	mov	ecx, DWORD PTR XBF_LOCK[rip]
	or	ecx, DWORD PTR XBF_MAPPED[rip]
	mov	DWORD PTR 20[rsp], ecx
	call	BTOBB@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	XFS_CNT_BLOCK@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	rdx, rax
	call	XFS_AGB_TO_DADDR@PLT
	mov	edi, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR 20[rsp]
	mov	rdx, rbx
	mov	esi, eax
	call	xfs_buf_get@PLT
	mov	QWORD PTR 96[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L67
	call	XFS_BUF_TO_BLOCK@PLT
	mov	edx, DWORD PTR 40[rbp]
	xor	esi, esi
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, QWORD PTR XFS_ABTC_MAGIC[rip]
	call	cpu_to_be32@PLT
	mov	QWORD PTR 40[rbx], 0
	mov	edi, 1
	mov	QWORD PTR 48[rbx], rax
	call	cpu_to_be16@PLT
	mov	rdi, QWORD PTR NULLAGBLOCK[rip]
	mov	QWORD PTR 32[rbx], rax
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR NULLAGBLOCK[rip]
	mov	QWORD PTR 24[rbx], rax
	call	cpu_to_be32@PLT
	mov	rsi, rbx
	mov	edx, 1
	mov	rdi, rbp
	mov	QWORD PTR 16[rbx], rax
	call	XFS_ALLOC_REC_ADDR@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	XFS_PREALLOC_BLOCKS@PLT
	mov	rdi, rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	call	be32_to_cpu@PLT
	mov	rdi, r13
	sub	rdi, rax
	call	cpu_to_be32@PLT
	mov	QWORD PTR [rbx], rax
	mov	rdi, rax
	call	be32_to_cpu@PLT
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbp
	add	QWORD PTR 32[rsp], rax
	call	xfs_bwrite@PLT
	test	eax, eax
	jne	.L65
	mov	edi, DWORD PTR 40[rbp]
	mov	ecx, DWORD PTR XBF_LOCK[rip]
	or	ecx, DWORD PTR XBF_MAPPED[rip]
	mov	DWORD PTR 20[rsp], ecx
	call	BTOBB@PLT
	mov	rdi, rbp
	mov	rbx, rax
	call	XFS_IBT_BLOCK@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	rdx, rax
	call	XFS_AGB_TO_DADDR@PLT
	mov	edi, DWORD PTR 48[rbp]
	mov	ecx, DWORD PTR 20[rsp]
	mov	rdx, rbx
	mov	esi, eax
	call	xfs_buf_get@PLT
	mov	QWORD PTR 96[rsp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L67
	call	XFS_BUF_TO_BLOCK@PLT
	mov	edx, DWORD PTR 40[rbp]
	xor	esi, esi
	mov	rdi, rax
	mov	rbx, rax
	call	memset@PLT
	mov	rdi, QWORD PTR XFS_IBT_MAGIC[rip]
	call	cpu_to_be32@PLT
	mov	QWORD PTR 40[rbx], 0
	mov	rdi, QWORD PTR NULLAGBLOCK[rip]
	mov	QWORD PTR 48[rbx], rax
	mov	QWORD PTR 32[rbx], 0
	call	cpu_to_be32@PLT
	mov	rdi, QWORD PTR NULLAGBLOCK[rip]
	mov	QWORD PTR 24[rbx], rax
	call	cpu_to_be32@PLT
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbp
	mov	QWORD PTR 16[rbx], rax
	call	xfs_bwrite@PLT
	test	eax, eax
	jne	.L65
	sub	QWORD PTR 40[rsp], r13
	sub	r12d, 1
	sub	QWORD PTR 8[rsp], 1
	cmp	DWORD PTR 24[rsp], r12d
	jle	.L24
	mov	r13, QWORD PTR 72[rsp]
.L12:
	mov	rsi, QWORD PTR 32[rsp]
	mov	rdi, QWORD PTR 56[rsp]
	call	xfs_trans_agblocks_delta@PLT
	cmp	QWORD PTR 40[rsp], 0
	jne	.L25
.L29:
	mov	ecx, DWORD PTR 24[rsp]
	cmp	DWORD PTR 64[rsp], ecx
	jg	.L74
.L27:
	mov	rax, QWORD PTR 8[rbp]
	cmp	rax, r13
	jl	.L75
.L30:
	cmp	QWORD PTR 32[rsp], 0
	jne	.L76
.L31:
	mov	edx, DWORD PTR 16[rsp]
	sub	edx, DWORD PTR 68[rsp]
	jne	.L77
.L32:
	mov	rdi, QWORD PTR 56[rsp]
	xor	esi, esi
	call	xfs_trans_commit@PLT
	mov	r10d, eax
	test	eax, eax
	jne	.L1
	mov	eax, DWORD PTR 92[rsp]
	test	eax, eax
	je	.L33
	mov	DWORD PTR 0[rbp], eax
.L33:
	movsx	rax, DWORD PTR 16[rbp]
	test	eax, eax
	jne	.L78
	mov	QWORD PTR 56[rbp], 0
.L35:
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], r10d
	mov	r12d, 1
	lea	rbx, 96[rsp]
	call	xfs_set_low_space_thresholds@PLT
	cmp	DWORD PTR 64[rsp], 1
	mov	r10d, DWORD PTR 8[rsp]
	jle	.L1
	mov	r13, QWORD PTR 48[rsp]
	mov	r14d, r10d
.L36:
	mov	esi, 1
	mov	rdi, rbp
	call	XFS_FSS_TO_BB@PLT
	mov	rdi, rbp
	mov	r15, rax
	call	XFS_SB_BLOCK@PLT
	mov	esi, r12d
	mov	rdi, rbp
	mov	rdx, rax
	call	XFS_AGB_TO_DADDR@PLT
	mov	esi, DWORD PTR 48[rbp]
	mov	r9, rbx
	xor	r8d, r8d
	mov	edx, eax
	mov	rcx, r15
	mov	rdi, rbp
	call	xfs_read_buf@PLT
	mov	edx, eax
	test	eax, eax
	jne	.L79
	mov	rdi, QWORD PTR 96[rsp]
	mov	r15d, DWORD PTR XFS_SB_ALL_BITS[rip]
	call	XFS_BUF_TO_SBP@PLT
	mov	edx, r15d
	mov	rsi, r13
	mov	edi, eax
	call	xfs_sb_to_disk@PLT
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbp
	call	xfs_bwrite@PLT
	mov	edx, eax
	test	eax, eax
	jne	.L38
	add	r12d, 1
	cmp	DWORD PTR 64[rsp], r12d
	jne	.L36
	mov	r10d, r14d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L73:
	movsx	rax, DWORD PTR 20[rbp]
	imul	rax, QWORD PTR 8[rsp]
	mov	r13, QWORD PTR 72[rsp]
	sub	r13, rax
	jmp	.L16
.L71:
	sub	ecx, 1
	movsx	r13, DWORD PTR 20[rbp]
	movsx	rax, ecx
	mov	DWORD PTR 64[rsp], ecx
	imul	r13, rax
	cmp	rbx, r13
	jle	.L7
	jmp	.L68
	.p2align 4,,10
	.p2align 3
.L67:
	mov	r10d, DWORD PTR ENOMEM[rip]
.L14:
	mov	esi, DWORD PTR XFS_TRANS_ABORT[rip]
	mov	rdi, QWORD PTR 56[rsp]
	mov	DWORD PTR 8[rsp], r10d
	call	xfs_trans_cancel@PLT
	mov	r10d, DWORD PTR 8[rsp]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L65:
	mov	r10d, eax
	jmp	.L14
.L72:
	mov	rdi, QWORD PTR 56[rsp]
	xor	esi, esi
	mov	DWORD PTR 8[rsp], eax
	call	xfs_trans_cancel@PLT
	mov	r10d, DWORD PTR 8[rsp]
	jmp	.L1
.L38:
	mov	ecx, r12d
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	xfs_warn@PLT
	xor	r10d, r10d
	jmp	.L1
.L25:
	mov	rsi, QWORD PTR 56[rsp]
	lea	rbx, 96[rsp]
	mov	edx, r12d
	mov	rdi, rbp
	mov	rcx, rbx
	call	xfs_ialloc_read_agi@PLT
	mov	r10d, eax
	test	eax, eax
	jne	.L14
	mov	edi, DWORD PTR 96[rsp]
	call	ASSERT@PLT
	mov	rdi, QWORD PTR 96[rsp]
	call	XFS_BUF_TO_AGI@PLT
	mov	rsi, QWORD PTR 40[rsp]
	lea	rdi, 8[rax]
	mov	r14, rax
	call	be32_add_cpu@PLT
	mov	ecx, DWORD PTR 24[rsp]
	mov	edi, 1
	cmp	DWORD PTR 64[rsp], ecx
	je	.L28
	mov	rdi, QWORD PTR 8[r14]
	call	be32_to_cpu@PLT
	movsx	rdx, DWORD PTR 20[rbp]
	xor	edi, edi
	cmp	rdx, rax
	sete	dil
.L28:
	call	ASSERT@PLT
	mov	r15, QWORD PTR 56[rsp]
	mov	edx, DWORD PTR XFS_AGI_LENGTH[rip]
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, r15
	call	xfs_ialloc_log_agi@PLT
	mov	r8, rbx
	xor	ecx, ecx
	mov	edx, r12d
	mov	rsi, r15
	mov	rdi, rbp
	mov	QWORD PTR 56[rsp], r15
	call	xfs_alloc_read_agf@PLT
	mov	r10d, eax
	test	eax, eax
	jne	.L14
	mov	edi, DWORD PTR 96[rsp]
	call	ASSERT@PLT
	mov	rdi, QWORD PTR 96[rsp]
	call	XFS_BUF_TO_AGF@PLT
	mov	rsi, QWORD PTR 40[rsp]
	mov	r15, rax
	mov	rdi, rax
	call	be32_add_cpu@PLT
	mov	rdi, QWORD PTR [r15]
	call	be32_to_cpu@PLT
	mov	rdi, QWORD PTR 8[r14]
	mov	rbx, rax
	call	be32_to_cpu@PLT
	xor	edi, edi
	cmp	rbx, rax
	sete	dil
	call	ASSERT@PLT
	mov	rbx, QWORD PTR 56[rsp]
	mov	edx, DWORD PTR XFS_AGF_LENGTH[rip]
	mov	rsi, QWORD PTR 96[rsp]
	mov	rdi, rbx
	call	xfs_alloc_log_agf@PLT
	mov	rdi, QWORD PTR [r15]
	call	be32_to_cpu@PLT
	mov	r14, QWORD PTR 40[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	sub	rax, r14
	mov	rdx, rax
	call	XFS_AGB_TO_FSB@PLT
	mov	rdx, r14
	mov	rdi, rbx
	mov	esi, eax
	call	xfs_free_extent@PLT
	mov	r10d, eax
	test	eax, eax
	je	.L29
	jmp	.L14
.L77:
	mov	esi, DWORD PTR XFS_TRANS_SB_IMAXPCT[rip]
	mov	rdi, QWORD PTR 56[rsp]
	call	xfs_trans_mod_sb@PLT
	jmp	.L32
.L76:
	mov	edx, DWORD PTR 32[rsp]
	mov	esi, DWORD PTR XFS_TRANS_SB_FDBLOCKS[rip]
	mov	rdi, QWORD PTR 56[rsp]
	call	xfs_trans_mod_sb@PLT
	jmp	.L31
.L75:
	mov	edx, r13d
	mov	esi, DWORD PTR XFS_TRANS_SB_DBLOCKS[rip]
	mov	rdi, QWORD PTR 56[rsp]
	sub	edx, eax
	call	xfs_trans_mod_sb@PLT
	jmp	.L30
.L74:
	mov	esi, DWORD PTR XFS_TRANS_SB_AGCOUNT[rip]
	mov	rdi, QWORD PTR 56[rsp]
	mov	edx, DWORD PTR 64[rsp]
	sub	edx, DWORD PTR 24[rsp]
	call	xfs_trans_mod_sb@PLT
	jmp	.L27
.L41:
	mov	QWORD PTR 32[rsp], 0
	mov	r12d, DWORD PTR 28[rsp]
	jmp	.L12
.L78:
	imul	rax, QWORD PTR 8[rbp]
	mov	esi, 100
	mov	DWORD PTR 8[rsp], r10d
	mov	rdi, rax
	mov	rbx, rax
	call	do_div@PLT
	mov	rcx, QWORD PTR 32[rbp]
	mov	r10d, DWORD PTR 8[rsp]
	sal	rbx, cl
	mov	QWORD PTR 56[rbp], rbx
	jmp	.L35
.L79:
	mov	ecx, r12d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	mov	DWORD PTR 8[rsp], r14d
	call	xfs_warn@PLT
	mov	r10d, DWORD PTR 8[rsp]
	jmp	.L1
.L70:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xfs_growfs_data_private, .-xfs_growfs_data_private
	.comm	XFS_TRANS_SB_IMAXPCT,4,4
	.comm	XFS_TRANS_SB_FDBLOCKS,4,4
	.comm	XFS_TRANS_SB_DBLOCKS,4,4
	.comm	XFS_TRANS_SB_AGCOUNT,4,4
	.comm	XFS_TRANS_RESERVE,4,4
	.comm	XFS_TRANS_GROWFS,4,4
	.comm	XFS_TRANS_ABORT,4,4
	.comm	XFS_SB_ALL_BITS,4,4
	.comm	XFS_MIN_AG_BLOCKS,8,8
	.comm	XFS_IBT_MAGIC,8,8
	.comm	XFS_BTNUM_CNTi,8,8
	.comm	XFS_BTNUM_BNOi,8,8
	.comm	XFS_AGI_VERSION,8,8
	.comm	XFS_AGI_UNLINKED_BUCKETS,4,4
	.comm	XFS_AGI_MAGIC,8,8
	.comm	XFS_AGI_LENGTH,4,4
	.comm	XFS_AGF_VERSION,8,8
	.comm	XFS_AGF_MAGIC,8,8
	.comm	XFS_AGF_LENGTH,4,4
	.comm	XFS_ABTC_MAGIC,8,8
	.comm	XFS_ABTB_MAGIC,8,8
	.comm	XBF_MAPPED,4,4
	.comm	XBF_LOCK,4,4
	.comm	NULLAGINO,8,8
	.comm	NULLAGBLOCK,8,8
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	EINVAL,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_fsops.c_xfs_growfs_data_private.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"error %d reading secondary superblock for ag %d\000"
	.align	2
.LC1:
	.ascii	"write error %d updating secondary superblock for ag"
	.ascii	" %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_growfs_data_private, %function
xfs_growfs_data_private:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r2, [r1]
	mov	r4, r0
	mov	r0, r2
	mov	r3, #0
	sub	sp, sp, #68
	str	r2, [sp, #8]
	ldr	r2, [r4, #4]
	ldr	ip, .L82
	cmp	r2, r0
	ldr	ip, [ip]
	str	ip, [sp, #60]
	mov	ip,#0
	str	r3, [sp, #56]
	bgt	.L70
	ldr	r3, [r1, #4]
	cmp	r3, #100
	str	r3, [sp, #12]
	bls	.L3
.L70:
	ldr	r3, .L82+4
	ldr	r0, [r3]
	bl	XFS_ERROR
	mov	r7, r0
.L1:
	ldr	r3, .L82
	ldr	r2, [r3]
	ldr	r3, [sp, #60]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L72
	mov	r0, r7
	add	sp, sp, #68
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	ldr	r5, [sp, #8]
	add	r3, r4, #4
	mov	r0, r3
	mov	r1, r5
	str	r3, [sp, #36]
	bl	xfs_sb_validate_fsb_count
	subs	r7, r0, #0
	bne	.L1
	ldr	r3, [r4, #8]
	mov	r1, r5
	mov	r0, r4
	str	r3, [sp, #44]
	ldr	r6, [r4, #32]
	bl	XFS_FSB_TO_BB
	mov	r1, #1
	mov	r5, r0
	mov	r0, r4
	bl	XFS_FSS_TO_BB
	mov	r2, r0
	mov	r1, #1
	mov	r0, r4
	sub	r5, r5, r2
	bl	XFS_FSS_TO_BB
	bl	BBTOB
	mov	r2, r5
	mov	r3, r0
	mov	r1, r6
	mov	r0, r4
	str	r7, [sp]
	bl	xfs_buf_read_uncached
	cmp	r0, #0
	str	r0, [sp, #52]
	beq	.L73
	bl	xfs_buf_relse
	ldr	r5, [sp, #8]
	ldr	r1, [r4, #12]
	mov	r0, r5
	bl	do_div
	cmp	r0, #0
	movne	r3, #1
	moveq	r3, #0
	add	r2, r3, r5
	str	r2, [sp, #32]
	beq	.L6
	ldr	r3, .L82+8
	ldr	r5, [r4, #4]
	ldr	r3, [r3]
	cmp	r3, r0
	bgt	.L74
.L7:
	ldr	r3, [r4, #16]
	ldr	r2, [sp, #32]
	str	r3, [sp, #28]
	cmp	r2, r3
	ble	.L11
	mov	r0, r4
	ldr	r1, [sp, #32]
	add	r2, sp, #56
	bl	xfs_initialize_perag
	subs	r7, r0, #0
	bne	.L1
.L11:
	ldr	r3, .L82+12
	mov	r0, r4
	ldr	r1, [r3]
	bl	xfs_trans_alloc
	mov	r8, r0
	ldr	r2, .L82+16
	ldr	r3, [r0]
	ldr	r2, [r2]
	str	r0, [sp, #40]
	orr	r3, r3, r2
	str	r3, [r8]
	mov	r0, r4
	bl	XFS_GROWFS_SPACE_RES
	mov	r7, r0
	mov	r0, r4
	bl	XFS_GROWDATA_LOG_RES
	mov	r6, #0
	mov	r2, r0
	mov	r1, r7
	mov	r0, r8
	mov	r3, r6
	str	r6, [sp, #4]
	str	r6, [sp]
	bl	xfs_trans_reserve
	subs	r7, r0, #0
	bne	.L75
	ldr	r3, [sp, #32]
	sub	r9, r3, #1
	ldr	r3, [sp, #28]
	str	r9, [sp, #24]
	cmp	r3, r9
	ldr	r3, [sp, #8]
	sub	r3, r3, r5
	str	r3, [sp, #20]
	bgt	.L41
	str	r7, [sp, #16]
.L24:
	mov	r0, r4
	ldr	r6, [r4, #32]
	bl	XFS_AGF_DADDR
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	XFS_AG_DADDR
	mov	r1, #1
	mov	r5, r0
	mov	r0, r4
	bl	XFS_FSS_TO_BB
	ldr	r3, .L82+20
	mov	r2, r0
	ldr	ip, [r3]
	ldr	r3, .L82+24
	mov	r1, r5
	ldr	r3, [r3]
	mov	r0, r6
	orr	r3, ip, r3
	bl	xfs_buf_get
	cmp	r0, #0
	str	r0, [sp, #52]
	beq	.L69
	bl	XFS_BUF_TO_AGF
	mov	r1, #0
	ldr	r2, [r4, #28]
	mov	r5, r0
	bl	memset
	ldr	r3, .L82+28
	ldr	r7, .L82+32
	ldr	r0, [r3]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r2, .L82+36
	str	r3, [r5, #104]
	ldr	r0, [r2]
	bl	cpu_to_be32
	mov	r3, r0
	mov	r0, r9
	str	r3, [r5, #100]
	bl	cpu_to_be32
	ldr	r3, [sp, #24]
	ldr	fp, [r4, #12]
	cmp	r3, r9
	muleq	r3, fp, r3
	moveq	fp, r3
	ldreq	r3, [sp, #8]
	str	r0, [r5, #96]
	subeq	fp, r3, fp
	mov	r0, fp
	bl	cpu_to_be32
	mov	r3, r0
	mov	r0, r4
	str	r3, [r5]
	bl	XFS_BNO_BLOCK
	ldr	r6, [r5, #92]
	ldr	r8, [r7]
	bl	cpu_to_be32
	ldr	r10, .L82+40
	str	r0, [r6, r8, lsl #2]
	mov	r0, r4
	bl	XFS_CNT_BLOCK
	ldr	r8, [r10]
	ldr	r6, [r5, #92]
	bl	cpu_to_be32
	str	r0, [r6, r8, lsl #2]
	mov	r0, #1
	ldr	r6, [r5, #88]
	ldr	r8, [r7]
	bl	cpu_to_be32
	str	r0, [r6, r8, lsl #2]
	mov	r0, #1
	mov	r6, #0
	ldr	r8, [r5, #88]
	ldr	r10, [r10]
	bl	cpu_to_be32
	str	r0, [r8, r10, lsl #2]
	str	r6, [r5, #84]
	mov	r0, r4
	bl	XFS_AGFL_SIZE
	sub	r0, r0, #1
	bl	cpu_to_be32
	str	r6, [r5, #76]
	str	r0, [r5, #80]
	mov	r0, r4
	bl	XFS_PREALLOC_BLOCKS
	sub	r6, fp, r0
	mov	r0, r6
	bl	cpu_to_be32
	mov	r3, r0
	mov	r0, r6
	str	r3, [r5, #72]
	bl	cpu_to_be32
	ldr	r1, [sp, #52]
	str	r0, [r5, #68]
	mov	r0, r4
	bl	xfs_bwrite
	subs	r5, r0, #0
	bne	.L45
	mov	r0, r4
	ldr	r6, [r4, #32]
	bl	XFS_AGI_DADDR
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	XFS_AG_DADDR
	mov	r1, #1
	mov	r8, r0
	mov	r0, r4
	bl	XFS_FSS_TO_BB
	ldr	r3, .L82+20
	mov	r2, r0
	ldr	ip, [r3]
	ldr	r3, .L82+24
	mov	r1, r8
	ldr	r3, [r3]
	mov	r0, r6
	orr	r3, ip, r3
	bl	xfs_buf_get
	cmp	r0, #0
	str	r0, [sp, #52]
	beq	.L69
	bl	XFS_BUF_TO_AGI
	mov	r1, r5
	ldr	r2, [r4, #28]
	mov	r6, r0
	bl	memset
	ldr	r3, .L82+44
	ldr	r8, .L82+48
	ldr	r0, [r3]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r2, .L82+52
	str	r3, [r6, #64]
	ldr	r0, [r2]
	bl	cpu_to_be32
	mov	r3, r0
	mov	r0, r9
	str	r3, [r6, #60]
	bl	cpu_to_be32
	mov	r3, r0
	mov	r0, fp
	str	r3, [r6, #56]
	bl	cpu_to_be32
	str	r5, [r6, #52]
	str	r0, [r6, #4]
	mov	r0, r4
	bl	XFS_IBT_BLOCK
	bl	cpu_to_be32
	mov	r3, r0
	mov	r0, #1
	str	r3, [r6, #48]
	bl	cpu_to_be32
	str	r5, [r6, #40]
	str	r0, [r6, #44]
	ldr	r0, [r8]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [r8]
	str	r3, [r6, #36]
	bl	cpu_to_be32
	ldr	r10, .L82+56
	str	r0, [r6, #32]
	ldr	r3, [r10]
	cmp	r3, #0
	ble	.L20
.L18:
	ldr	r0, [r8]
	ldr	r7, [r6, #28]
	bl	cpu_to_be32
	ldr	r3, [r10]
	str	r0, [r7, r5, lsl #2]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L18
.L20:
	mov	r0, r4
	ldr	r1, [sp, #52]
	bl	xfs_bwrite
	subs	r8, r0, #0
	bne	.L44
	mov	r0, r4
	ldr	r5, [r4, #32]
	bl	XFS_BNO_BLOCK
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	XFS_AGB_TO_DADDR
	mov	r6, r0
	ldr	r0, [r4, #24]
	bl	BTOBB
	ldr	r3, .L82+20
	mov	r2, r0
	ldr	ip, [r3]
	ldr	r3, .L82+24
	mov	r1, r6
	ldr	r3, [r3]
	mov	r0, r5
	orr	r3, ip, r3
	bl	xfs_buf_get
	cmp	r0, #0
	str	r0, [sp, #52]
	beq	.L69
	bl	XFS_BUF_TO_BLOCK
	mov	r1, r8
	ldr	r2, [r4, #24]
	mov	r5, r0
	bl	memset
	ldr	r3, .L82+60
	ldr	r6, .L82+64
	ldr	r0, [r3]
	bl	cpu_to_be32
	str	r8, [r5, #20]
	str	r0, [r5, #24]
	mov	r0, #1
	bl	cpu_to_be16
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r5, #16]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r5, #12]
	bl	cpu_to_be32
	mov	r1, r5
	mov	r2, #1
	str	r0, [r5, #8]
	mov	r0, r4
	bl	XFS_ALLOC_REC_ADDR
	mov	r5, r0
	mov	r0, r4
	bl	XFS_PREALLOC_BLOCKS
	bl	cpu_to_be32
	str	r0, [r5, #4]
	bl	be32_to_cpu
	sub	r0, fp, r0
	bl	cpu_to_be32
	ldr	r1, [sp, #52]
	str	r0, [r5]
	mov	r0, r4
	bl	xfs_bwrite
	subs	r8, r0, #0
	bne	.L44
	mov	r0, r4
	ldr	r5, [r4, #32]
	bl	XFS_CNT_BLOCK
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	XFS_AGB_TO_DADDR
	mov	r10, r0
	ldr	r0, [r4, #24]
	bl	BTOBB
	ldr	r3, .L82+20
	mov	r2, r0
	ldr	ip, [r3]
	ldr	r3, .L82+24
	mov	r1, r10
	ldr	r3, [r3]
	mov	r0, r5
	orr	r3, ip, r3
	bl	xfs_buf_get
	cmp	r0, #0
	str	r0, [sp, #52]
	beq	.L69
	bl	XFS_BUF_TO_BLOCK
	mov	r1, r8
	ldr	r2, [r4, #24]
	mov	r5, r0
	bl	memset
	ldr	r3, .L82+68
	ldr	r0, [r3]
	bl	cpu_to_be32
	str	r8, [r5, #20]
	str	r0, [r5, #24]
	mov	r0, #1
	bl	cpu_to_be16
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r5, #16]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r5, #12]
	bl	cpu_to_be32
	mov	r1, r5
	mov	r2, #1
	str	r0, [r5, #8]
	mov	r0, r4
	bl	XFS_ALLOC_REC_ADDR
	mov	r5, r0
	mov	r0, r4
	bl	XFS_PREALLOC_BLOCKS
	bl	cpu_to_be32
	str	r0, [r5, #4]
	bl	be32_to_cpu
	sub	r0, fp, r0
	bl	cpu_to_be32
	str	r0, [r5]
	bl	be32_to_cpu
	mov	r3, r0
	ldr	r2, [sp, #16]
	mov	r0, r4
	add	r3, r2, r3
	ldr	r1, [sp, #52]
	str	r3, [sp, #16]
	bl	xfs_bwrite
	subs	r5, r0, #0
	bne	.L45
	mov	r0, r4
	ldr	r8, [r4, #32]
	bl	XFS_IBT_BLOCK
	mov	r1, r9
	mov	r2, r0
	mov	r0, r4
	bl	XFS_AGB_TO_DADDR
	mov	r10, r0
	ldr	r0, [r4, #24]
	bl	BTOBB
	ldr	r3, .L82+20
	mov	r2, r0
	ldr	ip, [r3]
	ldr	r3, .L82+24
	mov	r1, r10
	ldr	r3, [r3]
	mov	r0, r8
	orr	r3, ip, r3
	bl	xfs_buf_get
	cmp	r0, #0
	str	r0, [sp, #52]
	beq	.L69
	bl	XFS_BUF_TO_BLOCK
	mov	r1, r5
	ldr	r2, [r4, #24]
	mov	r8, r0
	bl	memset
	ldr	r3, .L82+72
	ldr	r0, [r3]
	bl	cpu_to_be32
	str	r5, [r8, #20]
	str	r0, [r8, #24]
	str	r5, [r8, #16]
	ldr	r0, [r6]
	bl	cpu_to_be32
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r8, #12]
	bl	cpu_to_be32
	ldr	r1, [sp, #52]
	str	r0, [r8, #8]
	mov	r0, r4
	bl	xfs_bwrite
	cmp	r0, #0
	bne	.L50
	ldr	r3, [sp, #28]
	sub	r9, r9, #1
	cmp	r3, r9
	ldr	r3, [sp, #20]
	sub	r3, r3, fp
	str	r3, [sp, #20]
	ble	.L24
	ldr	r7, [sp, #16]
.L12:
	mov	r1, r7
	ldr	r0, [sp, #40]
	bl	xfs_trans_agblocks_delta
	ldr	r3, [sp, #20]
	cmp	r3, #0
	bne	.L25
.L29:
	ldr	r3, [sp, #32]
	ldr	r2, [sp, #28]
	cmp	r3, r2
	bgt	.L76
.L27:
	ldr	r2, [r4, #4]
	ldr	r3, [sp, #8]
	cmp	r2, r3
	blt	.L77
.L30:
	cmp	r7, #0
	bne	.L78
.L31:
	ldr	r3, [sp, #12]
	ldr	r2, [sp, #44]
	subs	r2, r3, r2
	bne	.L79
.L32:
	mov	r1, #0
	ldr	r0, [sp, #40]
	bl	xfs_trans_commit
	subs	r7, r0, #0
	bne	.L1
	ldr	r3, [sp, #56]
	cmp	r3, #0
	strne	r3, [r4]
	ldr	r3, [r4, #8]
	cmp	r3, #0
	streq	r3, [r4, #36]
	bne	.L80
.L35:
	mov	r0, r4
	bl	xfs_set_low_space_thresholds
	ldr	r3, [sp, #32]
	cmp	r3, #1
	ble	.L1
	mov	r8, #1
	mov	r10, #0
	ldr	r9, .L82+76
	add	r5, sp, #52
.L36:
	mov	r0, r4
	ldr	fp, [r4, #32]
	bl	XFS_SB_BLOCK
	mov	r1, r8
	mov	r2, r0
	mov	r0, r4
	bl	XFS_AGB_TO_DADDR
	mov	r1, #1
	mov	r6, r0
	mov	r0, r4
	bl	XFS_FSS_TO_BB
	mov	r2, r6
	mov	r3, r0
	mov	r1, fp
	mov	r0, r4
	str	r5, [sp, #4]
	str	r10, [sp]
	bl	xfs_read_buf
	subs	r6, r0, #0
	bne	.L81
	ldr	r0, [sp, #52]
	bl	XFS_BUF_TO_SBP
	ldr	r2, [r9]
	ldr	r1, [sp, #36]
	bl	xfs_sb_to_disk
	mov	r0, r4
	ldr	r1, [sp, #52]
	bl	xfs_bwrite
	subs	r2, r0, #0
	bne	.L38
	ldr	r3, [sp, #32]
	add	r8, r8, #1
	cmp	r3, r8
	bne	.L36
	b	.L1
.L6:
	ldr	r5, [r4, #4]
	b	.L7
.L73:
	ldr	r3, .L82+80
	ldr	r7, [r3]
	b	.L1
.L74:
	ldr	r3, [r4, #12]
	sub	r2, r2, #1
	str	r2, [sp, #32]
	mul	r2, r3, r2
	cmp	r2, r5
	str	r2, [sp, #8]
	bge	.L7
	b	.L70
.L69:
	ldr	r3, .L82+84
	ldr	r7, [r3]
.L14:
	ldr	r3, .L82+88
	ldr	r0, [sp, #40]
	ldr	r1, [r3]
	bl	xfs_trans_cancel
	b	.L1
.L75:
	mov	r1, r6
	ldr	r0, [sp, #40]
	bl	xfs_trans_cancel
	b	.L1
.L44:
	mov	r7, r8
	b	.L14
.L45:
	mov	r7, r5
	b	.L14
.L25:
	add	r5, sp, #52
	mov	r3, r5
	mov	r2, r9
	mov	r0, r4
	ldr	r1, [sp, #40]
	bl	xfs_ialloc_read_agi
	cmp	r0, #0
	bne	.L50
	ldr	r0, [sp, #52]
	bl	ASSERT
	ldr	r0, [sp, #52]
	bl	XFS_BUF_TO_AGI
	ldr	r1, [sp, #20]
	mov	r6, r0
	add	r0, r0, #4
	bl	be32_add_cpu
	ldr	r3, [sp, #32]
	ldr	r2, [sp, #28]
	cmp	r3, r2
	moveq	r0, #1
	beq	.L28
	ldr	r0, [r6, #4]
	bl	be32_to_cpu
	ldr	r3, [r4, #12]
	sub	r0, r3, r0
	clz	r0, r0
	lsr	r0, r0, #5
.L28:
	bl	ASSERT
	ldr	r3, .L82+92
	ldr	r8, [sp, #40]
	ldr	r2, [r3]
	ldr	r1, [sp, #52]
	mov	r0, r8
	bl	xfs_ialloc_log_agi
	mov	r3, #0
	mov	r2, r9
	mov	r1, r8
	mov	r0, r4
	str	r5, [sp]
	bl	xfs_alloc_read_agf
	cmp	r0, #0
	bne	.L50
	ldr	r0, [sp, #52]
	bl	ASSERT
	ldr	r0, [sp, #52]
	bl	XFS_BUF_TO_AGF
	mov	r5, r0
	ldr	r10, [sp, #20]
	mov	r1, r10
	bl	be32_add_cpu
	ldr	r0, [r5]
	bl	be32_to_cpu
	mov	r3, r0
	ldr	r0, [r6, #4]
	mov	r6, r3
	bl	be32_to_cpu
	sub	r0, r6, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r3, .L82+96
	ldr	r1, [sp, #52]
	ldr	r2, [r3]
	mov	r0, r8
	bl	xfs_alloc_log_agf
	ldr	r0, [r5]
	bl	be32_to_cpu
	mov	r1, r9
	sub	r2, r0, r10
	mov	r0, r4
	bl	XFS_AGB_TO_FSB
	mov	r2, r10
	mov	r1, r0
	mov	r0, r8
	bl	xfs_free_extent
	cmp	r0, #0
	beq	.L29
.L50:
	mov	r7, r0
	b	.L14
.L38:
	mov	r3, r8
	mov	r0, r4
	ldr	r1, .L82+100
	mov	r7, r6
	bl	xfs_warn
	b	.L1
.L76:
	ldr	r1, [sp, #28]
	ldr	r3, .L82+104
	ldr	r2, [sp, #32]
	ldr	r0, [sp, #40]
	sub	r2, r2, r1
	ldr	r1, [r3]
	bl	xfs_trans_mod_sb
	b	.L27
.L78:
	ldr	r3, .L82+108
	mov	r2, r7
	ldr	r1, [r3]
	ldr	r0, [sp, #40]
	bl	xfs_trans_mod_sb
	b	.L31
.L77:
	ldr	r1, [sp, #8]
	ldr	r3, .L82+112
	sub	r2, r1, r2
	ldr	r0, [sp, #40]
	ldr	r1, [r3]
	bl	xfs_trans_mod_sb
	b	.L30
.L79:
	ldr	r3, .L82+116
	ldr	r0, [sp, #40]
	ldr	r1, [r3]
	bl	xfs_trans_mod_sb
	b	.L32
.L41:
	ldr	r9, [sp, #24]
	b	.L12
.L80:
	ldr	r5, [r4, #4]
	mov	r1, #100
	mul	r5, r3, r5
	mov	r0, r5
	bl	do_div
	ldr	r3, [r4, #20]
	lsl	r3, r5, r3
	str	r3, [r4, #36]
	b	.L35
.L72:
	bl	__stack_chk_fail
.L81:
	mov	r3, r8
	mov	r2, r6
	mov	r0, r4
	ldr	r1, .L82+120
	bl	xfs_warn
	b	.L1
.L83:
	.align	2
.L82:
	.word	.LC2
	.word	EINVAL
	.word	XFS_MIN_AG_BLOCKS
	.word	XFS_TRANS_GROWFS
	.word	XFS_TRANS_RESERVE
	.word	XBF_LOCK
	.word	XBF_MAPPED
	.word	XFS_AGF_MAGIC
	.word	XFS_BTNUM_BNOi
	.word	XFS_AGF_VERSION
	.word	XFS_BTNUM_CNTi
	.word	XFS_AGI_MAGIC
	.word	NULLAGINO
	.word	XFS_AGI_VERSION
	.word	XFS_AGI_UNLINKED_BUCKETS
	.word	XFS_ABTB_MAGIC
	.word	NULLAGBLOCK
	.word	XFS_ABTC_MAGIC
	.word	XFS_IBT_MAGIC
	.word	XFS_SB_ALL_BITS
	.word	EIO
	.word	ENOMEM
	.word	XFS_TRANS_ABORT
	.word	XFS_AGI_LENGTH
	.word	XFS_AGF_LENGTH
	.word	.LC1
	.word	XFS_TRANS_SB_AGCOUNT
	.word	XFS_TRANS_SB_FDBLOCKS
	.word	XFS_TRANS_SB_DBLOCKS
	.word	XFS_TRANS_SB_IMAXPCT
	.word	.LC0
	.size	xfs_growfs_data_private, .-xfs_growfs_data_private
	.comm	XFS_TRANS_SB_IMAXPCT,4,4
	.comm	XFS_TRANS_SB_FDBLOCKS,4,4
	.comm	XFS_TRANS_SB_DBLOCKS,4,4
	.comm	XFS_TRANS_SB_AGCOUNT,4,4
	.comm	XFS_TRANS_RESERVE,4,4
	.comm	XFS_TRANS_GROWFS,4,4
	.comm	XFS_TRANS_ABORT,4,4
	.comm	XFS_SB_ALL_BITS,4,4
	.comm	XFS_MIN_AG_BLOCKS,4,4
	.comm	XFS_IBT_MAGIC,4,4
	.comm	XFS_BTNUM_CNTi,4,4
	.comm	XFS_BTNUM_BNOi,4,4
	.comm	XFS_AGI_VERSION,4,4
	.comm	XFS_AGI_UNLINKED_BUCKETS,4,4
	.comm	XFS_AGI_MAGIC,4,4
	.comm	XFS_AGI_LENGTH,4,4
	.comm	XFS_AGF_VERSION,4,4
	.comm	XFS_AGF_MAGIC,4,4
	.comm	XFS_AGF_LENGTH,4,4
	.comm	XFS_ABTC_MAGIC,4,4
	.comm	XFS_ABTB_MAGIC,4,4
	.comm	XBF_MAPPED,4,4
	.comm	XBF_LOCK,4,4
	.comm	NULLAGINO,4,4
	.comm	NULLAGBLOCK,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
