	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_set_one_vlan_e2
_bnx2x_set_one_vlan_e2:                 ## @bnx2x_set_one_vlan_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	8(%rsi), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	8(%rax), %r15
	movslq	%ecx, %r12
	shlq	$4, %r12
	leaq	(%r15,%r12), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	(%rdx), %ebx
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	16(%rdx), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	_BNX2X_VLAN_MAC_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	xorl	%r14d, %r14d
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	cmpl	%r13d, %ebx
	sete	%r14b
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%ecx, %ecx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
LBB0_2:
	movq	_CLASSIFY_RULE_OPCODE_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	(%r15,%r12), %r8
	addq	$8, %r8
	movq	%rsi, %r12
	movl	%r14d, %edx
	callq	_bnx2x_vlan_mac_set_cmd_hdr_e2
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	cmpl	%r13d, %r14d
	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
	leaq	L_.str(%rip), %rsi
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_DP
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	movq	%rax, (%r15)
	movq	_BNX2X_VLAN_MAC_MOVE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	movq	%r12, %r14
	jne	LBB0_3
## %bb.4:
	movl	%ebx, %r12d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	addl	$2, %ebx
	movq	-88(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rsi
	movq	_CLASSIFY_RULE_OPCODE_VLAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	24(%r15), %r8
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	callq	_bnx2x_vlan_mac_set_cmd_hdr_e2
	movl	%r12d, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r15)
	jmp	LBB0_5
LBB0_3:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	incl	%ebx
LBB0_5:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movl	%ebx, %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_VLAN,4,2  ## @CLASSIFY_RULE_OPCODE_VLAN
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"About to %s VLAN %d\n"

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

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

	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ## @BNX2X_VLAN_MAC_MOVE
	.no_dead_strip	_bnx2x_set_one_vlan_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_e2
_bnx2x_set_one_vlan_e2:                 ; @bnx2x_set_one_vlan_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	x23, 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	x22, [x9, #8]
	sxtw	x27, w24
	add	x19, x22, w3, sxtw #4
	ldr	w28, [x2]
Lloh0:
	adrp	x8, _BNX2X_VLAN_MAC_ADD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_ADD@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	cmp	w28, w21
	cset	w26, eq
	ldr	w25, [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_VLAN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CLASSIFY_RULE_OPCODE_VLAN@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	add	x8, x22, x27, lsl #4
	add	x4, x8, #8
	mov	x22, x0
	mov	x1, x20
	mov	x2, x26
	bl	_bnx2x_vlan_mac_set_cmd_hdr_e2
Lloh6:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, l_.str.2@PAGE
Lloh10:
	add	x8, x8, l_.str.2@PAGEOFF
Lloh11:
	adrp	x9, l_.str.1@PAGE
Lloh12:
	add	x9, x9, l_.str.1@PAGEOFF
	cmp	w28, w21
	csel	x2, x9, x8, eq
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x3, x25
	bl	_DP
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [x19]
Lloh15:
	adrp	x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w28, w8
	ldr	w21, [sp, #20]                  ; 4-byte Folded Reload
	b.ne	LBB0_4
; %bb.3:
	add	w21, w24, #2
	ldr	x1, [x23, #8]
Lloh18:
	adrp	x8, _CLASSIFY_RULE_OPCODE_VLAN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CLASSIFY_RULE_OPCODE_VLAN@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
	add	x4, x19, #24
	mov	x0, x22
	mov	w2, #1
	bl	_bnx2x_vlan_mac_set_cmd_hdr_e2
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [x19, #16]
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	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ; @BNX2X_VLAN_MAC_ADD
	.comm	_CLASSIFY_RULE_OPCODE_VLAN,4,2  ; @CLASSIFY_RULE_OPCODE_VLAN
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"About to %s VLAN %d\n"

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

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

	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ; @BNX2X_VLAN_MAC_MOVE
	.no_dead_strip	_bnx2x_set_one_vlan_e2
.subsections_via_symbols
