	.file	"extr_bnx2x_link.c_bnx2x_set_ieee_aneg_advertisement.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bnx2x_set_ieee_aneg_advertisement, @function
bnx2x_set_ieee_aneg_advertisement:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	ebx, edx
	sal	ebx, 3
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	r12, QWORD PTR [rsi]
	mov	ecx, DWORD PTR MDIO_COMBO_IEEE0_AUTO_NEG_ADV[rip]
	mov	rsi, rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	edx, DWORD PTR MDIO_REG_BANK_COMBO_IEEE0[rip]
	mov	rdi, r12
	call	CL22_WR_OVER_CL45@PLT
	lea	r8, 4[rsp]
	mov	rsi, rbp
	mov	rdi, r12
	mov	ecx, DWORD PTR MDIO_CL73_IEEEB1_AN_ADV1[rip]
	mov	edx, DWORD PTR MDIO_REG_BANK_CL73_IEEEB1[rip]
	call	CL22_RD_OVER_CL45@PLT
	mov	r8d, DWORD PTR MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_BOTH[rip]
	mov	rsi, rbp
	and	ebx, DWORD PTR MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK[rip]
	mov	ecx, DWORD PTR MDIO_CL73_IEEEB1_AN_ADV1[rip]
	mov	edx, DWORD PTR MDIO_REG_BANK_CL73_IEEEB1[rip]
	mov	rdi, r12
	not	r8d
	and	r8d, DWORD PTR 4[rsp]
	or	r8d, ebx
	mov	DWORD PTR 4[rsp], r8d
	call	CL22_WR_OVER_CL45@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_set_ieee_aneg_advertisement, .-bnx2x_set_ieee_aneg_advertisement
	.comm	MDIO_REG_BANK_COMBO_IEEE0,4,4
	.comm	MDIO_REG_BANK_CL73_IEEEB1,4,4
	.comm	MDIO_COMBO_IEEE0_AUTO_NEG_ADV,4,4
	.comm	MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK,4,4
	.comm	MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_BOTH,4,4
	.comm	MDIO_CL73_IEEEB1_AN_ADV1,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_link.c_bnx2x_set_ieee_aneg_advertisement.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_set_ieee_aneg_advertisement, %function
bnx2x_set_ieee_aneg_advertisement:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r2
	mov	r4, r0
	sub	sp, sp, #16
	ldr	r6, [r1]
	ldr	r3, .L6
	ldr	r2, .L6+4
	str	r5, [sp]
	ldr	ip, .L6+8
	mov	r1, r0
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r8, .L6+12
	ldr	r7, .L6+16
	mov	r0, r6
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	CL22_WR_OVER_CL45
	add	ip, sp, #8
	mov	r1, r4
	ldr	r3, [r8]
	ldr	r2, [r7]
	str	ip, [sp]
	mov	r0, r6
	bl	CL22_RD_OVER_CL45
	ldr	r2, .L6+20
	ldr	r3, .L6+24
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	ip, [sp, #8]
	and	r5, r2, r5, lsl #3
	bic	ip, ip, r3
	orr	ip, ip, r5
	ldr	r3, [r8]
	ldr	r2, [r7]
	mov	r1, r4
	mov	r0, r6
	str	ip, [sp]
	str	ip, [sp, #8]
	bl	CL22_WR_OVER_CL45
	ldr	r3, .L6+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	MDIO_COMBO_IEEE0_AUTO_NEG_ADV
	.word	MDIO_REG_BANK_COMBO_IEEE0
	.word	.LC0
	.word	MDIO_CL73_IEEEB1_AN_ADV1
	.word	MDIO_REG_BANK_CL73_IEEEB1
	.word	MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK
	.word	MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_BOTH
	.size	bnx2x_set_ieee_aneg_advertisement, .-bnx2x_set_ieee_aneg_advertisement
	.comm	MDIO_REG_BANK_COMBO_IEEE0,4,4
	.comm	MDIO_REG_BANK_CL73_IEEEB1,4,4
	.comm	MDIO_COMBO_IEEE0_AUTO_NEG_ADV,4,4
	.comm	MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_MASK,4,4
	.comm	MDIO_CL73_IEEEB1_AN_ADV1_PAUSE_BOTH,4,4
	.comm	MDIO_CL73_IEEEB1_AN_ADV1,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
