	.file	"extr_bnx2x_sriov.c_bnx2x_sample_bulletin.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bad crc on bulletin board. Contained %x computed %x\n"
	.align 8
.LC1:
	.string	"pf to vf bulletin board crc was wrong %d consecutive times. Aborting\n"
	.align 8
.LC2:
	.string	"link update speed %d flags %x\n"
	.text
	.p2align 4
	.globl	bnx2x_sample_bulletin
	.type	bnx2x_sample_bulletin, @function
bnx2x_sample_bulletin:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR BULLETIN_ATTEMPTS[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	test	eax, eax
	jle	.L16
	mov	r14, rdi
	lea	rbx, 80[rdi]
	lea	r12, 96[rdi]
	xor	ebp, ebp
	lea	r13, .LC0[rip]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L39:
	xor	eax, eax
	mov	rdi, r13
	add	ebp, 1
	call	BNX2X_ERR@PLT
	cmp	DWORD PTR BULLETIN_ATTEMPTS[rip], ebp
	jle	.L15
.L4:
	mov	rsi, QWORD PTR 136[r14]
	mov	edx, 4
	mov	rdi, rbx
	call	memcpy@PLT
	mov	rdi, r12
	call	bnx2x_crc_vf_bulletin@PLT
	mov	rsi, QWORD PTR 96[r14]
	mov	rdx, rax
	cmp	rsi, rax
	jne	.L39
	cmp	DWORD PTR BULLETIN_ATTEMPTS[rip], ebp
	jle	.L15
	mov	rax, QWORD PTR 104[r14]
	cmp	QWORD PTR [r14], rax
	je	.L40
	mov	eax, DWORD PTR 112[r14]
	mov	edx, DWORD PTR MAC_ADDR_VALID[rip]
	bt	eax, edx
	jc	.L41
	mov	edx, DWORD PTR LINK_VALID[rip]
	bt	eax, edx
	jc	.L42
.L10:
	mov	rsi, r12
	mov	rdi, r14
	mov	edx, 40
	call	memcpy@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR PFVF_BULLETIN_UPDATED[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
.L42:
	.cfi_restore_state
	mov	ecx, DWORD PTR 116[r14]
	mov	edx, DWORD PTR 120[r14]
	lea	rsi, .LC2[rip]
	mov	edi, DWORD PTR BNX2X_MSG_IOV[rip]
	call	DP@PLT
	mov	eax, DWORD PTR 120[r14]
	mov	QWORD PTR 56[r14], 0
	mov	DWORD PTR 64[r14], eax
	mov	eax, DWORD PTR 116[r14]
	test	DWORD PTR VFPF_LINK_REPORT_LINK_DOWN[rip], eax
	jne	.L43
.L11:
	test	DWORD PTR VFPF_LINK_REPORT_FULL_DUPLEX[rip], eax
	jne	.L44
.L12:
	test	DWORD PTR VFPF_LINK_REPORT_RX_FC_ON[rip], eax
	jne	.L45
.L13:
	test	DWORD PTR VFPF_LINK_REPORT_TX_FC_ON[rip], eax
	jne	.L46
.L14:
	mov	rdi, r14
	call	__bnx2x_link_report@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L41:
	mov	esi, DWORD PTR 8[r14]
	mov	rdi, QWORD PTR 128[r14]
	call	ether_addr_equal@PLT
	test	eax, eax
	je	.L9
.L37:
	mov	eax, DWORD PTR 112[r14]
	mov	edx, DWORD PTR LINK_VALID[rip]
	bt	eax, edx
	jnc	.L10
	jmp	.L42
.L16:
	xor	ebp, ebp
.L15:
	mov	esi, ebp
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	BNX2X_ERR@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR PFVF_BULLETIN_CRC_ERR[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
.L46:
	.cfi_restore_state
	mov	edi, DWORD PTR BNX2X_LINK_REPORT_TX_FC_ON[rip]
	lea	rsi, 56[r14]
	call	__set_bit@PLT
	jmp	.L14
.L45:
	mov	edi, DWORD PTR BNX2X_LINK_REPORT_RX_FC_ON[rip]
	lea	rsi, 56[r14]
	call	__set_bit@PLT
	mov	eax, DWORD PTR 116[r14]
	jmp	.L13
.L44:
	mov	edi, DWORD PTR BNX2X_LINK_REPORT_FD[rip]
	lea	rsi, 56[r14]
	call	__set_bit@PLT
	mov	eax, DWORD PTR 116[r14]
	jmp	.L12
.L9:
	mov	rax, QWORD PTR 72[r14]
	mov	rsi, QWORD PTR 128[r14]
	mov	edx, DWORD PTR ETH_ALEN[rip]
	mov	rdi, QWORD PTR [rax]
	call	memcpy@PLT
	jmp	.L37
.L43:
	mov	edi, DWORD PTR BNX2X_LINK_REPORT_LINK_DOWN[rip]
	lea	rsi, 56[r14]
	call	__set_bit@PLT
	mov	eax, DWORD PTR 116[r14]
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L40:
	pop	rbx
	.cfi_def_cfa_offset 40
	mov	eax, DWORD PTR PFVF_BULLETIN_UNCHANGED[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
	.cfi_endproc
.LFE0:
	.size	bnx2x_sample_bulletin, .-bnx2x_sample_bulletin
	.comm	VFPF_LINK_REPORT_TX_FC_ON,4,4
	.comm	VFPF_LINK_REPORT_RX_FC_ON,4,4
	.comm	VFPF_LINK_REPORT_LINK_DOWN,4,4
	.comm	VFPF_LINK_REPORT_FULL_DUPLEX,4,4
	.comm	PFVF_BULLETIN_UPDATED,4,4
	.comm	PFVF_BULLETIN_UNCHANGED,4,4
	.comm	PFVF_BULLETIN_CRC_ERR,4,4
	.comm	MAC_ADDR_VALID,4,4
	.comm	LINK_VALID,4,4
	.comm	ETH_ALEN,4,4
	.comm	BULLETIN_ATTEMPTS,4,4
	.comm	BNX2X_MSG_IOV,4,4
	.comm	BNX2X_LINK_REPORT_TX_FC_ON,4,4
	.comm	BNX2X_LINK_REPORT_RX_FC_ON,4,4
	.comm	BNX2X_LINK_REPORT_LINK_DOWN,4,4
	.comm	BNX2X_LINK_REPORT_FD,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_bnx2x_sriov.c_bnx2x_sample_bulletin.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad crc on bulletin board. Contained %x computed %x"
	.ascii	"\012\000"
	.align	2
.LC1:
	.ascii	"pf to vf bulletin board crc was wrong %d consecutiv"
	.ascii	"e times. Aborting\012\000"
	.align	2
.LC2:
	.ascii	"link update speed %d flags %x\012\000"
	.text
	.align	2
	.global	bnx2x_sample_bulletin
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_sample_bulletin, %function
bnx2x_sample_bulletin:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L47
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L16
	mov	r4, r0
	mov	r5, #0
	ldr	r9, .L47+4
	add	r8, r0, #44
	add	r7, r0, #52
	b	.L4
.L39:
	mov	r0, r9
	bl	BNX2X_ERR
	ldr	r3, [r6]
	add	r5, r5, #1
	cmp	r3, r5
	ble	.L15
.L4:
	mov	r2, #4
	ldr	r1, [r4, #76]
	mov	r0, r8
	bl	memcpy
	mov	r0, r7
	bl	bnx2x_crc_vf_bulletin
	ldr	r1, [r4, #52]
	mov	r2, r0
	cmp	r1, r0
	bne	.L39
	ldr	r3, [r6]
	cmp	r3, r5
	ble	.L15
	ldr	r2, [r4]
	ldr	r3, [r4, #56]
	cmp	r2, r3
	beq	.L40
	ldr	r2, .L47+8
	ldr	r3, [r4, #60]
	ldr	r2, [r2]
	asr	r2, r3, r2
	tst	r2, #1
	bne	.L41
.L8:
	ldr	r2, .L47+12
	ldr	r2, [r2]
	asr	r3, r3, r2
	tst	r3, #1
	bne	.L42
.L10:
	mov	r1, r7
	mov	r0, r4
	mov	r2, #24
	bl	memcpy
	ldr	r3, .L47+16
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L42:
	ldr	r2, .L47+20
	ldr	r3, [r4, #64]
	ldr	r0, [r2]
	ldr	r1, .L47+24
	ldr	r2, [r4, #68]
	bl	DP
	mov	r1, #0
	ldr	r2, .L47+28
	ldr	r3, [r4, #64]
	ldr	r0, [r2]
	ldr	r2, [r4, #68]
	tst	r3, r0
	str	r1, [r4, #32]
	str	r2, [r4, #36]
	bne	.L43
.L11:
	ldr	r2, .L47+32
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L44
.L12:
	ldr	r2, .L47+36
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L45
.L13:
	ldr	r2, .L47+40
	ldr	r2, [r2]
	tst	r3, r2
	bne	.L46
.L14:
	mov	r0, r4
	bl	__bnx2x_link_report
	b	.L10
.L41:
	ldr	r1, [r4, #4]
	ldr	r0, [r4, #72]
	bl	ether_addr_equal
	cmp	r0, #0
	beq	.L9
.L37:
	ldr	r3, [r4, #60]
	b	.L8
.L16:
	mov	r5, #0
.L15:
	mov	r1, r5
	ldr	r0, .L47+44
	bl	BNX2X_ERR
	ldr	r3, .L47+48
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L46:
	ldr	r3, .L47+52
	add	r1, r4, #32
	ldr	r0, [r3]
	bl	__set_bit
	b	.L14
.L45:
	ldr	r3, .L47+56
	add	r1, r4, #32
	ldr	r0, [r3]
	bl	__set_bit
	ldr	r3, [r4, #64]
	b	.L13
.L44:
	ldr	r3, .L47+60
	add	r1, r4, #32
	ldr	r0, [r3]
	bl	__set_bit
	ldr	r3, [r4, #64]
	b	.L12
.L9:
	ldr	r2, [r4, #40]
	ldr	r3, .L47+64
	ldr	r0, [r2]
	ldr	r1, [r4, #72]
	ldr	r2, [r3]
	bl	memcpy
	b	.L37
.L43:
	ldr	r3, .L47+68
	add	r1, r4, #32
	ldr	r0, [r3]
	bl	__set_bit
	ldr	r3, [r4, #64]
	b	.L11
.L40:
	ldr	r3, .L47+72
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L48:
	.align	2
.L47:
	.word	BULLETIN_ATTEMPTS
	.word	.LC0
	.word	MAC_ADDR_VALID
	.word	LINK_VALID
	.word	PFVF_BULLETIN_UPDATED
	.word	BNX2X_MSG_IOV
	.word	.LC2
	.word	VFPF_LINK_REPORT_LINK_DOWN
	.word	VFPF_LINK_REPORT_FULL_DUPLEX
	.word	VFPF_LINK_REPORT_RX_FC_ON
	.word	VFPF_LINK_REPORT_TX_FC_ON
	.word	.LC1
	.word	PFVF_BULLETIN_CRC_ERR
	.word	BNX2X_LINK_REPORT_TX_FC_ON
	.word	BNX2X_LINK_REPORT_RX_FC_ON
	.word	BNX2X_LINK_REPORT_FD
	.word	ETH_ALEN
	.word	BNX2X_LINK_REPORT_LINK_DOWN
	.word	PFVF_BULLETIN_UNCHANGED
	.size	bnx2x_sample_bulletin, .-bnx2x_sample_bulletin
	.comm	VFPF_LINK_REPORT_TX_FC_ON,4,4
	.comm	VFPF_LINK_REPORT_RX_FC_ON,4,4
	.comm	VFPF_LINK_REPORT_LINK_DOWN,4,4
	.comm	VFPF_LINK_REPORT_FULL_DUPLEX,4,4
	.comm	PFVF_BULLETIN_UPDATED,4,4
	.comm	PFVF_BULLETIN_UNCHANGED,4,4
	.comm	PFVF_BULLETIN_CRC_ERR,4,4
	.comm	MAC_ADDR_VALID,4,4
	.comm	LINK_VALID,4,4
	.comm	ETH_ALEN,4,4
	.comm	BULLETIN_ATTEMPTS,4,4
	.comm	BNX2X_MSG_IOV,4,4
	.comm	BNX2X_LINK_REPORT_TX_FC_ON,4,4
	.comm	BNX2X_LINK_REPORT_RX_FC_ON,4,4
	.comm	BNX2X_LINK_REPORT_LINK_DOWN,4,4
	.comm	BNX2X_LINK_REPORT_FD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
