	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_feature_size           ## -- Begin function qed_dbg_feature_size
	.p2align	4, 0x90
_qed_dbg_feature_size:                  ## @qed_dbg_feature_size
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	(%rdi), %rbx
	shlq	$2, %rbx
	addq	16(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_qed_ptt_acquire
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	8(%r12), %r12
	movl	%r15d, %r15d
	movq	_qed_features_lookup@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	-36(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*(%rax,%r15,8)
	movq	_DBG_STATUS_OK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_4
## %bb.3:
	movl	$0, -36(%rbp)
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_qed_ptt_release
	movl	-36(%rbp), %eax
	shll	$2, %eax
	movl	%eax, (%r12,%r15,4)
	jmp	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_qed_features_lookup,8,3        ## @qed_features_lookup
	.comm	_DBG_STATUS_OK,4,2              ## @DBG_STATUS_OK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_dbg_feature_size           ; -- Begin function qed_dbg_feature_size
	.p2align	2
_qed_dbg_feature_size:                  ; @qed_dbg_feature_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x21, x1
	mov	x22, x0
	ldr	x8, [x0, #16]
	ldr	x9, [x0]
	add	x19, x8, x9, lsl #2
	mov	x0, x19
	bl	_qed_ptt_acquire
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	ldr	x22, [x22, #8]
	mov	w21, w21
Lloh0:
	adrp	x8, _qed_features_lookup@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qed_features_lookup@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, x21, lsl #3]
	add	x2, sp, #12
	mov	x0, x19
	mov	x1, x20
	blr	x8
Lloh3:
	adrp	x8, _DBG_STATUS_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_STATUS_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_3
; %bb.2:
	str	wzr, [sp, #12]
LBB0_3:
	mov	x0, x19
	mov	x1, x20
	bl	_qed_ptt_release
	ldr	w8, [sp, #12]
	lsl	w0, w8, #2
	str	w0, [x22, x21, lsl #2]
	b	LBB0_5
LBB0_4:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_qed_features_lookup,8,3        ; @qed_features_lookup
	.comm	_DBG_STATUS_OK,4,2              ; @DBG_STATUS_OK
.subsections_via_symbols
