	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_set_rx_mode
_bnxt_set_rx_mode:                      ## @bnxt_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r13
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_BNXT_STATE_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movq	_CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS@GOTPCREL(%rip), %rcx
	movq	_CFA_L2_SET_RX_MASK_REQ_MASK_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	orl	(%rcx), %ebx
	movq	_CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	8(%r14), %r12
	movq	_CFA_L2_SET_RX_MASK_REQ_MASK_BCAST@GOTPCREL(%rip), %r15
	orl	(%r15), %ebx
	notl	%ebx
	andl	(%r12), %ebx
	movl	%ebx, -44(%rbp)
	movq	_IFF_PROMISC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_bnxt_promisc_ok
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -44(%rbp)
LBB0_4:
	movq	%r14, %rdi
	callq	_bnxt_uc_list_updated
	movl	%eax, %edx
	movl	(%r13), %eax
	movq	_IFF_BROADCAST@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:
	orl	(%r15), %ebx
	movl	%ebx, -44(%rbp)
LBB0_6:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_8
## %bb.7:
	movq	_CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -44(%rbp)
	movq	$0, 8(%r12)
	xorl	%eax, %eax
	cmpl	(%r12), %ebx
	je	LBB0_10
	jmp	LBB0_12
LBB0_8:
	leaq	-44(%rbp), %rsi
	movq	%r14, %rdi
	movl	%edx, %ebx
	callq	_bnxt_mc_list_updated
	movl	%ebx, %edx
	testl	%eax, %eax
	setne	%al
	movl	-44(%rbp), %ebx
	cmpl	(%r12), %ebx
	jne	LBB0_12
LBB0_10:
	testl	%edx, %edx
	jne	LBB0_12
## %bb.11:
	testb	%al, %al
	je	LBB0_13
LBB0_12:
	movl	%ebx, (%r12)
	movq	_BNXT_RX_MASK_SP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_set_bit
	movq	%r14, %rdi
	callq	_bnxt_queue_sp_work
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_STATE_OPEN,4,2            ## @BNXT_STATE_OPEN
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS,4,2 ## @CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_MCAST,4,2 ## @CFA_L2_SET_RX_MASK_REQ_MASK_MCAST
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST,4,2 ## @CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_BCAST,4,2 ## @CFA_L2_SET_RX_MASK_REQ_MASK_BCAST
	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_BROADCAST,4,2              ## @IFF_BROADCAST
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
	.comm	_BNXT_RX_MASK_SP_EVENT,4,2      ## @BNXT_RX_MASK_SP_EVENT
	.no_dead_strip	_bnxt_set_rx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_set_rx_mode
_bnxt_set_rx_mode:                      ; @bnxt_set_rx_mode
	.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, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _BNXT_STATE_OPEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_STATE_OPEN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_11
; %bb.1:
	ldr	x22, [x19, #8]
	ldr	w8, [x22]
Lloh3:
	adrp	x21, _CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS@GOTPAGEOFF]
Lloh5:
	adrp	x9, _CFA_L2_SET_RX_MASK_REQ_MASK_MCAST@GOTPAGE
Lloh6:
	ldr	x9, [x9, _CFA_L2_SET_RX_MASK_REQ_MASK_MCAST@GOTPAGEOFF]
	ldr	w10, [x21]
Lloh7:
	ldr	w9, [x9]
	orr	w9, w9, w10
Lloh8:
	adrp	x23, _CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST@GOTPAGE
Lloh9:
	ldr	x23, [x23, _CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST@GOTPAGEOFF]
	ldr	w10, [x23]
	orr	w9, w9, w10
Lloh10:
	adrp	x25, _CFA_L2_SET_RX_MASK_REQ_MASK_BCAST@GOTPAGE
Lloh11:
	ldr	x25, [x25, _CFA_L2_SET_RX_MASK_REQ_MASK_BCAST@GOTPAGEOFF]
	ldr	w10, [x25]
	orr	w9, w9, w10
	bic	w24, w8, w9
	str	w24, [sp, #12]
	ldr	w8, [x20]
Lloh12:
	adrp	x9, _IFF_PROMISC@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IFF_PROMISC@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x0, x19
	bl	_bnxt_promisc_ok
	cbz	x0, LBB0_4
; %bb.3:
	ldr	w8, [x21]
	orr	w24, w24, w8
	str	w24, [sp, #12]
LBB0_4:
	mov	x0, x19
	bl	_bnxt_uc_list_updated
	mov	x21, x0
	ldr	w8, [x20]
Lloh15:
	adrp	x9, _IFF_BROADCAST@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IFF_BROADCAST@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.5:
	ldr	w9, [x25]
	orr	w24, w24, w9
	str	w24, [sp, #12]
LBB0_6:
Lloh18:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh19:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
	mov	w9, #0
	ldr	w8, [x23]
	orr	w8, w24, w8
	str	w8, [sp, #12]
	str	xzr, [x22, #8]
	b	LBB0_9
LBB0_8:
	add	x1, sp, #12
	mov	x0, x19
	bl	_bnxt_mc_list_updated
	cmp	w0, #0
	cset	w9, ne
	ldr	w8, [sp, #12]
LBB0_9:
	ldr	w10, [x22]
	cmp	w8, w10
	ccmp	w21, #0, #0, eq
	ccmp	w9, #0, #0, eq
	b.eq	LBB0_11
; %bb.10:
	str	w8, [x22]
Lloh21:
	adrp	x8, _BNXT_RX_MASK_SP_EVENT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BNXT_RX_MASK_SP_EVENT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_set_bit
	mov	x0, x19
	bl	_bnxt_queue_sp_work
LBB0_11:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_STATE_OPEN,4,2            ; @BNXT_STATE_OPEN
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS,4,2 ; @CFA_L2_SET_RX_MASK_REQ_MASK_PROMISCUOUS
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_MCAST,4,2 ; @CFA_L2_SET_RX_MASK_REQ_MASK_MCAST
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST,4,2 ; @CFA_L2_SET_RX_MASK_REQ_MASK_ALL_MCAST
	.comm	_CFA_L2_SET_RX_MASK_REQ_MASK_BCAST,4,2 ; @CFA_L2_SET_RX_MASK_REQ_MASK_BCAST
	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_BROADCAST,4,2              ; @IFF_BROADCAST
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
	.comm	_BNXT_RX_MASK_SP_EVENT,4,2      ; @BNXT_RX_MASK_SP_EVENT
	.no_dead_strip	_bnxt_set_rx_mode
.subsections_via_symbols
