	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CtEnumCa                       ## -- Begin function CtEnumCa
	.p2align	4, 0x90
_CtEnumCa:                              ## @CtEnumCa
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.1:
	movq	%rsi, %r15
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	%rdi, %r14
	movq	%r15, %rdi
	movl	$16, %esi
	callq	_Zero
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_LockList
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_LIST_NUM
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, (%r15)
	leal	(,%rax,8), %edi
	callq	_ZeroMalloc
	movq	%rax, 8(%r15)
	cmpl	$0, (%r15)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_LIST_DATA
	movq	%rax, %r12
	movl	$4, %edi
	callq	_ZeroMalloc
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	12(%rax), %edi
	movl	8(%r12), %edx
	movl	$4, %esi
	callq	_GetAllNameFromNameEx
	movq	8(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	movl	8(%rax), %edi
	movl	4(%r12), %edx
	movl	$4, %esi
	callq	_GetAllNameFromNameEx
	movl	(%r12), %eax
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, 4(%rcx)
	movq	%r12, %rdi
	callq	_POINTER_TO_KEY
	movq	8(%r15), %rcx
	movq	(%rcx,%rbx,8), %rcx
	movl	%eax, (%rcx)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jb	LBB0_4
LBB0_5:
	movq	(%r14), %rax
	movl	(%rax), %edi
	callq	_UnlockList
	movl	$1, %eax
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	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	_CtEnumCa                       ; -- Begin function CtEnumCa
	.p2align	2
_CtEnumCa:                              ; @CtEnumCa
	.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, x0
	mov	w0, #0
	cbz	x19, LBB0_6
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_6
; %bb.2:
	mov	x0, x20
	mov	w1, #16
	bl	_Zero
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_LockList
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_LIST_NUM
	str	w0, [x20]
	lsl	w0, w0, #3
	bl	_ZeroMalloc
	str	x0, [x20, #8]
	ldr	w8, [x20]
	cbz	w8, LBB0_5
; %bb.3:
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
	mov	x1, x21
	bl	_LIST_DATA
	mov	x22, x0
	mov	w0, #4
	bl	_ZeroMalloc
	ldr	x8, [x20, #8]
	lsl	x23, x21, #3
	str	x0, [x8, x23]
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x23]
	ldr	w0, [x8, #12]
	ldr	w2, [x22, #8]
	mov	w1, #4
	bl	_GetAllNameFromNameEx
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x23]
	ldr	w0, [x8, #8]
	ldr	w2, [x22, #4]
	mov	w1, #4
	bl	_GetAllNameFromNameEx
	ldr	w8, [x22]
	ldr	x9, [x20, #8]
	ldr	x9, [x9, x23]
	str	w8, [x9, #4]
	mov	x0, x22
	bl	_POINTER_TO_KEY
	ldr	x8, [x20, #8]
	ldr	x8, [x8, x23]
	str	w0, [x8]
	add	x21, x21, #1
	ldrsw	x8, [x20]
	cmp	x21, x8
	b.lo	LBB0_4
LBB0_5:
	ldr	x8, [x19]
	ldr	w0, [x8]
	bl	_UnlockList
	mov	w0, #1
LBB0_6:
	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
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
