	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_mcast_set_rdata_hdr_e1
_bnx2x_mcast_set_rdata_hdr_e1:          ## @bnx2x_mcast_set_rdata_hdr_e1
	.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	%rdx, %r14
	movq	(%rsi), %r15
	movq	8(%r15), %rbx
	callq	_CHIP_REV_IS_SLOW
	movslq	(%r15), %rcx
	incq	%rcx
	testq	%rax, %rax
	jne	LBB0_1
## %bb.2:
	movq	_BNX2X_MAX_MULTICAST@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_BNX2X_MAX_EMUL_MULTI@GOTPCREL(%rip), %rax
LBB0_3:
	movslq	(%rax), %rax
	imulq	%rax, %rcx
	movq	%rcx, 16(%rbx)
	movl	$255, %edi
	callq	_cpu_to_le16
	movl	%eax, 12(%rbx)
	movq	_BNX2X_SWCID_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	4(%r15), %eax
	movq	_BNX2X_FILTER_MCAST_PENDING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	_BNX2X_SWCID_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edi
	orl	%eax, %edi
	callq	_cpu_to_le32
	movl	%eax, 8(%rbx)
	movq	%r14, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MAX_EMUL_MULTI,4,2       ## @BNX2X_MAX_EMUL_MULTI
	.comm	_BNX2X_MAX_MULTICAST,4,2        ## @BNX2X_MAX_MULTICAST
	.comm	_BNX2X_SWCID_MASK,4,2           ## @BNX2X_SWCID_MASK
	.comm	_BNX2X_FILTER_MCAST_PENDING,4,2 ## @BNX2X_FILTER_MCAST_PENDING
	.comm	_BNX2X_SWCID_SHIFT,4,2          ## @BNX2X_SWCID_SHIFT
	.no_dead_strip	_bnx2x_mcast_set_rdata_hdr_e1
.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_rdata_hdr_e1
_bnx2x_mcast_set_rdata_hdr_e1:          ; @bnx2x_mcast_set_rdata_hdr_e1
	.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, x2
	ldr	x20, [x1]
	ldr	x21, [x20, #8]
	bl	_CHIP_REV_IS_SLOW
Lloh0:
	adrp	x8, _BNX2X_MAX_MULTICAST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MAX_MULTICAST@GOTPAGEOFF]
Lloh2:
	adrp	x9, _BNX2X_MAX_EMUL_MULTI@GOTPAGE
Lloh3:
	ldr	x9, [x9, _BNX2X_MAX_EMUL_MULTI@GOTPAGEOFF]
	ldrsw	x10, [x20]
	cmp	x0, #0
	csel	x8, x8, x9, eq
	ldrsw	x8, [x8]
	madd	x8, x8, x10, x8
	str	x8, [x21, #16]
	mov	w0, #255
	bl	_cpu_to_le16
	str	w0, [x21, #12]
	ldr	w8, [x20, #4]
Lloh4:
	adrp	x9, _BNX2X_SWCID_MASK@GOTPAGE
Lloh5:
	ldr	x9, [x9, _BNX2X_SWCID_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh7:
	adrp	x9, _BNX2X_FILTER_MCAST_PENDING@GOTPAGE
Lloh8:
	ldr	x9, [x9, _BNX2X_FILTER_MCAST_PENDING@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _BNX2X_SWCID_SHIFT@GOTPAGE
Lloh11:
	ldr	x10, [x10, _BNX2X_SWCID_SHIFT@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	lsl	w9, w9, w10
	orr	w0, w9, w8
	bl	_cpu_to_le32
	str	w0, [x21, #8]
	str	x19, [x21]
	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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MAX_EMUL_MULTI,4,2       ; @BNX2X_MAX_EMUL_MULTI
	.comm	_BNX2X_MAX_MULTICAST,4,2        ; @BNX2X_MAX_MULTICAST
	.comm	_BNX2X_SWCID_MASK,4,2           ; @BNX2X_SWCID_MASK
	.comm	_BNX2X_FILTER_MCAST_PENDING,4,2 ; @BNX2X_FILTER_MCAST_PENDING
	.comm	_BNX2X_SWCID_SHIFT,4,2          ; @BNX2X_SWCID_SHIFT
	.no_dead_strip	_bnx2x_mcast_set_rdata_hdr_e1
.subsections_via_symbols
