	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_interp_emit_prompt             ## -- Begin function interp_emit_prompt
	.p2align	4, 0x90
_interp_emit_prompt:                    ## @interp_emit_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	leaq	L_.str.1(%rip), %rdi
	cmovneq	%rax, %rdi
	callq	_strdup
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %r15
	movq	%rax, %r12
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_13
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movsbl	%al, %edi
	callq	_putchar
	incq	%r12
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movb	(%r12), %al
	cmpb	$36, %al
	jne	LBB0_2
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$123, 1(%r12)
	jne	LBB0_3
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	addq	$2, %r12
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%rbx), %eax
	testb	%al, %al
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	cmpb	$125, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	incq	%rbx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movb	$0, (%rbx)
	movq	%r12, %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_printf
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %r12
	incq	%r12
	jmp	LBB0_1
LBB0_13:
	movl	$32, %edi
	callq	_putchar
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prompt"

L_.str.1:                               ## @.str.1
	.asciz	">"

L_.str.2:                               ## @.str.2
	.asciz	"%s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_interp_emit_prompt             ; -- Begin function interp_emit_prompt
	.p2align	2
_interp_emit_prompt:                    ; @interp_emit_prompt
	.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
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
Lloh2:
	adrp	x8, l_.str.1@PAGE
Lloh3:
	add	x8, x8, l_.str.1@PAGEOFF
	cmp	x0, #0
	csel	x0, x8, x0, eq
	bl	_strdup
	mov	x19, x0
Lloh4:
	adrp	x20, l_.str.2@PAGE
Lloh5:
	add	x20, x20, l_.str.2@PAGEOFF
	mov	x21, x0
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	w8, LBB0_11
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sxtb	w0, w8
	bl	_putchar
	add	x21, x21, #1
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldrb	w8, [x21]
	cmp	w8, #36
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrb	w9, [x21, #1]
	cmp	w9, #123
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x21, #2
	mov	x21, x0
	ldrb	w8, [x21]
	cbz	w8, LBB0_8
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w8, #125
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	add	x21, x21, #1
	ldrb	w8, [x21]
	cbnz	w8, LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	strb	wzr, [x21]
	bl	_getenv
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x0
	mov	x0, x20
	bl	_printf
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #1
	b	LBB0_3
LBB0_11:
	mov	w0, #32
	bl	_putchar
	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	_free
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prompt"

l_.str.1:                               ; @.str.1
	.asciz	">"

l_.str.2:                               ; @.str.2
	.asciz	"%s"

.subsections_via_symbols
