	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_one_mac_e2
_bnx2x_set_one_mac_e2:                  ## @bnx2x_set_one_mac_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	16(%rsi), %rax
	movl	(%rdx), %edx
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rax
	leaq	(%rax,%rax,2), %r12
	movq	_BNX2X_VLAN_MAC_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r14d, %r14d
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	cmpl	%eax, %edx
	sete	%r14b
	movq	24(%rbx), %r13
	movq	_BNX2X_VLAN_MAC_MOVE@GOTPCREL(%rip), %rax
	movl	%edx, -72(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %edx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	leaq	8(%rbx), %rsi
	movq	_BNX2X_ISCSI_ETH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_BNX2X_LLH_CAM_ISCSI_ETH_LINE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_BNX2X_ETH_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_test_bit
	testq	%rax, %rax
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_6
## %bb.4:
	movq	_BNX2X_LLH_CAM_ETH_LINE@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ecx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	movq	%r13, %rdx
	callq	_bnx2x_set_mac_in_nig
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	leaq	(%r15,%r12,8), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:
	movq	%rdi, %rbx
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%rbx, %rdi
LBB0_8:
	movq	_CLASSIFY_RULE_OPCODE_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	(%r15,%r12,8), %r8
	addq	$20, %r8
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_bnx2x_vlan_mac_set_cmd_hdr_e2
	movl	-72(%rbp), %r13d                ## 4-byte Reload
	cmpl	-68(%rbp), %r13d                ## 4-byte Folded Reload
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str.2(%rip), %rdx
	cmoveq	%rax, %rdx
	movl	8(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	movq	-104(%rbp), %r14                ## 8-byte Reload
	movq	%r14, %rcx
	callq	_DP
	leaq	(%r15,%r12,8), %rdi
	addq	$16, %rdi
	leaq	(%r15,%r12,8), %rsi
	addq	$12, %rsi
	leaq	(%r15,%r12,8), %rdx
	addq	$8, %rdx
	movq	%r14, %rcx
	callq	_bnx2x_set_fw_mac_addr
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	16(%rbx), %edi
	callq	_cpu_to_le16
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	_BNX2X_VLAN_MAC_MOVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r13d
	jne	LBB0_9
## %bb.10:
	movq	%rbx, %r15
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	$2, %ebx
	movq	32(%r15), %rsi
	movq	_CLASSIFY_RULE_OPCODE_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	44(%r12), %r8
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_bnx2x_vlan_mac_set_cmd_hdr_e2
	leaq	40(%r12), %rdi
	leaq	36(%r12), %rsi
	leaq	32(%r12), %rdx
	movq	%r14, %rcx
	callq	_bnx2x_set_fw_mac_addr
	movl	16(%r15), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r12)
	jmp	LBB0_11
LBB0_9:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
LBB0_11:
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %ecx
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnx2x_vlan_mac_set_rdata_hdr_e2 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ## @BNX2X_VLAN_MAC_ADD
	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ## @BNX2X_VLAN_MAC_MOVE
	.comm	_BNX2X_ISCSI_ETH_MAC,4,2        ## @BNX2X_ISCSI_ETH_MAC
	.comm	_BNX2X_LLH_CAM_ISCSI_ETH_LINE,4,2 ## @BNX2X_LLH_CAM_ISCSI_ETH_LINE
	.comm	_BNX2X_ETH_MAC,4,2              ## @BNX2X_ETH_MAC
	.comm	_BNX2X_LLH_CAM_ETH_LINE,4,2     ## @BNX2X_LLH_CAM_ETH_LINE
	.comm	_CLASSIFY_RULE_OPCODE_MAC,4,2   ## @CLASSIFY_RULE_OPCODE_MAC
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"About to %s MAC %pM for Queue %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"add"

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

	.no_dead_strip	_bnx2x_set_one_mac_e2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_set_one_mac_e2
_bnx2x_set_one_mac_e2:                  ; @bnx2x_set_one_mac_e2
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x3
	mov	x21, x2
	mov	x20, x1
	ldr	x8, [x1, #16]
	ldr	w28, [x2]
	stp	x8, x0, [sp, #16]               ; 16-byte Folded Spill
	ldr	x23, [x8, #8]
	mov	w8, #24
	smaddl	x27, w3, w8, x23
Lloh0:
	adrp	x8, _BNX2X_VLAN_MAC_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	cmp	w28, w19
	cset	w26, eq
	ldr	x22, [x2, #24]
Lloh3:
	adrp	x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w28, w8
	b.eq	LBB0_6
; %bb.1:
	add	x25, x21, #8
Lloh6:
	adrp	x8, _BNX2X_ISCSI_ETH_MAC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_ISCSI_ETH_MAC@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _BNX2X_LLH_CAM_ISCSI_ETH_LINE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BNX2X_LLH_CAM_ISCSI_ETH_LINE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:
Lloh11:
	adrp	x8, _BNX2X_ETH_MAC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BNX2X_ETH_MAC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	mov	x1, x25
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.4:
Lloh14:
	adrp	x8, _BNX2X_LLH_CAM_ETH_LINE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _BNX2X_LLH_CAM_ETH_LINE@GOTPAGEOFF]
LBB0_5:
	ldr	w3, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x26
	mov	x2, x22
	bl	_bnx2x_set_mac_in_nig
LBB0_6:
	add	w8, w24, #1
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	sxtw	x25, w24
	cbnz	w24, LBB0_8
; %bb.7:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	w1, #0
	mov	w2, #16
	bl	_memset
LBB0_8:
Lloh16:
	adrp	x8, _CLASSIFY_RULE_OPCODE_MAC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CLASSIFY_RULE_OPCODE_MAC@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	mov	w8, #24
	madd	x23, x25, x8, x23
	add	x4, x23, #20
	ldr	x25, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x25
	mov	x1, x20
	mov	x2, x26
	bl	_bnx2x_vlan_mac_set_cmd_hdr_e2
Lloh19:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh21:
	adrp	x9, l_.str.2@PAGE
Lloh22:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh23:
	ldr	w0, [x8]
Lloh24:
	adrp	x8, l_.str.1@PAGE
Lloh25:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	w28, w19
	csel	x2, x8, x9, eq
	ldr	w4, [x20, #8]
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x22
	bl	_DP
	add	x0, x23, #16
	add	x1, x23, #12
	add	x2, x23, #8
	mov	x3, x22
	bl	_bnx2x_set_fw_mac_addr
	ldr	w0, [x21, #16]
	bl	_cpu_to_le16
	str	x0, [x27]
Lloh28:
	adrp	x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w28, w8
	ldr	w19, [sp, #12]                  ; 4-byte Folded Reload
	b.ne	LBB0_10
; %bb.9:
	add	w19, w24, #2
	ldr	x1, [x21, #32]
Lloh31:
	adrp	x8, _CLASSIFY_RULE_OPCODE_MAC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _CLASSIFY_RULE_OPCODE_MAC@GOTPAGEOFF]
Lloh33:
	ldr	w3, [x8]
	add	x4, x27, #44
	mov	x0, x25
	mov	w2, #1
	bl	_bnx2x_vlan_mac_set_cmd_hdr_e2
	add	x0, x27, #40
	add	x1, x27, #36
	add	x2, x27, #32
	mov	x3, x22
	bl	_bnx2x_set_fw_mac_addr
	ldr	w0, [x21, #16]
	bl	_cpu_to_le16
	str	x0, [x27, #24]
LBB0_10:
	ldp	w1, w0, [x20]
	ldr	x2, [sp, #16]                   ; 8-byte Folded Reload
	mov	x3, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_bnx2x_vlan_mac_set_rdata_hdr_e2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh23
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ; @BNX2X_VLAN_MAC_ADD
	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ; @BNX2X_VLAN_MAC_MOVE
	.comm	_BNX2X_ISCSI_ETH_MAC,4,2        ; @BNX2X_ISCSI_ETH_MAC
	.comm	_BNX2X_LLH_CAM_ISCSI_ETH_LINE,4,2 ; @BNX2X_LLH_CAM_ISCSI_ETH_LINE
	.comm	_BNX2X_ETH_MAC,4,2              ; @BNX2X_ETH_MAC
	.comm	_BNX2X_LLH_CAM_ETH_LINE,4,2     ; @BNX2X_LLH_CAM_ETH_LINE
	.comm	_CLASSIFY_RULE_OPCODE_MAC,4,2   ; @CLASSIFY_RULE_OPCODE_MAC
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"About to %s MAC %pM for Queue %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"add"

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

	.no_dead_strip	_bnx2x_set_one_mac_e2
.subsections_via_symbols
