	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vc_config_rss_lut
_ice_vc_config_rss_lut:                 ## @ice_vc_config_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	%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, %r15
	movq	%rdi, %rbx
	movq	_VIRTCHNL_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rdi), %r12
	movq	_ICE_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	12(%r15), %esi
	movq	%rbx, %rdi
	callq	_ice_vc_isvalid_vsi_id
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	movq	(%r15), %rax
	movq	_ICE_VSIQF_HLUT_ARRAY_SIZE@GOTPCREL(%rip), %r13
	cmpq	(%r13), %rax
	jne	LBB0_1
## %bb.4:
	movq	_ICE_FLAG_RSS_ENA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rax
	movl	8(%rax), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.5:
	movq	(%r12), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	movl	8(%r15), %edx
	movq	(%r13), %rcx
	xorl	%esi, %esi
	callq	_ice_set_rss
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_VIRTCHNL_STATUS_ERR_PARAM@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %r14d
LBB0_9:
	movq	_VIRTCHNL_OP_CONFIG_RSS_LUT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ice_vc_send_msg_to_vf          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_STATUS_SUCCESS,4,2    ## @VIRTCHNL_STATUS_SUCCESS
	.comm	_ICE_VF_STATE_ACTIVE,4,2        ## @ICE_VF_STATE_ACTIVE
	.comm	_VIRTCHNL_STATUS_ERR_PARAM,4,2  ## @VIRTCHNL_STATUS_ERR_PARAM
	.comm	_ICE_VSIQF_HLUT_ARRAY_SIZE,8,3  ## @ICE_VSIQF_HLUT_ARRAY_SIZE
	.comm	_ICE_FLAG_RSS_ENA,4,2           ## @ICE_FLAG_RSS_ENA
	.comm	_VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR,4,2 ## @VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR
	.comm	_VIRTCHNL_OP_CONFIG_RSS_LUT,4,2 ## @VIRTCHNL_OP_CONFIG_RSS_LUT
	.no_dead_strip	_ice_vc_config_rss_lut
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_vc_config_rss_lut
_ice_vc_config_rss_lut:                 ; @ice_vc_config_rss_lut
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _VIRTCHNL_STATUS_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTCHNL_STATUS_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	x22, [x0, #8]
Lloh3:
	adrp	x8, _ICE_VF_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	ldr	w1, [x20, #12]
	mov	x0, x19
	bl	_ice_vc_isvalid_vsi_id
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x20]
Lloh6:
	adrp	x23, _ICE_VSIQF_HLUT_ARRAY_SIZE@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ICE_VSIQF_HLUT_ARRAY_SIZE@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
Lloh8:
	adrp	x8, _ICE_FLAG_RSS_ENA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ICE_FLAG_RSS_ENA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #8]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.4:
	ldr	x8, [x22]
	ldr	x9, [x19]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w2, [x20, #8]
	ldr	x3, [x23]
	mov	x1, #0
	bl	_ice_set_rss
Lloh11:
	adrp	x8, _VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w2, w21, w8, eq
	b	LBB0_7
LBB0_6:
Lloh14:
	adrp	x8, _VIRTCHNL_STATUS_ERR_PARAM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VIRTCHNL_STATUS_ERR_PARAM@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
LBB0_7:
Lloh17:
	adrp	x8, _VIRTCHNL_OP_CONFIG_RSS_LUT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VIRTCHNL_OP_CONFIG_RSS_LUT@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x3, #0
	mov	w4, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ice_vc_send_msg_to_vf
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_STATUS_SUCCESS,4,2    ; @VIRTCHNL_STATUS_SUCCESS
	.comm	_ICE_VF_STATE_ACTIVE,4,2        ; @ICE_VF_STATE_ACTIVE
	.comm	_VIRTCHNL_STATUS_ERR_PARAM,4,2  ; @VIRTCHNL_STATUS_ERR_PARAM
	.comm	_ICE_VSIQF_HLUT_ARRAY_SIZE,8,3  ; @ICE_VSIQF_HLUT_ARRAY_SIZE
	.comm	_ICE_FLAG_RSS_ENA,4,2           ; @ICE_FLAG_RSS_ENA
	.comm	_VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR,4,2 ; @VIRTCHNL_STATUS_ERR_ADMIN_QUEUE_ERROR
	.comm	_VIRTCHNL_OP_CONFIG_RSS_LUT,4,2 ; @VIRTCHNL_OP_CONFIG_RSS_LUT
	.no_dead_strip	_ice_vc_config_rss_lut
.subsections_via_symbols
