	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_initialize_readline        ## -- Begin function tui_initialize_readline
	.p2align	4, 0x90
_tui_initialize_readline:               ## @tui_initialize_readline
	.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	_rl_initialize
	movq	_tui_rl_switch_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	movl	$-1, %edx
	callq	_rl_add_defun
	movq	_tui_rl_command_key@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	$-1, %edx
	callq	_rl_add_defun
	movq	_tui_rl_next_keymap@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdi
	movl	$-1, %edx
	callq	_rl_add_defun
	xorl	%eax, %eax
	callq	_rl_make_bare_keymap
	movq	_tui_keymap@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	xorl	%eax, %eax
	callq	_rl_make_bare_keymap
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_rl_get_keymap
	movq	_tui_readline_standard_keymap@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_tui_commands@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rax,%rbx), %edi
	movl	(%r13), %esi
	movq	(%r14), %rdx
	callq	_rl_bind_key_in_map
	movq	(%r12), %rax
	cmpq	$0, 24(%rax,%rbx)
	leaq	16(%rbx), %rbx
	jne	LBB0_2
LBB0_3:
	movq	_ISKMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rcx
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdx
	callq	_rl_generic_bind
	movl	$32, %ebx
	movq	_tui_rl_command_mode@GOTPCREL(%rip), %r13
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %esi
	movq	(%r14), %rdx
	movsbl	%bl, %edi
	callq	_rl_bind_key_in_map
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	$127, %ebx
	je	LBB0_9
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	(%r12), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_5
	.p2align	4, 0x90
LBB0_7:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	(%rax), %ecx
	cmpl	%ecx, %ebx
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpq	$0, 24(%rax)
	leaq	16(%rax), %rax
	jne	LBB0_7
	jmp	LBB0_5
LBB0_9:
	movq	_tui_rl_switch_mode@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_emacs_ctlx_keymap@GOTPCREL(%rip), %r13
	movq	(%r13), %rdx
	movl	$97, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movl	$97, %edi
	movq	%r15, %rdx
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movq	(%r13), %rdx
	movl	$65, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movl	$65, %edi
	movq	%r15, %rdx
	callq	_rl_bind_key_in_map
	movl	$65, %edi
	callq	_CTRL
	movl	(%rbx), %esi
	movq	(%r13), %rdx
	movsbl	%al, %edi
	callq	_rl_bind_key_in_map
	movl	$65, %edi
	callq	_CTRL
	movl	(%rbx), %esi
	movsbl	%al, %edi
	movq	%r15, %rdx
	callq	_rl_bind_key_in_map
	movq	_tui_rl_delete_other_windows@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	(%r13), %rdx
	movl	$49, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movl	$49, %edi
	movq	%r15, %rdx
	callq	_rl_bind_key_in_map
	movq	_tui_rl_change_windows@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	(%r13), %rdx
	movl	$50, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movl	$50, %edi
	movq	%r15, %rdx
	callq	_rl_bind_key_in_map
	movq	_tui_rl_other_window@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	(%r13), %rdx
	movl	$111, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movl	$111, %edi
	movq	%r15, %rdx
	callq	_rl_bind_key_in_map
	movq	_tui_rl_next_keymap@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	(%r14), %rdx
	movl	$113, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movq	(%r13), %rdx
	movl	$115, %edi
	callq	_rl_bind_key_in_map
	movl	(%rbx), %esi
	movl	$115, %edi
	movq	%r15, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rl_bind_key_in_map             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tui-switch-mode"

	.comm	_tui_rl_switch_mode,4,2         ## @tui_rl_switch_mode
L_.str.1:                               ## @.str.1
	.asciz	"gdb-command"

	.comm	_tui_rl_command_key,4,2         ## @tui_rl_command_key
L_.str.2:                               ## @.str.2
	.asciz	"next-keymap"

	.comm	_tui_rl_next_keymap,4,2         ## @tui_rl_next_keymap
	.comm	_tui_keymap,8,3                 ## @tui_keymap
	.comm	_tui_readline_standard_keymap,4,2 ## @tui_readline_standard_keymap
	.comm	_tui_commands,8,3               ## @tui_commands
	.comm	_ISKMAP,4,2                     ## @ISKMAP
L_.str.3:                               ## @.str.3
	.asciz	"\\C-x"

	.comm	_tui_rl_command_mode,4,2        ## @tui_rl_command_mode
	.comm	_emacs_ctlx_keymap,8,3          ## @emacs_ctlx_keymap
	.comm	_tui_rl_delete_other_windows,4,2 ## @tui_rl_delete_other_windows
	.comm	_tui_rl_change_windows,4,2      ## @tui_rl_change_windows
	.comm	_tui_rl_other_window,4,2        ## @tui_rl_other_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_initialize_readline        ; -- Begin function tui_initialize_readline
	.p2align	2
_tui_initialize_readline:               ; @tui_initialize_readline
	.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	_rl_initialize
Lloh0:
	adrp	x22, _tui_rl_switch_mode@GOTPAGE
