	.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_82574
_e1000_set_d3_lplu_state_82574:         ## @e1000_set_d3_lplu_state_82574
	.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	_POEMB@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	movq	(%r14), %rcx
	movq	_E1000_ALL_SPEED_DUPLEX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.3:
	movq	_E1000_ALL_NOT_GIG@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_5
## %bb.4:
	movq	_E1000_ALL_10_SPEED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_6
LBB0_5:
	movq	_E1000_PHY_CTRL_NOND0A_LPLU@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_6
LBB0_1:
	movq	_E1000_PHY_CTRL_NOND0A_LPLU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, %eax
LBB0_6:
	movl	(%r15), %edi
	movl	%eax, %esi
	callq	_ew32
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POEMB,4,2                      ## @POEMB
	.comm	_E1000_PHY_CTRL_NOND0A_LPLU,4,2 ## @E1000_PHY_CTRL_NOND0A_LPLU
	.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
	.no_dead_strip	_e1000_set_d3_lplu_state_82574
.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_82574
_e1000_set_d3_lplu_state_82574:         ; @e1000_set_d3_lplu_state_82574
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, _POEMB@GOTPAGE
Lloh1:
	ldr	x21, [x21, _POEMB@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	mov	x1, x0
	cbz	w20, LBB0_3
; %bb.1:
	ldr	x8, [x19]
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_4
; %bb.2:
Lloh11:
	adrp	x8, _E1000_PHY_CTRL_NOND0A_LPLU@GOTPAGE
Lloh12:
	ldr	x8, [x8, _E1000_PHY_CTRL_NOND0A_LPLU@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	orr	w1, w8, w1
	b	LBB0_4
LBB0_3:
Lloh14:
	adrp	x8, _E1000_PHY_CTRL_NOND0A_LPLU@GOTPAGE
Lloh15:
	ldr	x8, [x8, _E1000_PHY_CTRL_NOND0A_LPLU@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bic	w1, w1, w8
LBB0_4:
	ldr	w0, [x21]
	bl	_ew32
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_POEMB,4,2                      ; @POEMB
	.comm	_E1000_PHY_CTRL_NOND0A_LPLU,4,2 ; @E1000_PHY_CTRL_NOND0A_LPLU
	.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
	.no_dead_strip	_e1000_set_d3_lplu_state_82574
.subsections_via_symbols
