	.file	"extr_Mke2fs.c_Ext2TotalBlocks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	Ext2TotalBlocks
	.type	Ext2TotalBlocks, @function
Ext2TotalBlocks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	r10d, DWORD PTR EXT2_NDIR_BLOCKS[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	movabs	rax, 4294967297
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR [rsp], rax
	mov	QWORD PTR 8[rsp], rax
	mov	eax, esi
	mov	QWORD PTR 24[rsp], 0
	cmp	r10d, esi
	jge	.L1
	mov	eax, DWORD PTR BLOCK_BITS[rip]
	xor	edi, edi
	mov	edx, 1
	mov	r9, rsp
	mov	ecx, edi
	sub	esi, r10d
	lea	r11, 16[rsp]
	lea	r8d, -2[rax]
	sal	edx, cl
	xor	eax, eax
	mov	DWORD PTR [r9+rax*4], edx
	test	rax, rax
	je	.L5
.L3:
	mov	edx, DWORD PTR -4[r11+rax*4]
	mov	ecx, r8d
	sal	edx, cl
	add	edx, 1
	mov	DWORD PTR [r11+rax*4], edx
	cmp	eax, 3
	je	.L23
.L5:
	mov	edx, DWORD PTR 4[r9+rax*4]
	add	edi, r8d
	add	rax, 1
	mov	ecx, edi
	sal	edx, cl
	mov	DWORD PTR [r9+rax*4], edx
	test	rax, rax
	jne	.L3
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L25:
	test	esi, esi
	jg	.L7
.L8:
	lea	eax, [r10+rdi]
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L24
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	ebx, 1
	xor	edi, edi
.L11:
	mov	eax, DWORD PTR [r9+rbx*4]
	mov	ebp, ebx
	cmp	eax, esi
	jg	.L25
	sub	esi, eax
	add	eax, DWORD PTR [r11+rbx*4]
	add	edi, eax
	test	esi, esi
	setg	al
.L9:
	add	ebp, 1
	add	rbx, 1
	cmp	ebp, 3
	jg	.L8
	test	al, al
	jne	.L11
	lea	eax, [r10+rdi]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	lea	r8, -1[rbx]
.L10:
	mov	ecx, DWORD PTR [r9+r8*4]
	mov	eax, esi
	cdq
	idiv	ecx
	add	ecx, DWORD PTR [r11+r8*4]
	imul	ecx, eax
	test	edx, edx
	mov	esi, edx
	setg	al
	test	r8d, r8d
	setg	dl
	sub	r8, 1
	lea	edi, 1[rdi+rcx]
	test	dl, al
	jne	.L10
	jmp	.L9
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	Ext2TotalBlocks, .-Ext2TotalBlocks
	.comm	EXT2_NDIR_BLOCKS,4,4
	.comm	BLOCK_BITS,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_Mke2fs.c_Ext2TotalBlocks.c"
	.text
	.global	__aeabi_idivmod
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Ext2TotalBlocks
	.syntax unified
	.arm
	.fpu softvfp
	.type	Ext2TotalBlocks, %function
Ext2TotalBlocks:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	lr, #0
	mov	r4, r1
	ldr	r2, .L21
	sub	sp, sp, #52
	ldr	r5, [r2]
	ldr	r3, .L21+4
	ldr	r2, .L21+8
	cmp	r5, r1
	str	r5, [sp, #4]
	add	ip, sp, #12
	ldr	r2, [r2]
	str	r2, [sp, #44]
	mov	r2,#0
	ldm	r3, {r0, r1, r2, r3}
	str	lr, [sp, #28]
	stm	ip, {r0, r1, r2, r3}
	str	lr, [sp, #32]
	movge	r0, r4
	str	lr, [sp, #36]
	str	lr, [sp, #40]
	bge	.L1
	mov	r0, lr
	ldr	r2, .L21+12
	sub	r1, r4, r5
	ldr	r4, [r2]
	mov	r3, ip
	sub	r4, r4, #2
	add	ip, sp, #24
.L4:
	ldr	r2, [r3]
	cmp	r0, #0
	lsl	r2, r2, lr
	str	r2, [r3], #4
	beq	.L5
	ldr	r2, [ip]
	cmp	r0, #3
	lsl	r2, r2, r4
	add	r2, r2, #1
	str	r2, [ip, #4]
	beq	.L18
.L5:
	add	r0, r0, #1
	add	lr, lr, r4
	add	ip, ip, #4
	b	.L4
.L18:
	mov	fp, #1
	mov	r4, #0
	add	r6, sp, #28
	add	r7, sp, #16
.L11:
	ldr	r3, [r7]
	mov	r8, r7
	cmp	r3, r1
	add	r7, r7, #4
	bgt	.L19
	ldr	r2, [r6, #4]
	sub	r1, r1, r3
	cmp	r1, #0
	add	r3, r3, r2
	movle	r2, #0
	movgt	r2, #1
	add	r4, r4, r3
.L9:
	add	fp, fp, #1
	cmp	fp, #3
	movgt	r2, #0
	andle	r2, r2, #1
	cmp	r2, #0
	add	r6, r6, #4
	bne	.L11
.L8:
	ldr	r3, [sp, #4]
	add	r0, r3, r4
.L1:
	ldr	r3, .L21+8
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L19:
	cmp	r1, #0
	ble	.L8
	mov	r9, r6
	mov	r10, fp
	sub	r8, r8, #4
.L10:
	ldr	r5, [r8], #-4
	mov	r0, r1
	mov	r1, r5
	bl	__aeabi_idivmod
	sub	r10, r10, #1
	cmp	r1, #0
	movle	r2, #0
	movgt	r2, #1
	cmp	r10, #0
	cmpgt	r1, #0
	ldr	ip, [r9], #-4
	add	r5, r5, ip
	mla	r4, r0, r5, r4
	add	r4, r4, #1
	bgt	.L10
	b	.L9
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	EXT2_NDIR_BLOCKS
	.word	.LANCHOR0
	.word	.LC1
	.word	BLOCK_BITS
	.size	Ext2TotalBlocks, .-Ext2TotalBlocks
	.comm	EXT2_NDIR_BLOCKS,4,4
	.comm	BLOCK_BITS,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.word	1
	.word	1
	.word	1
	.word	1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
