	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function new_height_ok
_new_height_ok:                         ## @new_height_ok
	.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, %r12d
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_tui_term_height
	cmpl	%r12d, %eax
	jle	LBB0_26
## %bb.1:
	xorl	%eax, %eax
	callq	_tui_current_layout
	movl	(%r14), %r15d
	movq	_SRC_COMMAND@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.2:
	movq	_DISASSEM_COMMAND@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movq	_SRC_DISASSEM_COMMAND@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_15
## %bb.4:
	movq	_TUI_SRC_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_TUI_DISASM_WIN@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_5:
	movq	8(%r14), %rax
	movq	_CMD_WIN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_9
## %bb.6:
	xorl	%eax, %eax
	callq	_tui_term_height
	addl	$-4, %eax
	cmpl	%r12d, %eax
	jl	LBB0_8
## %bb.7:
	movq	_MIN_CMD_WIN_HEIGHT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jle	LBB0_12
LBB0_8:
	movq	8(%r14), %rax
	movq	(%rbx), %rcx
LBB0_9:
	xorl	%ebx, %ebx
	cmpq	%rcx, %rax
	je	LBB0_26
## %bb.10:
	xorl	%eax, %eax
	callq	_tui_term_height
	addl	$-2, %eax
	cmpl	%r12d, %eax
	jl	LBB0_26
## %bb.11:
	movq	_MIN_WIN_HEIGHT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jg	LBB0_26
LBB0_12:
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%r14, %rax
	jne	LBB0_14
## %bb.13:
	xorl	%eax, %eax
	callq	_tui_source_windows
	movq	(%rax), %rax
	movq	(%rax), %rax
LBB0_14:
	addl	(%rax), %r15d
	xorl	%eax, %eax
	callq	_tui_term_height
	cmpl	%eax, %r15d
	setle	%bl
	jmp	LBB0_26
LBB0_15:
	movq	_TUI_DATA_WIN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorl	%eax, %eax
	callq	_tui_source_windows
	movq	(%rax), %rax
LBB0_16:
	movq	(%rax), %rax
	movl	%r15d, %edx
	subl	%r12d, %edx
	movl	(%r13), %ecx
	movl	(%rax), %edi
	leal	(%rdi,%rcx), %eax
	movq	_TUI_CMD_WIN@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	movl	(%rbx), %esi
	leal	(%rsi,%rax), %r9d
	cmpq	%r14, %rbx
	je	LBB0_19
## %bb.17:
	movq	_MIN_WIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%esi, %eax
	addl	%edx, %eax
	jle	LBB0_21
LBB0_18:
	cmpq	%r14, %r13
	cmovel	%edi, %ecx
	addl	%r15d, %esi
	addl	%ecx, %esi
	cmpl	%r12d, %r8d
	setle	%al
	cmpl	%r9d, %esi
	setle	%bl
	andb	%al, %bl
	jmp	LBB0_26
LBB0_19:
	addl	%eax, %edx
	movq	_MIN_WIN_HEIGHT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	addl	%ecx, %ecx
	cmpl	%ecx, %edx
	setge	%bl
	movq	_MIN_CMD_WIN_HEIGHT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	cmpl	%r12d, %edx
	setle	%cl
	andb	%bl, %cl
	addl	%eax, %r15d
	xorl	%ebx, %ebx
	testb	%cl, %cl
	cmovel	%r9d, %r15d
	cmovel	%ebx, %edx
	cmpl	%r12d, %edx
	setle	%al
	cmpl	%r9d, %r15d
	setle	%dl
	cmpb	$1, %cl
	jne	LBB0_26
## %bb.20:
	andb	%dl, %al
	movl	%eax, %ebx
	jmp	LBB0_26
LBB0_21:
	cmpq	%r14, %r13
	je	LBB0_24
## %bb.22:
	addl	%ecx, %edx
	cmpl	%r8d, %edx
	jge	LBB0_18
	jmp	LBB0_25
LBB0_24:
	addl	%edi, %edx
	cmpl	%r8d, %edx
	jge	LBB0_18
LBB0_25:
	xorl	%ebx, %ebx
LBB0_26:
	movzbl	%bl, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRC_COMMAND,4,2                ## @SRC_COMMAND
	.comm	_DISASSEM_COMMAND,4,2           ## @DISASSEM_COMMAND
	.comm	_CMD_WIN,8,3                    ## @CMD_WIN
	.comm	_MIN_CMD_WIN_HEIGHT,4,2         ## @MIN_CMD_WIN_HEIGHT
	.comm	_MIN_WIN_HEIGHT,4,2             ## @MIN_WIN_HEIGHT
	.comm	_TUI_CMD_WIN,8,3                ## @TUI_CMD_WIN
	.comm	_SRC_DISASSEM_COMMAND,4,2       ## @SRC_DISASSEM_COMMAND
	.comm	_TUI_SRC_WIN,8,3                ## @TUI_SRC_WIN
	.comm	_TUI_DISASM_WIN,8,3             ## @TUI_DISASM_WIN
	.comm	_TUI_DATA_WIN,8,3               ## @TUI_DATA_WIN
	.no_dead_strip	_new_height_ok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function new_height_ok
_new_height_ok:                         ; @new_height_ok
	.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, x1
	mov	x20, x0
	bl	_tui_term_height
	cmp	w0, w19
	b.le	LBB0_7
; %bb.1:
	bl	_tui_current_layout
	ldr	w21, [x20]
Lloh0:
	adrp	x8, _SRC_COMMAND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SRC_COMMAND@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DISASSEM_COMMAND@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DISASSEM_COMMAND@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_9
