	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function igb_alloc_q_vector
_igb_alloc_q_vector:                    ## @igb_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
	cmpl	$1, %ecx
	jg	LBB0_2
## %bb.1:
	cmpl	$2, %r9d
	jge	LBB0_2
## %bb.3:
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rdi, %r12
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	leal	(%r9,%r13), %edx
	callq	_struct_size
	movq	%rax, %r15
	movq	80(%r12), %rax
	movslq	%ebx, %r14
	movq	(%rax,%r14,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.4:
	movq	%rbx, %rdi
	callq	_ksize
	cmpq	%rax, %r15
	jbe	LBB0_7
## %bb.5:
	movq	_rcu@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_kfree_rcu
LBB0_6:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_kzalloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
LBB0_2:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
	jmp	LBB0_24
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r15, %rdx
	callq	_memset
LBB0_8:
	movl	32(%r12), %edi
	leaq	40(%rbx), %rsi
	movq	_igb_poll@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$64, %ecx
	callq	_netif_napi_add
	movq	80(%r12), %rax
	movq	%rbx, (%rax,%r14,8)
	movq	%r12, 32(%rbx)
	movl	72(%r12), %eax
	movl	%eax, 8(%rbx)
	movq	64(%r12), %r14
	xorl	%edi, %edi
	callq	_E1000_EITR
	addq	%r14, %rax
	movq	%rax, 24(%rbx)
	movq	_IGB_START_ITR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	testl	%r14d, %r14d
	je	LBB0_11
## %bb.9:
	movl	(%r12), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.10:
	cmpl	$3, %eax
	jle	LBB0_14
	jmp	LBB0_13
LBB0_11:
	movl	4(%r12), %eax
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	cmpl	$4, %eax
	jl	LBB0_14
LBB0_13:
	movl	%eax, (%rbx)
LBB0_14:
	movq	16(%rbx), %r15
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.15:
	leaq	8(%rbx), %rsi
	movq	40(%r12), %rax
	movq	%rax, 40(%r15)
	movl	32(%r12), %eax
	movl	%eax, 32(%r15)
	movq	%rbx, 24(%r15)
	movq	%r15, %rdi
	callq	_igb_add_ring
	movq	24(%r12), %rax
	movq	_e1000_82575@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_17
## %bb.16:
	movq	_IGB_RING_FLAG_TX_CTX_IDX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_set_bit
LBB0_17:
	movl	56(%r12), %eax
	movl	%eax, 12(%r15)
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, (%r15)
	movl	$0, 4(%r15)
	leaq	52(%r15), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r15)
	movups	%xmm0, 72(%r15)
	callq	_u64_stats_init
	leaq	48(%r15), %rdi
	callq	_u64_stats_init
	movq	48(%r12), %rax
	movslq	%r13d, %rcx
	movq	%r15, (%rax,%rcx,8)
	addq	$88, %r15
LBB0_18:
	xorl	%r13d, %r13d
	testl	%r14d, %r14d
	je	LBB0_24
## %bb.19:
	movq	40(%r12), %rax
	movq	%rax, 40(%r15)
	movl	32(%r12), %eax
	movl	%eax, 32(%r15)
	movq	%rbx, 24(%r15)
	addq	$4, %rbx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_igb_add_ring
	movq	24(%r12), %rax
	movq	_e1000_82576@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_21
## %bb.20:
	movq	_IGB_RING_FLAG_RX_SCTP_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_set_bit
	movq	24(%r12), %rax
LBB0_21:
	movl	16(%rbp), %ebx
	movq	_e1000_i350@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_23
## %bb.22:
	movq	_IGB_RING_FLAG_RX_LB_VLAN_BSWAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r15), %rsi
	callq	_set_bit
LBB0_23:
	movl	16(%r12), %eax
	movl	%eax, 12(%r15)
	movl	%ebx, (%r15)
	leaq	8(%r15), %rdi
	callq	_u64_stats_init
	movq	8(%r12), %rax
	movslq	%ebx, %rcx
	movq	%r15, (%rax,%rcx,8)
LBB0_24:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_rcu,4,2                        ## @rcu
	.comm	_igb_poll,4,2                   ## @igb_poll
	.comm	_IGB_START_ITR,4,2              ## @IGB_START_ITR
	.comm	_e1000_82575,8,3                ## @e1000_82575
	.comm	_IGB_RING_FLAG_TX_CTX_IDX,4,2   ## @IGB_RING_FLAG_TX_CTX_IDX
	.comm	_e1000_82576,8,3                ## @e1000_82576
	.comm	_IGB_RING_FLAG_RX_SCTP_CSUM,4,2 ## @IGB_RING_FLAG_RX_SCTP_CSUM
	.comm	_e1000_i350,8,3                 ## @e1000_i350
	.comm	_IGB_RING_FLAG_RX_LB_VLAN_BSWAP,4,2 ## @IGB_RING_FLAG_RX_LB_VLAN_BSWAP
	.no_dead_strip	_igb_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 igb_alloc_q_vector
_igb_alloc_q_vector:                    ; @igb_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
	cmp	w3, #1
	b.gt	LBB0_6
; %bb.1:
	mov	x21, x5
	cmp	w5, #2
	b.ge	LBB0_6
