	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doupdate                       ## -- Begin function doupdate
	.p2align	4, 0x90
_doupdate:                              ## @doupdate
	.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
	subq	$200, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_virtual_scr@GOTPCREL(%rip), %rax
	movq	_nc_attributes@GOTPCREL(%rip), %rcx
	movq	_A_NC_BIG5@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_FALSE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rbx
	movl	%ebx, %esi
	movl	%ebx, -172(%rbp)                ## 4-byte Spill
	testl	%edx, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -172(%rbp)                ## 4-byte Spill
LBB0_2:
	movq	(%rax), %r12
	movq	_Repaint_screen@GOTPCREL(%rip), %rax
	cmpb	$0, (%rax)
	movq	%r12, -104(%rbp)                ## 8-byte Spill
	je	LBB0_15
## %bb.3:
	movq	_String_table@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_cl__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_32
## %bb.4:
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_String_Out
LBB0_5:
	movq	_curscr@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	cmpl	$0, 4(%rdi)
	jle	LBB0_14
## %bb.6:
	leaq	24(%rdi), %r13
	movq	_STAND@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	incl	%r15d
	addq	$40, %r13
	movq	(%r12), %rdi
	cmpl	4(%rdi), %r15d
	jge	LBB0_14
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%r13), %r13
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_Position
	movq	(%r13), %rdx
	movb	(%rdx), %al
	movl	$0, %ebx
	testb	%al, %al
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rcx
	movslq	(%rcx), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=2
	movq	8(%r13), %rcx
	movsbl	(%rcx,%rbx), %esi
	movsbl	%al, %edi
	movl	%ebx, %r8d
	callq	_Char_out
	movq	(%r13), %rdx
	movzbl	1(%rdx,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_10
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$0, (%r14)
	je	LBB0_7
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%r14)
	movq	(%r12), %rdi
	movl	%r15d, %esi
	movl	%ebx, %edx
	callq	_Position
	xorl	%eax, %eax
	callq	_attribute_off
	jmp	LBB0_7
LBB0_14:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	_Repaint_screen@GOTPCREL(%rip), %rax
	movb	%bl, (%rax)
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_16
LBB0_15:
	movq	_curscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
LBB0_16:
	movq	24(%rdi), %r15
	movq	_top_of_win@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	leaq	24(%r12), %r14
	movl	4(%r12), %eax
	testl	%eax, %eax
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	jle	LBB0_22
## %bb.17:
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	movq	%r14, %rbx
	xorl	%r14d, %r14d
	movq	_TRUE@GOTPCREL(%rip), %r13
	movq	_virtual_lines@GOTPCREL(%rip), %r12
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	movq	40(%r15), %r15
	addq	$40, %rbx
	incq	%r14
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movslq	4(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_21
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rbx
	movq	(%r13), %rax
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_Comp_line
	testl	%eax, %eax
	jle	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12), %rcx
	movq	%rax, (%rcx,%r14,8)
	movl	(%r13), %eax
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_18
LBB0_21:
	movq	_top_of_win@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r15
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-128(%rbp), %rbx                ## 8-byte Reload
LBB0_22:
	testl	%ebx, %ebx
	je	LBB0_134
## %bb.23:
	movl	%eax, %ecx
	movq	(%r14), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	_virtual_lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	%ecx, %eax
	sarl	$31, %eax
	andl	%ecx, %eax
	movq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	testl	%esi, %esi
	jle	LBB0_27
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	-1(%rsi), %rdi
	cmpq	$0, -8(%rdx,%rsi,8)
	movq	%rdi, %rsi
	jne	LBB0_24
## %bb.26:
	incl	%edi
	movl	%edi, %eax
LBB0_27:
	testl	%ecx, %ecx
	jle	LBB0_40
## %bb.28:
	movq	_FALSE@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, (%rdx,%rdi,8)
	jne	LBB0_41
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_29
## %bb.31:
	movl	%ecx, %edi
	jmp	LBB0_41
LBB0_32:
	movq	_LINES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_5
## %bb.33:
	xorl	%ebx, %ebx
	movq	_ce__@GOTPCREL(%rip), %r13
	movq	-104(%rbp), %r12                ## 8-byte Reload
	jmp	LBB0_36
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_36 Depth=1
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_String_Out
LBB0_35:                                ##   in Loop: Header=BB0_36 Depth=1
	incl	%ebx
	movq	_LINES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jge	LBB0_5
LBB0_36:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_39 Depth 2
	movq	_curscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_Position
	movq	(%r14), %rax
	movq	(%r13), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	jne	LBB0_34
## %bb.37:                              ##   in Loop: Header=BB0_36 Depth=1
	cmpl	$0, (%r12)
	jle	LBB0_35
## %bb.38:                              ##   in Loop: Header=BB0_36 Depth=1
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_39:                                ##   Parent Loop BB0_36 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$32, %edi
	callq	_putchar
	incl	%r15d
	cmpl	(%r12), %r15d
	jl	LBB0_39
	jmp	LBB0_35
LBB0_40:
	xorl	%edi, %edi
LBB0_41:
	testl	%eax, %eax
	jle	LBB0_134
## %bb.42:
	movq	_nc_scrolling_ability@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_134
## %bb.43:
	movl	%eax, %eax
	movq	%rax, -232(%rbp)                ## 8-byte Spill
	movl	$1, %esi
	movl	$2, -188(%rbp)                  ## 4-byte Folded Spill
	xorl	%ebx, %ebx
	jmp	LBB0_44
	.p2align	4, 0x90
LBB0_50:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	_virtual_lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%rbx,8)
	je	LBB0_52
## %bb.51:                              ##   in Loop: Header=BB0_44 Depth=1
	incq	%rbx
	cmpq	-232(%rbp), %rbx                ## 8-byte Folded Reload
	jge	LBB0_134
LBB0_133:                               ##   in Loop: Header=BB0_44 Depth=1
	movq	40(%r15), %r15
	movq	-112(%rbp), %rax                ## 8-byte Reload
	movq	40(%rax), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	incq	%rsi
	incl	-188(%rbp)                      ## 4-byte Folded Spill
	movq	_nc_scrolling_ability@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_134
LBB0_44:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_47 Depth 2
                                        ##     Child Loop BB0_57 Depth 2
                                        ##       Child Loop BB0_67 Depth 3
                                        ##       Child Loop BB0_76 Depth 3
                                        ##       Child Loop BB0_82 Depth 3
                                        ##       Child Loop BB0_85 Depth 3
                                        ##       Child Loop BB0_90 Depth 3
                                        ##     Child Loop BB0_98 Depth 2
                                        ##       Child Loop BB0_103 Depth 3
                                        ##       Child Loop BB0_109 Depth 3
                                        ##       Child Loop BB0_113 Depth 3
                                        ##       Child Loop BB0_116 Depth 3
                                        ##       Child Loop BB0_121 Depth 3
	movslq	%edi, %rax
	cmpq	%rax, %rbx
	jl	LBB0_50
## %bb.45:                              ##   in Loop: Header=BB0_44 Depth=1
	movslq	4(%r12), %rax
	movl	%ebx, %edi
	cmpq	%rax, %rbx
	jge	LBB0_50
## %bb.46:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	%eax, %eax
	movq	_virtual_lines@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_FALSE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	%rbx, %rdi
	.p2align	4, 0x90
LBB0_47:                                ##   Parent Loop BB0_44 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, (%rcx,%rdi,8)
	jne	LBB0_50
## %bb.48:                              ##   in Loop: Header=BB0_47 Depth=2
	incq	%rdi
	cmpq	%rdi, %rax
	jne	LBB0_47
## %bb.49:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	%eax, %edi
	jmp	LBB0_50
	.p2align	4, 0x90
LBB0_52:                                ##   in Loop: Header=BB0_44 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	1(%rbx), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	cmpq	$0, 40(%r12)
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	%rsi, -208(%rbp)                ## 8-byte Spill
	movq	%rbx, -128(%rbp)                ## 8-byte Spill
	je	LBB0_93
## %bb.53:                              ##   in Loop: Header=BB0_44 Depth=1
	testl	%edx, %edx
	movl	%edx, %ebx
	je	LBB0_94
## %bb.54:                              ##   in Loop: Header=BB0_44 Depth=1
	movslq	%edi, %rcx
	cmpq	%rcx, -160(%rbp)                ## 8-byte Folded Reload
	jge	LBB0_94
## %bb.55:                              ##   in Loop: Header=BB0_44 Depth=1
	cmpq	$0, (%rax,%rsi,8)
	jne	LBB0_94
