	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_rl_startup_hook
_tui_rl_startup_hook:                   ## @tui_rl_startup_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_rl_already_prompted@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	_tui_current_key_mode@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_TUI_COMMAND_MODE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_TUI_SINGLE_KEY_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_tui_set_key_mode
LBB0_2:
	xorl	%eax, %eax
	callq	_tui_redisplay_readline
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_rl_already_prompted,4,2        ## @rl_already_prompted
	.comm	_tui_current_key_mode,8,3       ## @tui_current_key_mode
	.comm	_TUI_COMMAND_MODE,8,3           ## @TUI_COMMAND_MODE
	.comm	_TUI_SINGLE_KEY_MODE,4,2        ## @TUI_SINGLE_KEY_MODE
	.no_dead_strip	_tui_rl_startup_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_rl_startup_hook
_tui_rl_startup_hook:                   ; @tui_rl_startup_hook
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _rl_already_prompted@GOTPAGE
Lloh1:
	ldr	x8, [x8, _rl_already_prompted@GOTPAGEOFF]
	mov	w9, #1
Lloh2:
	adrp	x10, _tui_current_key_mode@GOTPAGE
Lloh3:
	ldr	x10, [x10, _tui_current_key_mode@GOTPAGEOFF]
Lloh4:
	str	w9, [x8]
Lloh5:
	ldr	x8, [x10]
Lloh6:
	adrp	x9, _TUI_COMMAND_MODE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _TUI_COMMAND_MODE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _TUI_SINGLE_KEY_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TUI_SINGLE_KEY_MODE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_tui_set_key_mode
LBB0_2:
	bl	_tui_redisplay_readline
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_rl_already_prompted,4,2        ; @rl_already_prompted
	.comm	_tui_current_key_mode,8,3       ; @tui_current_key_mode
	.comm	_TUI_COMMAND_MODE,8,3           ; @TUI_COMMAND_MODE
	.comm	_TUI_SINGLE_KEY_MODE,4,2        ; @TUI_SINGLE_KEY_MODE
	.no_dead_strip	_tui_rl_startup_hook
.subsections_via_symbols
