	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ncp_Close                      ## -- Begin function ncp_Close
	.p2align	4, 0x90
_ncp_Close:                             ## @ncp_Close
	.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, %rbx
	movq	8(%rdi), %rdx
	movq	_ST_CLOSED@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_ST_STARTING@GOTPCREL(%rip), %r15
	cmpq	%rax, %rdx
	jg	LBB0_2
## %bb.1:
	movq	(%r15), %rcx
	cmpq	%rcx, %rdx
	jne	LBB0_3
LBB0_2:
	leaq	8(%rbx), %rdi
	callq	_fsm_Close
	movq	(%r14), %rax
	movq	(%r15), %rcx
LBB0_3:
	movq	(%rbx), %rdx
	cmpq	%rax, %rdx
	jg	LBB0_6
## %bb.4:
	cmpq	%rcx, %rdx
	je	LBB0_6
## %bb.5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_fsm_Close                      ## TAILCALL
	.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_Close                      ; -- Begin function ncp_Close
	.p2align	2
_ncp_Close:                             ; @ncp_Close
	.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
	mov	x19, x0
	ldr	x10, [x0, #8]!
Lloh0:
	adrp	x20, _ST_CLOSED@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ST_CLOSED@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _ST_STARTING@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ST_STARTING@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x10, x8
	ccmp	x10, x9, #4, le
	b.ne	LBB0_2
; %bb.1:
	bl	_fsm_Close
	ldr	x8, [x20]
	ldr	x9, [x21]
LBB0_2:
	ldr	x10, [x19]
	cmp	x10, x8
	ccmp	x10, x9, #4, le
	b.ne	LBB0_4
; %bb.3:
	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
	b	_fsm_Close
LBB0_4:
	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	_ST_CLOSED,8,3                  ; @ST_CLOSED
	.comm	_ST_STARTING,8,3                ; @ST_STARTING
.subsections_via_symbols
