	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_rx_fifo_flush_base         ## -- Begin function igc_rx_fifo_flush_base
	.p2align	4, 0x90
_igc_rx_fifo_flush_base:                ## @igc_rx_fifo_flush_base
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_IGC_RFCTL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movl	%eax, %r12d
	movq	_IGC_RFCTL_IPV6_EX_DIS@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movl	(%rbx), %edi
	movl	%r12d, %esi
	callq	_wr32
	movq	_IGC_MANC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_IGC_MANC_RCV_TCO_EN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.1:
	xorl	%edi, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_IGC_RXDCTL
	movq	_IGC_RXDCTL_QUEUE_ENABLE@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	notl	%esi
	movl	%ebx, -60(%rbp)                 ## 4-byte Spill
	andl	%ebx, %esi
	movl	%eax, %edi
	callq	_wr32
	movl	$1, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %ebx
	movl	$1, %edi
	callq	_IGC_RXDCTL
	movl	(%r15), %esi
	notl	%esi
	movl	%ebx, -56(%rbp)                 ## 4-byte Spill
	andl	%ebx, %esi
	movl	%eax, %edi
	callq	_wr32
	movl	$2, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %ebx
	movl	$2, %edi
	callq	_IGC_RXDCTL
	movl	(%r15), %esi
	notl	%esi
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	andl	%ebx, %esi
	movl	%eax, %edi
	callq	_wr32
	movl	$3, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %ebx
	movl	$3, %edi
	callq	_IGC_RXDCTL
	movl	(%r15), %esi
	notl	%esi
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	andl	%ebx, %esi
	movl	%eax, %edi
	callq	_wr32
	movl	$10, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1000, %edi                     ## imm = 0x3E8
	movl	$2000, %esi                     ## imm = 0x7D0
	callq	_usleep_range
	xorl	%edi, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %r14d
	movl	$1, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %ebx
	orl	%r14d, %ebx
	movl	$2, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	movl	%eax, %r14d
	movl	$3, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	callq	_rd32
	orl	%r14d, %eax
	orl	%ebx, %eax
	testl	%eax, (%r15)
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	jne	LBB0_2
	jmp	LBB0_5
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	testl	%r13d, %r13d
	jne	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
LBB0_6:
	movq	_IGC_RFCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_IGC_RFCTL_LEF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	notl	%esi
	andl	%r12d, %esi
	callq	_wr32
	movq	_IGC_RLPML@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rd32
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_wr32
	movq	_IGC_RCTL@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_rd32
	movl	%eax, %r15d
	movq	_IGC_RCTL_EN@GOTPCREL(%rip), %r14
	movq	_IGC_RCTL_SBP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%r14), %ebx
	notl	%ebx
	andl	%r15d, %ebx
	movq	_IGC_RCTL_LPE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	(%r13), %edi
	movl	%ebx, %esi
	callq	_wr32
	movl	(%r13), %edi
	orl	(%r14), %ebx
	movl	%ebx, %esi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movl	$2000, %edi                     ## imm = 0x7D0
	movl	$3000, %esi                     ## imm = 0xBB8
	callq	_usleep_range
	xorl	%edi, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	callq	_wr32
	movl	$1, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	callq	_wr32
	movl	$2, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_wr32
	movl	$3, %edi
	callq	_IGC_RXDCTL
	movl	%eax, %edi
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_wr32
	movl	(%r13), %edi
	movl	%r15d, %esi
	callq	_wr32
	xorl	%eax, %eax
	callq	_wrfl
	movq	_IGC_RLPML@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_wr32
	movq	_IGC_RFCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r12d, %esi
	callq	_wr32
	movq	_IGC_ROC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_IGC_RNBC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_rd32
	movq	_IGC_MPC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rd32                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IGC_RFCTL,4,2                  ## @IGC_RFCTL
	.comm	_IGC_RFCTL_IPV6_EX_DIS,4,2      ## @IGC_RFCTL_IPV6_EX_DIS
	.comm	_IGC_MANC,4,2                   ## @IGC_MANC
	.comm	_IGC_MANC_RCV_TCO_EN,4,2        ## @IGC_MANC_RCV_TCO_EN
	.comm	_IGC_RXDCTL_QUEUE_ENABLE,4,2    ## @IGC_RXDCTL_QUEUE_ENABLE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Queue disable timed out after 10ms\n"

	.comm	_IGC_RFCTL_LEF,4,2              ## @IGC_RFCTL_LEF
	.comm	_IGC_RLPML,4,2                  ## @IGC_RLPML
	.comm	_IGC_RCTL,4,2                   ## @IGC_RCTL
	.comm	_IGC_RCTL_EN,4,2                ## @IGC_RCTL_EN
	.comm	_IGC_RCTL_SBP,4,2               ## @IGC_RCTL_SBP
	.comm	_IGC_RCTL_LPE,4,2               ## @IGC_RCTL_LPE
	.comm	_IGC_ROC,4,2                    ## @IGC_ROC
	.comm	_IGC_RNBC,4,2                   ## @IGC_RNBC
	.comm	_IGC_MPC,4,2                    ## @IGC_MPC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_igc_rx_fifo_flush_base         ; -- Begin function igc_rx_fifo_flush_base
	.p2align	2
