	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_rl_other_window
_tui_rl_other_window:                   ## @tui_rl_other_window
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_tui_active@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_tui_rl_switch_mode
LBB0_2:
	xorl	%eax, %eax
	callq	_tui_win_with_focus
	movl	%eax, %edi
	callq	_tui_next_win
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_tui_set_win_focus_to
	movq	_TUI_DATA_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_tui_refresh_data_win
LBB0_6:
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	cmpq	%rax, %rbx
	setne	%sil
	callq	_keypad
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_active,4,2                 ## @tui_active
	.comm	_TUI_DATA_WIN,8,3               ## @TUI_DATA_WIN
	.comm	_TUI_CMD_WIN,8,3                ## @TUI_CMD_WIN
	.no_dead_strip	_tui_rl_other_window
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_rl_other_window
_tui_rl_other_window:                   ; @tui_rl_other_window
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _tui_active@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tui_active@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	mov	w1, #0
	bl	_tui_rl_switch_mode
LBB0_2:
	bl	_tui_win_with_focus
	bl	_tui_next_win
	cbz	x0, LBB0_7
; %bb.3:
	mov	x19, x0
	bl	_tui_set_win_focus_to
Lloh3:
	adrp	x8, _TUI_DATA_WIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TUI_DATA_WIN@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.5:
	bl	_tui_refresh_data_win
LBB0_6:
Lloh6:
	adrp	x8, _TUI_CMD_WIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TUI_CMD_WIN@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w0, [x8]
	cmp	x19, x8
	cset	w1, ne
	bl	_keypad
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_active,4,2                 ; @tui_active
	.comm	_TUI_DATA_WIN,8,3               ; @TUI_DATA_WIN
	.comm	_TUI_CMD_WIN,8,3                ; @TUI_CMD_WIN
	.no_dead_strip	_tui_rl_other_window
.subsections_via_symbols
