	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vc_notify_vf_reset        ## -- Begin function i40e_vc_notify_vf_reset
	.p2align	4, 0x90
_i40e_vc_notify_vf_reset:               ## @i40e_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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	movq	8(%rdi), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_5
## %bb.2:
	movq	_I40E_VF_STATE_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_I40E_VF_STATE_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	movl	(%rbx), %esi
	movq	8(%rbx), %rdi
	addl	8(%rdi), %esi
	addq	$8, %rdi
	movq	_VIRTCHNL_EVENT_RESET_IMPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	_PF_EVENT_SEVERITY_CERTAIN_DOOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_VIRTCHNL_OP_EVENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	$0, (%rsp)
	leaq	-24(%rbp), %r8
	xorl	%ecx, %ecx
	movl	$8, %r9d
	callq	_i40e_aq_send_msg_to_vf
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VF_STATE_INIT,4,2         ## @I40E_VF_STATE_INIT
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ## @I40E_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
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vc_notify_vf_reset        ; -- Begin function i40e_vc_notify_vf_reset
	.p2align	2
_i40e_vc_notify_vf_reset:               ; @i40e_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
	ldr	w8, [x0]
	ldr	x9, [x0, #8]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _I40E_VF_STATE_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_VF_STATE_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x20, x19, #16
	mov	x1, x20
	bl	_test_bit
	cbnz	w0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _I40E_VF_STATE_ACTIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_VF_STATE_ACTIVE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	w0, LBB0_5
LBB0_4:
	ldr	w8, [x19]
	ldr	x0, [x19, #8]
	ldr	w9, [x0, #8]!
	add	w1, w8, w9
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]
Lloh12:
	adrp	x8, _VIRTCHNL_OP_EVENT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VIRTCHNL_OP_EVENT@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	w3, #0
	mov	w5, #8
	mov	x6, #0
	bl	_i40e_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	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VF_STATE_INIT,4,2         ; @I40E_VF_STATE_INIT
	.comm	_I40E_VF_STATE_ACTIVE,4,2       ; @I40E_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
.subsections_via_symbols
