	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function plci_free_msg_in_queue
_plci_free_msg_in_queue:                ## @plci_free_msg_in_queue
	.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
	cmpq	$0, 32(%rdi)
	je	LBB0_6
## %bb.1:
	movq	(%r14), %rbx
	movq	8(%r14), %rax
	cmpq	%rax, %rbx
	jne	LBB0_2
LBB0_6:
	movq	_MSG_IN_QUEUE_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r14)
	movq	%rax, (%r14)
	movq	%rax, 16(%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	24(%r14), %rcx
	xorl	%r15d, %r15d
	movq	__DATA_B3_R@GOTPCREL(%rip), %r12
	movq	_MSG_IN_OVERHEAD@GOTPCREL(%rip), %r13
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	8(%rcx,%rbx,4), %edx
	movl	(%r13), %esi
	addl	%esi, %edx
	addl	$3, %edx
	andl	$65532, %edx                    ## imm = 0xFFFC
	addq	%rdx, %rbx
	cmpq	%rax, %rbx
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	16(%r14), %rbx
	cmoveq	%r15, %rbx
	movq	(%rcx,%rbx,4), %rdx
	cmpq	(%r12), %rdx
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r14), %rdi
	movq	16(%rcx,%rbx,4), %rsi
	callq	_TransmitBufferFree
	movq	8(%r14), %rax
	movq	24(%r14), %rcx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	__DATA_B3_R,8,3                 ## @_DATA_B3_R
	.comm	_MSG_IN_OVERHEAD,4,2            ## @MSG_IN_OVERHEAD
	.comm	_MSG_IN_QUEUE_SIZE,8,3          ## @MSG_IN_QUEUE_SIZE
	.no_dead_strip	_plci_free_msg_in_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function plci_free_msg_in_queue
_plci_free_msg_in_queue:                ; @plci_free_msg_in_queue
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldr	x8, [x0, #32]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x10, x8, [x19]
	cmp	x10, x8
	b.ne	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _MSG_IN_QUEUE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_IN_QUEUE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stp	x8, x8, [x19]
	str	x8, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	ldr	x9, [x19, #24]
Lloh3:
	adrp	x20, __DATA_B3_R@GOTPAGE
Lloh4:
	ldr	x20, [x20, __DATA_B3_R@GOTPAGEOFF]
Lloh5:
	adrp	x21, _MSG_IN_OVERHEAD@GOTPAGE
Lloh6:
	ldr	x21, [x21, _MSG_IN_OVERHEAD@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x9, x22, lsl #2
	ldr	w10, [x10, #8]
	ldr	w11, [x21]
	add	w10, w10, w11
	add	w10, w10, #3
	and	w10, w10, #0xfffc
	add	x10, x22, x10
	cmp	x10, x8
	b.eq	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #16]
	cmp	x10, x11
	csel	x22, xzr, x10, eq
	add	x10, x9, x22, lsl #2
	ldr	x11, [x10]
	ldr	x12, [x20]
	cmp	x11, x12
	b.ne	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x19, #32]
	ldr	x1, [x10, #16]
	bl	_TransmitBufferFree
	ldr	x9, [x19, #24]
	ldr	x8, [x19, #8]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__DATA_B3_R,8,3                 ; @_DATA_B3_R
	.comm	_MSG_IN_OVERHEAD,4,2            ; @MSG_IN_OVERHEAD
	.comm	_MSG_IN_QUEUE_SIZE,8,3          ; @MSG_IN_QUEUE_SIZE
	.no_dead_strip	_plci_free_msg_in_queue
.subsections_via_symbols
