	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_set_key_mode               ## -- Begin function tui_set_key_mode
	.p2align	4, 0x90
_tui_set_key_mode:                      ## @tui_set_key_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_tui_current_key_mode@GOTPCREL(%rip), %rax
	movl	%edi, (%rax)
	movq	_TUI_SINGLE_KEY_MODE@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	_tui_keymap@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_tui_readline_standard_keymap@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	callq	_rl_set_keymap
	xorl	%eax, %eax
	popq	%rbp
	jmp	_tui_show_locator_content       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_current_key_mode,4,2       ## @tui_current_key_mode
	.comm	_TUI_SINGLE_KEY_MODE,4,2        ## @TUI_SINGLE_KEY_MODE
	.comm	_tui_keymap,4,2                 ## @tui_keymap
	.comm	_tui_readline_standard_keymap,4,2 ## @tui_readline_standard_keymap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_set_key_mode               ; -- Begin function tui_set_key_mode
	.p2align	2
_tui_set_key_mode:                      ; @tui_set_key_mode
	.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, _tui_current_key_mode@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tui_current_key_mode@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
Lloh3:
	adrp	x8, _TUI_SINGLE_KEY_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TUI_SINGLE_KEY_MODE@GOTPAGEOFF]
Lloh5:
	adrp	x9, _tui_keymap@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tui_keymap@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x10, _tui_readline_standard_keymap@GOTPAGE
Lloh9:
	ldr	x10, [x10, _tui_readline_standard_keymap@GOTPAGEOFF]
	cmp	w8, w0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	bl	_rl_set_keymap
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_tui_show_locator_content
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_current_key_mode,4,2       ; @tui_current_key_mode
	.comm	_TUI_SINGLE_KEY_MODE,4,2        ; @TUI_SINGLE_KEY_MODE
	.comm	_tui_keymap,4,2                 ; @tui_keymap
	.comm	_tui_readline_standard_keymap,4,2 ; @tui_readline_standard_keymap
.subsections_via_symbols
