	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncp_LayersUnfinished           ## -- Begin function ncp_LayersUnfinished
	.p2align	4, 0x90
_ncp_LayersUnfinished:                  ## @ncp_LayersUnfinished
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	8(%rdi), %rax
	movq	_ST_CLOSED@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rax
	setg	%sil
	movq	_ST_STARTING@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	cmpq	%rdi, %rax
	sete	%al
	orb	%sil, %al
	movzbl	%al, %eax
	leal	1(%rax), %esi
	cmpq	%rdi, %rcx
	cmovel	%esi, %eax
	cmpq	%rdx, %rcx
	cmovgl	%esi, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ST_CLOSED,8,3                  ## @ST_CLOSED
	.comm	_ST_STARTING,8,3                ## @ST_STARTING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncp_LayersUnfinished           ; -- Begin function ncp_LayersUnfinished
	.p2align	2
_ncp_LayersUnfinished:                  ; @ncp_LayersUnfinished
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ST_CLOSED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ST_CLOSED@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x10, x9, [x0]
	cmp	x9, x8
Lloh3:
	adrp	x11, _ST_STARTING@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ST_STARTING@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	ccmp	x9, x11, #4, le
	cset	w9, eq
	mov	w12, #1
	cinc	w12, w12, eq
	cmp	x10, x11
	ccmp	x10, x8, #0, ne
	csel	w0, w12, w9, gt
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ST_CLOSED,8,3                  ; @ST_CLOSED
	.comm	_ST_STARTING,8,3                ; @ST_STARTING
.subsections_via_symbols
