	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_iov_assign_resources_pf
_fm10k_iov_assign_resources_pf:         ## @fm10k_iov_assign_resources_pf
	.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
	movl	%esi, %r12d
	movl	12(%rdi), %esi
	movq	_FM10K_TXQCTL_VID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %esi
	cmpl	$65, %edx
	jge	LBB0_1
## %bb.2:
	cmpl	%edx, %r12d
	jg	LBB0_1
## %bb.3:
	movq	%rdi, %r15
	cmpl	%r12d, (%rdi)
	jge	LBB0_4
LBB0_1:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
LBB0_23:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	%esi, -64(%rbp)                 ## 4-byte Spill
	movl	%r12d, 4(%r15)
	movl	%edx, 8(%r15)
	cmpl	$9, %r12d
	movl	$32, %eax
	movl	$256, %ecx                      ## imm = 0x100
	cmovgel	%eax, %ecx
	movl	%ecx, -60(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	callq	_fm10k_queues_per_pool
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	callq	_fm10k_vectors_per_pool
	movl	%eax, %r13d
	xorl	%r14d, %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_fm10k_vf_queue_index
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.5:
	movq	_FM10K_TC_CREDIT_CREDIT_MASK@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_FM10K_TC_MAXCREDIT
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movl	%r14d, %edi
	callq	_FM10K_TC_RATE
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movl	%r14d, %edi
	callq	_FM10K_TC_CREDIT
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	incl	%r14d
	cmpl	%r14d, %r12d
	jne	LBB0_6
LBB0_7:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_FM10K_VFMBMEM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	imull	%r12d, %ebx
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.8:
	decl	%ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_FM10K_MBMEM
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	addl	$-1, %ebx
	jb	LBB0_9
LBB0_10:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	callq	_FM10K_PFVFLREC
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_fm10k_write_reg
	movl	$1, %edi
	callq	_FM10K_PFVFLREC
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	$-1, %edx
	callq	_fm10k_write_reg
	movq	_FM10K_MAX_QUEUES_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%ebx, %r14d
	movl	-64(%rbp), %r12d                ## 4-byte Reload
	jge	LBB0_13
## %bb.11:
	movq	_FM10K_RXQCTL_PF@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_FM10K_TXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movl	%r14d, %edi
	callq	_FM10K_TXQCTL
	movq	_FM10K_TXQCTL_PF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	%r12d, %edx
	movq	_FM10K_TXQCTL_UNLIMITED_BW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	movl	%r14d, %edi
	callq	_FM10K_RXQCTL
	movl	(%r13), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	incl	%r14d
	cmpl	%r14d, %ebx
	jne	LBB0_12
LBB0_13:
	movq	_FM10K_ITR_REG_COUNT_PF@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	incl	%r14d
	movq	_FM10K_ITR_REG_COUNT@GOTPCREL(%rip), %r13
	cmpl	(%r13), %r14d
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jge	LBB0_16
## %bb.14:
	leal	-1(%r12), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	negl	%r12d
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	leal	-1(%r14), %ebx
	movl	%r14d, %edi
	callq	_FM10K_ITR2
	leal	(%r12,%r14), %edx
	testl	%r14d, -48(%rbp)                ## 4-byte Folded Reload
	cmovnel	%ebx, %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	incl	%r14d
	cmpl	(%r13), %r14d
	jl	LBB0_15
LBB0_16:
	xorl	%edi, %edi
	callq	_FM10K_ITR2
	movl	%eax, %r14d
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	leal	-1(%rbx), %esi
	movq	%r15, %rdi
	callq	_fm10k_vf_vector_index
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_fm10k_write_reg
	movl	$0, %eax
	testl	%ebx, %ebx
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	jle	LBB0_20
## %bb.17:
	xorl	%r14d, %r14d
	testl	%ebx, %ebx
	movl	$0, %eax
	cmovgl	%ebx, %eax
	movl	-60(%rbp), %ecx                 ## 4-byte Reload
                                        ## kill: def $ecx killed $ecx def $rcx
	subl	%eax, %ecx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	-76(%rbp), %r14d                ## 4-byte Reload
	incl	%r14d
	movl	%eax, %r13d
	cmpl	-88(%rbp), %r14d                ## 4-byte Folded Reload
	je	LBB0_20
LBB0_18:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
                                        ##     Child Loop BB0_26 Depth 2
	testl	%ebx, %ebx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movl	%r14d, -76(%rbp)                ## 4-byte Spill
	jle	LBB0_19
## %bb.29:                              ##   in Loop: Header=BB0_18 Depth=1
	movl	%r14d, %eax
	orl	-64(%rbp), %eax                 ## 4-byte Folded Reload
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leal	(%rbx,%r13), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
                                        ## kill: def $ebx killed $ebx killed $rbx
	.p2align	4, 0x90
LBB0_30:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r12d, %edi
	callq	_FM10K_TXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movl	%r12d, %edi
	callq	_FM10K_TXQCTL
	movq	_FM10K_TXQCTL_TC_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	%r14d, %edx
	shll	%cl, %edx
	orl	-48(%rbp), %edx                 ## 4-byte Folded Reload
	movq	_FM10K_TXQCTL_VF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	movl	%r12d, %edi
	callq	_FM10K_RXDCTL
	movq	_FM10K_RXDCTL_DROP_ON_EMPTY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	movl	%r12d, %edi
	callq	_FM10K_RXQCTL
	movq	_FM10K_RXQCTL_VF_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	movl	%r14d, %edx
	shll	%cl, %edx
	movq	_FM10K_RXQCTL_VF@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	movl	%r13d, %edi
	callq	_FM10K_TQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_fm10k_write_reg
	movl	%r13d, %edi
	callq	_FM10K_RQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_fm10k_write_reg
	incl	%r13d
	incl	%r12d
	decl	%ebx
	jne	LBB0_30
## %bb.24:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	cmpl	-60(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	jae	LBB0_28
	jmp	LBB0_25
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%r13d, %eax
LBB0_25:                                ##   in Loop: Header=BB0_18 Depth=1
	movl	%eax, %ebx
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rbx), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, %r13d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_26:                                ##   Parent Loop BB0_18 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%ebx, %edi
	callq	_FM10K_TQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_fm10k_write_reg
	movl	%ebx, %edi
	callq	_FM10K_RQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_fm10k_write_reg
	incl	%ebx
	decl	%r13d
	jne	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	jmp	LBB0_28
