	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_set_rss_lut               ## -- Begin function iavf_set_rss_lut
	.p2align	4, 0x90
_iavf_set_rss_lut:                      ## @iavf_set_rss_lut
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movq	_VIRTCHNL_OP_UNKNOWN@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdx
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %eax
	leal	11(,%rax,4), %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r15
	movl	20(%rbx), %eax
	movl	%eax, 8(%r15)
	movl	8(%rbx), %edx
	movl	%edx, (%r15)
	movl	4(%r15), %edi
	movl	16(%rbx), %esi
	callq	_memcpy
	movq	_VIRTCHNL_OP_CONFIG_RSS_LUT@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	_IAVF_FLAG_AQ_SET_RSS_LUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%ecx, 12(%rbx)
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_iavf_send_pf_msg
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
LBB0_3:
	movq	24(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ## @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot set RSS LUT, command %d pending\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_VIRTCHNL_OP_CONFIG_RSS_LUT,8,3 ## @VIRTCHNL_OP_CONFIG_RSS_LUT
	.comm	_IAVF_FLAG_AQ_SET_RSS_LUT,4,2   ## @IAVF_FLAG_AQ_SET_RSS_LUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iavf_set_rss_lut               ; -- Begin function iavf_set_rss_lut
	.p2align	2
_iavf_set_rss_lut:                      ; @iavf_set_rss_lut
	.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	x19, x0
	ldr	x2, [x0]
Lloh0:
	adrp	x8, _VIRTCHNL_OP_UNKNOWN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTCHNL_OP_UNKNOWN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x19, #8]
	lsl	w8, w8, #2
	add	w20, w8, #11
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x21, x0
	ldp	w1, w8, [x19, #16]
	str	w8, [x0, #8]
	ldr	w2, [x19, #8]
	str	w2, [x0]
	ldr	w0, [x0, #4]
	bl	_memcpy
Lloh6:
	adrp	x8, _VIRTCHNL_OP_CONFIG_RSS_LUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIRTCHNL_OP_CONFIG_RSS_LUT@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh8:
	adrp	x10, _IAVF_FLAG_AQ_SET_RSS_LUT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IAVF_FLAG_AQ_SET_RSS_LUT@GOTPAGEOFF]
	str	x9, [x19]
Lloh10:
	ldr	w9, [x10]
	ldr	w10, [x19, #12]
	bic	w9, w10, w9
	str	w9, [x19, #12]
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_iavf_send_pf_msg
	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
	b	_kfree
LBB0_3:
	ldr	x0, [x19, #24]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	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	_dev_err
LBB0_4:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_OP_UNKNOWN,8,3        ; @VIRTCHNL_OP_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot set RSS LUT, command %d pending\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_VIRTCHNL_OP_CONFIG_RSS_LUT,8,3 ; @VIRTCHNL_OP_CONFIG_RSS_LUT
	.comm	_IAVF_FLAG_AQ_SET_RSS_LUT,4,2   ; @IAVF_FLAG_AQ_SET_RSS_LUT
.subsections_via_symbols
