	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_rx_mode              ## -- Begin function bnx2x_set_rx_mode
	.p2align	4, 0x90
_bnx2x_set_rx_mode:                     ## @bnx2x_set_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	(%rax), %rdx
	movq	_BNX2X_STATE_OPEN@GOTPCREL(%rip), %rax
	movq	_NETIF_MSG_IFUP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpq	(%rax), %rdx
	jne	LBB0_3
## %bb.1:
	movq	_BNX2X_RX_MODE_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	24(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movl	(%rbx), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_4
LBB0_2:
	movq	_BNX2X_RX_MODE_PROMISC@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP                             ## TAILCALL
LBB0_4:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
LBB0_5:
	movq	_BNX2X_RX_MODE_ALLMULTI@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %r15d
LBB0_7:
	movl	%r15d, 20(%r14)
	movq	%r14, %rdi
	callq	_IS_MF_ISCSI_SD
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	_BNX2X_RX_MODE_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
LBB0_9:
	movq	_BNX2X_FILTER_RX_MODE_PENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rbx
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	movq	_BNX2X_FILTER_RX_MODE_SCHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
LBB0_11:
	movq	%r14, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_19
## %bb.12:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_set_storm_rx_mode        ## TAILCALL
LBB0_13:
	movq	%rbx, %rdi
	callq	_netdev_mc_count
	movq	_BNX2X_MAX_MULTICAST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_CHIP_IS_E1
	testq	%rax, %rax
	jne	LBB0_5
LBB0_15:
	movq	%r14, %rdi
	callq	_IS_PF
	testq	%rax, %rax
	je	LBB0_20
## %bb.16:
	movq	%r14, %rdi
	callq	_bnx2x_set_mc_list
	testq	%rax, %rax
	jns	LBB0_18
## %bb.17:
	movq	_BNX2X_RX_MODE_ALLMULTI@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
LBB0_18:
	movq	%r14, %rdi
	callq	_bnx2x_set_uc_list
	testq	%rax, %rax
	js	LBB0_2
	jmp	LBB0_7
LBB0_19:
	xorl	%eax, %eax
	callq	_smp_mb__before_clear_bit
	movq	_BNX2X_SP_RTNL_VFPF_STORM_RX_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r14), %rsi
	callq	_set_bit
	xorl	%eax, %eax
	callq	_smp_mb__after_clear_bit
	addq	$8, %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_schedule_delayed_work          ## TAILCALL
LBB0_20:
	xorl	%eax, %eax
	callq	_smp_mb__before_clear_bit
	movq	_BNX2X_SP_RTNL_VFPF_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r14), %rsi
	callq	_set_bit
	xorl	%eax, %eax
	callq	_smp_mb__after_clear_bit
	leaq	8(%r14), %rdi
	xorl	%esi, %esi
	callq	_schedule_delayed_work
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_RX_MODE_NORMAL,4,2       ## @BNX2X_RX_MODE_NORMAL
	.comm	_BNX2X_STATE_OPEN,8,3           ## @BNX2X_STATE_OPEN
	.comm	_NETIF_MSG_IFUP,4,2             ## @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"state is %x, returning\n"

L_.str.1:                               ## @.str.1
	.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
	.comm	_BNX2X_SP_RTNL_VFPF_STORM_RX_MODE,4,2 ## @BNX2X_SP_RTNL_VFPF_STORM_RX_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_set_rx_mode              ; -- Begin function bnx2x_set_rx_mode
	.p2align	2
_bnx2x_set_rx_mode:                     ; @bnx2x_set_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	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _BNX2X_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_STATE_OPEN@GOTPAGEOFF]
	ldr	x2, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NETIF_MSG_IFUP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_MSG_IFUP@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x9]
	cmp	x2, x8
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _BNX2X_RX_MODE_NORMAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_RX_MODE_NORMAL@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	ldr	x8, [x19, #24]
	ldr	x2, [x8]
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	w8, [x20]
Lloh11:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh12:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
Lloh14:
	adrp	x8, _BNX2X_RX_MODE_PROMISC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_RX_MODE_PROMISC@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_DP
LBB0_4:
Lloh18:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
LBB0_5:
Lloh21:
	adrp	x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGEOFF]
