	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fm10k_iov_reset_resources_pf
_fm10k_iov_reset_resources_pf:          ## @fm10k_iov_reset_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rsi), %r12d
	cmpl	16(%rdi), %r12d
	jge	LBB0_1
## %bb.2:
	movq	%rsi, %r13
	movq	%rdi, %r15
	leal	31(%r12), %ebx
	testl	%r12d, %r12d
	cmovnsl	%r12d, %ebx
	movl	%ebx, %edi
	sarl	$5, %edi
	callq	_FM10K_PFVFLREC
	movl	%eax, %r14d
	andl	$-32, %ebx
	movl	%r12d, %edi
	subl	%ebx, %edi
	callq	_BIT
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_fm10k_write_reg
	movq	$0, 40(%r13)
	movq	32(%r13), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	32(%r13), %rsi
	movq	%r15, %rdi
	callq	*%rax
LBB0_4:
	movq	%r15, %rdi
	movl	%r12d, %esi
	callq	_fm10k_vf_vector_index
	movq	%r12, %r14
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_fm10k_vectors_per_pool
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	cmpl	$9, 16(%r15)
	movl	$32, %eax
	movl	$256, %ebx                      ## imm = 0x100
	cmovgel	%eax, %ebx
	movq	%r15, %rdi
	callq	_fm10k_queues_per_pool
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	%ebx, %eax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	imull	%r14d, %eax
	movq	%rbx, -104(%rbp)                ## 8-byte Spill
	leal	(%rax,%rbx), %r14d
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>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	%r14d, %ebx
	jl	LBB0_5
## %bb.6:
	movq	%r15, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	_fm10k_vf_queue_index
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %eax
	movl	%eax, %edx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	8(%r13), %edx
LBB0_8:
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	_FM10K_TXQCTL_VID_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %edx
	movq	_FM10K_TXQCTL_TC_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%ebx, %eax
	shll	%cl, %eax
	movq	_FM10K_RXQCTL_VF_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%ebx, %r13d
	shll	%cl, %r13d
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_11
## %bb.9:
	movq	_FM10K_TXQCTL_VF@GOTPCREL(%rip), %rcx
	orl	-56(%rbp), %edx                 ## 4-byte Folded Reload
	orl	%eax, %edx
	orl	(%rcx), %edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	_FM10K_RXQCTL_VF@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leal	(%rcx,%rax), %r14d
	movl	%ecx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_FM10K_TXDCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movl	%ebx, %edi
	callq	_FM10K_TXQCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_fm10k_write_reg
	movl	%ebx, %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	%ebx, %edi
	callq	_FM10K_RXQCTL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_fm10k_write_reg
	incl	%ebx
	cmpl	%r14d, %ebx
	jl	LBB0_10
LBB0_11:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r12), %ebx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	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
	movq	_FM10K_TC_CREDIT_CREDIT_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	testl	%r14d, %r14d
	je	LBB0_12
## %bb.13:
	leal	-1(%r14), %esi
	movq	%r15, %rdi
	callq	*24(%r15)
	jmp	LBB0_14
LBB0_1:
	movq	_FM10K_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	jmp	LBB0_37
LBB0_12:
	movq	%r15, %rdi
	callq	*8(%r15)
LBB0_14:
	movq	%r14, %rcx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	16(%r15), %eax
	decl	%eax
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	cmovnel	%ebx, %edi
	callq	_FM10K_ITR2
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_fm10k_write_reg
	cmpl	$2, -72(%rbp)                   ## 4-byte Folded Reload
	jl	LBB0_17
## %bb.15:
	incl	%r12d
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	callq	_FM10K_ITR2
	leal	-1(%r12), %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	incl	%r12d
	cmpl	%ebx, %r12d
	jl	LBB0_16
LBB0_17:
	movq	_FM10K_VFMBMEM_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_20
## %bb.18:
	decl	%ebx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_FM10K_MBMEM_VF
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	addl	$-1, %ebx
	jb	LBB0_19
