	.file	"extr_qlcnic_sysfs.c_validate_pm_config.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	validate_pm_config, @function
validate_pm_config:
.LFB0:
	.cfi_startproc
	endbr64
	test	edx, edx
	jle	.L10
	lea	eax, -1[rdx]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	sal	rax, 4
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	lea	rbp, 16[rsi+rax]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rsi, r14
	mov	rdi, r13
	call	qlcnic_is_valid_nic_func@PLT
	test	eax, eax
	js	.L6
	mov	rdx, QWORD PTR 0[r13]
	cdqe
	mov	rax, QWORD PTR [rdx+rax*8]
	cmp	QWORD PTR [rdx+rbx*8], rax
	jne	.L6
	add	r12, 16
	cmp	r12, rbp
	je	.L15
.L7:
	mov	rsi, QWORD PTR [r12]
	mov	rdi, r13
	mov	r14, QWORD PTR 8[r12]
	call	qlcnic_is_valid_nic_func@PLT
	movsx	rbx, eax
	test	ebx, ebx
	jns	.L3
.L6:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR QL_STATUS_INVALID_PARAM[rip]
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L10:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	validate_pm_config, .-validate_pm_config
	.comm	QL_STATUS_INVALID_PARAM,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_qlcnic_sysfs.c_validate_pm_config.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_pm_config, %function
validate_pm_config:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	subs	r8, r2, #0
	ble	.L2
	mov	r6, r0
	mov	r7, #0
	add	r5, r1, #4
	b	.L7
.L3:
	mov	r1, r9
	mov	r0, r6
	bl	qlcnic_is_valid_nic_func
	cmp	r0, #0
	blt	.L6
	ldr	r3, [r6]
	ldr	r2, [r3, r4, lsl #2]
	ldr	r3, [r3, r0, lsl #2]
	cmp	r2, r3
	bne	.L6
	cmp	r8, r7
	add	r5, r5, #8
	beq	.L2
.L7:
	mov	r0, r6
	ldr	r1, [r5, #-4]
	ldr	r9, [r5]
	bl	qlcnic_is_valid_nic_func
	subs	r4, r0, #0
	add	r7, r7, #1
	bge	.L3
.L6:
	ldr	r3, .L11
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L12:
	.align	2
.L11:
	.word	QL_STATUS_INVALID_PARAM
	.size	validate_pm_config, .-validate_pm_config
	.comm	QL_STATUS_INVALID_PARAM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
