	.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_get_rss_glb_config
LCPI0_0:
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.long	1                               ## 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_t4vf_get_rss_glb_config
	.p2align	4, 0x90
_t4vf_get_rss_glb_config:               ## @t4vf_get_rss_glb_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	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	leaq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	_FW_RSS_GLB_CONFIG_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_FW_CMD_OP_V
	movq	_FW_CMD_REQUEST_F@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_FW_CMD_READ_F@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -24(%rbp)
	movq	-24(%rbp), %rax
	movq	%rax, 16(%rsp)
	movdqu	-40(%rbp), %xmm0
	movdqu	%xmm0, (%rsp)
	callq	_FW_LEN16
	movl	%eax, %edi
	callq	_cpu_to_be32
	movq	%rax, -32(%rbp)
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$24, %edx
	callq	_t4vf_wr_mbox
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	-60(%rbp), %edi
	callq	_be32_to_cpu
	movl	%eax, %edi
	callq	_FW_RSS_GLB_CONFIG_CMD_MODE_G
	movl	%eax, (%r14)
	cmpl	$128, %eax
	jne	LBB0_3
## %bb.2:
	movl	-64(%rbp), %edi
	callq	_be32_to_cpu
	movq	_FW_RSS_GLB_CONFIG_CMD_SYNMAPEN_F@GOTPCREL(%rip), %rcx
	movq	_FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F@GOTPCREL(%rip), %rdx
	movq	_FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F@GOTPCREL(%rip), %rsi
	movd	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm1
	pinsrd	$2, (%rsi), %xmm1
	movq	_FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F@GOTPCREL(%rip), %rcx
	pinsrd	$3, (%rcx), %xmm1
	movd	%eax, %xmm0
	pshufd	$0, %xmm0, %xmm2                ## xmm2 = xmm0[0,0,0,0]
	pand	%xmm2, %xmm1
	pxor	%xmm3, %xmm3
	pcmpeqd	%xmm3, %xmm1
	movdqa	LCPI0_0(%rip), %xmm4            ## xmm4 = [1,1,1,1]
	pandn	%xmm4, %xmm1
	pcmpeqd	%xmm0, %xmm0
	movdqu	%xmm1, 4(%r14)
	movq	_FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F@GOTPCREL(%rip), %rcx
	movq	_FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F@GOTPCREL(%rip), %rdx
	movq	_FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F@GOTPCREL(%rip), %rsi
	movd	(%rcx), %xmm1                   ## xmm1 = mem[0],zero,zero,zero
	pinsrd	$1, (%rdx), %xmm1
	pinsrd	$2, (%rsi), %xmm1
	movq	_FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F@GOTPCREL(%rip), %rcx
	pinsrd	$3, (%rcx), %xmm1
	pand	%xmm2, %xmm1
	pcmpeqd	%xmm3, %xmm1
	pxor	%xmm1, %xmm0
	pandn	%xmm4, %xmm1
	movdqu	%xmm1, 20(%r14)
	movq	_FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_F@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	setne	%dl
	movl	%edx, 36(%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	pextrb	$8, %xmm0, %ecx
	xorl	%edx, %edx
	testb	$1, %cl
	cmovnel	%edx, %eax
	jmp	LBB0_4
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_RSS_GLB_CONFIG_CMD,4,2      ## @FW_RSS_GLB_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_GLB_CONFIG_CMD_SYNMAPEN_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_SYNMAPEN_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_F,4,2 ## @FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_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_get_rss_glb_config        ; -- Begin function t4vf_get_rss_glb_config
	.p2align	2
_t4vf_get_rss_glb_config:               ; @t4vf_get_rss_glb_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
Lloh0:
	adrp	x8, _FW_RSS_GLB_CONFIG_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_RSS_GLB_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	w0, w8, w9
	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, x19
	mov	w2, #24
	bl	_t4vf_wr_mbox
	cbnz	w0, LBB0_4
; %bb.1:
	ldr	w0, [sp, #4]
	bl	_be32_to_cpu
	bl	_FW_RSS_GLB_CONFIG_CMD_MODE_G
	str	w0, [x19]
	cmp	w0, #128
	b.ne	LBB0_3
; %bb.2:
	ldr	w0, [sp]
	bl	_be32_to_cpu
Lloh9:
	adrp	x8, _FW_RSS_GLB_CONFIG_CMD_SYNMAPEN_F@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_RSS_GLB_CONFIG_CMD_SYNMAPEN_F@GOTPAGEOFF]
Lloh11:
	adrp	x9, _FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F@GOTPAGE
Lloh12:
	ldr	x9, [x9, _FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F@GOTPAGEOFF]
Lloh13:
	adrp	x10, _FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F@GOTPAGE
Lloh14:
	ldr	x10, [x10, _FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F@GOTPAGEOFF]
Lloh15:
	adrp	x11, _FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F@GOTPAGE
Lloh16:
	ldr	x11, [x11, _FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F@GOTPAGEOFF]
Lloh17:
	ldr	s0, [x8]
	ld1.s	{ v0 }[1], [x9]
	ld1.s	{ v0 }[2], [x10]
	ld1.s	{ v0 }[3], [x11]
	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]
Lloh18:
	adrp	x8, _FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w0
	cset	w8, ne
Lloh21:
	adrp	x9, _FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F@GOTPAGE
Lloh22:
	ldr	x9, [x9, _FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w0
	cset	w9, ne
	stp	w8, w9, [x19, #20]
Lloh24:
	adrp	x8, _FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F@GOTPAGE
Lloh25:
	ldr	x8, [x8, _FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F@GOTPAGEOFF]
Lloh26:
	adrp	x9, _FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F@GOTPAGE
Lloh27:
	ldr	x9, [x9, _FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w0
	cset	w9, ne
Lloh30:
	adrp	x10, _FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_F@GOTPAGE
Lloh31:
	ldr	x10, [x10, _FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_F@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	tst	w10, w0
	cset	w10, ne
	tst	w8, w0
	cset	w8, ne
	stp	w8, w9, [x19, #28]
	str	w10, [x19, #36]
Lloh33:
	adrp	x8, _EINVAL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	csneg	w0, wzr, w8, ne
	b	LBB0_4
LBB0_3:
Lloh36:
	adrp	x8, _EINVAL@GOTPAGE
Lloh37:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh28
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh17
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_RSS_GLB_CONFIG_CMD,4,2      ; @FW_RSS_GLB_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_GLB_CONFIG_CMD_SYNMAPEN_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_SYNMAPEN_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV6_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV6_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_SYN4TUPENIPV4_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_SYN2TUPENIPV4_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_OFDMAPEN_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_TNLMAPEN_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_TNLALLLKP_F
	.comm	_FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_F,4,2 ; @FW_RSS_GLB_CONFIG_CMD_HASHTOEPLITZ_F
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
