	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_set_d3_lplu_state
_e1000_set_d3_lplu_state:               ## @e1000_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_e1000_phy_igp@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	_e1000_82541_rev_2@GOTPCREL(%rip), %r12
	movq	_e1000_82547_rev_2@GOTPCREL(%rip), %r15
	cmpq	(%r12), %rax
	je	LBB0_3
## %bb.2:
	cmpq	(%r15), %rax
	jne	LBB0_4
LBB0_3:
	movq	_IGP01E1000_GMII_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1000_read_phy_reg
	testq	%rax, %rax
	jne	LBB0_22
LBB0_4:
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.12:
	movq	24(%r14), %rax
	movq	_AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.13:
	movq	_AUTONEG_ADVERTISE_10_ALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	movq	_AUTONEG_ADVERTISE_10_100_ALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
LBB0_21:
	movq	_E1000_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_22:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	8(%r14), %rax
	cmpq	(%r12), %rax
	je	LBB0_7
## %bb.6:
	cmpq	(%r15), %rax
	jne	LBB0_8
LBB0_7:
	movq	_IGP01E1000_GMII_FLEX_SPD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-36(%rbp), %edx
	movl	%edx, -36(%rbp)
	movq	_IGP01E1000_GMII_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_22
LBB0_8:
	movq	16(%r14), %rax
	movq	_e1000_smart_speed_on@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.9:
	movq	_IGP01E1000_PHY_PORT_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1000_read_phy_reg
	testq	%rax, %rax
	jne	LBB0_22
## %bb.10:
	movq	_IGP01E1000_PSCFR_SMART_SPEED@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %edx
	orl	(%rax), %edx
	jmp	LBB0_20
LBB0_15:
	movq	8(%r14), %rax
	cmpq	(%r12), %rax
	je	LBB0_17
## %bb.16:
	cmpq	(%r15), %rax
	jne	LBB0_18
LBB0_17:
	movq	_IGP01E1000_GMII_FLEX_SPD@GOTPCREL(%rip), %rax
	movl	-36(%rbp), %edx
	orl	(%rax), %edx
	movl	%edx, -36(%rbp)
	movq	_IGP01E1000_GMII_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_18
LBB0_11:
	movq	_e1000_smart_speed_off@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_21
LBB0_18:
	movq	_IGP01E1000_PHY_PORT_CONFIG@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	callq	_e1000_read_phy_reg
	testq	%rax, %rax
	jne	LBB0_22
## %bb.19:
	movq	_IGP01E1000_PSCFR_SMART_SPEED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	-36(%rbp), %edx
LBB0_20:
	movl	%edx, -36(%rbp)
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_e1000_write_phy_reg
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_e1000_phy_igp,8,3              ## @e1000_phy_igp
	.comm	_E1000_SUCCESS,8,3              ## @E1000_SUCCESS
	.comm	_e1000_82541_rev_2,8,3          ## @e1000_82541_rev_2
	.comm	_e1000_82547_rev_2,8,3          ## @e1000_82547_rev_2
	.comm	_IGP01E1000_GMII_FIFO,4,2       ## @IGP01E1000_GMII_FIFO
	.comm	_IGP01E1000_GMII_FLEX_SPD,4,2   ## @IGP01E1000_GMII_FLEX_SPD
	.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	_AUTONEG_ADVERTISE_SPEED_DEFAULT,8,3 ## @AUTONEG_ADVERTISE_SPEED_DEFAULT
	.comm	_AUTONEG_ADVERTISE_10_ALL,8,3   ## @AUTONEG_ADVERTISE_10_ALL
	.comm	_AUTONEG_ADVERTISE_10_100_ALL,8,3 ## @AUTONEG_ADVERTISE_10_100_ALL
	.no_dead_strip	_e1000_set_d3_lplu_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_set_d3_lplu_state
