	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i40e_vc_get_pf_queue_id
_i40e_vc_get_pf_queue_id:               ## @i40e_vc_get_pf_queue_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	(%rdi), %rdi
	callq	_i40e_find_vsi_from_id
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	8(%rax), %edi
	callq	_le16_to_cpu
	movq	_I40E_AQ_VSI_QUE_MAP_NONCONTIG@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	movq	(%rbx), %rcx
	testq	%rdx, %rax
	je	LBB0_3
## %bb.5:
	movl	(%rcx,%r14,4), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_le16_to_cpu                    ## TAILCALL
LBB0_1:
	movq	_I40E_QUEUE_END_OF_LIST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_4
LBB0_3:
	movl	(%rcx), %edi
	callq	_le16_to_cpu
	addq	%r14, %rax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I40E_QUEUE_END_OF_LIST,8,3     ## @I40E_QUEUE_END_OF_LIST
	.comm	_I40E_AQ_VSI_QUE_MAP_NONCONTIG,4,2 ## @I40E_AQ_VSI_QUE_MAP_NONCONTIG
	.no_dead_strip	_i40e_vc_get_pf_queue_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i40e_vc_get_pf_queue_id
_i40e_vc_get_pf_queue_id:               ; @i40e_vc_get_pf_queue_id
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x0, [x0]
	bl	_i40e_find_vsi_from_id
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldr	w0, [x0, #8]
	bl	_le16_to_cpu
Lloh0:
	adrp	x8, _I40E_AQ_VSI_QUE_MAP_NONCONTIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _I40E_AQ_VSI_QUE_MAP_NONCONTIG@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x8]
	ldr	x8, [x20]
	tst	x0, x9
	b.eq	LBB0_4
; %bb.2:
	ldr	w0, [x8, x19, lsl #2]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_le16_to_cpu
LBB0_3:
Lloh3:
	adrp	x8, _I40E_QUEUE_END_OF_LIST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I40E_QUEUE_END_OF_LIST@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	b	LBB0_5
LBB0_4:
	ldr	w0, [x8]
	bl	_le16_to_cpu
	add	x0, x0, x19
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_I40E_QUEUE_END_OF_LIST,8,3     ; @I40E_QUEUE_END_OF_LIST
	.comm	_I40E_AQ_VSI_QUE_MAP_NONCONTIG,4,2 ; @I40E_AQ_VSI_QUE_MAP_NONCONTIG
	.no_dead_strip	_i40e_vc_get_pf_queue_id
.subsections_via_symbols
