	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_fdir_flush_and_replay
_i40e_fdir_flush_and_replay:            ## @i40e_fdir_flush_and_replay
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	movq	_I40E_MIN_FD_FLUSH_INTERVAL@GOTPCREL(%rip), %rax
	movq	_HZ@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	imulq	(%rax), %rsi
	addq	(%r14), %rsi
	callq	_time_after
	testl	%eax, %eax
	je	LBB0_14
## %bb.1:
	movq	_I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE@GOTPCREL(%rip), %rax
	movq	(%rbx), %rsi
	imulq	(%rax), %rsi
	addq	(%r14), %rsi
	movl	8(%r14), %ebx
	movl	12(%r14), %r12d
	movq	(%r15), %rdi
	callq	_time_after
	movb	$1, %cl
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	subl	%r12d, %ebx
	movq	_I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_6
## %bb.3:
	movq	_I40E_DEBUG_FD@GOTPCREL(%rip), %rax
	movl	32(%r14), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	24(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_info
LBB0_5:
	xorl	%ecx, %ecx
LBB0_6:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	(%r15), %rax
	movq	%rax, (%r14)
	movq	___I40E_FD_ATR_AUTO_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%r14), %esi
	callq	_set_bit
	leaq	32(%r14), %rbx
	movq	_I40E_PFQF_CTL_1@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_I40E_PFQF_CTL_1_CLEARFDTABLE_MASK@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%rbx, %rdi
	callq	_wr32
	movq	%rbx, %rdi
	callq	_i40e_flush
	incl	64(%r14)
	movq	$0, 56(%r14)
	movl	$-50, %r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	$5000, %edi                     ## imm = 0x1388
	movl	$6000, %esi                     ## imm = 0x1770
	callq	_usleep_range
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_rd32
	andl	(%r12), %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	1(%r15), %ecx
	testl	%r15d, %r15d
	movl	%ecx, %r15d
	jne	LBB0_7
LBB0_9:
	testl	%eax, %eax
	je	LBB0_10
## %bb.15:
	movq	24(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_10:
	movq	16(%r14), %rax
	movq	48(%r14), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_i40e_fdir_filter_restore
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_13
## %bb.11:
	cmpl	$0, 40(%r14)
	jne	LBB0_13
## %bb.12:
	movq	___I40E_FD_ATR_AUTO_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%r14), %esi
	callq	_clear_bit
LBB0_13:
	movq	___I40E_FD_FLUSH_REQUESTED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	36(%r14), %esi
	callq	_clear_bit
	movq	_I40E_DEBUG_FD@GOTPCREL(%rip), %rax
	movl	32(%r14), %ecx
	testl	%ecx, (%rax)
	je	LBB0_14
## %bb.16:
	movq	24(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_14:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_I40E_MIN_FD_FLUSH_INTERVAL,8,3 ## @I40E_MIN_FD_FLUSH_INTERVAL
	.comm	_HZ,8,3                         ## @HZ
	.comm	_I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE,8,3 ## @I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE
	.comm	_I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR,4,2 ## @I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR
	.comm	_I40E_DEBUG_FD,4,2              ## @I40E_DEBUG_FD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ATR disabled, not enough FD filter space.\n"

	.comm	___I40E_FD_ATR_AUTO_DISABLED,4,2 ## @__I40E_FD_ATR_AUTO_DISABLED
	.comm	_I40E_PFQF_CTL_1,4,2            ## @I40E_PFQF_CTL_1
	.comm	_I40E_PFQF_CTL_1_CLEARFDTABLE_MASK,4,2 ## @I40E_PFQF_CTL_1_CLEARFDTABLE_MASK
L_.str.1:                               ## @.str.1
	.asciz	"FD table did not flush, needs more time\n"

	.comm	___I40E_FD_FLUSH_REQUESTED,4,2  ## @__I40E_FD_FLUSH_REQUESTED
L_.str.2:                               ## @.str.2
	.asciz	"FD Filter table flushed and FD-SB replayed.\n"

	.no_dead_strip	_i40e_fdir_flush_and_replay
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_fdir_flush_and_replay
_i40e_fdir_flush_and_replay:            ; @i40e_fdir_flush_and_replay
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x20, _jiffies@GOTPAGE
Lloh1:
	ldr	x20, [x20, _jiffies@GOTPAGEOFF]
	ldr	x0, [x20]
Lloh2:
	adrp	x8, _I40E_MIN_FD_FLUSH_INTERVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I40E_MIN_FD_FLUSH_INTERVAL@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x21, _HZ@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HZ@GOTPAGEOFF]
	ldr	x10, [x21]
	madd	x1, x10, x8, x9
	bl	_time_after
	cbz	w0, LBB0_16
