	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_reenable_fdir_atr
_i40e_reenable_fdir_atr:                ## @i40e_reenable_fdir_atr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	___I40E_FD_ATR_AUTO_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	20(%rbx), %esi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_I40E_L3_SRC_MASK@GOTPCREL(%rip), %rax
	movq	_I40E_L3_DST_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_I40E_FILTER_PCTYPE_NONF_IPV4_TCP@GOTPCREL(%rip), %rax
	movq	_I40E_L4_SRC_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movl	(%rax), %esi
	movq	_I40E_L4_DST_MASK@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_i40e_write_fd_input_set
	movq	_I40E_FLAG_FD_ATR_ENABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_3
## %bb.2:
	movq	_I40E_DEBUG_FD@GOTPCREL(%rip), %rax
	movl	16(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.4:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dev_info                       ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_FD_ATR_AUTO_DISABLED,4,2 ## @__I40E_FD_ATR_AUTO_DISABLED
	.comm	_I40E_FILTER_PCTYPE_NONF_IPV4_TCP,4,2 ## @I40E_FILTER_PCTYPE_NONF_IPV4_TCP
	.comm	_I40E_L3_SRC_MASK,4,2           ## @I40E_L3_SRC_MASK
	.comm	_I40E_L3_DST_MASK,4,2           ## @I40E_L3_DST_MASK
	.comm	_I40E_L4_SRC_MASK,4,2           ## @I40E_L4_SRC_MASK
	.comm	_I40E_L4_DST_MASK,4,2           ## @I40E_L4_DST_MASK
	.comm	_I40E_FLAG_FD_ATR_ENABLED,4,2   ## @I40E_FLAG_FD_ATR_ENABLED
	.comm	_I40E_DEBUG_FD,4,2              ## @I40E_DEBUG_FD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ATR is being enabled since we have space in the table and there are no conflicting ntuple rules\n"

	.no_dead_strip	_i40e_reenable_fdir_atr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_reenable_fdir_atr
_i40e_reenable_fdir_atr:                ; @i40e_reenable_fdir_atr
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, ___I40E_FD_ATR_AUTO_DISABLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___I40E_FD_ATR_AUTO_DISABLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #20]
	bl	_test_and_clear_bit
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _I40E_FILTER_PCTYPE_NONF_IPV4_TCP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_FILTER_PCTYPE_NONF_IPV4_TCP@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _I40E_L3_SRC_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_L3_SRC_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _I40E_L3_DST_MASK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _I40E_L3_DST_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh12:
	adrp	x9, _I40E_L4_SRC_MASK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I40E_L4_SRC_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh15:
	adrp	x9, _I40E_L4_DST_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _I40E_L4_DST_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_i40e_write_fd_input_set
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _I40E_FLAG_FD_ATR_ENABLED@GOTPAGE
Lloh19:
	ldr	x9, [x9, _I40E_FLAG_FD_ATR_ENABLED@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh21:
	adrp	x8, _I40E_DEBUG_FD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I40E_DEBUG_FD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x19, #16]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dev_info
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_FD_ATR_AUTO_DISABLED,4,2 ; @__I40E_FD_ATR_AUTO_DISABLED
	.comm	_I40E_FILTER_PCTYPE_NONF_IPV4_TCP,4,2 ; @I40E_FILTER_PCTYPE_NONF_IPV4_TCP
	.comm	_I40E_L3_SRC_MASK,4,2           ; @I40E_L3_SRC_MASK
	.comm	_I40E_L3_DST_MASK,4,2           ; @I40E_L3_DST_MASK
	.comm	_I40E_L4_SRC_MASK,4,2           ; @I40E_L4_SRC_MASK
	.comm	_I40E_L4_DST_MASK,4,2           ; @I40E_L4_DST_MASK
	.comm	_I40E_FLAG_FD_ATR_ENABLED,4,2   ; @I40E_FLAG_FD_ATR_ENABLED
	.comm	_I40E_DEBUG_FD,4,2              ; @I40E_DEBUG_FD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ATR is being enabled since we have space in the table and there are no conflicting ntuple rules\n"

	.no_dead_strip	_i40e_reenable_fdir_atr
.subsections_via_symbols
