	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_setup_rss
_bnx2x_setup_rss:                       ## @bnx2x_setup_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	$40, %rsp
	.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, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rsi), %rbx
	movq	24(%rbx), %r12
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movq	_BNX2X_SWCID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%rbx), %eax
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	12(%rbx), %edi
	movq	_BNX2X_SWCID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, 28(%r12)
	movq	_BNX2X_RSS_MODE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%r15), %r13
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ETH_RSS_MODE_DISABLED@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_BNX2X_RSS_MODE_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_ETH_RSS_MODE_REGULAR@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r14d
LBB0_5:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movl	%r14d, 24(%r12)
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_DP
	movq	_BNX2X_RSS_IPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_7:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	_BNX2X_RSS_IPV4_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_9:
	movq	_BNX2X_RSS_IPV4_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_11:
	movq	_BNX2X_RSS_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_13:
	movq	_BNX2X_RSS_IPV6_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_15:
	movq	_BNX2X_RSS_IPV6_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_17
## %bb.16:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_17:
	orl	%ecx, %r14d
	orl	-44(%rbp), %r12d                ## 4-byte Folded Reload
	orl	%ebx, %r15d
	movq	_BNX2X_RSS_IPV4_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_19:
	orl	%ecx, %r14d
	orl	%r15d, %r12d
	movq	_BNX2X_RSS_IPV6_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_21:
	orl	%r14d, %r12d
	movq	_BNX2X_RSS_TUNN_INNER_HDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_23
## %bb.22:
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_23:
	orl	%eax, %ebx
	orl	%ebx, %r12d
	movq	_BNX2X_RSS_SET_SRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_24
