	.file	"extr_qlcnic_sriov_pf.c_qlcnic_sriov_soft_flr_check.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	qlcnic_sriov_soft_flr_check
	.type	qlcnic_sriov_soft_flr_check, @function
qlcnic_sriov_soft_flr_check:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rsi]
	mov	rcx, QWORD PTR QLCNIC_BC_CMD_CHANNEL_INIT[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L2
.L9:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rcx, QWORD PTR QLC_BC_CMD[rip]
	cmp	QWORD PTR 8[rax], rcx
	jne	.L9
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	mov	rsi, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR QLC_BC_VF_STATE[rip]
	mov	QWORD PTR 8[rsp], rdx
	call	test_bit@PLT
	mov	rdx, QWORD PTR 8[rsp]
	test	rax, rax
	jne	.L13
	xor	eax, eax
.L1:
	add	rsp, 24
	.cfi_remember_state
	.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
.L13:
	.cfi_restore_state
	mov	rsi, rbp
	mov	rdi, r12
	call	qlcnic_sriov_handle_soft_flr@PLT
	mov	eax, 1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	qlcnic_sriov_soft_flr_check, .-qlcnic_sriov_soft_flr_check
	.comm	QLC_BC_VF_STATE,4,4
	.comm	QLC_BC_CMD,8,8
	.comm	QLCNIC_BC_CMD_CHANNEL_INIT,8,8
	.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_sriov_pf.c_qlcnic_sriov_soft_flr_check.c"
	.text
	.align	2
	.global	qlcnic_sriov_soft_flr_check
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlcnic_sriov_soft_flr_check, %function
qlcnic_sriov_soft_flr_check:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r3, [r1]
	mov	r4, r1
	ldr	r1, .L10
	ldr	ip, [r3]
	ldr	r1, [r1]
	sub	sp, sp, #12
	cmp	ip, r1
	beq	.L2
.L4:
	mov	r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L2:
	mov	r5, r0
	ldr	r0, .L10+4
	ldr	r1, [r3, #4]
	ldr	r3, [r0]
	cmp	r1, r3
	bne	.L4
	ldr	r3, .L10+8
	mov	r1, r2
	ldr	r0, [r3]
	str	r2, [sp, #4]
	bl	test_bit
	cmp	r0, #0
	ldr	r2, [sp, #4]
	beq	.L4
	mov	r1, r4
	mov	r0, r5
	bl	qlcnic_sriov_handle_soft_flr
	mov	r0, #1
	b	.L1
.L11:
	.align	2
.L10:
	.word	QLCNIC_BC_CMD_CHANNEL_INIT
	.word	QLC_BC_CMD
	.word	QLC_BC_VF_STATE
	.size	qlcnic_sriov_soft_flr_check, .-qlcnic_sriov_soft_flr_check
	.comm	QLC_BC_VF_STATE,4,4
	.comm	QLC_BC_CMD,4,4
	.comm	QLCNIC_BC_CMD_CHANNEL_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
