	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_get_num_funcs
_qed_get_num_funcs:                     ## @qed_get_num_funcs
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	24(%rdi), %rbx
	movq	32(%rdi), %r12
	movq	%r12, %rdi
	callq	_QED_IS_AH
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_MAX_NUM_PFS_K2@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_MAX_NUM_PFS_BB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_MISCS_REG_FUNCTION_HIDE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_qed_rd
	movl	%eax, %r15d
	testb	$1, %r15b
	jne	LBB0_2
## %bb.1:
	cmpq	$0, -56(%rbp)                   ## 8-byte Folded Reload
	cmoveq	-48(%rbp), %r13                 ## 8-byte Folded Reload
	movl	(%r14), %r8d
	jmp	LBB0_14
LBB0_2:
	movq	%r12, %rdi
	callq	_QED_IS_BB
	movl	$1, %r13d
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	callq	_QED_PATH_ID
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpl	$1, (%r12)
	jne	LBB0_7
## %bb.6:
	movl	$43690, %eax                    ## imm = 0xAAAA
	xorl	%r13d, %r13d
	jmp	LBB0_8
LBB0_7:
	movl	$21844, %eax                    ## imm = 0x5554
	jmp	LBB0_8
LBB0_3:
	movl	$65534, %eax                    ## imm = 0xFFFE
LBB0_8:
	movl	%r15d, %ecx
	notl	%ecx
	andl	%eax, %ecx
	je	LBB0_11
## %bb.9:
	movl	%ecx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %esi
	andl	$1, %esi
	addq	%rsi, %r13
	shrl	%edx
	cmpl	$1, %ecx
	movl	%edx, %ecx
	ja	LBB0_10
LBB0_11:
	movl	(%r14), %r8d
	movl	$-1, %edx
	movl	%r8d, %ecx
	shll	%cl, %edx
	notl	%edx
	andl	%r15d, %eax
	andl	%edx, %eax
	je	LBB0_14
## %bb.12:
	movl	%eax, %ecx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	andl	$1, %edx
	negl	%edx
	movslq	%edx, %rdx
	addq	%rdx, %rbx
	shrl	%ecx
	cmpl	$1, %eax
	movl	%ecx, %eax
	ja	LBB0_13
LBB0_14:
	movq	%r13, 8(%r14)
	movq	%rbx, 16(%r14)
	movq	_NETIF_MSG_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	24(%r14), %rcx
	movq	%r13, (%rsp)
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %r9
	callq	_DP_VERBOSE
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_NUM_PFS_K2,8,3             ## @MAX_NUM_PFS_K2
	.comm	_MAX_NUM_PFS_BB,8,3             ## @MAX_NUM_PFS_BB
	.comm	_MISCS_REG_FUNCTION_HIDE,4,2    ## @MISCS_REG_FUNCTION_HIDE
	.comm	_NETIF_MSG_PROBE,4,2            ## @NETIF_MSG_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PF [rel_id %d, abs_id %d] occupies index %d within the %d enabled functions on the engine\n"

	.no_dead_strip	_qed_get_num_funcs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_get_num_funcs
_qed_get_num_funcs:                     ; @qed_get_num_funcs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x20, x0
	ldp	x19, x22, [x0, #24]
	mov	x0, x22
	bl	_QED_IS_AH
	mov	x23, x0
Lloh0:
	adrp	x8, _MAX_NUM_PFS_K2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_NUM_PFS_K2@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x8, _MAX_NUM_PFS_BB@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NUM_PFS_BB@GOTPAGEOFF]
Lloh5:
	ldr	x25, [x8]
Lloh6:
	adrp	x8, _MISCS_REG_FUNCTION_HIDE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MISCS_REG_FUNCTION_HIDE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x21
	bl	_qed_rd
	tbnz	w0, #0, LBB0_2
; %bb.1:
	cmp	x23, #0
	csel	x6, x25, x24, eq
	ldr	w4, [x20]
	b	LBB0_12
LBB0_2:
	mov	x21, x0
	mov	x0, x22
	bl	_QED_IS_BB
	cbz	x0, LBB0_7
; %bb.3:
	mov	x0, x20
	bl	_QED_PATH_ID
	cbz	x0, LBB0_6
; %bb.4:
	ldr	w8, [x22]
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.5:
	mov	x6, #0
	mov	w8, #43690
	bics	w9, w8, w21
	b.ne	LBB0_9
	b	LBB0_10
LBB0_6:
	mov	w8, #21844
	b	LBB0_8
LBB0_7:
	mov	w8, #65534
LBB0_8:
	mov	w6, #1
	bics	w9, w8, w21
	b.eq	LBB0_10
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	and	w10, w9, #0x1
	add	x6, x6, x10
	lsr	w10, w9, #1
	cmp	w9, #1
	mov	x9, x10
	b.hi	LBB0_9
LBB0_10:
	ldr	w4, [x20]
	mov	w9, #-1
	lsl	w9, w9, w4
	and	w8, w8, w21
	bics	w8, w8, w9
	b.eq	LBB0_12
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	and	w9, w8, #0x1
	neg	w9, w9
	add	x19, x19, w9, sxtw
	lsr	w9, w8, #1
	cmp	w8, #1
	mov	x8, x9
	b.hi	LBB0_11
LBB0_12:
Lloh9:
	adrp	x8, _NETIF_MSG_PROBE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NETIF_MSG_PROBE@GOTPAGEOFF]
	stp	x6, x19, [x20, #8]
Lloh11:
	ldr	w1, [x8]
	ldr	x3, [x20, #24]
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
                                        ; kill: def $w4 killed $w4 killed $x4
	mov	x5, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_DP_VERBOSE
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_NUM_PFS_K2,8,3             ; @MAX_NUM_PFS_K2
	.comm	_MAX_NUM_PFS_BB,8,3             ; @MAX_NUM_PFS_BB
	.comm	_MISCS_REG_FUNCTION_HIDE,4,2    ; @MISCS_REG_FUNCTION_HIDE
	.comm	_NETIF_MSG_PROBE,4,2            ; @NETIF_MSG_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PF [rel_id %d, abs_id %d] occupies index %d within the %d enabled functions on the engine\n"

	.no_dead_strip	_qed_get_num_funcs
.subsections_via_symbols
