	.file	"extr_resize.c_ocfs2_calc_new_backup_super.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ocfs2_calc_new_backup_super, @function
ocfs2_calc_new_backup_super:
.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, rsi
	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
	mov	rbx, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edi, DWORD PTR 8[rsi]
	mov	DWORD PTR 8[rsp], edx
	mov	DWORD PTR 4[rsp], ecx
	mov	DWORD PTR 12[rsp], r8d
	call	le64_to_cpu@PLT
	mov	edx, DWORD PTR OCFS2_MAX_BACKUP_SUPERBLOCKS[rip]
	test	edx, edx
	jle	.L7
	mov	rbp, rax
	xor	r12d, r12d
	xor	r15d, r15d
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	call	ocfs2_set_bit@PLT
.L5:
	add	r12d, 1
.L3:
	add	r15d, 1
	cmp	DWORD PTR OCFS2_MAX_BACKUP_SUPERBLOCKS[rip], r15d
	jle	.L1
.L6:
	mov	edi, DWORD PTR [rbx]
	mov	esi, r15d
	call	ocfs2_backup_super_blkno@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rax
	call	ocfs2_blocks_to_clusters@PLT
	mov	rdi, rbx
	mov	esi, eax
	mov	r13d, eax
	call	ocfs2_which_cluster_group@PLT
	cmp	rbp, rax
	jg	.L3
	jl	.L1
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	call	ocfs2_blocks_to_clusters@PLT
	add	eax, DWORD PTR 4[rsp]
	cmp	r13d, eax
	jle	.L3
	mov	eax, r13d
	mov	rsi, QWORD PTR [r14]
	cdq
	idiv	DWORD PTR 8[rsp]
	mov	eax, DWORD PTR 12[rsp]
	mov	edi, edx
	test	eax, eax
	jne	.L11
	call	ocfs2_clear_bit@PLT
	jmp	.L5
.L7:
	xor	r12d, r12d
.L1:
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	ocfs2_calc_new_backup_super, .-ocfs2_calc_new_backup_super
	.comm	OCFS2_MAX_BACKUP_SUPERBLOCKS,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_resize.c_ocfs2_calc_new_backup_super.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ocfs2_calc_new_backup_super, %function
ocfs2_calc_new_backup_super:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, .L12
	sub	sp, sp, #12
	mov	r5, r0
	ldr	r0, [r1, #4]
	mov	r9, r3
	mov	fp, r2
	str	r1, [sp, #4]
	bl	le64_to_cpu
	ldr	r3, [r7]
	cmp	r3, #0
	ble	.L7
	mov	r8, #0
	mov	r6, r0
	mov	r4, r8
	b	.L6
.L11:
	bl	ocfs2_set_bit
.L5:
	add	r8, r8, #1
.L3:
	ldr	r3, [r7]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L1
.L6:
	mov	r1, r4
	ldr	r0, [r5]
	bl	ocfs2_backup_super_blkno
	mov	r1, r0
	ldr	r0, [r5]
	bl	ocfs2_blocks_to_clusters
	mov	r10, r0
	mov	r0, r5
	mov	r1, r10
	bl	ocfs2_which_cluster_group
	cmp	r6, r0
	bgt	.L3
	blt	.L1
	mov	r1, r6
	ldr	r0, [r5]
	bl	ocfs2_blocks_to_clusters
	add	r0, r0, r9
	cmp	r10, r0
	ble	.L3
	mov	r0, r10
	mov	r1, fp
	bl	__aeabi_idivmod
	ldr	r3, [sp, #48]
	mov	r0, r1
	cmp	r3, #0
	ldr	r3, [sp, #4]
	ldr	r1, [r3]
	bne	.L11
	bl	ocfs2_clear_bit
	b	.L5
.L7:
	mov	r8, #0
.L1:
	mov	r0, r8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
	.align	2
.L12:
	.word	OCFS2_MAX_BACKUP_SUPERBLOCKS
	.size	ocfs2_calc_new_backup_super, .-ocfs2_calc_new_backup_super
	.comm	OCFS2_MAX_BACKUP_SUPERBLOCKS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
