	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_map_pf_to_vf_queues
_i40e_map_pf_to_vf_queues:              ## @i40e_map_pf_to_vf_queues
	.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	32(%rdi), %rax
	movq	40(%rdi), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jg	LBB0_3
LBB0_13:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	$1, %ecx
LBB0_3:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	leaq	8(%rdx), %r12
	leaq	16(%rdi), %rdx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	movl	%ecx, %ecx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	xorl	%edx, %edx
	xorl	%esi, %esi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:
	movq	24(%rdi), %rax
	leaq	(%rax,%rdx,8), %rcx
	leaq	(%rax,%rdx,8), %rax
	addq	$4, %rax
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	8(%rdi), %rcx
	movq	(%rax,%rcx,8), %rcx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_7:
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_11
## %bb.8:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rsi,%rbx), %r13d
	movq	%r15, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%ebx, %edx
	callq	_i40e_vc_get_pf_queue_id
	movl	%eax, %r14d
	movq	_I40E_VPLAN_QTABLE_QINDEX_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movl	20(%r15), %esi
	movl	%r13d, %edi
	callq	_I40E_VPLAN_QTABLE
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%r14d, %edx
	callq	_wr32
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	incl	%ebx
	cmpl	%ebx, %ecx
	jne	LBB0_9
## %bb.10:
	addl	%ebx, %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
LBB0_11:
	incq	%rdx
	cmpq	-80(%rbp), %rdx                 ## 8-byte Folded Reload
	je	LBB0_13
## %bb.12:
	movq	32(%rdi), %rax
	testq	%rax, %rax
	jne	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_VPLAN_QTABLE_QINDEX_MASK,4,2 ## @I40E_VPLAN_QTABLE_QINDEX_MASK
	.no_dead_strip	_i40e_map_pf_to_vf_queues
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_map_pf_to_vf_queues
_i40e_map_pf_to_vf_queues:              ; @i40e_map_pf_to_vf_queues
	.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
	mov	x19, x0
	ldr	x8, [x0, #40]
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w9, [x19]
	cmp	w9, #1
	b.ge	LBB0_4
LBB0_2:
	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_3:
	mov	w9, #1
LBB0_4:
	mov	x26, #0
	mov	w27, #0
	ldr	x10, [sp, #16]                  ; 8-byte Folded Reload
	add	x20, x10, #8
	add	x10, x19, #16
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
Lloh0:
	adrp	x25, _I40E_VPLAN_QTABLE_QINDEX_MASK@GOTPAGE
Lloh1:
	ldr	x25, [x25, _I40E_VPLAN_QTABLE_QINDEX_MASK@GOTPAGEOFF]
	mov	w9, w9
	str	x9, [sp, #24]                   ; 8-byte Folded Spill
	cbz	x8, LBB0_6
LBB0_5:
	ldr	x8, [x19, #24]
	add	x8, x8, x26, lsl #3
	add	x9, x8, #4
	b	LBB0_7
LBB0_6:
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	x9, [x19, #8]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
LBB0_7:
	ldr	w28, [x8]
	cmp	w28, #1
	b.lt	LBB0_11
; %bb.8:
	mov	w21, #0
	ldr	w22, [x9]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	add	w23, w27, w21
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_i40e_vc_get_pf_queue_id
	ldr	w8, [x25]
	and	w24, w8, w0
	ldr	w1, [x19, #20]
	mov	x0, x23
	bl	_I40E_VPLAN_QTABLE
	mov	x1, x0
	mov	x0, x20
	mov	x2, x24
	bl	_wr32
	add	w21, w21, #1
	cmp	w28, w21
	b.ne	LBB0_9
; %bb.10:
	add	w27, w27, w21
LBB0_11:
	add	x26, x26, #1
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	cmp	x26, x8
	b.eq	LBB0_2
; %bb.12:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_VPLAN_QTABLE_QINDEX_MASK,4,2 ; @I40E_VPLAN_QTABLE_QINDEX_MASK
	.no_dead_strip	_i40e_map_pf_to_vf_queues
.subsections_via_symbols
