	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CcpLayerDown
_CcpLayerDown:                          ## @CcpLayerDown
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	callq	_fsm2ccp
	movq	%rax, %r15
	movq	_LogCCP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movq	48(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_algorithm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	40(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	callq	*8(%rax)
	movq	$0, 48(%r15)
	movq	$-1, 40(%r15)
LBB0_2:
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	movq	_algorithm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rax
	callq	*(%rax)
	movq	$0, 16(%r15)
	movq	$-1, (%r15)
LBB0_4:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r15)
	movq	8(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdi), %rbx
	callq	_free
	movq	%rbx, 8(%r15)
	movq	%rbx, %rdi
	testq	%rbx, %rbx
	jne	LBB0_5
LBB0_6:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ccp_Setup                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LogCCP,4,2                     ## @LogCCP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: LayerDown.\n"

	.comm	_algorithm,8,3                  ## @algorithm
	.no_dead_strip	_CcpLayerDown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CcpLayerDown
_CcpLayerDown:                          ; @CcpLayerDown
	.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
	mov	x20, x0
	bl	_fsm2ccp
	mov	x19, x0
Lloh0:
	adrp	x8, _LogCCP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogCCP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x8, [x20]
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	ldr	x0, [x19, #48]
Lloh5:
	adrp	x20, _algorithm@GOTPAGE
Lloh6:
	ldr	x20, [x20, _algorithm@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	ldr	x9, [x19, #40]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8, #8]
	blr	x8
	mov	x8, #-1
	stp	x8, xzr, [x19, #40]
LBB0_2:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	x9, [x19]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x8, [x8]
	blr	x8
	str	xzr, [x19, #16]
	mov	x8, #-1
	str	x8, [x19]
LBB0_4:
	stp	xzr, xzr, [x19, #24]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x0]
	bl	_free
	str	x20, [x19, #8]
	mov	x0, x20
	cbnz	x20, LBB0_5
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ccp_Setup
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LogCCP,4,2                     ; @LogCCP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: LayerDown.\n"

	.comm	_algorithm,8,3                  ; @algorithm
	.no_dead_strip	_CcpLayerDown
.subsections_via_symbols
