	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_vf_calculate_legacy
_qed_vf_calculate_legacy:               ## @qed_vf_calculate_legacy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdx
	movq	_ETH_HSI_VER_NO_PKT_LEN_TUNN@GOTPCREL(%rip), %rsi
	xorl	%eax, %eax
	movl	$0, %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_2
## %bb.1:
	movq	_QED_QCID_LEGACY_VF_RX_PROD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movq	_VFPF_ACQUIRE_CAP_QUEUE_QIDS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 8(%rdi)
	jne	LBB0_4
## %bb.3:
	movq	_QED_QCID_LEGACY_VF_CID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	orl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HSI_VER_NO_PKT_LEN_TUNN,8,3 ## @ETH_HSI_VER_NO_PKT_LEN_TUNN
	.comm	_QED_QCID_LEGACY_VF_RX_PROD,4,2 ## @QED_QCID_LEGACY_VF_RX_PROD
	.comm	_VFPF_ACQUIRE_CAP_QUEUE_QIDS,4,2 ## @VFPF_ACQUIRE_CAP_QUEUE_QIDS
	.comm	_QED_QCID_LEGACY_VF_CID,4,2     ## @QED_QCID_LEGACY_VF_CID
	.no_dead_strip	_qed_vf_calculate_legacy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_vf_calculate_legacy
_qed_vf_calculate_legacy:               ; @qed_vf_calculate_legacy
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ETH_HSI_VER_NO_PKT_LEN_TUNN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_HSI_VER_NO_PKT_LEN_TUNN@GOTPAGEOFF]
	ldr	x9, [x0]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x10, _QED_QCID_LEGACY_VF_RX_PROD@GOTPAGE
Lloh4:
	ldr	x10, [x10, _QED_QCID_LEGACY_VF_RX_PROD@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	cmp	x9, x8
	csel	w8, w10, wzr, eq
	ldr	w9, [x0, #8]
Lloh6:
	adrp	x10, _VFPF_ACQUIRE_CAP_QUEUE_QIDS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _VFPF_ACQUIRE_CAP_QUEUE_QIDS@GOTPAGEOFF]
Lloh8:
	adrp	x11, _QED_QCID_LEGACY_VF_CID@GOTPAGE
Lloh9:
	ldr	x11, [x11, _QED_QCID_LEGACY_VF_CID@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
Lloh11:
	ldr	w11, [x11]
	tst	w10, w9
	csel	w9, w11, wzr, eq
	orr	w0, w9, w8
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HSI_VER_NO_PKT_LEN_TUNN,8,3 ; @ETH_HSI_VER_NO_PKT_LEN_TUNN
	.comm	_QED_QCID_LEGACY_VF_RX_PROD,4,2 ; @QED_QCID_LEGACY_VF_RX_PROD
	.comm	_VFPF_ACQUIRE_CAP_QUEUE_QIDS,4,2 ; @VFPF_ACQUIRE_CAP_QUEUE_QIDS
	.comm	_QED_QCID_LEGACY_VF_CID,4,2     ; @QED_QCID_LEGACY_VF_CID
	.no_dead_strip	_qed_vf_calculate_legacy
.subsections_via_symbols