; %bb.1:
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE@GOTPAGE
Lloh8:
	ldr	x9, [x9, _I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x10, [x21]
	madd	x1, x10, x9, x8
	ldp	w21, w22, [x19, #8]
	ldr	x0, [x20]
	bl	_time_after
	cbnz	w0, LBB0_6
; %bb.2:
Lloh10:
	adrp	x8, _I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	sub	w9, w21, w22
	cmp	w9, w8
	b.ge	LBB0_6
; %bb.3:
Lloh13:
	adrp	x8, _I40E_DEBUG_FD@GOTPAGE
Lloh14:
	ldr	x8, [x8, _I40E_DEBUG_FD@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x0, [x19, #24]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_5:
	mov	w21, #0
	b	LBB0_7
LBB0_6:
	mov	w21, #1
LBB0_7:
	ldr	x8, [x20]
	str	x8, [x19]
Lloh18:
	adrp	x22, ___I40E_FD_ATR_AUTO_DISABLED@GOTPAGE
Lloh19:
	ldr	x22, [x22, ___I40E_FD_ATR_AUTO_DISABLED@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x19, #36]
	bl	_set_bit
	add	x20, x19, #32
Lloh20:
	adrp	x23, _I40E_PFQF_CTL_1@GOTPAGE
Lloh21:
	ldr	x23, [x23, _I40E_PFQF_CTL_1@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh22:
	adrp	x24, _I40E_PFQF_CTL_1_CLEARFDTABLE_MASK@GOTPAGE
Lloh23:
	ldr	x24, [x24, _I40E_PFQF_CTL_1_CLEARFDTABLE_MASK@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x20
	bl	_wr32
	mov	x0, x20
	bl	_i40e_flush
	ldr	w8, [x19, #64]
	add	w8, w8, #1
	str	w8, [x19, #64]
	str	xzr, [x19, #56]
	mov	w25, #-50
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #5000
	mov	w1, #6000
	bl	_usleep_range
	ldr	w1, [x23]
	mov	x0, x20
	bl	_rd32
	ldr	w8, [x24]
	and	w8, w8, w0
	cmp	w8, #0
	ccmp	w25, #0, #4, ne
	add	w25, w25, #1
	b.ne	LBB0_8
; %bb.9:
	cbz	w8, LBB0_11
; %bb.10:
	ldr	x0, [x19, #24]
Lloh24:
	adrp	x1, l_.str.1@PAGE
Lloh25:
	add	x1, x1, l_.str.1@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_warn
LBB0_11:
	ldr	x8, [x19, #48]
	ldr	x9, [x19, #16]
	ldr	w0, [x8, x9, lsl #2]
	bl	_i40e_fdir_filter_restore
	cbz	w21, LBB0_14
; %bb.12:
	ldr	w8, [x19, #40]
	cbnz	w8, LBB0_14
; %bb.13:
	ldr	w0, [x22]
	ldr	w1, [x19, #36]
	bl	_clear_bit
LBB0_14:
Lloh26:
	adrp	x8, ___I40E_FD_FLUSH_REQUESTED@GOTPAGE
Lloh27:
	ldr	x8, [x8, ___I40E_FD_FLUSH_REQUESTED@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	w1, [x19, #36]
	bl	_clear_bit
Lloh29:
	adrp	x8, _I40E_DEBUG_FD@GOTPAGE
Lloh30:
	ldr	x8, [x8, _I40E_DEBUG_FD@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x19, #32]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	x0, [x19, #24]
Lloh32:
	adrp	x1, l_.str.2@PAGE
Lloh33:
	add	x1, x1, l_.str.2@PAGEOFF
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_dev_info
LBB0_16:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_I40E_MIN_FD_FLUSH_INTERVAL,8,3 ; @I40E_MIN_FD_FLUSH_INTERVAL
	.comm	_HZ,8,3                         ; @HZ
	.comm	_I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE,8,3 ; @I40E_MIN_FD_FLUSH_SB_ATR_UNSTABLE
	.comm	_I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR,4,2 ; @I40E_FDIR_BUFFER_HEAD_ROOM_FOR_ATR
	.comm	_I40E_DEBUG_FD,4,2              ; @I40E_DEBUG_FD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ATR disabled, not enough FD filter space.\n"

	.comm	___I40E_FD_ATR_AUTO_DISABLED,4,2 ; @__I40E_FD_ATR_AUTO_DISABLED
	.comm	_I40E_PFQF_CTL_1,4,2            ; @I40E_PFQF_CTL_1
	.comm	_I40E_PFQF_CTL_1_CLEARFDTABLE_MASK,4,2 ; @I40E_PFQF_CTL_1_CLEARFDTABLE_MASK
l_.str.1:                               ; @.str.1
	.asciz	"FD table did not flush, needs more time\n"

	.comm	___I40E_FD_FLUSH_REQUESTED,4,2  ; @__I40E_FD_FLUSH_REQUESTED
l_.str.2:                               ; @.str.2
	.asciz	"FD Filter table flushed and FD-SB replayed.\n"

	.no_dead_strip	_i40e_fdir_flush_and_replay
.subsections_via_symbols
