	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_set_d3_lplu_state       ## -- Begin function e1000e_set_d3_lplu_state
	.p2align	4, 0x90
_e1000e_set_d3_lplu_state:              ## @e1000e_set_d3_lplu_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_IGP02E1000_PHY_POWER_MGMT@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-28(%rbp), %rdx
	callq	_e1e_rphy
	testq	%rax, %rax
	je	LBB0_1
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.2:
	movq	8(%r14), %rax
	movq	_E1000_ALL_SPEED_DUPLEX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:
	movq	_E1000_ALL_NOT_GIG@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_E1000_ALL_10_SPEED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_8:
	movq	_IGP02E1000_PM_D3_LPLU@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	testq	%rax, %rax
	jne	LBB0_17
## %bb.9:
	movq	(%r14), %rax
	movq	_e1000_smart_speed_on@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.10:
	movq	_IGP01E1000_PHY_PORT_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	testq	%rax, %rax
	jne	LBB0_17
## %bb.11:
	movq	_IGP01E1000_PSCFR_SMART_SPEED@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	jmp	LBB0_12
LBB0_5:
	movq	_IGP02E1000_PM_D3_LPLU@GOTPCREL(%rip), %rax
	movl	-28(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -28(%rbp)
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	testq	%rax, %rax
	jne	LBB0_17
## %bb.6:
	movq	_IGP01E1000_PHY_PORT_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	testq	%rax, %rax
	jne	LBB0_17
## %bb.7:
	movq	_IGP01E1000_PSCFR_SMART_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
	movl	%edx, -28(%rbp)
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	jmp	LBB0_17
LBB0_14:
	movq	_e1000_smart_speed_off@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.15:
	movq	_IGP01E1000_PHY_PORT_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-28(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1e_rphy
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movq	_IGP01E1000_PSCFR_SMART_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-28(%rbp), %edx
LBB0_12:
	movl	%edx, -28(%rbp)
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_e1e_wphy
	testq	%rax, %rax
	jne	LBB0_17
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_IGP02E1000_PHY_POWER_MGMT,4,2  ## @IGP02E1000_PHY_POWER_MGMT
	.comm	_IGP02E1000_PM_D3_LPLU,4,2      ## @IGP02E1000_PM_D3_LPLU
	.comm	_e1000_smart_speed_on,8,3       ## @e1000_smart_speed_on
	.comm	_IGP01E1000_PHY_PORT_CONFIG,4,2 ## @IGP01E1000_PHY_PORT_CONFIG
	.comm	_IGP01E1000_PSCFR_SMART_SPEED,4,2 ## @IGP01E1000_PSCFR_SMART_SPEED
	.comm	_e1000_smart_speed_off,8,3      ## @e1000_smart_speed_off
	.comm	_E1000_ALL_SPEED_DUPLEX,8,3     ## @E1000_ALL_SPEED_DUPLEX
	.comm	_E1000_ALL_NOT_GIG,8,3          ## @E1000_ALL_NOT_GIG
	.comm	_E1000_ALL_10_SPEED,8,3         ## @E1000_ALL_10_SPEED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_e1000e_set_d3_lplu_state       ; -- Begin function e1000e_set_d3_lplu_state
	.p2align	2
_e1000e_set_d3_lplu_state:              ; @e1000e_set_d3_lplu_state
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _IGP02E1000_PHY_POWER_MGMT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IGP02E1000_PHY_POWER_MGMT@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_e1e_rphy
	cbz	x0, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	cbz	w20, LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _E1000_ALL_SPEED_DUPLEX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _E1000_ALL_SPEED_DUPLEX@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _E1000_ALL_NOT_GIG@GOTPAGE
Lloh6:
	ldr	x10, [x10, _E1000_ALL_NOT_GIG@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
Lloh8:
	adrp	x11, _E1000_ALL_10_SPEED@GOTPAGE
Lloh9:
	ldr	x11, [x11, _E1000_ALL_10_SPEED@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_13
; %bb.4:
Lloh11:
	adrp	x8, _IGP02E1000_PM_D3_LPLU@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IGP02E1000_PM_D3_LPLU@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	cbnz	x0, LBB0_1
	b	LBB0_10
LBB0_5:
Lloh14:
	adrp	x8, _IGP02E1000_PM_D3_LPLU@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IGP02E1000_PM_D3_LPLU@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_e1e_wphy
	cbnz	x0, LBB0_1
; %bb.6:
	ldr	x8, [x19]
Lloh17:
	adrp	x9, _e1000_smart_speed_on@GOTPAGE
Lloh18:
	ldr	x9, [x9, _e1000_smart_speed_on@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.7:
Lloh20:
	adrp	x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGE
Lloh21:
	ldr	x20, [x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	cbnz	x0, LBB0_1
; %bb.8:
Lloh22:
	adrp	x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	b	LBB0_12
LBB0_9:
Lloh25:
	adrp	x9, _e1000_smart_speed_off@GOTPAGE
Lloh26:
	ldr	x9, [x9, _e1000_smart_speed_off@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
LBB0_10:
Lloh28:
	adrp	x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGE
Lloh29:
	ldr	x20, [x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1e_rphy
	cbnz	x0, LBB0_1
; %bb.11:
Lloh30:
	adrp	x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
LBB0_12:
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_e1e_wphy
	b	LBB0_1
LBB0_13:
	mov	x0, #0
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_IGP02E1000_PHY_POWER_MGMT,4,2  ; @IGP02E1000_PHY_POWER_MGMT
	.comm	_IGP02E1000_PM_D3_LPLU,4,2      ; @IGP02E1000_PM_D3_LPLU
	.comm	_e1000_smart_speed_on,8,3       ; @e1000_smart_speed_on
	.comm	_IGP01E1000_PHY_PORT_CONFIG,4,2 ; @IGP01E1000_PHY_PORT_CONFIG
	.comm	_IGP01E1000_PSCFR_SMART_SPEED,4,2 ; @IGP01E1000_PSCFR_SMART_SPEED
	.comm	_e1000_smart_speed_off,8,3      ; @e1000_smart_speed_off
	.comm	_E1000_ALL_SPEED_DUPLEX,8,3     ; @E1000_ALL_SPEED_DUPLEX
	.comm	_E1000_ALL_NOT_GIG,8,3          ; @E1000_ALL_NOT_GIG
	.comm	_E1000_ALL_10_SPEED,8,3         ; @E1000_ALL_10_SPEED
.subsections_via_symbols
