	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvu_check_min_msix_vec
_rvu_check_min_msix_vec:                ## @rvu_check_min_msix_vec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %eax
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:
	movl	(%rdi), %edi
	decl	%ecx
	leaq	L_.str(%rip), %rsi
	xorl	%r8d, %r8d
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_3:
	xorl	%r8d, %r8d
	movq	_RVU_PF_INT_VEC_CNT@GOTPCREL(%rip), %rcx
	testl	%edx, %edx
	jne	LBB0_5
## %bb.4:
	movq	_RVU_AF_INT_VEC_CNT@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
LBB0_5:
	addl	(%rcx), %r8d
	cmpl	%eax, %r8d
	jle	LBB0_6
## %bb.7:
	movl	(%rdi), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ecx
	popq	%rbp
	jmp	_dev_warn                       ## TAILCALL
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF%d:VF%d is configured with zero msix vectors, %d\n"

	.comm	_RVU_AF_INT_VEC_CNT,4,2         ## @RVU_AF_INT_VEC_CNT
	.comm	_RVU_PF_INT_VEC_CNT,4,2         ## @RVU_PF_INT_VEC_CNT
L_.str.1:                               ## @.str.1
	.asciz	"PF%d is configured with too few vectors, %d, min is %d\n"

	.no_dead_strip	_rvu_check_min_msix_vec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvu_check_min_msix_vec
_rvu_check_min_msix_vec:                ; @rvu_check_min_msix_vec
	.cfi_startproc
; %bb.0:
	mov	x8, x1
	cbz	w3, LBB0_3
; %bb.1:
	cbnz	w8, LBB0_5
; %bb.2:
	ldr	w0, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	sub	w3, w3, #1
	mov	w4, #0
	b	_dev_warn
LBB0_3:
Lloh2:
	adrp	x9, _RVU_AF_INT_VEC_CNT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RVU_AF_INT_VEC_CNT@GOTPAGEOFF]
Lloh4:
	adrp	x10, _RVU_PF_INT_VEC_CNT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _RVU_PF_INT_VEC_CNT@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
Lloh7:
	ldr	w10, [x10]
	cmp	w2, #0
	csel	w9, w9, wzr, eq
	add	w4, w10, w9
	cmp	w4, w8
	b.le	LBB0_5
; %bb.4:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	ldr	w0, [x0]
	mov	x3, x8
	b	_dev_warn
LBB0_5:
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF%d:VF%d is configured with zero msix vectors, %d\n"

	.comm	_RVU_AF_INT_VEC_CNT,4,2         ; @RVU_AF_INT_VEC_CNT
	.comm	_RVU_PF_INT_VEC_CNT,4,2         ; @RVU_PF_INT_VEC_CNT
l_.str.1:                               ; @.str.1
	.asciz	"PF%d is configured with too few vectors, %d, min is %d\n"

	.no_dead_strip	_rvu_check_min_msix_vec
.subsections_via_symbols
