	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cli_command_loop               ## -- Begin function cli_command_loop
	.p2align	4, 0x90
_cli_command_loop:                      ## @cli_command_loop
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_get_prompt
	movq	%rax, %r14
	movq	_async_command_editing_p@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_PREFIX
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_strlen
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_SUFFIX
	movq	%rax, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%r15d, %ebx
	leal	(%rax,%rbx), %edi
	incl	%edi
	callq	_xmalloc
	movq	%rax, %rbx
	xorl	%edi, %edi
	callq	_PREFIX
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strcat
	xorl	%edi, %edi
	callq	_SUFFIX
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_strcat
	movq	_input_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rl_callback_handler_install
	jmp	LBB0_3
LBB0_2:
	xorl	%edi, %edi
	callq	_display_gdb_prompt
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_start_event_loop               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_async_command_editing_p,8,3    ## @async_command_editing_p
	.comm	_input_handler,4,2              ## @input_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cli_command_loop               ; -- Begin function cli_command_loop
	.p2align	2
_cli_command_loop:                      ; @cli_command_loop
	.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
	bl	_get_prompt
Lloh0:
	adrp	x8, _async_command_editing_p@GOTPAGE
Lloh1:
	ldr	x8, [x8, _async_command_editing_p@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
	mov	w0, #0
	bl	_PREFIX
	bl	_strlen
	mov	x20, x0
	mov	x0, x19
	bl	_strlen
	mov	x21, x0
	mov	w0, #0
	bl	_SUFFIX
	bl	_strlen
	add	w8, w20, w21
	add	w8, w8, w0
	add	w0, w8, #1
	bl	_xmalloc
	mov	x20, x0
	mov	w0, #0
	bl	_PREFIX
	mov	x1, x0
	mov	x0, x20
	bl	_strcpy
	mov	x0, x20
	mov	x1, x19
	bl	_strcat
	mov	w0, #0
	bl	_SUFFIX
	mov	x1, x0
	mov	x0, x20
	bl	_strcat
Lloh3:
	adrp	x8, _input_handler@GOTPAGE
Lloh4:
	ldr	x8, [x8, _input_handler@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_rl_callback_handler_install
	b	LBB0_3
LBB0_2:
	mov	w0, #0
	bl	_display_gdb_prompt
LBB0_3:
	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	_start_event_loop
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_async_command_editing_p,8,3    ; @async_command_editing_p
	.comm	_input_handler,4,2              ; @input_handler
.subsections_via_symbols
