	.file	"extr_mrsas_fp.c_MR_ValidateMapInfo.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"map size %x not matching ld count\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"span map= %x\n"
.LC2:
	.string	"pDrvRaidMap->totalSize=%x\n"
	.text
	.p2align 4
	.globl	MR_ValidateMapInfo
	.type	MR_ValidateMapInfo, @function
MR_ValidateMapInfo:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, 1
	test	rdi, rdi
	je	.L12
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	MR_PopulateDrvRaidMap@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L1
	mov	eax, DWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 48[rbp]
	and	eax, 1
	cmp	QWORD PTR 32[rbp], 0
	mov	r12, QWORD PTR [rdx+rax*8]
	mov	edx, 8
	jne	.L3
	cmp	QWORD PTR 24[rbp], 0
	mov	edx, 4
	je	.L16
.L3:
	cmp	DWORD PTR 4[r12], edx
	jne	.L17
.L4:
	cmp	QWORD PTR 8[rbp], 0
	jne	.L18
.L5:
	mov	edx, DWORD PTR 4[rbp]
	mov	rsi, r12
	mov	rdi, rbp
	call	mrsas_update_load_balance_params@PLT
	xor	eax, eax
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore 6
	.cfi_restore 12
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	mov	eax, DWORD PTR [r12]
	lea	edx, 0[0+rax*4]
	cmp	DWORD PTR 4[r12], edx
	je	.L4
.L17:
	mov	edi, DWORD PTR 16[rbp]
	lea	rsi, .LC0[rip]
	call	device_printf@PLT
	mov	edi, DWORD PTR 16[rbp]
	mov	edx, 4
	lea	rsi, .LC1[rip]
	call	device_printf@PLT
	mov	edx, DWORD PTR 4[r12]
	mov	edi, DWORD PTR 16[rbp]
	lea	rsi, .LC2[rip]
	call	device_printf@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	lea	rsi, 40[rbp]
	mov	rdi, r12
	call	mr_update_span_set@PLT
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	MR_ValidateMapInfo, .-MR_ValidateMapInfo
	.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_mrsas_fp.c_MR_ValidateMapInfo.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"map size %x not matching ld count\012\000"
	.align	2
.LC1:
	.ascii	"span map= %x\012\000"
	.align	2
.LC2:
	.ascii	"pDrvRaidMap->totalSize=%x\012\000"
	.text
	.align	2
	.global	MR_ValidateMapInfo
	.syntax unified
	.arm
	.fpu softvfp
	.type	MR_ValidateMapInfo, %function
MR_ValidateMapInfo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	moveq	r5, #1
	beq	.L1
	bl	MR_PopulateDrvRaidMap
	subs	r5, r0, #0
	movne	r5, #0
	bne	.L1
	ldr	r3, [r4]
	ldr	r1, [r4, #20]
	ldr	r2, [r4, #28]
	and	r3, r3, #1
	cmp	r1, #0
	ldr	r6, [r2, r3, lsl #2]
	movne	r2, #8
	bne	.L3
	ldr	r3, [r4, #16]
	cmp	r3, #0
	movne	r2, #4
	ldreq	r2, [r6]
	lsleq	r2, r2, #2
.L3:
	ldr	r3, [r6, #4]
	cmp	r3, r2
	bne	.L15
	ldr	r3, [r4, #8]
	cmp	r3, #0
	bne	.L16
.L5:
	mov	r1, r6
	mov	r0, r4
	ldr	r2, [r4, #4]
	bl	mrsas_update_load_balance_params
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L15:
	mov	r5, #1
	ldr	r1, .L17
	ldr	r0, [r4, #12]
	bl	device_printf
	mov	r2, #4
	ldr	r1, .L17+4
	ldr	r0, [r4, #12]
	bl	device_printf
	ldr	r2, [r6, #4]
	ldr	r0, [r4, #12]
	ldr	r1, .L17+8
	bl	device_printf
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L16:
	mov	r0, r6
	add	r1, r4, #24
	bl	mr_update_span_set
	b	.L5
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	MR_ValidateMapInfo, .-MR_ValidateMapInfo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
