	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_storm_rx_mode       ## -- Begin function bnx2x_vfpf_storm_rx_mode
	.p2align	4, 0x90
_bnx2x_vfpf_storm_rx_mode:              ## @bnx2x_vfpf_storm_rx_mode
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movl	(%rdi), %ebx
	movq	8(%rdi), %r12
	leaq	8(%r12), %r14
	movq	_CHANNEL_TLV_SET_Q_FILTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rsi
	movl	$24, %ecx
	callq	_bnx2x_vfpf_prep
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_DP
	leal	-128(%rbx), %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	movq	_VFPF_RX_MASK_ACCEPT_ALL_UNICAST@GOTPCREL(%rip), %rax
	movq	_VFPF_RX_MASK_ACCEPT_ALL_MULTICAST@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	jmp	LBB0_13
LBB0_2:
	movq	_VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_VFPF_RX_MASK_ACCEPT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r12)
	jmp	LBB0_9
LBB0_5:
	movq	_VFPF_RX_MASK_ACCEPT_ALL_MULTICAST@GOTPCREL(%rip), %rax
LBB0_3:
	movq	_VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_VFPF_RX_MASK_ACCEPT_BROADCAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 28(%r12)
LBB0_9:
	movq	_VFPF_SET_Q_FILTERS_RX_MASK_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%r12)
	movq	$0, 16(%r12)
	movl	8(%r12), %edx
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %r8d
	callq	_bnx2x_add_tlv
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_dp_tlv_list
	movl	4(%r15), %edx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_send_msg2pf
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	movl	%ebx, %esi
	callq	_BNX2X_ERR
LBB0_11:
	movl	(%r12), %esi
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_14
## %bb.12:
	leaq	L_.str.3(%rip), %rdi
LBB0_13:
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_14:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_bnx2x_vfpf_finalize
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_CHANNEL_TLV_SET_Q_FILTERS,4,2  ## @CHANNEL_TLV_SET_Q_FILTERS
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Rx mode is %d\n"

	.comm	_VFPF_RX_MASK_ACCEPT_NONE,4,2   ## @VFPF_RX_MASK_ACCEPT_NONE
	.comm	_VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST,4,2 ## @VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST
	.comm	_VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST,4,2 ## @VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST
	.comm	_VFPF_RX_MASK_ACCEPT_BROADCAST,4,2 ## @VFPF_RX_MASK_ACCEPT_BROADCAST
	.comm	_VFPF_RX_MASK_ACCEPT_ALL_MULTICAST,4,2 ## @VFPF_RX_MASK_ACCEPT_ALL_MULTICAST
	.comm	_VFPF_RX_MASK_ACCEPT_ALL_UNICAST,4,2 ## @VFPF_RX_MASK_ACCEPT_ALL_UNICAST
L_.str.1:                               ## @.str.1
	.asciz	"BAD rx mode (%d)\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_VFPF_SET_Q_FILTERS_RX_MASK_CHANGED,4,2 ## @VFPF_SET_Q_FILTERS_RX_MASK_CHANGED
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
L_.str.2:                               ## @.str.2
	.asciz	"Sending a message failed: %d\n"

	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
L_.str.3:                               ## @.str.3
	.asciz	"Set Rx mode failed: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_storm_rx_mode       ; -- Begin function bnx2x_vfpf_storm_rx_mode
	.p2align	2
