	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AllocLocalEntity            ## -- Begin function CG_AllocLocalEntity
	.p2align	4, 0x90
_CG_AllocLocalEntity:                   ## @CG_AllocLocalEntity
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_cg_freeLocalEntities@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	movq	_cg_activeLocalEntities@GOTPCREL(%rip), %rax
	movq	8(%rax), %rdi
	callq	_CG_FreeLocalEntity
	movq	(%r14), %rbx
LBB0_2:
	movq	(%rbx), %rax
	movq	%rax, (%r14)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_cg_activeLocalEntities@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rax, 8(%rbx)
	movq	(%rax), %rcx
	movq	%rbx, 8(%rcx)
	movq	%rbx, (%rax)
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cg_freeLocalEntities,8,3       ## @cg_freeLocalEntities
	.comm	_cg_activeLocalEntities,16,3    ## @cg_activeLocalEntities
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CG_AllocLocalEntity            ; -- Begin function CG_AllocLocalEntity
	.p2align	2
_CG_AllocLocalEntity:                   ; @CG_AllocLocalEntity
	.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
Lloh0:
	adrp	x21, _cg_freeLocalEntities@GOTPAGE
Lloh1:
	ldr	x21, [x21, _cg_freeLocalEntities@GOTPAGEOFF]
	ldr	x19, [x21]
Lloh2:
	adrp	x20, _cg_activeLocalEntities@GOTPAGE
Lloh3:
	ldr	x20, [x20, _cg_activeLocalEntities@GOTPAGEOFF]
	cbnz	x19, LBB0_2
; %bb.1:
	ldr	x0, [x20, #8]
	bl	_CG_FreeLocalEntity
	ldr	x19, [x21]
LBB0_2:
	ldr	x8, [x19]
	str	x8, [x21]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	ldr	x8, [x20]
	stp	x8, x20, [x19]
	ldr	x8, [x20]
	str	x19, [x8, #8]
	str	x19, [x20]
	mov	x0, x19
	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
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_cg_freeLocalEntities,8,3       ; @cg_freeLocalEntities
	.comm	_cg_activeLocalEntities,16,3    ; @cg_activeLocalEntities
.subsections_via_symbols
