	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_nlstate          ## -- Begin function dialog_prompt_nlstate
	.p2align	4, 0x90
_dialog_prompt_nlstate:                 ## @dialog_prompt_nlstate
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rdi, %rbx
	callq	_strlen
	cltq
	leaq	(%rbx,%rax), %rcx
	decq	%rcx
	cmpq	%rbx, %rcx
	jae	LBB0_2
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	addq	%rbx, %rax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, %dl
	je	LBB0_10
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rax
	decq	%rcx
	cmpq	%rbx, %rcx
	jb	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rax), %edx
	cmpb	$110, %dl
	jne	LBB0_4
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	addq	$-2, %rax
	cmpq	%rbx, %rax
	jbe	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$92, (%rax)
	movq	%rax, %rcx
	jne	LBB0_5
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rcx
	jmp	LBB0_5
LBB0_9:
	movl	$1, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dialog_prompt_nlstate          ; -- Begin function dialog_prompt_nlstate
	.p2align	2
_dialog_prompt_nlstate:                 ; @dialog_prompt_nlstate
	.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
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	bl	_strlen
	add	x9, x19, w0, sxtw
	sub	x8, x9, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #10
	b.eq	LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, x8
	sub	x8, x8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, x19
	b.lo	LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldurb	w10, [x9, #-1]
	cmp	w10, #110
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x9, #2
	cmp	x8, x19
	b.ls	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w9, [x8]
	cmp	w9, #92
	b.ne	LBB0_3
; %bb.8:
	mov	w0, #1
	b	LBB0_10
LBB0_9:
	mov	w0, #0
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
