	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tui_set_win_height
_tui_set_win_height:                    ## @tui_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	_tui_enable
	testq	%rbx, %rbx
	je	LBB0_24
## %bb.1:
	movq	%rbx, %rdi
	callq	_xstrdup
	movq	%rax, %r14
	movq	%rax, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_21
## %bb.2:
	movq	%rax, %r13
	movb	$0, (%rax)
	movq	%r14, %rdi
	callq	_strlen
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rbx), %edi
	callq	_toupper
	movb	%al, (%r14,%rbx)
	incq	%rbx
	movq	%r14, %rdi
	callq	_strlen
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	movq	%r14, %rdi
	callq	_tui_partial_win_by_name
	testq	%rax, %rax
	je	LBB0_26
## %bb.6:
	movq	%rax, %r15
	cmpl	$0, 4(%rax)
	je	LBB0_26
## %bb.7:
	incq	%r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13), %eax
	incq	%r13
	cmpb	$32, %al
	je	LBB0_8
## %bb.9:
	testb	%al, %al
	je	LBB0_22
## %bb.10:
	movq	_FALSE@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	cmpb	$43, %al
	je	LBB0_13
## %bb.11:
	cmpb	$45, %al
	jne	LBB0_12
LBB0_13:
	cmpb	$45, %al
	jne	LBB0_15
## %bb.14:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_15
LBB0_24:
	movq	_WIN_HEIGHT_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_printf_filtered                ## TAILCALL
LBB0_26:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_22
LBB0_21:
	movq	_WIN_HEIGHT_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_printf_filtered
LBB0_22:
	testq	%r14, %r14
	je	LBB0_25
## %bb.23:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_xfree                          ## TAILCALL
LBB0_25:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	decq	%r13
	movq	_TRUE@GOTPCREL(%rip), %r12
LBB0_15:
	movq	%r13, %rdi
	callq	_atoi
	testl	%eax, %eax
	jle	LBB0_19
## %bb.16:
	movl	%eax, %esi
	negl	%esi
	testl	%ebx, %ebx
	cmovel	%eax, %esi
	cmpl	$0, (%r12)
	jne	LBB0_18
## %bb.17:
	addl	(%r15), %esi
LBB0_18:
	movq	%r15, %rdi
	callq	_tui_adjust_win_heights
	movq	_TUI_FAILURE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
LBB0_19:
	movq	_WIN_HEIGHT_USAGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_warning
	jmp	LBB0_22
LBB0_20:
	xorl	%eax, %eax
	callq	_tui_update_gdb_sizes
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid window specified. \nThe window name specified must be valid and visible.\n"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_TUI_FAILURE,8,3                ## @TUI_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Invalid window height specified.\n%s"

	.comm	_WIN_HEIGHT_USAGE,4,2           ## @WIN_HEIGHT_USAGE
	.no_dead_strip	_tui_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_set_win_height
_tui_set_win_height:                    ; @tui_set_win_height
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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_13
; %bb.1:
	mov	x0, x19
	bl	_xstrdup
	mov	x19, x0
	mov	w1, #32
	bl	_strchr
	cbz	x0, LBB0_15
; %bb.2:
	mov	x21, x0
	strb	wzr, [x0]
	mov	x0, x19
	bl	_strlen
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x20]
	bl	_toupper
	strb	w0, [x19, x20]
	add	x20, x20, #1
	mov	x0, x19
	bl	_strlen
	cmp	x20, w0, sxtw
	b.lt	LBB0_4
LBB0_5:
	mov	x0, x19
	bl	_tui_partial_win_by_name
	cbz	x0, LBB0_14
; %bb.6:
	mov	x20, x0
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_14
; %bb.7:
	add	x0, x21, #1
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w8, [x0], #1
	cmp	w8, #32
	b.eq	LBB0_8
; %bb.9:
	cbz	w8, LBB0_16
; %bb.10:
Lloh0:
	adrp	x9, _FALSE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x9]
	cmp	w8, #43
	b.eq	LBB0_12
; %bb.11:
	cmp	w8, #45
	b.ne	LBB0_19
LBB0_12:
Lloh3:
	adrp	x9, _TRUE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _TRUE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w8, #45
	csel	w21, w9, w21, eq
Lloh6:
	adrp	x22, _FALSE@GOTPAGE
Lloh7:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	b	LBB0_20
LBB0_13:
Lloh8:
	adrp	x8, _WIN_HEIGHT_USAGE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WIN_HEIGHT_USAGE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_printf_filtered
LBB0_14:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warning
	b	LBB0_16
LBB0_15:
Lloh13:
	adrp	x8, _WIN_HEIGHT_USAGE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WIN_HEIGHT_USAGE@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	bl	_printf_filtered
LBB0_16:
	cbz	x19, LBB0_18
; %bb.17:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_xfree
LBB0_18:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_19:
	sub	x0, x0, #1
Lloh16:
	adrp	x22, _TRUE@GOTPAGE
Lloh17:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
LBB0_20:
	bl	_atoi
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.21:
	ldr	w8, [x22]
	cmp	w21, #0
	cneg	w1, w0, ne
	cbnz	w8, LBB0_23
; %bb.22:
	ldr	w8, [x20]
	add	w1, w8, w1
LBB0_23:
	mov	x0, x20
	bl	_tui_adjust_win_heights
Lloh18:
	adrp	x8, _TUI_FAILURE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TUI_FAILURE@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_25
LBB0_24:
Lloh21:
	adrp	x8, _WIN_HEIGHT_USAGE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _WIN_HEIGHT_USAGE@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warning
	b	LBB0_16
LBB0_25:
	bl	_tui_update_gdb_sizes
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid window specified. \nThe window name specified must be valid and visible.\n"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_TUI_FAILURE,8,3                ; @TUI_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Invalid window height specified.\n%s"

	.comm	_WIN_HEIGHT_USAGE,4,2           ; @WIN_HEIGHT_USAGE
	.no_dead_strip	_tui_set_win_height
.subsections_via_symbols
