	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_is_window_visible          ## -- Begin function tui_is_window_visible
	.p2align	4, 0x90
_tui_is_window_visible:                 ## @tui_is_window_visible
	.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_active@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_tui_win_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edi, %edx
	movq	(%rcx,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_3
## %bb.2:
	movl	(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_active,8,3                 ## @tui_active
	.comm	_tui_win_list,8,3               ## @tui_win_list
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_is_window_visible          ; -- Begin function tui_is_window_visible
	.p2align	2
_tui_is_window_visible:                 ; @tui_is_window_visible
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _tui_active@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tui_active@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _tui_win_list@GOTPAGE
Lloh4:
	ldr	x8, [x8, _tui_win_list@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x8, [x8, w0, uxtw #3]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	w0, [x8]
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_active,8,3                 ; @tui_active
	.comm	_tui_win_list,8,3               ; @tui_win_list
.subsections_via_symbols