LBB0_20:
	movq	_FM10K_VLAN_TABLE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.21:
	decl	%ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r13), %edi
	movl	%ebx, %esi
	callq	_FM10K_VLAN_TABLE
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	addl	$-1, %ebx
	jb	LBB0_22
LBB0_23:
	movq	_FM10K_RETA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_26
## %bb.24:
	decl	%ebx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r13), %edi
	movl	%ebx, %esi
	callq	_FM10K_RETA
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	addl	$-1, %ebx
	jb	LBB0_25
LBB0_26:
	movq	_FM10K_RSSRK_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_29
## %bb.27:
	decl	%ebx
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r13), %edi
	movl	%ebx, %esi
	callq	_FM10K_RSSRK
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	addl	$-1, %ebx
	jb	LBB0_28
LBB0_29:
	movl	24(%r13), %edi
	callq	_FM10K_MRQC
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_fm10k_write_reg
	movq	16(%r13), %rdi
	callq	_is_valid_ether_addr
	movl	$0, %r14d
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	16(%r13), %rax
	movl	24(%rax), %ecx
	shll	$24, %ecx
	movl	32(%rax), %edx
	shll	$16, %edx
	orl	%ecx, %edx
	movl	40(%rax), %r14d
	shll	$8, %r14d
	orl	%edx, %r14d
	movl	(%rax), %ecx
	movl	8(%rax), %r12d
	shll	$16, %ecx
	shll	$8, %r12d
	orl	%ecx, %r12d
	orl	16(%rax), %r12d
	orl	$-16777216, %r12d               ## imm = 0xFF000000
LBB0_31:
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.32:
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	decl	%eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
                                        ## kill: def $eax killed $eax killed $rax def $rax
	decl	%eax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r13                 ## 8-byte Reload
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13), %ebx
	movl	%ebx, %edi
	callq	_FM10K_TDBAL
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_fm10k_write_reg
	movl	%ebx, %edi
	callq	_FM10K_TDBAH
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r12d, %edx
	callq	_fm10k_write_reg
	movl	%ebx, %edi
	callq	_FM10K_TDLEN
	movl	(%r15), %edx
	movq	_FM10K_TDLEN_ITR_SCALE_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	shll	%cl, %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_fm10k_write_reg
	movl	%r12d, %r14d
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	leal	(%rax,%r13), %r12d
	movl	%r12d, %edi
	callq	_FM10K_TQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_fm10k_write_reg
	movl	%r12d, %edi
	movl	%r14d, %r12d
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	callq	_FM10K_RQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	callq	_fm10k_write_reg
	decl	%r13d
	jne	LBB0_33
LBB0_34:
	xorl	%r12d, %r12d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	cmpl	%r14d, %eax
	jge	LBB0_37
## %bb.35:
	subl	%eax, %r14d
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	addl	%eax, %ebx
	movq	-80(%rbp), %r13                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movl	%ebx, %edi
	callq	_FM10K_TQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_fm10k_write_reg
	movl	%ebx, %edi
	callq	_FM10K_RQMAP
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	callq	_fm10k_write_reg
	incl	%ebx
	decl	%r14d
	jne	LBB0_36
LBB0_37:
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ## @FM10K_ERR_PARAM
	.comm	_FM10K_TXQCTL_VID_SHIFT,4,2     ## @FM10K_TXQCTL_VID_SHIFT
	.comm	_FM10K_TXQCTL_TC_SHIFT,4,2      ## @FM10K_TXQCTL_TC_SHIFT
	.comm	_FM10K_TXQCTL_VF,4,2            ## @FM10K_TXQCTL_VF
	.comm	_FM10K_RXQCTL_VF_SHIFT,4,2      ## @FM10K_RXQCTL_VF_SHIFT
	.comm	_FM10K_RXQCTL_VF,4,2            ## @FM10K_RXQCTL_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_TC_CREDIT_CREDIT_MASK,4,2 ## @FM10K_TC_CREDIT_CREDIT_MASK
	.comm	_FM10K_VFMBMEM_LEN,4,2          ## @FM10K_VFMBMEM_LEN
	.comm	_FM10K_VLAN_TABLE_SIZE,4,2      ## @FM10K_VLAN_TABLE_SIZE
	.comm	_FM10K_RETA_SIZE,4,2            ## @FM10K_RETA_SIZE
	.comm	_FM10K_RSSRK_SIZE,4,2           ## @FM10K_RSSRK_SIZE
	.comm	_FM10K_TDLEN_ITR_SCALE_SHIFT,4,2 ## @FM10K_TDLEN_ITR_SCALE_SHIFT
	.no_dead_strip	_fm10k_iov_reset_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_reset_resources_pf
