	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rx_set_rss
_rx_set_rss:                            ## @rx_set_rss
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_netdev_priv
	movq	%rax, %r12
	movq	8(%rax), %r14
	movq	_SKY2_HW_NEW_LE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_1
## %bb.2:
	movq	(%r12), %rdi
	movq	_RSS_CFG@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_SK_REG
	movq	_HASH_ALL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_write32
	movl	$10, %r13d
	jmp	LBB0_3
LBB0_1:
	movl	$4, %r13d
LBB0_3:
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.4:
	leaq	-96(%rbp), %rdi
	movl	$40, %esi
	callq	_netdev_rss_key_fill
	shlq	$2, %r13
	xorl	%ebx, %ebx
	movq	_RSS_KEY@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rdi
	movq	(%r15), %rsi
	addq	%rbx, %rsi
	callq	_SK_REG
	movl	-96(%rbp,%rbx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_write32
	addq	$4, %rbx
	cmpq	%rbx, %r13
	jne	LBB0_5
## %bb.6:
	movq	(%r12), %rdi
	movq	_RX_GMF_CTRL_T@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_SK_REG
	movq	_RX_STFW_ENA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_write32
	movq	_rxqaddr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_Q_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Q_ADDR
	movq	_BMU_ENA_RX_RSS_HASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_sky2_write32
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.7:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	_rxqaddr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %edi
	movq	_Q_CSR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_Q_ADDR
	movq	_BMU_DIS_RX_RSS_HASH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movl	%eax, %esi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sky2_write32                   ## TAILCALL
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SKY2_HW_NEW_LE,4,2             ## @SKY2_HW_NEW_LE
	.comm	_RSS_CFG,8,3                    ## @RSS_CFG
	.comm	_HASH_ALL,4,2                   ## @HASH_ALL
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_RSS_KEY,8,3                    ## @RSS_KEY
	.comm	_RX_GMF_CTRL_T,8,3              ## @RX_GMF_CTRL_T
	.comm	_RX_STFW_ENA,4,2                ## @RX_STFW_ENA
	.comm	_rxqaddr,8,3                    ## @rxqaddr
	.comm	_Q_CSR,4,2                      ## @Q_CSR
	.comm	_BMU_ENA_RX_RSS_HASH,4,2        ## @BMU_ENA_RX_RSS_HASH
	.comm	_BMU_DIS_RX_RSS_HASH,4,2        ## @BMU_DIS_RX_RSS_HASH
	.no_dead_strip	_rx_set_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rx_set_rss
_rx_set_rss:                            ; @rx_set_rss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_netdev_priv
	mov	x20, x0
	ldr	x19, [x0, #8]
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _SKY2_HW_NEW_LE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SKY2_HW_NEW_LE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x20]
Lloh6:
	adrp	x8, _RSS_CFG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RSS_CFG@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	bl	_SK_REG
	mov	x1, x0
Lloh9:
	adrp	x8, _HASH_ALL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HASH_ALL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write32
	mov	w23, #10
	b	LBB0_3
LBB0_2:
	mov	w23, #4
LBB0_3:
Lloh12:
	adrp	x8, _NETIF_F_RXHASH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.4:
	mov	x21, sp
	mov	x0, sp
	mov	w1, #40
	bl	_netdev_rss_key_fill
	mov	x22, #0
	lsl	x23, x23, #2
Lloh15:
	adrp	x24, _RSS_KEY@GOTPAGE
Lloh16:
	ldr	x24, [x24, _RSS_KEY@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20]
	ldr	x8, [x24]
	add	x1, x22, x8
	bl	_SK_REG
	mov	x1, x0
	ldr	w2, [x21, x22]
	mov	x0, x19
	bl	_sky2_write32
	add	x22, x22, #4
	cmp	x23, x22
	b.ne	LBB0_5
; %bb.6:
	ldr	x0, [x20]
Lloh17:
	adrp	x8, _RX_GMF_CTRL_T@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RX_GMF_CTRL_T@GOTPAGEOFF]
Lloh19:
	ldr	x1, [x8]
	bl	_SK_REG
	mov	x1, x0
Lloh20:
	adrp	x8, _RX_STFW_ENA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RX_STFW_ENA@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write32
Lloh23:
	adrp	x8, _rxqaddr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _rxqaddr@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh26:
	adrp	x8, _Q_CSR@GOTPAGE
Lloh27:
	ldr	x8, [x8, _Q_CSR@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	bl	_Q_ADDR
	mov	x1, x0
Lloh29:
	adrp	x8, _BMU_ENA_RX_RSS_HASH@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BMU_ENA_RX_RSS_HASH@GOTPAGEOFF]
Lloh31:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_sky2_write32
	ldr	x8, [sp, #40]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.7:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
Lloh35:
	adrp	x8, _rxqaddr@GOTPAGE
Lloh36:
	ldr	x8, [x8, _rxqaddr@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
Lloh38:
	adrp	x8, _Q_CSR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _Q_CSR@GOTPAGEOFF]
Lloh40:
	ldr	w1, [x8]
	bl	_Q_ADDR
Lloh41:
	adrp	x8, _BMU_DIS_RX_RSS_HASH@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BMU_DIS_RX_RSS_HASH@GOTPAGEOFF]
Lloh43:
	ldr	w2, [x8]
	ldr	x8, [sp, #40]
Lloh44:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh45:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh46:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.9:
	mov	x1, x0
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_sky2_write32
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_SKY2_HW_NEW_LE,4,2             ; @SKY2_HW_NEW_LE
	.comm	_RSS_CFG,8,3                    ; @RSS_CFG
	.comm	_HASH_ALL,4,2                   ; @HASH_ALL
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_RSS_KEY,8,3                    ; @RSS_KEY
	.comm	_RX_GMF_CTRL_T,8,3              ; @RX_GMF_CTRL_T
	.comm	_RX_STFW_ENA,4,2                ; @RX_STFW_ENA
	.comm	_rxqaddr,8,3                    ; @rxqaddr
	.comm	_Q_CSR,4,2                      ; @Q_CSR
	.comm	_BMU_ENA_RX_RSS_HASH,4,2        ; @BMU_ENA_RX_RSS_HASH
	.comm	_BMU_DIS_RX_RSS_HASH,4,2        ; @BMU_DIS_RX_RSS_HASH
	.no_dead_strip	_rx_set_rss
.subsections_via_symbols
