	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function iavf_configure_clsflower
_iavf_configure_clsflower:              ## @iavf_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
	subq	$24, %rsp
	.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	32(%rdi), %edi
	movl	4(%rsi), %esi
	callq	_tc_classid_to_hwtc
	movq	_EINVAL@GOTPCREL(%rip), %r15
	xorl	%r14d, %r14d
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	subl	(%r15), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$20, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.3:
	movq	%rax, %r15
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	___IAVF_IN_CRITICAL_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	$-50, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	incl	%r12d
	je	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	$1, %edi
	callq	_udelay
	movq	___IAVF_IN_CRITICAL_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_5
LBB0_7:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	(%rbx), %eax
	movl	%eax, 16(%r15)
	leaq	12(%r15), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_VIRTCHNL_TCP_V4_FLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_iavf_parse_cls_flower
	testl	%eax, %eax
	js	LBB0_8
## %bb.10:
	movq	%r13, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	callq	_iavf_handle_tclass
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_9
## %bb.11:
	leaq	4(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r15, %rdi
	addq	$4, %rdi
	leaq	16(%r13), %rsi
	callq	_list_add_tail
	incl	12(%r13)
	movl	$1, (%r15)
	movq	_IAVF_FLAG_AQ_ADD_CLOUD_FILTER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%r13)
	movq	%r12, %rdi
	callq	_spin_unlock_bh
LBB0_12:
	testl	%r14d, %r14d
	jne	LBB0_9
## %bb.13:
	xorl	%r14d, %r14d
	jmp	LBB0_14
LBB0_1:
	movq	24(%r13), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	subl	(%r15), %r14d
	jmp	LBB0_15
LBB0_16:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_15
LBB0_8:
	movl	%eax, %r14d
LBB0_9:
	movq	%r15, %rdi
	callq	_kfree
LBB0_14:
	movq	___IAVF_IN_CRITICAL_TASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_clear_bit
LBB0_15:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid traffic class\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	___IAVF_IN_CRITICAL_TASK,4,2    ## @__IAVF_IN_CRITICAL_TASK
	.comm	_VIRTCHNL_TCP_V4_FLOW,4,2       ## @VIRTCHNL_TCP_V4_FLOW
	.comm	_IAVF_FLAG_AQ_ADD_CLOUD_FILTER,4,2 ## @IAVF_FLAG_AQ_ADD_CLOUD_FILTER
	.no_dead_strip	_iavf_configure_clsflower
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function iavf_configure_clsflower
_iavf_configure_clsflower:              ; @iavf_configure_clsflower
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x1
	mov	x19, x0
	ldr	w0, [x0, #32]
	ldr	w1, [x1, #4]
	bl	_tc_classid_to_hwtc
Lloh0:
	adrp	x20, _EINVAL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _EINVAL@GOTPAGEOFF]
	tbnz	w0, #31, LBB0_10
; %bb.1:
	mov	x22, x0
	ldr	w21, [x20]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #20
	bl	_kzalloc
	cbz	x0, LBB0_11
; %bb.2:
	mov	x20, x0
Lloh5:
	adrp	x24, ___IAVF_IN_CRITICAL_TASK@GOTPAGE
Lloh6:
	ldr	x24, [x24, ___IAVF_IN_CRITICAL_TASK@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_test_and_set_bit
	cbz	x0, LBB0_6
; %bb.3:
	neg	w21, w21
	mov	w25, #-50
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	adds	w25, w25, #1
	b.hs	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #1
	bl	_udelay
	ldr	w0, [x24]
	mov	x1, x19
	bl	_test_and_set_bit
	cbnz	x0, LBB0_4
LBB0_6:
	ldr	w8, [x23]
	str	w8, [x20, #16]
	add	x0, x20, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh7:
	adrp	x8, _VIRTCHNL_TCP_V4_FLOW@GOTPAGE
Lloh8:
	ldr	x8, [x8, _VIRTCHNL_TCP_V4_FLOW@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	mov	x0, x19
	mov	x1, x23
	mov	x2, x20
	bl	_iavf_parse_cls_flower
	tbnz	w0, #31, LBB0_12
; %bb.7:
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_iavf_handle_tclass
	mov	x21, x0
	tbnz	w0, #31, LBB0_13
; %bb.8:
	add	x22, x19, #4
	mov	x0, x22
	bl	_spin_lock_bh
	add	x0, x20, #4
	add	x1, x19, #16
	bl	_list_add_tail
	mov	w8, #1
	str	w8, [x20]
Lloh10:
	adrp	x8, _IAVF_FLAG_AQ_ADD_CLOUD_FILTER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IAVF_FLAG_AQ_ADD_CLOUD_FILTER@GOTPAGEOFF]
	ldr	d0, [x19, #8]
	movi.2s	v1, #1
	ld1.s	{ v1 }[0], [x8]
	movi.2s	v2, #1
	orr.8b	v1, v0, v1
	add.2s	v0, v0, v2
	mov.s	v1[1], v0[1]
	str	d1, [x19, #8]
	mov	x0, x22
	bl	_spin_unlock_bh
LBB0_9:
	cbnz	w21, LBB0_13
	b	LBB0_14
LBB0_10:
	ldr	x0, [x19, #24]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	w8, [x20]
	neg	w21, w8
	b	LBB0_15
LBB0_11:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_15
LBB0_12:
	mov	x21, x0
LBB0_13:
	mov	x0, x20
	bl	_kfree
LBB0_14:
	ldr	w0, [x24]
	mov	x1, x19
	bl	_clear_bit
LBB0_15:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid traffic class\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	___IAVF_IN_CRITICAL_TASK,4,2    ; @__IAVF_IN_CRITICAL_TASK
	.comm	_VIRTCHNL_TCP_V4_FLOW,4,2       ; @VIRTCHNL_TCP_V4_FLOW
	.comm	_IAVF_FLAG_AQ_ADD_CLOUD_FILTER,4,2 ; @IAVF_FLAG_AQ_ADD_CLOUD_FILTER
	.no_dead_strip	_iavf_configure_clsflower
.subsections_via_symbols
