	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_rss                      ## -- Begin function bnx2x_rss
	.p2align	4, 0x90
_bnx2x_rss:                             ## @bnx2x_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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movq	$0, -48(%rbp)
	leaq	-64(%rbp), %rsi
	movq	%r12, -56(%rbp)
	movq	_RAMROD_COMP_WAIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	___set_bit
	testl	%ebx, %ebx
	je	LBB0_7
## %bb.1:
	movq	_BNX2X_RSS_MODE_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_RSS_IPV4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_RSS_IPV4_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_RSS_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_RSS_IPV6_TCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	cmpq	$0, 16(%r12)
	je	LBB0_3
## %bb.2:
	movq	_BNX2X_RSS_IPV4_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	___set_bit
LBB0_3:
	cmpq	$0, 8(%r12)
	je	LBB0_5
## %bb.4:
	movq	_BNX2X_RSS_IPV6_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	___set_bit
LBB0_5:
	movq	%r15, %rdi
	callq	_CHIP_IS_E1x
	testl	%eax, %eax
	jne	LBB0_9
## %bb.6:
	movq	_BNX2X_RSS_IPV4_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_RSS_IPV6_VXLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	___set_bit
	movq	_BNX2X_RSS_TUNN_INNER_HDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	jmp	LBB0_8
LBB0_7:
	movq	_BNX2X_RSS_MODE_DISABLED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
LBB0_8:
	callq	___set_bit
LBB0_9:
	movq	_MULTI_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movl	-72(%rbp), %edi
	movl	(%r12), %esi
	movl	$4, %edx
	callq	_memcpy
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.10:
	movl	-76(%rbp), %edi
	movq	_T_ETH_RSS_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	shll	$2, %esi
	callq	_netdev_rss_key_fill
	movq	_BNX2X_RSS_SET_SRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-80(%rbp), %rsi
	callq	___set_bit
LBB0_11:
	movq	%r15, %rdi
	callq	_IS_PF
	leaq	-80(%rbp), %rsi
	movq	%r15, %rdi
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	callq	_bnx2x_config_rss
	jmp	LBB0_14
LBB0_13:
	callq	_bnx2x_vfpf_config_rss
LBB0_14:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAMROD_COMP_WAIT,4,2           ## @RAMROD_COMP_WAIT
	.comm	_BNX2X_RSS_MODE_REGULAR,4,2     ## @BNX2X_RSS_MODE_REGULAR
	.comm	_BNX2X_RSS_IPV4,4,2             ## @BNX2X_RSS_IPV4
	.comm	_BNX2X_RSS_IPV4_TCP,4,2         ## @BNX2X_RSS_IPV4_TCP
	.comm	_BNX2X_RSS_IPV6,4,2             ## @BNX2X_RSS_IPV6
	.comm	_BNX2X_RSS_IPV6_TCP,4,2         ## @BNX2X_RSS_IPV6_TCP
	.comm	_BNX2X_RSS_IPV4_UDP,4,2         ## @BNX2X_RSS_IPV4_UDP
	.comm	_BNX2X_RSS_IPV6_UDP,4,2         ## @BNX2X_RSS_IPV6_UDP
	.comm	_BNX2X_RSS_IPV4_VXLAN,4,2       ## @BNX2X_RSS_IPV4_VXLAN
	.comm	_BNX2X_RSS_IPV6_VXLAN,4,2       ## @BNX2X_RSS_IPV6_VXLAN
	.comm	_BNX2X_RSS_TUNN_INNER_HDRS,4,2  ## @BNX2X_RSS_TUNN_INNER_HDRS
	.comm	_BNX2X_RSS_MODE_DISABLED,4,2    ## @BNX2X_RSS_MODE_DISABLED
	.comm	_MULTI_MASK,4,2                 ## @MULTI_MASK
	.comm	_T_ETH_RSS_KEY,4,2              ## @T_ETH_RSS_KEY
	.comm	_BNX2X_RSS_SET_SRCH,4,2         ## @BNX2X_RSS_SET_SRCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_rss                      ; -- Begin function bnx2x_rss
	.p2align	2
