	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_plci
_get_plci:                              ## @get_plci
	.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	_dump_plcis
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	8(%r14), %rcx
	addq	$24, %rcx
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%rcx)
	je	LBB0_2
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incq	%rbx
	addq	$368, %rcx                      ## imm = 0x170
	cmpq	%rbx, %rax
	jne	LBB0_8
	jmp	LBB0_10
LBB0_1:
	xorl	%ebx, %ebx
LBB0_2:
	cmpq	%rax, %rbx
	jne	LBB0_3
LBB0_10:
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_dprintf
	jmp	LBB0_11
LBB0_3:
	movq	8(%r14), %r15
	imulq	$368, %rbx, %r13                ## imm = 0x170
	leaq	(%r15,%r13), %r14
	incq	%rbx
	leaq	(%r15,%r13), %r12
	addq	$24, %r12
	movq	%rbx, 24(%r15,%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 320(%r15,%r13)
	movups	%xmm0, 336(%r15,%r13)
	movups	%xmm0, 352(%r15,%r13)
	movq	_IDLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 312(%r15,%r13)
	movq	(%rax), %rax
	movq	%rax, 304(%r15,%r13)
	movups	%xmm0, 248(%r15,%r13)
	movups	%xmm0, 264(%r15,%r13)
	movups	%xmm0, 280(%r15,%r13)
	movq	$0, 296(%r15,%r13)
	movq	%r14, %rdi
	callq	_init_internal_command_queue
	xorps	%xmm0, %xmm0
	movups	%xmm0, 216(%r15,%r13)
	movups	%xmm0, 232(%r15,%r13)
	movq	_MSG_IN_QUEUE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, 208(%r15,%r13)
	movq	(%rax), %rcx
	movq	%rcx, 200(%r15,%r13)
	movq	(%rax), %rax
	movq	%rax, 192(%r15,%r13)
	movq	$0, (%r15,%r13)
	movups	%xmm0, 176(%r15,%r13)
	movups	%xmm0, 160(%r15,%r13)
	movups	%xmm0, 144(%r15,%r13)
	xorps	%xmm0, %xmm0
	movq	_CALL_DIR_OUT@GOTPCREL(%rip), %rax
	movq	_CALL_DIR_ORIGINATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, 8(%r15,%r13)
	movl	$0, 12(%r15,%r13)
	movups	%xmm0, 112(%r15,%r13)
	movups	%xmm0, 128(%r15,%r13)
	movq	_MAX_CHANNELS_PER_PLCI@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	movq	104(%r15,%r13), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	$0, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	(%rax), %rdx
	jb	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_clear_c_ind_mask
	movq	%r14, %rdi
	callq	_set_group_ind_mask
	movl	$0, 16(%r15,%r13)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 88(%r15,%r13)
	movq	80(%r15,%r13), %rax
	movq	$0, (%rax)
	movups	%xmm0, 64(%r15,%r13)
	movups	%xmm0, 48(%r15,%r13)
	movups	%xmm0, 32(%r15,%r13)
	movq	%r14, %rdi
	callq	_init_b1_config
	movq	(%r12), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_dprintf
LBB0_11:
	movl	$1, %edi
	movl	%eax, %esi
	callq	_dbug
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"get_plci: out of PLCIs"

	.comm	_IDLE,8,3                       ## @IDLE
	.comm	_MSG_IN_QUEUE_SIZE,8,3          ## @MSG_IN_QUEUE_SIZE
	.comm	_CALL_DIR_OUT,4,2               ## @CALL_DIR_OUT
	.comm	_CALL_DIR_ORIGINATE,4,2         ## @CALL_DIR_ORIGINATE
	.comm	_MAX_CHANNELS_PER_PLCI,8,3      ## @MAX_CHANNELS_PER_PLCI
L_.str.1:                               ## @.str.1
	.asciz	"get_plci(%x)"

	.no_dead_strip	_get_plci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_plci
_get_plci:                              ; @get_plci
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x0
	bl	_dump_plcis
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.1:
	mov	x21, #0
	ldr	x9, [x19, #8]
	add	x9, x9, #24
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	cbz	x10, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x21, x21, #1
	add	x9, x9, #368
	cmp	x8, x21
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	x21, #0
LBB0_5:
	cmp	x21, x8
	b.ne	LBB0_7
LBB0_6:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_dprintf
	mov	x1, x0
	mov	x19, #0
	b	LBB0_11
LBB0_7:
	ldr	x23, [x19, #8]
	mov	w8, #368
	madd	x20, x21, x8, x23
	add	x19, x21, #1
	mov	x22, x20
	str	x19, [x22, #24]!
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x20, #320]
	str	q0, [x20, #352]
Lloh2:
	adrp	x8, _IDLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IDLE@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x20, #312]
	ldr	x8, [x8]
	str	x8, [x20, #304]
	mov	x8, x20
	str	q0, [x8, #248]!
	str	xzr, [x8, #48]
	stp	q0, q0, [x8, #16]
	mov	x0, x20
	bl	_init_internal_command_queue
	movi.2d	v0, #0000000000000000
	stur	q0, [x20, #232]
	stur	q0, [x20, #216]
Lloh4:
	adrp	x8, _MSG_IN_QUEUE_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MSG_IN_QUEUE_SIZE@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x20, #208]
	ldr	x9, [x8]
	str	x9, [x20, #200]
	ldr	x8, [x8]
	str	x8, [x20, #192]
	str	xzr, [x20]
	stp	q0, q0, [x20, #160]
	str	q0, [x20, #144]
	movi.2d	v0, #0000000000000000
Lloh6:
	adrp	x8, _CALL_DIR_OUT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CALL_DIR_OUT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _CALL_DIR_ORIGINATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CALL_DIR_ORIGINATE@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	stp	w8, wzr, [x20, #8]
	stp	q0, q0, [x20, #112]
Lloh12:
	adrp	x8, _MAX_CHANNELS_PER_PLCI@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MAX_CHANNELS_PER_PLCI@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_10
; %bb.8:
	mov	x9, #0
	mov	w10, #368
	madd	x10, x21, x10, x23
	ldr	x10, [x10, #104]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	xzr, [x10, x9, lsl #3]
	add	x9, x9, #1
	ldr	x11, [x8]
	cmp	x9, x11
	b.lo	LBB0_9
LBB0_10:
	mov	x0, x20
	bl	_clear_c_ind_mask
	mov	x0, x20
	bl	_set_group_ind_mask
	mov	w8, #368
	madd	x8, x21, x8, x23
	str	wzr, [x8, #16]
	stp	xzr, xzr, [x8, #88]
	ldr	x9, [x8, #80]
	str	xzr, [x9]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [x8, #32]
	str	q0, [x8, #64]
	mov	x0, x20
	bl	_init_b1_config
	ldr	x8, [x22]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintf
	mov	x1, x0
LBB0_11:
	mov	w0, #1
	bl	_dbug
	mov	x0, 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
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"get_plci: out of PLCIs"

	.comm	_IDLE,8,3                       ; @IDLE
	.comm	_MSG_IN_QUEUE_SIZE,8,3          ; @MSG_IN_QUEUE_SIZE
	.comm	_CALL_DIR_OUT,4,2               ; @CALL_DIR_OUT
	.comm	_CALL_DIR_ORIGINATE,4,2         ; @CALL_DIR_ORIGINATE
	.comm	_MAX_CHANNELS_PER_PLCI,8,3      ; @MAX_CHANNELS_PER_PLCI
l_.str.1:                               ; @.str.1
	.asciz	"get_plci(%x)"

	.no_dead_strip	_get_plci
.subsections_via_symbols
