	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ice_vc_notify_vf_reset
_ice_vc_notify_vf_reset:                ## @ice_vc_notify_vf_reset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_5
## %bb.2:
	movq	_ICE_VF_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_ICE_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	16(%rbx), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	movq	_VIRTCHNL_EVENT_RESET_IMPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -12(%rbp)
	movq	_PF_EVENT_SEVERITY_CERTAIN_DOOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	addq	$8, %rdi
	movq	_VIRTCHNL_OP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_VIRTCHNL_STATUS_SUCCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	$0, (%rsp)
	leaq	-16(%rbp), %r8
	movl	$8, %r9d
	callq	_ice_aq_send_msg_to_vf
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_VF_STATE_INIT,4,2          ## @ICE_VF_STATE_INIT
	.comm	_ICE_VF_STATE_ACTIVE,4,2        ## @ICE_VF_STATE_ACTIVE
	.comm	_VIRTCHNL_EVENT_RESET_IMPENDING,4,2 ## @VIRTCHNL_EVENT_RESET_IMPENDING
	.comm	_PF_EVENT_SEVERITY_CERTAIN_DOOM,4,2 ## @PF_EVENT_SEVERITY_CERTAIN_DOOM
	.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_reset
.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_reset
_ice_vc_notify_vf_reset:                ; @ice_vc_notify_vf_reset
	.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
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldp	x8, x9, [x0]
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _ICE_VF_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICE_VF_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbnz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _ICE_VF_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	w0, LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _VIRTCHNL_EVENT_RESET_IMPENDING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VIRTCHNL_EVENT_RESET_IMPENDING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PF_EVENT_SEVERITY_CERTAIN_DOOM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PF_EVENT_SEVERITY_CERTAIN_DOOM@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	ldp	x1, x8, [x19]
	add	x0, x8, #8
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]
	add	x4, sp, #8
	mov	w5, #8
	mov	x6, #0
	bl	_ice_aq_send_msg_to_vf
LBB0_5:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_VF_STATE_INIT,4,2          ; @ICE_VF_STATE_INIT
	.comm	_ICE_VF_STATE_ACTIVE,4,2        ; @ICE_VF_STATE_ACTIVE
	.comm	_VIRTCHNL_EVENT_RESET_IMPENDING,4,2 ; @VIRTCHNL_EVENT_RESET_IMPENDING
	.comm	_PF_EVENT_SEVERITY_CERTAIN_DOOM,4,2 ; @PF_EVENT_SEVERITY_CERTAIN_DOOM
	.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_reset
.subsections_via_symbols
