	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_acquire_msix_vectors
_ixgbevf_acquire_msix_vectors:          ## @ixgbevf_acquire_msix_vectors
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_MIN_MSIX_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	cmpl	%esi, %r12d
	jle	LBB0_5
## %bb.1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rsi
	movq	16(%r14), %rdi
	movl	%r15d, %edx
	callq	_pci_enable_msix
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %r15d
	cmpl	%r12d, %ebx
	jge	LBB0_5
## %bb.4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	%ebx, %r15d
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	testl	%ebx, %ebx
	je	LBB0_8
## %bb.7:
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	8(%r14), %rdi
	callq	_kfree
	movq	$0, 8(%r14)
	jmp	LBB0_9
LBB0_8:
	movl	%r15d, (%r14)
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MIN_MSIX_COUNT,4,2             ## @MIN_MSIX_COUNT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to allocate MSI-X interrupts\n"

	.no_dead_strip	_ixgbevf_acquire_msix_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_acquire_msix_vectors
_ixgbevf_acquire_msix_vectors:          ; @ixgbevf_acquire_msix_vectors
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _MIN_MSIX_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MIN_MSIX_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	cmp	w22, w1
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	b	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x1, x0, [x19, #8]
	mov	x2, x21
	bl	_pci_enable_msix
	mov	x20, x0
	cmp	w0, #0
	b.le	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x21, x20
	cmp	w20, w22
	b.ge	LBB0_2
; %bb.4:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	x21, x20
LBB0_5:
	neg	w20, w8
LBB0_6:
	cbz	w20, LBB0_8
; %bb.7:
	ldr	x0, [x19, #16]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	ldr	x0, [x19, #8]
	bl	_kfree
	str	xzr, [x19, #8]
	b	LBB0_9
LBB0_8:
	str	w21, [x19]
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MIN_MSIX_COUNT,4,2             ; @MIN_MSIX_COUNT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to allocate MSI-X interrupts\n"

	.no_dead_strip	_ixgbevf_acquire_msix_vectors
.subsections_via_symbols
