	.file	"extr_bnx2x_link.c_bnx2x_8483x_enable_eee.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"EEE enable failed.\n"
	.text
	.p2align 4
	.type	bnx2x_8483x_enable_eee, @function
bnx2x_8483x_enable_eee:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	mov	r8d, 1
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	r9d, DWORD PTR PHY84833_MB_PROCESS1[rip]
	mov	edx, DWORD PTR PHY848xx_CMD_SET_EEE_MODE[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rcx, 4[rsp]
	mov	DWORD PTR 4[rsp], 1
	call	bnx2x_848xx_cmd_hdlr@PLT
	test	eax, eax
	jne	.L7
	mov	ecx, DWORD PTR SHMEM_EEE_10G_ADV[rip]
	mov	rdx, r14
	mov	rsi, r13
	mov	rdi, rbp
	call	bnx2x_eee_advertise@PLT
	mov	r12d, eax
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR NETIF_MSG_LINK[rip]
	lea	rsi, .LC0[rip]
	mov	r12d, eax
	call	DP@PLT
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	bnx2x_8483x_enable_eee, .-bnx2x_8483x_enable_eee
	.comm	SHMEM_EEE_10G_ADV,4,4
	.comm	PHY848xx_CMD_SET_EEE_MODE,4,4
	.comm	PHY84833_MB_PROCESS1,4,4
	.comm	NETIF_MSG_LINK,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_8483x_enable_eee.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"EEE enable failed.\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bnx2x_8483x_enable_eee, %function
bnx2x_8483x_enable_eee:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #1
	push	{r4, r5, r6, r7, lr}
	mov	r7, r2
	ldr	r2, .L9
	sub	sp, sp, #20
	ldr	r2, [r2]
	ldr	r3, .L9+4
	str	ip, [sp]
	str	r2, [sp, #4]
	ldr	lr, .L9+8
	ldr	r2, [r3]
	add	r3, sp, #8
	ldr	lr, [lr]
	str	lr, [sp, #12]
	mov	lr,#0
	mov	r5, r0
	mov	r6, r1
	str	ip, [sp, #8]
	bl	bnx2x_848xx_cmd_hdlr
	subs	r4, r0, #0
	bne	.L7
	ldr	r3, .L9+12
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	ldr	r3, [r3]
	bl	bnx2x_eee_advertise
	mov	r4, r0
.L1:
	ldr	r3, .L9+8
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	mov	r0, r4
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	ldr	r3, .L9+16
	ldr	r1, .L9+20
	ldr	r0, [r3]
	bl	DP
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	PHY84833_MB_PROCESS1
	.word	PHY848xx_CMD_SET_EEE_MODE
	.word	.LC1
	.word	SHMEM_EEE_10G_ADV
	.word	NETIF_MSG_LINK
	.word	.LC0
	.size	bnx2x_8483x_enable_eee, .-bnx2x_8483x_enable_eee
	.comm	SHMEM_EEE_10G_ADV,4,4
	.comm	PHY848xx_CMD_SET_EEE_MODE,4,4
	.comm	PHY84833_MB_PROCESS1,4,4
	.comm	NETIF_MSG_LINK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
