	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_xdb_set_win_height
_tui_xdb_set_win_height:                ## @tui_xdb_set_win_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_tui_enable
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_atoi
	testl	%eax, %eax
	jle	LBB0_5
## %bb.2:
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_tui_term_height
	notl	%ebx
	addl	%eax, %ebx
	movq	_tui_win_list@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_CMD_WIN@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%ebx, %esi
	callq	_new_height_ok
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:
	movq	(%r14), %rax
	movq	(%r15), %rcx
	movl	(%rax,%rcx,4), %edi
	movl	%ebx, %esi
	callq	_tui_adjust_win_heights
	movq	_TUI_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_5:
	movq	_XDBWIN_HEIGHT_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warning                        ## TAILCALL
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tui_win_list,8,3               ## @tui_win_list
	.comm	_CMD_WIN,8,3                    ## @CMD_WIN
	.comm	_TUI_FAILURE,8,3                ## @TUI_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid window height specified.\n%s"

	.comm	_XDBWIN_HEIGHT_USAGE,4,2        ## @XDBWIN_HEIGHT_USAGE
	.no_dead_strip	_tui_xdb_set_win_height
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tui_xdb_set_win_height
_tui_xdb_set_win_height:                ; @tui_xdb_set_win_height
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	bl	_tui_enable
	cbz	x19, LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_atoi
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x19, x0
	bl	_tui_term_height
	mvn	w8, w19
	add	w19, w0, w8
Lloh0:
	adrp	x20, _tui_win_list@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tui_win_list@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _CMD_WIN@GOTPAGE
Lloh3:
	ldr	x21, [x21, _CMD_WIN@GOTPAGEOFF]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x19
	bl	_new_height_ok
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x20]
	ldr	x9, [x21]
	ldr	w0, [x8, x9, lsl #2]
	mov	x1, x19
	bl	_tui_adjust_win_heights
Lloh4:
	adrp	x8, _TUI_FAILURE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TUI_FAILURE@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _XDBWIN_HEIGHT_USAGE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XDBWIN_HEIGHT_USAGE@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_warning
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_tui_win_list,8,3               ; @tui_win_list
	.comm	_CMD_WIN,8,3                    ; @CMD_WIN
	.comm	_TUI_FAILURE,8,3                ; @TUI_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid window height specified.\n%s"

	.comm	_XDBWIN_HEIGHT_USAGE,4,2        ; @XDBWIN_HEIGHT_USAGE
	.no_dead_strip	_tui_xdb_set_win_height
.subsections_via_symbols
