	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_init_qm_get_num_vports
_qed_init_qm_get_num_vports:            ## @qed_init_qm_get_num_vports
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_qed_get_pq_flags
	movl	%eax, %ebx
	movq	_PQ_FLAGS_RLS@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	%ebx, %r12d
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_pf_rls
	movl	%eax, %r15d
	movq	_PQ_FLAGS_VFS@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_vfs
	testl	%ebx, %ebx
	cmovel	%ebx, %eax
	incl	%r15d
	testl	%r12d, %r12d
	movl	$1, %ecx
	cmovnel	%r15d, %ecx
	addl	%ecx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PQ_FLAGS_RLS,4,2               ## @PQ_FLAGS_RLS
	.comm	_PQ_FLAGS_VFS,4,2               ## @PQ_FLAGS_VFS
	.no_dead_strip	_qed_init_qm_get_num_vports
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_init_qm_get_num_vports
_qed_init_qm_get_num_vports:            ; @qed_init_qm_get_num_vports
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_qed_get_pq_flags
	mov	x20, x0
Lloh0:
	adrp	x8, _PQ_FLAGS_RLS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PQ_FLAGS_RLS@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_pf_rls
	mov	x21, x0
Lloh3:
	adrp	x8, _PQ_FLAGS_VFS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PQ_FLAGS_VFS@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_vfs
	tst	w23, w20
	csel	w8, wzr, w0, eq
	tst	w22, w20
	mov	w9, #1
	csinc	w9, w9, w21, eq
	add	w0, w9, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PQ_FLAGS_RLS,4,2               ; @PQ_FLAGS_RLS
	.comm	_PQ_FLAGS_VFS,4,2               ; @PQ_FLAGS_VFS
	.no_dead_strip	_qed_init_qm_get_num_vports
.subsections_via_symbols
