	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_program_fdir_filter
_i40e_program_fdir_filter:              ## @i40e_program_fdir_filter
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	_I40E_VSI_FDIR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rdx, %rdi
	callq	_i40e_find_vsi_by_type
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	movq	(%rax), %rax
	movq	(%rax), %r15
	movq	32(%r15), %r12
	movq	_I40E_FD_CLEAN_DELAY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r15, %rdi
	callq	_I40E_DESC_UNUSED
	cmpl	$1, %eax
	jg	LBB0_8
## %bb.4:
	incq	%rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	decq	%rbx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_msleep_interruptible
	movq	%r15, %rdi
	callq	_I40E_DESC_UNUSED
	cmpl	$2, %eax
	jl	LBB0_5
LBB0_8:
	movq	_I40E_FDIR_MAX_RAW_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_dma_map_single
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	_dma_mapping_error
	movl	$-1, %r12d
	testq	%rax, %rax
	jne	LBB0_10
## %bb.9:
	movq	(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_i40e_fdir
	movq	(%r15), %r13
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_I40E_TX_DESC
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	24(%r15), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	(,%r13,2), %rcx
	addq	%r13, %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	incq	%r13
	xorl	%r12d, %r12d
	cmpq	8(%r15), %r13
	leaq	(%rax,%rcx,8), %rbx
	cmovaeq	%r12, %r13
	movq	%r13, (%r15)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_len@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_I40E_FDIR_MAX_RAW_PACKET_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_dma_unmap_len_set
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r14d, %edx
	callq	_dma_unmap_addr_set
	movl	%r14d, %edi
	callq	_cpu_to_le64
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, 4(%rbx)
	movq	_I40E_TXD_CMD@GOTPCREL(%rip), %rax
	movq	_I40E_TX_DESC_CMD_DUMMY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	movq	_I40E_TX_FLAGS_FD_SB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 16(%rcx,%rdx,8)
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%rcx,%rdx,8)
	movl	(%r13), %edx
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	callq	_build_ctob
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_wmb
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%rax,2), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rbx, (%rcx,%rax,8)
	movq	(%r15), %rdi
	movl	16(%r15), %esi
	callq	_writel
	jmp	LBB0_10
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_10:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VSI_FDIR,4,2              ## @I40E_VSI_FDIR
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_I40E_FD_CLEAN_DELAY,8,3        ## @I40E_FD_CLEAN_DELAY
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_I40E_FDIR_MAX_RAW_PACKET_SIZE,4,2 ## @I40E_FDIR_MAX_RAW_PACKET_SIZE
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_len,4,2                        ## @len
	.comm	_I40E_TXD_CMD,4,2               ## @I40E_TXD_CMD
	.comm	_I40E_TX_DESC_CMD_DUMMY,4,2     ## @I40E_TX_DESC_CMD_DUMMY
	.comm	_I40E_TX_FLAGS_FD_SB,4,2        ## @I40E_TX_FLAGS_FD_SB
	.no_dead_strip	_i40e_program_fdir_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_program_fdir_filter
_i40e_program_fdir_filter:              ; @i40e_program_fdir_filter
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x3
	mov	x20, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _I40E_VSI_FDIR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VSI_FDIR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x2
	bl	_i40e_find_vsi_by_type
	cbz	x0, LBB0_7
; %bb.1:
	ldr	x8, [x0]
	ldr	x19, [x8]
	ldr	x24, [x19, #32]
Lloh3:
	adrp	x8, _I40E_FD_CLEAN_DELAY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_FD_CLEAN_DELAY@GOTPAGEOFF]
Lloh5:
	ldr	x23, [x8]
	mov	x0, x19
	bl	_I40E_DESC_UNUSED
	cmp	w0, #1
	b.gt	LBB0_5
; %bb.2:
	add	x23, x23, #1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	subs	x23, x23, #1
	b.eq	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w0, #1
	bl	_msleep_interruptible
	mov	x0, x19
	bl	_I40E_DESC_UNUSED
	cmp	w0, #2
	b.lt	LBB0_3
LBB0_5:
Lloh6:
	adrp	x25, _I40E_FDIR_MAX_RAW_PACKET_SIZE@GOTPAGE
Lloh7:
	ldr	x25, [x25, _I40E_FDIR_MAX_RAW_PACKET_SIZE@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh8:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x24
	mov	x1, x20
	bl	_dma_map_single
	mov	x23, x0
	mov	x0, x24
	mov	x1, x23
	bl	_dma_mapping_error
	cbz	x0, LBB0_10
; %bb.6:
	mov	w0, #-1
	b	LBB0_11
LBB0_7:
Lloh11:
	adrp	x8, _ENOENT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh13:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_11
LBB0_10:
	ldr	x26, [x19]
	ldr	x27, [x19, #24]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_i40e_fdir
	ldr	x22, [x19]
	mov	x0, x19
	mov	x1, x22
	bl	_I40E_TX_DESC
	mov	x21, x0
	ldr	x8, [x19, #24]
	mov	w28, #24
	madd	x24, x22, x28, x8
	add	x8, x22, #1
	ldr	x9, [x19, #8]
	cmp	x8, x9
	csinc	x8, xzr, x22, hs
	str	x8, [x19]
	mov	x0, x24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh15:
	adrp	x8, _len@GOTPAGE
Lloh16:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	ldr	w2, [x25]
	mov	x0, x24
	bl	_dma_unmap_len_set
	mov	x0, x24
	mov	x1, x23
	mov	x2, x23
	bl	_dma_unmap_addr_set
	mov	x0, x23
	bl	_cpu_to_le64
Lloh18:
	adrp	x8, _I40E_TXD_CMD@GOTPAGE
Lloh19:
	ldr	x8, [x8, _I40E_TXD_CMD@GOTPAGEOFF]
	str	w0, [x21, #4]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _I40E_TX_DESC_CMD_DUMMY@GOTPAGE
Lloh22:
	ldr	x9, [x9, _I40E_TX_DESC_CMD_DUMMY@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w0, w9, w8
Lloh24:
	adrp	x8, _I40E_TX_FLAGS_FD_SB@GOTPAGE
Lloh25:
	ldr	x8, [x8, _I40E_TX_FLAGS_FD_SB@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x24, #16]
	str	x20, [x24, #8]
	ldr	w2, [x25]
	mov	w1, #0
	mov	w3, #0
	bl	_build_ctob
	str	w0, [x21]
	bl	_wmb
	mul	x8, x26, x28
	str	x21, [x27, x8]
	ldr	x0, [x19]
	ldr	w1, [x19, #16]
	bl	_writel
	mov	w0, #0
LBB0_11:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VSI_FDIR,4,2              ; @I40E_VSI_FDIR
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_I40E_FD_CLEAN_DELAY,8,3        ; @I40E_FD_CLEAN_DELAY
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_I40E_FDIR_MAX_RAW_PACKET_SIZE,4,2 ; @I40E_FDIR_MAX_RAW_PACKET_SIZE
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_len,4,2                        ; @len
	.comm	_I40E_TXD_CMD,4,2               ; @I40E_TXD_CMD
	.comm	_I40E_TX_DESC_CMD_DUMMY,4,2     ; @I40E_TX_DESC_CMD_DUMMY
	.comm	_I40E_TX_FLAGS_FD_SB,4,2        ; @I40E_TX_FLAGS_FD_SB
	.no_dead_strip	_i40e_program_fdir_filter
.subsections_via_symbols
