	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function one_input_line
_one_input_line:                        ## @one_input_line
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.9:
	movq	%rdi, %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	jmp	_local_getline                  ## TAILCALL
LBB0_1:
	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
	testl	%edx, %edx
	jne	LBB0_2
## %bb.3:
	movq	_mainPrompt@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_continuePrompt@GOTPCREL(%rip), %rax
LBB0_4:
	movq	(%rax), %rbx
	movq	%rsi, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_shell_readline
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_shell_add_history
	jmp	LBB0_8
LBB0_5:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_continuePrompt,8,3             ## @continuePrompt
	.comm	_mainPrompt,8,3                 ## @mainPrompt
	.comm	_stdin,8,3                      ## @stdin
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	_one_input_line
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function one_input_line
_one_input_line:                        ; @one_input_line
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	mov	x8, x0
	mov	x0, x1
	mov	x1, x8
	b	_local_getline
LBB0_2:
	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
Lloh0:
	adrp	x8, _continuePrompt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _continuePrompt@GOTPAGEOFF]
Lloh2:
	adrp	x9, _mainPrompt@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mainPrompt@GOTPAGEOFF]
	cmp	w2, #0
	csel	x8, x9, x8, eq
	ldr	x19, [x8]
	mov	x0, x1
	bl	_free
	mov	x0, x19
	bl	_shell_readline
	mov	x19, x0
	cbz	x0, LBB0_5
; %bb.3:
	ldrb	w8, [x19]
	cbz	w8, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_shell_add_history
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_continuePrompt,8,3             ; @continuePrompt
	.comm	_mainPrompt,8,3                 ; @mainPrompt
	.comm	_stdin,8,3                      ; @stdin
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	_one_input_line
.subsections_via_symbols