; %bb.2:
	mov	x19, x6
	mov	x22, x4
	mov	x25, x3
	mov	x24, x2
	mov	x20, x0
	add	w2, w21, w3
	bl	_struct_size
	mov	x26, x0
	ldr	x8, [x20, #80]
	ldr	x23, [x8, w24, sxtw #3]
	cbz	x23, LBB0_5
; %bb.3:
	mov	x0, x23
	bl	_ksize
	cmp	x26, x0
	b.ls	LBB0_7
; %bb.4:
Lloh0:
	adrp	x8, _rcu@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rcu@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_kfree_rcu
LBB0_5:
Lloh3:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_kzalloc
	mov	x23, x0
	cbnz	x0, LBB0_8
LBB0_6:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_25
LBB0_7:
	mov	x0, x23
	mov	w1, #0
	mov	x2, x26
	bl	_memset
LBB0_8:
	sxtw	x24, w24
	ldr	w0, [x20, #32]
	add	x1, x23, #40
Lloh9:
	adrp	x8, _igb_poll@GOTPAGE
Lloh10:
	ldr	x8, [x8, _igb_poll@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w3, #64
	bl	_netif_napi_add
	ldr	x8, [x20, #80]
	str	x23, [x8, x24, lsl #3]
	str	x20, [x23, #32]
	ldr	w8, [x20, #72]
	mov	x26, x23
	str	w8, [x26, #8]!
	ldr	x24, [x20, #64]
	mov	w0, #0
	bl	_E1000_EITR
	add	x8, x0, x24
	str	x8, [x23, #24]
Lloh12:
	adrp	x8, _IGB_START_ITR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IGB_START_ITR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x23]
	ldr	x24, [x23, #16]
	cbz	w21, LBB0_11
; %bb.9:
	ldr	w8, [x20]
	cbz	w8, LBB0_13
; %bb.10:
	cmp	w8, #3
	b.le	LBB0_14
	b	LBB0_13
LBB0_11:
	ldr	w8, [x20, #4]
	cbz	w8, LBB0_13
; %bb.12:
	cmp	w8, #4
	b.lt	LBB0_14
LBB0_13:
	str	w8, [x23]
LBB0_14:
	cbz	w25, LBB0_18
; %bb.15:
	ldr	x8, [x20, #40]
	str	x8, [x24, #40]
	ldr	w8, [x20, #32]
	str	w8, [x24, #32]
	str	x23, [x24, #24]
	mov	x0, x24
	mov	x1, x26
	bl	_igb_add_ring
	ldr	x8, [x20, #24]
Lloh15:
	adrp	x9, _e1000_82575@GOTPAGE
Lloh16:
	ldr	x9, [x9, _e1000_82575@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_17
; %bb.16:
Lloh18:
	adrp	x8, _IGB_RING_FLAG_TX_CTX_IDX@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IGB_RING_FLAG_TX_CTX_IDX@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	add	x1, x24, #16
	bl	_set_bit
LBB0_17:
	ldr	w8, [x20, #56]
	str	w8, [x24, #12]
	stp	w22, wzr, [x24]
	add	x0, x24, #52
	movi.2d	v0, #0000000000000000
	stur	q0, [x24, #56]
	stur	q0, [x24, #72]
	bl	_u64_stats_init
	add	x0, x24, #48
	bl	_u64_stats_init
	ldr	x8, [x20, #48]
	str	x24, [x8, w22, sxtw #3]
	add	x24, x24, #88
LBB0_18:
	cbz	w21, LBB0_24
; %bb.19:
	ldr	x8, [x20, #40]
	str	x8, [x24, #40]
	ldr	w8, [x20, #32]
	str	w8, [x24, #32]
	str	x23, [x24, #24]
	add	x1, x23, #4
	mov	x0, x24
	bl	_igb_add_ring
	ldr	x8, [x20, #24]
Lloh21:
	adrp	x9, _e1000_82576@GOTPAGE
Lloh22:
	ldr	x9, [x9, _e1000_82576@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_21
; %bb.20:
Lloh24:
	adrp	x8, _IGB_RING_FLAG_RX_SCTP_CSUM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IGB_RING_FLAG_RX_SCTP_CSUM@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	add	x1, x24, #16
	bl	_set_bit
	ldr	x8, [x20, #24]
LBB0_21:
Lloh27:
	adrp	x9, _e1000_i350@GOTPAGE
Lloh28:
	ldr	x9, [x9, _e1000_i350@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_23
; %bb.22:
Lloh30:
	adrp	x8, _IGB_RING_FLAG_RX_LB_VLAN_BSWAP@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IGB_RING_FLAG_RX_LB_VLAN_BSWAP@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	add	x1, x24, #16
	bl	_set_bit
LBB0_23:
	ldr	w8, [x20, #16]
	str	w8, [x24, #12]
	str	w19, [x24]
	add	x0, x24, #8
	bl	_u64_stats_init
	mov	w0, #0
	ldr	x8, [x20, #8]
	str	x24, [x8, w19, sxtw #3]
	b	LBB0_25
LBB0_24:
	mov	w0, #0
LBB0_25:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_rcu,4,2                        ; @rcu
	.comm	_igb_poll,4,2                   ; @igb_poll
	.comm	_IGB_START_ITR,4,2              ; @IGB_START_ITR
	.comm	_e1000_82575,8,3                ; @e1000_82575
	.comm	_IGB_RING_FLAG_TX_CTX_IDX,4,2   ; @IGB_RING_FLAG_TX_CTX_IDX
	.comm	_e1000_82576,8,3                ; @e1000_82576
	.comm	_IGB_RING_FLAG_RX_SCTP_CSUM,4,2 ; @IGB_RING_FLAG_RX_SCTP_CSUM
	.comm	_e1000_i350,8,3                 ; @e1000_i350
	.comm	_IGB_RING_FLAG_RX_LB_VLAN_BSWAP,4,2 ; @IGB_RING_FLAG_RX_LB_VLAN_BSWAP
	.no_dead_strip	_igb_alloc_q_vector
.subsections_via_symbols