_fm10k_iov_reset_resources_pf:          ; @fm10k_iov_reset_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
	ldr	w23, [x1]
	ldr	w8, [x0, #16]
	cmp	w23, w8
	b.ge	LBB0_12
; %bb.1:
	mov	x22, x1
	mov	x19, x0
	add	w8, w23, #31
	cmp	w23, #0
	csel	w21, w8, w23, lt
	asr	w0, w21, #5
	bl	_FM10K_PFVFLREC
	mov	x20, x0
	and	w8, w21, #0xffffffe0
	sub	w0, w23, w8
	bl	_BIT
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_fm10k_write_reg
	mov	x1, x22
	ldr	x8, [x1, #32]!
	str	xzr, [x1, #8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	blr	x8
LBB0_3:
	mov	x0, x19
	mov	x1, x23
	bl	_fm10k_vf_vector_index
	str	w0, [sp, #16]                   ; 4-byte Folded Spill
	mov	x0, x19
	bl	_fm10k_vectors_per_pool
	mov	x25, x0
	ldr	w8, [x19, #16]
	mov	w9, #256
	mov	w10, #32
	cmp	w8, #8
	csel	w20, w10, w9, gt
	mov	x0, x19
	bl	_fm10k_queues_per_pool
	mov	x24, x0
	mul	w21, w20, w23
	stp	w20, w21, [sp, #20]             ; 8-byte Folded Spill
	add	w20, w21, w20
LBB0_4:                                 ; =>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
	cmp	w21, w20
	b.lt	LBB0_4
; %bb.5:
	str	w25, [sp, #12]                  ; 4-byte Folded Spill
	mov	x0, x19
	mov	x1, x23
	bl	_fm10k_vf_queue_index
	mov	x21, x0
	ldr	w8, [x22, #4]
	cbnz	w8, LBB0_7
; %bb.6:
	ldr	w8, [x22, #8]
LBB0_7:
	str	w24, [sp, #28]                  ; 4-byte Folded Spill
	cmp	w24, #1
	b.lt	LBB0_10
; %bb.8:
Lloh0:
	adrp	x9, _FM10K_TXQCTL_VID_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FM10K_TXQCTL_VID_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh3:
	adrp	x9, _FM10K_TXQCTL_TC_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FM10K_TXQCTL_TC_SHIFT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	lsl	w9, w23, w9
Lloh6:
	adrp	x10, _FM10K_TXQCTL_VF@GOTPAGE
Lloh7:
	ldr	x10, [x10, _FM10K_TXQCTL_VF@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w8, w8, w23
	orr	w8, w8, w9
	orr	w26, w8, w10
Lloh9:
	adrp	x8, _FM10K_RXQCTL_VF_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FM10K_RXQCTL_VF_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w8, w23, w8
Lloh12:
	adrp	x9, _FM10K_RXQCTL_VF@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FM10K_RXQCTL_VF@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w27, w8, w9
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	add	w20, w21, w8
Lloh15:
	adrp	x25, _FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPAGE
Lloh16:
	ldr	x25, [x25, _FM10K_RXDCTL_WRITE_BACK_MIN_DELAY@GOTPAGEOFF]
Lloh17:
	adrp	x24, _FM10K_RXDCTL_DROP_ON_EMPTY@GOTPAGE
Lloh18:
	ldr	x24, [x24, _FM10K_RXDCTL_DROP_ON_EMPTY@GOTPAGEOFF]
	mov	x28, x21
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_FM10K_TXDCTL
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x28
	bl	_FM10K_TXQCTL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x26
	bl	_fm10k_write_reg
	mov	x0, x28
	bl	_FM10K_RXDCTL
	mov	x1, x0
	ldr	w8, [x25]
	ldr	w9, [x24]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_fm10k_write_reg
	mov	x0, x28
	bl	_FM10K_RXQCTL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x27
	bl	_fm10k_write_reg
	add	w28, w28, #1
	cmp	w28, w20
	b.lt	LBB0_9
LBB0_10:
	ldp	w25, w24, [sp, #12]             ; 8-byte Folded Reload
	add	w26, w25, w24
	mov	x0, x23
	bl	_FM10K_TC_MAXCREDIT
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x23
	bl	_FM10K_TC_RATE
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	mov	x0, x23
	bl	_FM10K_TC_CREDIT
	mov	x1, x0
Lloh19:
	adrp	x8, _FM10K_TC_CREDIT_CREDIT_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FM10K_TC_CREDIT_CREDIT_MASK@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_fm10k_write_reg
	cbz	w23, LBB0_13
; %bb.11:
	ldr	x8, [x19, #24]
	sub	w1, w23, #1
	mov	x0, x19
	blr	x8
	b	LBB0_14
LBB0_12:
Lloh22:
	adrp	x8, _FM10K_ERR_PARAM@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FM10K_ERR_PARAM@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	b	LBB0_38
LBB0_13:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
LBB0_14:
	ldr	w20, [sp, #28]                  ; 4-byte Folded Reload
	ldr	w8, [x19, #16]
	sub	w8, w8, #1
	cmp	w23, w8
	csel	w0, wzr, w26, eq
	bl	_FM10K_ITR2
	mov	x1, x0
	mov	x0, x19
	mov	x2, x24
	bl	_fm10k_write_reg
	cmp	w25, #2
	b.lt	LBB0_17
; %bb.15:
	add	w24, w24, #1
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	bl	_FM10K_ITR2
	mov	x1, x0
	sub	w2, w24, #1
	mov	x0, x19
	bl	_fm10k_write_reg
	add	w24, w24, #1
	cmp	w24, w26
	b.lt	LBB0_16
LBB0_17:
Lloh25:
	adrp	x8, _FM10K_VFMBMEM_LEN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FM10K_VFMBMEM_LEN@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cbz	w8, LBB0_20
; %bb.18:
	sub	w24, w8, #1
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x23
	mov	x1, x24
	bl	_FM10K_MBMEM_VF
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	sub	w24, w24, #1
	cmn	w24, #1
	b.ne	LBB0_19
LBB0_20:
Lloh28:
	adrp	x8, _FM10K_VLAN_TABLE_SIZE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FM10K_VLAN_TABLE_SIZE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cbz	w8, LBB0_23
; %bb.21:
	sub	w23, w8, #1
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #24]
	mov	x1, x23
	bl	_FM10K_VLAN_TABLE
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	sub	w23, w23, #1
	cmn	w23, #1
	b.ne	LBB0_22
LBB0_23:
Lloh31:
	adrp	x8, _FM10K_RETA_SIZE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FM10K_RETA_SIZE@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
	cbz	w8, LBB0_26
; %bb.24:
	sub	w23, w8, #1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #24]
	mov	x1, x23
	bl	_FM10K_RETA
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	sub	w23, w23, #1
	cmn	w23, #1
	b.ne	LBB0_25
LBB0_26:
Lloh34:
	adrp	x8, _FM10K_RSSRK_SIZE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _FM10K_RSSRK_SIZE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	cbz	w8, LBB0_29
; %bb.27:
	sub	w23, w8, #1
LBB0_28:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22, #24]
	mov	x1, x23
	bl	_FM10K_RSSRK
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	sub	w23, w23, #1
	cmn	w23, #1
	b.ne	LBB0_28
LBB0_29:
	ldr	w0, [x22, #24]
	bl	_FM10K_MRQC
	mov	x1, x0
	mov	x0, x19
	mov	w2, #0
	bl	_fm10k_write_reg
	ldr	x0, [x22, #16]
	bl	_is_valid_ether_addr
	cbz	x0, LBB0_31
; %bb.30:
	ldr	x8, [x22, #16]
	ldr	w9, [x8, #24]
	ldr	w10, [x8, #32]
	lsl	w10, w10, #16
	orr	w9, w10, w9, lsl #24
	ldr	w10, [x8, #40]
	orr	w22, w9, w10, lsl #8
	ldr	w9, [x8]
	lsl	w9, w9, #16
	ldr	w10, [x8, #8]
	ldr	w8, [x8, #16]
	orr	w9, w9, w10, lsl #8
	orr	w8, w9, w8
	orr	w23, w8, #0xff000000
	cbnz	w20, LBB0_32
	b	LBB0_34
LBB0_31:
	mov	w23, #0
	mov	w22, #0
	cbz	w20, LBB0_34
LBB0_32:
	ldp	w8, w25, [sp, #24]              ; 8-byte Folded Reload
	sub	w26, w8, #1
	sub	w27, w21, #1
Lloh37:
	adrp	x28, _FM10K_TDLEN_ITR_SCALE_SHIFT@GOTPAGE
Lloh38:
	ldr	x28, [x28, _FM10K_TDLEN_ITR_SCALE_SHIFT@GOTPAGEOFF]
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	sub	w20, w25, #1
	add	w24, w27, w25
	mov	x0, x24
	bl	_FM10K_TDBAL
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	bl	_fm10k_write_reg
	mov	x0, x24
	bl	_FM10K_TDBAH
	mov	x1, x0
	mov	x0, x19
	mov	x2, x23
	bl	_fm10k_write_reg
	mov	x0, x24
	bl	_FM10K_TDLEN
	mov	x1, x0
	ldr	w8, [x19]
	ldr	w9, [x28]
	lsl	w2, w8, w9
	mov	x0, x19
	bl	_fm10k_write_reg
	add	w25, w26, w25
	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
	mov	x25, x20
	cbnz	w20, LBB0_33
LBB0_34:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	ldr	w9, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w9, w8
	b.ge	LBB0_37
; %bb.35:
	sub	w22, w8, w9
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	add	w20, w9, w8
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_FM10K_TQMAP
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_fm10k_write_reg
	mov	x0, x20
	bl	_FM10K_RQMAP
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	bl	_fm10k_write_reg
	add	w20, w20, #1
	subs	w22, w22, #1
	b.ne	LBB0_36
LBB0_37:
	mov	w0, #0
LBB0_38:
	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
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_FM10K_ERR_PARAM,4,2            ; @FM10K_ERR_PARAM
	.comm	_FM10K_TXQCTL_VID_SHIFT,4,2     ; @FM10K_TXQCTL_VID_SHIFT
	.comm	_FM10K_TXQCTL_TC_SHIFT,4,2      ; @FM10K_TXQCTL_TC_SHIFT
	.comm	_FM10K_TXQCTL_VF,4,2            ; @FM10K_TXQCTL_VF
	.comm	_FM10K_RXQCTL_VF_SHIFT,4,2      ; @FM10K_RXQCTL_VF_SHIFT
	.comm	_FM10K_RXQCTL_VF,4,2            ; @FM10K_RXQCTL_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_TC_CREDIT_CREDIT_MASK,4,2 ; @FM10K_TC_CREDIT_CREDIT_MASK
	.comm	_FM10K_VFMBMEM_LEN,4,2          ; @FM10K_VFMBMEM_LEN
	.comm	_FM10K_VLAN_TABLE_SIZE,4,2      ; @FM10K_VLAN_TABLE_SIZE
	.comm	_FM10K_RETA_SIZE,4,2            ; @FM10K_RETA_SIZE
	.comm	_FM10K_RSSRK_SIZE,4,2           ; @FM10K_RSSRK_SIZE
	.comm	_FM10K_TDLEN_ITR_SCALE_SHIFT,4,2 ; @FM10K_TDLEN_ITR_SCALE_SHIFT
	.no_dead_strip	_fm10k_iov_reset_resources_pf
.subsections_via_symbols