_bnx2x_rss:                             ; @bnx2x_rss
	.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	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp]
	mov	x8, sp
	add	x1, x8, #16
	stp	x21, xzr, [sp, #24]
Lloh0:
	adrp	x8, _RAMROD_COMP_WAIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAMROD_COMP_WAIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	___set_bit
	cbz	w22, LBB0_7
; %bb.1:
Lloh3:
	adrp	x8, _BNX2X_RSS_MODE_REGULAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_RSS_MODE_REGULAR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
Lloh6:
	adrp	x8, _BNX2X_RSS_IPV4@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_RSS_IPV4@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
Lloh9:
	adrp	x8, _BNX2X_RSS_IPV4_TCP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_RSS_IPV4_TCP@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
Lloh12:
	adrp	x8, _BNX2X_RSS_IPV6@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_RSS_IPV6@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
Lloh15:
	adrp	x8, _BNX2X_RSS_IPV6_TCP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_RSS_IPV6_TCP@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_3
; %bb.2:
Lloh18:
	adrp	x8, _BNX2X_RSS_IPV4_UDP@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BNX2X_RSS_IPV4_UDP@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
LBB0_3:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh21:
	adrp	x8, _BNX2X_RSS_IPV6_UDP@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2X_RSS_IPV6_UDP@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
LBB0_5:
	mov	x0, x19
	bl	_CHIP_IS_E1x
	cbnz	w0, LBB0_9
; %bb.6:
Lloh24:
	adrp	x8, _BNX2X_RSS_IPV4_VXLAN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_RSS_IPV4_VXLAN@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
Lloh27:
	adrp	x8, _BNX2X_RSS_IPV6_VXLAN@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2X_RSS_IPV6_VXLAN@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
Lloh30:
	adrp	x8, _BNX2X_RSS_TUNN_INNER_HDRS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BNX2X_RSS_TUNN_INNER_HDRS@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh32:
	adrp	x8, _BNX2X_RSS_MODE_DISABLED@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BNX2X_RSS_MODE_DISABLED@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
LBB0_9:
Lloh34:
	adrp	x8, _MULTI_MASK@GOTPAGE
Lloh35:
	ldr	x8, [x8, _MULTI_MASK@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	w0, [sp, #8]
	ldr	w1, [x21]
	mov	w2, #4
	bl	_memcpy
	cbz	w20, LBB0_11
; %bb.10:
	ldr	w0, [sp, #4]
Lloh37:
	adrp	x8, _T_ETH_RSS_KEY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _T_ETH_RSS_KEY@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	lsl	w1, w8, #2
	bl	_netdev_rss_key_fill
Lloh40:
	adrp	x8, _BNX2X_RSS_SET_SRCH@GOTPAGE
Lloh41:
	ldr	x8, [x8, _BNX2X_RSS_SET_SRCH@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	mov	x1, sp
	bl	___set_bit
LBB0_11:
	mov	x0, x19
	bl	_IS_PF
	mov	x1, sp
	cbz	x0, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_bnx2x_config_rss
	b	LBB0_14
LBB0_13:
	mov	x0, x19
	bl	_bnx2x_vfpf_config_rss
LBB0_14:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_RAMROD_COMP_WAIT,4,2           ; @RAMROD_COMP_WAIT
	.comm	_BNX2X_RSS_MODE_REGULAR,4,2     ; @BNX2X_RSS_MODE_REGULAR
	.comm	_BNX2X_RSS_IPV4,4,2             ; @BNX2X_RSS_IPV4
	.comm	_BNX2X_RSS_IPV4_TCP,4,2         ; @BNX2X_RSS_IPV4_TCP
	.comm	_BNX2X_RSS_IPV6,4,2             ; @BNX2X_RSS_IPV6
	.comm	_BNX2X_RSS_IPV6_TCP,4,2         ; @BNX2X_RSS_IPV6_TCP
	.comm	_BNX2X_RSS_IPV4_UDP,4,2         ; @BNX2X_RSS_IPV4_UDP
	.comm	_BNX2X_RSS_IPV6_UDP,4,2         ; @BNX2X_RSS_IPV6_UDP
	.comm	_BNX2X_RSS_IPV4_VXLAN,4,2       ; @BNX2X_RSS_IPV4_VXLAN
	.comm	_BNX2X_RSS_IPV6_VXLAN,4,2       ; @BNX2X_RSS_IPV6_VXLAN
	.comm	_BNX2X_RSS_TUNN_INNER_HDRS,4,2  ; @BNX2X_RSS_TUNN_INNER_HDRS
	.comm	_BNX2X_RSS_MODE_DISABLED,4,2    ; @BNX2X_RSS_MODE_DISABLED
	.comm	_MULTI_MASK,4,2                 ; @MULTI_MASK
	.comm	_T_ETH_RSS_KEY,4,2              ; @T_ETH_RSS_KEY
	.comm	_BNX2X_RSS_SET_SRCH,4,2         ; @BNX2X_RSS_SET_SRCH
.subsections_via_symbols
