	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_config_mac          ## -- Begin function bnx2x_vfpf_config_mac
	.p2align	4, 0x90
_bnx2x_vfpf_config_mac:                 ## @bnx2x_vfpf_config_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	%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
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	16(%rdi), %rax
	movq	24(%rdi), %r13
	leaq	8(%r13), %rbx
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leaq	12(%r13), %rsi
	movq	_CHANNEL_TLV_SET_Q_FILTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	$24, %ecx
	callq	_bnx2x_vfpf_prep
	movq	_VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r13)
	movl	%r14d, 24(%r13)
	movl	$1, 8(%r13)
	movq	_VFPF_Q_FILTER_DEST_MAC_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r13), %rcx
	movl	%eax, 8(%rcx)
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movq	_VFPF_Q_FILTER_SET@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movl	%eax, 8(%rcx)
LBB0_2:
	movq	%r15, %rdi
	callq	_bnx2x_sample_bulletin
	movq	16(%r13), %rax
	movq	(%rax), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movl	12(%r13), %edx
	movq	_CHANNEL_TLV_LIST_END@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$4, %r8d
	callq	_bnx2x_add_tlv
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_bnx2x_dp_tlv_list
	movl	(%r15), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_send_msg2pf
	testl	%eax, %eax
	je	LBB0_3
## %bb.12:
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_BNX2X_ERR
	jmp	LBB0_11
LBB0_3:
	movl	(%r13), %esi
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	(%rax), %esi
	jne	LBB0_9
## %bb.4:
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	8(%r15), %rax
	movq	(%rax), %rdi
	movl	(%r14), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movq	%r15, %rdi
	callq	_bnx2x_sample_bulletin
	movq	_PFVF_BULLETIN_UPDATED@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	cmpq	(%r12), %rax
	jne	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rdi
	movq	8(%r15), %rax
	movq	(%rax), %rsi
	movl	(%r14), %edx
	callq	_memcpy
	movl	(%r15), %edx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_send_msg2pf
	movl	%eax, %ebx
	movl	(%r13), %esi
	movq	_PFVF_STATUS_FAILURE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_BNX2X_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_DP
	movq	8(%r15), %rax
	movq	(%rax), %rdi
	movl	(%r14), %edx
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movq	%r15, %rdi
	callq	_bnx2x_sample_bulletin
	cmpq	(%r12), %rax
	je	LBB0_6
LBB0_8:
	movl	(%r13), %esi
LBB0_9:
	movq	_PFVF_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	callq	_BNX2X_ERR
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_11:
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_bnx2x_vfpf_finalize
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CHANNEL_TLV_SET_Q_FILTERS,4,2  ## @CHANNEL_TLV_SET_Q_FILTERS
	.comm	_VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED,4,2 ## @VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED
	.comm	_VFPF_Q_FILTER_DEST_MAC_VALID,4,2 ## @VFPF_Q_FILTER_DEST_MAC_VALID
	.comm	_VFPF_Q_FILTER_SET,4,2          ## @VFPF_Q_FILTER_SET
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_CHANNEL_TLV_LIST_END,4,2       ## @CHANNEL_TLV_LIST_END
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to send message to pf. rc was %d\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ## @PFVF_STATUS_FAILURE
	.comm	_BNX2X_MSG_IOV,4,2              ## @BNX2X_MSG_IOV
L_.str.1:                               ## @.str.1
	.asciz	"vfpf SET MAC failed. Check bulletin board for new posts\n"

	.comm	_PFVF_BULLETIN_UPDATED,8,3      ## @PFVF_BULLETIN_UPDATED
	.comm	_PFVF_STATUS_SUCCESS,4,2        ## @PFVF_STATUS_SUCCESS
L_.str.2:                               ## @.str.2
	.asciz	"vfpf SET MAC failed: %d\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnx2x_vfpf_config_mac          ; -- Begin function bnx2x_vfpf_config_mac
	.p2align	2
