	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vc_notify_vf_link_state
_ice_vc_notify_vf_link_state:           ## @ice_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	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$0, -24(%rbp)
	movq	24(%rdi), %r14
	movq	(%r14), %rax
	movq	_VIRTCHNL_EVENT_LINK_CHANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
	movq	_PF_EVENT_SEVERITY_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -32(%rbp)
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%rbx)
	je	LBB0_4
## %bb.3:
	movl	4(%rbx), %edx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ice_set_pfe_link_forced
	jmp	LBB0_6
LBB0_1:
	movq	_ICE_AQ_LINK_SPEED_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	jmp	LBB0_5
LBB0_4:
	movl	4(%rax), %edx
	movq	_ICE_AQ_LINK_UP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rax), %ecx
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
LBB0_5:
	callq	_ice_set_pfe_link
LBB0_6:
	movl	(%rbx), %esi
	movq	_VIRTCHNL_OP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VIRTCHNL_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	$0, (%rsp)
	leaq	-32(%rbp), %r8
	movq	%r14, %rdi
	movl	$12, %r9d
	callq	_ice_aq_send_msg_to_vf
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	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	_ICE_AQ_LINK_SPEED_UNKNOWN,4,2  ## @ICE_AQ_LINK_SPEED_UNKNOWN
	.comm	_ICE_AQ_LINK_UP,4,2             ## @ICE_AQ_LINK_UP
	.comm	_VIRTCHNL_OP_EVENT,4,2          ## @VIRTCHNL_OP_EVENT
	.comm	_VIRTCHNL_STATUS_SUCCESS,4,2    ## @VIRTCHNL_STATUS_SUCCESS
	.no_dead_strip	_ice_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 ice_vc_notify_vf_link_state
_ice_vc_notify_vf_link_state:           ; @ice_vc_notify_vf_link_state
	.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, x0
	str	wzr, [sp, #8]
	ldr	x19, [x0, #24]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _VIRTCHNL_EVENT_LINK_CHANGE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _VIRTCHNL_EVENT_LINK_CHANGE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _PF_EVENT_SEVERITY_INFO@GOTPAGE
Lloh4:
	ldr	x10, [x10, _PF_EVENT_SEVERITY_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	stp	w10, w9, [sp]
	ldr	w9, [x0, #16]
	cbz	w9, LBB0_3
; %bb.1:
	ldr	x9, [x20, #8]
	cbz	x9, LBB0_4
; %bb.2:
	ldr	w2, [x20, #4]
	mov	x1, sp
	mov	x0, x20
	bl	_ice_set_pfe_link_forced
	b	LBB0_6
LBB0_3:
Lloh6:
	adrp	x8, _ICE_AQ_LINK_SPEED_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_AQ_LINK_SPEED_UNKNOWN@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x1, sp
	mov	x0, x20
	mov	w3, #0
	b	LBB0_5
LBB0_4:
	ldp	w8, w2, [x8]
Lloh9:
	adrp	x9, _ICE_AQ_LINK_UP@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ICE_AQ_LINK_UP@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w3, w9, w8
	mov	x1, sp
	mov	x0, x20
LBB0_5:
	bl	_ice_set_pfe_link
LBB0_6:
	ldr	w1, [x20]
Lloh12:
	adrp	x8, _VIRTCHNL_OP_EVENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIRTCHNL_OP_EVENT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _VIRTCHNL_STATUS_SUCCESS@GOTPAGE
Lloh16:
	ldr	x8, [x8, _VIRTCHNL_STATUS_SUCCESS@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x4, sp
	mov	x0, x19
	mov	w5, #12
	mov	x6, #0
	bl	_ice_aq_send_msg_to_vf
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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	_ICE_AQ_LINK_SPEED_UNKNOWN,4,2  ; @ICE_AQ_LINK_SPEED_UNKNOWN
	.comm	_ICE_AQ_LINK_UP,4,2             ; @ICE_AQ_LINK_UP
	.comm	_VIRTCHNL_OP_EVENT,4,2          ; @VIRTCHNL_OP_EVENT
	.comm	_VIRTCHNL_STATUS_SUCCESS,4,2    ; @VIRTCHNL_STATUS_SUCCESS
	.no_dead_strip	_ice_vc_notify_vf_link_state
.subsections_via_symbols
