	.file	"extr_balloc.c_ext4_get_group_desc.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"block_group >= groups_count - block_group = %u, groups_count = %u"
	.align 8
.LC1:
	.string	"Group descriptor not loaded - block_group = %u, group_desc = %u, desc = %u"
	.text
	.p2align 4
	.globl	ext4_get_group_desc
	.type	ext4_get_group_desc, @function
ext4_get_group_desc:
.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
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	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, 24
	.cfi_def_cfa_offset 80
	call	ext4_get_groups_count@PLT
	mov	rdi, rbp
	mov	r15d, eax
	call	EXT4_SB@PLT
	cmp	r15d, r12d
	jle	.L10
	mov	rdi, rbp
	mov	r13, rax
	mov	r15d, r12d
	call	EXT4_DESC_PER_BLOCK_BITS@PLT
	mov	rdi, rbp
	mov	ecx, eax
	sar	r15d, cl
	mov	DWORD PTR 4[rsp], r15d
	call	EXT4_DESC_PER_BLOCK@PLT
	lea	ebx, -1[rax]
	mov	rax, QWORD PTR 0[r13]
	and	ebx, r12d
	mov	r9, QWORD PTR [rax+r15*8]
	test	r9, r9
	je	.L11
	mov	rdi, rbp
	call	EXT4_DESC_SIZE@PLT
	mov	rcx, QWORD PTR 0[r13]
	imul	ebx, eax
	mov	rdx, QWORD PTR [rcx+r15*8]
	mov	rax, QWORD PTR [rdx]
	lea	r9, [rax+rbx*4]
	test	r14, r14
	je	.L1
	mov	QWORD PTR [r14], rdx
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r9
	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
.L10:
	.cfi_restore_state
	mov	ecx, r15d
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	ext4_error@PLT
	xor	r9d, r9d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	ecx, DWORD PTR 4[rsp]
	mov	r8d, ebx
	mov	edx, r12d
	mov	rdi, rbp
	lea	rsi, .LC1[rip]
	xor	eax, eax
	mov	QWORD PTR 8[rsp], r9
	call	ext4_error@PLT
	mov	r9, QWORD PTR 8[rsp]
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ext4_get_group_desc, .-ext4_get_group_desc
	.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_balloc.c_ext4_get_group_desc.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"block_group >= groups_count - block_group = %u, gro"
	.ascii	"ups_count = %u\000"
	.align	2
.LC1:
	.ascii	"Group descriptor not loaded - block_group = %u, gro"
	.ascii	"up_desc = %u, desc = %u\000"
	.text
	.align	2
	.global	ext4_get_group_desc
	.syntax unified
	.arm
	.fpu softvfp
	.type	ext4_get_group_desc, %function
ext4_get_group_desc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #8
	mov	r5, r1
	mov	r8, r2
	mov	r4, r0
	bl	ext4_get_groups_count
	mov	r6, r0
	mov	r0, r4
	bl	EXT4_SB
	cmp	r6, r5
	ble	.L10
	mov	r10, r0
	mov	r0, r4
	bl	EXT4_DESC_PER_BLOCK_BITS
	mov	r9, r0
	mov	r0, r4
	bl	EXT4_DESC_PER_BLOCK
	ldr	r2, [r10]
	asr	r9, r5, r9
	ldr	r6, [r2, r9, lsl #2]
	sub	r3, r0, #1
	cmp	r6, #0
	and	r7, r3, r5
	beq	.L11
	mov	r0, r4
	bl	EXT4_DESC_SIZE
	ldr	r2, [r10]
	mul	r3, r7, r0
	ldr	r2, [r2, r9, lsl #2]
	cmp	r8, #0
	ldr	r6, [r2]
	strne	r2, [r8]
	add	r6, r6, r3, lsl #2
.L1:
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r3, r6
	mov	r6, #0
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L12
	bl	ext4_error
	mov	r0, r6
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	mov	r3, r9
	mov	r2, r5
	mov	r0, r4
	ldr	r1, .L12+4
	str	r7, [sp]
	bl	ext4_error
	b	.L1
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.size	ext4_get_group_desc, .-ext4_get_group_desc
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
