	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_filters_validate_mac
_bnx2x_filters_validate_mac:            ## @bnx2x_filters_validate_mac
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	4(%rsi), %esi
	callq	_BP_VF_BULLETIN
	movl	(%rax), %ecx
	movq	_MAC_ADDR_VALID@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	xorl	%r15d, %r15d
	btl	%edx, %ecx
	jae	LBB0_11
## %bb.1:
	movl	(%rbx), %edx
	testl	%edx, %edx
	jle	LBB0_11
## %bb.2:
	movq	8(%rbx), %rsi
	movq	_VFPF_Q_FILTER_DEST_MAC_VALID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	xorl	%ecx, %ecx
	movq	%rdx, %rbx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rsi
	decq	%rbx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	testl	%edi, (%rsi)
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testq	%rcx, %rcx
	movq	%rsi, %rcx
	je	LBB0_6
## %bb.5:
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_BNX2X_ERR
	jmp	LBB0_10
LBB0_7:
	xorl	%r15d, %r15d
	testq	%rcx, %rcx
	je	LBB0_11
## %bb.8:
	movl	4(%rcx), %edi
	movl	4(%rax), %esi
	callq	_ether_addr_equal
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_BNX2X_ERR
LBB0_10:
	movq	_EPERM@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
LBB0_11:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_ADDR_VALID,4,2             ## @MAC_ADDR_VALID
	.comm	_VFPF_Q_FILTER_DEST_MAC_VALID,4,2 ## @VFPF_Q_FILTER_DEST_MAC_VALID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VF[%d] requested the addition of multiple macs after set_vf_mac ndo was called [%d filters]\n"

	.comm	_EPERM,4,2                      ## @EPERM
L_.str.1:                               ## @.str.1
	.asciz	"VF[%d] requested the addition of a mac address not matching the one configured by set_vf_mac ndo\n"

	.no_dead_strip	_bnx2x_filters_validate_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_filters_validate_mac
_bnx2x_filters_validate_mac:            ; @bnx2x_filters_validate_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x2
	mov	x19, x1
	ldr	w1, [x1, #4]
	bl	_BP_VF_BULLETIN
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MAC_ADDR_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MAC_ADDR_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsr	w8, w8, w9
	tbz	w8, #0, LBB0_10
; %bb.1:
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.2:
	mov	x12, #0
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x10, _VFPF_Q_FILTER_DEST_MAC_VALID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _VFPF_Q_FILTER_DEST_MAC_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	mov	x11, x8
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, x12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x9, x9, #8
	mov	x12, x13
	subs	x11, x11, #1
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	tst	w10, w13
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x13, x9
	cbz	x12, LBB0_4
; %bb.7:
	ldr	w1, [x19]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_12
LBB0_8:
	cbz	x13, LBB0_10
; %bb.9:
	ldr	w8, [x13, #4]
	ldr	w1, [x0, #4]
	mov	x0, x8
	bl	_ether_addr_equal
	cbz	w0, LBB0_11
LBB0_10:
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	ldr	w1, [x19]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_12:
	bl	_BNX2X_ERR
Lloh10:
	adrp	x8, _EPERM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_ADDR_VALID,4,2             ; @MAC_ADDR_VALID
	.comm	_VFPF_Q_FILTER_DEST_MAC_VALID,4,2 ; @VFPF_Q_FILTER_DEST_MAC_VALID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VF[%d] requested the addition of multiple macs after set_vf_mac ndo was called [%d filters]\n"

	.comm	_EPERM,4,2                      ; @EPERM
l_.str.1:                               ; @.str.1
	.asciz	"VF[%d] requested the addition of a mac address not matching the one configured by set_vf_mac ndo\n"

	.no_dead_strip	_bnx2x_filters_validate_mac
.subsections_via_symbols
