	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prompt
_prompt:                                ## @prompt
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	__PATH_TTY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fopen
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_stderr@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
	movl	(%r14), %edi
	callq	_fflush
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_fgetln
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r14
	movq	_YESEXPR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nl_langinfo
	movq	_REG_BASIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-28(%rbp), %rdi
	movl	%eax, %esi
	callq	_regcomp
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	movq	%rbx, %rdi
	callq	_fclose
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_1:
	movl	$2, %eax
	jmp	LBB0_6
LBB0_5:
	movq	-40(%rbp), %rax
	movb	$0, -1(%rax,%r14)
	leaq	-28(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_regexec
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_fclose
	movq	%r15, %rdi
	callq	_regfree
	xorl	%eax, %eax
	testl	%r14d, %r14d
	sete	%al
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_TTY,4,2                  ## @_PATH_TTY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"?..."

	.comm	_YESEXPR,4,2                    ## @YESEXPR
	.comm	_REG_BASIC,4,2                  ## @REG_BASIC
	.no_dead_strip	_prompt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prompt
_prompt:                                ; @prompt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x8, __PATH_TTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_TTY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fopen
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x20, _stderr@GOTPAGE
Lloh6:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x20]
	bl	_fflush
	mov	x1, sp
	mov	x0, x19
	bl	_fgetln
	cbz	x0, LBB0_3
; %bb.2:
	mov	x20, x0
Lloh9:
	adrp	x8, _YESEXPR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _YESEXPR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_nl_langinfo
	mov	x1, x0
Lloh12:
	adrp	x8, _REG_BASIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_BASIC@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_regcomp
	cbz	x0, LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_fclose
	mov	w0, #0
	b	LBB0_6
LBB0_4:
	mov	w0, #2
	b	LBB0_6
LBB0_5:
	ldr	x8, [sp]
	add	x8, x8, x20
	sturb	wzr, [x8, #-1]
	add	x0, sp, #12
	mov	x1, x20
	mov	w2, #0
	mov	x3, #0
	mov	w4, #0
	bl	_regexec
	mov	x20, x0
	mov	x0, x19
	bl	_fclose
	add	x0, sp, #12
	bl	_regfree
	cmp	w20, #0
	cset	w0, eq
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_TTY,4,2                  ; @_PATH_TTY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"?..."

	.comm	_YESEXPR,4,2                    ; @YESEXPR
	.comm	_REG_BASIC,4,2                  ; @REG_BASIC
	.no_dead_strip	_prompt
.subsections_via_symbols
