	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_rx_mode_inner        ## -- Begin function bnx2x_set_rx_mode_inner
	.p2align	4, 0x90
_bnx2x_set_rx_mode_inner:               ## @bnx2x_set_rx_mode_inner
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_BNX2X_RX_MODE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_DP
	movq	(%r14), %rdi
	callq	_netif_addr_lock_bh
	movq	(%r14), %rdi
	movl	(%rdi), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_BNX2X_RX_MODE_PROMISC@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_12
LBB0_3:
	movq	_BNX2X_RX_MODE_ALLMULTI@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
LBB0_5:
	movl	%ebx, 12(%r14)
	movq	%r14, %rdi
	callq	_IS_MF_ISCSI_ONLY
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_BNX2X_RX_MODE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
LBB0_7:
	movq	_BNX2X_FILTER_RX_MODE_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_BNX2X_FILTER_RX_MODE_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	jmp	LBB0_11
LBB0_9:
	movq	%r14, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_20
## %bb.10:
	movq	%r14, %rdi
	callq	_bnx2x_set_storm_rx_mode
LBB0_11:
	movq	(%r14), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_netif_addr_unlock_bh           ## TAILCALL
LBB0_12:
	callq	_netdev_mc_count
	movq	_BNX2X_MAX_MULTICAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_14
## %bb.13:
	movq	%r14, %rdi
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	jne	LBB0_3
LBB0_14:
	movq	%r14, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	movq	%r14, %rdi
	callq	_bnx2x_set_mc_list
	testq	%rax, %rax
	jns	LBB0_17
## %bb.16:
	movq	_BNX2X_RX_MODE_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_17:
	movq	(%r14), %rdi
	callq	_netif_addr_unlock_bh
	movq	%r14, %rdi
	callq	_bnx2x_set_uc_list
	testq	%rax, %rax
	jns	LBB0_19
## %bb.18:
	movq	_BNX2X_RX_MODE_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_19:
	movq	(%r14), %rdi
	callq	_netif_addr_lock_bh
	jmp	LBB0_5
LBB0_20:
	movq	(%r14), %rdi
	callq	_netif_addr_unlock_bh
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bnx2x_vfpf_storm_rx_mode       ## TAILCALL
LBB0_21:
	movq	_BNX2X_SP_RTNL_VFPF_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_bnx2x_schedule_sp_rtnl
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_RX_MODE_NORMAL,4,2       ## @BNX2X_RX_MODE_NORMAL
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dev->flags = %x\n"

	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_BNX2X_RX_MODE_PROMISC,4,2      ## @BNX2X_RX_MODE_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_BNX2X_MAX_MULTICAST,8,3        ## @BNX2X_MAX_MULTICAST
	.comm	_BNX2X_RX_MODE_ALLMULTI,4,2     ## @BNX2X_RX_MODE_ALLMULTI
	.comm	_BNX2X_SP_RTNL_VFPF_MCAST,4,2   ## @BNX2X_SP_RTNL_VFPF_MCAST
	.comm	_BNX2X_RX_MODE_NONE,4,2         ## @BNX2X_RX_MODE_NONE
	.comm	_BNX2X_FILTER_RX_MODE_PENDING,4,2 ## @BNX2X_FILTER_RX_MODE_PENDING
	.comm	_BNX2X_FILTER_RX_MODE_SCHED,4,2 ## @BNX2X_FILTER_RX_MODE_SCHED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_rx_mode_inner        ; -- Begin function bnx2x_set_rx_mode_inner
	.p2align	2
_bnx2x_set_rx_mode_inner:               ; @bnx2x_set_rx_mode_inner
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _BNX2X_RX_MODE_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_RX_MODE_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _NETIF_MSG_IFUP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x8, [x19]
	ldr	w2, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
	ldr	x0, [x19]
	bl	_netif_addr_lock_bh
	ldr	x0, [x19]
	ldr	w8, [x0]
Lloh8:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh11:
	adrp	x8, _BNX2X_RX_MODE_PROMISC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_RX_MODE_PROMISC@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
Lloh13:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
LBB0_3:
Lloh16:
	adrp	x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGE
Lloh17:
	ldr	x8, [x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGEOFF]
LBB0_4:
	ldr	w20, [x8]
LBB0_5:
	str	w20, [x19, #12]
	mov	x0, x19
	bl	_IS_MF_ISCSI_ONLY
	cbz	x0, LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _BNX2X_RX_MODE_NONE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _BNX2X_RX_MODE_NONE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #12]
LBB0_7:
Lloh21:
	adrp	x8, _BNX2X_FILTER_RX_MODE_PENDING@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2X_FILTER_RX_MODE_PENDING@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	add	x20, x19, #8
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _BNX2X_FILTER_RX_MODE_SCHED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_FILTER_RX_MODE_SCHED@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_set_bit
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_16
; %bb.10:
	mov	x0, x19
	bl	_bnx2x_set_storm_rx_mode
LBB0_11:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_netif_addr_unlock_bh
LBB0_12:
	bl	_netdev_mc_count
Lloh27:
	adrp	x8, _BNX2X_MAX_MULTICAST@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2X_MAX_MULTICAST@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbnz	x0, LBB0_3
LBB0_14:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_17
; %bb.15:
	mov	x0, x19
	bl	_bnx2x_set_mc_list
Lloh30:
	adrp	x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGE
Lloh31:
	ldr	x8, [x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w8, w20, lt
	ldr	x0, [x19]
	bl	_netif_addr_unlock_bh
	mov	x0, x19
	bl	_bnx2x_set_uc_list
Lloh33:
	adrp	x8, _BNX2X_RX_MODE_PROMISC@GOTPAGE
Lloh34:
	ldr	x8, [x8, _BNX2X_RX_MODE_PROMISC@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w8, w20, lt
	ldr	x0, [x19]
	bl	_netif_addr_lock_bh
	b	LBB0_5
LBB0_16:
	ldr	x0, [x19]
	bl	_netif_addr_unlock_bh
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bnx2x_vfpf_storm_rx_mode
LBB0_17:
Lloh36:
	adrp	x8, _BNX2X_SP_RTNL_VFPF_MCAST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _BNX2X_SP_RTNL_VFPF_MCAST@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_bnx2x_schedule_sp_rtnl
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_RX_MODE_NORMAL,4,2       ; @BNX2X_RX_MODE_NORMAL
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dev->flags = %x\n"

	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_BNX2X_RX_MODE_PROMISC,4,2      ; @BNX2X_RX_MODE_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_BNX2X_MAX_MULTICAST,8,3        ; @BNX2X_MAX_MULTICAST
	.comm	_BNX2X_RX_MODE_ALLMULTI,4,2     ; @BNX2X_RX_MODE_ALLMULTI
	.comm	_BNX2X_SP_RTNL_VFPF_MCAST,4,2   ; @BNX2X_SP_RTNL_VFPF_MCAST
	.comm	_BNX2X_RX_MODE_NONE,4,2         ; @BNX2X_RX_MODE_NONE
	.comm	_BNX2X_FILTER_RX_MODE_PENDING,4,2 ; @BNX2X_FILTER_RX_MODE_PENDING
	.comm	_BNX2X_FILTER_RX_MODE_SCHED,4,2 ; @BNX2X_FILTER_RX_MODE_SCHED
.subsections_via_symbols
