	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function make_invisible_and_set_new_height
_make_invisible_and_set_new_height:     ## @make_invisible_and_set_new_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
	movl	%esi, %r14d
	movq	%rdi, %r13
	callq	_tui_make_invisible
	movl	%r14d, (%r13)
	xorl	%eax, %eax
	cmpl	$2, %r14d
	setge	%al
	movl	%r14d, %r12d
	subl	%eax, %r12d
	movl	%r12d, 4(%r13)
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rbx
	cmpq	%r13, (%rbx)
	je	LBB0_2
## %bb.1:
	leal	-1(%r12), %eax
	movl	%eax, 4(%r13)
LBB0_2:
	movl	8(%r13), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_3
## %bb.7:
	movq	40(%r13), %r15
	movq	%r15, %rdi
	callq	_tui_make_invisible
	movl	%r14d, (%r15)
	movl	32(%r13), %eax
	movl	%eax, 32(%r15)
	movl	%r12d, 4(%r15)
	cmpq	%r13, (%rbx)
	je	LBB0_9
## %bb.8:
	decl	%r12d
	movl	%r12d, 4(%r15)
LBB0_9:
	movq	%r13, %rdi
	callq	_tui_win_has_locator
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	xorl	%eax, %eax
	callq	_tui_locator_win_info_ptr
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_tui_make_invisible
	addl	32(%r13), %r14d
	movl	%r14d, 32(%r15)
	jmp	LBB0_11
LBB0_3:
	cmpl	$130, %eax
	jne	LBB0_11
## %bb.4:
	cmpl	$0, 12(%r13)
	jle	LBB0_11
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %r14
	movq	16(%r14), %rdi
	callq	_tui_delete_win
	movq	$0, 16(%r14)
	incq	%rbx
	movslq	12(%r13), %rax
	cmpq	%rax, %rbx
	jl	LBB0_6
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TUI_CMD_WIN,8,3                ## @TUI_CMD_WIN
	.no_dead_strip	_make_invisible_and_set_new_height
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function make_invisible_and_set_new_height
_make_invisible_and_set_new_height:     ; @make_invisible_and_set_new_height
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
	bl	_tui_make_invisible
	cmp	w20, #1
	cset	w8, gt
	sub	w22, w20, w8
	stp	w20, w22, [x19]
Lloh0:
	adrp	x23, _TUI_CMD_WIN@GOTPAGE
Lloh1:
	ldr	x23, [x23, _TUI_CMD_WIN@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x8, x19
	b.eq	LBB0_2
; %bb.1:
	sub	w8, w22, #1
	str	w8, [x19, #4]
LBB0_2:
	ldr	w8, [x19, #8]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_7
; %bb.3:
	ldr	x21, [x19, #40]
	mov	x0, x21
	bl	_tui_make_invisible
	ldr	w8, [x19, #32]
	str	w8, [x21, #32]
	stp	w20, w22, [x21]
	ldr	x8, [x23]
	cmp	x8, x19
	b.eq	LBB0_5
; %bb.4:
	sub	w8, w22, #1
	str	w8, [x21, #4]
LBB0_5:
	mov	x0, x19
	bl	_tui_win_has_locator
	cbz	w0, LBB0_11
; %bb.6:
	bl	_tui_locator_win_info_ptr
	mov	x21, x0
	bl	_tui_make_invisible
	ldr	w8, [x19, #32]
	add	w8, w8, w20
	str	w8, [x21, #32]
	b	LBB0_11
LBB0_7:
	cmp	w8, #130
	b.ne	LBB0_11
; %bb.8:
	ldr	w8, [x19, #12]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.9:
	mov	x20, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	ldr	x21, [x8, x20, lsl #3]
	ldr	x0, [x21, #16]
	bl	_tui_delete_win
	str	xzr, [x21, #16]
	add	x20, x20, #1
	ldrsw	x8, [x19, #12]
	cmp	x20, x8
	b.lt	LBB0_10
LBB0_11:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TUI_CMD_WIN,8,3                ; @TUI_CMD_WIN
	.no_dead_strip	_make_invisible_and_set_new_height
.subsections_via_symbols