_e1000_set_d3_lplu_state:               ; @e1000_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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _e1000_phy_igp@GOTPAGE
Lloh1:
	ldr	x9, [x9, _e1000_phy_igp@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x21, _e1000_82541_rev_2@GOTPAGE
Lloh4:
	ldr	x21, [x21, _e1000_82541_rev_2@GOTPAGEOFF]
	ldr	x9, [x21]
Lloh5:
	adrp	x22, _e1000_82547_rev_2@GOTPAGE
Lloh6:
	ldr	x22, [x22, _e1000_82547_rev_2@GOTPAGEOFF]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh7:
	adrp	x8, _IGP01E1000_GMII_FIFO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IGP01E1000_GMII_FIFO@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1000_read_phy_reg
	cbnz	x0, LBB0_17
LBB0_3:
	cbz	w20, LBB0_7
; %bb.4:
	ldr	x8, [x19, #24]
Lloh10:
	adrp	x9, _AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPAGE
Lloh11:
	ldr	x9, [x9, _AUTONEG_ADVERTISE_SPEED_DEFAULT@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _AUTONEG_ADVERTISE_10_ALL@GOTPAGE
Lloh14:
	ldr	x10, [x10, _AUTONEG_ADVERTISE_10_ALL@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
Lloh16:
	adrp	x11, _AUTONEG_ADVERTISE_10_100_ALL@GOTPAGE
Lloh17:
	ldr	x11, [x11, _AUTONEG_ADVERTISE_10_100_ALL@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	b.ne	LBB0_16
; %bb.5:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_13
; %bb.6:
Lloh19:
	adrp	x8, _IGP01E1000_GMII_FLEX_SPD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IGP01E1000_GMII_FLEX_SPD@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	str	w2, [sp, #12]
Lloh22:
	adrp	x8, _IGP01E1000_GMII_FIFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IGP01E1000_GMII_FIFO@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_17
	b	LBB0_13
LBB0_7:
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	ldr	x10, [x22]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_9
; %bb.8:
Lloh25:
	adrp	x8, _IGP01E1000_GMII_FLEX_SPD@GOTPAGE
Lloh26:
	ldr	x8, [x8, _IGP01E1000_GMII_FLEX_SPD@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
	str	w2, [sp, #12]
Lloh28:
	adrp	x8, _IGP01E1000_GMII_FIFO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _IGP01E1000_GMII_FIFO@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_17
LBB0_9:
	ldr	x8, [x19, #16]
Lloh31:
	adrp	x9, _e1000_smart_speed_on@GOTPAGE
Lloh32:
	ldr	x9, [x9, _e1000_smart_speed_on@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.10:
Lloh34:
	adrp	x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGE
Lloh35:
	ldr	x20, [x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1000_read_phy_reg
	cbnz	x0, LBB0_17
; %bb.11:
Lloh36:
	adrp	x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	orr	w2, w9, w8
	b	LBB0_15
LBB0_12:
Lloh39:
	adrp	x9, _e1000_smart_speed_off@GOTPAGE
Lloh40:
	ldr	x9, [x9, _e1000_smart_speed_off@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_16
LBB0_13:
Lloh42:
	adrp	x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGE
Lloh43:
	ldr	x20, [x20, _IGP01E1000_PHY_PORT_CONFIG@GOTPAGEOFF]
	ldr	w1, [x20]
	add	x2, sp, #12
	mov	x0, x19
	bl	_e1000_read_phy_reg
	cbnz	x0, LBB0_17
; %bb.14:
Lloh44:
	adrp	x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IGP01E1000_PSCFR_SMART_SPEED@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w2, w9, w8
LBB0_15:
	str	w2, [sp, #12]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_e1000_write_phy_reg
	cbnz	x0, LBB0_17
LBB0_16:
Lloh47:
	adrp	x8, _E1000_SUCCESS@GOTPAGE
Lloh48:
	ldr	x8, [x8, _E1000_SUCCESS@GOTPAGEOFF]
Lloh49:
	ldr	x0, [x8]
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_e1000_phy_igp,8,3              ; @e1000_phy_igp
	.comm	_E1000_SUCCESS,8,3              ; @E1000_SUCCESS
	.comm	_e1000_82541_rev_2,8,3          ; @e1000_82541_rev_2
	.comm	_e1000_82547_rev_2,8,3          ; @e1000_82547_rev_2
	.comm	_IGP01E1000_GMII_FIFO,4,2       ; @IGP01E1000_GMII_FIFO
	.comm	_IGP01E1000_GMII_FLEX_SPD,4,2   ; @IGP01E1000_GMII_FLEX_SPD
	.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	_AUTONEG_ADVERTISE_SPEED_DEFAULT,8,3 ; @AUTONEG_ADVERTISE_SPEED_DEFAULT
	.comm	_AUTONEG_ADVERTISE_10_ALL,8,3   ; @AUTONEG_ADVERTISE_10_ALL
	.comm	_AUTONEG_ADVERTISE_10_100_ALL,8,3 ; @AUTONEG_ADVERTISE_10_100_ALL
	.no_dead_strip	_e1000_set_d3_lplu_state
.subsections_via_symbols
