	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function i40e_clean_fdir_tx_irq
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_i40e_clean_fdir_tx_irq:                ## @i40e_clean_fdir_tx_irq
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	40(%rdi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	leaq	(%rbx,%rbx,2), %r13
	shlq	$3, %r13
	addq	24(%rdi), %r13
	movq	%rbx, %rsi
	callq	_I40E_TX_DESC
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	subq	16(%r14), %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	subq	16(%rdi), %rbx
	movq	24(%rdi), %r13
	xorl	%esi, %esi
	callq	_I40E_TX_DESC
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	decl	%r15d
	movl	%r15d, %edi
	callq	_likely
	testq	%rax, %rax
	je	LBB0_14
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %r14
	movq	8(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_smp_rmb
	movl	(%rbx), %ebx
	movq	_I40E_TX_DESC_DTYPE_DESC_DONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le64
	testl	%ebx, %eax
	je	LBB0_13
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, 8(%r13)
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	$0, 8(%r12)
	movl	$0, (%r12)
	xorl	%edi, %edi
	incq	%r14
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	subq	16(%rbx), %r14
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	24(%rbx), %r13
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_I40E_TX_DESC
	movq	%rax, %r12
	movq	_len@GOTPCREL(%rip), %r14
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	addq	$24, %r13
	addq	$16, %r12
	movq	_len@GOTPCREL(%rip), %r14
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	32(%rbx), %r15d
	movq	_dma@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_addr
	movl	%eax, %ebx
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_dma_unmap_len
	movq	_DMA_TO_DEVICE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_dma_unmap_single
	movq	_I40E_TX_FLAGS_FD_SB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r13), %rdi
	callq	_kfree
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$0, (%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r13)
	movl	(%r14), %esi
	movq	%r13, %rdi
	xorl	%edx, %edx
	callq	_dma_unmap_len_set
	movq	$0, 8(%r12)
	movl	$0, (%r12)
	xorl	%edi, %edi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	incq	%rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jne	LBB0_1
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	addq	$24, %r13
	addq	$16, %r12
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_13:
	movq	%r14, %rbx
LBB0_14:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	addq	16(%rdx), %rbx
	movq	%rbx, (%rdx)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	(%rdi), %rax
	movq	_I40E_FLAG_MSIX_ENABLED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_16
## %bb.15:
	movq	8(%rdx), %rax
	movl	(%rax), %esi
	callq	_i40e_irq_dynamic_enable
LBB0_16:
	xorl	%eax, %eax
	testl	%r15d, %r15d
	setg	%al
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_TX_DESC_DTYPE_DESC_DONE,4,2 ## @I40E_TX_DESC_DTYPE_DESC_DONE
	.comm	_dma,4,2                        ## @dma
	.comm	_len,4,2                        ## @len
	.comm	_DMA_TO_DEVICE,4,2              ## @DMA_TO_DEVICE
	.comm	_I40E_TX_FLAGS_FD_SB,4,2        ## @I40E_TX_FLAGS_FD_SB
	.comm	_I40E_FLAG_MSIX_ENABLED,4,2     ## @I40E_FLAG_MSIX_ENABLED
	.no_dead_strip	_i40e_clean_fdir_tx_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_clean_fdir_tx_irq
_i40e_clean_fdir_tx_irq:                ; @i40e_clean_fdir_tx_irq
	.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
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0, #40]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x22, [x0]
	ldr	x8, [x0, #24]
	mov	w9, #24
	madd	x25, x22, x9, x8
	mov	x1, x22
	bl	_I40E_TX_DESC
	mov	x23, x0
	ldr	x8, [x21, #16]
	sub	x24, x22, x8
Lloh0:
	adrp	x26, _I40E_TX_DESC_DTYPE_DESC_DONE@GOTPAGE
Lloh1:
	ldr	x26, [x26, _I40E_TX_DESC_DTYPE_DESC_DONE@GOTPAGEOFF]
Lloh2:
	adrp	x28, _len@GOTPAGE
Lloh3:
	ldr	x28, [x28, _len@GOTPAGEOFF]
Lloh4:
	adrp	x27, _I40E_TX_FLAGS_FD_SB@GOTPAGE
Lloh5:
	ldr	x27, [x27, _I40E_TX_FLAGS_FD_SB@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x25, [x21, #16]
	sub	x24, x24, x8
	mov	x0, x21
	mov	x1, #0
	bl	_I40E_TX_DESC
	mov	x23, x0
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w19, w19, #1
	mov	x0, x19
	bl	_likely
	cbz	x0, LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x25, #8]
	cbz	x20, LBB0_12
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_smp_rmb
	ldr	w20, [x20]
	ldr	w0, [x26]
	bl	_cpu_to_le64
	tst	w0, w20
	b.eq	LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [x25, #8]
	str	xzr, [x23, #8]
	str	wzr, [x23]
	adds	x20, x24, #1
	cset	w0, hs
	bl	_unlikely
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x22, [x21, #16]
	sub	x20, x20, x8
	mov	x0, x21
	mov	x1, #0
	bl	_I40E_TX_DESC
	mov	x23, x0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x25, #24
	add	x23, x23, #16
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w24, [x21, #32]
Lloh6:
	adrp	x8, _dma@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dma@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_dma_unmap_addr
	mov	x25, x0
	ldr	w1, [x28]
	mov	x0, x22
	bl	_dma_unmap_len
	mov	x2, x0
Lloh9:
	adrp	x8, _DMA_TO_DEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x24
	mov	x1, x25
	bl	_dma_unmap_single
	ldr	w8, [x22]
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x22, #16]
	bl	_kfree
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	str	wzr, [x22]
	stp	xzr, xzr, [x22, #8]
	ldr	w1, [x28]
	mov	x0, x22
	mov	w2, #0
	bl	_dma_unmap_len_set
	str	xzr, [x23, #8]
	str	wzr, [x23]
	adds	x24, x20, #1
	cset	w0, hs
	bl	_unlikely
	cbnz	x0, LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x22, #24
	add	x23, x23, #16
	b	LBB0_2
LBB0_12:
	ldr	x8, [x21, #16]
	add	x8, x8, x24
	str	x8, [x21]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _I40E_FLAG_MSIX_ENABLED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _I40E_FLAG_MSIX_ENABLED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	bl	_i40e_irq_dynamic_enable
LBB0_14:
	cmp	w19, #0
	cset	w0, gt
	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
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_TX_DESC_DTYPE_DESC_DONE,4,2 ; @I40E_TX_DESC_DTYPE_DESC_DONE
	.comm	_dma,4,2                        ; @dma
	.comm	_len,4,2                        ; @len
	.comm	_DMA_TO_DEVICE,4,2              ; @DMA_TO_DEVICE
	.comm	_I40E_TX_FLAGS_FD_SB,4,2        ; @I40E_TX_FLAGS_FD_SB
	.comm	_I40E_FLAG_MSIX_ENABLED,4,2     ; @I40E_FLAG_MSIX_ENABLED
	.no_dead_strip	_i40e_clean_fdir_tx_irq
.subsections_via_symbols
