	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_validate_vlan_mac_del
_bnx2x_validate_vlan_mac_del:           ## @bnx2x_validate_vlan_mac_del
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	addq	$8, %rdx
	callq	*8(%rsi)
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	leaq	16(%r15), %rbx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$12, %edx
	callq	_memcpy
	movq	_BNX2X_VLAN_MAC_MOVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	*(%rbx)
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
LBB0_10:
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_1:
	movq	_BNX2X_MSG_SP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %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
LBB0_2:
	callq	_DP
	movq	_EEXIST@GOTPCREL(%rip), %rax
LBB0_11:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_12
## %bb.8:
	movq	%r15, %rdi
	callq	*(%r15)
	testq	%rax, %rax
	jne	LBB0_12
## %bb.9:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_BNX2X_MSG_SP,4,2               ## @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DEL command is not allowed considering current registry state\n"

	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ## @BNX2X_VLAN_MAC_MOVE
L_.str.1:                               ## @.str.1
	.asciz	"There is a pending MOVE command already\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"There is a pending DEL command already\n"

	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT,4,2 ## @BNX2X_DONT_CONSUME_CAM_CREDIT
L_.str.3:                               ## @.str.3
	.asciz	"Failed to return a credit\n"

	.no_dead_strip	_bnx2x_validate_vlan_mac_del
.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_del
_bnx2x_validate_vlan_mac_del:           ; @bnx2x_validate_vlan_mac_del
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x19, x1
	ldr	x8, [x1, #8]
	add	x2, x2, #8
	blr	x8
	cbz	x0, LBB0_4
; %bb.1:
	add	x21, x19, #16
	mov	x0, sp
	mov	x1, x20
	mov	w2, #12
	bl	_memcpy
Lloh0:
	adrp	x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNX2X_VLAN_MAC_MOVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #4]
	ldr	x8, [x21]
	mov	x1, sp
	mov	x0, x21
	blr	x8
	cbz	x0, LBB0_5
; %bb.2:
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_3:
	bl	_BNX2X_ERR
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh7:
	adrp	x8, _BNX2X_MSG_SP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _BNX2X_MSG_SP@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_5:
	ldr	x8, [x21]
	mov	x0, x21
	mov	x1, x20
	blr	x8
	cbz	x0, LBB0_10
; %bb.6:
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
LBB0_7:
	bl	_DP
Lloh17:
	adrp	x8, _EEXIST@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_10:
Lloh19:
	adrp	x8, _BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BNX2X_DONT_CONSUME_CAM_CREDIT@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_12
; %bb.11:
	ldr	x8, [x19]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_13
LBB0_12:
	mov	w0, #0
	b	LBB0_9
LBB0_13:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_BNX2X_MSG_SP,4,2               ; @BNX2X_MSG_SP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DEL command is not allowed considering current registry state\n"

	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_BNX2X_VLAN_MAC_MOVE,4,2        ; @BNX2X_VLAN_MAC_MOVE
l_.str.1:                               ; @.str.1
	.asciz	"There is a pending MOVE command already\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"There is a pending DEL command already\n"

	.comm	_BNX2X_DONT_CONSUME_CAM_CREDIT,4,2 ; @BNX2X_DONT_CONSUME_CAM_CREDIT
l_.str.3:                               ; @.str.3
	.asciz	"Failed to return a credit\n"

	.no_dead_strip	_bnx2x_validate_vlan_mac_del
.subsections_via_symbols