; %bb.2:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x22, _CMD_WIN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _CMD_WIN@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.3:
	bl	_tui_term_height
	sub	w8, w0, #4
	cmp	w8, w19
	b.lt	LBB0_5
; %bb.4:
Lloh8:
	adrp	x8, _MIN_CMD_WIN_HEIGHT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MIN_CMD_WIN_HEIGHT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	cmp	w8, w19
	b.le	LBB0_17
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
LBB0_6:
	cmp	x8, x9
	b.ne	LBB0_15
LBB0_7:
	mov	w0, #0
LBB0_8:
	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
LBB0_9:
Lloh11:
	adrp	x8, _SRC_DISASSEM_COMMAND@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SRC_DISASSEM_COMMAND@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:
Lloh14:
	adrp	x8, _TUI_SRC_WIN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TUI_SRC_WIN@GOTPAGEOFF]
Lloh16:
	ldr	x22, [x8]
Lloh17:
	adrp	x8, _TUI_DISASM_WIN@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TUI_DISASM_WIN@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh19:
	adrp	x8, _TUI_DATA_WIN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TUI_DATA_WIN@GOTPAGEOFF]
Lloh21:
	ldr	x22, [x8]
	bl	_tui_source_windows
	ldr	x8, [x0]
LBB0_12:
	ldr	x8, [x8]
	sub	w12, w21, w19
	ldr	w9, [x22]
Lloh22:
	adrp	x11, _TUI_CMD_WIN@GOTPAGE
Lloh23:
	ldr	x11, [x11, _TUI_CMD_WIN@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh24:
	ldr	x14, [x11]
	ldr	w11, [x14]
	add	w13, w10, w9
	add	w8, w11, w13
	cmp	x14, x20
	b.eq	LBB0_20
; %bb.13:
Lloh25:
	adrp	x13, _MIN_WIN_HEIGHT@GOTPAGE
Lloh26:
	ldr	x13, [x13, _MIN_WIN_HEIGHT@GOTPAGEOFF]
Lloh27:
	ldr	w13, [x13]
	add	w14, w11, w12
	cmp	w14, #0
	b.le	LBB0_22
LBB0_14:
	cmp	x22, x20
	csel	w9, w10, w9, eq
	add	w10, w11, w21
	add	w9, w10, w9
	cmp	w13, w19
	ccmp	w9, w8, #0, le
	cset	w0, le
	b	LBB0_8
LBB0_15:
	bl	_tui_term_height
	mov	x8, x0
	mov	w0, #0
	sub	w8, w8, #2
	cmp	w8, w19
	b.lt	LBB0_8
; %bb.16:
Lloh28:
	adrp	x8, _MIN_WIN_HEIGHT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MIN_WIN_HEIGHT@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	cmp	w8, w19
	b.gt	LBB0_8
LBB0_17:
Lloh31:
	adrp	x8, _TUI_CMD_WIN@GOTPAGE
Lloh32:
	ldr	x8, [x8, _TUI_CMD_WIN@GOTPAGEOFF]
Lloh33:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_19
; %bb.18:
	bl	_tui_source_windows
	ldr	x8, [x0]
	ldr	x8, [x8]
LBB0_19:
	ldr	w8, [x8]
	add	w19, w8, w21
	bl	_tui_term_height
	cmp	w19, w0
	cset	w0, le
	b	LBB0_8
LBB0_20:
	mov	w0, #0
	add	w9, w13, w12
Lloh34:
	adrp	x10, _MIN_WIN_HEIGHT@GOTPAGE
Lloh35:
	ldr	x10, [x10, _MIN_WIN_HEIGHT@GOTPAGEOFF]
Lloh36:
	ldr	w10, [x10]
	cmp	w9, w10, lsl #1
Lloh37:
	adrp	x9, _MIN_CMD_WIN_HEIGHT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _MIN_CMD_WIN_HEIGHT@GOTPAGEOFF]
	cset	w10, ge
Lloh39:
	ldr	w9, [x9]
	cmp	w9, w19
	add	w11, w13, w21
	cset	w12, le
	ands	w10, w10, w12
	csel	w11, w11, w8, ne
	csel	w9, w9, wzr, ne
	cmp	w9, w19
	ccmp	w11, w8, #0, le
	cset	w8, le
	cmp	w10, #1
	b.ne	LBB0_8
; %bb.21:
	mov	x0, x8
	b	LBB0_8
LBB0_22:
	cmp	x22, x20
	b.eq	LBB0_24
; %bb.23:
	add	w12, w9, w12
	cmp	w12, w13
	b.ge	LBB0_14
	b	LBB0_7
LBB0_24:
	add	w12, w10, w12
	cmp	w12, w13
	b.ge	LBB0_14
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_SRC_COMMAND,4,2                ; @SRC_COMMAND
	.comm	_DISASSEM_COMMAND,4,2           ; @DISASSEM_COMMAND
	.comm	_CMD_WIN,8,3                    ; @CMD_WIN
	.comm	_MIN_CMD_WIN_HEIGHT,4,2         ; @MIN_CMD_WIN_HEIGHT
	.comm	_MIN_WIN_HEIGHT,4,2             ; @MIN_WIN_HEIGHT
	.comm	_TUI_CMD_WIN,8,3                ; @TUI_CMD_WIN
	.comm	_SRC_DISASSEM_COMMAND,4,2       ; @SRC_DISASSEM_COMMAND
	.comm	_TUI_SRC_WIN,8,3                ; @TUI_SRC_WIN
	.comm	_TUI_DISASM_WIN,8,3             ; @TUI_DISASM_WIN
	.comm	_TUI_DATA_WIN,8,3               ; @TUI_DATA_WIN
	.no_dead_strip	_new_height_ok
.subsections_via_symbols
