	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cn23xx_tell_vf_its_macaddr_changed ## -- Begin function cn23xx_tell_vf_its_macaddr_changed
	.p2align	4, 0x90
_cn23xx_tell_vf_its_macaddr_changed:    ## @cn23xx_tell_vf_its_macaddr_changed
	.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	$80, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	movl	(%rdi), %r12d
	movl	%esi, %edi
	callq	_BIT_ULL
	testl	%r12d, %eax
	je	LBB0_2
## %bb.1:
	movq	$0, -72(%rbp)
	movq	_OCTEON_MBOX_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	$0, -88(%rbp)
	movq	_OCTEON_PF_CHANGED_VF_MACADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movl	$1, -104(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -64(%rbp)
	movups	%xmm0, -48(%rbp)
	movq	%r15, %rsi
	callq	_ether_addr_copy
	imull	4(%r14), %ebx
	movl	%ebx, -112(%rbp)
	leaq	-112(%rbp), %rsi
	movq	%r14, %rdi
	callq	_octeon_mbox_write
LBB0_2:
	addq	$80, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OCTEON_MBOX_REQUEST,4,2        ## @OCTEON_MBOX_REQUEST
	.comm	_OCTEON_PF_CHANGED_VF_MACADDR,4,2 ## @OCTEON_PF_CHANGED_VF_MACADDR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cn23xx_tell_vf_its_macaddr_changed ; -- Begin function cn23xx_tell_vf_its_macaddr_changed
	.p2align	2
_cn23xx_tell_vf_its_macaddr_changed:    ; @cn23xx_tell_vf_its_macaddr_changed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	ldr	w22, [x0]
	mov	x0, x1
	bl	_BIT_ULL
	tst	w0, w22
	b.eq	LBB0_2
; %bb.1:
	str	xzr, [sp, #40]
Lloh0:
	adrp	x8, _OCTEON_MBOX_REQUEST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCTEON_MBOX_REQUEST@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	str	xzr, [sp, #24]
Lloh3:
	adrp	x8, _OCTEON_PF_CHANGED_VF_MACADDR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCTEON_PF_CHANGED_VF_MACADDR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	w9, #1
	str	w8, [sp, #16]
	str	w9, [sp, #8]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
	mov	x1, x21
	bl	_ether_addr_copy
	ldr	w8, [x19, #4]
	mul	w8, w8, w20
	str	w8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_octeon_mbox_write
LBB0_2:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_OCTEON_MBOX_REQUEST,4,2        ; @OCTEON_MBOX_REQUEST
	.comm	_OCTEON_PF_CHANGED_VF_MACADDR,4,2 ; @OCTEON_PF_CHANGED_VF_MACADDR
.subsections_via_symbols
