	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__qed_cxt_release_cid           ## -- Begin function _qed_cxt_release_cid
	.p2align	4, 0x90
__qed_cxt_release_cid:                  ## @_qed_cxt_release_cid
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	$0, -48(%rbp)
	movq	_QED_CXT_PF_CID@GOTPCREL(%rip), %rax
	cmpl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_MAX_NUM_VFS@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jge	LBB0_2
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DP_NOTICE                      ## TAILCALL
LBB0_2:
	leaq	-36(%rbp), %rcx
	leaq	-48(%rbp), %r8
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_qed_cxt_test_cid_acquired
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax
	movq	%r14, %r12
	subq	8(%rax), %r12
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_clear_bit
	movq	_QED_MSG_CXT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-36(%rbp), %eax
	movl	%eax, (%rsp)
	leaq	L_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rcx
	movq	%r12, %r8
	movl	%ebx, %r9d
	callq	_DP_VERBOSE
LBB0_4:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QED_CXT_PF_CID,4,2             ## @QED_CXT_PF_CID
	.comm	_MAX_NUM_VFS,4,2                ## @MAX_NUM_VFS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Trying to return incorrect CID belonging to VF %02x\n"

	.comm	_QED_MSG_CXT,4,2                ## @QED_MSG_CXT
L_.str.1:                               ## @.str.1
	.asciz	"Released CID 0x%08x [rel. %08x] vfid %02x type %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__qed_cxt_release_cid           ; -- Begin function _qed_cxt_release_cid
	.p2align	2
__qed_cxt_release_cid:                  ; @_qed_cxt_release_cid
	.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	x19, x2
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x8, _QED_CXT_PF_CID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QED_CXT_PF_CID@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MAX_NUM_VFS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MAX_NUM_VFS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, w2
	ccmp	w9, w2, #0, ne
	b.lt	LBB0_4
; %bb.1:
	mov	x20, x1
	add	x3, sp, #4
	add	x4, sp, #8
	mov	x0, x21
	mov	x2, x19
	bl	_qed_cxt_test_cid_acquired
	cbz	w0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x9, [x8, #8]
	sub	x22, x20, x9
	ldr	w1, [x8]
	mov	x0, x22
	bl	_clear_bit
Lloh6:
	adrp	x8, _QED_MSG_CXT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QED_MSG_CXT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	ldr	w6, [sp, #4]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	x3, x20
	mov	x4, x22
	mov	x5, x19
	bl	_DP_VERBOSE
LBB0_3:
	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
LBB0_4:
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	mov	x2, x19
	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
	b	_DP_NOTICE
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_QED_CXT_PF_CID,4,2             ; @QED_CXT_PF_CID
	.comm	_MAX_NUM_VFS,4,2                ; @MAX_NUM_VFS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Trying to return incorrect CID belonging to VF %02x\n"

	.comm	_QED_MSG_CXT,4,2                ; @QED_MSG_CXT
l_.str.1:                               ; @.str.1
	.asciz	"Released CID 0x%08x [rel. %08x] vfid %02x type %d\n"

.subsections_via_symbols
