	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_validate_vlan_mac_move
_bnx2x_validate_vlan_mac_move:          ## @bnx2x_validate_vlan_mac_move
	.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	$24, %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, %r15
	movq	16(%rdx), %r14
	leaq	8(%rdx), %rcx
	movq	%r14, %rdx
	callq	*16(%rsi)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	leaq	24(%r15), %rbx
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$24, %edx
	callq	_memcpy
	movq	_BNX2X_VLAN_MAC_DEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	callq	_BNX2X_ERR
	jmp	LBB0_14
LBB0_1:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_DP
LBB0_14:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_15:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_DP
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_7:
	leaq	24(%r14), %rdi
	movq	_BNX2X_VLAN_MAC_ADD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	leaq	-64(%rbp), %rsi
	callq	*(%rdi)
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	callq	_BNX2X_ERR
	jmp	LBB0_14
LBB0_9:
	movq	_BNX2X_DONT_CONSUME_CAM_CREDIT_DEST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	callq	*8(%r14)
	testq	%rax, %rax
	je	LBB0_14
LBB0_11:
	movq	_BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_16
## %bb.12:
	movq	%r15, %rdi
	callq	*(%r15)
	testq	%rax, %rax
	jne	LBB0_16
## %bb.13:
	movq	%r14, %rdi
	callq	*(%r14)
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MOVE command is not allowed considering current registry state\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_BNX2X_VLAN_MAC_DEL,4,2         ## @BNX2X_VLAN_MAC_DEL
L_.str.1:                               ## @.str.1
	.asciz	"There is a pending DEL command on the source queue already\n"

L_.str.2:                               ## @.str.2
	.asciz	"There is a pending MOVE command already\n"

	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ## @BNX2X_VLAN_MAC_ADD
L_.str.3:                               ## @.str.3
	.asciz	"There is a pending ADD command on the destination queue already\n"

	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT_DEST,4,2 ## @BNX2X_DONT_CONSUME_CAM_CREDIT_DEST
	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT,4,2 ## @BNX2X_DONT_CONSUME_CAM_CREDIT
	.no_dead_strip	_bnx2x_validate_vlan_mac_move
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_validate_vlan_mac_move
_bnx2x_validate_vlan_mac_move:          ; @bnx2x_validate_vlan_mac_move
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	ldr	x19, [x2, #16]
	ldr	x8, [x1, #16]
	add	x3, x2, #8
	mov	x2, x19
	blr	x8
	cbz	w0, LBB0_3
; %bb.1:
	add	x22, x20, #24
	add	x0, sp, #8
	mov	x1, x21
	mov	w2, #24
	bl	_memcpy
Lloh0:
	adrp	x8, _BNX2X_VLAN_MAC_DEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_DEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x22]
	add	x1, sp, #8
	mov	x0, x22
	blr	x8
	cbz	x0, LBB0_7
; %bb.2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_DP
LBB0_4:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_7:
	ldr	x8, [x22]
	mov	x0, x22
	mov	x1, x21
	blr	x8
	cbz	x0, LBB0_9
; %bb.8:
Lloh12:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_DP
Lloh17:
	adrp	x8, _EEXIST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_5
LBB0_9:
	add	x0, x19, #24
Lloh19:
	adrp	x8, _BNX2X_VLAN_MAC_ADD@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_ADD@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x8, [x0]
	add	x1, sp, #8
	blr	x8
	cbz	x0, LBB0_11
; %bb.10:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_BNX2X_ERR
	b	LBB0_4
LBB0_11:
Lloh24:
	adrp	x8, _BNX2X_DONT_CONSUME_CAM_CREDIT_DEST@GOTPAGE
Lloh25:
	ldr	x8, [x8, _BNX2X_DONT_CONSUME_CAM_CREDIT_DEST@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_13
; %bb.12:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_4
LBB0_13:
Lloh27:
	adrp	x8, _BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbnz	x0, LBB0_15
; %bb.14:
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	cbz	x0, LBB0_16
LBB0_15:
	mov	w0, #0
	b	LBB0_6
LBB0_16:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MOVE command is not allowed considering current registry state\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_BNX2X_VLAN_MAC_DEL,4,2         ; @BNX2X_VLAN_MAC_DEL
l_.str.1:                               ; @.str.1
	.asciz	"There is a pending DEL command on the source queue already\n"

l_.str.2:                               ; @.str.2
	.asciz	"There is a pending MOVE command already\n"

	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_BNX2X_VLAN_MAC_ADD,4,2         ; @BNX2X_VLAN_MAC_ADD
l_.str.3:                               ; @.str.3
	.asciz	"There is a pending ADD command on the destination queue already\n"

	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT_DEST,4,2 ; @BNX2X_DONT_CONSUME_CAM_CREDIT_DEST
	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT,4,2 ; @BNX2X_DONT_CONSUME_CAM_CREDIT
	.no_dead_strip	_bnx2x_validate_vlan_mac_move
.subsections_via_symbols
