	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ixgbevf_alloc_q_vectors
_ixgbevf_alloc_q_vectors:               ## @ixgbevf_alloc_q_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_NON_Q_VECTORS@GOTPCREL(%rip), %rax
	movl	(%rdi), %r12d
	movl	4(%rdi), %r13d
	subl	(%rax), %r12d
	movl	8(%rdi), %ebx
	movl	12(%rdi), %ecx
	leal	(%rbx,%r13), %edx
	addl	%ecx, %edx
	xorl	%eax, %eax
	cmpl	%edx, %r12d
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	jl	LBB0_1
## %bb.2:
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.3:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %ebx
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r14
	pushq	%rbx
	callq	_ixgbevf_alloc_q_vector
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	addl	%ebx, %r14d
	incl	%r15d
	decl	%r12d
	subl	%ebx, %r13d
	jne	LBB0_4
## %bb.10:
	xorl	%r13d, %r13d
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	xorl	%eax, %eax
	testl	%r12d, %r12d
	jne	LBB0_12
	jmp	LBB0_16
LBB0_1:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	testl	%r12d, %r12d
	je	LBB0_16
LBB0_12:
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	movl	%r12d, -76(%rbp)                ## 4-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edi
	movl	%r12d, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r13d
	movl	%ebx, %edi
	movl	%r12d, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r14d
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	callq	_DIV_ROUND_UP
	movl	%eax, %r12d
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movl	%r14d, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%eax, %r8d
	movl	-48(%rbp), %r9d                 ## 4-byte Reload
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, %rbx
	pushq	%rax
	pushq	%r13
	callq	_ixgbevf_alloc_q_vector
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_5
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	subl	%r13d, %ecx
	movq	%rbx, %rax
	addl	%r13d, %eax
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	subl	%r14d, %ebx
	addl	%r14d, -44(%rbp)                ## 4-byte Folded Spill
	subl	%r12d, -52(%rbp)                ## 4-byte Folded Spill
	addl	%r12d, -48(%rbp)                ## 4-byte Folded Spill
	incl	%r15d
	movl	-76(%rbp), %r12d                ## 4-byte Reload
	decl	%r12d
	movq	%rcx, %r13
	movq	%rax, %r14
	jne	LBB0_13
## %bb.15:
	xorl	%eax, %eax
	jmp	LBB0_16
LBB0_5:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	testl	%r15d, %r15d
	je	LBB0_8
## %bb.6:
	decl	%r15d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ixgbevf_free_q_vector
	addl	$-1, %r15d
	jb	LBB0_7
LBB0_8:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_16:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NON_Q_VECTORS,4,2              ## @NON_Q_VECTORS
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_ixgbevf_alloc_q_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ixgbevf_alloc_q_vectors
_ixgbevf_alloc_q_vectors:               ; @ixgbevf_alloc_q_vectors
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
Lloh0:
	adrp	x8, _NON_Q_VECTORS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NON_Q_VECTORS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w22, [x0]
	ldp	w21, w26, [x0, #8]
	add	w10, w21, w22
	add	w10, w10, w26
	sub	w23, w9, w8
	cmp	w23, w10
	mov	w25, #0
	mov	w24, #0
	ccmp	w22, #0, #4, ge
	b.eq	LBB0_3
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_DIV_ROUND_UP
	mov	x19, x0
	mov	x0, x20
	mov	x1, x24
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x6, x19
	mov	x7, x25
	bl	_ixgbevf_alloc_q_vector
	cbnz	w0, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	add	w25, w19, w25
	add	w24, w24, #1
	sub	w23, w23, #1
	sub	w22, w22, w19
	cbnz	w22, LBB0_1
LBB0_3:
	cbz	w23, LBB0_7
; %bb.4:
	str	x20, [sp]                       ; 8-byte Folded Spill
	str	wzr, [sp, #12]                  ; 4-byte Folded Spill
	mov	w27, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x22
	mov	x1, x23
	bl	_DIV_ROUND_UP
	mov	x28, x0
	mov	x0, x21
	mov	x1, x23
	bl	_DIV_ROUND_UP
	mov	x19, x0
	mov	x0, x26
	mov	x1, x23
	bl	_DIV_ROUND_UP
	mov	x20, x0
	ldr	x0, [sp]                        ; 8-byte Folded Reload
	mov	x1, x24
	mov	x2, x19
	mov	x3, x27
	mov	x4, x20
	ldr	w5, [sp, #12]                   ; 4-byte Folded Reload
	mov	x6, x28
	mov	x7, x25
	bl	_ixgbevf_alloc_q_vector
	cbnz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w22, w22, w28
	add	w25, w28, w25
	sub	w21, w21, w19
	add	w27, w19, w27
	sub	w26, w26, w20
	ldr	w8, [sp, #12]                   ; 4-byte Folded Reload
	add	w8, w20, w8
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	add	w24, w24, #1
	subs	w23, w23, #1
	b.ne	LBB0_5
LBB0_7:
	mov	w0, #0
	b	LBB0_13
LBB0_8:
	ldr	x20, [sp]                       ; 8-byte Folded Reload
LBB0_9:
	cbz	w24, LBB0_12
; %bb.10:
	sub	w19, w24, #1
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_ixgbevf_free_q_vector
	sub	w19, w19, #1
	cmn	w19, #1
	b.ne	LBB0_11
LBB0_12:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NON_Q_VECTORS,4,2              ; @NON_Q_VECTORS
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_ixgbevf_alloc_q_vectors
.subsections_via_symbols
