	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_enable                     ## -- Begin function tui_enable
	.p2align	4, 0x90
_tui_enable:                            ## @tui_enable
	.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
	movq	_tui_active@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_tui_finish_init@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_initscr
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_cbreak
	xorl	%eax, %eax
	callq	_noecho
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_nodelay
	xorl	%eax, %eax
	callq	_nl
	movq	_TRUE@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_keypad
	xorl	%eax, %eax
	callq	_rl_initialize
	movq	_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tui_set_term_height_to
	movq	_COLS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tui_set_term_width_to
	xorl	%eax, %eax
	callq	_def_prog_mode
	xorl	%edi, %edi
	callq	_tui_show_frame_info
	movq	_SRC_COMMAND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TUI_UNDEFINED_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tui_set_layout
	movq	_TUI_SRC_WIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tui_set_win_focus_to
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	movl	(%r12), %esi
	callq	_keypad
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_wrefresh
	movq	$0, (%r15)
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	callq	_def_shell_mode
	movq	_stdscr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_clearok
LBB0_4:
	xorl	%eax, %eax
	callq	_tui_install_hooks
	movq	_tui_rl_startup_hook@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rl_startup_hook@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_tui_update_variables
	movl	$1, %edi
	callq	_tui_setup_io
	movl	$1, (%r14)
	movq	_deprecated_selected_frame@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_tui_show_frame_info
LBB0_6:
	movq	_tui_current_key_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tui_set_key_mode
	xorl	%eax, %eax
	callq	_tui_refresh_all_win
	xorl	%eax, %eax
	callq	_target_terminal_save_ours
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_tui_update_gdb_sizes           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_active,4,2                 ## @tui_active
	.comm	_tui_finish_init,8,3            ## @tui_finish_init
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_LINES,4,2                      ## @LINES
	.comm	_COLS,4,2                       ## @COLS
	.comm	_SRC_COMMAND,4,2                ## @SRC_COMMAND
	.comm	_TUI_UNDEFINED_REGS,4,2         ## @TUI_UNDEFINED_REGS
	.comm	_TUI_SRC_WIN,4,2                ## @TUI_SRC_WIN
	.comm	_TUI_CMD_WIN,8,3                ## @TUI_CMD_WIN
	.comm	_stdscr,4,2                     ## @stdscr
	.comm	_tui_rl_startup_hook,4,2        ## @tui_rl_startup_hook
	.comm	_rl_startup_hook,4,2            ## @rl_startup_hook
	.comm	_deprecated_selected_frame,8,3  ## @deprecated_selected_frame
	.comm	_tui_current_key_mode,4,2       ## @tui_current_key_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_enable                     ; -- Begin function tui_enable
	.p2align	2
_tui_enable:                            ; @tui_enable
	.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	x20, _tui_active@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tui_active@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
Lloh2:
	adrp	x21, _tui_finish_init@GOTPAGE
Lloh3:
	ldr	x21, [x21, _tui_finish_init@GOTPAGEOFF]
	ldr	x8, [x21]
	cbz	x8, LBB0_4
; %bb.3:
	bl	_initscr
	mov	x19, x0
	bl	_cbreak
	bl	_noecho
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_nodelay
	bl	_nl
Lloh7:
	adrp	x22, _TRUE@GOTPAGE
Lloh8:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_keypad
	bl	_rl_initialize
Lloh9:
	adrp	x8, _LINES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_tui_set_term_height_to
Lloh12:
	adrp	x8, _COLS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COLS@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_tui_set_term_width_to
	bl	_def_prog_mode
	mov	x0, #0
	bl	_tui_show_frame_info
Lloh15:
	adrp	x8, _SRC_COMMAND@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SRC_COMMAND@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _TUI_UNDEFINED_REGS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TUI_UNDEFINED_REGS@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_tui_set_layout
Lloh21:
	adrp	x8, _TUI_SRC_WIN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TUI_SRC_WIN@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_tui_set_win_focus_to
Lloh24:
	adrp	x19, _TUI_CMD_WIN@GOTPAGE
Lloh25:
	ldr	x19, [x19, _TUI_CMD_WIN@GOTPAGEOFF]
	ldr	x8, [x19]
	ldr	x0, [x8]
	ldr	w1, [x22]
	bl	_keypad
	ldr	x8, [x19]
	ldr	x0, [x8]
	bl	_wrefresh
	str	xzr, [x21]
	b	LBB0_5
LBB0_4:
	bl	_def_shell_mode
Lloh26:
	adrp	x8, _stdscr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stdscr@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
Lloh29:
	adrp	x8, _TRUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	bl	_clearok
LBB0_5:
	bl	_tui_install_hooks
Lloh32:
	adrp	x8, _tui_rl_startup_hook@GOTPAGE
Lloh33:
	ldr	x8, [x8, _tui_rl_startup_hook@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
Lloh35:
	adrp	x9, _rl_startup_hook@GOTPAGE
Lloh36:
	ldr	x9, [x9, _rl_startup_hook@GOTPAGEOFF]
Lloh37:
	str	w8, [x9]
	bl	_tui_update_variables
	mov	w19, #1
	mov	w0, #1
	bl	_tui_setup_io
	str	w19, [x20]
Lloh38:
	adrp	x8, _deprecated_selected_frame@GOTPAGE
Lloh39:
	ldr	x8, [x8, _deprecated_selected_frame@GOTPAGEOFF]
Lloh40:
	ldr	x0, [x8]
	cbz	x0, LBB0_7
; %bb.6:
	bl	_tui_show_frame_info
LBB0_7:
Lloh41:
	adrp	x8, _tui_current_key_mode@GOTPAGE
Lloh42:
	ldr	x8, [x8, _tui_current_key_mode@GOTPAGEOFF]
Lloh43:
	ldr	w0, [x8]
	bl	_tui_set_key_mode
	bl	_tui_refresh_all_win
	bl	_target_terminal_save_ours
	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	_tui_update_gdb_sizes
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_active,4,2                 ; @tui_active
	.comm	_tui_finish_init,8,3            ; @tui_finish_init
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_LINES,4,2                      ; @LINES
	.comm	_COLS,4,2                       ; @COLS
	.comm	_SRC_COMMAND,4,2                ; @SRC_COMMAND
	.comm	_TUI_UNDEFINED_REGS,4,2         ; @TUI_UNDEFINED_REGS
	.comm	_TUI_SRC_WIN,4,2                ; @TUI_SRC_WIN
	.comm	_TUI_CMD_WIN,8,3                ; @TUI_CMD_WIN
	.comm	_stdscr,4,2                     ; @stdscr
	.comm	_tui_rl_startup_hook,4,2        ; @tui_rl_startup_hook
	.comm	_rl_startup_hook,4,2            ; @rl_startup_hook
	.comm	_deprecated_selected_frame,8,3  ; @deprecated_selected_frame
	.comm	_tui_current_key_mode,4,2       ; @tui_current_key_mode
.subsections_via_symbols
