	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_command_loop
_tui_command_loop:                      ## @tui_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -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:
	movq	_gdb_do_one_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RETURN_MASK_ALL@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_catch_errors
	testl	%eax, %eax
	js	LBB0_10
## %bb.4:
	movq	_tui_active@GOTPCREL(%rip), %r12
	movq	_tui_out@GOTPCREL(%rip), %r13
	movq	_uiout@GOTPCREL(%rip), %r14
	leaq	L_.str(%rip), %rbx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	testl	%eax, %eax
	je	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_gdb_do_one_event@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %ecx
	xorl	%esi, %esi
	movq	%rbx, %rdx
	callq	_catch_errors
	testl	%eax, %eax
	js	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r12)
	movq	%r13, %rcx
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	_tui_old_uiout@GOTPCREL(%rip), %rcx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	xorl	%edi, %edi
	callq	_display_gdb_prompt
	xorl	%eax, %eax
	callq	_after_char_processing_hook
	jmp	LBB0_9
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_async_command_editing_p,8,3    ## @async_command_editing_p
	.comm	_input_handler,4,2              ## @input_handler
	.comm	_gdb_do_one_event,4,2           ## @gdb_do_one_event
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_RETURN_MASK_ALL,4,2            ## @RETURN_MASK_ALL
	.comm	_tui_active,8,3                 ## @tui_active
	.comm	_tui_out,4,2                    ## @tui_out
	.comm	_uiout,4,2                      ## @uiout
	.comm	_tui_old_uiout,4,2              ## @tui_old_uiout
	.no_dead_strip	_tui_command_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_command_loop
_tui_command_loop:                      ; @tui_command_loop
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	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:
Lloh6:
	adrp	x20, _gdb_do_one_event@GOTPAGE
Lloh7:
	ldr	x20, [x20, _gdb_do_one_event@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh8:
	adrp	x21, _RETURN_MASK_ALL@GOTPAGE
Lloh9:
	ldr	x21, [x21, _RETURN_MASK_ALL@GOTPAGEOFF]
	ldr	w3, [x21]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	bl	_catch_errors
	tbnz	w0, #31, LBB0_8
; %bb.4:
Lloh12:
	adrp	x22, _tui_active@GOTPAGE
Lloh13:
	ldr	x22, [x22, _tui_active@GOTPAGEOFF]
Lloh14:
	adrp	x23, _tui_old_uiout@GOTPAGE
Lloh15:
	ldr	x23, [x23, _tui_old_uiout@GOTPAGEOFF]
Lloh16:
	adrp	x24, _tui_out@GOTPAGE
Lloh17:
	ldr	x24, [x24, _tui_out@GOTPAGEOFF]
Lloh18:
	adrp	x19, l_.str@PAGE
Lloh19:
	add	x19, x19, l_.str@PAGEOFF
Lloh20:
	adrp	x25, _uiout@GOTPAGE
Lloh21:
	ldr	x25, [x25, _uiout@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x20]
	ldr	w3, [x21]
	mov	w1, #0
	mov	x2, x19
	bl	_catch_errors
	tbnz	w0, #31, LBB0_8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	cmp	x8, #0
	csel	x8, x23, x24, eq
	ldr	w8, [x8]
	str	w8, [x25]
	cbnz	w0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_display_gdb_prompt
	bl	_after_char_processing_hook
	b	LBB0_5
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_async_command_editing_p,8,3    ; @async_command_editing_p
	.comm	_input_handler,4,2              ; @input_handler
	.comm	_gdb_do_one_event,4,2           ; @gdb_do_one_event
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_RETURN_MASK_ALL,4,2            ; @RETURN_MASK_ALL
	.comm	_tui_active,8,3                 ; @tui_active
	.comm	_tui_out,4,2                    ; @tui_out
	.comm	_uiout,4,2                      ; @uiout
	.comm	_tui_old_uiout,4,2              ; @tui_old_uiout
	.no_dead_strip	_tui_command_loop
.subsections_via_symbols
