	.file	"extr_suballoc.c_ocfs2_validate_gd_self.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Group descriptor #%llu has bad signature %.*s"
	.align 8
.LC1:
	.string	"Group descriptor #%llu has an invalid bg_blkno of %llu"
	.align 8
.LC2:
	.string	"Group descriptor #%llu has an invalid fs_generation of #%u"
	.align 8
.LC3:
	.string	"Group descriptor #%llu has bit count %u but claims that %u are free"
	.align 8
.LC4:
	.string	"Group descriptor #%llu has bit count %u but max bitmap bits of %u"
	.text
	.p2align 4
	.type	ocfs2_validate_gd_self, @function
ocfs2_validate_gd_self:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR 8[rsi]
	mov	rdi, rbp
	call	OCFS2_IS_VALID_GROUP_DESC@PLT
	test	eax, eax
	je	.L10
	mov	edi, DWORD PTR 20[rbp]
	call	le64_to_cpu@PLT
	cmp	rax, QWORD PTR [rbx]
	je	.L4
	mov	edi, DWORD PTR 20[rbp]
	call	le64_to_cpu@PLT
	mov	rsi, QWORD PTR [rbx]
	lea	rdi, .LC1[rip]
	mov	rdx, rax
	xor	eax, eax
	call	do_error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbp]
	call	le32_to_cpu@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	OCFS2_SB@PLT
	cmp	r13d, DWORD PTR [rax]
	jne	.L11
	mov	edi, DWORD PTR 12[rbp]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	cmp	r12d, eax
	jg	.L12
	mov	edi, DWORD PTR 8[rbp]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 4[rbp]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	lea	edx, 0[0+rax*8]
	xor	eax, eax
	cmp	r12d, edx
	jle	.L1
	mov	edi, DWORD PTR 4[rbp]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	mov	rsi, QWORD PTR [rbx]
	lea	ecx, 0[0+r12*8]
	lea	rdi, .LC4[rip]
	mov	edx, eax
	xor	eax, eax
	call	do_error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ecx, DWORD PTR 0[rbp]
	mov	rsi, QWORD PTR [rbx]
	mov	edx, 7
	lea	rdi, .LC0[rip]
	call	do_error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	edi, DWORD PTR 16[rbp]
	call	le32_to_cpu@PLT
	mov	rsi, QWORD PTR [rbx]
	lea	rdi, .LC2[rip]
	mov	edx, eax
	xor	eax, eax
	call	do_error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	mov	edi, DWORD PTR 12[rbp]
	call	le16_to_cpu@PLT
	mov	edi, DWORD PTR 8[rbp]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	ecx, r12d
	lea	rdi, .LC3[rip]
	mov	edx, eax
	xor	eax, eax
	call	do_error@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	neg	eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ocfs2_validate_gd_self, .-ocfs2_validate_gd_self
	.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_suballoc.c_ocfs2_validate_gd_self.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Group descriptor #%llu has bad signature %.*s\000"
	.align	2
.LC1:
	.ascii	"Group descriptor #%llu has an invalid bg_blkno of %"
	.ascii	"llu\000"
	.align	2
.LC2:
	.ascii	"Group descriptor #%llu has an invalid fs_generation"
	.ascii	" of #%u\000"
	.align	2
.LC3:
	.ascii	"Group descriptor #%llu has bit count %u but claims "
	.ascii	"that %u are free\000"
	.align	2
.LC4:
	.ascii	"Group descriptor #%llu has bit count %u but max bit"
	.ascii	"map bits of %u\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_validate_gd_self, %function
ocfs2_validate_gd_self:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r5, [r1, #4]
	mov	r6, r0
	sub	sp, sp, #12
	mov	r0, r5
	mov	r4, r1
	bl	OCFS2_IS_VALID_GROUP_DESC
	cmp	r0, #0
	beq	.L10
	ldr	r0, [r5, #20]
	bl	le64_to_cpu
	ldr	r7, [r4]
	cmp	r0, r7
	beq	.L4
	ldr	r0, [r5, #20]
	bl	le64_to_cpu
	asr	r3, r7, #31
	str	r0, [sp]
	mov	r2, r7
	ldr	r0, .L13
	bl	do_error
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L4:
	ldr	r0, [r5, #16]
	bl	le32_to_cpu
	mov	r3, r0
	mov	r0, r6
	mov	r6, r3
	bl	OCFS2_SB
	ldr	r3, [r0]
	cmp	r6, r3
	bne	.L11
	ldr	r0, [r5, #12]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r0, [r5, #8]
	bl	le16_to_cpu
	cmp	r6, r0
	bgt	.L12
	ldr	r0, [r5, #8]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r0, [r5, #4]
	bl	le16_to_cpu
	cmp	r6, r0, lsl #3
	movle	r0, #0
	ble	.L1
	ldr	r0, [r5, #8]
	ldr	r6, [r4]
	bl	le16_to_cpu
	mov	r4, r0
	ldr	r0, [r5, #4]
	bl	le16_to_cpu
	asr	r7, r6, #31
	lsl	r1, r0, #3
	mov	r3, r7
	mov	r2, r6
	ldr	r0, .L13+8
	str	r4, [sp]
	str	r1, [sp, #4]
	bl	do_error
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L10:
	mov	r1, #7
	ldr	r2, [r4]
	ldr	r0, [r5]
	asr	r3, r2, #31
	str	r0, [sp, #4]
	str	r1, [sp]
	ldr	r0, .L13+12
	bl	do_error
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	ldr	r0, [r5, #16]
	ldr	r4, [r4]
	bl	le32_to_cpu
	asr	r5, r4, #31
	mov	r3, r5
	str	r0, [sp]
	mov	r2, r4
	ldr	r0, .L13+16
	bl	do_error
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L12:
	ldr	r0, [r5, #8]
	ldr	r6, [r4]
	bl	le16_to_cpu
	mov	r4, r0
	ldr	r0, [r5, #12]
	bl	le16_to_cpu
	asr	r7, r6, #31
	mov	r3, r7
	str	r0, [sp, #4]
	mov	r2, r6
	ldr	r0, .L13+20
	str	r4, [sp]
	bl	do_error
	ldr	r3, .L13+4
	ldr	r0, [r3]
	rsb	r0, r0, #0
	b	.L1
.L14:
	.align	2
.L13:
	.word	.LC1
	.word	EINVAL
	.word	.LC4
	.word	.LC0
	.word	.LC2
	.word	.LC3
	.size	ocfs2_validate_gd_self, .-ocfs2_validate_gd_self
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
