	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_configure_clsflower
_i40e_configure_clsflower:              ## @i40e_configure_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r13
	movl	8(%rdi), %edi
	movl	4(%rsi), %esi
	callq	_tc_classid_to_hwtc
	movq	(%r13), %r14
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movl	%eax, %r15d
	movq	___I40E_RESET_RECOVERY_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movq	___I40E_RESET_INTR_RECEIVED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	40(%r14), %esi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_8
LBB0_3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_5:
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_6:
	subl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	cmpq	$0, 32(%r14)
	je	LBB0_10
LBB0_9:
	movq	(%r13), %rax
	movq	16(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_10:
	leaq	24(%r14), %rdi
	callq	_hlist_empty
	testl	%eax, %eax
	je	LBB0_9
## %bb.11:
	movq	(%r13), %rax
	movq	_I40E_FLAG_FD_SB_ENABLED@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_13
## %bb.12:
	movq	16(%rax), %rdi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movl	(%rbx), %eax
	notl	%eax
	movq	(%r13), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rcx)
	movq	_I40E_FLAG_FD_SB_TO_CLOUD_FILTER@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, (%rcx)
LBB0_13:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	movl	(%r12), %ecx
	movl	%ecx, 16(%rax)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%rax, %r12
	movq	%rax, %rdx
	callq	_i40e_parse_cls_flower
	testl	%eax, %eax
	js	LBB0_20
## %bb.15:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_i40e_handle_tclass
	testl	%eax, %eax
	js	LBB0_20
## %bb.16:
	cmpq	$0, 8(%r12)
	je	LBB0_21
## %bb.17:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_i40e_add_del_cloud_filter_big_buf
	jmp	LBB0_22
LBB0_18:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_20:
	movl	%eax, %ebx
	jmp	LBB0_24
LBB0_21:
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$1, %edx
	callq	_i40e_add_del_cloud_filter
LBB0_22:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_25
## %bb.23:
	movq	16(%r14), %r15
	addq	$12, %r14
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_i40e_stat_str
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_24:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_7
LBB0_25:
	movq	%r12, %rdi
	callq	_INIT_HLIST_NODE
	leaq	8(%r14), %rsi
	movq	%r12, %rdi
	callq	_hlist_add_head
	incl	4(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid traffic class\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	___I40E_RESET_RECOVERY_PENDING,4,2 ## @__I40E_RESET_RECOVERY_PENDING
	.comm	___I40E_RESET_INTR_RECEIVED,4,2 ## @__I40E_RESET_INTR_RECEIVED
	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"Flow Director Sideband filters exists, turn ntuple off to configure cloud filters\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_I40E_FLAG_FD_SB_ENABLED,4,2    ## @I40E_FLAG_FD_SB_ENABLED
L_.str.2:                               ## @.str.2
	.asciz	"Disable Flow Director Sideband, configuring Cloud filters via tc-flower\n"

	.comm	_I40E_FLAG_FD_SB_TO_CLOUD_FILTER,4,2 ## @I40E_FLAG_FD_SB_TO_CLOUD_FILTER
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.3:                               ## @.str.3
	.asciz	"Failed to add cloud filter, err %s\n"

	.no_dead_strip	_i40e_configure_clsflower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_configure_clsflower
_i40e_configure_clsflower:              ; @i40e_configure_clsflower
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x1, #4]
	bl	_tc_classid_to_hwtc
	ldr	x23, [x19]
	tbnz	w0, #31, LBB0_4
; %bb.1:
	mov	x20, x0
Lloh0:
	adrp	x8, ___I40E_RESET_RECOVERY_PENDING@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___I40E_RESET_RECOVERY_PENDING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x23, #40]
	bl	_test_bit
	cbnz	x0, LBB0_3
; %bb.2:
Lloh3:
	adrp	x8, ___I40E_RESET_INTR_RECEIVED@GOTPAGE
Lloh4:
	ldr	x8, [x8, ___I40E_RESET_INTR_RECEIVED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x23, #40]
	bl	_test_bit
	cbz	x0, LBB0_7
LBB0_3:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	ldr	x0, [x23, #16]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh10:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_9
LBB0_8:
	ldr	x8, [x19]
	ldr	x0, [x8, #16]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
LBB0_9:
	add	x0, x23, #24
	bl	_hlist_empty
	cbz	w0, LBB0_8
; %bb.10:
	ldr	x8, [x19]
	ldr	w9, [x8]
Lloh16:
	adrp	x22, _I40E_FLAG_FD_SB_ENABLED@GOTPAGE
Lloh17:
	ldr	x22, [x22, _I40E_FLAG_FD_SB_ENABLED@GOTPAGEOFF]
	ldr	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_12
; %bb.11:
	ldr	x0, [x8, #16]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
	ldr	w8, [x22]
	ldr	x9, [x19]
	ldr	w10, [x9]
	bic	w8, w10, w8
	str	w8, [x9]
Lloh20:
	adrp	x10, _I40E_FLAG_FD_SB_TO_CLOUD_FILTER@GOTPAGE
Lloh21:
	ldr	x10, [x10, _I40E_FLAG_FD_SB_TO_CLOUD_FILTER@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	orr	w8, w10, w8
	str	w8, [x9]
LBB0_12:
Lloh23:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_17
; %bb.13:
	mov	x22, x0
	ldr	w8, [x21]
	str	w8, [x0, #16]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_i40e_parse_cls_flower
	tbnz	w0, #31, LBB0_18
; %bb.14:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_i40e_handle_tclass
	tbnz	w0, #31, LBB0_18
; %bb.15:
	ldr	x8, [x22, #8]
	cbz	x8, LBB0_19
; %bb.16:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_i40e_add_del_cloud_filter_big_buf
	b	LBB0_20
LBB0_17:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_5
LBB0_18:
	mov	x21, x0
	b	LBB0_22
LBB0_19:
	mov	x0, x19
	mov	x1, x22
	mov	w2, #1
	bl	_i40e_add_del_cloud_filter
LBB0_20:
	mov	x21, x0
	cbz	w0, LBB0_23
; %bb.21:
	ldr	x19, [x23, #16]
	add	x0, x23, #12
	mov	x1, x21
	bl	_i40e_stat_str
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_22:
	mov	x0, x22
	bl	_kfree
	b	LBB0_6
LBB0_23:
	mov	x0, x22
	bl	_INIT_HLIST_NODE
	add	x1, x23, #8
	mov	x0, x22
	bl	_hlist_add_head
	ldr	w8, [x23, #4]
	add	w8, w8, #1
	str	w8, [x23, #4]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid traffic class\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	___I40E_RESET_RECOVERY_PENDING,4,2 ; @__I40E_RESET_RECOVERY_PENDING
	.comm	___I40E_RESET_INTR_RECEIVED,4,2 ; @__I40E_RESET_INTR_RECEIVED
	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"Flow Director Sideband filters exists, turn ntuple off to configure cloud filters\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_I40E_FLAG_FD_SB_ENABLED,4,2    ; @I40E_FLAG_FD_SB_ENABLED
l_.str.2:                               ; @.str.2
	.asciz	"Disable Flow Director Sideband, configuring Cloud filters via tc-flower\n"

	.comm	_I40E_FLAG_FD_SB_TO_CLOUD_FILTER,4,2 ; @I40E_FLAG_FD_SB_TO_CLOUD_FILTER
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.3:                               ; @.str.3
	.asciz	"Failed to add cloud filter, err %s\n"

	.no_dead_strip	_i40e_configure_clsflower
.subsections_via_symbols