_bnx2x_vfpf_storm_rx_mode:              ; @bnx2x_vfpf_storm_rx_mode
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	w22, [x0]
	ldr	x21, [x0, #8]
	add	x20, x21, #8
Lloh0:
	adrp	x8, _CHANNEL_TLV_SET_Q_FILTERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_SET_Q_FILTERS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #24
	bl	_bnx2x_vfpf_prep
Lloh3:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x22
	bl	_DP
	sub	w8, w22, #128
	cmp	w8, #3
	b.hi	LBB0_3
; %bb.1:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh10:
	adrp	x8, _VFPF_RX_MASK_ACCEPT_ALL_UNICAST@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VFPF_RX_MASK_ACCEPT_ALL_UNICAST@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _VFPF_RX_MASK_ACCEPT_ALL_MULTICAST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _VFPF_RX_MASK_ACCEPT_ALL_MULTICAST@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh15:
	adrp	x0, l_.str.1@PAGE
Lloh16:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	b	LBB0_13
LBB0_4:
Lloh17:
	adrp	x8, _VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh19:
	adrp	x8, _VFPF_RX_MASK_ACCEPT_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VFPF_RX_MASK_ACCEPT_NONE@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	b	LBB0_9
LBB0_6:
Lloh22:
	adrp	x8, _VFPF_RX_MASK_ACCEPT_ALL_MULTICAST@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VFPF_RX_MASK_ACCEPT_ALL_MULTICAST@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
Lloh24:
	adrp	x9, _VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST@GOTPAGE
Lloh25:
	ldr	x9, [x9, _VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh26:
	adrp	x9, _VFPF_RX_MASK_ACCEPT_BROADCAST@GOTPAGE
Lloh27:
	ldr	x9, [x9, _VFPF_RX_MASK_ACCEPT_BROADCAST@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	orr	w8, w9, w8
LBB0_9:
	str	w8, [x21, #28]
Lloh29:
	adrp	x8, _VFPF_SET_Q_FILTERS_RX_MASK_CHANGED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _VFPF_SET_Q_FILTERS_RX_MASK_CHANGED@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x21, #24]
	orr	w8, w9, w8
	str	w8, [x21, #24]
	str	xzr, [x21, #16]
	ldr	w2, [x21, #8]
Lloh32:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh33:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh34:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	w4, #4
	bl	_bnx2x_add_tlv
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_dp_tlv_list
	ldr	w2, [x19, #4]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_send_msg2pf
	mov	x22, x0
	cbz	w0, LBB0_11
; %bb.10:
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_BNX2X_ERR
LBB0_11:
	ldr	w1, [x21]
Lloh37:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh38:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_14
; %bb.12:
Lloh40:
	adrp	x0, l_.str.3@PAGE
Lloh41:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_13:
	bl	_BNX2X_ERR
Lloh42:
	adrp	x8, _EINVAL@GOTPAGE
Lloh43:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vfpf_finalize
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.comm	_CHANNEL_TLV_SET_Q_FILTERS,4,2  ; @CHANNEL_TLV_SET_Q_FILTERS
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Rx mode is %d\n"

	.comm	_VFPF_RX_MASK_ACCEPT_NONE,4,2   ; @VFPF_RX_MASK_ACCEPT_NONE
	.comm	_VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST,4,2 ; @VFPF_RX_MASK_ACCEPT_MATCHED_MULTICAST
	.comm	_VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST,4,2 ; @VFPF_RX_MASK_ACCEPT_MATCHED_UNICAST
	.comm	_VFPF_RX_MASK_ACCEPT_BROADCAST,4,2 ; @VFPF_RX_MASK_ACCEPT_BROADCAST
	.comm	_VFPF_RX_MASK_ACCEPT_ALL_MULTICAST,4,2 ; @VFPF_RX_MASK_ACCEPT_ALL_MULTICAST
	.comm	_VFPF_RX_MASK_ACCEPT_ALL_UNICAST,4,2 ; @VFPF_RX_MASK_ACCEPT_ALL_UNICAST
l_.str.1:                               ; @.str.1
	.asciz	"BAD rx mode (%d)\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_VFPF_SET_Q_FILTERS_RX_MASK_CHANGED,4,2 ; @VFPF_SET_Q_FILTERS_RX_MASK_CHANGED
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
l_.str.2:                               ; @.str.2
	.asciz	"Sending a message failed: %d\n"

	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
l_.str.3:                               ; @.str.3
	.asciz	"Set Rx mode failed: %d\n"

.subsections_via_symbols
