	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_delete_clsflower
_i40e_delete_clsflower:                 ## @i40e_delete_clsflower
	.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
	movq	%rdi, %rbx
	movq	(%rdi), %r12
	callq	_i40e_find_cloud_filter
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movq	%rax, %rdi
	addq	$8, %rdi
	callq	_hash_del
	cmpq	$0, (%r15)
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_i40e_add_del_cloud_filter_big_buf
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_10
LBB0_4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_i40e_add_del_cloud_filter
LBB0_5:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_kfree
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.11:
	movq	16(%r12), %rbx
	leaq	8(%r12), %rdi
	movl	%r14d, %esi
	callq	_i40e_stat_str
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_dev_err
	movl	8(%r12), %esi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i40e_aq_rc_to_posix            ## TAILCALL
LBB0_6:
	xorl	%eax, %eax
	decl	4(%r12)
	je	LBB0_7
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	(%r12), %ecx
	movq	_I40E_FLAG_FD_SB_TO_CLOUD_FILTER@GOTPCREL(%rip), %rsi
	testl	%ecx, (%rsi)
	je	LBB0_10
## %bb.8:
	movq	_I40E_FLAG_FD_SB_INACTIVE@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_10
## %bb.9:
	movq	_I40E_FLAG_FD_SB_ENABLED@GOTPCREL(%rip), %rdi
	orl	(%rdi), %ecx
	movl	%ecx, (%r12)
	movl	(%rsi), %esi
	notl	%esi
	andl	%ecx, %esi
	movl	%esi, (%r12)
	movl	(%rdx), %ecx
	notl	%ecx
	andl	%esi, %ecx
	movl	%ecx, (%r12)
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to delete cloud filter, err %s\n"

	.comm	_I40E_FLAG_FD_SB_TO_CLOUD_FILTER,4,2 ## @I40E_FLAG_FD_SB_TO_CLOUD_FILTER
	.comm	_I40E_FLAG_FD_SB_INACTIVE,4,2   ## @I40E_FLAG_FD_SB_INACTIVE
	.comm	_I40E_FLAG_FD_SB_ENABLED,4,2    ## @I40E_FLAG_FD_SB_ENABLED
	.no_dead_strip	_i40e_delete_clsflower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_delete_clsflower
_i40e_delete_clsflower:                 ; @i40e_delete_clsflower
	.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	x20, x0
	ldr	x21, [x0]
	bl	_i40e_find_cloud_filter
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	add	x0, x0, #8
	bl	_hash_del
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_i40e_add_del_cloud_filter_big_buf
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_9
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_i40e_add_del_cloud_filter
LBB0_5:
	mov	x20, x0
	mov	x0, x19
	bl	_kfree
	cbz	w20, LBB0_7
; %bb.6:
	ldr	x19, [x21, #16]
	add	x0, x21, #8
	mov	x1, x20
	bl	_i40e_stat_str
	mov	x2, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w1, [x21, #8]
	mov	x0, x20
	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
	b	_i40e_aq_rc_to_posix
LBB0_7:
	ldr	w8, [x21, #4]
	subs	w8, w8, #1
	str	w8, [x21, #4]
	b.eq	LBB0_10
LBB0_8:
	mov	w0, #0
LBB0_9:
	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
LBB0_10:
	ldr	w9, [x21]
Lloh5:
	adrp	x8, _I40E_FLAG_FD_SB_TO_CLOUD_FILTER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _I40E_FLAG_FD_SB_TO_CLOUD_FILTER@GOTPAGEOFF]
	ldr	w10, [x8]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.11:
Lloh7:
	adrp	x10, _I40E_FLAG_FD_SB_INACTIVE@GOTPAGE
Lloh8:
	ldr	x10, [x10, _I40E_FLAG_FD_SB_INACTIVE@GOTPAGEOFF]
	ldr	w11, [x10]
	tst	w11, w9
	b.ne	LBB0_8
; %bb.12:
	mov	w0, #0
Lloh9:
	adrp	x11, _I40E_FLAG_FD_SB_ENABLED@GOTPAGE
Lloh10:
	ldr	x11, [x11, _I40E_FLAG_FD_SB_ENABLED@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	orr	w9, w11, w9
	str	w9, [x21]
	ldr	w8, [x8]
	bic	w8, w9, w8
	str	w8, [x21]
	ldr	w9, [x10]
	bic	w8, w8, w9
	str	w8, [x21]
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to delete cloud filter, err %s\n"

	.comm	_I40E_FLAG_FD_SB_TO_CLOUD_FILTER,4,2 ; @I40E_FLAG_FD_SB_TO_CLOUD_FILTER
	.comm	_I40E_FLAG_FD_SB_INACTIVE,4,2   ; @I40E_FLAG_FD_SB_INACTIVE
	.comm	_I40E_FLAG_FD_SB_ENABLED,4,2    ; @I40E_FLAG_FD_SB_ENABLED
	.no_dead_strip	_i40e_delete_clsflower
.subsections_via_symbols
