	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igc_alloc_q_vector
_igc_alloc_q_vector:                    ## @igc_alloc_q_vector
	.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
                                        ## kill: def $r9d killed $r9d def $r9
	movl	%ecx, %r13d
	movl	%r9d, %ecx
	orl	%r13d, %ecx
	cmpl	$2, %ecx
	jae	LBB0_3
## %bb.1:
	movl	%edx, %eax
	movq	%rdi, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	leal	(%r9,%r13), %edx
	movq	64(%rdi), %rcx
	movl	%eax, %r14d
	movq	(%rcx,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_struct_size
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%eax, %edx
	callq	_memset
	jmp	LBB0_5
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
LBB0_16:
	subl	(%rax), %r15d
	jmp	LBB0_17
LBB0_4:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_struct_size
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_15
LBB0_5:
	movl	20(%r12), %edi
	leaq	40(%rbx), %rsi
	movq	_igc_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %ecx
	callq	_netif_napi_add
	movq	64(%r12), %rax
	movq	%rbx, (%rax,%r14,8)
	movq	%r12, 32(%rbx)
	movl	56(%r12), %eax
	movl	%eax, 8(%rbx)
	movq	48(%r12), %r14
	xorl	%edi, %edi
	callq	_IGC_EITR
	addq	%r14, %rax
	movq	%rax, 24(%rbx)
	movq	_IGC_START_ITR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testl	%edx, %edx
	je	LBB0_8
## %bb.6:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	cmpl	$3, %eax
	jle	LBB0_11
	jmp	LBB0_10
LBB0_8:
	movl	4(%r12), %eax
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	cmpl	$4, %eax
	jl	LBB0_11
LBB0_10:
	movl	%eax, (%rbx)
LBB0_11:
	movq	16(%rbx), %r14
	testl	%r13d, %r13d
	je	LBB0_13
## %bb.12:
	leaq	8(%rbx), %rsi
	movq	24(%r12), %rax
	movq	%rax, 24(%r14)
	movl	20(%r12), %eax
	movl	%eax, 16(%r14)
	movq	%rbx, 8(%r14)
	movq	%r14, %rdi
	callq	_igc_add_ring
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	40(%r12), %eax
	movl	%eax, 4(%r14)
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ecx, (%r14)
	movq	32(%r12), %rax
	movl	%ecx, %ecx
	movq	%r14, (%rax,%rcx,8)
	addq	$32, %r14
LBB0_13:
	xorl	%r15d, %r15d
	testl	%edx, %edx
	je	LBB0_17
## %bb.14:
	movl	16(%rbp), %r13d
	movq	24(%r12), %rax
	movq	%rax, 24(%r14)
	movl	20(%r12), %eax
	movl	%eax, 16(%r14)
	movq	%rbx, 8(%r14)
	addq	$4, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_igc_add_ring
	movl	16(%r12), %eax
	movl	%eax, 4(%r14)
	movl	%r13d, (%r14)
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	movq	%r14, (%rax,%rcx,8)
LBB0_17:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_igc_poll,4,2                   ## @igc_poll
	.comm	_IGC_START_ITR,4,2              ## @IGC_START_ITR
	.no_dead_strip	_igc_alloc_q_vector
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function igc_alloc_q_vector
_igc_alloc_q_vector:                    ; @igc_alloc_q_vector
	.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
	orr	w8, w5, w3
	cmp	w8, #2
	b.hs	LBB0_7
; %bb.1:
	mov	x19, x6
	mov	x21, x5
	mov	x22, x4
	mov	x24, x3
	mov	x25, x2
	mov	x20, x0
	add	w2, w5, w3
	ldr	x8, [x0, #64]
	ldr	x23, [x8, w25, uxtw #3]
	cbz	x23, LBB0_3
; %bb.2:
	mov	x0, x23
	bl	_struct_size
	mov	x2, x0
	mov	x0, x23
	mov	w1, #0
	bl	_memset
	b	LBB0_4
LBB0_3:
	mov	x0, #0
	bl	_struct_size
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kzalloc
	mov	x23, x0
	cbz	x0, LBB0_7
LBB0_4:
	mov	w25, w25
	ldr	w0, [x20, #20]
	add	x1, x23, #40
Lloh3:
	adrp	x8, _igc_poll@GOTPAGE
Lloh4:
	ldr	x8, [x8, _igc_poll@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	w3, #64
	bl	_netif_napi_add
	ldr	x8, [x20, #64]
	str	x23, [x8, x25, lsl #3]
	str	x20, [x23, #32]
	ldr	w8, [x20, #56]
	mov	x26, x23
	str	w8, [x26, #8]!
	ldr	x25, [x20, #48]
	mov	w0, #0
	bl	_IGC_EITR
	add	x8, x0, x25
	str	x8, [x23, #24]
Lloh6:
	adrp	x8, _IGC_START_ITR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IGC_START_ITR@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x23]
	ldr	x25, [x23, #16]
	cbz	w21, LBB0_8
; %bb.5:
	ldr	w8, [x20]
	cbz	w8, LBB0_10
; %bb.6:
	cmp	w8, #3
	b.le	LBB0_11
	b	LBB0_10
LBB0_7:
Lloh9:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_8:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_10
; %bb.9:
	cmp	w8, #4
	b.lt	LBB0_11
LBB0_10:
	str	w8, [x23]
LBB0_11:
	cbz	w24, LBB0_13
; %bb.12:
	ldr	x8, [x20, #24]
	str	x8, [x25, #24]
	ldr	w8, [x20, #20]
	str	w8, [x25, #16]
	str	x23, [x25, #8]
	mov	x0, x25
	mov	x1, x26
	bl	_igc_add_ring
	ldr	w8, [x20, #40]
	stp	w22, w8, [x25]
	ldr	x8, [x20, #32]
	str	x25, [x8, w22, uxtw #3]
	add	x25, x25, #32
LBB0_13:
	cbz	w21, LBB0_15
; %bb.14:
	ldr	x8, [x20, #24]
	str	x8, [x25, #24]
	ldr	w8, [x20, #20]
	str	w8, [x25, #16]
	str	x23, [x25, #8]
	add	x1, x23, #4
	mov	x0, x25
	bl	_igc_add_ring
	mov	w0, #0
	ldr	w8, [x20, #16]
	stp	w19, w8, [x25]
	ldr	x8, [x20, #8]
	str	x25, [x8, w19, uxtw #3]
	b	LBB0_16
LBB0_15:
	mov	w0, #0
LBB0_16:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_igc_poll,4,2                   ; @igc_poll
	.comm	_IGC_START_ITR,4,2              ; @IGC_START_ITR
	.no_dead_strip	_igc_alloc_q_vector
.subsections_via_symbols
