	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function t4vf_read_rss_vi_config
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_t4vf_read_rss_vi_config
	.p2align	4, 0x90
_t4vf_read_rss_vi_config:               ## @t4vf_read_rss_vi_config
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_FW_RSS_VI_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movl	%eax, %ebx
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_FW_CMD_READ_F@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_FW_RSS_VI_CONFIG_CMD_VIID
	orl	%eax, %ebx
	movl	%ebx, %edi
	callq	_cpu_to_be32
	movq	%rax, -48(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, 16(%rsp)
	movdqu	-64(%rbp), %xmm0
	movdqu	%xmm0, (%rsp)
	callq	_FW_LEN16
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -56(%rbp)
	leaq	-88(%rbp), %rcx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_t4vf_wr_mbox
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	cmpl	$128, (%r12)
	jne	LBB0_3
## %bb.2:
	movl	-88(%rbp), %edi
	callq	_be32_to_cpu
	movq	_FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	setne	%dl
	movl	%edx, (%r14)
	movq	_FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F@GOTPCREL(%rip), %rcx
	movq	_FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F@GOTPCREL(%rip), %rdx
	movq	_FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F@GOTPCREL(%rip), %rsi
	movq	_FW_RSS_VI_CONFIG_CMD_UDPEN_F@GOTPCREL(%rip), %rdi
	movd	(%rcx), %xmm0                   ## xmm0 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm0
	pinsrd	$2, (%rsi), %xmm0
	pinsrd	$3, (%rdi), %xmm0
	movd	%eax, %xmm1
	pshufd	$0, %xmm1, %xmm1                ## xmm1 = xmm1[0,0,0,0]
	pand	%xmm0, %xmm1
	pxor	%xmm0, %xmm0
	pcmpeqd	%xmm1, %xmm0
	pandn	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, 4(%r14)
	movl	%eax, %edi
	callq	_FW_RSS_VI_CONFIG_CMD_DEFAULTQ_G
	movl	%eax, 20(%r14)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_RSS_VI_CONFIG_CMD,4,2       ## @FW_RSS_VI_CONFIG_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ## @FW_CMD_REQUEST_F
	.comm	_FW_CMD_READ_F,4,2              ## @FW_CMD_READ_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F,4,2 ## @FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F,4,2 ## @FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F,4,2 ## @FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F,4,2 ## @FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_UDPEN_F,4,2 ## @FW_RSS_VI_CONFIG_CMD_UDPEN_F
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_t4vf_read_rss_vi_config        ; -- Begin function t4vf_read_rss_vi_config
	.p2align	2
_t4vf_read_rss_vi_config:               ; @t4vf_read_rss_vi_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x2
	mov	x21, x1
	mov	x20, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _FW_RSS_VI_CONFIG_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_RSS_VI_CONFIG_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_FW_CMD_OP_V
Lloh3:
	adrp	x8, _FW_CMD_REQUEST_F@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_CMD_REQUEST_F@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh6:
	adrp	x9, _FW_CMD_READ_F@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FW_CMD_READ_F@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w22, w8, w9
	mov	x0, x21
	bl	_FW_RSS_VI_CONFIG_CMD_VIID
	orr	w0, w22, w0
	bl	_cpu_to_be32
	str	x0, [sp, #40]
	ldur	q0, [sp, #24]
	str	q0, [sp]
	str	x0, [sp, #16]
	mov	x0, sp
	bl	_FW_LEN16
	bl	_cpu_to_be32
	str	x0, [sp, #32]
	add	x1, sp, #24
	mov	x3, sp
	mov	x0, x20
	mov	w2, #24
	bl	_t4vf_wr_mbox
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #128
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [sp]
	bl	_be32_to_cpu
Lloh9:
	adrp	x8, _FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
Lloh12:
	adrp	x9, _FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F@GOTPAGEOFF]
Lloh14:
	adrp	x10, _FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F@GOTPAGE
Lloh15:
	ldr	x10, [x10, _FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F@GOTPAGEOFF]
Lloh16:
	adrp	x11, _FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F@GOTPAGE
Lloh17:
	ldr	x11, [x11, _FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F@GOTPAGEOFF]
	str	w8, [x19]
Lloh18:
	adrp	x8, _FW_RSS_VI_CONFIG_CMD_UDPEN_F@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FW_RSS_VI_CONFIG_CMD_UDPEN_F@GOTPAGEOFF]
Lloh20:
	ldr	s0, [x9]
	ld1.s	{ v0 }[1], [x10]
	ld1.s	{ v0 }[2], [x11]
	ld1.s	{ v0 }[3], [x8]
	dup.4s	v1, w0
	and.16b	v0, v0, v1
	cmeq.4s	v0, v0, #0
	movi.4s	v1, #1
	bic.16b	v0, v1, v0
	stur	q0, [x19, #4]
	bl	_FW_RSS_VI_CONFIG_CMD_DEFAULTQ_G
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #20]
	b	LBB0_4
LBB0_3:
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh20
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_RSS_VI_CONFIG_CMD,4,2       ; @FW_RSS_VI_CONFIG_CMD
	.comm	_FW_CMD_REQUEST_F,4,2           ; @FW_CMD_REQUEST_F
	.comm	_FW_CMD_READ_F,4,2              ; @FW_CMD_READ_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F,4,2 ; @FW_RSS_VI_CONFIG_CMD_IP6FOURTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F,4,2 ; @FW_RSS_VI_CONFIG_CMD_IP6TWOTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F,4,2 ; @FW_RSS_VI_CONFIG_CMD_IP4FOURTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F,4,2 ; @FW_RSS_VI_CONFIG_CMD_IP4TWOTUPEN_F
	.comm	_FW_RSS_VI_CONFIG_CMD_UDPEN_F,4,2 ; @FW_RSS_VI_CONFIG_CMD_UDPEN_F
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
