	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_set_rss_vsi_ctx
_ice_set_rss_vsi_ctx:                   ## @ice_set_rss_vsi_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rsi), %rax
	movl	(%rsi), %edx
	cmpl	$130, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_2
## %bb.3:
	cmpl	$128, %edx
	jne	LBB0_7
## %bb.4:
	movq	_ICE_AQ_VSI_Q_OPT_RSS_LUT_VSI@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	movq	(%rax), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$130, %edx
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
LBB0_2:
	movq	_ICE_AQ_VSI_Q_OPT_RSS_LUT_PF@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movq	_ICE_AQ_VSI_Q_OPT_RSS_TPLZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_ICE_AQ_VSI_Q_OPT_RSS_LUT_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_ICE_AQ_VSI_Q_OPT_RSS_LUT_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ICE_AQ_VSI_Q_OPT_RSS_HASH_S@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_ICE_AQ_VSI_Q_OPT_RSS_HASH_M@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, (%rdi)
	popq	%rbp
	retq
LBB0_7:
	movq	(%rax), %rdi
	leaq	L_.str.1(%rip), %rsi
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_PF,4,2 ## @ICE_AQ_VSI_Q_OPT_RSS_LUT_PF
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_TPLZ,4,2  ## @ICE_AQ_VSI_Q_OPT_RSS_TPLZ
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_VSI,4,2 ## @ICE_AQ_VSI_Q_OPT_RSS_LUT_VSI
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported VSI type %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown VSI type %d\n"

	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_S,4,2 ## @ICE_AQ_VSI_Q_OPT_RSS_LUT_S
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_M,4,2 ## @ICE_AQ_VSI_Q_OPT_RSS_LUT_M
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_HASH_S,4,2 ## @ICE_AQ_VSI_Q_OPT_RSS_HASH_S
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_HASH_M,4,2 ## @ICE_AQ_VSI_Q_OPT_RSS_HASH_M
	.no_dead_strip	_ice_set_rss_vsi_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ice_set_rss_vsi_ctx
_ice_set_rss_vsi_ctx:                   ; @ice_set_rss_vsi_ctx
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1, #8]
	ldr	w2, [x1]
	cmp	w2, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w2, #128
	b.ne	LBB0_7
; %bb.3:
Lloh0:
	adrp	x8, _ICE_AQ_VSI_Q_OPT_RSS_LUT_VSI@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_AQ_VSI_Q_OPT_RSS_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x0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
	b	_dev_warn
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_PF,4,2 ; @ICE_AQ_VSI_Q_OPT_RSS_LUT_PF
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_TPLZ,4,2  ; @ICE_AQ_VSI_Q_OPT_RSS_TPLZ
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_VSI,4,2 ; @ICE_AQ_VSI_Q_OPT_RSS_LUT_VSI
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported VSI type %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown VSI type %d\n"

	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_S,4,2 ; @ICE_AQ_VSI_Q_OPT_RSS_LUT_S
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_LUT_M,4,2 ; @ICE_AQ_VSI_Q_OPT_RSS_LUT_M
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_HASH_S,4,2 ; @ICE_AQ_VSI_Q_OPT_RSS_HASH_S
	.comm	_ICE_AQ_VSI_Q_OPT_RSS_HASH_M,4,2 ; @ICE_AQ_VSI_Q_OPT_RSS_HASH_M
	.no_dead_strip	_ice_set_rss_vsi_ctx
.subsections_via_symbols
