	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_mcast_set_one_rule_e2
_bnx2x_mcast_set_one_rule_e2:           ## @bnx2x_mcast_set_one_rule_e2
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	16(%rsi), %rbx
	movl	8(%rsi), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_bnx2x_mcast_get_rx_tx_flag
	movl	%r15d, %ecx
	andl	$-3, %ecx
	xorl	%r13d, %r13d
	movq	_ETH_MULTICAST_RULES_CMD_IS_ADD@GOTPCREL(%rip), %rdx
	cmpl	$128, %ecx
	jne	LBB0_2
## %bb.1:
	movl	(%rdx), %r13d
LBB0_2:
	orl	%eax, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	movslq	%r12d, %rbx
	shlq	$4, %rbx
	orl	%r13d, (%rax,%rbx)
	cmpl	$128, %r15d
	je	LBB0_6
## %bb.3:
	cmpl	$129, %r15d
	je	LBB0_8
## %bb.4:
	cmpl	$130, %r15d
	jne	LBB0_7
## %bb.5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	movq	%rdx, %r12
	callq	_bnx2x_mcast_bin_from_mac
	movl	%eax, %r15d
	movl	4(%r14), %edi
	movl	%eax, %esi
	callq	_BIT_VEC64_SET_BIT
	movq	%r12, %rdx
	jmp	LBB0_9
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	jmp	LBB0_9
LBB0_8:
	movq	%r14, %rdi
	movq	%rdx, %r15
	callq	_bnx2x_mcast_clear_first_bin
	movq	%r15, %rdx
	movl	%eax, %r15d
LBB0_9:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	andl	(%rdx), %r13d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.1(%rip), %rsi
	movl	%r15d, %ecx
	callq	_DP
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	%r15d, 4(%rax,%rbx)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, 8(%rax,%rbx)
	movl	(%r14), %ecx
	movl	%ecx, 12(%rax,%rbx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str(%rip), %rdi
	movl	%r15d, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_BNX2X_ERR                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_MULTICAST_RULES_CMD_IS_ADD,4,2 ## @ETH_MULTICAST_RULES_CMD_IS_ADD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unknown command: %d\n"

	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
L_.str.1:                               ## @.str.1
	.asciz	"%s bin %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Setting"

L_.str.3:                               ## @.str.3
	.asciz	"Clearing"

	.no_dead_strip	_bnx2x_mcast_set_one_rule_e2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_mcast_set_one_rule_e2
_bnx2x_mcast_set_one_rule_e2:           ; @bnx2x_mcast_set_one_rule_e2
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x19, x1
	ldr	x24, [x1, #16]
	ldr	w23, [x1, #8]
	mov	x0, x1
	bl	_bnx2x_mcast_get_rx_tx_flag
	and	w8, w21, #0xfffffffd
Lloh0:
	adrp	x25, _ETH_MULTICAST_RULES_CMD_IS_ADD@GOTPAGE
Lloh1:
	ldr	x25, [x25, _ETH_MULTICAST_RULES_CMD_IS_ADD@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w8, #128
	csel	w8, w9, wzr, eq
	orr	w26, w8, w0
	ldr	x8, [x24]
	sbfiz	x9, x20, #4, #32
	ldr	w10, [x8, x9]
	orr	w10, w10, w26
	str	w10, [x8, x9]
	cmp	w21, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w21, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w21, #130
	b.ne	LBB0_7
; %bb.3:
	ldr	w0, [x22]
	bl	_bnx2x_mcast_bin_from_mac
	mov	x21, x0
	ldr	w0, [x19, #4]
	mov	x1, x21
	bl	_BIT_VEC64_SET_BIT
	b	LBB0_6
LBB0_4:
	ldr	w21, [x22]
	b	LBB0_6
LBB0_5:
	mov	x0, x19
	bl	_bnx2x_mcast_clear_first_bin
	mov	x21, x0
LBB0_6:
	sxtw	x20, w20
Lloh2:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	ldr	w8, [x25]
Lloh5:
	adrp	x9, l_.str.2@PAGE
Lloh6:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh7:
	adrp	x10, l_.str.3@PAGE
Lloh8:
	add	x10, x10, l_.str.3@PAGEOFF
	tst	w8, w26
	csel	x2, x10, x9, eq
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x3, x21
	bl	_DP
	ldr	x8, [x24]
	add	x8, x8, x20, lsl #4
	stp	w21, w23, [x8, #4]
	ldr	w9, [x19]
	str	w9, [x8, #12]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_BNX2X_ERR
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_MULTICAST_RULES_CMD_IS_ADD,4,2 ; @ETH_MULTICAST_RULES_CMD_IS_ADD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unknown command: %d\n"

	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
l_.str.1:                               ; @.str.1
	.asciz	"%s bin %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Setting"

l_.str.3:                               ; @.str.3
	.asciz	"Clearing"

	.no_dead_strip	_bnx2x_mcast_set_one_rule_e2
.subsections_via_symbols