## %bb.56:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	40(%r15), %r13
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leaq	-1(%rax), %rcx
	movq	%rcx, -200(%rbp)                ## 8-byte Spill
	movl	%eax, %ecx
	andl	$7, %ecx
	movq	%rcx, -184(%rbp)                ## 8-byte Spill
	movq	%rax, %rcx
	andq	$-8, %rcx
	movq	%rcx, -216(%rbp)                ## 8-byte Spill
	movl	-188(%rbp), %ecx                ## 4-byte Reload
	subl	%eax, %ecx
	movl	%ecx, -168(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_57:                                ##   Parent Loop BB0_44 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_67 Depth 3
                                        ##       Child Loop BB0_76 Depth 3
                                        ##       Child Loop BB0_82 Depth 3
                                        ##       Child Loop BB0_85 Depth 3
                                        ##       Child Loop BB0_90 Depth 3
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_Comp_line
	cmpl	$-1, %eax
	jne	LBB0_59
## %bb.58:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	_virtual_lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_65
LBB0_59:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	40(%r13), %r13
	movq	-152(%rbp), %rdi                ## 8-byte Reload
LBB0_60:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	-136(%rbp), %rsi                ## 8-byte Reload
LBB0_61:                                ##   in Loop: Header=BB0_57 Depth=2
	cmpq	$0, 40(%r12)
	je	LBB0_94
## %bb.62:                              ##   in Loop: Header=BB0_57 Depth=2
	testl	%ebx, %ebx
	je	LBB0_94
## %bb.63:                              ##   in Loop: Header=BB0_57 Depth=2
	incq	%rsi
	cmpl	%esi, %edi
	jle	LBB0_94
## %bb.64:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	_virtual_lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incl	-168(%rbp)                      ## 4-byte Folded Spill
	cmpq	$0, (%rax,%rsi,8)
	je	LBB0_57
	jmp	LBB0_94
LBB0_65:                                ##   in Loop: Header=BB0_57 Depth=2
	movslq	4(%r12), %rax
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	cmpq	%rax, %rsi
	jge	LBB0_69
## %bb.66:                              ##   in Loop: Header=BB0_57 Depth=2
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
	movq	-112(%rbp), %r12                ## 8-byte Reload
	movq	%r13, %rbx
	.p2align	4, 0x90
LBB0_67:                                ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_Comp_line
	testl	%eax, %eax
	jg	LBB0_70
## %bb.68:                              ##   in Loop: Header=BB0_67 Depth=3
	movq	40(%rbx), %rbx
	movq	40(%r12), %r12
	movl	%r14d, %eax
	incl	%r14d
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	addl	%esi, %eax
	incl	%eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpl	4(%rcx), %eax
	jl	LBB0_67
	jmp	LBB0_71
LBB0_69:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_61
LBB0_70:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	-136(%rbp), %rsi                ## 8-byte Reload
LBB0_71:                                ##   in Loop: Header=BB0_57 Depth=2
	leal	(%rsi,%r14), %r12d
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	cmpl	$4, %r14d
	jb	LBB0_92
## %bb.72:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	_String_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_cs__@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	movq	-128(%rbp), %r13                ## 8-byte Reload
	je	LBB0_74
## %bb.73:                              ##   in Loop: Header=BB0_57 Depth=2
	movl	%r13d, -92(%rbp)
	leal	-1(%r12), %edi
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	4(%rax), %esi
	decl	%esi
	callq	_min
	movl	%eax, -96(%rbp)
	movq	(%r15), %rax
	movq	(%rbx), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_String_Out
	movq	-136(%rbp), %rsi                ## 8-byte Reload
	movq	_Curr_x@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_Curr_y@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_74:                                ##   in Loop: Header=BB0_57 Depth=2
	cmpl	%r13d, %esi
	movl	-120(%rbp), %ebx                ## 4-byte Reload
	jle	LBB0_78
## %bb.75:                              ##   in Loop: Header=BB0_57 Depth=2
	decl	%r12d
	movl	-168(%rbp), %ebx                ## 4-byte Reload
	movq	-104(%rbp), %r14                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_76:                                ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	4(%r14), %esi
	decl	%esi
	movl	%r12d, %edi
	callq	_min
	movl	%r13d, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_Delete_line
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_76
## %bb.77:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_78:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	(%r15), %rax
	movq	_cs__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_80
## %bb.79:                              ##   in Loop: Header=BB0_57 Depth=2
	movl	$0, -92(%rbp)
	movq	_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movl	%eax, -96(%rbp)
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_String_Out
	movq	_Curr_x@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_Curr_y@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_80:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	_curscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %r15
	movq	_top_of_win@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	testq	%r13, %r13
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	je	LBB0_86
## %bb.81:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	-216(%rbp), %rax                ## 8-byte Reload
	cmpq	$7, -200(%rbp)                  ## 8-byte Folded Reload
	jb	LBB0_83
	.p2align	4, 0x90
LBB0_82:                                ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	40(%r15), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %r15
	addq	$-8, %rax
	jne	LBB0_82
LBB0_83:                                ##   in Loop: Header=BB0_57 Depth=2
	cmpq	$0, -184(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_86
## %bb.84:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	-184(%rbp), %rax                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_85:                                ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	40(%r15), %r15
	decq	%rax
	jne	LBB0_85
LBB0_86:                                ##   in Loop: Header=BB0_57 Depth=2
	movslq	4(%r12), %rax
	movq	%r13, %rbx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r13, %rcx
	movq	%r15, %r13
	cmpq	%rax, %rcx
	jl	LBB0_90
## %bb.87:                              ##   in Loop: Header=BB0_57 Depth=2
	movq	%r15, %r13
LBB0_88:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	-120(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_60
	.p2align	4, 0x90
LBB0_89:                                ##   in Loop: Header=BB0_90 Depth=3
	movq	(%rcx), %rax
	movq	_virtual_lines@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	40(%r13), %r13
	movq	40(%r14), %r14
	incq	%rbx
	movslq	4(%r12), %rax
	cmpq	%rax, %rbx
	jge	LBB0_88
LBB0_90:                                ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_57 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_Comp_line
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jle	LBB0_89
## %bb.91:                              ##   in Loop: Header=BB0_90 Depth=3
	movq	_FALSE@GOTPCREL(%rip), %rcx
	jmp	LBB0_89
LBB0_92:                                ##   in Loop: Header=BB0_57 Depth=2
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movl	-120(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_61
LBB0_93:                                ##   in Loop: Header=BB0_44 Depth=1
	movl	%edx, %ebx
	.p2align	4, 0x90
LBB0_94:                                ##   in Loop: Header=BB0_44 Depth=1
	cmpq	$0, 32(%r12)
	je	LBB0_129
## %bb.95:                              ##   in Loop: Header=BB0_44 Depth=1
	movl	%ebx, -120(%rbp)                ## 4-byte Spill
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	testq	%rbx, %rbx
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	je	LBB0_130
## %bb.96:                              ##   in Loop: Header=BB0_44 Depth=1
	cmpl	$0, -120(%rbp)                  ## 4-byte Folded Reload
	je	LBB0_130
## %bb.97:                              ##   in Loop: Header=BB0_44 Depth=1
	movq	48(%r15), %r12
	leaq	-1(%rbx), %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	movl	%ebx, %eax
	andl	$7, %eax
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%rbx, %rax
	andq	$-8, %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	movl	$2, -184(%rbp)                  ## 4-byte Folded Spill
	movl	%ebx, %r13d
	.p2align	4, 0x90
LBB0_98:                                ##   Parent Loop BB0_44 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_103 Depth 3
                                        ##       Child Loop BB0_109 Depth 3
                                        ##       Child Loop BB0_113 Depth 3
                                        ##       Child Loop BB0_116 Depth 3
                                        ##       Child Loop BB0_121 Depth 3
	leal	-1(%r13), %ecx
	movq	_virtual_lines@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax,%rcx,8)
	jne	LBB0_127
## %bb.99:                              ##   in Loop: Header=BB0_98 Depth=2
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	%r12, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_Comp_line
	cmpl	$-1, %eax
	movq	%r13, -168(%rbp)                ## 8-byte Spill
	je	LBB0_101
## %bb.100:                             ##   in Loop: Header=BB0_98 Depth=2
	movq	48(%r12), %r12
	jmp	LBB0_123
	.p2align	4, 0x90
LBB0_101:                               ##   in Loop: Header=BB0_98 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movslq	4(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_123
## %bb.102:                             ##   in Loop: Header=BB0_98 Depth=2
	xorl	%r14d, %r14d
	movq	-112(%rbp), %r13                ## 8-byte Reload
	movq	%r12, %rbx
	.p2align	4, 0x90
LBB0_103:                               ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_98 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_Comp_line
	testl	%eax, %eax
	jg	LBB0_105
## %bb.104:                             ##   in Loop: Header=BB0_103 Depth=3
	movq	40(%rbx), %rbx
	movq	40(%r13), %r13
	movl	%r14d, %eax
	incl	%r14d
	movq	-128(%rbp), %rcx                ## 8-byte Reload
	addl	%ecx, %eax
	incl	%eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpl	4(%rcx), %eax
	jl	LBB0_103
LBB0_105:                               ##   in Loop: Header=BB0_98 Depth=2
	movq	-128(%rbp), %rax                ## 8-byte Reload
	leal	(%rax,%r14), %r13d
	cmpl	$4, %r14d
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	-120(%rbp), %ecx                ## 4-byte Reload
	jb	LBB0_124
## %bb.106:                             ##   in Loop: Header=BB0_98 Depth=2
	movq	_String_table@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_cs__@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	cmpq	$0, (%rax,%rcx,8)
	movq	-104(%rbp), %r14                ## 8-byte Reload
	je	LBB0_108
## %bb.107:                             ##   in Loop: Header=BB0_98 Depth=2
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movl	%eax, -92(%rbp)
	leal	-1(%r13), %edi
	movl	4(%r14), %esi
	decl	%esi
	callq	_min
	movl	%eax, -96(%rbp)
	movq	(%r15), %rax
	movq	(%r12), %rcx
	movq	(%rax,%rcx,8), %rdi
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_String_Out
	movq	_Curr_x@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_Curr_y@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_108:                               ##   in Loop: Header=BB0_98 Depth=2
	decl	%r13d
	movl	-184(%rbp), %ebx                ## 4-byte Reload
	movq	-136(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_109:                               ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_98 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movl	4(%r14), %esi
	decl	%esi
	movl	%r13d, %edi
	callq	_min
	movl	%r12d, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_Insert_line
	decl	%ebx
	cmpl	$1, %ebx
	jg	LBB0_109
## %bb.110:                             ##   in Loop: Header=BB0_98 Depth=2
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	(%r15), %rax
	movq	_cs__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_112
## %bb.111:                             ##   in Loop: Header=BB0_98 Depth=2
	movl	$0, -92(%rbp)
	movq	_LINES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	movl	%eax, -96(%rbp)
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_String_Out
	movq	_Curr_x@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
	movq	_Curr_y@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_112:                               ##   in Loop: Header=BB0_98 Depth=2
	movq	_curscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	24(%rax), %r15
	movq	_top_of_win@GOTPCREL(%rip), %rax
	movq	%r15, (%rax)
	movq	-224(%rbp), %rax                ## 8-byte Reload
	cmpq	$7, -216(%rbp)                  ## 8-byte Folded Reload
	movq	-128(%rbp), %rdx                ## 8-byte Reload
	jb	LBB0_114
	.p2align	4, 0x90
LBB0_113:                               ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_98 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	40(%r15), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %rcx
	movq	40(%rcx), %r15
	addq	$-8, %rax
	jne	LBB0_113
LBB0_114:                               ##   in Loop: Header=BB0_98 Depth=2
	cmpq	$0, -200(%rbp)                  ## 8-byte Folded Reload
	je	LBB0_117
## %bb.115:                             ##   in Loop: Header=BB0_98 Depth=2
	movq	-200(%rbp), %rax                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_116:                               ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_98 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	40(%r15), %r15
	decq	%rax
	jne	LBB0_116
LBB0_117:                               ##   in Loop: Header=BB0_98 Depth=2
	movslq	4(%r14), %rax
	movq	%rdx, %rbx
	movq	-112(%rbp), %r14                ## 8-byte Reload
	movq	%r15, %r12
	cmpq	%rax, %rdx
	jl	LBB0_121
## %bb.118:                             ##   in Loop: Header=BB0_98 Depth=2
	movq	%r15, %r12
LBB0_119:                               ##   in Loop: Header=BB0_98 Depth=2
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	%r13d, %ecx
	jmp	LBB0_124
	.p2align	4, 0x90
LBB0_120:                               ##   in Loop: Header=BB0_121 Depth=3
	movq	(%rcx), %rax
	movq	_virtual_lines@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, (%rcx,%rbx,8)
	movq	40(%r12), %r12
	movq	40(%r14), %r14
	incq	%rbx
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movslq	4(%rax), %rax
	cmpq	%rax, %rbx
	jge	LBB0_119
LBB0_121:                               ##   Parent Loop BB0_44 Depth=1
                                        ##     Parent Loop BB0_98 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_Comp_line
	movq	_TRUE@GOTPCREL(%rip), %rcx
	testl	%eax, %eax
	jle	LBB0_120
## %bb.122:                             ##   in Loop: Header=BB0_121 Depth=3
	movq	_FALSE@GOTPCREL(%rip), %rcx
	jmp	LBB0_120
	.p2align	4, 0x90
LBB0_123:                               ##   in Loop: Header=BB0_98 Depth=2
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	movl	-120(%rbp), %ecx                ## 4-byte Reload
LBB0_124:                               ##   in Loop: Header=BB0_98 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 32(%rax)
	je	LBB0_131
## %bb.125:                             ##   in Loop: Header=BB0_98 Depth=2
	cmpl	$2, -168(%rbp)                  ## 4-byte Folded Reload
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	jl	LBB0_127
## %bb.126:                             ##   in Loop: Header=BB0_98 Depth=2
	incl	-184(%rbp)                      ## 4-byte Folded Spill
	movq	-136(%rbp), %r13                ## 8-byte Reload
                                        ## kill: def $r13d killed $r13d killed $r13 def $r13
	movl	%ecx, -120(%rbp)                ## 4-byte Spill
	testl	%ecx, %ecx
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_98
LBB0_127:                               ##   in Loop: Header=BB0_44 Depth=1
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
	cmpq	-232(%rbp), %rbx                ## 8-byte Folded Reload
	jl	LBB0_133
	jmp	LBB0_134
LBB0_130:                               ##   in Loop: Header=BB0_44 Depth=1
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	cmpq	-232(%rbp), %rbx                ## 8-byte Folded Reload
	jl	LBB0_133
	jmp	LBB0_134
LBB0_129:                               ##   in Loop: Header=BB0_44 Depth=1
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_132
LBB0_131:                               ##   in Loop: Header=BB0_44 Depth=1
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	-104(%rbp), %r12                ## 8-byte Reload
LBB0_132:                               ##   in Loop: Header=BB0_44 Depth=1
	movq	-208(%rbp), %rsi                ## 8-byte Reload
	cmpq	-232(%rbp), %rbx                ## 8-byte Folded Reload
	jl	LBB0_133
LBB0_134:
	movq	_curscr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%r12), %ecx
	movq	24(%rax), %r13
	testl	%ecx, %ecx
	jle	LBB0_140
## %bb.135:
	leal	-1(%rcx), %edx
	movl	%ecx, %eax
	andl	$7, %eax
	cmpl	$7, %edx
	jb	LBB0_138
## %bb.136:
	andl	$-8, %ecx
	.p2align	4, 0x90
LBB0_137:                               ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rdx
	movq	40(%rdx), %rdx
	movq	40(%rdx), %rdx
	movq	40(%rdx), %rdx
	movq	40(%rdx), %rdx
	movq	40(%rdx), %rdx
	movq	40(%rdx), %rdx
	movq	40(%rdx), %r13
	addl	$-8, %ecx
	jne	LBB0_137
LBB0_138:
	testl	%eax, %eax
	je	LBB0_140
	.p2align	4, 0x90
LBB0_139:                               ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %r13
	decl	%eax
	jne	LBB0_139
LBB0_140:
	movq	_top_of_win@GOTPCREL(%rip), %rax
	movq	%r13, (%rax)
	cmpl	$0, 4(%r12)
	jle	LBB0_222
## %bb.141:
	movq	_STAND@GOTPCREL(%rip), %rsi
	xorl	%ebx, %ebx
	jmp	LBB0_143
	.p2align	4, 0x90
LBB0_142:                               ##   in Loop: Header=BB0_143 Depth=1
	movl	%ebx, 24(%r14)
	incl	%ebx
	movq	40(%r13), %r13
	addq	$40, %r14
	cmpl	4(%r15), %ebx
	movq	%r15, %r12
	jge	LBB0_222
LBB0_143:                               ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_151 Depth 2
                                        ##       Child Loop BB0_155 Depth 3
                                        ##       Child Loop BB0_162 Depth 3
                                        ##     Child Loop BB0_195 Depth 2
                                        ##       Child Loop BB0_198 Depth 3
                                        ##       Child Loop BB0_209 Depth 3
	movl	%ebx, -112(%rbp)                ## 4-byte Spill
	movq	(%r14), %r14
	movq	_String_table@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ic__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	jne	LBB0_145
## %bb.144:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	_im__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_191
LBB0_145:                               ##   in Loop: Header=BB0_143 Depth=1
	movq	_dc__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_191
## %bb.146:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	(%r13), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_191
## %bb.147:                             ##   in Loop: Header=BB0_143 Depth=1
	cmpb	$0, -172(%rbp)                  ## 1-byte Folded Reload
	jne	LBB0_191
## %bb.148:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	(%r14), %r13
	movb	(%r13), %al
	testb	%al, %al
	je	LBB0_215
## %bb.149:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	%rcx, -128(%rbp)                ## 8-byte Spill
	movq	8(%r14), %r14
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movq	8(%rcx), %rcx
	movq	%rcx, -136(%rbp)                ## 8-byte Spill
	movq	_TRUE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%rcx, -168(%rbp)                ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_151
	.p2align	4, 0x90
LBB0_150:                               ##   in Loop: Header=BB0_151 Depth=2
	movb	(%r13,%rbx), %al
	testb	%al, %al
	je	LBB0_217
LBB0_151:                               ##   Parent Loop BB0_143 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_155 Depth 3
                                        ##       Child Loop BB0_162 Depth 3
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	cmpl	(%rcx), %r12d
	jge	LBB0_216
## %bb.152:                             ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$0, (%rsi)
	je	LBB0_161
## %bb.153:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	_Booleans@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_xs__@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	$0, (%rcx,%rdx,8)
	je	LBB0_161
## %bb.154:                             ##   in Loop: Header=BB0_151 Depth=2
	movslq	%r12d, %rcx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	cmpb	(%rdi,%rcx), %al
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_160
	.p2align	4, 0x90
LBB0_155:                               ##   Parent Loop BB0_143 Depth=1
                                        ##     Parent Loop BB0_151 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r14,%rcx), %edx
	testb	%dl, %dl
	je	LBB0_166
## %bb.156:                             ##   in Loop: Header=BB0_155 Depth=3
	cmpb	(%rbx,%rcx), %dl
	jne	LBB0_166
## %bb.157:                             ##   in Loop: Header=BB0_155 Depth=3
	testb	%al, %al
	je	LBB0_166
## %bb.158:                             ##   in Loop: Header=BB0_155 Depth=3
	leaq	1(%rcx), %r12
	movzbl	1(%r13,%rcx), %eax
	cmpb	1(%rdi,%rcx), %al
	movq	%r12, %rcx
	je	LBB0_155
## %bb.159:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	%r12, %rcx
LBB0_160:                               ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$0, (%r14,%rcx)
	jne	LBB0_168
	jmp	LBB0_167
	.p2align	4, 0x90
LBB0_161:                               ##   in Loop: Header=BB0_151 Depth=2
	movslq	%r12d, %rcx
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	cmpb	(%rdi,%rcx), %al
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_168
	.p2align	4, 0x90
LBB0_162:                               ##   Parent Loop BB0_143 Depth=1
                                        ##     Parent Loop BB0_151 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r14,%rcx), %edx
	cmpb	(%rbx,%rcx), %dl
	jne	LBB0_165
## %bb.163:                             ##   in Loop: Header=BB0_162 Depth=3
	testb	%al, %al
	je	LBB0_165
## %bb.164:                             ##   in Loop: Header=BB0_162 Depth=3
	leaq	1(%rcx), %r12
	movzbl	1(%r13,%rcx), %eax
	cmpb	1(%rdi,%rcx), %al
	movq	%r12, %rcx
	je	LBB0_162
	jmp	LBB0_168
LBB0_165:                               ##   in Loop: Header=BB0_151 Depth=2
	movl	%ecx, %r12d
	jmp	LBB0_168
LBB0_166:                               ##   in Loop: Header=BB0_151 Depth=2
	movl	%ecx, %r12d
	cmpb	$0, (%r14,%rcx)
	jne	LBB0_168
LBB0_167:                               ##   in Loop: Header=BB0_151 Depth=2
	movq	_FALSE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rsi)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_Position
	xorl	%eax, %eax
	callq	_attribute_off
	xorl	%eax, %eax
	callq	_attribute_off
	movq	_STAND@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_168:                               ##   in Loop: Header=BB0_151 Depth=2
	movslq	%r12d, %r15
	movb	(%rbx,%r15), %al
	cmpb	%al, (%r14,%r15)
	je	LBB0_172
## %bb.169:                             ##   in Loop: Header=BB0_151 Depth=2
	testb	%al, %al
	je	LBB0_172
## %bb.170:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	_Booleans@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_xs__@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_172
## %bb.171:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_Position
	xorl	%eax, %eax
	callq	_attribute_off
	xorl	%eax, %eax
	callq	_attribute_off
	movq	_STAND@GOTPCREL(%rip), %rsi
LBB0_172:                               ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$0, (%r13,%r15)
	je	LBB0_188
## %bb.173:                             ##   in Loop: Header=BB0_151 Depth=2
	cmpl	$0, -168(%rbp)                  ## 4-byte Folded Reload
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_177
## %bb.174:                             ##   in Loop: Header=BB0_151 Depth=2
	cmpq	$0, 32(%rbx)
	je	LBB0_177
## %bb.175:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	16(%rax), %rax
	cmpq	16(%rbx), %rax
	jg	LBB0_177
## %bb.176:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_check_insert
	.p2align	4, 0x90
LBB0_177:                               ##   in Loop: Header=BB0_151 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	movq	%rbx, %rcx
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_check_delete
	movq	_FALSE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, %rcx
	movq	%rdx, -168(%rbp)                ## 8-byte Spill
	movq	%rdx, 32(%rbx)
	testl	%eax, %eax
	movq	-128(%rbp), %rbx                ## 8-byte Reload
	jne	LBB0_179
## %bb.178:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	movq	-120(%rbp), %r8                 ## 8-byte Reload
	callq	_check_insert
	testl	%eax, %eax
	je	LBB0_181
LBB0_179:                               ##   in Loop: Header=BB0_151 Depth=2
	movb	(%rbx,%r15), %al
	cmpb	(%r13,%r15), %al
	jne	LBB0_181
## %bb.180:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movb	(%rax,%r15), %al
	cmpb	(%r14,%r15), %al
	je	LBB0_187
LBB0_181:                               ##   in Loop: Header=BB0_151 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	cmpl	(%rax), %r12d
	jge	LBB0_187
## %bb.182:                             ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$32, (%r13,%r15)
	jne	LBB0_186
## %bb.183:                             ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$0, (%rbx,%r15)
	jne	LBB0_186
## %bb.184:                             ##   in Loop: Header=BB0_151 Depth=2
	movb	(%r14,%r15), %al
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	cmpb	(%rcx,%r15), %al
	jne	LBB0_186
## %bb.185:                             ##   in Loop: Header=BB0_151 Depth=2
	movb	$32, (%rbx,%r15)
	jmp	LBB0_187
	.p2align	4, 0x90
LBB0_186:                               ##   in Loop: Header=BB0_151 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_Position
	movsbl	(%r13,%r15), %edi
	movsbl	(%r14,%r15), %esi
	movq	%rbx, %rdx
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%r12d, %r8d
	callq	_Char_out
LBB0_187:                               ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$1, (%r13,%r15)
	sbbl	$-1, %r12d
	movq	_STAND@GOTPCREL(%rip), %rsi
LBB0_188:                               ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$0, (%rsi)
	movslq	%r12d, %rbx
	je	LBB0_150
## %bb.189:                             ##   in Loop: Header=BB0_151 Depth=2
	cmpb	$0, (%r14,%rbx)
	jne	LBB0_150
## %bb.190:                             ##   in Loop: Header=BB0_151 Depth=2
	movq	_FALSE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rsi)
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_Position
	xorl	%eax, %eax
	callq	_attribute_off
	movq	_STAND@GOTPCREL(%rip), %rsi
	jmp	LBB0_150
	.p2align	4, 0x90
LBB0_191:                               ##   in Loop: Header=BB0_143 Depth=1
	movq	(%r13), %r15
	movq	%r14, %rax
	movq	(%r14), %r14
	movl	(%r12), %esi
	testl	%esi, %esi
	jle	LBB0_211
## %bb.192:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	%r13, %rbx
	movq	8(%r13), %r13
	movq	8(%rax), %rdi
	xorl	%r12d, %r12d
	movq	%rdi, -128(%rbp)                ## 8-byte Spill
	jmp	LBB0_195
LBB0_193:                               ##   in Loop: Header=BB0_195 Depth=2
	movl	%ebx, %r12d
	.p2align	4, 0x90
LBB0_194:                               ##   in Loop: Header=BB0_195 Depth=2
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
	cmpl	%esi, %r12d
	jge	LBB0_212
LBB0_195:                               ##   Parent Loop BB0_143 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_198 Depth 3
                                        ##       Child Loop BB0_209 Depth 3
	movslq	%r12d, %rcx
	movb	(%r14,%rcx), %dl
	testb	%dl, %dl
	je	LBB0_212
## %bb.196:                             ##   in Loop: Header=BB0_195 Depth=2
	cmpb	%dl, (%r15,%rcx)
	jne	LBB0_203
## %bb.197:                             ##   in Loop: Header=BB0_195 Depth=2
	movslq	%esi, %rdx
	movb	$1, %bl
	.p2align	4, 0x90
LBB0_198:                               ##   Parent Loop BB0_143 Depth=1
                                        ##     Parent Loop BB0_195 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movzbl	(%r13,%rcx), %eax
	cmpb	(%rdi,%rcx), %al
	jne	LBB0_202
## %bb.199:                             ##   in Loop: Header=BB0_198 Depth=3
	cmpq	%rdx, %rcx
	jge	LBB0_202
## %bb.200:                             ##   in Loop: Header=BB0_198 Depth=3
	testb	%bl, %bl
	je	LBB0_202
## %bb.201:                             ##   in Loop: Header=BB0_198 Depth=3
	leaq	1(%rcx), %r12
	movzbl	1(%r15,%rcx), %ebx
	cmpb	1(%r14,%rcx), %bl
	movq	%r12, %rcx
	je	LBB0_198
	jmp	LBB0_203
	.p2align	4, 0x90
LBB0_202:                               ##   in Loop: Header=BB0_195 Depth=2
	movl	%ecx, %r12d
LBB0_203:                               ##   in Loop: Header=BB0_195 Depth=2
	cmpb	$0, -172(%rbp)                  ## 1-byte Folded Reload
	je	LBB0_205
## %bb.204:                             ##   in Loop: Header=BB0_195 Depth=2
	movslq	%r12d, %r12
	leaq	-1(%r12), %rbx
	movsbl	-1(%r15,%r12), %edi
	callq	_highbitset
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	testq	%rax, %rax
	cmovnel	%ebx, %r12d
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	(%rax), %esi
LBB0_205:                               ##   in Loop: Header=BB0_195 Depth=2
	cmpl	%esi, %r12d
	jge	LBB0_194
## %bb.206:                             ##   in Loop: Header=BB0_195 Depth=2
	movslq	%r12d, %rbx
	cmpb	$0, (%r14,%rbx)
	je	LBB0_194
## %bb.207:                             ##   in Loop: Header=BB0_195 Depth=2
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_Position
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_CLEAR_TO_EOL
	movq	-104(%rbp), %rdi                ## 8-byte Reload
	movl	-112(%rbp), %esi                ## 4-byte Reload
	movl	%r12d, %edx
	callq	_Position
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movb	(%r14,%rbx), %al
	testb	%al, %al
	je	LBB0_194
## %bb.208:                             ##   in Loop: Header=BB0_195 Depth=2
	movq	-104(%rbp), %r12                ## 8-byte Reload
	.p2align	4, 0x90
LBB0_209:                               ##   Parent Loop BB0_143 Depth=1
                                        ##     Parent Loop BB0_195 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movslq	(%r12), %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_193
## %bb.210:                             ##   in Loop: Header=BB0_209 Depth=3
	movsbl	(%rdi,%rbx), %esi
	movsbl	%al, %edi
	movq	%r15, %rdx
	movq	%r13, %rcx
	movl	%ebx, %r8d
	callq	_Char_out
	movq	-128(%rbp), %rdi                ## 8-byte Reload
	movzbl	1(%r14,%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_209
	jmp	LBB0_193
	.p2align	4, 0x90
LBB0_211:                               ##   in Loop: Header=BB0_143 Depth=1
	xorl	%r12d, %r12d
LBB0_212:                               ##   in Loop: Header=BB0_143 Depth=1
	movslq	%r12d, %rax
	cmpb	$0, (%r14,%rax)
	je	LBB0_214
## %bb.213:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	_STAND@GOTPCREL(%rip), %rsi
	movl	-112(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_220
	.p2align	4, 0x90
LBB0_214:                               ##   in Loop: Header=BB0_143 Depth=1
	cmpb	$0, (%r15,%rax)
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movl	-112(%rbp), %ebx                ## 4-byte Reload
	jne	LBB0_218
	jmp	LBB0_219
LBB0_215:                               ##   in Loop: Header=BB0_143 Depth=1
	xorl	%r12d, %r12d
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movl	-112(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_218
LBB0_216:                               ##   in Loop: Header=BB0_143 Depth=1
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movl	-112(%rbp), %ebx                ## 4-byte Reload
	jmp	LBB0_220
LBB0_217:                               ##   in Loop: Header=BB0_143 Depth=1
	movq	-128(%rbp), %rax                ## 8-byte Reload
	cmpb	$0, (%rax,%rbx)
	movq	-144(%rbp), %r14                ## 8-byte Reload
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movl	-112(%rbp), %ebx                ## 4-byte Reload
	je	LBB0_220
	.p2align	4, 0x90
LBB0_218:                               ##   in Loop: Header=BB0_143 Depth=1
	movq	-104(%rbp), %r15                ## 8-byte Reload
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_Position
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_CLEAR_TO_EOL
LBB0_219:                               ##   in Loop: Header=BB0_143 Depth=1
	movq	_STAND@GOTPCREL(%rip), %rsi
LBB0_220:                               ##   in Loop: Header=BB0_143 Depth=1
	cmpb	$0, (%rsi)
	movq	-104(%rbp), %r15                ## 8-byte Reload
	je	LBB0_142
## %bb.221:                             ##   in Loop: Header=BB0_143 Depth=1
	movq	_FALSE@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movb	%al, (%rsi)
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_Position
	xorl	%eax, %eax
	callq	_attribute_off
	movq	_STAND@GOTPCREL(%rip), %rsi
	jmp	LBB0_142
LBB0_222:
	movl	12(%r12), %esi
	movl	16(%r12), %edx
	movq	%r12, %rdi
	callq	_Position
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_224
## %bb.223:
	addq	$200, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_224:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_virtual_scr,8,3                ## @virtual_scr
	.comm	_nc_attributes,4,2              ## @nc_attributes
	.comm	_A_NC_BIG5,4,2                  ## @A_NC_BIG5
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_Repaint_screen,1,0             ## @Repaint_screen
	.comm	_String_table,8,3               ## @String_table
	.comm	_cl__,8,3                       ## @cl__
	.comm	_LINES,4,2                      ## @LINES
	.comm	_curscr,8,3                     ## @curscr
	.comm	_ce__,8,3                       ## @ce__
	.comm	_STAND,1,0                      ## @STAND
	.comm	_top_of_win,8,3                 ## @top_of_win
	.comm	_virtual_lines,8,3              ## @virtual_lines
	.comm	_nc_scrolling_ability,8,3       ## @nc_scrolling_ability
	.comm	_cs__,8,3                       ## @cs__
	.comm	_Curr_x,4,2                     ## @Curr_x
	.comm	_Curr_y,4,2                     ## @Curr_y
	.comm	_ic__,8,3                       ## @ic__
	.comm	_im__,8,3                       ## @im__
	.comm	_dc__,8,3                       ## @dc__
	.comm	_Booleans,8,3                   ## @Booleans
	.comm	_xs__,8,3                       ## @xs__
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_doupdate                       ; -- Begin function doupdate
	.p2align	2
_doupdate:                              ; @doupdate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _virtual_scr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _virtual_scr@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
Lloh6:
	adrp	x8, _nc_attributes@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nc_attributes@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _A_NC_BIG5@GOTPAGE
Lloh10:
	ldr	x9, [x9, _A_NC_BIG5@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _FALSE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _FALSE@GOTPAGEOFF]
Lloh14:
	ldr	x21, [x10]
Lloh15:
	adrp	x27, _TRUE@GOTPAGE
Lloh16:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	ldr	w10, [x27]
	tst	w9, w8
	csel	w8, w21, w10, eq
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
Lloh17:
	adrp	x22, _Repaint_screen@GOTPAGE
Lloh18:
	ldr	x22, [x22, _Repaint_screen@GOTPAGEOFF]
	ldrb	w8, [x22]
Lloh19:
	adrp	x25, _curscr@GOTPAGE
Lloh20:
	ldr	x25, [x25, _curscr@GOTPAGEOFF]
Lloh21:
	adrp	x24, _String_table@GOTPAGE
Lloh22:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
Lloh23:
	adrp	x28, _STAND@GOTPAGE
Lloh24:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
	cbz	w8, LBB0_15
; %bb.1:
	ldr	x8, [x24]
Lloh25:
	adrp	x9, _cl__@GOTPAGE
Lloh26:
	ldr	x9, [x9, _cl__@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_32
; %bb.2:
	mov	x1, #0
	mov	w2, #0
	bl	_String_Out
LBB0_3:
	ldr	x0, [x25]
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_14
; %bb.4:
	mov	w20, #0
	add	x8, x0, #24
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w20, #1
	add	x8, x23, #40
	ldr	x0, [x25]
	ldr	w9, [x0, #4]
	cmp	w20, w9
	b.ge	LBB0_14
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x23, [x8]
	mov	x1, x20
	mov	w2, #0
	bl	_Position
	ldr	x2, [x23]
	ldrb	w8, [x2]
	cbz	w8, LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, #0
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x25]
	ldrsw	x9, [x9]
	cmp	x21, x9
	b.ge	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	ldr	x3, [x23, #8]
	ldrsb	w1, [x3, x21]
	sxtb	w0, w8
	mov	x4, x21
	bl	_Char_out
	add	x9, x21, #1
	ldr	x2, [x23]
	add	x8, x2, x21
	ldrb	w8, [x8, #1]
	mov	x21, x9
	cbnz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x21, x9
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x28]
	cbnz	w8, LBB0_13
	b	LBB0_5
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w21, #0
	ldrb	w8, [x28]
	cbz	w8, LBB0_5
LBB0_13:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh28:
	adrp	x8, _FALSE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh30:
	ldr	x8, [x8]
	strb	w8, [x28]
	ldr	x0, [x25]
	mov	x1, x20
	mov	x2, x21
	bl	_Position
	bl	_attribute_off
	b	LBB0_5
LBB0_14:
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh33:
	ldr	x21, [x8]
	strb	w21, [x22]
	b	LBB0_16
LBB0_15:
	ldr	x0, [x25]
LBB0_16:
	ldr	x22, [x0, #24]
Lloh34:
	adrp	x8, _top_of_win@GOTPAGE
Lloh35:
	ldr	x8, [x8, _top_of_win@GOTPAGEOFF]
Lloh36:
	str	x22, [x8]
	add	x9, x19, #24
	ldr	w8, [x19, #4]
Lloh37:
	adrp	x26, _virtual_lines@GOTPAGE
Lloh38:
	ldr	x26, [x26, _virtual_lines@GOTPAGEOFF]
	cmp	w8, #1
	str	x9, [sp, #8]                    ; 8-byte Folded Spill
	b.lt	LBB0_22
; %bb.17:
	mov	x23, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	x22, [x22, #40]
	add	x9, x20, #40
	add	x23, x23, #1
	ldrsw	x8, [x19, #4]
	cmp	x23, x8
	b.ge	LBB0_21
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x9]
	ldr	x8, [x27]
	ldr	x9, [x26]
	str	x8, [x9, x23, lsl #3]
	mov	x0, x22
	mov	x1, x20
	bl	_Comp_line
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=1
Lloh39:
	adrp	x8, _FALSE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
	ldr	x9, [x26]
	str	x8, [x9, x23, lsl #3]
	ldr	w21, [x27]
	b	LBB0_18
LBB0_21:
Lloh42:
	adrp	x9, _top_of_win@GOTPAGE
Lloh43:
	ldr	x9, [x9, _top_of_win@GOTPAGEOFF]
Lloh44:
	ldr	x22, [x9]
LBB0_22:
	cbz	w21, LBB0_118
; %bb.23:
	mov	w9, w8
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x21, [x8]
	ldr	x10, [x26]
	cmp	w9, #0
	csel	w8, w9, wzr, lt
	sub	x11, x10, #8
	mov	x12, x9
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	cmp	w12, #1
	b.lt	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	sub	x13, x12, #1
	ldr	x14, [x11, x12, lsl #3]
	mov	x12, x13
	cbnz	x14, LBB0_24
; %bb.26:
	add	w8, w13, #1
LBB0_27:
	cmp	w9, #1
Lloh45:
	adrp	x12, _FALSE@GOTPAGE
Lloh46:
	ldr	x12, [x12, _FALSE@GOTPAGEOFF]
	b.lt	LBB0_40
; %bb.28:
	mov	x11, #0
	ldr	x12, [x12]
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	ldr	x13, [x10, x11, lsl #3]
	cmp	x13, x12
	b.ne	LBB0_41
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	add	x11, x11, #1
	cmp	x9, x11
	b.ne	LBB0_29
; %bb.31:
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	cmp	w8, #1
	b.ge	LBB0_42
	b	LBB0_118
LBB0_32:
Lloh47:
	adrp	x21, _LINES@GOTPAGE
Lloh48:
	ldr	x21, [x21, _LINES@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.33:
	mov	w20, #0
Lloh49:
	adrp	x23, _ce__@GOTPAGE
Lloh50:
	ldr	x23, [x23, _ce__@GOTPAGEOFF]
	b	LBB0_36
LBB0_34:                                ;   in Loop: Header=BB0_36 Depth=1
	mov	x1, #0
	mov	w2, #0
	bl	_String_Out
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
Lloh51:
	adrp	x24, _String_table@GOTPAGE
Lloh52:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
	b.ge	LBB0_3
LBB0_36:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_39 Depth 2
	ldr	x0, [x25]
	mov	x1, x20
	mov	w2, #0
	bl	_Position
	ldr	x8, [x24]
	ldr	x9, [x23]
	ldr	x0, [x8, x9, lsl #3]
	cbnz	x0, LBB0_34
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=1
	mov	w24, #0
LBB0_39:                                ;   Parent Loop BB0_36 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	w0, #32
	bl	_putchar
	add	w24, w24, #1
	ldr	w8, [x19]
	cmp	w24, w8
	b.lt	LBB0_39
	b	LBB0_35
LBB0_40:
	str	xzr, [sp, #56]                  ; 8-byte Folded Spill
	cmp	w8, #1
	b.ge	LBB0_42
	b	LBB0_118
LBB0_41:
                                        ; kill: def $w11 killed $w11 killed $x11 def $x11
	str	x11, [sp, #56]                  ; 8-byte Folded Spill
	cmp	w8, #1
	b.lt	LBB0_118
LBB0_42:
Lloh53:
	adrp	x9, _nc_scrolling_ability@GOTPAGE
Lloh54:
	ldr	x9, [x9, _nc_scrolling_ability@GOTPAGEOFF]
Lloh55:
	ldr	x9, [x9]
	cbz	x9, LBB0_118
; %bb.43:
	mov	x15, #0
	mov	w13, #2
	mov	w14, #1
	mov	w8, w8
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
LBB0_44:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_47 Depth 2
                                        ;     Child Loop BB0_89 Depth 2
                                        ;       Child Loop BB0_98 Depth 3
                                        ;       Child Loop BB0_106 Depth 3
                                        ;       Child Loop BB0_111 Depth 3
                                        ;       Child Loop BB0_113 Depth 3
                                        ;     Child Loop BB0_59 Depth 2
                                        ;       Child Loop BB0_64 Depth 3
                                        ;       Child Loop BB0_71 Depth 3
                                        ;       Child Loop BB0_75 Depth 3
                                        ;       Child Loop BB0_77 Depth 3
	str	x21, [sp, #48]                  ; 8-byte Folded Spill
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	x15, w8, sxtw
Lloh56:
	adrp	x21, _FALSE@GOTPAGE
Lloh57:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	b.lt	LBB0_51
; %bb.45:                               ;   in Loop: Header=BB0_44 Depth=1
	ldrsw	x8, [x19, #4]
	mov	x9, x15
	str	x9, [sp, #56]                   ; 8-byte Folded Spill
	cmp	x15, x8
	b.ge	LBB0_51
; %bb.46:                               ;   in Loop: Header=BB0_44 Depth=1
	and	x8, x8, #0xffffffff
	ldr	x9, [x26]
	ldr	x11, [x21]
	mov	x10, x15
LBB0_47:                                ;   Parent Loop BB0_44 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x9, x10, lsl #3]
	cmp	x12, x11
	b.ne	LBB0_50
; %bb.48:                               ;   in Loop: Header=BB0_47 Depth=2
	add	x10, x10, #1
	cmp	x8, x10
	b.ne	LBB0_47
; %bb.49:                               ;   in Loop: Header=BB0_44 Depth=1
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	str	x8, [sp, #56]                   ; 8-byte Folded Spill
	b	LBB0_51
LBB0_50:                                ;   in Loop: Header=BB0_44 Depth=1
                                        ; kill: def $w10 killed $w10 killed $x10 def $x10
	str	x10, [sp, #56]                  ; 8-byte Folded Spill
LBB0_51:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x8, [x26]
	ldr	x9, [x8, x15, lsl #3]
	cbz	x9, LBB0_53
; %bb.52:                               ;   in Loop: Header=BB0_44 Depth=1
	add	x15, x15, #1
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_86
LBB0_53:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	w12, [x27]
	add	x11, x15, #1
	ldr	x9, [x19, #40]
	ldp	x21, x10, [sp, #48]             ; 16-byte Folded Reload
	sxtw	x10, w10
	cmp	x9, #0
	str	w12, [sp, #64]                  ; 4-byte Folded Spill
	ccmp	w12, #0, #4, ne
	stp	x11, x14, [sp, #16]             ; 16-byte Folded Spill
	ccmp	x11, x10, #0, ne
	str	w13, [sp, #36]                  ; 4-byte Folded Spill
	str	x15, [sp, #72]                  ; 8-byte Folded Spill
	b.ge	LBB0_55
; %bb.54:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x8, [x8, x14, lsl #3]
	cbz	x8, LBB0_88
LBB0_55:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_117
; %bb.56:                               ;   in Loop: Header=BB0_44 Depth=1
Lloh58:
	adrp	x28, _STAND@GOTPAGE
Lloh59:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
Lloh60:
	adrp	x26, _virtual_lines@GOTPAGE
Lloh61:
	ldr	x26, [x26, _virtual_lines@GOTPAGEOFF]
	ldr	w13, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x14, [sp, #24]                  ; 8-byte Folded Reload
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	cbz	x8, LBB0_85
; %bb.57:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	w9, [sp, #64]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_85
; %bb.58:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x24, [x22, #48]
	mov	w28, #2
	mov	x27, x8
LBB0_59:                                ;   Parent Loop BB0_44 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_64 Depth 3
                                        ;       Child Loop BB0_71 Depth 3
                                        ;       Child Loop BB0_75 Depth 3
                                        ;       Child Loop BB0_77 Depth 3
	sub	w23, w27, #1
	ldr	x8, [x26]
	ldr	x8, [x8, w23, uxtw #3]
	cbnz	x8, LBB0_83
; %bb.60:                               ;   in Loop: Header=BB0_59 Depth=2
	mov	x0, x24
	mov	x1, x21
	bl	_Comp_line
	cmn	w0, #1
	b.eq	LBB0_62
; %bb.61:                               ;   in Loop: Header=BB0_59 Depth=2
	ldr	x24, [x24, #48]
	b	LBB0_80
LBB0_62:                                ;   in Loop: Header=BB0_59 Depth=2
	ldrsw	x8, [x19, #4]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	cmp	x9, x8
	b.ge	LBB0_80
; %bb.63:                               ;   in Loop: Header=BB0_59 Depth=2
	mov	x25, x21
	mov	w21, #0
	mov	x26, x24
LBB0_64:                                ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_59 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x26
	mov	x1, x25
	bl	_Comp_line
	cmp	w0, #0
	b.gt	LBB0_66
; %bb.65:                               ;   in Loop: Header=BB0_64 Depth=3
	ldr	x26, [x26, #40]
	ldr	x25, [x25, #40]
	add	w21, w21, #1
	ldr	w8, [x19, #4]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	add	w20, w9, w21
	cmp	w20, w8
	b.lt	LBB0_64
	b	LBB0_67
LBB0_66:                                ;   in Loop: Header=BB0_59 Depth=2
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	add	w20, w8, w21
LBB0_67:                                ;   in Loop: Header=BB0_59 Depth=2
	cmp	w21, #4
Lloh62:
	adrp	x25, _curscr@GOTPAGE
Lloh63:
	ldr	x25, [x25, _curscr@GOTPAGEOFF]
Lloh64:
	adrp	x26, _virtual_lines@GOTPAGE
Lloh65:
	ldr	x26, [x26, _virtual_lines@GOTPAGEOFF]
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b.lo	LBB0_80
; %bb.68:                               ;   in Loop: Header=BB0_59 Depth=2
Lloh66:
	adrp	x24, _String_table@GOTPAGE
Lloh67:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh68:
	adrp	x26, _cs__@GOTPAGE
Lloh69:
	ldr	x26, [x26, _cs__@GOTPAGEOFF]
	ldr	x9, [x26]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_70
; %bb.69:                               ;   in Loop: Header=BB0_59 Depth=2
	str	w23, [sp, #84]
	sub	w0, w20, #1
	ldr	w8, [x19, #4]
	sub	w1, w8, #1
	bl	_min
	str	w0, [sp, #80]
	ldr	x8, [x24]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	add	x1, sp, #80
	mov	w2, #2
	bl	_String_Out
Lloh70:
	adrp	x8, _Curr_x@GOTPAGE
Lloh71:
	ldr	x8, [x8, _Curr_x@GOTPAGEOFF]
	mov	w9, #-1
Lloh72:
	str	w9, [x8]
Lloh73:
	adrp	x8, _Curr_y@GOTPAGE
Lloh74:
	ldr	x8, [x8, _Curr_y@GOTPAGEOFF]
Lloh75:
	str	w9, [x8]
LBB0_70:                                ;   in Loop: Header=BB0_59 Depth=2
	sub	w22, w20, #1
	mov	x20, x28
LBB0_71:                                ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_59 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x19, #4]
	sub	w1, w8, #1
	mov	x0, x22
	bl	_min
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	bl	_Insert_line
	sub	w20, w20, #1
	cmp	w20, #1
	b.gt	LBB0_71
; %bb.72:                               ;   in Loop: Header=BB0_59 Depth=2
Lloh76:
	adrp	x8, _FALSE@GOTPAGE
Lloh77:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh78:
	ldr	w8, [x8]
	str	w8, [sp, #64]                   ; 4-byte Folded Spill
	ldr	x8, [x24]
	ldr	x9, [x26]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_74
; %bb.73:                               ;   in Loop: Header=BB0_59 Depth=2
Lloh79:
	adrp	x8, _LINES@GOTPAGE
Lloh80:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh81:
	ldr	w8, [x8]
	sub	w8, w8, #1
	stp	w8, wzr, [sp, #80]
	add	x1, sp, #80
	mov	w2, #2
	bl	_String_Out
Lloh82:
	adrp	x8, _Curr_x@GOTPAGE
Lloh83:
	ldr	x8, [x8, _Curr_x@GOTPAGEOFF]
	mov	w9, #-1
Lloh84:
	str	w9, [x8]
Lloh85:
	adrp	x8, _Curr_y@GOTPAGE
Lloh86:
	ldr	x8, [x8, _Curr_y@GOTPAGEOFF]
Lloh87:
	str	w9, [x8]
LBB0_74:                                ;   in Loop: Header=BB0_59 Depth=2
	ldr	x8, [x25]
	ldr	x22, [x8, #24]
Lloh88:
	adrp	x8, _top_of_win@GOTPAGE
Lloh89:
	ldr	x8, [x8, _top_of_win@GOTPAGEOFF]
Lloh90:
	str	x22, [x8]
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
LBB0_75:                                ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_59 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x22, [x22, #40]
	subs	x8, x8, #1
	b.ne	LBB0_75
; %bb.76:                               ;   in Loop: Header=BB0_59 Depth=2
	ldrsw	x8, [x19, #4]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	mov	x20, x9
	mov	x25, x21
	mov	x24, x22
	cmp	x9, x8
Lloh91:
	adrp	x26, _TRUE@GOTPAGE
Lloh92:
	ldr	x26, [x26, _TRUE@GOTPAGEOFF]
Lloh93:
	adrp	x21, _FALSE@GOTPAGE
Lloh94:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	b.ge	LBB0_78
LBB0_77:                                ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_59 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x24
	mov	x1, x25
	bl	_Comp_line
	cmp	w0, #0
	csel	x8, x21, x26, gt
	ldr	x8, [x8]
Lloh95:
	adrp	x9, _virtual_lines@GOTPAGE
Lloh96:
	ldr	x9, [x9, _virtual_lines@GOTPAGEOFF]
Lloh97:
	ldr	x9, [x9]
	str	x8, [x9, x20, lsl #3]
	ldr	x24, [x24, #40]
	ldr	x25, [x25, #40]
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_77
	b	LBB0_79
LBB0_78:                                ;   in Loop: Header=BB0_59 Depth=2
	mov	x24, x22
LBB0_79:                                ;   in Loop: Header=BB0_59 Depth=2
Lloh98:
	adrp	x25, _curscr@GOTPAGE
Lloh99:
	ldr	x25, [x25, _curscr@GOTPAGEOFF]
Lloh100:
	adrp	x26, _virtual_lines@GOTPAGE
Lloh101:
	ldr	x26, [x26, _virtual_lines@GOTPAGEOFF]
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
LBB0_80:                                ;   in Loop: Header=BB0_59 Depth=2
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_83
; %bb.81:                               ;   in Loop: Header=BB0_59 Depth=2
	cmp	w27, #2
	b.lt	LBB0_83
; %bb.82:                               ;   in Loop: Header=BB0_59 Depth=2
	add	w28, w28, #1
	mov	x27, x23
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_59
LBB0_83:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
Lloh102:
	adrp	x27, _TRUE@GOTPAGE
Lloh103:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
Lloh104:
	adrp	x24, _String_table@GOTPAGE
Lloh105:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
Lloh106:
	adrp	x28, _STAND@GOTPAGE
Lloh107:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
LBB0_84:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	w13, [sp, #36]                  ; 4-byte Folded Reload
	ldr	x14, [sp, #24]                  ; 8-byte Folded Reload
	b	LBB0_86
LBB0_85:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
LBB0_86:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	cmp	x15, x8
	b.ge	LBB0_118
; %bb.87:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x22, [x22, #40]
	ldr	x21, [x21, #40]
	add	x14, x14, #1
	add	w13, w13, #1
Lloh108:
	adrp	x8, _nc_scrolling_ability@GOTPAGE
Lloh109:
	ldr	x8, [x8, _nc_scrolling_ability@GOTPAGEOFF]
Lloh110:
	ldr	x8, [x8]
	cbnz	x8, LBB0_44
	b	LBB0_118
LBB0_88:                                ;   in Loop: Header=BB0_44 Depth=1
	ldr	x23, [x22, #40]
	ldr	w8, [sp, #36]                   ; 4-byte Folded Reload
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	sub	w26, w8, w9
	mov	x28, x14
LBB0_89:                                ;   Parent Loop BB0_44 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_98 Depth 3
                                        ;       Child Loop BB0_106 Depth 3
                                        ;       Child Loop BB0_111 Depth 3
                                        ;       Child Loop BB0_113 Depth 3
	mov	x0, x23
	mov	x1, x21
	bl	_Comp_line
	cmn	w0, #1
	b.ne	LBB0_91
; %bb.90:                               ;   in Loop: Header=BB0_89 Depth=2
Lloh111:
	adrp	x8, _virtual_lines@GOTPAGE
Lloh112:
	ldr	x8, [x8, _virtual_lines@GOTPAGEOFF]
Lloh113:
	ldr	x8, [x8]
	ldr	x9, [sp, #72]                   ; 8-byte Folded Reload
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_96
LBB0_91:                                ;   in Loop: Header=BB0_89 Depth=2
	ldr	x23, [x23, #40]
LBB0_92:                                ;   in Loop: Header=BB0_89 Depth=2
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_55
; %bb.93:                               ;   in Loop: Header=BB0_89 Depth=2
	ldr	w8, [sp, #64]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_55
; %bb.94:                               ;   in Loop: Header=BB0_89 Depth=2
	add	x28, x28, #1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	cmp	w8, w28
	b.le	LBB0_55
; %bb.95:                               ;   in Loop: Header=BB0_89 Depth=2
Lloh114:
	adrp	x8, _virtual_lines@GOTPAGE
Lloh115:
	ldr	x8, [x8, _virtual_lines@GOTPAGEOFF]
Lloh116:
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
	add	w26, w26, #1
	cbz	x8, LBB0_89
	b	LBB0_55
LBB0_96:                                ;   in Loop: Header=BB0_89 Depth=2
	ldrsw	x8, [x19, #4]
	cmp	x28, x8
	b.ge	LBB0_92
; %bb.97:                               ;   in Loop: Header=BB0_89 Depth=2
	mov	w20, #0
	mov	x24, x21
	mov	x25, x23
LBB0_98:                                ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_89 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x25
	mov	x1, x24
	bl	_Comp_line
	cmp	w0, #0
	b.gt	LBB0_100
; %bb.99:                               ;   in Loop: Header=BB0_98 Depth=3
	ldr	x25, [x25, #40]
	ldr	x24, [x24, #40]
	add	w20, w20, #1
	ldr	w8, [x19, #4]
	add	w27, w28, w20
	cmp	w27, w8
	b.lt	LBB0_98
	b	LBB0_101
LBB0_100:                               ;   in Loop: Header=BB0_89 Depth=2
	add	w27, w28, w20
LBB0_101:                               ;   in Loop: Header=BB0_89 Depth=2
	cmp	w20, #4
Lloh117:
	adrp	x24, _String_table@GOTPAGE
Lloh118:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
Lloh119:
	adrp	x25, _curscr@GOTPAGE
Lloh120:
	ldr	x25, [x25, _curscr@GOTPAGEOFF]
	b.lo	LBB0_114
; %bb.102:                              ;   in Loop: Header=BB0_89 Depth=2
	ldr	x8, [x24]
Lloh121:
	adrp	x20, _cs__@GOTPAGE
Lloh122:
	ldr	x20, [x20, _cs__@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	x8, [x8, x9, lsl #3]
	ldr	x23, [sp, #72]                  ; 8-byte Folded Reload
	cbz	x8, LBB0_104
; %bb.103:                              ;   in Loop: Header=BB0_89 Depth=2
	str	w23, [sp, #84]
	sub	w0, w27, #1
	ldr	w8, [x19, #4]
	sub	w1, w8, #1
	bl	_min
	str	w0, [sp, #80]
	ldr	x8, [x24]
	ldr	x9, [x20]
	ldr	x0, [x8, x9, lsl #3]
	add	x1, sp, #80
	mov	w2, #2
	bl	_String_Out
Lloh123:
	adrp	x8, _Curr_x@GOTPAGE
Lloh124:
	ldr	x8, [x8, _Curr_x@GOTPAGEOFF]
	mov	w9, #-1
Lloh125:
	str	w9, [x8]
Lloh126:
	adrp	x8, _Curr_y@GOTPAGE
Lloh127:
	ldr	x8, [x8, _Curr_y@GOTPAGEOFF]
Lloh128:
	str	w9, [x8]
LBB0_104:                               ;   in Loop: Header=BB0_89 Depth=2
	sub	w8, w28, w23
	cmp	w8, #1
	b.lt	LBB0_108
; %bb.105:                              ;   in Loop: Header=BB0_89 Depth=2
	sub	w22, w27, #1
	mov	x20, x26
LBB0_106:                               ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_89 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	w8, [x19, #4]
	sub	w1, w8, #1
	mov	x0, x22
	bl	_min
	mov	x1, x0
	mov	x0, x23
	mov	x2, x19
	bl	_Delete_line
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_106
; %bb.107:                              ;   in Loop: Header=BB0_89 Depth=2
Lloh129:
	adrp	x8, _FALSE@GOTPAGE
Lloh130:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh131:
	ldr	w8, [x8]
	str	w8, [sp, #64]                   ; 4-byte Folded Spill
LBB0_108:                               ;   in Loop: Header=BB0_89 Depth=2
	ldr	x8, [x24]
Lloh132:
	adrp	x9, _cs__@GOTPAGE
Lloh133:
	ldr	x9, [x9, _cs__@GOTPAGEOFF]
Lloh134:
	ldr	x9, [x9]
	ldr	x0, [x8, x9, lsl #3]
	cbz	x0, LBB0_110
; %bb.109:                              ;   in Loop: Header=BB0_89 Depth=2
Lloh135:
	adrp	x8, _LINES@GOTPAGE
Lloh136:
	ldr	x8, [x8, _LINES@GOTPAGEOFF]
Lloh137:
	ldr	w8, [x8]
	sub	w8, w8, #1
	stp	w8, wzr, [sp, #80]
	add	x1, sp, #80
	mov	w2, #2
	bl	_String_Out
Lloh138:
	adrp	x8, _Curr_x@GOTPAGE
Lloh139:
	ldr	x8, [x8, _Curr_x@GOTPAGEOFF]
	mov	w9, #-1
Lloh140:
	str	w9, [x8]
Lloh141:
	adrp	x8, _Curr_y@GOTPAGE
Lloh142:
	ldr	x8, [x8, _Curr_y@GOTPAGEOFF]
Lloh143:
	str	w9, [x8]
LBB0_110:                               ;   in Loop: Header=BB0_89 Depth=2
	ldr	x8, [x25]
	ldr	x22, [x8, #24]
Lloh144:
	adrp	x8, _top_of_win@GOTPAGE
Lloh145:
	ldr	x8, [x8, _top_of_win@GOTPAGEOFF]
Lloh146:
	str	x22, [x8]
	mov	x8, x23
Lloh147:
	adrp	x27, _TRUE@GOTPAGE
Lloh148:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	cbz	x23, LBB0_112
LBB0_111:                               ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_89 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldr	x22, [x22, #40]
	subs	x8, x8, #1
	b.ne	LBB0_111
LBB0_112:                               ;   in Loop: Header=BB0_89 Depth=2
	ldrsw	x8, [x19, #4]
	mov	x20, x23
	mov	x24, x21
	mov	x9, x23
	mov	x23, x22
	cmp	x9, x8
Lloh149:
	adrp	x21, _FALSE@GOTPAGE
Lloh150:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	b.ge	LBB0_115
LBB0_113:                               ;   Parent Loop BB0_44 Depth=1
                                        ;     Parent Loop BB0_89 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x23
	mov	x1, x24
	bl	_Comp_line
	cmp	w0, #0
	csel	x8, x21, x27, gt
	ldr	x8, [x8]
Lloh151:
	adrp	x9, _virtual_lines@GOTPAGE
Lloh152:
	ldr	x9, [x9, _virtual_lines@GOTPAGEOFF]
Lloh153:
	ldr	x9, [x9]
	str	x8, [x9, x20, lsl #3]
	ldr	x23, [x23, #40]
	ldr	x24, [x24, #40]
	add	x20, x20, #1
	ldrsw	x8, [x19, #4]
	cmp	x20, x8
	b.lt	LBB0_113
	b	LBB0_116
LBB0_114:                               ;   in Loop: Header=BB0_89 Depth=2
Lloh154:
	adrp	x27, _TRUE@GOTPAGE
Lloh155:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
	b	LBB0_92
LBB0_115:                               ;   in Loop: Header=BB0_89 Depth=2
	mov	x23, x22
LBB0_116:                               ;   in Loop: Header=BB0_89 Depth=2
Lloh156:
	adrp	x24, _String_table@GOTPAGE
Lloh157:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
	ldr	x21, [sp, #48]                  ; 8-byte Folded Reload
	b	LBB0_92
LBB0_117:                               ;   in Loop: Header=BB0_44 Depth=1
	ldr	x15, [sp, #16]                  ; 8-byte Folded Reload
Lloh158:
	adrp	x28, _STAND@GOTPAGE
Lloh159:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
Lloh160:
	adrp	x26, _virtual_lines@GOTPAGE
Lloh161:
	ldr	x26, [x26, _virtual_lines@GOTPAGEOFF]
	b	LBB0_84
LBB0_118:
	ldr	x9, [x25]
	ldr	w8, [x19, #8]
	ldr	x20, [x9, #24]
	cmp	w8, #1
	b.lt	LBB0_121
; %bb.119:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
LBB0_120:                               ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x20, #40]
	subs	w8, w8, #1
	b.ne	LBB0_120
	b	LBB0_122
LBB0_121:
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
LBB0_122:
Lloh162:
	adrp	x8, _top_of_win@GOTPAGE
Lloh163:
	ldr	x8, [x8, _top_of_win@GOTPAGEOFF]
Lloh164:
	str	x20, [x8]
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_201
; %bb.123:
	mov	w21, #0
	ldr	w8, [sp, #4]                    ; 4-byte Folded Reload
	and	w8, w8, #0xff
	str	w8, [sp, #72]                   ; 4-byte Folded Spill
	b	LBB0_125
LBB0_124:                               ;   in Loop: Header=BB0_125 Depth=1
	str	w21, [x22, #24]
	add	w21, w21, #1
	ldr	x20, [x20, #40]
	add	x9, x22, #40
	ldr	w8, [x19, #4]
	cmp	w21, w8
	b.ge	LBB0_201
LBB0_125:                               ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_159 Depth 2
                                        ;       Child Loop BB0_163 Depth 3
                                        ;       Child Loop BB0_168 Depth 3
                                        ;     Child Loop BB0_133 Depth 2
                                        ;       Child Loop BB0_136 Depth 3
                                        ;       Child Loop BB0_147 Depth 3
	ldr	x22, [x9]
	ldr	x8, [x24]
Lloh165:
	adrp	x9, _ic__@GOTPAGE
Lloh166:
	ldr	x9, [x9, _ic__@GOTPAGEOFF]
Lloh167:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	str	x22, [sp, #56]                  ; 8-byte Folded Spill
	cbnz	x9, LBB0_127
; %bb.126:                              ;   in Loop: Header=BB0_125 Depth=1
Lloh168:
	adrp	x9, _im__@GOTPAGE
Lloh169:
	ldr	x9, [x9, _im__@GOTPAGEOFF]
Lloh170:
	ldr	x9, [x9]
	ldr	x9, [x8, x9, lsl #3]
	cbz	x9, LBB0_129
LBB0_127:                               ;   in Loop: Header=BB0_125 Depth=1
Lloh171:
	adrp	x9, _dc__@GOTPAGE
Lloh172:
	ldr	x9, [x9, _dc__@GOTPAGEOFF]
Lloh173:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_129
; %bb.128:                              ;   in Loop: Header=BB0_125 Depth=1
	ldr	x23, [x20]
	ldrb	w8, [x23]
	cmp	w8, #0
	ldr	w8, [sp, #72]                   ; 4-byte Folded Reload
	ccmp	w8, #0, #0, ne
	b.eq	LBB0_156
LBB0_129:                               ;   in Loop: Header=BB0_125 Depth=1
	ldr	x23, [x20]
	mov	x9, x22
	ldr	x22, [x22]
	ldr	w8, [x19]
	cmp	w8, #1
	str	x20, [sp, #64]                  ; 8-byte Folded Spill
	mov	w25, #0
	b.lt	LBB0_150
; %bb.130:                              ;   in Loop: Header=BB0_125 Depth=1
	ldr	x24, [x20, #8]
	ldr	x27, [x9, #8]
	add	x28, x23, #1
	add	x20, x22, #1
	b	LBB0_133
LBB0_131:                               ;   in Loop: Header=BB0_133 Depth=2
	mov	x25, x26
LBB0_132:                               ;   in Loop: Header=BB0_133 Depth=2
	ldr	w8, [x19]
	cmp	w25, w8
	b.ge	LBB0_150
LBB0_133:                               ;   Parent Loop BB0_125 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_136 Depth 3
                                        ;       Child Loop BB0_147 Depth 3
	sxtw	x9, w25
	ldrb	w10, [x22, x9]
	cbz	w10, LBB0_150
; %bb.134:                              ;   in Loop: Header=BB0_133 Depth=2
	ldrb	w11, [x23, x9]
	cmp	w11, w10
	b.ne	LBB0_142
; %bb.135:                              ;   in Loop: Header=BB0_133 Depth=2
	sxtw	x10, w8
	mov	w11, #1
LBB0_136:                               ;   Parent Loop BB0_125 Depth=1
                                        ;     Parent Loop BB0_133 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w12, [x24, x9]
	ldrb	w13, [x27, x9]
	cmp	w12, w13
	b.ne	LBB0_141
; %bb.137:                              ;   in Loop: Header=BB0_136 Depth=3
	cmp	x9, x10
	b.ge	LBB0_141
; %bb.138:                              ;   in Loop: Header=BB0_136 Depth=3
	cbz	w11, LBB0_141
; %bb.139:                              ;   in Loop: Header=BB0_136 Depth=3
	add	x25, x9, #1
	ldrb	w11, [x28, x9]
	ldrb	w12, [x20, x9]
	mov	x9, x25
	cmp	w11, w12
	b.eq	LBB0_136
; %bb.140:                              ;   in Loop: Header=BB0_133 Depth=2
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_142
LBB0_141:                               ;   in Loop: Header=BB0_133 Depth=2
	mov	x25, x9
LBB0_142:                               ;   in Loop: Header=BB0_133 Depth=2
	ldr	w9, [sp, #72]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_144
; %bb.143:                              ;   in Loop: Header=BB0_133 Depth=2
	mov	x8, x25
	sxtw	x8, w8
	sub	x26, x8, #1
	ldrsb	w0, [x23, x26]
	bl	_highbitset
	cmp	x0, #0
	csel	w25, w25, w26, eq
	ldr	w8, [x19]
LBB0_144:                               ;   in Loop: Header=BB0_133 Depth=2
	cmp	w25, w8
	b.ge	LBB0_132
; %bb.145:                              ;   in Loop: Header=BB0_133 Depth=2
	mov	x8, x25
	sxtw	x26, w8
	ldrb	w8, [x22, x26]
	cbz	w8, LBB0_132
; %bb.146:                              ;   in Loop: Header=BB0_133 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_CLEAR_TO_EOL
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	ldrb	w8, [x22, x26]
	cbz	w8, LBB0_132
LBB0_147:                               ;   Parent Loop BB0_125 Depth=1
                                        ;     Parent Loop BB0_133 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrsw	x9, [x19]
	cmp	x26, x9
	b.ge	LBB0_131
; %bb.148:                              ;   in Loop: Header=BB0_147 Depth=3
	ldrsb	w1, [x27, x26]
	sxtb	w0, w8
	mov	x2, x23
	mov	x3, x24
	mov	x4, x26
	bl	_Char_out
	add	x25, x26, #1
	ldrb	w8, [x20, x26]
	mov	x26, x25
	cbnz	w8, LBB0_147
; %bb.149:                              ;   in Loop: Header=BB0_133 Depth=2
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_132
LBB0_150:                               ;   in Loop: Header=BB0_125 Depth=1
	mov	x8, x25
	sxtw	x8, w8
	ldrb	w9, [x22, x8]
	cbz	w9, LBB0_153
; %bb.151:                              ;   in Loop: Header=BB0_125 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
LBB0_152:                               ;   in Loop: Header=BB0_125 Depth=1
Lloh174:
	adrp	x27, _TRUE@GOTPAGE
Lloh175:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
Lloh176:
	adrp	x24, _String_table@GOTPAGE
Lloh177:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
Lloh178:
	adrp	x28, _STAND@GOTPAGE
Lloh179:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
	ldp	x22, x20, [sp, #56]             ; 16-byte Folded Reload
	b	LBB0_199
LBB0_153:                               ;   in Loop: Header=BB0_125 Depth=1
	ldrb	w8, [x23, x8]
Lloh180:
	adrp	x27, _TRUE@GOTPAGE
Lloh181:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
Lloh182:
	adrp	x24, _String_table@GOTPAGE
Lloh183:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
Lloh184:
	adrp	x28, _STAND@GOTPAGE
Lloh185:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
	ldp	x22, x20, [sp, #56]             ; 16-byte Folded Reload
	cbz	w8, LBB0_155
; %bb.154:                              ;   in Loop: Header=BB0_125 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_CLEAR_TO_EOL
LBB0_155:                               ;   in Loop: Header=BB0_125 Depth=1
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_199
LBB0_156:                               ;   in Loop: Header=BB0_125 Depth=1
	ldr	x26, [x22]
	ldrb	w8, [x26]
	cbz	w8, LBB0_196
; %bb.157:                              ;   in Loop: Header=BB0_125 Depth=1
	mov	w25, #0
	ldr	x28, [x22, #8]
	str	x20, [sp, #64]                  ; 8-byte Folded Spill
	ldr	x24, [x20, #8]
	mov	x9, x27
	add	x27, x26, #1
	add	x22, x23, #1
	ldr	w9, [x9]
	stp	x26, x9, [sp, #40]              ; 16-byte Folded Spill
	b	LBB0_159
LBB0_158:                               ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x26, x20]
	cbz	w8, LBB0_197
LBB0_159:                               ;   Parent Loop BB0_125 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_163 Depth 3
                                        ;       Child Loop BB0_168 Depth 3
	ldr	w9, [x19]
	cmp	w25, w9
	b.ge	LBB0_152
; %bb.160:                              ;   in Loop: Header=BB0_159 Depth=2
Lloh186:
	adrp	x9, _STAND@GOTPAGE
Lloh187:
	ldr	x9, [x9, _STAND@GOTPAGEOFF]
	ldrb	w9, [x9]
	cbz	w9, LBB0_167
; %bb.161:                              ;   in Loop: Header=BB0_159 Depth=2
Lloh188:
	adrp	x9, _Booleans@GOTPAGE
Lloh189:
	ldr	x9, [x9, _Booleans@GOTPAGEOFF]
Lloh190:
	ldr	x9, [x9]
Lloh191:
	adrp	x10, _xs__@GOTPAGE
Lloh192:
	ldr	x10, [x10, _xs__@GOTPAGEOFF]
Lloh193:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	cbz	x9, LBB0_167
; %bb.162:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	x9, x25
	sxtw	x9, w9
	ldrb	w10, [x23, x9]
	cmp	w8, w10
	b.ne	LBB0_166
LBB0_163:                               ;   Parent Loop BB0_125 Depth=1
                                        ;     Parent Loop BB0_159 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w10, [x28, x9]
	ldrb	w11, [x24, x9]
	cmp	w10, #0
	ccmp	w10, w11, #0, ne
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_172
; %bb.164:                              ;   in Loop: Header=BB0_163 Depth=3
	add	x10, x9, #1
	ldrb	w8, [x27, x9]
	ldrb	w11, [x22, x9]
	mov	x9, x10
	cmp	w8, w11
	b.eq	LBB0_163
; %bb.165:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	x25, x10
	mov	x9, x10
LBB0_166:                               ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x28, x9]
	cbnz	w8, LBB0_174
	b	LBB0_173
LBB0_167:                               ;   in Loop: Header=BB0_159 Depth=2
	mov	x9, x25
	sxtw	x9, w9
	ldrb	w10, [x23, x9]
	cmp	w8, w10
	b.ne	LBB0_174
LBB0_168:                               ;   Parent Loop BB0_125 Depth=1
                                        ;     Parent Loop BB0_159 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	ldrb	w10, [x28, x9]
	ldrb	w11, [x24, x9]
	cmp	w10, w11
	ccmp	w8, #0, #4, eq
	b.eq	LBB0_171
; %bb.169:                              ;   in Loop: Header=BB0_168 Depth=3
	add	x25, x9, #1
	ldrb	w8, [x27, x9]
	ldrb	w10, [x22, x9]
	mov	x9, x25
	cmp	w8, w10
	b.eq	LBB0_168
; %bb.170:                              ;   in Loop: Header=BB0_159 Depth=2
                                        ; kill: def $w25 killed $w25 killed $x25 def $x25
	b	LBB0_174
LBB0_171:                               ;   in Loop: Header=BB0_159 Depth=2
	mov	x25, x9
	b	LBB0_174
LBB0_172:                               ;   in Loop: Header=BB0_159 Depth=2
	mov	x25, x9
	ldrb	w8, [x28, x9]
	cbnz	w8, LBB0_174
LBB0_173:                               ;   in Loop: Header=BB0_159 Depth=2
Lloh194:
	adrp	x8, _FALSE@GOTPAGE
Lloh195:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh196:
	ldr	x8, [x8]
Lloh197:
	adrp	x9, _STAND@GOTPAGE
Lloh198:
	ldr	x9, [x9, _STAND@GOTPAGEOFF]
Lloh199:
	strb	w8, [x9]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	bl	_attribute_off
	bl	_attribute_off
LBB0_174:                               ;   in Loop: Header=BB0_159 Depth=2
	sxtw	x20, w25
	ldrb	w8, [x28, x20]
	ldrb	w9, [x24, x20]
	cmp	w8, w9
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_177
; %bb.175:                              ;   in Loop: Header=BB0_159 Depth=2
Lloh200:
	adrp	x8, _Booleans@GOTPAGE
Lloh201:
	ldr	x8, [x8, _Booleans@GOTPAGEOFF]
Lloh202:
	ldr	x8, [x8]
Lloh203:
	adrp	x9, _xs__@GOTPAGE
Lloh204:
	ldr	x9, [x9, _xs__@GOTPAGEOFF]
Lloh205:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_177
; %bb.176:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	bl	_attribute_off
	bl	_attribute_off
LBB0_177:                               ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x26, x20]
	cbz	w8, LBB0_193
; %bb.178:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	x26, x23
	ldp	x8, x23, [sp, #48]              ; 16-byte Folded Reload
	cbz	w8, LBB0_182
; %bb.179:                              ;   in Loop: Header=BB0_159 Depth=2
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_182
; %bb.180:                              ;   in Loop: Header=BB0_159 Depth=2
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	ldr	x8, [x8, #16]
	ldr	x9, [x23, #16]
	cmp	x8, x9
	b.gt	LBB0_182
; %bb.181:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	mov	x3, x23
	ldr	x4, [sp, #64]                   ; 8-byte Folded Reload
	bl	_check_insert
LBB0_182:                               ;   in Loop: Header=BB0_159 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	mov	x3, x23
	ldr	x4, [sp, #64]                   ; 8-byte Folded Reload
	bl	_check_delete
Lloh206:
	adrp	x8, _FALSE@GOTPAGE
Lloh207:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh208:
	ldr	x8, [x8]
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
	str	x8, [x23, #32]
	mov	x23, x26
	ldr	x26, [sp, #40]                  ; 8-byte Folded Reload
	cbnz	w0, LBB0_184
; %bb.183:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	ldp	x3, x4, [sp, #56]               ; 16-byte Folded Reload
	bl	_check_insert
	cbz	w0, LBB0_186
LBB0_184:                               ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x23, x20]
	ldrb	w9, [x26, x20]
	cmp	w8, w9
	b.ne	LBB0_186
; %bb.185:                              ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x24, x20]
	ldrb	w9, [x28, x20]
	cmp	w8, w9
	b.eq	LBB0_192
LBB0_186:                               ;   in Loop: Header=BB0_159 Depth=2
	ldr	w8, [x19]
	cmp	w25, w8
	b.ge	LBB0_192
; %bb.187:                              ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x26, x20]
	cmp	w8, #32
	b.ne	LBB0_191
; %bb.188:                              ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x23, x20]
	cbnz	w8, LBB0_191
; %bb.189:                              ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x28, x20]
	ldrb	w9, [x24, x20]
	cmp	w8, w9
	b.ne	LBB0_191
; %bb.190:                              ;   in Loop: Header=BB0_159 Depth=2
	mov	w8, #32
	strb	w8, [x23, x20]
	b	LBB0_192
LBB0_191:                               ;   in Loop: Header=BB0_159 Depth=2
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	ldrsb	w0, [x26, x20]
	ldrsb	w1, [x28, x20]
	mov	x2, x23
	mov	x3, x24
	mov	x4, x25
	bl	_Char_out
LBB0_192:                               ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x26, x20]
	cmp	w8, #0
	cinc	w25, w25, ne
LBB0_193:                               ;   in Loop: Header=BB0_159 Depth=2
Lloh209:
	adrp	x8, _STAND@GOTPAGE
Lloh210:
	ldr	x8, [x8, _STAND@GOTPAGEOFF]
	ldrb	w8, [x8]
	mov	x9, x25
	sxtw	x20, w9
	cbz	w8, LBB0_158
; %bb.194:                              ;   in Loop: Header=BB0_159 Depth=2
	ldrb	w8, [x28, x20]
	cbnz	w8, LBB0_158
; %bb.195:                              ;   in Loop: Header=BB0_159 Depth=2
Lloh211:
	adrp	x8, _FALSE@GOTPAGE
Lloh212:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh213:
	ldr	x8, [x8]
Lloh214:
	adrp	x9, _STAND@GOTPAGE
Lloh215:
	ldr	x9, [x9, _STAND@GOTPAGEOFF]
Lloh216:
	strb	w8, [x9]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	bl	_attribute_off
	b	LBB0_158
LBB0_196:                               ;   in Loop: Header=BB0_125 Depth=1
	mov	w25, #0
	b	LBB0_198
LBB0_197:                               ;   in Loop: Header=BB0_125 Depth=1
	ldrb	w8, [x23, x20]
Lloh217:
	adrp	x27, _TRUE@GOTPAGE
Lloh218:
	ldr	x27, [x27, _TRUE@GOTPAGEOFF]
Lloh219:
	adrp	x24, _String_table@GOTPAGE
Lloh220:
	ldr	x24, [x24, _String_table@GOTPAGEOFF]
Lloh221:
	adrp	x28, _STAND@GOTPAGE
Lloh222:
	ldr	x28, [x28, _STAND@GOTPAGEOFF]
	ldp	x22, x20, [sp, #56]             ; 16-byte Folded Reload
	cbz	w8, LBB0_199
LBB0_198:                               ;   in Loop: Header=BB0_125 Depth=1
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_CLEAR_TO_EOL
LBB0_199:                               ;   in Loop: Header=BB0_125 Depth=1
	ldrb	w8, [x28]
	cbz	w8, LBB0_124
; %bb.200:                              ;   in Loop: Header=BB0_125 Depth=1
Lloh223:
	adrp	x8, _FALSE@GOTPAGE
Lloh224:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh225:
	ldr	x8, [x8]
	strb	w8, [x28]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x25
	bl	_Position
	bl	_attribute_off
	b	LBB0_124
LBB0_201:
	ldp	w1, w2, [x19, #12]
	mov	x0, x19
	bl	_Position
	ldur	x8, [x29, #-88]
Lloh226:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh227:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh228:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_203
; %bb.202:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_203:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotStr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotStr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotStr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotStr	Lloh82, Lloh83, Lloh84
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotStr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh93, Lloh94
	.loh AdrpLdrGot	Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh100, Lloh101
	.loh AdrpLdrGot	Lloh98, Lloh99
	.loh AdrpLdrGot	Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh104, Lloh105
	.loh AdrpLdrGot	Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh111, Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpLdrGotStr	Lloh126, Lloh127, Lloh128
	.loh AdrpLdrGotStr	Lloh123, Lloh124, Lloh125
	.loh AdrpLdrGotLdr	Lloh129, Lloh130, Lloh131
	.loh AdrpLdrGotLdr	Lloh132, Lloh133, Lloh134
	.loh AdrpLdrGotStr	Lloh141, Lloh142, Lloh143
	.loh AdrpLdrGotStr	Lloh138, Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh135, Lloh136, Lloh137
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGotStr	Lloh144, Lloh145, Lloh146
	.loh AdrpLdrGot	Lloh149, Lloh150
	.loh AdrpLdrGotLdr	Lloh151, Lloh152, Lloh153
	.loh AdrpLdrGot	Lloh154, Lloh155
	.loh AdrpLdrGot	Lloh156, Lloh157
	.loh AdrpLdrGot	Lloh160, Lloh161
	.loh AdrpLdrGot	Lloh158, Lloh159
	.loh AdrpLdrGotStr	Lloh162, Lloh163, Lloh164
	.loh AdrpLdrGotLdr	Lloh165, Lloh166, Lloh167
	.loh AdrpLdrGotLdr	Lloh168, Lloh169, Lloh170
	.loh AdrpLdrGotLdr	Lloh171, Lloh172, Lloh173
	.loh AdrpLdrGot	Lloh178, Lloh179
	.loh AdrpLdrGot	Lloh176, Lloh177
	.loh AdrpLdrGot	Lloh174, Lloh175
	.loh AdrpLdrGot	Lloh184, Lloh185
	.loh AdrpLdrGot	Lloh182, Lloh183
	.loh AdrpLdrGot	Lloh180, Lloh181
	.loh AdrpLdrGot	Lloh186, Lloh187
	.loh AdrpLdrGotLdr	Lloh191, Lloh192, Lloh193
	.loh AdrpLdrGotLdr	Lloh188, Lloh189, Lloh190
	.loh AdrpLdrGotStr	Lloh197, Lloh198, Lloh199
	.loh AdrpLdrGotLdr	Lloh194, Lloh195, Lloh196
	.loh AdrpLdrGotLdr	Lloh203, Lloh204, Lloh205
	.loh AdrpLdrGotLdr	Lloh200, Lloh201, Lloh202
	.loh AdrpLdrGotLdr	Lloh206, Lloh207, Lloh208
	.loh AdrpLdrGot	Lloh209, Lloh210
	.loh AdrpLdrGotStr	Lloh214, Lloh215, Lloh216
	.loh AdrpLdrGotLdr	Lloh211, Lloh212, Lloh213
	.loh AdrpLdrGot	Lloh221, Lloh222
	.loh AdrpLdrGot	Lloh219, Lloh220
	.loh AdrpLdrGot	Lloh217, Lloh218
	.loh AdrpLdrGotLdr	Lloh223, Lloh224, Lloh225
	.loh AdrpLdrGotLdr	Lloh226, Lloh227, Lloh228
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_virtual_scr,8,3                ; @virtual_scr
	.comm	_nc_attributes,4,2              ; @nc_attributes
	.comm	_A_NC_BIG5,4,2                  ; @A_NC_BIG5
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_Repaint_screen,1,0             ; @Repaint_screen
	.comm	_String_table,8,3               ; @String_table
	.comm	_cl__,8,3                       ; @cl__
	.comm	_LINES,4,2                      ; @LINES
	.comm	_curscr,8,3                     ; @curscr
	.comm	_ce__,8,3                       ; @ce__
	.comm	_STAND,1,0                      ; @STAND
	.comm	_top_of_win,8,3                 ; @top_of_win
	.comm	_virtual_lines,8,3              ; @virtual_lines
	.comm	_nc_scrolling_ability,8,3       ; @nc_scrolling_ability
	.comm	_cs__,8,3                       ; @cs__
	.comm	_Curr_x,4,2                     ; @Curr_x
	.comm	_Curr_y,4,2                     ; @Curr_y
	.comm	_ic__,8,3                       ; @ic__
	.comm	_im__,8,3                       ; @im__
	.comm	_dc__,8,3                       ; @dc__
	.comm	_Booleans,8,3                   ; @Booleans
	.comm	_xs__,8,3                       ; @xs__
.subsections_via_symbols
