	.file	"extr_e1000_82575.c_igb_set_d0_lplu_state_82580.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	igb_set_d0_lplu_state_82580, @function
igb_set_d0_lplu_state_82580:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR E1000_82580_PHY_POWER_MGMT[rip]
	call	rd32@PLT
	test	ebx, ebx
	je	.L2
	mov	esi, DWORD PTR E1000_82580_PM_SPD[rip]
	or	eax, DWORD PTR E1000_82580_PM_D0_LPLU[rip]
	not	esi
	and	esi, eax
.L3:
	mov	edi, DWORD PTR E1000_82580_PHY_POWER_MGMT[rip]
	call	wr32@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	esi, DWORD PTR E1000_82580_PM_D0_LPLU[rip]
	not	esi
	and	esi, eax
	mov	rax, QWORD PTR 0[rbp]
	cmp	rax, QWORD PTR e1000_smart_speed_on[rip]
	je	.L7
	cmp	rax, QWORD PTR e1000_smart_speed_off[rip]
	jne	.L3
	mov	eax, DWORD PTR E1000_82580_PM_SPD[rip]
	not	eax
	and	esi, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	or	esi, DWORD PTR E1000_82580_PM_SPD[rip]
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	igb_set_d0_lplu_state_82580, .-igb_set_d0_lplu_state_82580
	.comm	e1000_smart_speed_on,8,8
	.comm	e1000_smart_speed_off,8,8
	.comm	E1000_82580_PM_SPD,4,4
	.comm	E1000_82580_PM_D0_LPLU,4,4
	.comm	E1000_82580_PHY_POWER_MGMT,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_e1000_82575.c_igb_set_d0_lplu_state_82580.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	igb_set_d0_lplu_state_82580, %function
igb_set_d0_lplu_state_82580:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	ldr	r6, .L8
	mov	r5, r0
	ldr	r0, [r6]
	bl	rd32
	cmp	r4, #0
	beq	.L2
	ldr	r2, .L8+4
	ldr	r3, .L8+8
	ldr	r1, [r2]
	ldr	r3, [r3]
	orr	r1, r0, r1
	bic	r1, r1, r3
.L3:
	ldr	r0, [r6]
	bl	wr32
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, .L8+12
	ldr	r1, .L8+4
	ldr	r3, [r5]
	ldr	r2, [r2]
	ldr	r1, [r1]
	cmp	r3, r2
	bic	r1, r0, r1
	beq	.L7
	ldr	r2, .L8+16
	ldr	r2, [r2]
	cmp	r3, r2
	ldreq	r3, .L8+8
	ldreq	r3, [r3]
	biceq	r1, r1, r3
	b	.L3
.L7:
	ldr	r3, .L8+8
	ldr	r3, [r3]
	orr	r1, r1, r3
	b	.L3
.L9:
	.align	2
.L8:
	.word	E1000_82580_PHY_POWER_MGMT
	.word	E1000_82580_PM_D0_LPLU
	.word	E1000_82580_PM_SPD
	.word	e1000_smart_speed_on
	.word	e1000_smart_speed_off
	.size	igb_set_d0_lplu_state_82580, .-igb_set_d0_lplu_state_82580
	.comm	e1000_smart_speed_on,4,4
	.comm	e1000_smart_speed_off,4,4
	.comm	E1000_82580_PM_SPD,4,4
	.comm	E1000_82580_PM_D0_LPLU,4,4
	.comm	E1000_82580_PHY_POWER_MGMT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
