	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function e1000_flush_rx_ring
_e1000_flush_rx_ring:                   ## @e1000_flush_rx_ring
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_RCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_er32
	movl	%eax, %r14d
	movl	(%r15), %edi
	movq	_E1000_RCTL_EN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	notl	%esi
	andl	%eax, %esi
	callq	_ew32
	xorl	%eax, %eax
	callq	_e1e_flush
	movl	$100, %edi
	movl	$150, %esi
	callq	_usleep_range
	xorl	%edi, %edi
	callq	_RXDCTL
	movl	%eax, %edi
	callq	_er32
	movl	%eax, %ebx
	andl	$-16384, %ebx                   ## imm = 0xC000
	movl	$8, %edi
	callq	_BIT
	movq	_E1000_RXDCTL_THRESH_UNIT_DESC@GOTPCREL(%rip), %rcx
	orl	%eax, %ebx
	orl	(%rcx), %ebx
	orl	$31, %ebx
	xorl	%edi, %edi
	callq	_RXDCTL
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ew32
	movl	(%r15), %edi
	movl	(%r12), %esi
	orl	%r14d, %esi
	callq	_ew32
	xorl	%eax, %eax
	callq	_e1e_flush
	movl	$100, %edi
	movl	$150, %esi
	callq	_usleep_range
	movl	(%r15), %edi
	movl	(%r12), %esi
	notl	%esi
	andl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ew32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCTL,4,2                       ## @RCTL
	.comm	_E1000_RCTL_EN,4,2              ## @E1000_RCTL_EN
	.comm	_E1000_RXDCTL_THRESH_UNIT_DESC,4,2 ## @E1000_RXDCTL_THRESH_UNIT_DESC
	.no_dead_strip	_e1000_flush_rx_ring
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function e1000_flush_rx_ring
_e1000_flush_rx_ring:                   ; @e1000_flush_rx_ring
	.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
Lloh0:
	adrp	x21, _RCTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _RCTL@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_er32
	mov	x19, x0
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _E1000_RCTL_EN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _E1000_RCTL_EN@GOTPAGEOFF]
	ldr	w8, [x22]
	bic	w1, w19, w8
	bl	_ew32
	bl	_e1e_flush
	mov	w0, #100
	mov	w1, #150
	bl	_usleep_range
	mov	w0, #0
	bl	_RXDCTL
	bl	_er32
	and	w20, w0, #0xffffc000
	mov	w0, #8
	bl	_BIT
Lloh4:
	adrp	x8, _E1000_RXDCTL_THRESH_UNIT_DESC@GOTPAGE
Lloh5:
	ldr	x8, [x8, _E1000_RXDCTL_THRESH_UNIT_DESC@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w9, w0, w20
	orr	w8, w9, w8
	orr	w20, w8, #0x1f
	mov	w0, #0
	bl	_RXDCTL
	mov	x1, x20
	bl	_ew32
	ldr	w0, [x21]
	ldr	w8, [x22]
	orr	w1, w8, w19
	bl	_ew32
	bl	_e1e_flush
	mov	w0, #100
	mov	w1, #150
	bl	_usleep_range
	ldr	w0, [x21]
	ldr	w8, [x22]
	bic	w1, w19, w8
	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
	b	_ew32
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RCTL,4,2                       ; @RCTL
	.comm	_E1000_RCTL_EN,4,2              ; @E1000_RCTL_EN
	.comm	_E1000_RXDCTL_THRESH_UNIT_DESC,4,2 ; @E1000_RXDCTL_THRESH_UNIT_DESC
	.no_dead_strip	_e1000_flush_rx_ring
.subsections_via_symbols