## %bb.25:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rax
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rcx
	movl	(%rcx), %edx
	movl	%edx, 28(%rax)
	movl	4(%rcx), %edx
	movl	%edx, 24(%rax)
	movl	8(%rcx), %edx
	movl	%edx, 20(%rax)
	movl	12(%rcx), %edx
	movl	%edx, 16(%rax)
	movl	16(%rcx), %edx
	movl	%edx, 12(%rax)
	movl	20(%rcx), %edx
	movl	%edx, 8(%rax)
	movl	24(%rcx), %edx
	movl	%edx, 4(%rax)
	movl	28(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	_ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY@GOTPCREL(%rip), %rax
	orl	(%rax), %r12d
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_24:
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
LBB0_26:
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movl	%eax, 12(%rbx)
	movl	4(%r13), %eax
	movl	%eax, 8(%rbx)
	movl	4(%r14), %edx
	movl	%edx, 4(%rbx)
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_DP
	movl	(%rbx), %edi
	movl	(%r13), %esi
	movq	_T_ETH_INDIRECTION_TABLE_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	callq	_memcpy
	movl	(%r14), %edi
	movl	(%r13), %esi
	movl	(%r15), %edx
	callq	_memcpy
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_netif_msg_ifup
	testq	%rax, %rax
	je	LBB0_28
## %bb.27:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_debug_print_ind_table
LBB0_28:
	movq	_RAMROD_CMD_ID_ETH_RSS_UPDATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	8(%r14), %r15d
	movl	16(%r14), %edi
	callq	_U64_HI
	movl	%eax, %r13d
	movl	16(%r14), %edi
	callq	_U64_LO
	movq	_ETH_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	movl	%eax, %r8d
	callq	_bnx2x_sp_post
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnsl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configuring RSS\n"

	.comm	_BNX2X_SWCID_MASK,4,2           ## @BNX2X_SWCID_MASK
	.comm	_BNX2X_SWCID_SHIFT,4,2          ## @BNX2X_SWCID_SHIFT
	.comm	_BNX2X_RSS_MODE_DISABLED,4,2    ## @BNX2X_RSS_MODE_DISABLED
	.comm	_ETH_RSS_MODE_DISABLED,4,2      ## @ETH_RSS_MODE_DISABLED
	.comm	_BNX2X_RSS_MODE_REGULAR,4,2     ## @BNX2X_RSS_MODE_REGULAR
	.comm	_ETH_RSS_MODE_REGULAR,4,2       ## @ETH_RSS_MODE_REGULAR
L_.str.1:                               ## @.str.1
	.asciz	"rss_mode=%d\n"

	.comm	_BNX2X_RSS_IPV4,4,2             ## @BNX2X_RSS_IPV4
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY
	.comm	_BNX2X_RSS_IPV4_TCP,4,2         ## @BNX2X_RSS_IPV4_TCP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY
	.comm	_BNX2X_RSS_IPV4_UDP,4,2         ## @BNX2X_RSS_IPV4_UDP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY
	.comm	_BNX2X_RSS_IPV6,4,2             ## @BNX2X_RSS_IPV6
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY
	.comm	_BNX2X_RSS_IPV6_TCP,4,2         ## @BNX2X_RSS_IPV6_TCP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY
	.comm	_BNX2X_RSS_IPV6_UDP,4,2         ## @BNX2X_RSS_IPV6_UDP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY
	.comm	_BNX2X_RSS_IPV4_VXLAN,4,2       ## @BNX2X_RSS_IPV4_VXLAN
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY
	.comm	_BNX2X_RSS_IPV6_VXLAN,4,2       ## @BNX2X_RSS_IPV6_VXLAN
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY
	.comm	_BNX2X_RSS_TUNN_INNER_HDRS,4,2  ## @BNX2X_RSS_TUNN_INNER_HDRS
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY
	.comm	_BNX2X_RSS_SET_SRCH,4,2         ## @BNX2X_RSS_SET_SRCH
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY,4,2 ## @ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY
L_.str.2:                               ## @.str.2
	.asciz	"rss_engine_id=%d\n"

	.comm	_T_ETH_INDIRECTION_TABLE_SIZE,4,2 ## @T_ETH_INDIRECTION_TABLE_SIZE
	.comm	_RAMROD_CMD_ID_ETH_RSS_UPDATE,4,2 ## @RAMROD_CMD_ID_ETH_RSS_UPDATE
	.comm	_ETH_CONNECTION_TYPE,4,2        ## @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_setup_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_setup_rss
_bnx2x_setup_rss:                       ; @bnx2x_setup_rss
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	ldr	x24, [x1, #24]
	ldr	x21, [x24, #24]
	mov	x0, x21
	mov	w1, #0
	mov	w2, #32
	bl	_memset
Lloh0:
	adrp	x25, _BNX2X_MSG_SP@GOTPAGE
Lloh1:
	ldr	x25, [x25, _BNX2X_MSG_SP@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
Lloh4:
	adrp	x8, _BNX2X_SWCID_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _BNX2X_SWCID_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldp	w9, w10, [x24, #8]
	and	w8, w8, w9
Lloh7:
	adrp	x9, _BNX2X_SWCID_SHIFT@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BNX2X_SWCID_SHIFT@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	lsl	w9, w10, w9
	orr	w0, w9, w8
	bl	_cpu_to_le32
	str	w0, [x21, #28]
Lloh10:
	adrp	x8, _BNX2X_RSS_MODE_DISABLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BNX2X_RSS_MODE_DISABLED@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	add	x22, x20, #16
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh13:
	adrp	x8, _ETH_RSS_MODE_DISABLED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ETH_RSS_MODE_DISABLED@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	b	LBB0_3
LBB0_2:
Lloh16:
	adrp	x8, _BNX2X_RSS_MODE_REGULAR@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNX2X_RSS_MODE_REGULAR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh19:
	adrp	x8, _ETH_RSS_MODE_REGULAR@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ETH_RSS_MODE_REGULAR@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
LBB0_3:
	str	w8, [x21, #24]
	ldr	w0, [x25]
	str	x8, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
Lloh24:
	adrp	x8, _BNX2X_RSS_IPV4@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_RSS_IPV4@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh27:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w23, wzr, w8, eq
Lloh30:
	adrp	x8, _BNX2X_RSS_IPV4_TCP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BNX2X_RSS_IPV4_TCP@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh33:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w8, w23
Lloh36:
	adrp	x8, _BNX2X_RSS_IPV4_UDP@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BNX2X_RSS_IPV4_UDP@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh39:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh42:
	adrp	x8, _BNX2X_RSS_IPV6@GOTPAGE
Lloh43:
	ldr	x8, [x8, _BNX2X_RSS_IPV6@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh45:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh48:
	adrp	x8, _BNX2X_RSS_IPV6_TCP@GOTPAGE
Lloh49:
	ldr	x8, [x8, _BNX2X_RSS_IPV6_TCP@GOTPAGEOFF]
Lloh50:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh51:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh54:
	adrp	x8, _BNX2X_RSS_IPV6_UDP@GOTPAGE
Lloh55:
	ldr	x8, [x8, _BNX2X_RSS_IPV6_UDP@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh57:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY@GOTPAGEOFF]
Lloh59:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh60:
	adrp	x8, _BNX2X_RSS_IPV4_VXLAN@GOTPAGE
Lloh61:
	ldr	x8, [x8, _BNX2X_RSS_IPV4_VXLAN@GOTPAGEOFF]
Lloh62:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh63:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY@GOTPAGE
Lloh64:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh66:
	adrp	x8, _BNX2X_RSS_IPV6_VXLAN@GOTPAGE
Lloh67:
	ldr	x8, [x8, _BNX2X_RSS_IPV6_VXLAN@GOTPAGEOFF]
Lloh68:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh69:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY@GOTPAGEOFF]
Lloh71:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh72:
	adrp	x8, _BNX2X_RSS_TUNN_INNER_HDRS@GOTPAGE
Lloh73:
	ldr	x8, [x8, _BNX2X_RSS_TUNN_INNER_HDRS@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
Lloh75:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w23, w23, w8
Lloh78:
	adrp	x8, _BNX2X_RSS_SET_SRCH@GOTPAGE
Lloh79:
	ldr	x8, [x8, _BNX2X_RSS_SET_SRCH@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x21, #16]
	ldr	x9, [x20, #8]
	ldr	w10, [x9]
	str	w10, [x8, #28]
	ldr	w10, [x9, #4]
	str	w10, [x8, #24]
	ldr	w10, [x9, #8]
	str	w10, [x8, #20]
	ldr	w10, [x9, #12]
	str	w10, [x8, #16]
	ldr	w10, [x9, #16]
	str	w10, [x8, #12]
	ldr	w10, [x9, #20]
	str	w10, [x8, #8]
	ldr	w10, [x9, #24]
	str	w10, [x8, #4]
	ldr	w9, [x9, #28]
	str	w9, [x8]
Lloh81:
	adrp	x8, _ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY@GOTPAGEOFF]
Lloh83:
	ldr	w8, [x8]
	orr	w23, w8, w23
LBB0_5:
	mov	x0, x23
	bl	_cpu_to_le16
	str	w0, [x21, #12]
	ldr	w8, [x20, #4]
	ldr	w9, [x24, #4]
	stp	w9, w8, [x21, #4]
	ldr	w0, [x25]
	str	x9, [sp]
Lloh84:
	adrp	x1, l_.str.2@PAGE
Lloh85:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
	ldr	w0, [x21]
	ldr	w1, [x20]
Lloh86:
	adrp	x21, _T_ETH_INDIRECTION_TABLE_SIZE@GOTPAGE
Lloh87:
	ldr	x21, [x21, _T_ETH_INDIRECTION_TABLE_SIZE@GOTPAGEOFF]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	w0, [x24]
	ldr	w1, [x20]
	ldr	w2, [x21]
	bl	_memcpy
	mov	x0, x19
	bl	_netif_msg_ifup
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_debug_print_ind_table
LBB0_7:
Lloh88:
	adrp	x8, _RAMROD_CMD_ID_ETH_RSS_UPDATE@GOTPAGE
Lloh89:
	ldr	x8, [x8, _RAMROD_CMD_ID_ETH_RSS_UPDATE@GOTPAGEOFF]
Lloh90:
	ldr	w20, [x8]
	ldr	w21, [x24, #8]
	ldr	w0, [x24, #16]
	bl	_U64_HI
	mov	x22, x0
	ldr	w0, [x24, #16]
	bl	_U64_LO
	mov	x4, x0
Lloh91:
	adrp	x8, _ETH_CONNECTION_TYPE@GOTPAGE
Lloh92:
	ldr	x8, [x8, _ETH_CONNECTION_TYPE@GOTPAGEOFF]
Lloh93:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_bnx2x_sp_post
	cmp	w0, #0
	csinc	w0, w0, wzr, lt
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configuring RSS\n"

	.comm	_BNX2X_SWCID_MASK,4,2           ; @BNX2X_SWCID_MASK
	.comm	_BNX2X_SWCID_SHIFT,4,2          ; @BNX2X_SWCID_SHIFT
	.comm	_BNX2X_RSS_MODE_DISABLED,4,2    ; @BNX2X_RSS_MODE_DISABLED
	.comm	_ETH_RSS_MODE_DISABLED,4,2      ; @ETH_RSS_MODE_DISABLED
	.comm	_BNX2X_RSS_MODE_REGULAR,4,2     ; @BNX2X_RSS_MODE_REGULAR
	.comm	_ETH_RSS_MODE_REGULAR,4,2       ; @ETH_RSS_MODE_REGULAR
l_.str.1:                               ; @.str.1
	.asciz	"rss_mode=%d\n"

	.comm	_BNX2X_RSS_IPV4,4,2             ; @BNX2X_RSS_IPV4
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_CAPABILITY
	.comm	_BNX2X_RSS_IPV4_TCP,4,2         ; @BNX2X_RSS_IPV4_TCP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_TCP_CAPABILITY
	.comm	_BNX2X_RSS_IPV4_UDP,4,2         ; @BNX2X_RSS_IPV4_UDP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_UDP_CAPABILITY
	.comm	_BNX2X_RSS_IPV6,4,2             ; @BNX2X_RSS_IPV6
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_CAPABILITY
	.comm	_BNX2X_RSS_IPV6_TCP,4,2         ; @BNX2X_RSS_IPV6_TCP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_TCP_CAPABILITY
	.comm	_BNX2X_RSS_IPV6_UDP,4,2         ; @BNX2X_RSS_IPV6_UDP
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_UDP_CAPABILITY
	.comm	_BNX2X_RSS_IPV4_VXLAN,4,2       ; @BNX2X_RSS_IPV4_VXLAN
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV4_VXLAN_CAPABILITY
	.comm	_BNX2X_RSS_IPV6_VXLAN,4,2       ; @BNX2X_RSS_IPV6_VXLAN
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_IPV6_VXLAN_CAPABILITY
	.comm	_BNX2X_RSS_TUNN_INNER_HDRS,4,2  ; @BNX2X_RSS_TUNN_INNER_HDRS
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_TUNN_INNER_HDRS_CAPABILITY
	.comm	_BNX2X_RSS_SET_SRCH,4,2         ; @BNX2X_RSS_SET_SRCH
	.comm	_ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY,4,2 ; @ETH_RSS_UPDATE_RAMROD_DATA_UPDATE_RSS_KEY
l_.str.2:                               ; @.str.2
	.asciz	"rss_engine_id=%d\n"

	.comm	_T_ETH_INDIRECTION_TABLE_SIZE,4,2 ; @T_ETH_INDIRECTION_TABLE_SIZE
	.comm	_RAMROD_CMD_ID_ETH_RSS_UPDATE,4,2 ; @RAMROD_CMD_ID_ETH_RSS_UPDATE
	.comm	_ETH_CONNECTION_TYPE,4,2        ; @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_setup_rss
.subsections_via_symbols
