	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LinkPaFree                     ## -- Begin function LinkPaFree
	.p2align	4, 0x90
_LinkPaFree:                            ## @LinkPaFree
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
## %bb.2:
	movl	24(%rbx), %edi
	xorl	%esi, %esi
	subl	16(%rbx), %esi
	callq	_CedarAddQueueBudget
	movq	$0, 16(%rbx)
	movl	12(%rbx), %edi
	callq	_StopSession
	movl	12(%rbx), %edi
	callq	_ReleaseSession
	movl	8(%rbx), %edi
	callq	_LockQueue
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %edi
	callq	_GetNext
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_FreeBlock
	jmp	LBB0_4
LBB0_5:
	movl	8(%rbx), %edi
	callq	_UnlockQueue
	movl	8(%rbx), %edi
	callq	_ReleaseQueue
	movq	$0, (%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LinkPaFree                     ; -- Begin function LinkPaFree
	.p2align	2
_LinkPaFree:                            ; @LinkPaFree
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cbz	x0, LBB0_6
; %bb.1:
	ldr	x8, [x0]
	ldr	x19, [x8]
	cbz	x19, LBB0_6
; %bb.2:
	ldr	w0, [x19, #24]
	ldr	w8, [x19, #16]
	neg	w1, w8
	bl	_CedarAddQueueBudget
	str	xzr, [x19, #16]
	ldr	w0, [x19, #12]
	bl	_StopSession
	ldr	w0, [x19, #12]
	bl	_ReleaseSession
	ldr	w0, [x19, #8]
	bl	_LockQueue
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #8]
	bl	_GetNext
	cbz	x0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_FreeBlock
	b	LBB0_3
LBB0_5:
	ldr	w0, [x19, #8]
	bl	_UnlockQueue
	ldr	w0, [x19, #8]
	bl	_ReleaseQueue
	str	xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
