	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_notify_vf_link_state
_i40e_vc_notify_vf_link_state:          ## @i40e_vc_notify_vf_link_state
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rdi), %r14
	movl	(%rdi), %ebx
	movq	(%r14), %r15
	movq	_VIRTCHNL_EVENT_LINK_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_PF_EVENT_SEVERITY_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.3:
	movl	4(%rdi), %eax
	movl	%eax, -40(%rbp)
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_VIRTCHNL_LINK_SPEED_40GB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
LBB0_1:
	movl	$0, -40(%rbp)
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movq	_I40E_AQ_LINK_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	8(%r14), %eax
	movl	%eax, -40(%rbp)
	movl	12(%r14), %edi
	callq	_i40e_virtchnl_link_speed
LBB0_6:
	movl	%eax, -36(%rbp)
	addl	%r15d, %ebx
	movq	_VIRTCHNL_OP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	$0, (%rsp)
	leaq	-40(%rbp), %r8
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	movl	$16, %r9d
	callq	_i40e_aq_send_msg_to_vf
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VIRTCHNL_EVENT_LINK_CHANGE,4,2 ## @VIRTCHNL_EVENT_LINK_CHANGE
	.comm	_PF_EVENT_SEVERITY_INFO,4,2     ## @PF_EVENT_SEVERITY_INFO
	.comm	_VIRTCHNL_LINK_SPEED_40GB,4,2   ## @VIRTCHNL_LINK_SPEED_40GB
	.comm	_I40E_AQ_LINK_UP,4,2            ## @I40E_AQ_LINK_UP
	.comm	_VIRTCHNL_OP_EVENT,4,2          ## @VIRTCHNL_OP_EVENT
	.no_dead_strip	_i40e_vc_notify_vf_link_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_notify_vf_link_state
_i40e_vc_notify_vf_link_state:          ; @i40e_vc_notify_vf_link_state
	.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
	ldr	x19, [x0, #24]
	ldr	w20, [x0]
	ldr	x21, [x19]
Lloh0:
	adrp	x8, _VIRTCHNL_EVENT_LINK_CHANGE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VIRTCHNL_EVENT_LINK_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PF_EVENT_SEVERITY_INFO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PF_EVENT_SEVERITY_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_4
; %bb.2:
	ldr	w8, [x0, #4]
	str	w8, [sp]
Lloh6:
	adrp	x9, _VIRTCHNL_LINK_SPEED_40GB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _VIRTCHNL_LINK_SPEED_40GB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, #0
	csel	w0, wzr, w9, eq
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	str	wzr, [sp]
	b	LBB0_5
LBB0_4:
Lloh9:
	adrp	x8, _I40E_AQ_LINK_UP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I40E_AQ_LINK_UP@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldp	w9, w0, [x19, #8]
	and	w8, w8, w9
	str	w8, [sp]
	bl	_i40e_virtchnl_link_speed
LBB0_5:
	str	w0, [sp, #4]
	add	w1, w20, w21
Lloh12:
	adrp	x8, _VIRTCHNL_OP_EVENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIRTCHNL_OP_EVENT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	w3, #0
	mov	w5, #16
	mov	x6, #0
	bl	_i40e_aq_send_msg_to_vf
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_VIRTCHNL_EVENT_LINK_CHANGE,4,2 ; @VIRTCHNL_EVENT_LINK_CHANGE
	.comm	_PF_EVENT_SEVERITY_INFO,4,2     ; @PF_EVENT_SEVERITY_INFO
	.comm	_VIRTCHNL_LINK_SPEED_40GB,4,2   ; @VIRTCHNL_LINK_SPEED_40GB
	.comm	_I40E_AQ_LINK_UP,4,2            ; @I40E_AQ_LINK_UP
	.comm	_VIRTCHNL_OP_EVENT,4,2          ; @VIRTCHNL_OP_EVENT
	.no_dead_strip	_i40e_vc_notify_vf_link_state
.subsections_via_symbols
