	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorRefreshScreen            ## -- Begin function editorRefreshScreen
	.p2align	4, 0x90
_editorRefreshScreen:                   ## @editorRefreshScreen
	.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	$232, %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	_ABUF_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -248(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-248(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_abAppend
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_abAppend
	movq	_E@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_28
## %bb.1:
	leaq	-248(%rbp), %r14
	leaq	L_.str.4(%rip), %r12
	xorl	%ebx, %ebx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %r14
	movq	%r12, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$5, %edx
	callq	_abAppend
	movq	%r12, %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	$4, %edx
	callq	_abAppend
	movq	%r12, %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	$2, %edx
	callq	_abAppend
	movq	_E@GOTPCREL(%rip), %r15
	leaq	L_.str.4(%rip), %r12
LBB0_26:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-252(%rbp), %ebx                ## 4-byte Reload
LBB0_27:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	%ebx
	movl	(%r15), %eax
	cmpl	%eax, %ebx
	jge	LBB0_28
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	movslq	4(%r15), %rdx
	movslq	%ebx, %rcx
	addq	%rdx, %rcx
	movl	8(%r15), %edx
	cmpl	%edx, %ecx
	jge	LBB0_3
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -252(%rbp)                ## 4-byte Spill
	movq	%r14, %r12
	movq	56(%r15), %rax
	leaq	(%rcx,%rcx,4), %rcx
	movl	(%rax,%rcx,8), %esi
	movslq	16(%r15), %r13
	subl	%r13d, %esi
	jle	LBB0_25
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	_E@GOTPCREL(%rip), %rdx
	movl	12(%rdx), %edx
	cmpl	%edx, %esi
	cmovll	%esi, %edx
	testl	%edx, %edx
	jle	LBB0_25
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rax,%rcx,8), %rsi
	addq	%r13, %rsi
	movq	%rsi, -264(%rbp)                ## 8-byte Spill
	addq	16(%rax,%rcx,8), %r13
	movl	%edx, %eax
	movq	%rax, -272(%rbp)                ## 8-byte Spill
	movl	$-1, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	%r12, %rbx
	movq	%r12, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$4, %edx
	callq	_abAppend
	movq	-264(%rbp), %rax                ## 8-byte Reload
	movzbl	(%rax,%r14), %eax
	leal	64(%rax), %ecx
	cmpb	$27, %al
	movzbl	%cl, %eax
	movl	$63, %ecx
	cmovgel	%ecx, %eax
	movb	%al, -160(%rbp)
	movq	%r12, %rdi
	leaq	-160(%rbp), %rsi
	movl	$1, %edx
	callq	_abAppend
	movq	%r12, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	$4, %edx
LBB0_23:                                ##   in Loop: Header=BB0_14 Depth=2
	callq	_abAppend
LBB0_24:                                ##   in Loop: Header=BB0_14 Depth=2
	incq	%r14
	cmpq	%r14, -272(%rbp)                ## 8-byte Folded Reload
	je	LBB0_25
LBB0_14:                                ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r13,%r14), %eax
	movq	_HL_NONPRINT@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	je	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	_HL_NORMAL@GOTPCREL(%rip), %rcx
	cmpb	(%rcx), %al
	jne	LBB0_20
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpl	$-1, %r15d
	movq	%r12, %rbx
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_14 Depth=2
	movq	%rbx, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$5, %edx
	callq	_abAppend
