	.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_e1
_bnx2x_mcast_set_one_rule_e1:           ## @bnx2x_mcast_set_one_rule_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	%rsi, %r15
	movq	_BNX2X_MCAST_CMD_ADD@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_BNX2X_MCAST_CMD_RESTORE@GOTPCREL(%rip), %rax
	cmpl	%r8d, (%rax)
	je	LBB0_3
## %bb.2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%r15), %r14
	movq	(%r14), %rax
	movslq	%edx, %rdx
	shlq	$3, %rdx
	leaq	(%rdx,%rdx,4), %rbx
	leaq	(%rax,%rbx), %rdi
	addq	$32, %rdi
	leaq	(%rax,%rbx), %rsi
	addq	$28, %rsi
	leaq	(%rax,%rbx), %rdx
	addq	$24, %rdx
	movl	(%rcx), %ecx
	callq	_bnx2x_set_fw_mac_addr
	movq	(%r14), %rax
	movq	$0, 16(%rax,%rbx)
	movl	4(%r15), %ecx
	movl	%ecx, 8(%rax,%rbx)
	movb	(%r15), %cl
	movl	$1, %edi
	shll	%cl, %edi
	callq	_cpu_to_le32
	movq	(%r14), %rcx
	movl	%eax, 4(%rcx,%rbx)
	movl	(%rcx,%rbx), %edi
	movq	_MAC_CONFIGURATION_ENTRY_ACTION_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_T_ETH_MAC_COMMAND_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SET_FLAG                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MCAST_CMD_ADD,4,2        ## @BNX2X_MCAST_CMD_ADD
	.comm	_BNX2X_MCAST_CMD_RESTORE,4,2    ## @BNX2X_MCAST_CMD_RESTORE
	.comm	_MAC_CONFIGURATION_ENTRY_ACTION_TYPE,4,2 ## @MAC_CONFIGURATION_ENTRY_ACTION_TYPE
	.comm	_T_ETH_MAC_COMMAND_SET,4,2      ## @T_ETH_MAC_COMMAND_SET
	.no_dead_strip	_bnx2x_mcast_set_one_rule_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_one_rule_e1
_bnx2x_mcast_set_one_rule_e1:           ; @bnx2x_mcast_set_one_rule_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
Lloh0:
	adrp	x8, _BNX2X_MCAST_CMD_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_MCAST_CMD_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BNX2X_MCAST_CMD_RESTORE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNX2X_MCAST_CMD_RESTORE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w4
	ccmp	w9, w4, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	ldr	x21, [x1, #8]
	ldr	x8, [x21]
	mov	w22, #40
	smaddl	x8, w2, w22, x8
	add	x0, x8, #32
	add	x1, x8, #28
	add	x2, x8, #24
	ldr	w3, [x3]
	bl	_bnx2x_set_fw_mac_addr
	ldr	x8, [x21]
	smaddl	x8, w19, w22, x8
	str	xzr, [x8, #16]
	ldp	w10, w9, [x20]
	str	w9, [x8, #8]
	mov	w8, #1
	lsl	w0, w8, w10
	bl	_cpu_to_le32
	ldr	x8, [x21]
	smaddl	x8, w19, w22, x8
	str	w0, [x8, #4]
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _MAC_CONFIGURATION_ENTRY_ACTION_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MAC_CONFIGURATION_ENTRY_ACTION_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _T_ETH_MAC_COMMAND_SET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _T_ETH_MAC_COMMAND_SET@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	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_FLAG
LBB0_2:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MCAST_CMD_ADD,4,2        ; @BNX2X_MCAST_CMD_ADD
	.comm	_BNX2X_MCAST_CMD_RESTORE,4,2    ; @BNX2X_MCAST_CMD_RESTORE
	.comm	_MAC_CONFIGURATION_ENTRY_ACTION_TYPE,4,2 ; @MAC_CONFIGURATION_ENTRY_ACTION_TYPE
	.comm	_T_ETH_MAC_COMMAND_SET,4,2      ; @T_ETH_MAC_COMMAND_SET
	.no_dead_strip	_bnx2x_mcast_set_one_rule_e1
.subsections_via_symbols
