	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_rl_delete_other_windows
_tui_rl_delete_other_windows:           ## @tui_rl_delete_other_windows
	.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), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_tui_rl_switch_mode
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_2:
	movq	_TUI_UNDEFINED_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_tui_current_layout
	addl	$-131, %eax
	xorl	%ecx, %ecx
	cmpl	$2, %eax
	setb	%cl
	leal	(%rcx,%rcx), %edi
	addl	$130, %edi
	movl	%ebx, %esi
	callq	_tui_set_layout
LBB0_3:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_active,8,3                 ## @tui_active
	.comm	_TUI_UNDEFINED_REGS,4,2         ## @TUI_UNDEFINED_REGS
	.no_dead_strip	_tui_rl_delete_other_windows
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_rl_delete_other_windows
_tui_rl_delete_other_windows:           ; @tui_rl_delete_other_windows
	.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	x19, _tui_active@GOTPAGE
Lloh1:
	ldr	x19, [x19, _tui_active@GOTPAGEOFF]
	ldr	x8, [x19]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	w0, #0
	mov	w1, #0
	bl	_tui_rl_switch_mode
	ldr	x8, [x19]
	cbz	x8, LBB0_3
LBB0_2:
Lloh2:
	adrp	x8, _TUI_UNDEFINED_REGS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TUI_UNDEFINED_REGS@GOTPAGEOFF]
Lloh4:
	ldr	w19, [x8]
	bl	_tui_current_layout
	sub	w8, w0, #131
	mov	w9, #130
	mov	w10, #132
	cmp	w8, #2
	csel	w0, w10, w9, lo
	mov	x1, x19
	bl	_tui_set_layout
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_active,8,3                 ; @tui_active
	.comm	_TUI_UNDEFINED_REGS,4,2         ; @TUI_UNDEFINED_REGS
	.no_dead_strip	_tui_rl_delete_other_windows
.subsections_via_symbols
