	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ccl2ecl                        ## -- Begin function ccl2ecl
	.p2align	4, 0x90
_ccl2ecl:                               ## @ccl2ecl
	.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	%rbx
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_lastccl@GOTPCREL(%rip), %r8
	cmpl	$0, (%r8)
	jle	LBB0_9
## %bb.1:
	movq	_cclmap@GOTPCREL(%rip), %rax
	movq	(%rax), %r9
	movq	_ccllen@GOTPCREL(%rip), %rax
	movq	(%rax), %r11
	movq	_ccltbl@GOTPCREL(%rip), %rax
	movq	(%rax), %r10
	movq	_ecgroup@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	$1, %eax
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%edx, %edx
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, (%r11,%rax,4)
	leaq	1(%rax), %rcx
	movslq	(%r8), %rdx
	cmpq	%rdx, %rax
	movq	%rcx, %rax
	jge	LBB0_9
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	movl	(%r11,%rax,4), %ecx
	testl	%ecx, %ecx
	jle	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r9,%rax,4), %r14
	leaq	(%r10,%r14,4), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=2
	incq	%rbx
	movslq	%ecx, %rdi
	cmpq	%rdi, %rbx
	jge	LBB0_8
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movslq	(%rsi,%rbx,4), %rdi
	movl	(%r15,%rdi,4), %edi
	testl	%edi, %edi
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=2
	leal	(%rdx,%r14), %ecx
	movslq	%ecx, %rcx
	movl	%edi, (%r10,%rcx,4)
	incl	%edx
	movl	(%r11,%rax,4), %ecx
	jmp	LBB0_7
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_lastccl,4,2                    ## @lastccl
	.comm	_cclmap,8,3                     ## @cclmap
	.comm	_ccllen,8,3                     ## @ccllen
	.comm	_ccltbl,8,3                     ## @ccltbl
	.comm	_ecgroup,8,3                    ## @ecgroup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ccl2ecl                        ; -- Begin function ccl2ecl
	.p2align	2
_ccl2ecl:                               ; @ccl2ecl
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _lastccl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lastccl@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_9
; %bb.1:
Lloh2:
	adrp	x9, _cclmap@GOTPAGE
Lloh3:
	ldr	x9, [x9, _cclmap@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
Lloh5:
	adrp	x10, _ccllen@GOTPAGE
Lloh6:
	ldr	x10, [x10, _ccllen@GOTPAGEOFF]
Lloh7:
	adrp	x11, _ccltbl@GOTPAGE
Lloh8:
	ldr	x11, [x11, _ccltbl@GOTPAGEOFF]
Lloh9:
	ldr	x10, [x10]
Lloh10:
	ldr	x11, [x11]
Lloh11:
	adrp	x12, _ecgroup@GOTPAGE
Lloh12:
	ldr	x12, [x12, _ecgroup@GOTPAGEOFF]
Lloh13:
	ldr	x12, [x12]
	mov	w13, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w14, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	w14, [x10, x13, lsl #2]
	add	x14, x13, #1
	ldrsw	x15, [x8]
	cmp	x13, x15
	mov	x13, x14
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	lsl	x16, x13, #2
	ldr	w0, [x10, x16]
	cmp	w0, #1
	b.lt	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x15, #0
	mov	w14, #0
	ldrsw	x16, [x9, x16]
	add	x17, x11, x16, lsl #2
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x15, x15, #1
	cmp	x15, w0, sxtw
	b.ge	LBB0_3
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsw	x1, [x17, x15, lsl #2]
	ldr	w1, [x12, x1, lsl #2]
	cmp	w1, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	add	w0, w14, w16
	str	w1, [x11, w0, sxtw #2]
	add	w14, w14, #1
	ldr	w0, [x10, x13, lsl #2]
	b	LBB0_6
LBB0_9:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh9
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_lastccl,4,2                    ; @lastccl
	.comm	_cclmap,8,3                     ; @cclmap
	.comm	_ccllen,8,3                     ; @ccllen
	.comm	_ccltbl,8,3                     ; @ccltbl
	.comm	_ecgroup,8,3                    ; @ecgroup
.subsections_via_symbols
