	.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_pqs
_qed_init_qm_get_num_pqs:               ## @qed_init_qm_get_num_pqs
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_qed_get_pq_flags
	movl	%eax, %r15d
	movq	_PQ_FLAGS_RLS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_pf_rls
	movl	%eax, %r12d
	testl	%ebx, %ebx
	cmovel	%ebx, %r12d
	movq	_PQ_FLAGS_MCOS@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%r15d, %r13d
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_tcs
	movl	%eax, %ebx
	testl	%r13d, %r13d
	cmovel	%r13d, %ebx
	addl	%r12d, %ebx
	movq	_PQ_FLAGS_LB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebx
	movq	_PQ_FLAGS_OOO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebx
	movq	_PQ_FLAGS_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%r15d, %eax
	cmpl	$1, %eax
	sbbl	$-1, %ebx
	movq	_PQ_FLAGS_OFLD@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	andl	%r15d, %r13d
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_mtc_tcs
	movl	%eax, %r12d
	testl	%r13d, %r13d
	cmovel	%r13d, %r12d
	addl	%ebx, %r12d
	movq	_PQ_FLAGS_LLT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	andl	%r15d, %ebx
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_mtc_tcs
	movl	%eax, %r13d
	testl	%ebx, %ebx
	cmovel	%ebx, %r13d
	addl	%r12d, %r13d
	movq	_PQ_FLAGS_VFS@GOTPCREL(%rip), %rax
	andl	(%rax), %r15d
	movq	%r14, %rdi
	callq	_qed_init_qm_get_num_vfs
	testl	%r15d, %r15d
	cmovel	%r15d, %eax
	addl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PQ_FLAGS_RLS,4,2               ## @PQ_FLAGS_RLS
	.comm	_PQ_FLAGS_MCOS,4,2              ## @PQ_FLAGS_MCOS
	.comm	_PQ_FLAGS_LB,4,2                ## @PQ_FLAGS_LB
	.comm	_PQ_FLAGS_OOO,4,2               ## @PQ_FLAGS_OOO
	.comm	_PQ_FLAGS_ACK,4,2               ## @PQ_FLAGS_ACK
	.comm	_PQ_FLAGS_OFLD,4,2              ## @PQ_FLAGS_OFLD
	.comm	_PQ_FLAGS_LLT,4,2               ## @PQ_FLAGS_LLT
	.comm	_PQ_FLAGS_VFS,4,2               ## @PQ_FLAGS_VFS
	.no_dead_strip	_qed_init_qm_get_num_pqs
.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_pqs
_qed_init_qm_get_num_pqs:               ; @qed_init_qm_get_num_pqs
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	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	w21, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_pf_rls
	tst	w21, w20
	csel	w21, wzr, w0, eq
Lloh3:
	adrp	x8, _PQ_FLAGS_MCOS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PQ_FLAGS_MCOS@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_tcs
	tst	w22, w20
	csel	w8, wzr, w0, eq
	add	w8, w8, w21
Lloh6:
	adrp	x9, _PQ_FLAGS_LB@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PQ_FLAGS_LB@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	tst	w9, w20
Lloh9:
	adrp	x9, _PQ_FLAGS_OOO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PQ_FLAGS_OOO@GOTPAGEOFF]
	cinc	w8, w8, ne
Lloh11:
	ldr	w9, [x9]
	tst	w9, w20
	cinc	w8, w8, ne
Lloh12:
	adrp	x9, _PQ_FLAGS_ACK@GOTPAGE
Lloh13:
	ldr	x9, [x9, _PQ_FLAGS_ACK@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	tst	w9, w20
	cinc	w21, w8, ne
Lloh15:
	adrp	x8, _PQ_FLAGS_OFLD@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PQ_FLAGS_OFLD@GOTPAGEOFF]
Lloh17:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_mtc_tcs
	tst	w22, w20
	csel	w8, wzr, w0, eq
	add	w21, w21, w8
Lloh18:
	adrp	x8, _PQ_FLAGS_LLT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PQ_FLAGS_LLT@GOTPAGEOFF]
Lloh20:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_mtc_tcs
	tst	w22, w20
	csel	w8, wzr, w0, eq
	add	w21, w21, w8
Lloh21:
	adrp	x8, _PQ_FLAGS_VFS@GOTPAGE
Lloh22:
	ldr	x8, [x8, _PQ_FLAGS_VFS@GOTPAGEOFF]
Lloh23:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_qed_init_qm_get_num_vfs
	tst	w22, w20
	csel	w8, wzr, w0, eq
	add	w0, w21, w8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.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
	.cfi_endproc
                                        ; -- End function
	.comm	_PQ_FLAGS_RLS,4,2               ; @PQ_FLAGS_RLS
	.comm	_PQ_FLAGS_MCOS,4,2              ; @PQ_FLAGS_MCOS
	.comm	_PQ_FLAGS_LB,4,2                ; @PQ_FLAGS_LB
	.comm	_PQ_FLAGS_OOO,4,2               ; @PQ_FLAGS_OOO
	.comm	_PQ_FLAGS_ACK,4,2               ; @PQ_FLAGS_ACK
	.comm	_PQ_FLAGS_OFLD,4,2              ; @PQ_FLAGS_OFLD
	.comm	_PQ_FLAGS_LLT,4,2               ; @PQ_FLAGS_LLT
	.comm	_PQ_FLAGS_VFS,4,2               ; @PQ_FLAGS_VFS
	.no_dead_strip	_qed_init_qm_get_num_pqs
.subsections_via_symbols