LBB0_6:
	ldr	w21, [x8]
LBB0_7:
	str	w21, [x19, #20]
	mov	x0, x19
	bl	_IS_MF_ISCSI_SD
	cbz	x0, LBB0_9
; %bb.8:
Lloh23:
	adrp	x8, _BNX2X_RX_MODE_NONE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _BNX2X_RX_MODE_NONE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	str	w8, [x19, #20]
LBB0_9:
Lloh26:
	adrp	x8, _BNX2X_FILTER_RX_MODE_PENDING@GOTPAGE
Lloh27:
	ldr	x8, [x8, _BNX2X_FILTER_RX_MODE_PENDING@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_11
; %bb.10:
Lloh29:
	adrp	x8, _BNX2X_FILTER_RX_MODE_SCHED@GOTPAGE
Lloh30:
	ldr	x8, [x8, _BNX2X_FILTER_RX_MODE_SCHED@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	mov	x1, x20
	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
	b	_set_bit
LBB0_11:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_17
; %bb.12:
	mov	x0, x19
	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
	b	_bnx2x_set_storm_rx_mode
LBB0_13:
	mov	x0, x20
	bl	_netdev_mc_count
Lloh32:
	adrp	x8, _BNX2X_MAX_MULTICAST@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BNX2X_MAX_MULTICAST@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_CHIP_IS_E1
	cbnz	x0, LBB0_5
LBB0_15:
	mov	x0, x19
	bl	_IS_PF
	cbz	x0, LBB0_18
; %bb.16:
	mov	x0, x19
	bl	_bnx2x_set_mc_list
Lloh35:
	adrp	x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGE
Lloh36:
	ldr	x8, [x8, _BNX2X_RX_MODE_ALLMULTI@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w20, w8, w21, lt
	mov	x0, x19
	bl	_bnx2x_set_uc_list
Lloh38:
	adrp	x8, _BNX2X_RX_MODE_PROMISC@GOTPAGE
Lloh39:
	ldr	x8, [x8, _BNX2X_RX_MODE_PROMISC@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	x0, #0
	csel	w21, w8, w20, lt
	b	LBB0_7
LBB0_17:
	bl	_smp_mb__before_clear_bit
Lloh41:
	adrp	x8, _BNX2X_SP_RTNL_VFPF_STORM_RX_MODE@GOTPAGE
Lloh42:
	ldr	x8, [x8, _BNX2X_SP_RTNL_VFPF_STORM_RX_MODE@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_set_bit
	bl	_smp_mb__after_clear_bit
	add	x0, x19, #8
	mov	w1, #0
	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
	b	_schedule_delayed_work
LBB0_18:
	bl	_smp_mb__before_clear_bit
Lloh44:
	adrp	x8, _BNX2X_SP_RTNL_VFPF_MCAST@GOTPAGE
Lloh45:
	ldr	x8, [x8, _BNX2X_SP_RTNL_VFPF_MCAST@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_set_bit
	bl	_smp_mb__after_clear_bit
	add	x0, x19, #8
	mov	w1, #0
	bl	_schedule_delayed_work
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_RX_MODE_NORMAL,4,2       ; @BNX2X_RX_MODE_NORMAL
	.comm	_BNX2X_STATE_OPEN,8,3           ; @BNX2X_STATE_OPEN
	.comm	_NETIF_MSG_IFUP,4,2             ; @NETIF_MSG_IFUP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"state is %x, returning\n"

l_.str.1:                               ; @.str.1
	.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
	.comm	_BNX2X_SP_RTNL_VFPF_STORM_RX_MODE,4,2 ; @BNX2X_SP_RTNL_VFPF_STORM_RX_MODE
.subsections_via_symbols
