	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000e_enable_receives
_e1000e_enable_receives:                ## @e1000e_enable_receives
	.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	(%rdi), %eax
	movq	_FLAG_RX_NEEDS_RESTART@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_FLAG_RESTART_NOW@GOTPCREL(%rip), %r14
	testl	%eax, (%r14)
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movq	_RCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	movl	(%r15), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %esi
	callq	_ew32
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_RX_NEEDS_RESTART,4,2      ## @FLAG_RX_NEEDS_RESTART
	.comm	_FLAG_RESTART_NOW,4,2           ## @FLAG_RESTART_NOW
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.no_dead_strip	_e1000e_enable_receives
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000e_enable_receives
_e1000e_enable_receives:                ; @e1000e_enable_receives
	.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
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _FLAG_RX_NEEDS_RESTART@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLAG_RX_NEEDS_RESTART@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x20, _FLAG_RESTART_NOW@GOTPAGE
Lloh4:
	ldr	x20, [x20, _FLAG_RESTART_NOW@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x19, x0
Lloh5:
	adrp	x21, _RCTL@GOTPAGE
Lloh6:
	ldr	x21, [x21, _RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	ldr	w8, [x21]
Lloh7:
	adrp	x9, _E1000_RCTL_EN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _E1000_RCTL_EN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	orr	w1, w9, w0
	mov	x0, x8
	bl	_ew32
	ldr	w8, [x20]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
LBB0_3:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_RX_NEEDS_RESTART,4,2      ; @FLAG_RX_NEEDS_RESTART
	.comm	_FLAG_RESTART_NOW,4,2           ; @FLAG_RESTART_NOW
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.no_dead_strip	_e1000e_enable_receives
.subsections_via_symbols
