	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vc_process_vflr_event     ## -- Begin function i40e_vc_process_vflr_event
	.p2align	4, 0x90
_i40e_vc_process_vflr_event:            ## @i40e_vc_process_vflr_event
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___I40E_VFLR_EVENT_PENDING@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	16(%r12), %esi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	leaq	20(%r12), %rbx
	movq	_I40E_PFINT_ICR0_ENA@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_rd32
	movq	_I40E_PFINT_ICR0_ENA_VFLR_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_wr32
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_i40e_flush
	movl	(%r14), %edi
	movl	16(%r12), %esi
	callq	_clear_bit
	cmpl	$0, (%r12)
	jle	LBB0_6
## %bb.2:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movslq	(%r12), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	20(%r12), %eax
	movl	%r15d, %ebx
	addl	%eax, %ebx
	leal	31(%r15,%rax), %edi
	cmovnsl	%ebx, %edi
	movl	%edi, %eax
	andl	$-32, %eax
	subl	%eax, %ebx
	sarl	$5, %edi
	movq	8(%r12), %r12
	callq	_I40E_GLGEN_VFLRSTAT
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_rd32
	movl	%eax, %r13d
	movl	%ebx, %edi
	callq	_BIT
	testl	%r13d, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, %r12
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_i40e_reset_vf
	jmp	LBB0_5
LBB0_6:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___I40E_VFLR_EVENT_PENDING,4,2  ## @__I40E_VFLR_EVENT_PENDING
	.comm	_I40E_PFINT_ICR0_ENA,4,2        ## @I40E_PFINT_ICR0_ENA
	.comm	_I40E_PFINT_ICR0_ENA_VFLR_MASK,4,2 ## @I40E_PFINT_ICR0_ENA_VFLR_MASK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i40e_vc_process_vflr_event     ; -- Begin function i40e_vc_process_vflr_event
	.p2align	2
_i40e_vc_process_vflr_event:            ; @i40e_vc_process_vflr_event
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
Lloh0:
	adrp	x21, ___I40E_VFLR_EVENT_PENDING@GOTPAGE
Lloh1:
	ldr	x21, [x21, ___I40E_VFLR_EVENT_PENDING@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_test_bit
	cbz	w0, LBB0_6
; %bb.1:
	add	x20, x19, #20
Lloh2:
	adrp	x22, _I40E_PFINT_ICR0_ENA@GOTPAGE
Lloh3:
	ldr	x22, [x22, _I40E_PFINT_ICR0_ENA@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_rd32
Lloh4:
	adrp	x8, _I40E_PFINT_ICR0_ENA_VFLR_MASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _I40E_PFINT_ICR0_ENA_VFLR_MASK@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x22]
	mov	x0, x20
	bl	_wr32
	mov	x0, x20
	bl	_i40e_flush
	ldr	w0, [x21]
	ldr	w1, [x19, #16]
	bl	_clear_bit
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.2:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
	ldrsw	x8, [x19]
	add	x23, x23, #4
	cmp	x24, x8
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #20]
	add	w8, w24, w8
	add	w9, w8, #31
	cmp	w8, #0
	csel	w9, w9, w8, lt
	asr	w0, w9, #5
	and	w9, w9, #0xffffffe0
	sub	w21, w8, w9
	ldr	x25, [x19, #8]
	bl	_I40E_GLGEN_VFLRSTAT
	mov	x1, x0
	mov	x0, x20
	bl	_rd32
	mov	x22, x0
	mov	x0, x21
	bl	_BIT
	tst	w0, w22
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, x25, x23
	mov	w1, #1
	bl	_i40e_reset_vf
	b	LBB0_3
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	___I40E_VFLR_EVENT_PENDING,4,2  ; @__I40E_VFLR_EVENT_PENDING
	.comm	_I40E_PFINT_ICR0_ENA,4,2        ; @I40E_PFINT_ICR0_ENA
	.comm	_I40E_PFINT_ICR0_ENA_VFLR_MASK,4,2 ; @I40E_PFINT_ICR0_ENA_VFLR_MASK
.subsections_via_symbols