LBB0_20:
	movq	_FM10K_TQMAP_TABLE_SIZE@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	movl	$0, %r12d
	jge	LBB0_23
## %bb.21:
	movl	%eax, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_FM10K_TQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movl	%ebx, %edi
	callq	_FM10K_RQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_22
	jmp	LBB0_23
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_TXQCTL_VID_SHIFT,4,2     ## @FM10K_TXQCTL_VID_SHIFT
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TC_CREDIT_CREDIT_MASK,4,2 ## @FM10K_TC_CREDIT_CREDIT_MASK
	.comm	_FM10K_VFMBMEM_LEN,4,2          ## @FM10K_VFMBMEM_LEN
	.comm	_FM10K_MAX_QUEUES_PF,4,2        ## @FM10K_MAX_QUEUES_PF
	.comm	_FM10K_TXQCTL_PF,4,2            ## @FM10K_TXQCTL_PF
	.comm	_FM10K_TXQCTL_UNLIMITED_BW,4,2  ## @FM10K_TXQCTL_UNLIMITED_BW
	.comm	_FM10K_RXQCTL_PF,4,2            ## @FM10K_RXQCTL_PF
	.comm	_FM10K_ITR_REG_COUNT_PF,4,2     ## @FM10K_ITR_REG_COUNT_PF
	.comm	_FM10K_ITR_REG_COUNT,4,2        ## @FM10K_ITR_REG_COUNT
	.comm	_FM10K_TXQCTL_TC_SHIFT,4,2      ## @FM10K_TXQCTL_TC_SHIFT
	.comm	_FM10K_TXQCTL_VF,4,2            ## @FM10K_TXQCTL_VF
	.comm	_FM10K_RXDCTL_WRITE_BACK_MIN_DELAY,4,2 ## @FM10K_RXDCTL_WRITE_BACK_MIN_DELAY
	.comm	_FM10K_RXDCTL_DROP_ON_EMPTY,4,2 ## @FM10K_RXDCTL_DROP_ON_EMPTY
	.comm	_FM10K_RXQCTL_VF_SHIFT,4,2      ## @FM10K_RXQCTL_VF_SHIFT
	.comm	_FM10K_RXQCTL_VF,4,2            ## @FM10K_RXQCTL_VF
	.comm	_FM10K_TQMAP_TABLE_SIZE,4,2     ## @FM10K_TQMAP_TABLE_SIZE
	.no_dead_strip	_fm10k_iov_assign_resources_pf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fm10k_iov_assign_resources_pf