_igc_rx_fifo_flush_base:                ; @igc_rx_fifo_flush_base
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x20, _IGC_RFCTL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IGC_RFCTL@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_rd32
Lloh2:
	adrp	x8, _IGC_RFCTL_IPV6_EX_DIS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IGC_RFCTL_IPV6_EX_DIS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	orr	w19, w8, w0
	ldr	w0, [x20]
	mov	x1, x19
	bl	_wr32
Lloh5:
	adrp	x8, _IGC_MANC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IGC_MANC@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_rd32
Lloh8:
	adrp	x8, _IGC_MANC_RCV_TCO_EN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IGC_MANC_RCV_TCO_EN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.1:
	mov	w0, #0
	bl	_IGC_RXDCTL
	bl	_rd32
	mov	x21, x0
	mov	w0, #0
	bl	_IGC_RXDCTL
Lloh11:
	adrp	x25, _IGC_RXDCTL_QUEUE_ENABLE@GOTPAGE
Lloh12:
	ldr	x25, [x25, _IGC_RXDCTL_QUEUE_ENABLE@GOTPAGEOFF]
	ldr	w8, [x25]
	str	w21, [sp, #12]                  ; 4-byte Folded Spill
	bic	w1, w21, w8
	bl	_wr32
	mov	w0, #1
	bl	_IGC_RXDCTL
	bl	_rd32
	mov	x21, x0
	mov	w0, #1
	bl	_IGC_RXDCTL
	ldr	w8, [x25]
	bic	w1, w21, w8
	bl	_wr32
	mov	w0, #2
	bl	_IGC_RXDCTL
	bl	_rd32
	mov	x22, x0
	mov	w0, #2
	bl	_IGC_RXDCTL
	ldr	w8, [x25]
	bic	w1, w22, w8
	bl	_wr32
	mov	w0, #3
	bl	_IGC_RXDCTL
	bl	_rd32
	mov	x23, x0
	mov	w0, #3
	bl	_IGC_RXDCTL
	ldr	w8, [x25]
	bic	w1, w23, w8
	bl	_wr32
	mov	w26, #10
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #1000
	mov	w1, #2000
	bl	_usleep_range
	mov	w0, #0
	bl	_IGC_RXDCTL
	bl	_rd32
	mov	x24, x0
	mov	w0, #1
	bl	_IGC_RXDCTL
	bl	_rd32
	orr	w24, w0, w24
	mov	w0, #2
	bl	_IGC_RXDCTL
	bl	_rd32
	orr	w24, w0, w24
	mov	w0, #3
	bl	_IGC_RXDCTL
	bl	_rd32
	orr	w8, w0, w24
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	subs	w26, w26, #1
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_5:
	cbnz	w26, LBB0_7
LBB0_6:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
LBB0_7:
	ldr	w0, [x20]
Lloh15:
	adrp	x8, _IGC_RFCTL_LEF@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IGC_RFCTL_LEF@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	bic	w1, w19, w8
	bl	_wr32
Lloh18:
	adrp	x28, _IGC_RLPML@GOTPAGE
Lloh19:
	ldr	x28, [x28, _IGC_RLPML@GOTPAGEOFF]
	ldr	w0, [x28]
	bl	_rd32
	mov	x24, x0
	ldr	w0, [x28]
	mov	w1, #0
	bl	_wr32
Lloh20:
	adrp	x27, _IGC_RCTL@GOTPAGE
Lloh21:
	ldr	x27, [x27, _IGC_RCTL@GOTPAGEOFF]
	ldr	w0, [x27]
	bl	_rd32
	mov	x25, x0
Lloh22:
	adrp	x20, _IGC_RCTL_EN@GOTPAGE
Lloh23:
	ldr	x20, [x20, _IGC_RCTL_EN@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh24:
	adrp	x9, _IGC_RCTL_SBP@GOTPAGE
Lloh25:
	ldr	x9, [x9, _IGC_RCTL_SBP@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w8, w0, w8
Lloh27:
	adrp	x9, _IGC_RCTL_LPE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IGC_RCTL_LPE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w26, w8, w9
	ldr	w0, [x27]
	mov	x1, x26
	bl	_wr32
	ldr	w0, [x27]
	ldr	w8, [x20]
	orr	w1, w8, w26
	bl	_wr32
	bl	_wrfl
	mov	w0, #2000
	mov	w1, #3000
	bl	_usleep_range
	mov	w0, #0
	bl	_IGC_RXDCTL
	ldr	w1, [sp, #12]                   ; 4-byte Folded Reload
	bl	_wr32
	mov	w0, #1
	bl	_IGC_RXDCTL
	mov	x1, x21
	bl	_wr32
	mov	w0, #2
	bl	_IGC_RXDCTL
	mov	x1, x22
	bl	_wr32
	mov	w0, #3
	bl	_IGC_RXDCTL
	mov	x1, x23
	bl	_wr32
	ldr	w0, [x27]
	mov	x1, x25
	bl	_wr32
	bl	_wrfl
	ldr	w0, [x28]
	mov	x1, x24
	bl	_wr32
Lloh30:
	adrp	x8, _IGC_RFCTL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IGC_RFCTL@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_wr32
Lloh33:
	adrp	x8, _IGC_ROC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IGC_ROC@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_rd32
Lloh36:
	adrp	x8, _IGC_RNBC@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IGC_RNBC@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_rd32
Lloh39:
	adrp	x8, _IGC_MPC@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IGC_MPC@GOTPAGEOFF]
Lloh41:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_rd32
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_IGC_RFCTL,4,2                  ; @IGC_RFCTL
	.comm	_IGC_RFCTL_IPV6_EX_DIS,4,2      ; @IGC_RFCTL_IPV6_EX_DIS
	.comm	_IGC_MANC,4,2                   ; @IGC_MANC
	.comm	_IGC_MANC_RCV_TCO_EN,4,2        ; @IGC_MANC_RCV_TCO_EN
	.comm	_IGC_RXDCTL_QUEUE_ENABLE,4,2    ; @IGC_RXDCTL_QUEUE_ENABLE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Queue disable timed out after 10ms\n"

	.comm	_IGC_RFCTL_LEF,4,2              ; @IGC_RFCTL_LEF
	.comm	_IGC_RLPML,4,2                  ; @IGC_RLPML
	.comm	_IGC_RCTL,4,2                   ; @IGC_RCTL
	.comm	_IGC_RCTL_EN,4,2                ; @IGC_RCTL_EN
	.comm	_IGC_RCTL_SBP,4,2               ; @IGC_RCTL_SBP
	.comm	_IGC_RCTL_LPE,4,2               ; @IGC_RCTL_LPE
	.comm	_IGC_ROC,4,2                    ; @IGC_ROC
	.comm	_IGC_RNBC,4,2                   ; @IGC_RNBC
	.comm	_IGC_MPC,4,2                    ; @IGC_MPC
.subsections_via_symbols