_bnx2x_vfpf_config_mac:                 ; @bnx2x_vfpf_config_mac
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x26, x2
	mov	x23, x1
	mov	x19, x0
	ldp	x8, x21, [x0, #16]
	ldr	x22, [x8]
	add	x20, x21, #12
Lloh0:
	adrp	x8, _CHANNEL_TLV_SET_Q_FILTERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHANNEL_TLV_SET_Q_FILTERS@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	mov	w3, #24
	bl	_bnx2x_vfpf_prep
	mov	w8, #1
	mov	x24, x21
	str	w8, [x24, #8]!
Lloh3:
	adrp	x8, _VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w26, w8, [x21, #24]
Lloh6:
	adrp	x8, _VFPF_Q_FILTER_DEST_MAC_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VFPF_Q_FILTER_DEST_MAC_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x8]
	ldr	x8, [x21, #16]
	str	w9, [x8, #8]
	cbz	w25, LBB0_2
; %bb.1:
Lloh9:
	adrp	x10, _VFPF_Q_FILTER_SET@GOTPAGE
Lloh10:
	ldr	x10, [x10, _VFPF_Q_FILTER_SET@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8, #8]
LBB0_2:
	mov	x0, x19
	bl	_bnx2x_sample_bulletin
	ldr	x8, [x21, #16]
	ldr	x0, [x8]
Lloh12:
	adrp	x25, _ETH_ALEN@GOTPAGE
Lloh13:
	ldr	x25, [x25, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x1, x23
	bl	_memcpy
	ldr	w2, [x21, #12]
Lloh14:
	adrp	x8, _CHANNEL_TLV_LIST_END@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CHANNEL_TLV_LIST_END@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x24
	mov	w4, #4
	bl	_bnx2x_add_tlv
	mov	x0, x19
	mov	x1, x24
	bl	_bnx2x_dp_tlv_list
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_send_msg2pf
	cbz	w0, LBB0_4
; %bb.3:
	mov	x23, x0
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_BNX2X_ERR
	b	LBB0_14
LBB0_4:
	ldr	w1, [x21]
Lloh19:
	adrp	x26, _PFVF_STATUS_FAILURE@GOTPAGE
Lloh20:
	ldr	x26, [x26, _PFVF_STATUS_FAILURE@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w1, w8
	b.ne	LBB0_9
; %bb.5:
Lloh21:
	adrp	x27, _BNX2X_MSG_IOV@GOTPAGE
Lloh22:
	ldr	x27, [x27, _BNX2X_MSG_IOV@GOTPAGEOFF]
	ldr	w0, [x27]
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_DP
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_memcpy
	mov	x0, x19
	bl	_bnx2x_sample_bulletin
Lloh25:
	adrp	x28, _PFVF_BULLETIN_UPDATED@GOTPAGE
Lloh26:
	ldr	x28, [x28, _PFVF_BULLETIN_UPDATED@GOTPAGEOFF]
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.6:
Lloh27:
	adrp	x24, l_.str.1@PAGE
Lloh28:
	add	x24, x24, l_.str.1@PAGEOFF
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, #16]
	ldr	x0, [x8]
	ldr	x8, [x19, #8]
	ldr	x1, [x8]
	ldr	w2, [x25]
	bl	_memcpy
	ldr	w2, [x19]
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_send_msg2pf
	mov	x23, x0
	ldr	w1, [x21]
	ldr	w8, [x26]
	cmp	w1, w8
	b.ne	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w0, [x27]
	mov	x1, x24
	bl	_DP
	ldr	x8, [x19, #8]
	ldr	x0, [x8]
	ldr	w2, [x25]
	mov	x1, x22
	bl	_memcpy
	mov	x0, x19
	bl	_bnx2x_sample_bulletin
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_7
	b	LBB0_11
LBB0_9:
	mov	w23, #0
	b	LBB0_12
LBB0_10:
	mov	w23, #0
LBB0_11:
	ldr	w1, [x21]
LBB0_12:
Lloh29:
	adrp	x8, _PFVF_STATUS_SUCCESS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _PFVF_STATUS_SUCCESS@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w1, w8
	b.eq	LBB0_14
; %bb.13:
Lloh32:
	adrp	x0, l_.str.2@PAGE
Lloh33:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_BNX2X_ERR
Lloh34:
	adrp	x8, _EINVAL@GOTPAGE
Lloh35:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_vfpf_finalize
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_CHANNEL_TLV_SET_Q_FILTERS,4,2  ; @CHANNEL_TLV_SET_Q_FILTERS
	.comm	_VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED,4,2 ; @VFPF_SET_Q_FILTERS_MAC_VLAN_CHANGED
	.comm	_VFPF_Q_FILTER_DEST_MAC_VALID,4,2 ; @VFPF_Q_FILTER_DEST_MAC_VALID
	.comm	_VFPF_Q_FILTER_SET,4,2          ; @VFPF_Q_FILTER_SET
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_CHANNEL_TLV_LIST_END,4,2       ; @CHANNEL_TLV_LIST_END
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to send message to pf. rc was %d\n"

	.comm	_PFVF_STATUS_FAILURE,4,2        ; @PFVF_STATUS_FAILURE
	.comm	_BNX2X_MSG_IOV,4,2              ; @BNX2X_MSG_IOV
l_.str.1:                               ; @.str.1
	.asciz	"vfpf SET MAC failed. Check bulletin board for new posts\n"

	.comm	_PFVF_BULLETIN_UPDATED,8,3      ; @PFVF_BULLETIN_UPDATED
	.comm	_PFVF_STATUS_SUCCESS,4,2        ; @PFVF_STATUS_SUCCESS
l_.str.2:                               ; @.str.2
	.asciz	"vfpf SET MAC failed: %d\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
