	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_default_win_viewport_height ## -- Begin function tui_default_win_viewport_height
	.p2align	4, 0x90
_tui_default_win_viewport_height:       ## @tui_default_win_viewport_height
	.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
	movl	%edi, %ebx
	callq	_tui_default_win_height
                                        ## kill: def $eax killed $eax def $rax
	movq	_tui_win_list@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%ebx, %edx
	movq	(%rcx,%rdx,8), %rcx
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	cmpq	(%rdx), %rcx
	sete	%sil
	addl	%esi, %eax
	addl	$-2, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_win_list,8,3               ## @tui_win_list
	.comm	_TUI_CMD_WIN,8,3                ## @TUI_CMD_WIN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tui_default_win_viewport_height ; -- Begin function tui_default_win_viewport_height
	.p2align	2
_tui_default_win_viewport_height:       ; @tui_default_win_viewport_height
	.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
	mov	x19, x0
	bl	_tui_default_win_height
Lloh0:
	adrp	x8, _tui_win_list@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tui_win_list@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x8, [x8, w19, uxtw #3]
Lloh3:
	adrp	x9, _TUI_CMD_WIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TUI_CMD_WIN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #-2
	cinc	w8, w8, eq
	add	w0, w8, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_win_list,8,3               ; @tui_win_list
	.comm	_TUI_CMD_WIN,8,3                ; @TUI_CMD_WIN
.subsections_via_symbols