LBB0_19:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-264(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_abAppend
	movl	$-1, %r15d
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=2
	movzbl	%al, %edi
	callq	_editorSyntaxToColor
	cmpl	%r15d, %eax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_14 Depth=2
	movl	%eax, %ebx
	leaq	-160(%rbp), %r15
	movq	%r15, %rdi
	movl	$16, %esi
	leaq	L_.str.9(%rip), %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_snprintf
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_abAppend
	movl	%ebx, %r15d
LBB0_22:                                ##   in Loop: Header=BB0_14 Depth=2
	movq	-264(%rbp), %rax                ## 8-byte Reload
	leaq	(%rax,%r14), %rsi
	movq	%r12, %rdi
	movl	$1, %edx
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	testl	%edx, %edx
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cltq
	imulq	$1431655766, %rax, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	cmpl	%eax, %ebx
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, -252(%rbp)                ## 4-byte Spill
	movq	_KILO_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	leaq	-160(%rbp), %rdi
	movl	$80, %esi
	leaq	L_.str.2(%rip), %rdx
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %r13d
	movl	12(%r15), %eax
	subl	%r13d, %eax
	leal	1(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_6
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	-160(%rbp), %rsi
	movl	%r13d, %edx
	callq	_abAppend
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$7, %edx
	callq	_abAppend
	jmp	LBB0_27
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	shrl	$31, %ebx
	addl	%eax, %ebx
	sarl	%ebx
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$1, %edx
	callq	_abAppend
	decl	%ebx
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_8 Depth=2
	movq	%r14, %rdi
	movq	%r12, %rsi
	jmp	LBB0_8
LBB0_28:
	leaq	L_.str.10(%rip), %rsi
	leaq	-248(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_abAppend
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_abAppend
	movq	24(%r15), %rcx
	movl	8(%r15), %r8d
	cmpq	$0, 64(%r15)
	leaq	L_.str.14(%rip), %rax
	leaq	L_.str.13(%rip), %r9
	cmoveq	%rax, %r9
	leaq	L_.str.12(%rip), %rdx
	leaq	-160(%rbp), %r14
	movq	%r14, %rdi
	movl	$80, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %r13d
	movl	32(%r15), %eax
	movl	4(%r15), %ecx
	movl	8(%r15), %r8d
	leal	1(%rcx,%rax), %ecx
	leaq	L_.str.15(%rip), %rdx
	leaq	-240(%rbp), %rdi
	movl	$80, %esi
	xorl	%eax, %eax
	callq	_snprintf
	movl	%eax, %r12d
	movl	12(%r15), %ebx
	cmpl	%ebx, %r13d
	cmovll	%r13d, %ebx
	leaq	-248(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_abAppend
	movl	12(%r15), %eax
	cmpl	%ebx, %eax
	jle	LBB0_33
## %bb.29:
	leaq	L_.str.4(%rip), %r14
	leaq	-248(%rbp), %r13
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	leal	(%r12,%rbx), %ecx
	cmpl	%eax, %ecx
	je	LBB0_31
## %bb.32:                              ##   in Loop: Header=BB0_30 Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_abAppend
	incl	%ebx
	movl	12(%r15), %eax
	cmpl	%ebx, %eax
	jg	LBB0_30
	jmp	LBB0_33
LBB0_31:
	leaq	-248(%rbp), %rdi
	leaq	-240(%rbp), %rsi
	movl	%r12d, %edx
	callq	_abAppend
LBB0_33:
	leaq	L_.str.16(%rip), %rsi
	leaq	-248(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$6, %edx
	callq	_abAppend
	leaq	L_.str.10(%rip), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_abAppend
	movq	40(%r15), %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_36
## %bb.34:
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_time
	subl	48(%r15), %eax
	cmpl	$4, %eax
	jg	LBB0_36
## %bb.35:
	movq	40(%r15), %rsi
	movl	12(%r15), %edx
	cmpl	%edx, %ebx
	cmovll	%ebx, %edx
	leaq	-248(%rbp), %rdi
	callq	_abAppend
LBB0_36:
	movslq	4(%r15), %rsi
	movslq	32(%r15), %r9
	addq	%r9, %rsi
	movl	$1, %r8d
	cmpl	8(%r15), %esi
	jge	LBB0_44
## %bb.37:
	movq	56(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_44
## %bb.38:
	movslq	52(%r15), %rcx
	testq	%rcx, %rcx
	jle	LBB0_44
## %bb.39:
	movslq	16(%r15), %rdx
	addq	%rdx, %rcx
	leaq	(%rsi,%rsi,4), %rbx
	movslq	24(%rdi,%rbx,8), %rsi
	leaq	(%rdi,%rbx,8), %rdi
	addq	$32, %rdi
	movq	_TAB@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	movl	$1, %r8d
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_40 Depth=1
	incl	%r8d
	incq	%rdx
	cmpq	%rcx, %rdx
	jge	LBB0_44
LBB0_40:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%rsi, %rdx
	jge	LBB0_43
## %bb.41:                              ##   in Loop: Header=BB0_40 Depth=1
	movq	(%rdi), %rax
	cmpq	%rbx, (%rax,%rdx,8)
	jne	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_40 Depth=1
	leal	7(%r8), %eax
	testl	%r8d, %r8d
	cmovnsl	%r8d, %eax
	orl	$7, %eax
	movl	%eax, %r8d
	jmp	LBB0_43
LBB0_44:
	leal	1(%r9), %ecx
	leaq	L_.str.17(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
                                        ## kill: def $r8d killed $r8d killed $r8
	xorl	%eax, %eax
	callq	_snprintf
	movq	%rbx, %rdi
	callq	_strlen
	leaq	-248(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_abAppend
	leaq	L_.str.18(%rip), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_abAppend
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-248(%rbp), %edx
	movl	-244(%rbp), %esi
	callq	_write
	movq	%r14, %rdi
	callq	_abFree
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.45:
	addq	$232, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ABUF_INIT,8,2                  ## @ABUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\033[?25l"

L_.str.1:                               ## @.str.1
	.asciz	"\033[H"

	.comm	_E,72,3                         ## @E
L_.str.2:                               ## @.str.2
	.asciz	"Kilo editor -- verison %s\033[0K\r\n"

	.comm	_KILO_VERSION,8,3               ## @KILO_VERSION
L_.str.3:                               ## @.str.3
	.asciz	"~"

L_.str.4:                               ## @.str.4
	.asciz	" "

L_.str.5:                               ## @.str.5
	.asciz	"~\033[0K\r\n"

	.comm	_HL_NONPRINT,1,0                ## @HL_NONPRINT
L_.str.6:                               ## @.str.6
	.asciz	"\033[7m"

L_.str.7:                               ## @.str.7
	.asciz	"\033[0m"

	.comm	_HL_NORMAL,1,0                  ## @HL_NORMAL
L_.str.8:                               ## @.str.8
	.asciz	"\033[39m"

L_.str.9:                               ## @.str.9
	.asciz	"\033[%dm"

L_.str.10:                              ## @.str.10
	.asciz	"\033[0K"

L_.str.11:                              ## @.str.11
	.asciz	"\r\n"

L_.str.12:                              ## @.str.12
	.asciz	"%.20s - %d lines %s"

L_.str.13:                              ## @.str.13
	.asciz	"(modified)"

L_.str.14:                              ## @.str.14
	.space	1

L_.str.15:                              ## @.str.15
	.asciz	"%d/%d"

L_.str.16:                              ## @.str.16
	.asciz	"\033[0m\r\n"

	.comm	_TAB,8,3                        ## @TAB
L_.str.17:                              ## @.str.17
	.asciz	"\033[%d;%dH"

L_.str.18:                              ## @.str.18
	.asciz	"\033[?25h"

	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_editorRefreshScreen            ; -- Begin function editorRefreshScreen
	.p2align	2
_editorRefreshScreen:                   ; @editorRefreshScreen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #336
	.cfi_def_cfa_offset 336
	stp	x28, x27, [sp, #240]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #256]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #272]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #288]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #304]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #320]            ; 16-byte Folded Spill
	add	x29, sp, #320
	.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, #-96]
Lloh3:
	adrp	x8, _ABUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ABUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #24
	mov	w2, #6
	bl	_abAppend
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #24
	mov	w2, #3
	bl	_abAppend
Lloh10:
	adrp	x22, _E@GOTPAGE
Lloh11:
	ldr	x22, [x22, _E@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.1:
	mov	w23, #0
Lloh12:
	adrp	x24, _HL_NONPRINT@GOTPAGE
Lloh13:
	ldr	x24, [x24, _HL_NONPRINT@GOTPAGEOFF]
Lloh14:
	adrp	x25, l_.str.6@PAGE
Lloh15:
	add	x25, x25, l_.str.6@PAGEOFF
Lloh16:
	adrp	x20, l_.str.7@PAGE
Lloh17:
	add	x20, x20, l_.str.7@PAGEOFF
Lloh18:
	adrp	x21, _HL_NORMAL@GOTPAGE
Lloh19:
	ldr	x21, [x21, _HL_NORMAL@GOTPAGEOFF]
	mov	w26, #63
Lloh20:
	adrp	x28, l_.str.4@PAGE
Lloh21:
	add	x28, x28, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
Lloh22:
	adrp	x1, l_.str.8@PAGE
Lloh23:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #5
	bl	_abAppend
	add	x0, sp, #24
Lloh24:
	adrp	x1, l_.str.10@PAGE
Lloh25:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w2, #4
	bl	_abAppend
	add	x0, sp, #24
Lloh26:
	adrp	x1, l_.str.11@PAGE
Lloh27:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w2, #2
	bl	_abAppend
Lloh28:
	adrp	x22, _E@GOTPAGE
Lloh29:
	ldr	x22, [x22, _E@GOTPAGEOFF]
Lloh30:
	adrp	x28, l_.str.4@PAGE
Lloh31:
	add	x28, x28, l_.str.4@PAGEOFF
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w23, w23, #1
	ldr	w8, [x22]
	cmp	w23, w8
	b.ge	LBB0_24
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_22 Depth 2
                                        ;     Child Loop BB0_10 Depth 2
	ldp	w9, w10, [x22, #4]
	add	w9, w9, w23
	cmp	w9, w10
	b.ge	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x10, [x22, #56]
	mov	w8, #40
	smull	x8, w9, w8
	ldr	w11, [x10, x8]
	ldrsw	x8, [x22, #16]
	sub	w11, w11, w8
	cmp	w11, #1
	b.lt	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh32:
	adrp	x12, _E@GOTPAGE
Lloh33:
	ldr	x12, [x12, _E@GOTPAGEOFF]
Lloh34:
	ldr	w12, [x12, #12]
	cmp	w11, w12
	csel	w28, w11, w12, lt
	cmp	w28, #1
	b.lt	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x9, w9
	mov	w11, #40
	madd	x9, x9, x11, x10
	ldp	x10, x9, [x9, #8]
	add	x27, x10, x8
	add	x19, x9, x8
	mov	w22, #-1
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x0, sp, #24
	mov	x1, x25
	mov	w2, #4
	bl	_abAppend
	ldrsb	w8, [x27]
	add	w9, w8, #64
	cmp	w8, #27
	csel	w8, w9, w26, lt
	strb	w8, [sp, #112]
	add	x0, sp, #24
	add	x1, sp, #112
	mov	w2, #1
	bl	_abAppend
	add	x0, sp, #24
	mov	x1, x20
	mov	w2, #4
	bl	_abAppend
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x27, x27, #1
	add	x19, x19, #1
	subs	x28, x28, #1
	b.eq	LBB0_2
LBB0_10:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x19]
	ldrb	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrb	w8, [x21]
	cmp	w0, w8
	b.ne	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	cmn	w22, #1
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=2
	add	x0, sp, #24
Lloh35:
	adrp	x1, l_.str.8@PAGE
Lloh36:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #5
	bl	_abAppend
LBB0_14:                                ;   in Loop: Header=BB0_10 Depth=2
	add	x0, sp, #24
	mov	x1, x27
	mov	w2, #1
	bl	_abAppend
	mov	w22, #-1
	b	LBB0_9
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=2
	mov	x26, x21
	mov	x21, x20
	mov	x20, x25
	bl	_editorSyntaxToColor
	cmp	w0, w22
	b.eq	LBB0_17
; %bb.16:                               ;   in Loop: Header=BB0_10 Depth=2
	mov	x25, x0
	str	x25, [sp]
	add	x0, sp, #112
	mov	w1, #16
Lloh37:
	adrp	x2, l_.str.9@PAGE
Lloh38:
	add	x2, x2, l_.str.9@PAGEOFF
	bl	_snprintf
	mov	x2, x0
	add	x0, sp, #24
	add	x1, sp, #112
	bl	_abAppend
	mov	x22, x25
LBB0_17:                                ;   in Loop: Header=BB0_10 Depth=2
	add	x0, sp, #24
	mov	x1, x27
	mov	w2, #1
	bl	_abAppend
	mov	x25, x20
	mov	x20, x21
	mov	x21, x26
	mov	w26, #63
	b	LBB0_9
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w9, #21846
	movk	w9, #21845, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w9
	cmp	w10, #0
	ccmp	w23, w8, #0, eq
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #7
	bl	_abAppend
	b	LBB0_3
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh41:
	adrp	x8, _KILO_VERSION@GOTPAGE
Lloh42:
	ldr	x8, [x8, _KILO_VERSION@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	str	x8, [sp]
	add	x0, sp, #112
	mov	w1, #80
Lloh44:
	adrp	x2, l_.str.2@PAGE
Lloh45:
	add	x2, x2, l_.str.2@PAGEOFF
	bl	_snprintf
	mov	x27, x0
	ldr	w8, [x22, #12]
	sub	w8, w8, w0
	add	w9, w8, #1
	cmp	w9, #3
	b.lo	LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w19, w8, #1
	add	x0, sp, #24
Lloh46:
	adrp	x1, l_.str.3@PAGE
Lloh47:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #1
	bl	_abAppend
	subs	w19, w19, #1
	b.eq	LBB0_23
LBB0_22:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sub	w19, w19, #1
	add	x0, sp, #24
	mov	x1, x28
	mov	w2, #1
	bl	_abAppend
	cbnz	w19, LBB0_22
LBB0_23:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x0, sp, #24
	add	x1, sp, #112
	mov	x2, x27
	bl	_abAppend
	b	LBB0_3
LBB0_24:
Lloh48:
	adrp	x1, l_.str.10@PAGE
Lloh49:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x0, sp, #24
	mov	w2, #4
	bl	_abAppend
Lloh50:
	adrp	x1, l_.str.6@PAGE
Lloh51:
	add	x1, x1, l_.str.6@PAGEOFF
	add	x0, sp, #24
	mov	w2, #4
	bl	_abAppend
	ldr	x8, [x22, #24]
Lloh52:
	adrp	x9, l_.str.13@PAGE
Lloh53:
	add	x9, x9, l_.str.13@PAGEOFF
	ldr	x10, [x22, #64]
Lloh54:
	adrp	x11, l_.str.14@PAGE
Lloh55:
	add	x11, x11, l_.str.14@PAGEOFF
	cmp	x10, #0
	csel	x9, x11, x9, eq
	ldr	w10, [x22, #8]
	stp	x10, x9, [sp, #8]
	str	x8, [sp]
Lloh56:
	adrp	x2, l_.str.12@PAGE
Lloh57:
	add	x2, x2, l_.str.12@PAGEOFF
	add	x0, sp, #112
	mov	w1, #80
	bl	_snprintf
	mov	x20, x0
	ldr	w8, [x22, #32]
	ldp	w9, w10, [x22, #4]
	add	w8, w9, w8
	add	w8, w8, #1
	stp	x8, x10, [sp]
Lloh58:
	adrp	x2, l_.str.15@PAGE
Lloh59:
	add	x2, x2, l_.str.15@PAGEOFF
	add	x0, sp, #32
	mov	w1, #80
	bl	_snprintf
	mov	x19, x0
	ldr	w8, [x22, #12]
	cmp	w20, w8
	csel	w20, w20, w8, lt
	add	x0, sp, #24
	add	x1, sp, #112
	mov	x2, x20
	bl	_abAppend
	ldr	w8, [x22, #12]
	cmp	w8, w20
	b.le	LBB0_29
; %bb.25:
Lloh60:
	adrp	x21, l_.str.4@PAGE
Lloh61:
	add	x21, x21, l_.str.4@PAGEOFF
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	add	w9, w19, w20
	add	x0, sp, #24
	cmp	w9, w8
	b.eq	LBB0_28
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	mov	x1, x21
	mov	w2, #1
	bl	_abAppend
	add	w20, w20, #1
	ldr	w8, [x22, #12]
	cmp	w8, w20
	b.gt	LBB0_26
	b	LBB0_29
LBB0_28:
	add	x1, sp, #32
	mov	x2, x19
	bl	_abAppend
LBB0_29:
Lloh62:
	adrp	x1, l_.str.16@PAGE
Lloh63:
	add	x1, x1, l_.str.16@PAGEOFF
	add	x0, sp, #24
	mov	w2, #6
	bl	_abAppend
Lloh64:
	adrp	x1, l_.str.10@PAGE
Lloh65:
	add	x1, x1, l_.str.10@PAGEOFF
	add	x0, sp, #24
	mov	w2, #4
	bl	_abAppend
	ldr	x0, [x22, #40]
	bl	_strlen
	cbz	w0, LBB0_32
; %bb.30:
	mov	x19, x0
	mov	x0, #0
	bl	_time
	ldr	w8, [x22, #48]
	sub	w8, w0, w8
	cmp	w8, #4
	b.gt	LBB0_32
; %bb.31:
	ldr	x1, [x22, #40]
	ldr	w8, [x22, #12]
	cmp	w19, w8
	csel	w2, w19, w8, lt
	add	x0, sp, #24
	bl	_abAppend
LBB0_32:
	ldr	w8, [x22, #32]
	ldp	w10, w11, [x22, #4]
	ldr	x9, [x22, #56]
	add	w10, w8, w10
	cmp	w10, w11
	ccmp	x9, #0, #4, lt
	b.eq	LBB0_39
; %bb.33:
	ldrsw	x11, [x22, #52]
	cmp	w11, #1
	b.lt	LBB0_39
; %bb.34:
	sxtw	x12, w10
	ldrsw	x10, [x22, #16]
	add	x11, x11, x10
	mov	w13, #40
	madd	x9, x12, x13, x9
	ldrsw	x12, [x9, #24]
	add	x13, x9, #32
Lloh66:
	adrp	x9, _TAB@GOTPAGE
Lloh67:
	ldr	x9, [x9, _TAB@GOTPAGEOFF]
Lloh68:
	ldr	x14, [x9]
	mov	w9, #1
	b	LBB0_36
LBB0_35:                                ;   in Loop: Header=BB0_36 Depth=1
	add	w9, w9, #1
	add	x10, x10, #1
	cmp	x10, x11
	b.ge	LBB0_40
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	cmp	x10, x12
	b.ge	LBB0_35
; %bb.37:                               ;   in Loop: Header=BB0_36 Depth=1
	ldr	x15, [x13]
	ldr	x15, [x15, x10, lsl #3]
	cmp	x15, x14
	b.ne	LBB0_35
; %bb.38:                               ;   in Loop: Header=BB0_36 Depth=1
	negs	w15, w9
	and	w15, w15, #0x7
	and	w16, w9, #0x7
	csneg	w15, w16, w15, mi
	sub	w9, w9, w15
	add	w9, w9, #7
	b	LBB0_35
LBB0_39:
	mov	w9, #1
LBB0_40:
	add	w8, w8, #1
	stp	x8, x9, [sp]
Lloh69:
	adrp	x2, l_.str.17@PAGE
Lloh70:
	add	x2, x2, l_.str.17@PAGEOFF
	sub	x0, x29, #128
	mov	w1, #32
	bl	_snprintf
	sub	x0, x29, #128
	bl	_strlen
	mov	x2, x0
	add	x0, sp, #24
	sub	x1, x29, #128
	bl	_abAppend
Lloh71:
	adrp	x1, l_.str.18@PAGE
Lloh72:
	add	x1, x1, l_.str.18@PAGEOFF
	add	x0, sp, #24
	mov	w2, #6
	bl	_abAppend
Lloh73:
	adrp	x8, _STDOUT_FILENO@GOTPAGE
Lloh74:
	ldr	x8, [x8, _STDOUT_FILENO@GOTPAGEOFF]
Lloh75:
	ldr	w0, [x8]
	ldp	w2, w1, [sp, #24]
	bl	_write
	add	x0, sp, #24
	bl	_abFree
	ldur	x8, [x29, #-96]
Lloh76:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh77:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh78:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_42
; %bb.41:
	ldp	x29, x30, [sp, #320]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #304]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #288]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #272]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #256]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #240]            ; 16-byte Folded Reload
	add	sp, sp, #336
	ret
LBB0_42:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.comm	_ABUF_INIT,8,2                  ; @ABUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\033[?25l"

l_.str.1:                               ; @.str.1
	.asciz	"\033[H"

	.comm	_E,72,3                         ; @E
l_.str.2:                               ; @.str.2
	.asciz	"Kilo editor -- verison %s\033[0K\r\n"

	.comm	_KILO_VERSION,8,3               ; @KILO_VERSION
l_.str.3:                               ; @.str.3
	.asciz	"~"

l_.str.4:                               ; @.str.4
	.asciz	" "

l_.str.5:                               ; @.str.5
	.asciz	"~\033[0K\r\n"

	.comm	_HL_NONPRINT,1,0                ; @HL_NONPRINT
l_.str.6:                               ; @.str.6
	.asciz	"\033[7m"

l_.str.7:                               ; @.str.7
	.asciz	"\033[0m"

	.comm	_HL_NORMAL,1,0                  ; @HL_NORMAL
l_.str.8:                               ; @.str.8
	.asciz	"\033[39m"

l_.str.9:                               ; @.str.9
	.asciz	"\033[%dm"

l_.str.10:                              ; @.str.10
	.asciz	"\033[0K"

l_.str.11:                              ; @.str.11
	.asciz	"\r\n"

l_.str.12:                              ; @.str.12
	.asciz	"%.20s - %d lines %s"

l_.str.13:                              ; @.str.13
	.asciz	"(modified)"

l_.str.14:                              ; @.str.14
	.space	1

l_.str.15:                              ; @.str.15
	.asciz	"%d/%d"

l_.str.16:                              ; @.str.16
	.asciz	"\033[0m\r\n"

	.comm	_TAB,8,3                        ; @TAB
l_.str.17:                              ; @.str.17
	.asciz	"\033[%d;%dH"

l_.str.18:                              ; @.str.18
	.asciz	"\033[?25h"

	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
.subsections_via_symbols
