	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_clean_programming_status  ## -- Begin function i40e_clean_programming_status
	.p2align	4, 0x90
_i40e_clean_programming_status:         ## @i40e_clean_programming_status
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r12
	movl	%edx, %edi
	callq	_i40e_rx_is_programming_status
	xorl	%esi, %esi
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movslq	(%r12), %r14
	leal	1(%r14), %eax
	shlq	$2, %r14
	addq	8(%r12), %r14
	cmpl	4(%r12), %eax
	cmovll	%eax, %esi
	movl	%esi, (%r12)
	movq	%r12, %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_I40E_RX_DESC
	movl	%eax, %edi
	callq	_prefetch
	movq	_I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	_I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	sarl	%cl, %ebx
	movq	_I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_i40e_fd_handle_status
	jmp	LBB0_4
LBB0_1:
	xorl	%r14d, %r14d
LBB0_4:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK,4,2 ## @I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK
	.comm	_I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT,4,2 ## @I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT
	.comm	_I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS,4,2 ## @I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_clean_programming_status  ; -- Begin function i40e_clean_programming_status
	.p2align	2
_i40e_clean_programming_status:         ; @i40e_clean_programming_status
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	mov	x0, x2
	bl	_i40e_rx_is_programming_status
	cbz	w0, LBB0_3
; %bb.1:
	ldr	x8, [x20, #8]
	ldp	w9, w10, [x20]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	w11, w9, #1
	add	x21, x8, x9, lsl #2
	cmp	w11, w10
	csinc	w1, wzr, w9, ge
	str	w1, [x20]
	mov	x0, x20
	bl	_I40E_RX_DESC
	bl	_prefetch
Lloh0:
	adrp	x8, _I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w22
Lloh3:
	adrp	x9, _I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	asr	w2, w8, w9
Lloh6:
	adrp	x8, _I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_i40e_fd_handle_status
	b	LBB0_4
LBB0_3:
	mov	x21, #0
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK,4,2 ; @I40E_RX_PROG_STATUS_DESC_QW1_PROGID_MASK
	.comm	_I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT,4,2 ; @I40E_RX_PROG_STATUS_DESC_QW1_PROGID_SHIFT
	.comm	_I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS,4,2 ; @I40E_RX_PROG_STATUS_DESC_FD_FILTER_STATUS
.subsections_via_symbols
