	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_interact                       ## -- Begin function interact
	.p2align	4, 0x90
_interact:                              ## @interact
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%eax, %eax
	callq	_interp_init
	movl	$10, %edi
	callq	_putchar
	xorl	%eax, %eax
	callq	_autoboot_maybe
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.2(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edx
	callq	_setenv
LBB0_2:
	leaq	L_.str.4(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.4(%rip), %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edx
	callq	_setenv
LBB0_4:
	leaq	_interact.input(%rip), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movb	$0, _interact.input(%rip)
	xorl	%eax, %eax
	callq	_interp_emit_prompt
	movq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_ngets
	movq	%rbx, %rdi
	callq	_interp_run
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_interact.input,256,4 ## @interact.input
	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"prompt"

L_.str.3:                               ## @.str.3
	.asciz	"${interpret}"

L_.str.4:                               ## @.str.4
	.asciz	"interpret"

L_.str.5:                               ## @.str.5
	.asciz	"OK"

L_str:                                  ## @str
	.asciz	"\nType '?' for a list of commands, 'help' for more detailed help."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_interact                       ; -- Begin function interact
	.p2align	2
_interact:                              ; @interact
	.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
	bl	_interp_init
	mov	w0, #10
	bl	_putchar
	bl	_autoboot_maybe
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x0, l_.str.2@PAGE
Lloh3:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #1
	bl	_setenv
LBB0_2:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #1
	bl	_setenv
LBB0_4:
Lloh14:
	adrp	x19, _interact.input@PAGE
Lloh15:
	add	x19, x19, _interact.input@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	strb	wzr, [x19]
	bl	_interp_emit_prompt
	mov	x0, x19
	mov	w1, #256
	bl	_ngets
	mov	x0, x19
	bl	_interp_run
	b	LBB0_5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_interact.input,256,0 ; @interact.input
	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"prompt"

l_.str.3:                               ; @.str.3
	.asciz	"${interpret}"

l_.str.4:                               ; @.str.4
	.asciz	"interpret"

l_.str.5:                               ; @.str.5
	.asciz	"OK"

l_str:                                  ; @str
	.asciz	"\nType '?' for a list of commands, 'help' for more detailed help."

.subsections_via_symbols
