	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_iov_bulletin_set_mac
_qed_iov_bulletin_set_mac:              ## @qed_iov_bulletin_set_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	%edx, %esi
	movl	$1, %edx
	callq	_qed_iov_get_vf_info
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	movq	%rax, %r12
	cmpq	$0, 16(%rax)
	je	LBB0_6
## %bb.5:
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_2
LBB0_1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
LBB0_2:
	movl	%ebx, %edx
	callq	_DP_NOTICE
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%r12), %rax
	movl	(%rax), %ebx
	movq	_MAC_ADDR_FORCED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	testl	%ebx, %eax
	je	LBB0_8
## %bb.7:
	movq	_QED_MSG_IOV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_DP_VERBOSE
	jmp	LBB0_3
LBB0_8:
	movq	_VFPF_BULLETIN_MAC_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r13d
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	movq	%r15, %rsi
	callq	_ether_addr_copy
	movq	8(%r12), %rax
	orl	%r13d, (%rax)
	xorl	%ebx, %ebx
	cmpq	$0, (%r12)
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_qed_iov_configure_vport_forced
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Can not set MAC, invalid vfid [%d]\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"Can't set MAC to malicious VF [%d]\n"

	.comm	_MAC_ADDR_FORCED,4,2            ## @MAC_ADDR_FORCED
	.comm	_QED_MSG_IOV,4,2                ## @QED_MSG_IOV
L_.str.2:                               ## @.str.2
	.asciz	"Can not set MAC, Forced MAC is configured\n"

	.comm	_VFPF_BULLETIN_MAC_ADDR,4,2     ## @VFPF_BULLETIN_MAC_ADDR
	.no_dead_strip	_qed_iov_bulletin_set_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_iov_bulletin_set_mac
_qed_iov_bulletin_set_mac:              ; @qed_iov_bulletin_set_mac
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x1, x2
	mov	w2, #1
	bl	_qed_iov_get_vf_info
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_7
; %bb.2:
	ldr	w0, [x19]
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	mov	x2, x22
	bl	_DP_NOTICE
LBB0_5:
Lloh4:
	adrp	x8, _EINVAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	ldr	x8, [x20, #8]
	ldr	w22, [x8]
Lloh7:
	adrp	x8, _MAC_ADDR_FORCED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MAC_ADDR_FORCED@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_9
; %bb.8:
Lloh10:
	adrp	x8, _QED_MSG_IOV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QED_MSG_IOV@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str.2@PAGE
Lloh14:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	b	LBB0_5
LBB0_9:
Lloh15:
	adrp	x8, _VFPF_BULLETIN_MAC_ADDR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VFPF_BULLETIN_MAC_ADDR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
	ldr	x8, [x20, #8]
	ldr	w0, [x8, #4]
	mov	x1, x21
	bl	_ether_addr_copy
	ldp	x9, x8, [x20]
	ldr	w10, [x8]
	orr	w10, w10, w22
	str	w10, [x8]
	cbz	x9, LBB0_11
; %bb.10:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x22
	bl	_qed_iov_configure_vport_forced
LBB0_11:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Can not set MAC, invalid vfid [%d]\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"Can't set MAC to malicious VF [%d]\n"

	.comm	_MAC_ADDR_FORCED,4,2            ; @MAC_ADDR_FORCED
	.comm	_QED_MSG_IOV,4,2                ; @QED_MSG_IOV
l_.str.2:                               ; @.str.2
	.asciz	"Can not set MAC, Forced MAC is configured\n"

	.comm	_VFPF_BULLETIN_MAC_ADDR,4,2     ; @VFPF_BULLETIN_MAC_ADDR
	.no_dead_strip	_qed_iov_bulletin_set_mac
.subsections_via_symbols
