	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_one_vlan_mac_e2
_bnx2x_set_one_vlan_mac_e2:             ## @bnx2x_set_one_vlan_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %rdx
	movq	8(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r15
	movslq	%ecx, %rax
	leaq	(%rax,%rax,4), %r14
	leaq	(%r15,%r14,8), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	(%r12), %esi
	movq	_BNX2X_VLAN_MAC_ADD@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	cmpl	(%rax), %esi
	sete	%r13b
	movl	24(%r12), %eax
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	movq	16(%r12), %rbx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
LBB0_2:
	movq	_CLASSIFY_RULE_OPCODE_PAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	(%r15,%r14,8), %r8
	addq	$32, %r8
	movq	%rdx, %rsi
	movl	%r13d, %edx
	callq	_bnx2x_vlan_mac_set_cmd_hdr_e2
	movl	-60(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r15,%r14,8)
	leaq	(%r15,%r14,8), %rdi
	addq	$16, %rdi
	leaq	(%r15,%r14,8), %rsi
	addq	$12, %rsi
	leaq	(%r15,%r14,8), %rdx
	addq	$8, %rdx
	movq	%rbx, %rcx
	callq	_bnx2x_set_fw_mac_addr
	movl	8(%r12), %edi
	callq	_cpu_to_le16
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_BNX2X_VLAN_MAC_MOVE@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %edx                 ## 4-byte Reload
	cmpl	(%rax), %edx
	jne	LBB0_3
## %bb.4:
	movq	%rbx, %r15
	movq	%rcx, %rbx
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	addl	$2, %r14d
	movq	32(%r12), %rsi
	movq	_CLASSIFY_RULE_OPCODE_PAIR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	72(%rbx), %r8
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_bnx2x_vlan_mac_set_cmd_hdr_e2
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movq	%rax, 64(%rbx)
	leaq	56(%rbx), %rdi
	leaq	52(%rbx), %rsi
	leaq	48(%rbx), %rdx
	movq	%r15, %rcx
	callq	_bnx2x_set_fw_mac_addr
	movl	8(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, 40(%rbx)
	jmp	LBB0_5
LBB0_3:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	incl	%r14d
LBB0_5:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	4(%rax), %edi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movl	%r14d, %ecx
	addq	$56, %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	_CLASSIFY_RULE_OPCODE_PAIR,4,2  ## @CLASSIFY_RULE_OPCODE_PAIR
	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ## @BNX2X_VLAN_MAC_MOVE
	.no_dead_strip	_bnx2x_set_one_vlan_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_vlan_mac_e2
_bnx2x_set_one_vlan_mac_e2:             ; @bnx2x_set_one_vlan_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	x25, x3
	mov	x22, x2
	mov	x20, x1
	ldr	x9, [x1, #8]
	add	w8, w3, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	ldr	x23, [x9, #8]
	sxtw	x24, w25
	mov	w8, #40
	smaddl	x28, w3, w8, x23
Lloh0:
	adrp	x8, _BNX2X_VLAN_MAC_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_ADD@GOTPAGEOFF]
	ldr	w21, [x2]
Lloh2:
	ldr	w8, [x8]
	cmp	w21, w8
	cset	w27, eq
	ldr	w26, [x2, #24]
	ldr	x19, [x2, #16]
	cbnz	w3, LBB0_2
; %bb.1:
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
LBB0_2:
Lloh3:
	adrp	x8, _CLASSIFY_RULE_OPCODE_PAIR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLASSIFY_RULE_OPCODE_PAIR@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	mov	w8, #40
	madd	x23, x24, x8, x23
	add	x4, x23, #32
	mov	x24, x0
	mov	x1, x20
	mov	x2, x27
	bl	_bnx2x_vlan_mac_set_cmd_hdr_e2
	mov	x0, x26
	bl	_cpu_to_le16
	str	x0, [x23, #24]
	add	x0, x23, #16
	add	x1, x23, #12
	add	x2, x23, #8
	mov	x3, x19
	bl	_bnx2x_set_fw_mac_addr
	ldr	w0, [x22, #8]
	bl	_cpu_to_le16
	str	x0, [x28]
Lloh6:
	adrp	x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w21, w8
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	b.ne	LBB0_4
; %bb.3:
	add	w21, w25, #2
	ldr	x1, [x22, #32]
Lloh9:
	adrp	x8, _CLASSIFY_RULE_OPCODE_PAIR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CLASSIFY_RULE_OPCODE_PAIR@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	add	x4, x28, #72
	mov	x0, x24
	mov	w2, #1
	bl	_bnx2x_vlan_mac_set_cmd_hdr_e2
	mov	x0, x26
	bl	_cpu_to_le16
	str	x0, [x28, #64]
	add	x0, x28, #56
	add	x1, x28, #52
	add	x2, x28, #48
	mov	x3, x19
	bl	_bnx2x_set_fw_mac_addr
	ldr	w0, [x22, #8]
	bl	_cpu_to_le16
	str	x0, [x28, #40]
LBB0_4:
	ldp	w1, w0, [x20]
	ldr	x2, [sp, #24]                   ; 8-byte Folded Reload
	mov	x3, x21
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ; @BNX2X_VLAN_MAC_ADD
	.comm	_CLASSIFY_RULE_OPCODE_PAIR,4,2  ; @CLASSIFY_RULE_OPCODE_PAIR
	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ; @BNX2X_VLAN_MAC_MOVE
	.no_dead_strip	_bnx2x_set_one_vlan_mac_e2
.subsections_via_symbols
