	.file	"extr_ixgbe_mbx.c_ixgbe_check_for_rst_pf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ixgbe_check_for_rst_pf, @function
ixgbe_check_for_rst_pf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	eax, esi
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	esi, 31
	setg	r13b
	sar	eax, 31
	shr	eax, 27
	lea	ebp, [rsi+rax]
	and	ebp, 31
	sub	ebp, eax
	mov	eax, DWORD PTR 4[rdi]
	cmp	eax, 131
	jle	.L13
	cmp	eax, 132
	jne	.L4
	mov	edi, r13d
	call	IXGBE_VFLRE@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	mov	r12d, eax
.L5:
	mov	edi, ebp
	call	BIT@PLT
	test	eax, r12d
	je	.L6
	mov	edi, ebp
	call	BIT@PLT
	mov	edi, r13d
	mov	r12d, eax
	call	IXGBE_VFLREC@PLT
	mov	edx, r12d
	mov	rdi, rbx
	mov	esi, eax
	call	IXGBE_WRITE_REG@PLT
	add	DWORD PTR [rbx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	cmp	eax, 127
	jg	.L14
.L4:
	mov	edi, ebp
	call	BIT@PLT
.L6:
	mov	eax, DWORD PTR IXGBE_ERR_MBX[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	edi, r13d
	call	IXGBE_VFLREC@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	IXGBE_READ_REG@PLT
	mov	r12d, eax
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	ixgbe_check_for_rst_pf, .-ixgbe_check_for_rst_pf
	.comm	IXGBE_ERR_MBX,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_ixgbe_mbx.c_ixgbe_check_for_rst_pf.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ixgbe_check_for_rst_pf, %function
ixgbe_check_for_rst_pf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #31
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, [r0, #4]
	movle	r7, #0
	movgt	r7, #1
	rsbs	r2, r1, #0
	and	r2, r2, #31
	and	r4, r1, #31
	rsbpl	r4, r2, #0
	cmp	r3, #131
	mov	r5, r0
	ble	.L13
	cmp	r3, #132
	bne	.L4
	mov	r0, r7
	bl	IXGBE_VFLRE
	mov	r1, r0
	mov	r0, r5
	bl	IXGBE_READ_REG
	mov	r6, r0
.L5:
	mov	r0, r4
	bl	BIT
	tst	r0, r6
	beq	.L6
	mov	r0, r7
	bl	IXGBE_VFLREC
	mov	r1, r0
	mov	r0, r4
	mov	r4, r1
	bl	BIT
	mov	r1, r4
	mov	r2, r0
	mov	r0, r5
	bl	IXGBE_WRITE_REG
	ldr	r3, [r5]
	mov	r0, #0
	add	r3, r3, #1
	str	r3, [r5]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	cmp	r3, #127
	bgt	.L14
.L4:
	mov	r0, r4
	bl	BIT
.L6:
	ldr	r3, .L15
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, pc}
.L14:
	mov	r0, r7
	bl	IXGBE_VFLREC
	mov	r1, r0
	mov	r0, r5
	bl	IXGBE_READ_REG
	mov	r6, r0
	b	.L5
.L16:
	.align	2
.L15:
	.word	IXGBE_ERR_MBX
	.size	ixgbe_check_for_rst_pf, .-ixgbe_check_for_rst_pf
	.comm	IXGBE_ERR_MBX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