_fm10k_iov_assign_resources_pf:         ; @fm10k_iov_assign_resources_pf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	cmp	w2, #65
	b.ge	LBB0_3
; %bb.1:
	mov	x27, x1
	cmp	w1, w2
	b.gt	LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w27
	b.ge	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_5:
	ldr	w20, [x19, #12]
Lloh3:
	adrp	x8, _FM10K_TXQCTL_VID_SHIFT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FM10K_TXQCTL_VID_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	stp	w27, w2, [x19, #4]
	mov	w8, #256
	mov	w9, #32
	cmp	w27, #8
	csel	w8, w9, w8, gt
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	mov	x0, x19
	bl	_fm10k_queues_per_pool
	str	w0, [sp, #4]                    ; 4-byte Folded Spill
	mov	x0, x19
	bl	_fm10k_vectors_per_pool
	mov	x24, x0
	mov	x0, x19
	mov	w1, #0
	bl	_fm10k_vf_queue_index
	mov	x22, x0
	subs	w23, w27, #1
	b.lt	LBB0_8
; %bb.6:
	mov	w25, #0
Lloh6:
	adrp	x26, _FM10K_TC_CREDIT_CREDIT_MASK@GOTPAGE
Lloh7:
	ldr	x26, [x26, _FM10K_TC_CREDIT_CREDIT_MASK@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_FM10K_TC_MAXCREDIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_TC_RATE
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_TC_CREDIT
	mov	x1, x0
	ldr	w2, [x26]
	mov	x0, x19
	bl	_fm10k_write_reg
	add	w25, w25, #1
	cmp	w27, w25
	b.ne	LBB0_7
LBB0_8:
Lloh8:
	adrp	x8, _FM10K_VFMBMEM_LEN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FM10K_VFMBMEM_LEN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	mul	w8, w8, w27
	cbz	w8, LBB0_11
; %bb.9:
	sub	w25, w8, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_FM10K_MBMEM
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	sub	w25, w25, #1
	cmn	w25, #1
	b.ne	LBB0_10
LBB0_11:
	lsl	w28, w20, w21
	mov	w0, #0
	bl	_FM10K_PFVFLREC
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_fm10k_write_reg
	mov	w0, #1
	bl	_FM10K_PFVFLREC
	mov	x1, x0
	mov	x0, x19
	mov	w2, #-1
	bl	_fm10k_write_reg
Lloh11:
	adrp	x8, _FM10K_MAX_QUEUES_PF@GOTPAGE
Lloh12:
	ldr	x8, [x8, _FM10K_MAX_QUEUES_PF@GOTPAGEOFF]
Lloh13:
	ldr	w25, [x8]
	cmp	w25, w22
	b.ge	LBB0_14
; %bb.12:
Lloh14:
	adrp	x20, _FM10K_TXQCTL_PF@GOTPAGE
Lloh15:
	ldr	x20, [x20, _FM10K_TXQCTL_PF@GOTPAGEOFF]
Lloh16:
	adrp	x21, _FM10K_TXQCTL_UNLIMITED_BW@GOTPAGE
Lloh17:
	ldr	x21, [x21, _FM10K_TXQCTL_UNLIMITED_BW@GOTPAGEOFF]
Lloh18:
	adrp	x26, _FM10K_RXQCTL_PF@GOTPAGE
Lloh19:
	ldr	x26, [x26, _FM10K_RXQCTL_PF@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_FM10K_TXDCTL
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_TXQCTL
	mov	x1, x0
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w8, w8, w28
	orr	w2, w8, w9
	mov	x0, x19
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_RXQCTL
	mov	x1, x0
	ldr	w2, [x26]
	mov	x0, x19
	bl	_fm10k_write_reg
	add	w25, w25, #1
	cmp	w22, w25
	b.ne	LBB0_13
LBB0_14:
Lloh20:
	adrp	x8, _FM10K_ITR_REG_COUNT_PF@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FM10K_ITR_REG_COUNT_PF@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	add	w25, w8, #1
Lloh23:
	adrp	x20, _FM10K_ITR_REG_COUNT@GOTPAGE
Lloh24:
	ldr	x20, [x20, _FM10K_ITR_REG_COUNT@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w25, w8
	b.ge	LBB0_17
; %bb.15:
	sub	w21, w24, #1
	neg	w24, w24
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	sub	w26, w25, #1
	mov	x0, x25
	bl	_FM10K_ITR2
	mov	x1, x0
	add	w8, w24, w25
	tst	w25, w21
	csel	w2, w8, w26, eq
	mov	x0, x19
	bl	_fm10k_write_reg
	add	w25, w25, #1
	ldr	w8, [x20]
	cmp	w25, w8
	b.lt	LBB0_16
LBB0_17:
	mov	w0, #0
	bl	_FM10K_ITR2
	mov	x24, x0
	mov	x0, x19
	mov	x1, x23
	bl	_fm10k_vf_vector_index
	mov	x2, x0
	mov	x0, x19
	mov	x1, x24
	bl	_fm10k_write_reg
	cmp	w27, #1
	b.lt	LBB0_28
; %bb.18:
	str	w22, [sp, #24]                  ; 4-byte Folded Spill
	str	w28, [sp]                       ; 4-byte Folded Spill
	mov	w28, #0
	mov	w25, #0
	ldp	w21, w9, [sp, #4]               ; 8-byte Folded Reload
	cmp	w21, #0
	csel	w8, w21, wzr, gt
	sub	w8, w9, w8
	stp	w8, w27, [sp, #12]              ; 8-byte Folded Spill
Lloh25:
	adrp	x23, _FM10K_TXQCTL_VF@GOTPAGE
Lloh26:
	ldr	x23, [x23, _FM10K_TXQCTL_VF@GOTPAGEOFF]
Lloh27:
	adrp	x27, _FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPAGE
Lloh28:
	ldr	x27, [x27, _FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPAGEOFF]
Lloh29:
	adrp	x22, _FM10K_RXDCTL_DROP_ON_EMPTY@GOTPAGE
Lloh30:
	ldr	x22, [x22, _FM10K_RXDCTL_DROP_ON_EMPTY@GOTPAGEOFF]
Lloh31:
	adrp	x20, _FM10K_RXQCTL_VF_SHIFT@GOTPAGE
Lloh32:
	ldr	x20, [x20, _FM10K_RXQCTL_VF_SHIFT@GOTPAGEOFF]
Lloh33:
	adrp	x8, _FM10K_RXQCTL_VF@GOTPAGE
Lloh34:
	ldr	x8, [x8, _FM10K_RXQCTL_VF@GOTPAGEOFF]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	w28, w28, #1
	mov	x9, x25
	str	w24, [sp, #24]                  ; 4-byte Folded Spill
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w28, w8
Lloh35:
	adrp	x23, _FM10K_TXQCTL_VF@GOTPAGE
Lloh36:
	ldr	x23, [x23, _FM10K_TXQCTL_VF@GOTPAGEOFF]
Lloh37:
	adrp	x27, _FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPAGE
Lloh38:
	ldr	x27, [x27, _FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPAGEOFF]
Lloh39:
	adrp	x22, _FM10K_RXDCTL_DROP_ON_EMPTY@GOTPAGE
Lloh40:
	ldr	x22, [x22, _FM10K_RXDCTL_DROP_ON_EMPTY@GOTPAGEOFF]
Lloh41:
	adrp	x20, _FM10K_RXQCTL_VF_SHIFT@GOTPAGE
Lloh42:
	ldr	x20, [x20, _FM10K_RXQCTL_VF_SHIFT@GOTPAGEOFF]
Lloh43:
	adrp	x8, _FM10K_RXQCTL_VF@GOTPAGE
Lloh44:
	ldr	x8, [x8, _FM10K_RXQCTL_VF@GOTPAGEOFF]
	b.eq	LBB0_29
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_26 Depth 2
	cmp	w21, #1
	b.lt	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x26, x8
	ldr	w8, [sp]                        ; 4-byte Folded Reload
	orr	w8, w28, w8
	str	w8, [sp, #28]                   ; 4-byte Folded Spill
	add	w8, w21, w25
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	ldr	w24, [sp, #24]                  ; 4-byte Folded Reload
LBB0_22:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x24
	bl	_FM10K_TXDCTL
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x24
	bl	_FM10K_TXQCTL
	mov	x1, x0
Lloh45:
	adrp	x8, _FM10K_TXQCTL_TC_SHIFT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _FM10K_TXQCTL_TC_SHIFT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	lsl	w8, w28, w8
	ldr	w9, [x23]
	ldr	w10, [sp, #28]                  ; 4-byte Folded Reload
	orr	w8, w10, w8
	orr	w2, w8, w9
	mov	x0, x19
	bl	_fm10k_write_reg
	mov	x0, x24
	bl	_FM10K_RXDCTL
	mov	x1, x0
	ldr	w8, [x27]
	ldr	w9, [x22]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_fm10k_write_reg
	mov	x0, x24
	bl	_FM10K_RXQCTL
	mov	x1, x0
	ldr	w8, [x20]
	lsl	w8, w28, w8
	ldr	w9, [x26]
	orr	w2, w8, w9
	mov	x0, x19
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_TQMAP
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_RQMAP
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_fm10k_write_reg
	add	w25, w25, #1
	add	w24, w24, #1
	subs	w21, w21, #1
	b.ne	LBB0_22
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	ldp	w21, w8, [sp, #4]               ; 8-byte Folded Reload
	cmp	w21, w8
	ldp	w25, w22, [sp, #20]             ; 8-byte Folded Reload
	b.hs	LBB0_19
	b	LBB0_25
LBB0_24:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w22, [sp, #24]                  ; 4-byte Folded Reload
	mov	x24, x22
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w20, [sp, #12]                  ; 4-byte Folded Reload
	add	w8, w20, w25
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
LBB0_26:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x25
	bl	_FM10K_TQMAP
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_fm10k_write_reg
	mov	x0, x25
	bl	_FM10K_RQMAP
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_fm10k_write_reg
	add	w25, w25, #1
	subs	w20, w20, #1
	b.ne	LBB0_26
; %bb.27:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w25, [sp, #20]                  ; 4-byte Folded Reload
	b	LBB0_19
LBB0_28:
	mov	w9, #0
LBB0_29:
Lloh48:
	adrp	x20, _FM10K_TQMAP_TABLE_SIZE@GOTPAGE
Lloh49:
	ldr	x20, [x20, _FM10K_TQMAP_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w9, w8
	b.ge	LBB0_32
; %bb.30:
	mov	x21, x9
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_FM10K_TQMAP
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x21
	bl	_FM10K_RQMAP
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_31
LBB0_32:
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_TXQCTL_VID_SHIFT,4,2     ; @FM10K_TXQCTL_VID_SHIFT
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TC_CREDIT_CREDIT_MASK,4,2 ; @FM10K_TC_CREDIT_CREDIT_MASK
	.comm	_FM10K_VFMBMEM_LEN,4,2          ; @FM10K_VFMBMEM_LEN
	.comm	_FM10K_MAX_QUEUES_PF,4,2        ; @FM10K_MAX_QUEUES_PF
	.comm	_FM10K_TXQCTL_PF,4,2            ; @FM10K_TXQCTL_PF
	.comm	_FM10K_TXQCTL_UNLIMITED_BW,4,2  ; @FM10K_TXQCTL_UNLIMITED_BW
	.comm	_FM10K_RXQCTL_PF,4,2            ; @FM10K_RXQCTL_PF
	.comm	_FM10K_ITR_REG_COUNT_PF,4,2     ; @FM10K_ITR_REG_COUNT_PF
	.comm	_FM10K_ITR_REG_COUNT,4,2        ; @FM10K_ITR_REG_COUNT
	.comm	_FM10K_TXQCTL_TC_SHIFT,4,2      ; @FM10K_TXQCTL_TC_SHIFT
	.comm	_FM10K_TXQCTL_VF,4,2            ; @FM10K_TXQCTL_VF
	.comm	_FM10K_RXDCTL_WRITE_BACK_MIN_DELAY,4,2 ; @FM10K_RXDCTL_WRITE_BACK_MIN_DELAY
	.comm	_FM10K_RXDCTL_DROP_ON_EMPTY,4,2 ; @FM10K_RXDCTL_DROP_ON_EMPTY
	.comm	_FM10K_RXQCTL_VF_SHIFT,4,2      ; @FM10K_RXQCTL_VF_SHIFT
	.comm	_FM10K_RXQCTL_VF,4,2            ; @FM10K_RXQCTL_VF
	.comm	_FM10K_TQMAP_TABLE_SIZE,4,2     ; @FM10K_TQMAP_TABLE_SIZE
	.no_dead_strip	_fm10k_iov_assign_resources_pf
.subsections_via_symbols
