	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qed_cxt_test_cid_acquired
_qed_cxt_test_cid_acquired:             ## @qed_cxt_test_cid_acquired
	.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	%r8, %r14
	movq	%rcx, %r13
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	(%rdi), %r9
	movl	$0, (%rcx)
	movq	_MAX_CONN_TYPES@GOTPCREL(%rip), %r10
	movl	(%r10), %ecx
	leaq	L_.str(%rip), %rsi
	testl	%ecx, %ecx
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	movq	_QED_CXT_PF_CID@GOTPCREL(%rip), %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r13), %eax
	incl	%eax
	movl	%eax, (%r13)
	movl	(%r10), %ecx
	cmpl	%ecx, %eax
	jae	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, (%r8)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edx
	leaq	(%rdx,%rdx,2), %rbx
	shlq	$3, %rbx
	addq	8(%r9), %rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r9), %rdx
	movl	%eax, %eax
	leaq	(%r15,%r15,2), %rbx
	shlq	$3, %rbx
	addq	(%rdx,%rax,8), %rbx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rbx, (%r14)
	cmpl	$0, 16(%rbx)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rbx), %rdx
	cmpq	%r12, %rdx
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	8(%rbx), %rdx
	cmpq	%r12, %rdx
	jle	LBB0_10
## %bb.9:
	movl	(%r13), %eax
LBB0_11:
	movq	%r10, %rbx
	cmpl	%ecx, %eax
	je	LBB0_14
## %bb.12:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%r14), %rax
	movq	%r12, %rdi
	subq	(%rax), %rdi
	movl	16(%rax), %esi
	callq	_test_bit
	movl	%eax, %ecx
	movl	$1, %eax
	testl	%ecx, %ecx
	jne	LBB0_15
## %bb.13:
	leaq	L_.str.1(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	movq	%r10, %rbx
LBB0_14:
	movq	%r12, %rdx
	movq	%r15, %rcx
	callq	_DP_NOTICE
	movl	(%rbx), %eax
	movl	%eax, (%r13)
	movq	$0, (%r14)
	xorl	%eax, %eax
LBB0_15:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_CONN_TYPES,4,2             ## @MAX_CONN_TYPES
	.comm	_QED_CXT_PF_CID,8,3             ## @QED_CXT_PF_CID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid CID %d vfid %02x"

L_.str.1:                               ## @.str.1
	.asciz	"CID %d [vifd %02x] not acquired"

	.no_dead_strip	_qed_cxt_test_cid_acquired
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qed_cxt_test_cid_acquired
_qed_cxt_test_cid_acquired:             ; @qed_cxt_test_cid_acquired
	.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, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	ldr	x8, [x0]
	str	wzr, [x3]
Lloh0:
	adrp	x24, _MAX_CONN_TYPES@GOTPAGE
Lloh1:
	ldr	x24, [x24, _MAX_CONN_TYPES@GOTPAGEOFF]
	ldr	w9, [x24]
	cbz	w9, LBB0_11
; %bb.1:
	mov	w12, #0
Lloh2:
	adrp	x10, _QED_CXT_PF_CID@GOTPAGE
Lloh3:
	ldr	x10, [x10, _QED_CXT_PF_CID@GOTPAGEOFF]
	mov	w11, #24
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w9, [x20]
	add	w12, w9, #1
	str	w12, [x20]
	ldr	w9, [x24]
	cmp	w12, w9
	b.hs	LBB0_10
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x10]
	cmp	x13, x21
	b.ne	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x8, #8]
	umaddl	x12, w12, w11, x13
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x8]
	ldr	x12, [x13, w12, uxtw #3]
	madd	x12, x21, x11, x12
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	x12, [x19]
	ldr	w13, [x12, #16]
	cbz	w13, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x12]
	cmp	x13, x22
	b.gt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x12, [x12, #8]
	add	x12, x12, x13
	cmp	x12, x22
	b.le	LBB0_2
; %bb.9:
	ldr	w12, [x20]
LBB0_10:
	cmp	w12, w9
	b.ne	LBB0_13
LBB0_11:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
LBB0_12:
	mov	x0, x23
	mov	x2, x22
	mov	x3, x21
	bl	_DP_NOTICE
	mov	w0, #0
	ldr	w8, [x24]
	str	w8, [x20]
	str	xzr, [x19]
	b	LBB0_15
LBB0_13:
	ldr	x8, [x19]
	ldr	x9, [x8]
	sub	x0, x22, x9
	ldr	w1, [x8, #16]
	bl	_test_bit
	cbz	w0, LBB0_16
; %bb.14:
	mov	w0, #1
LBB0_15:
	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
LBB0_16:
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_12
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_CONN_TYPES,4,2             ; @MAX_CONN_TYPES
	.comm	_QED_CXT_PF_CID,8,3             ; @QED_CXT_PF_CID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid CID %d vfid %02x"

l_.str.1:                               ; @.str.1
	.asciz	"CID %d [vifd %02x] not acquired"

	.no_dead_strip	_qed_cxt_test_cid_acquired
.subsections_via_symbols