Lloh1:
	ldr	x22, [x22, _tui_rl_switch_mode@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	mov	w2, #-1
	bl	_rl_add_defun
Lloh4:
	adrp	x24, _tui_rl_command_key@GOTPAGE
Lloh5:
	ldr	x24, [x24, _tui_rl_command_key@GOTPAGEOFF]
	ldr	w1, [x24]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #-1
	bl	_rl_add_defun
Lloh8:
	adrp	x20, _tui_rl_next_keymap@GOTPAGE
Lloh9:
	ldr	x20, [x20, _tui_rl_next_keymap@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w2, #-1
	bl	_rl_add_defun
	bl	_rl_make_bare_keymap
Lloh12:
	adrp	x21, _tui_keymap@GOTPAGE
Lloh13:
	ldr	x21, [x21, _tui_keymap@GOTPAGEOFF]
	str	x0, [x21]
	bl	_rl_make_bare_keymap
	mov	x19, x0
	bl	_rl_get_keymap
Lloh14:
	adrp	x8, _tui_readline_standard_keymap@GOTPAGE
Lloh15:
	ldr	x8, [x8, _tui_readline_standard_keymap@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
Lloh17:
	adrp	x23, _tui_commands@GOTPAGE
Lloh18:
	ldr	x23, [x23, _tui_commands@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.1:
	mov	x25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x8, x25]
	ldr	w1, [x24]
	ldr	x2, [x21]
	bl	_rl_bind_key_in_map
	ldr	x8, [x23]
	add	x9, x8, x25
	ldr	x9, [x9, #24]
	add	x25, x25, #16
	cbnz	x9, LBB0_2
LBB0_3:
Lloh19:
	adrp	x8, _ISKMAP@GOTPAGE
Lloh20:
	ldr	x8, [x8, _ISKMAP@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldr	x3, [x21]
Lloh22:
	adrp	x1, l_.str.3@PAGE
Lloh23:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x19
	bl	_rl_generic_bind
	mov	w24, #32
Lloh24:
	adrp	x25, _tui_rl_command_mode@GOTPAGE
Lloh25:
	ldr	x25, [x25, _tui_rl_command_mode@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x25]
	ldr	x2, [x21]
	sxtb	w0, w24
	bl	_rl_bind_key_in_map
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	cmp	w24, #127
	b.eq	LBB0_9
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x8, [x23]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_4
LBB0_7:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrsb	w9, [x8]
	cmp	w24, w9
	b.eq	LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x9, [x8, #24]
	add	x8, x8, #16
	cbnz	x9, LBB0_7
	b	LBB0_4
LBB0_9:
	ldr	w1, [x22]
Lloh26:
	adrp	x23, _emacs_ctlx_keymap@GOTPAGE
Lloh27:
	ldr	x23, [x23, _emacs_ctlx_keymap@GOTPAGEOFF]
	ldr	x2, [x23]
	mov	w0, #97
	bl	_rl_bind_key_in_map
	ldr	w1, [x22]
	mov	w0, #97
	mov	x2, x19
	bl	_rl_bind_key_in_map
	ldr	w1, [x22]
	ldr	x2, [x23]
	mov	w0, #65
	bl	_rl_bind_key_in_map
	ldr	w1, [x22]
	mov	w0, #65
	mov	x2, x19
	bl	_rl_bind_key_in_map
	mov	w0, #65
	bl	_CTRL
	ldr	w1, [x22]
	ldr	x2, [x23]
	bl	_rl_bind_key_in_map
	mov	w0, #65
	bl	_CTRL
	ldr	w1, [x22]
	mov	x2, x19
	bl	_rl_bind_key_in_map
Lloh28:
	adrp	x22, _tui_rl_delete_other_windows@GOTPAGE
Lloh29:
	ldr	x22, [x22, _tui_rl_delete_other_windows@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x2, [x23]
	mov	w0, #49
	bl	_rl_bind_key_in_map
	ldr	w1, [x22]
	mov	w0, #49
	mov	x2, x19
	bl	_rl_bind_key_in_map
Lloh30:
	adrp	x22, _tui_rl_change_windows@GOTPAGE
Lloh31:
	ldr	x22, [x22, _tui_rl_change_windows@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x2, [x23]
	mov	w0, #50
	bl	_rl_bind_key_in_map
	ldr	w1, [x22]
	mov	w0, #50
	mov	x2, x19
	bl	_rl_bind_key_in_map
Lloh32:
	adrp	x22, _tui_rl_other_window@GOTPAGE
Lloh33:
	ldr	x22, [x22, _tui_rl_other_window@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	x2, [x23]
	mov	w0, #111
	bl	_rl_bind_key_in_map
	ldr	w1, [x22]
	mov	w0, #111
	mov	x2, x19
	bl	_rl_bind_key_in_map
	ldr	w1, [x20]
	ldr	x2, [x21]
	mov	w0, #113
	bl	_rl_bind_key_in_map
	ldr	w1, [x20]
	ldr	x2, [x23]
	mov	w0, #115
	bl	_rl_bind_key_in_map
	ldr	w1, [x20]
	mov	w0, #115
	mov	x2, x19
	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
	b	_rl_bind_key_in_map
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tui-switch-mode"

	.comm	_tui_rl_switch_mode,4,2         ; @tui_rl_switch_mode
l_.str.1:                               ; @.str.1
	.asciz	"gdb-command"

	.comm	_tui_rl_command_key,4,2         ; @tui_rl_command_key
l_.str.2:                               ; @.str.2
	.asciz	"next-keymap"

	.comm	_tui_rl_next_keymap,4,2         ; @tui_rl_next_keymap
	.comm	_tui_keymap,8,3                 ; @tui_keymap
	.comm	_tui_readline_standard_keymap,4,2 ; @tui_readline_standard_keymap
	.comm	_tui_commands,8,3               ; @tui_commands
	.comm	_ISKMAP,4,2                     ; @ISKMAP
l_.str.3:                               ; @.str.3
	.asciz	"\\C-x"

	.comm	_tui_rl_command_mode,4,2        ; @tui_rl_command_mode
	.comm	_emacs_ctlx_keymap,8,3          ; @emacs_ctlx_keymap
	.comm	_tui_rl_delete_other_windows,4,2 ; @tui_rl_delete_other_windows
	.comm	_tui_rl_change_windows,4,2      ; @tui_rl_change_windows
	.comm	_tui_rl_other_window,4,2        ; @tui_rl_other_window
.subsections_via_symbols
