	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getcmds
_getcmds:                               ## @getcmds
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_interactive@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movq	_prompt@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_2:
	callq	_ntp_readline_init
	leaq	-20(%rbp), %rdi
	callq	_ntp_readline
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	%rax, %rbx
	leaq	-20(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_docmd
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_ntp_readline
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	callq	_ntp_readline_uninit
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_interactive,8,3                ## @interactive
	.comm	_prompt,8,3                     ## @prompt
	.no_dead_strip	_getcmds
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getcmds
_getcmds:                               ; @getcmds
	.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, _interactive@GOTPAGE
Lloh1:
	ldr	x8, [x8, _interactive@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _prompt@GOTPAGE
Lloh4:
	ldr	x9, [x9, _prompt@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, #0
	csel	x0, xzr, x9, eq
	bl	_ntp_readline_init
	add	x0, sp, #12
	bl	_ntp_readline
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_docmd
	mov	x0, x19
	bl	_free
	add	x0, sp, #12
	bl	_ntp_readline
	mov	x19, x0
	cbnz	x0, LBB0_2
LBB0_3:
	bl	_ntp_readline_uninit
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_interactive,8,3                ; @interactive
	.comm	_prompt,8,3                     ; @prompt
	.no_dead_strip	_getcmds
.subsections_via_symbols
