	.file	"552317.c"
	.intel_syntax noprefix
	.text
	.globl	E
	.bss
	.align 32
	.type	E, @object
	.size	E, 208
E:
	.zero	208
	.section	.rodata
.LC0:
	.string	"\033[2J"
.LC1:
	.string	"\033[H"
	.text
	.globl	die
	.type	die, @function
die:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	edx, 4
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	write@PLT
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	write@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	die, .-die
	.section	.rodata
.LC2:
	.string	"tcsetattr"
	.text
	.globl	disableRawMode
	.type	disableRawMode, @function
disableRawMode:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, E[rip+144]
	mov	esi, 2
	mov	edi, 0
	call	tcsetattr@PLT
	cmp	eax, -1
	jne	.L4
	lea	rdi, .LC2[rip]
	call	die
.L4:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	disableRawMode, .-disableRawMode
	.section	.rodata
.LC3:
	.string	"tcgetattr"
	.text
	.globl	enableRawMode
	.type	enableRawMode, @function
enableRawMode:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rsi, E[rip+144]
	mov	edi, 0
	call	tcgetattr@PLT
	cmp	eax, -1
	jne	.L6
	lea	rdi, .LC3[rip]
	call	die
.L6:
	lea	rdi, disableRawMode[rip]
	call	atexit@PLT
	mov	rax, QWORD PTR E[rip+144]
	mov	rdx, QWORD PTR E[rip+152]
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR E[rip+160]
	mov	rdx, QWORD PTR E[rip+168]
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR E[rip+176]
	mov	rdx, QWORD PTR E[rip+184]
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR E[rip+192]
	mov	QWORD PTR -32[rbp], rax
	mov	eax, DWORD PTR E[rip+200]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	and	eax, -1331
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	and	eax, -2
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	or	eax, -49
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -68[rbp]
	and	eax, -32780
	mov	DWORD PTR -68[rbp], eax
	mov	BYTE PTR -57[rbp], 0
	mov	BYTE PTR -58[rbp], 1
	lea	rax, -80[rbp]
	mov	rdx, rax
	mov	esi, 2
	mov	edi, 0
	call	tcsetattr@PLT
	cmp	eax, -1
	jne	.L9
	lea	rdi, .LC2[rip]
	call	die
.L9:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	enableRawMode, .-enableRawMode
	.section	.rodata
.LC4:
	.string	"read"
	.text
	.globl	editorReadKey
	.type	editorReadKey, @function
editorReadKey:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L11
.L12:
	cmp	DWORD PTR -16[rbp], -1
	jne	.L11
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	cmp	eax, 11
	je	.L11
	lea	rdi, .LC4[rip]
	call	die
.L11:
	lea	rax, -17[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	mov	DWORD PTR -16[rbp], eax
	cmp	DWORD PTR -16[rbp], 1
	jne	.L12
	movzx	eax, BYTE PTR -17[rbp]
	cmp	al, 27
	jne	.L13
	lea	rax, -11[rbp]
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	cmp	rax, 1
	je	.L14
	mov	eax, 27
	jmp	.L40
.L14:
	lea	rax, -11[rbp]
	add	rax, 1
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	cmp	rax, 1
	je	.L16
	mov	eax, 27
	jmp	.L40
.L16:
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 91
	jne	.L17
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 47
	jle	.L18
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 57
	jg	.L18
	lea	rax, -11[rbp]
	add	rax, 2
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	cmp	rax, 1
	je	.L19
	mov	eax, 27
	jmp	.L40
.L19:
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 126
	jne	.L42
	movzx	eax, BYTE PTR -10[rbp]
	movsx	eax, al
	sub	eax, 49
	cmp	eax, 7
	ja	.L42
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L22[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L22[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L22:
	.long	.L28-.L22
	.long	.L42-.L22
	.long	.L27-.L22
	.long	.L26-.L22
	.long	.L25-.L22
	.long	.L24-.L22
	.long	.L23-.L22
	.long	.L21-.L22
	.text
.L28:
	mov	eax, 1529
	jmp	.L40
.L27:
	mov	eax, 1528
	jmp	.L40
.L26:
	mov	eax, 1530
	jmp	.L40
.L25:
	mov	eax, 1531
	jmp	.L40
.L24:
	mov	eax, 1532
	jmp	.L40
.L23:
	mov	eax, 1529
	jmp	.L40
.L21:
	mov	eax, 1530
	jmp	.L40
.L18:
	movzx	eax, BYTE PTR -10[rbp]
	movsx	eax, al
	sub	eax, 65
	cmp	eax, 7
	ja	.L37
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L31[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L31[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L31:
	.long	.L36-.L31
	.long	.L35-.L31
	.long	.L34-.L31
	.long	.L33-.L31
	.long	.L37-.L31
	.long	.L32-.L31
	.long	.L37-.L31
	.long	.L30-.L31
	.text
.L36:
	mov	eax, 1526
	jmp	.L40
.L35:
	mov	eax, 1527
	jmp	.L40
.L34:
	mov	eax, 1525
	jmp	.L40
.L33:
	mov	eax, 1524
	jmp	.L40
.L30:
	mov	eax, 1529
	jmp	.L40
.L32:
	mov	eax, 1530
	jmp	.L40
.L17:
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 79
	jne	.L37
	movzx	eax, BYTE PTR -10[rbp]
	movsx	eax, al
	cmp	eax, 70
	je	.L38
	cmp	eax, 72
	jne	.L37
	mov	eax, 1529
	jmp	.L40
.L38:
	mov	eax, 1530
	jmp	.L40
.L42:
	nop
.L37:
	mov	eax, 27
	jmp	.L40
.L13:
	movzx	eax, BYTE PTR -17[rbp]
	movsx	eax, al
.L40:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L41
	call	__stack_chk_fail@PLT
.L41:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	editorReadKey, .-editorReadKey
	.section	.rodata
.LC5:
	.string	"\033[6n"
.LC6:
	.string	"%d;%d"
	.text
	.globl	getCursorPosition
	.type	getCursorPosition, @function
getCursorPosition:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -72[rbp], rdi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 0
	mov	edx, 4
	lea	rsi, .LC5[rip]
	mov	edi, 1
	call	write@PLT
	cmp	rax, 4
	je	.L46
	mov	eax, -1
	jmp	.L54
.L50:
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -52[rbp]
	add	rax, rdx
	mov	edx, 1
	mov	rsi, rax
	mov	edi, 0
	call	read@PLT
	cmp	rax, 1
	jne	.L56
	mov	eax, DWORD PTR -52[rbp]
	movzx	eax, BYTE PTR -48[rbp+rax]
	cmp	al, 82
	je	.L57
	add	DWORD PTR -52[rbp], 1
.L46:
	cmp	DWORD PTR -52[rbp], 30
	jbe	.L50
	jmp	.L48
.L56:
	nop
	jmp	.L48
.L57:
	nop
.L48:
	mov	eax, DWORD PTR -52[rbp]
	mov	BYTE PTR -48[rbp+rax], 0
	movzx	eax, BYTE PTR -48[rbp]
	cmp	al, 27
	jne	.L51
	movzx	eax, BYTE PTR -47[rbp]
	cmp	al, 91
	je	.L52
.L51:
	mov	eax, -1
	jmp	.L54
.L52:
	mov	rdx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -72[rbp]
	lea	rcx, -48[rbp]
	lea	rdi, 2[rcx]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	eax, 2
	je	.L53
	mov	eax, -1
	jmp	.L54
.L53:
	mov	eax, 0
.L54:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L55
	call	__stack_chk_fail@PLT
.L55:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	getCursorPosition, .-getCursorPosition
	.section	.rodata
.LC7:
	.string	"\033[999C\033[999B"
	.text
	.globl	getWindowSize
	.type	getWindowSize, @function
getWindowSize:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdx, rax
	mov	esi, 21523
	mov	edi, 1
	mov	eax, 0
	call	ioctl@PLT
	cmp	eax, -1
	je	.L59
	movzx	eax, WORD PTR -14[rbp]
	test	ax, ax
	jne	.L60
.L59:
	mov	edx, 12
	lea	rsi, .LC7[rip]
	mov	edi, 1
	call	write@PLT
	cmp	rax, 12
	je	.L61
	mov	eax, -1
	jmp	.L63
.L61:
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	getCursorPosition
	jmp	.L63
.L60:
	movzx	eax, WORD PTR -14[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	movzx	eax, WORD PTR -16[rbp]
	movzx	edx, ax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, 0
.L63:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	getWindowSize, .-getWindowSize
	.globl	editorRowCxToRx
	.type	editorRowCxToRx, @function
editorRowCxToRx:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L66
.L68:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L67
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 7[rax]
	mov	eax, DWORD PTR -8[rbp]
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 29
	add	eax, ecx
	and	eax, 7
	sub	eax, ecx
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR -8[rbp], eax
.L67:
	add	DWORD PTR -8[rbp], 1
	add	DWORD PTR -4[rbp], 1
.L66:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L68
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	editorRowCxToRx, .-editorRowCxToRx
	.globl	editorUpdateRow
	.type	editorUpdateRow, @function
editorUpdateRow:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	jmp	.L71
.L73:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L72
	add	DWORD PTR -16[rbp], 1
.L72:
	add	DWORD PTR -12[rbp], 1
.L71:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L73
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	add	eax, ecx
	add	eax, 1
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR 16[rax], rdx
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	jmp	.L74
.L79:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 9
	jne	.L75
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	add	rax, rcx
	mov	BYTE PTR [rax], 32
	jmp	.L76
.L77:
	mov	rax, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	add	rax, rcx
	mov	BYTE PTR [rax], 32
.L76:
	mov	eax, DWORD PTR -8[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L77
	jmp	.L78
.L75:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, [rdx+rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -8[rbp], edx
	cdqe
	lea	rdx, [rsi+rax]
	movzx	eax, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], al
.L78:
	add	DWORD PTR -4[rbp], 1
.L74:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L79
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	mov	DWORD PTR 4[rax], edx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	editorUpdateRow, .-editorUpdateRow
	.globl	editorInsertRow
	.type	editorInsertRow, @function
editorInsertRow:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	cmp	DWORD PTR -20[rbp], 0
	js	.L84
	mov	eax, DWORD PTR E[rip+28]
	cmp	DWORD PTR -20[rbp], eax
	jg	.L84
	mov	eax, DWORD PTR E[rip+28]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR E[rip+32]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR E[rip+32], rax
	mov	eax, DWORD PTR E[rip+28]
	sub	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rsi, rax
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rdi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	rdx, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR -40[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	lea	rdx, 1[rax]
	mov	rsi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	lea	rbx, [rsi+rax]
	mov	rdi, rdx
	call	malloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rax, QWORD PTR 8[rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 4[rax], 0
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR 16[rax], 0
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	call	editorUpdateRow
	mov	eax, DWORD PTR E[rip+28]
	add	eax, 1
	mov	DWORD PTR E[rip+28], eax
	mov	eax, DWORD PTR E[rip+40]
	add	eax, 1
	mov	DWORD PTR E[rip+40], eax
	jmp	.L80
.L84:
	nop
.L80:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	editorInsertRow, .-editorInsertRow
	.globl	editorFreeRow
	.type	editorFreeRow, @function
editorFreeRow:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	editorFreeRow, .-editorFreeRow
	.globl	editorDelRow
	.type	editorDelRow, @function
editorDelRow:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	js	.L90
	mov	eax, DWORD PTR E[rip+28]
	cmp	DWORD PTR -4[rbp], eax
	jge	.L90
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdi, rax
	call	editorFreeRow
	mov	eax, DWORD PTR E[rip+28]
	sub	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rsi, rax
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rdi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	rdx, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	memmove@PLT
	mov	eax, DWORD PTR E[rip+28]
	sub	eax, 1
	mov	DWORD PTR E[rip+28], eax
	mov	eax, DWORD PTR E[rip+40]
	add	eax, 1
	mov	DWORD PTR E[rip+40], eax
	jmp	.L86
.L90:
	nop
.L86:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	editorDelRow, .-editorDelRow
	.globl	editorRowInsertChar
	.type	editorRowInsertChar, @function
editorRowInsertChar:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	DWORD PTR -16[rbp], edx
	cmp	DWORD PTR -12[rbp], 0
	js	.L92
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L93
.L92:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
.L93:
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	add	eax, 2
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -12[rbp]
	add	eax, 1
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 1
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -16[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	editorUpdateRow
	mov	eax, DWORD PTR E[rip+40]
	add	eax, 1
	mov	DWORD PTR E[rip+40], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	editorRowInsertChar, .-editorRowInsertChar
	.globl	editorRowAppendString
	.type	editorRowAppendString, @function
editorRowAppendString:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	lea	rdx, 1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 8[rdx], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	lea	rcx, [rdx+rax]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	editorUpdateRow
	mov	eax, DWORD PTR E[rip+40]
	add	eax, 1
	mov	DWORD PTR E[rip+40], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	editorRowAppendString, .-editorRowAppendString
	.globl	editorRowDelChar
	.type	editorRowDelChar, @function
editorRowDelChar:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	cmp	DWORD PTR -12[rbp], 0
	js	.L99
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L99
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	sub	eax, DWORD PTR -12[rbp]
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rdx, 1
	lea	rsi, [rcx+rdx]
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rdx, edx
	add	rcx, rdx
	mov	rdx, rax
	mov	rdi, rcx
	call	memmove@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	editorUpdateRow
	mov	eax, DWORD PTR E[rip+40]
	add	eax, 1
	mov	DWORD PTR E[rip+40], eax
	jmp	.L95
.L99:
	nop
.L95:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	editorRowDelChar, .-editorRowDelChar
	.section	.rodata
.LC8:
	.string	""
	.text
	.globl	editorInsertChar
	.type	editorInsertChar, @function
editorInsertChar:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jne	.L101
	mov	eax, DWORD PTR E[rip+28]
	mov	edx, 0
	lea	rsi, .LC8[rip]
	mov	edi, eax
	call	editorInsertRow
.L101:
	mov	ecx, DWORD PTR E[rip]
	mov	rsi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	lea	rdi, [rsi+rax]
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, eax
	mov	esi, ecx
	call	editorRowInsertChar
	mov	eax, DWORD PTR E[rip]
	add	eax, 1
	mov	DWORD PTR E[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	editorInsertChar, .-editorInsertChar
	.globl	editorInsertNewLine
	.type	editorInsertNewLine, @function
editorInsertNewLine:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, DWORD PTR E[rip]
	test	eax, eax
	jne	.L103
	mov	eax, DWORD PTR E[rip+4]
	mov	edx, 0
	lea	rsi, .LC8[rip]
	mov	edi, eax
	call	editorInsertRow
	jmp	.L104
.L103:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR E[rip]
	sub	eax, edx
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rdx]
	mov	edx, DWORD PTR E[rip]
	movsx	rdx, edx
	lea	rsi, [rcx+rdx]
	mov	edx, DWORD PTR E[rip+4]
	lea	ecx, 1[rdx]
	mov	rdx, rax
	mov	edi, ecx
	call	editorInsertRow
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	edx, DWORD PTR E[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cdqe
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	editorUpdateRow
.L104:
	mov	eax, DWORD PTR E[rip+4]
	add	eax, 1
	mov	DWORD PTR E[rip+4], eax
	mov	DWORD PTR E[rip], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	editorInsertNewLine, .-editorInsertNewLine
	.globl	editorDelChar
	.type	editorDelChar, @function
editorDelChar:
.LFB22:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	je	.L110
	mov	eax, DWORD PTR E[rip]
	test	eax, eax
	jne	.L108
	mov	eax, DWORD PTR E[rip+4]
	test	eax, eax
	je	.L111
.L108:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR E[rip]
	test	eax, eax
	jle	.L109
	mov	eax, DWORD PTR E[rip]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	editorRowDelChar
	mov	eax, DWORD PTR E[rip]
	sub	eax, 1
	mov	DWORD PTR E[rip], eax
	jmp	.L105
.L109:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	sub	rax, 24
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR E[rip], eax
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	rcx, QWORD PTR 8[rax]
	mov	rdi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rsi, eax
	mov	rax, rsi
	add	rax, rax
	add	rax, rsi
	sal	rax, 3
	sub	rax, 24
	add	rax, rdi
	mov	rsi, rcx
	mov	rdi, rax
	call	editorRowAppendString
	mov	eax, DWORD PTR E[rip+4]
	mov	edi, eax
	call	editorDelRow
	mov	eax, DWORD PTR E[rip+4]
	sub	eax, 1
	mov	DWORD PTR E[rip+4], eax
	jmp	.L105
.L110:
	nop
	jmp	.L105
.L111:
	nop
.L105:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	editorDelChar, .-editorDelChar
	.globl	editorRowsToString
	.type	editorRowsToString, @function
editorRowsToString:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	DWORD PTR -28[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	jmp	.L113
.L114:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -24[rbp], 1
.L113:
	mov	eax, DWORD PTR E[rip+28]
	cmp	DWORD PTR -24[rbp], eax
	jl	.L114
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -20[rbp], 0
	jmp	.L115
.L116:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rsi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	rcx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cdqe
	add	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 10
	add	QWORD PTR -16[rbp], 1
	add	DWORD PTR -20[rbp], 1
.L115:
	mov	eax, DWORD PTR E[rip+28]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L116
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	editorRowsToString, .-editorRowsToString
	.section	.rodata
.LC9:
	.string	"r"
.LC10:
	.string	"fopen"
	.text
	.globl	editorOpen
	.type	editorOpen, @function
editorOpen:
.LFB24:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR E[rip+48]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strdup@PLT
	mov	QWORD PTR E[rip+48], rax
	mov	rax, QWORD PTR -56[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L119
	lea	rdi, .LC10[rip]
	call	die
.L119:
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	jmp	.L120
.L123:
	sub	QWORD PTR -24[rbp], 1
.L121:
	cmp	QWORD PTR -24[rbp], 0
	jle	.L122
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 10
	je	.L123
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 13
	je	.L123
.L122:
	mov	rdx, QWORD PTR -24[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR E[rip+28]
	mov	rsi, rcx
	mov	edi, eax
	call	editorInsertRow
.L120:
	mov	rdx, QWORD PTR -16[rbp]
	lea	rcx, -32[rbp]
	lea	rax, -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	getline@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], -1
	jne	.L121
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	DWORD PTR E[rip+40], 0
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L125
	call	__stack_chk_fail@PLT
.L125:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	editorOpen, .-editorOpen
	.section	.rodata
.LC11:
	.string	"Save as: %s (ESC to cancel)"
.LC12:
	.string	"Save aborted"
.LC13:
	.string	"%d bytes written to disk"
.LC14:
	.string	"Can't save !! I/O error: %s"
	.text
	.globl	editorSave
	.type	editorSave, @function
editorSave:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR E[rip+48]
	test	rax, rax
	jne	.L127
	lea	rdi, .LC11[rip]
	call	editorPrompt
	mov	QWORD PTR E[rip+48], rax
	mov	rax, QWORD PTR E[rip+48]
	test	rax, rax
	jne	.L127
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	editorSetStatusMessage
	jmp	.L126
.L127:
	lea	rax, -24[rbp]
	mov	rdi, rax
	call	editorRowsToString
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR E[rip+48]
	mov	edx, 420
	mov	esi, 66
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], -1
	je	.L129
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ftruncate@PLT
	cmp	eax, -1
	je	.L130
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rcx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	edx, DWORD PTR -24[rbp]
	movsx	rdx, edx
	cmp	rax, rdx
	jne	.L130
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	close@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	DWORD PTR E[rip+40], 0
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, eax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	editorSetStatusMessage
	jmp	.L126
.L130:
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	close@PLT
.L129:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rsi, rax
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	editorSetStatusMessage
.L126:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L132
	call	__stack_chk_fail@PLT
.L132:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	editorSave, .-editorSave
	.globl	abAppend
	.type	abAppend, @function
abAppend:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L136
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 8[rax]
	movsx	rcx, eax
	mov	rax, QWORD PTR -8[rbp]
	add	rcx, rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	mov	rdi, rcx
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	eax, DWORD PTR -36[rbp]
	add	edx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 8[rax], edx
	jmp	.L133
.L136:
	nop
.L133:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	abAppend, .-abAppend
	.globl	abFree
	.type	abFree, @function
abFree:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	abFree, .-abFree
	.globl	editorScroll
	.type	editorScroll, @function
editorScroll:
.LFB28:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR E[rip+8], 0
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jge	.L139
	mov	edx, DWORD PTR E[rip]
	mov	rsi, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rcx, eax
	mov	rax, rcx
	add	rax, rax
	add	rax, rcx
	sal	rax, 3
	add	rax, rsi
	mov	esi, edx
	mov	rdi, rax
	call	editorRowCxToRx
	mov	DWORD PTR E[rip+8], eax
.L139:
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+12]
	cmp	edx, eax
	jge	.L140
	mov	eax, DWORD PTR E[rip+4]
	mov	DWORD PTR E[rip+12], eax
.L140:
	mov	eax, DWORD PTR E[rip+4]
	mov	ecx, DWORD PTR E[rip+12]
	mov	edx, DWORD PTR E[rip+20]
	add	edx, ecx
	cmp	eax, edx
	jl	.L141
	mov	eax, DWORD PTR E[rip+4]
	mov	edx, DWORD PTR E[rip+20]
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR E[rip+12], eax
.L141:
	mov	edx, DWORD PTR E[rip+8]
	mov	eax, DWORD PTR E[rip+16]
	cmp	edx, eax
	jge	.L142
	mov	eax, DWORD PTR E[rip+8]
	mov	DWORD PTR E[rip+16], eax
.L142:
	mov	eax, DWORD PTR E[rip+8]
	mov	ecx, DWORD PTR E[rip+16]
	mov	edx, DWORD PTR E[rip+24]
	add	edx, ecx
	cmp	eax, edx
	jl	.L144
	mov	eax, DWORD PTR E[rip+8]
	mov	edx, DWORD PTR E[rip+24]
	sub	eax, edx
	add	eax, 1
	mov	DWORD PTR E[rip+16], eax
.L144:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	editorScroll, .-editorScroll
	.section	.rodata
.LC15:
	.string	"0.0.1"
.LC16:
	.string	"Codible -- version %s"
.LC17:
	.string	"~"
.LC18:
	.string	" "
.LC19:
	.string	"\033[K"
.LC20:
	.string	"\r\n"
	.text
	.globl	editorDrawRows
	.type	editorDrawRows, @function
editorDrawRows:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 144
	mov	QWORD PTR -136[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -116[rbp], 0
	jmp	.L146
.L157:
	mov	edx, DWORD PTR E[rip+12]
	mov	eax, DWORD PTR -116[rbp]
	add	eax, edx
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR E[rip+28]
	cmp	DWORD PTR -100[rbp], eax
	jl	.L147
	mov	eax, DWORD PTR E[rip+28]
	test	eax, eax
	jne	.L148
	mov	eax, DWORD PTR E[rip+20]
	movsx	rdx, eax
	imul	rdx, rdx, 1431655766
	shr	rdx, 32
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	cmp	DWORD PTR -116[rbp], eax
	jne	.L148
	lea	rax, -96[rbp]
	lea	rcx, .LC15[rip]
	lea	rdx, .LC16[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -112[rbp], eax
	mov	eax, DWORD PTR E[rip+24]
	cmp	DWORD PTR -112[rbp], eax
	jle	.L149
	mov	eax, DWORD PTR E[rip+24]
	mov	DWORD PTR -112[rbp], eax
.L149:
	mov	eax, DWORD PTR E[rip+24]
	sub	eax, DWORD PTR -112[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	je	.L151
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	abAppend
	sub	DWORD PTR -108[rbp], 1
	jmp	.L151
.L152:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	abAppend
.L151:
	mov	eax, DWORD PTR -108[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -108[rbp], edx
	test	eax, eax
	jne	.L152
	mov	edx, DWORD PTR -112[rbp]
	lea	rcx, -96[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	abAppend
	jmp	.L154
.L148:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 1
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	abAppend
	jmp	.L154
.L147:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 4[rax]
	mov	edx, DWORD PTR E[rip+16]
	sub	eax, edx
	mov	DWORD PTR -104[rbp], eax
	cmp	DWORD PTR -104[rbp], 0
	jns	.L155
	mov	DWORD PTR -104[rbp], 0
.L155:
	mov	eax, DWORD PTR E[rip+24]
	cmp	DWORD PTR -104[rbp], eax
	jle	.L156
	mov	eax, DWORD PTR E[rip+24]
	mov	DWORD PTR -104[rbp], eax
.L156:
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR -100[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, QWORD PTR 16[rax]
	mov	eax, DWORD PTR E[rip+16]
	cdqe
	lea	rcx, [rdx+rax]
	mov	edx, DWORD PTR -104[rbp]
	mov	rax, QWORD PTR -136[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	abAppend
.L154:
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 3
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	abAppend
	mov	rax, QWORD PTR -136[rbp]
	mov	edx, 2
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	abAppend
	add	DWORD PTR -116[rbp], 1
.L146:
	mov	eax, DWORD PTR E[rip+20]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L157
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L158
	call	__stack_chk_fail@PLT
.L158:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	editorDrawRows, .-editorDrawRows
	.section	.rodata
.LC21:
	.string	"\033[7m"
.LC22:
	.string	"(modified)"
.LC23:
	.string	"[No Name]"
.LC24:
	.string	"%.20s - %d lines %s"
.LC25:
	.string	"%d/%d"
.LC26:
	.string	"\033[m"
	.text
	.globl	editorDrawStatusBar
	.type	editorDrawStatusBar, @function
editorDrawStatusBar:
.LFB30:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	QWORD PTR -200[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 4
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	call	abAppend
	mov	eax, DWORD PTR E[rip+40]
	test	eax, eax
	je	.L160
	lea	rdx, .LC22[rip]
	jmp	.L161
.L160:
	lea	rdx, .LC8[rip]
.L161:
	mov	ecx, DWORD PTR E[rip+28]
	mov	rax, QWORD PTR E[rip+48]
	test	rax, rax
	je	.L162
	mov	rax, QWORD PTR E[rip+48]
	jmp	.L163
.L162:
	lea	rax, .LC23[rip]
.L163:
	lea	rdi, -176[rbp]
	mov	r9, rdx
	mov	r8d, ecx
	mov	rcx, rax
	lea	rdx, .LC24[rip]
	mov	esi, 80
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -184[rbp], eax
	mov	ecx, DWORD PTR E[rip+28]
	mov	eax, DWORD PTR E[rip+4]
	lea	edx, 1[rax]
	lea	rax, -96[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	lea	rdx, .LC25[rip]
	mov	esi, 80
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	mov	DWORD PTR -180[rbp], eax
	mov	eax, DWORD PTR E[rip+24]
	cmp	DWORD PTR -184[rbp], eax
	jle	.L164
	mov	eax, DWORD PTR E[rip+24]
	mov	DWORD PTR -184[rbp], eax
.L164:
	mov	edx, DWORD PTR -184[rbp]
	lea	rcx, -176[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	abAppend
	jmp	.L165
.L168:
	mov	eax, DWORD PTR E[rip+24]
	sub	eax, DWORD PTR -184[rbp]
	cmp	DWORD PTR -180[rbp], eax
	jne	.L166
	mov	edx, DWORD PTR -180[rbp]
	lea	rcx, -96[rbp]
	mov	rax, QWORD PTR -200[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	abAppend
	jmp	.L167
.L166:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 1
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	call	abAppend
	add	DWORD PTR -184[rbp], 1
.L165:
	mov	eax, DWORD PTR E[rip+24]
	cmp	DWORD PTR -184[rbp], eax
	jl	.L168
.L167:
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 3
	lea	rsi, .LC26[rip]
	mov	rdi, rax
	call	abAppend
	mov	rax, QWORD PTR -200[rbp]
	mov	edx, 2
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	call	abAppend
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L169
	call	__stack_chk_fail@PLT
.L169:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	editorDrawStatusBar, .-editorDrawStatusBar
	.globl	editorDrawMessageBar
	.type	editorDrawMessageBar, @function
editorDrawMessageBar:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 3
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	abAppend
	lea	rdi, E[rip+56]
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR E[rip+24]
	cmp	DWORD PTR -4[rbp], eax
	jle	.L171
	mov	eax, DWORD PTR E[rip+24]
	mov	DWORD PTR -4[rbp], eax
.L171:
	cmp	DWORD PTR -4[rbp], 0
	je	.L173
	mov	edi, 0
	call	time@PLT
	mov	rdx, QWORD PTR E[rip+136]
	sub	rax, rdx
	cmp	rax, 4
	jg	.L173
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, E[rip+56]
	mov	rdi, rax
	call	abAppend
.L173:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	editorDrawMessageBar, .-editorDrawMessageBar
	.section	.rodata
.LC27:
	.string	"\033[?25l"
.LC28:
	.string	"\033[%d;%dH"
.LC29:
	.string	"\033[?25h"
	.text
	.globl	editorRefreshScreen
	.type	editorRefreshScreen, @function
editorRefreshScreen:
.LFB32:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, 0
	call	editorScroll
	mov	QWORD PTR -64[rbp], 0
	mov	DWORD PTR -56[rbp], 0
	lea	rax, -64[rbp]
	mov	edx, 6
	lea	rsi, .LC27[rip]
	mov	rdi, rax
	call	abAppend
	lea	rax, -64[rbp]
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	abAppend
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	editorDrawRows
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	editorDrawStatusBar
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	editorDrawMessageBar
	mov	eax, DWORD PTR E[rip+8]
	mov	edx, DWORD PTR E[rip+16]
	sub	eax, edx
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR E[rip+4]
	mov	edx, DWORD PTR E[rip+12]
	sub	eax, edx
	lea	edx, 1[rax]
	lea	rax, -48[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	lea	rdx, .LC28[rip]
	mov	esi, 32
	mov	rdi, rax
	mov	eax, 0
	call	snprintf@PLT
	lea	rax, -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	edx, eax
	lea	rcx, -48[rbp]
	lea	rax, -64[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	abAppend
	lea	rax, -64[rbp]
	mov	edx, 6
	lea	rsi, .LC29[rip]
	mov	rdi, rax
	call	abAppend
	mov	eax, DWORD PTR -56[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	mov	edi, 1
	call	write@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	abFree
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L175
	call	__stack_chk_fail@PLT
.L175:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE32:
	.size	editorRefreshScreen, .-editorRefreshScreen
	.globl	editorSetStatusMessage
	.type	editorSetStatusMessage, @function
editorSetStatusMessage:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 224
	mov	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L177
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L177:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	lea	rdx, -208[rbp]
	mov	rax, QWORD PTR -216[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	mov	esi, 80
	lea	rdi, E[rip+56]
	call	vsnprintf@PLT
	mov	edi, 0
	call	time@PLT
	mov	QWORD PTR E[rip+136], rax
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L178
	call	__stack_chk_fail@PLT
.L178:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE33:
	.size	editorSetStatusMessage, .-editorSetStatusMessage
	.globl	editorPrompt
	.type	editorPrompt, @function
editorPrompt:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -24[rbp], 128
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	QWORD PTR -8[rbp], 0
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
.L188:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	editorSetStatusMessage
	mov	eax, 0
	call	editorRefreshScreen
	mov	eax, 0
	call	editorReadKey
	mov	DWORD PTR -28[rbp], eax
	cmp	DWORD PTR -28[rbp], 1528
	je	.L180
	cmp	DWORD PTR -28[rbp], 8
	je	.L180
	cmp	DWORD PTR -28[rbp], 127
	jne	.L181
.L180:
	cmp	QWORD PTR -8[rbp], 0
	je	.L183
	sub	QWORD PTR -8[rbp], 1
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	jmp	.L183
.L181:
	cmp	DWORD PTR -28[rbp], 27
	jne	.L184
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	editorSetStatusMessage
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	jmp	.L185
.L184:
	cmp	DWORD PTR -28[rbp], 13
	jne	.L186
	cmp	QWORD PTR -8[rbp], 0
	je	.L188
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	editorSetStatusMessage
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L185
.L186:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2
	test	eax, eax
	jne	.L188
	cmp	DWORD PTR -28[rbp], 127
	jg	.L188
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, 1
	cmp	QWORD PTR -8[rbp], rax
	jne	.L187
	sal	QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR -16[rbp], rax
.L187:
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 1[rax]
	mov	QWORD PTR -8[rbp], rdx
	mov	rdx, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -28[rbp]
	mov	BYTE PTR [rax], dl
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
.L183:
	jmp	.L188
.L185:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	editorPrompt, .-editorPrompt
	.globl	editorMoveCursor
	.type	editorMoveCursor, @function
editorMoveCursor:
.LFB35:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jge	.L190
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	jmp	.L191
.L190:
	mov	eax, 0
.L191:
	mov	QWORD PTR -8[rbp], rax
	cmp	DWORD PTR -20[rbp], 1527
	je	.L192
	cmp	DWORD PTR -20[rbp], 1527
	jg	.L193
	cmp	DWORD PTR -20[rbp], 1526
	je	.L194
	cmp	DWORD PTR -20[rbp], 1526
	jg	.L193
	cmp	DWORD PTR -20[rbp], 1524
	je	.L195
	cmp	DWORD PTR -20[rbp], 1525
	je	.L196
	jmp	.L193
.L195:
	mov	eax, DWORD PTR E[rip]
	test	eax, eax
	je	.L197
	mov	eax, DWORD PTR E[rip]
	sub	eax, 1
	mov	DWORD PTR E[rip], eax
	jmp	.L208
.L197:
	mov	eax, DWORD PTR E[rip+4]
	test	eax, eax
	jle	.L208
	mov	eax, DWORD PTR E[rip+4]
	sub	eax, 1
	mov	DWORD PTR E[rip+4], eax
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR E[rip], eax
	jmp	.L208
.L196:
	cmp	QWORD PTR -8[rbp], 0
	je	.L199
	mov	edx, DWORD PTR E[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jge	.L199
	mov	eax, DWORD PTR E[rip]
	add	eax, 1
	mov	DWORD PTR E[rip], eax
	jmp	.L209
.L199:
	cmp	QWORD PTR -8[rbp], 0
	je	.L209
	mov	edx, DWORD PTR E[rip]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jne	.L209
	mov	eax, DWORD PTR E[rip+4]
	add	eax, 1
	mov	DWORD PTR E[rip+4], eax
	mov	DWORD PTR E[rip], 0
	jmp	.L209
.L194:
	mov	eax, DWORD PTR E[rip+4]
	test	eax, eax
	je	.L210
	mov	eax, DWORD PTR E[rip+4]
	sub	eax, 1
	mov	DWORD PTR E[rip+4], eax
	jmp	.L210
.L192:
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jge	.L211
	mov	eax, DWORD PTR E[rip+4]
	add	eax, 1
	mov	DWORD PTR E[rip+4], eax
	jmp	.L211
.L208:
	nop
	jmp	.L193
.L209:
	nop
	jmp	.L193
.L210:
	nop
	jmp	.L193
.L211:
	nop
.L193:
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jge	.L203
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	jmp	.L204
.L203:
	mov	eax, 0
.L204:
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L205
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	jmp	.L206
.L205:
	mov	eax, 0
.L206:
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR E[rip]
	cmp	DWORD PTR -12[rbp], eax
	jge	.L212
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR E[rip], eax
.L212:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	editorMoveCursor, .-editorMoveCursor
	.section	.rodata
	.align 8
.LC30:
	.string	"WARNING!!! File has unsaved changes. Press Ctrl-Q %d more times to quit."
	.text
	.globl	editorProcessKeypress
	.type	editorProcessKeypress, @function
editorProcessKeypress:
.LFB36:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	eax, 0
	call	editorReadKey
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 1532
	jg	.L214
	cmp	DWORD PTR -4[rbp], 1524
	jge	.L215
	cmp	DWORD PTR -4[rbp], 27
	jg	.L216
	cmp	DWORD PTR -4[rbp], 8
	jge	.L217
	jmp	.L214
.L215:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1524
	cmp	eax, 8
	ja	.L214
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L219[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L219[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L219:
	.long	.L223-.L219
	.long	.L223-.L219
	.long	.L223-.L219
	.long	.L223-.L219
	.long	.L222-.L219
	.long	.L221-.L219
	.long	.L220-.L219
	.long	.L218-.L219
	.long	.L218-.L219
	.text
.L217:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 8
	cmp	eax, 19
	ja	.L214
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L225[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L225[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L225:
	.long	.L222-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L240-.L225
	.long	.L228-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L227-.L225
	.long	.L214-.L225
	.long	.L226-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L214-.L225
	.long	.L240-.L225
	.text
.L216:
	cmp	DWORD PTR -4[rbp], 127
	je	.L222
	jmp	.L214
.L228:
	mov	eax, 0
	call	editorInsertNewLine
	jmp	.L229
.L227:
	mov	eax, DWORD PTR E[rip+40]
	test	eax, eax
	je	.L230
	mov	eax, DWORD PTR quit_times.0[rip]
	test	eax, eax
	jle	.L230
	mov	eax, DWORD PTR quit_times.0[rip]
	mov	esi, eax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	editorSetStatusMessage
	mov	eax, DWORD PTR quit_times.0[rip]
	sub	eax, 1
	mov	DWORD PTR quit_times.0[rip], eax
	jmp	.L213
.L230:
	mov	edx, 4
	lea	rsi, .LC0[rip]
	mov	edi, 1
	call	write@PLT
	mov	edx, 3
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	write@PLT
	mov	edi, 0
	call	exit@PLT
.L226:
	mov	eax, 0
	call	editorSave
	jmp	.L229
.L221:
	mov	DWORD PTR E[rip], 0
	jmp	.L229
.L220:
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jge	.L241
	mov	rcx, QWORD PTR E[rip+32]
	mov	eax, DWORD PTR E[rip+4]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR E[rip], eax
	jmp	.L241
.L222:
	cmp	DWORD PTR -4[rbp], 1528
	jne	.L233
	mov	edi, 1525
	call	editorMoveCursor
.L233:
	mov	eax, 0
	call	editorDelChar
	jmp	.L229
.L218:
	cmp	DWORD PTR -4[rbp], 1531
	jne	.L234
	mov	eax, DWORD PTR E[rip+12]
	mov	DWORD PTR E[rip+4], eax
	jmp	.L235
.L234:
	cmp	DWORD PTR -4[rbp], 1532
	jne	.L235
	mov	edx, DWORD PTR E[rip+12]
	mov	eax, DWORD PTR E[rip+20]
	add	eax, edx
	sub	eax, 1
	mov	DWORD PTR E[rip+4], eax
	mov	edx, DWORD PTR E[rip+4]
	mov	eax, DWORD PTR E[rip+28]
	cmp	edx, eax
	jle	.L235
	mov	eax, DWORD PTR E[rip+28]
	mov	DWORD PTR E[rip+4], eax
.L235:
	mov	eax, DWORD PTR E[rip+20]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L236
.L239:
	cmp	DWORD PTR -4[rbp], 1531
	jne	.L237
	mov	eax, 1526
	jmp	.L238
.L237:
	mov	eax, 1527
.L238:
	mov	edi, eax
	call	editorMoveCursor
.L236:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -8[rbp], edx
	test	eax, eax
	jne	.L239
	jmp	.L229
.L223:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	editorMoveCursor
	jmp	.L229
.L214:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	editorInsertChar
	jmp	.L229
.L240:
	nop
	jmp	.L229
.L241:
	nop
.L229:
	mov	DWORD PTR quit_times.0[rip], 3
.L213:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	editorProcessKeypress, .-editorProcessKeypress
	.section	.rodata
.LC31:
	.string	"getWindowSize"
	.text
	.globl	initialEditor
	.type	initialEditor, @function
initialEditor:
.LFB37:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR E[rip], 0
	mov	DWORD PTR E[rip+4], 0
	mov	DWORD PTR E[rip+8], 0
	mov	DWORD PTR E[rip+12], 0
	mov	DWORD PTR E[rip+16], 0
	mov	DWORD PTR E[rip+28], 0
	mov	QWORD PTR E[rip+32], 0
	mov	DWORD PTR E[rip+40], 0
	mov	QWORD PTR E[rip+48], 0
	mov	BYTE PTR E[rip+56], 0
	mov	QWORD PTR E[rip+136], 0
	lea	rsi, E[rip+24]
	lea	rdi, E[rip+20]
	call	getWindowSize
	cmp	eax, -1
	jne	.L243
	lea	rdi, .LC31[rip]
	call	die
.L243:
	mov	eax, DWORD PTR E[rip+20]
	sub	eax, 2
	mov	DWORD PTR E[rip+20], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE37:
	.size	initialEditor, .-initialEditor
	.section	.rodata
	.align 8
.LC32:
	.string	"HELP: Ctrl-S = Save | Ctrl-Q = Quit"
	.text
	.globl	main
	.type	main, @function
main:
.LFB38:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	eax, 0
	call	enableRawMode
	mov	eax, 0
	call	initialEditor
	cmp	DWORD PTR -4[rbp], 1
	jle	.L245
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	editorOpen
.L245:
	lea	rdi, .LC32[rip]
	mov	eax, 0
	call	editorSetStatusMessage
.L246:
	mov	eax, 0
	call	editorRefreshScreen
	mov	eax, 0
	call	editorProcessKeypress
	jmp	.L246
	.cfi_endproc
.LFE38:
	.size	main, .-main
	.data
	.align 4
	.type	quit_times.0, @object
	.size	quit_times.0, 4
quit_times.0:
	.long	3
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"552317.c"
	.text
	.comm	E,188,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\033[2J\000"
	.align	2
.LC1:
	.ascii	"\033[H\000"
	.text
	.align	2
	.global	die
	.syntax unified
	.arm
	.fpu softvfp
	.type	die, %function
die:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	mov	r2, #4
	ldr	r1, .L2
	mov	r0, #1
	bl	write
	mov	r2, #3
	ldr	r1, .L2+4
	mov	r0, #1
	bl	write
	ldr	r0, [fp, #-8]
	bl	perror
	mov	r0, #1
	bl	exit
.L3:
	.align	2
.L2:
	.word	.LC0
	.word	.LC1
	.size	die, .-die
	.section	.rodata
	.align	2
.LC2:
	.ascii	"tcsetattr\000"
	.text
	.align	2
	.global	disableRawMode
	.syntax unified
	.arm
	.fpu softvfp
	.type	disableRawMode, %function
disableRawMode:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r2, .L7
	mov	r1, #2
	mov	r0, #0
	bl	tcsetattr
	mov	r3, r0
	cmn	r3, #1
	bne	.L6
	ldr	r0, .L7+4
	bl	die
.L6:
	nop
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	E+128
	.word	.LC2
	.size	disableRawMode, .-disableRawMode
	.section	.rodata
	.align	2
.LC3:
	.ascii	"tcgetattr\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	enableRawMode
	.syntax unified
	.arm
	.fpu softvfp
	.type	enableRawMode, %function
enableRawMode:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #64
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L14+4
	mov	r0, #0
	bl	tcgetattr
	mov	r3, r0
	cmn	r3, #1
	bne	.L10
	ldr	r0, .L14+8
	bl	die
.L10:
	ldr	r0, .L14+12
	bl	atexit
	ldr	r3, .L14+16
	sub	ip, fp, #68
	add	lr, r3, #128
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stm	ip, {r0, r1, r2}
	ldr	r3, [fp, #-68]
	bic	r3, r3, #1328
	bic	r3, r3, #2
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-64]
	bic	r3, r3, #1
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-60]
	mvn	r3, r3
	and	r3, r3, #48
	mvn	r3, r3
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-56]
	bic	r3, r3, #32768
	bic	r3, r3, #11
	str	r3, [fp, #-56]
	mov	r3, #0
	strb	r3, [fp, #-45]
	mov	r3, #1
	strb	r3, [fp, #-46]
	sub	r3, fp, #68
	mov	r2, r3
	mov	r1, #2
	mov	r0, #0
	bl	tcsetattr
	mov	r3, r0
	cmn	r3, #1
	bne	.L13
	ldr	r0, .L14+20
	bl	die
.L13:
	nop
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	E+128
	.word	.LC3
	.word	disableRawMode
	.word	E
	.word	.LC2
	.size	enableRawMode, .-enableRawMode
	.section	.rodata
	.align	2
.LC5:
	.ascii	"read\000"
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorReadKey
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorReadKey, %function
editorReadKey:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L49
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	b	.L17
.L18:
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L17
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #11
	beq	.L17
	ldr	r0, .L49+4
	bl	die
.L17:
	sub	r3, fp, #17
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L18
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
	cmp	r3, #27
	bne	.L19
	sub	r3, fp, #12
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L20
	mov	r3, #27
	b	.L46
.L20:
	sub	r3, fp, #12
	add	r3, r3, #1
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L22
	mov	r3, #27
	b	.L46
.L22:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #91
	bne	.L23
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L24
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L24
	sub	r3, fp, #12
	add	r3, r3, #2
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	mov	r3, r0
	cmp	r3, #1
	beq	.L25
	mov	r3, #27
	b	.L46
.L25:
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #126
	bne	.L48
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	sub	r3, r3, #49
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L48
.L28:
	.word	.L34
	.word	.L48
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L30
	.word	.L29
	.word	.L27
.L34:
	ldr	r3, .L49+8
	b	.L46
.L33:
	ldr	r3, .L49+12
	b	.L46
.L32:
	ldr	r3, .L49+16
	b	.L46
.L31:
	ldr	r3, .L49+20
	b	.L46
.L30:
	ldr	r3, .L49+24
	b	.L46
.L29:
	ldr	r3, .L49+8
	b	.L46
.L27:
	ldr	r3, .L49+16
	b	.L46
.L24:
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	sub	r3, r3, #65
	cmp	r3, #7
	ldrls	pc, [pc, r3, asl #2]
	b	.L43
.L37:
	.word	.L42
	.word	.L41
	.word	.L40
	.word	.L39
	.word	.L43
	.word	.L38
	.word	.L43
	.word	.L36
.L42:
	ldr	r3, .L49+28
	b	.L46
.L41:
	ldr	r3, .L49+32
	b	.L46
.L40:
	ldr	r3, .L49+36
	b	.L46
.L39:
	ldr	r3, .L49+40
	b	.L46
.L36:
	ldr	r3, .L49+8
	b	.L46
.L38:
	ldr	r3, .L49+16
	b	.L46
.L23:
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #79
	bne	.L43
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #70
	beq	.L44
	cmp	r3, #72
	bne	.L43
	ldr	r3, .L49+8
	b	.L46
.L44:
	ldr	r3, .L49+16
	b	.L46
.L48:
	nop
.L43:
	mov	r3, #27
	b	.L46
.L19:
	ldrb	r3, [fp, #-17]	@ zero_extendqisi2
.L46:
	ldr	r2, .L49
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L47
	bl	__stack_chk_fail
.L47:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L50:
	.align	2
.L49:
	.word	.LC6
	.word	.LC5
	.word	1529
	.word	1528
	.word	1530
	.word	1531
	.word	1532
	.word	1526
	.word	1527
	.word	1525
	.word	1524
	.size	editorReadKey, .-editorReadKey
	.section	.rodata
	.align	2
.LC7:
	.ascii	"\033[6n\000"
	.align	2
.LC8:
	.ascii	"%d;%d\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getCursorPosition
	.syntax unified
	.arm
	.fpu softvfp
	.type	getCursorPosition, %function
getCursorPosition:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	ldr	r3, .L66
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-44]
	mov	r2, #4
	ldr	r1, .L66+4
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmp	r3, #4
	beq	.L54
	mvn	r3, #0
	b	.L62
.L58:
	sub	r2, fp, #40
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #1
	mov	r1, r3
	mov	r0, #0
	bl	read
	mov	r3, r0
	cmp	r3, #1
	bne	.L64
	sub	r2, fp, #40
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #82
	beq	.L65
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L54:
	ldr	r3, [fp, #-44]
	cmp	r3, #30
	bls	.L58
	b	.L56
.L64:
	nop
	b	.L56
.L65:
	nop
.L56:
	sub	r2, fp, #40
	ldr	r3, [fp, #-44]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldrb	r3, [fp, #-40]	@ zero_extendqisi2
	cmp	r3, #27
	bne	.L59
	ldrb	r3, [fp, #-39]	@ zero_extendqisi2
	cmp	r3, #91
	beq	.L60
.L59:
	mvn	r3, #0
	b	.L62
.L60:
	sub	r3, fp, #40
	add	r0, r3, #2
	ldr	r3, [fp, #-52]
	ldr	r2, [fp, #-48]
	ldr	r1, .L66+8
	bl	__isoc99_sscanf
	mov	r3, r0
	cmp	r3, #2
	beq	.L61
	mvn	r3, #0
	b	.L62
.L61:
	mov	r3, #0
.L62:
	ldr	r2, .L66
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L63
	bl	__stack_chk_fail
.L63:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L67:
	.align	2
.L66:
	.word	.LC9
	.word	.LC7
	.word	.LC8
	.size	getCursorPosition, .-getCursorPosition
	.section	.rodata
	.align	2
.LC10:
	.ascii	"\033[999C\033[999B\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	getWindowSize
	.syntax unified
	.arm
	.fpu softvfp
	.type	getWindowSize, %function
getWindowSize:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L75+4
	mov	r0, #1
	bl	ioctl
	mov	r3, r0
	cmn	r3, #1
	beq	.L69
	ldrh	r3, [fp, #-14]
	cmp	r3, #0
	bne	.L70
.L69:
	mov	r2, #12
	ldr	r1, .L75+8
	mov	r0, #1
	bl	write
	mov	r3, r0
	cmp	r3, #12
	beq	.L71
	mvn	r3, #0
	b	.L73
.L71:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	getCursorPosition
	mov	r3, r0
	b	.L73
.L70:
	ldrh	r3, [fp, #-14]
	mov	r2, r3
	ldr	r3, [fp, #-28]
	str	r2, [r3]
	ldrh	r3, [fp, #-16]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3]
	mov	r3, #0
.L73:
	ldr	r2, .L75
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC11
	.word	21523
	.word	.LC10
	.size	getWindowSize, .-getWindowSize
	.align	2
	.global	editorRowCxToRx
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorRowCxToRx, %function
editorRowCxToRx:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L78
.L80:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L79
	ldr	r3, [fp, #-12]
	add	r2, r3, #7
	ldr	r3, [fp, #-12]
	rsbs	r1, r3, #0
	and	r3, r3, #7
	and	r1, r1, #7
	rsbpl	r3, r1, #0
	sub	r3, r2, r3
	str	r3, [fp, #-12]
.L79:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L78:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L80
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	editorRowCxToRx, .-editorRowCxToRx
	.align	2
	.global	editorUpdateRow
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorUpdateRow, %function
editorUpdateRow:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L83
.L85:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L84
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L84:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L83:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L85
	ldr	r3, [fp, #-24]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-24]
	ldr	r1, [r3]
	ldr	r2, [fp, #-20]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-24]
	str	r2, [r3, #12]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L86
.L91:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #9
	bne	.L87
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
	b	.L88
.L89:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r1, r3, #1
	str	r1, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #32
	strb	r2, [r3]
.L88:
	ldr	r3, [fp, #-12]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L89
	b	.L90
.L87:
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	add	r2, r2, r3
	ldr	r3, [fp, #-24]
	ldr	r1, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r0, r3, #1
	str	r0, [fp, #-12]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
.L90:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L86:
	ldr	r3, [fp, #-24]
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L91
	ldr	r3, [fp, #-24]
	ldr	r2, [r3, #12]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-12]
	str	r2, [r3, #4]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	editorUpdateRow, .-editorUpdateRow
	.align	2
	.global	editorInsertRow
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorInsertRow, %function
editorInsertRow:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	blt	.L96
	ldr	r3, .L97
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bgt	.L96
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, .L97
	ldr	r3, [r3, #28]
	add	r3, r3, #1
	lsl	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L97
	str	r3, [r2, #32]
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r1, r2, r3
	ldr	r3, .L97
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	lsl	r3, r3, #4
	mov	r2, r3
	bl	memmove
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r1, r3, #1
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r4, r2, r3
	mov	r0, r1
	bl	malloc
	mov	r3, r0
	str	r3, [r4, #8]
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L97
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r0, r3
	bl	editorUpdateRow
	ldr	r3, .L97
	ldr	r3, [r3, #28]
	add	r3, r3, #1
	ldr	r2, .L97
	str	r3, [r2, #28]
	ldr	r3, .L97
	ldr	r3, [r3, #36]
	add	r3, r3, #1
	ldr	r2, .L97
	str	r3, [r2, #36]
	b	.L92
.L96:
	nop
.L92:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L98:
	.align	2
.L97:
	.word	E
	.size	editorInsertRow, .-editorInsertRow
	.align	2
	.global	editorFreeRow
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorFreeRow, %function
editorFreeRow:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	editorFreeRow, .-editorFreeRow
	.align	2
	.global	editorDelRow
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorDelRow, %function
editorDelRow:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L104
	ldr	r3, .L105
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L104
	ldr	r3, .L105
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r0, r3
	bl	editorFreeRow
	ldr	r3, .L105
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, .L105
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	lsl	r3, r3, #4
	add	r1, r2, r3
	ldr	r3, .L105
	ldr	r2, [r3, #28]
	ldr	r3, [fp, #-8]
	sub	r3, r2, r3
	sub	r3, r3, #1
	lsl	r3, r3, #4
	mov	r2, r3
	bl	memmove
	ldr	r3, .L105
	ldr	r3, [r3, #28]
	sub	r3, r3, #1
	ldr	r2, .L105
	str	r3, [r2, #28]
	ldr	r3, .L105
	ldr	r3, [r3, #36]
	add	r3, r3, #1
	ldr	r2, .L105
	str	r3, [r2, #36]
	b	.L100
.L104:
	nop
.L100:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	E
	.size	editorDelRow, .-editorDelRow
	.align	2
	.global	editorRowInsertChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorRowInsertChar, %function
editorRowInsertChar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L108
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L109
.L108:
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	str	r3, [fp, #-12]
.L109:
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	add	r0, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	add	r3, r3, #1
	mov	r2, r3
	bl	memmove
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-16]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	editorUpdateRow
	ldr	r3, .L110
	ldr	r3, [r3, #36]
	add	r3, r3, #1
	ldr	r2, .L110
	str	r3, [r2, #36]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L111:
	.align	2
.L110:
	.word	E
	.size	editorRowInsertChar, .-editorRowInsertChar
	.align	2
	.global	editorRowAppendString
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorRowAppendString, %function
editorRowAppendString:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	add	r3, r3, #1
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-12]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	editorUpdateRow
	ldr	r3, .L113
	ldr	r3, [r3, #36]
	add	r3, r3, #1
	ldr	r2, .L113
	str	r3, [r2, #36]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	E
	.size	editorRowAppendString, .-editorRowAppendString
	.align	2
	.global	editorRowDelChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorRowDelChar, %function
editorRowDelChar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	blt	.L119
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bge	.L119
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r0, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	add	r1, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	mov	r2, r3
	bl	memmove
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	editorUpdateRow
	ldr	r3, .L120
	ldr	r3, [r3, #36]
	add	r3, r3, #1
	ldr	r2, .L120
	str	r3, [r2, #36]
	b	.L115
.L119:
	nop
.L115:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L121:
	.align	2
.L120:
	.word	E
	.size	editorRowDelChar, .-editorRowDelChar
	.section	.rodata
	.align	2
.LC12:
	.ascii	"\000"
	.text
	.align	2
	.global	editorInsertChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorInsertChar, %function
editorInsertChar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, .L124
	ldr	r2, [r3, #4]
	ldr	r3, .L124
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bne	.L123
	ldr	r3, .L124
	ldr	r3, [r3, #28]
	mov	r2, #0
	ldr	r1, .L124+4
	mov	r0, r3
	bl	editorInsertRow
.L123:
	ldr	r3, .L124
	ldr	r2, [r3, #32]
	ldr	r3, .L124
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, .L124
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	mov	r0, r3
	bl	editorRowInsertChar
	ldr	r3, .L124
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L124
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L125:
	.align	2
.L124:
	.word	E
	.word	.LC12
	.size	editorInsertChar, .-editorInsertChar
	.align	2
	.global	editorInsertNewLine
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorInsertNewLine, %function
editorInsertNewLine:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L129
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L127
	ldr	r3, .L129
	ldr	r3, [r3, #4]
	mov	r2, #0
	ldr	r1, .L129+4
	mov	r0, r3
	bl	editorInsertRow
	b	.L128
.L127:
	ldr	r3, .L129
	ldr	r2, [r3, #32]
	ldr	r3, .L129
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L129
	ldr	r3, [r3, #4]
	add	r0, r3, #1
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, .L129
	ldr	r2, [r2]
	add	r1, r3, r2
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, .L129
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r3
	bl	editorInsertRow
	ldr	r3, .L129
	ldr	r2, [r3, #32]
	ldr	r3, .L129
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L129
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-8]
	ldr	r2, [r2]
	add	r3, r3, r2
	mov	r2, #0
	strb	r2, [r3]
	ldr	r0, [fp, #-8]
	bl	editorUpdateRow
.L128:
	ldr	r3, .L129
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L129
	str	r3, [r2, #4]
	ldr	r3, .L129
	mov	r2, #0
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L130:
	.align	2
.L129:
	.word	E
	.word	.LC12
	.size	editorInsertNewLine, .-editorInsertNewLine
	.align	2
	.global	editorDelChar
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorDelChar, %function
editorDelChar:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L138
	ldr	r2, [r3, #4]
	ldr	r3, .L138
	ldr	r3, [r3, #28]
	cmp	r2, r3
	beq	.L136
	ldr	r3, .L138
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L134
	ldr	r3, .L138
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L137
.L134:
	ldr	r3, .L138
	ldr	r2, [r3, #32]
	ldr	r3, .L138
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, .L138
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L135
	ldr	r3, .L138
	ldr	r3, [r3]
	sub	r3, r3, #1
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	editorRowDelChar
	ldr	r3, .L138
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L138
	str	r3, [r2]
	b	.L131
.L135:
	ldr	r3, .L138
	ldr	r2, [r3, #32]
	ldr	r3, .L138
	ldr	r3, [r3, #4]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L138
	str	r3, [r2]
	ldr	r3, .L138
	ldr	r2, [r3, #32]
	ldr	r3, .L138
	ldr	r3, [r3, #4]
	sub	r3, r3, #-268435455
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r2, r3
	bl	editorRowAppendString
	ldr	r3, .L138
	ldr	r3, [r3, #4]
	mov	r0, r3
	bl	editorDelRow
	ldr	r3, .L138
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, .L138
	str	r3, [r2, #4]
	b	.L131
.L136:
	nop
	b	.L131
.L137:
	nop
.L131:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L139:
	.align	2
.L138:
	.word	E
	.size	editorDelChar, .-editorDelChar
	.align	2
	.global	editorRowsToString
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorRowsToString, %function
editorRowsToString:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L141
.L142:
	ldr	r3, .L146
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	add	r3, r3, #1
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L141:
	ldr	r3, .L146
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L142
	ldr	r3, [fp, #-32]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L143
.L144:
	ldr	r3, .L146
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r1, [r3, #8]
	ldr	r3, .L146
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, [fp, #-16]
	bl	memcpy
	ldr	r3, .L146
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #10
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L143:
	ldr	r3, .L146
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L144
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L147:
	.align	2
.L146:
	.word	E
	.size	editorRowsToString, .-editorRowsToString
	.section	.rodata
	.align	2
.LC13:
	.ascii	"r\000"
	.align	2
.LC14:
	.ascii	"fopen\000"
	.align	2
.LC15:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorOpen
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorOpen, %function
editorOpen:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	ldr	r3, .L156
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L156+4
	ldr	r3, [r3, #40]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-32]
	bl	strdup
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L156+4
	str	r2, [r3, #40]
	ldr	r1, .L156+8
	ldr	r0, [fp, #-32]
	bl	fopen
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L149
	ldr	r0, .L156+12
	bl	die
.L149:
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L150
.L153:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	str	r3, [fp, #-16]
.L151:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L152
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #10
	beq	.L153
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #13
	beq	.L153
.L152:
	ldr	r3, .L156+4
	ldr	r3, [r3, #28]
	ldr	r1, [fp, #-24]
	ldr	r2, [fp, #-16]
	mov	r0, r3
	bl	editorInsertRow
.L150:
	sub	r1, fp, #20
	sub	r3, fp, #24
	ldr	r2, [fp, #-12]
	mov	r0, r3
	bl	getline
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	bne	.L151
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	free
	ldr	r0, [fp, #-12]
	bl	fclose
	ldr	r3, .L156+4
	mov	r2, #0
	str	r2, [r3, #36]
	nop
	ldr	r3, .L156
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L155
	bl	__stack_chk_fail
.L155:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L157:
	.align	2
.L156:
	.word	.LC15
	.word	E
	.word	.LC13
	.word	.LC14
	.size	editorOpen, .-editorOpen
	.section	.rodata
	.align	2
.LC16:
	.ascii	"Save as: %s (ESC to cancel)\000"
	.align	2
.LC17:
	.ascii	"Save aborted\000"
	.align	2
.LC18:
	.ascii	"%d bytes written to disk\000"
	.align	2
.LC19:
	.ascii	"Can't save !! I/O error: %s\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorSave
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorSave, %function
editorSave:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L165
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L165+4
	ldr	r3, [r3, #40]
	cmp	r3, #0
	bne	.L159
	ldr	r0, .L165+8
	bl	editorPrompt
	mov	r3, r0
	ldr	r2, .L165+4
	str	r3, [r2, #40]
	ldr	r3, .L165+4
	ldr	r3, [r3, #40]
	cmp	r3, #0
	bne	.L159
	ldr	r0, .L165+12
	bl	editorSetStatusMessage
	b	.L158
.L159:
	sub	r3, fp, #20
	mov	r0, r3
	bl	editorRowsToString
	str	r0, [fp, #-16]
	ldr	r3, .L165+4
	ldr	r3, [r3, #40]
	mov	r2, #420
	mov	r1, #66
	mov	r0, r3
	bl	open
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmn	r3, #1
	beq	.L161
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	ftruncate
	mov	r3, r0
	cmn	r3, #1
	beq	.L162
	ldr	r3, [fp, #-20]
	mov	r2, r3
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-12]
	bl	write
	mov	r2, r0
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bne	.L162
	ldr	r0, [fp, #-12]
	bl	close
	ldr	r0, [fp, #-16]
	bl	free
	ldr	r3, .L165+4
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, [fp, #-20]
	mov	r1, r3
	ldr	r0, .L165+16
	bl	editorSetStatusMessage
	b	.L158
.L162:
	ldr	r0, [fp, #-12]
	bl	close
.L161:
	ldr	r0, [fp, #-16]
	bl	free
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L165+20
	bl	editorSetStatusMessage
.L158:
	ldr	r3, .L165
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L164
	bl	__stack_chk_fail
.L164:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L166:
	.align	2
.L165:
	.word	.LC20
	.word	E
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	editorSave, .-editorSave
	.align	2
	.global	abAppend
	.syntax unified
	.arm
	.fpu softvfp
	.type	abAppend, %function
abAppend:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	mov	r1, r3
	bl	realloc
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L170
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #4]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	add	r3, r3, r2
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, #4]
	b	.L167
.L170:
	nop
.L167:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	abAppend, .-abAppend
	.align	2
	.global	abFree
	.syntax unified
	.arm
	.fpu softvfp
	.type	abFree, %function
abFree:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	abFree, .-abFree
	.align	2
	.global	editorScroll
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorScroll, %function
editorScroll:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L179
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L179
	ldr	r2, [r3, #4]
	ldr	r3, .L179
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L173
	ldr	r3, .L179
	ldr	r2, [r3, #32]
	ldr	r3, .L179
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, .L179
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	editorRowCxToRx
	mov	r3, r0
	ldr	r2, .L179
	str	r3, [r2, #8]
.L173:
	ldr	r3, .L179
	ldr	r2, [r3, #4]
	ldr	r3, .L179
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bge	.L174
	ldr	r3, .L179
	ldr	r3, [r3, #4]
	ldr	r2, .L179
	str	r3, [r2, #12]
.L174:
	ldr	r3, .L179
	ldr	r2, [r3, #4]
	ldr	r3, .L179
	ldr	r1, [r3, #12]
	ldr	r3, .L179
	ldr	r3, [r3, #20]
	add	r3, r1, r3
	cmp	r2, r3
	blt	.L175
	ldr	r3, .L179
	ldr	r2, [r3, #4]
	ldr	r3, .L179
	ldr	r3, [r3, #20]
	sub	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, .L179
	str	r3, [r2, #12]
.L175:
	ldr	r3, .L179
	ldr	r2, [r3, #8]
	ldr	r3, .L179
	ldr	r3, [r3, #16]
	cmp	r2, r3
	bge	.L176
	ldr	r3, .L179
	ldr	r3, [r3, #8]
	ldr	r2, .L179
	str	r3, [r2, #16]
.L176:
	ldr	r3, .L179
	ldr	r2, [r3, #8]
	ldr	r3, .L179
	ldr	r1, [r3, #16]
	ldr	r3, .L179
	ldr	r3, [r3, #24]
	add	r3, r1, r3
	cmp	r2, r3
	blt	.L178
	ldr	r3, .L179
	ldr	r2, [r3, #8]
	ldr	r3, .L179
	ldr	r3, [r3, #24]
	sub	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, .L179
	str	r3, [r2, #16]
.L178:
	nop
	pop	{fp, pc}
.L180:
	.align	2
.L179:
	.word	E
	.size	editorScroll, .-editorScroll
	.section	.rodata
	.align	2
.LC21:
	.ascii	"0.0.1\000"
	.align	2
.LC22:
	.ascii	"Codible -- version %s\000"
	.align	2
.LC23:
	.ascii	"~\000"
	.align	2
.LC24:
	.ascii	" \000"
	.align	2
.LC25:
	.ascii	"\033[K\000"
	.align	2
.LC26:
	.ascii	"\015\012\000"
	.align	2
.LC27:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorDrawRows
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorDrawRows, %function
editorDrawRows:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	str	r0, [fp, #-112]
	ldr	r3, .L195
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L182
.L193:
	ldr	r3, .L195+4
	ldr	r3, [r3, #12]
	ldr	r2, [fp, #-108]
	add	r3, r2, r3
	str	r3, [fp, #-92]
	ldr	r3, .L195+4
	ldr	r3, [r3, #28]
	ldr	r2, [fp, #-92]
	cmp	r2, r3
	blt	.L183
	ldr	r3, .L195+4
	ldr	r3, [r3, #28]
	cmp	r3, #0
	bne	.L184
	ldr	r3, .L195+4
	ldr	r3, [r3, #20]
	ldr	r2, .L195+8
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	bne	.L184
	sub	r0, fp, #88
	ldr	r3, .L195+12
	ldr	r2, .L195+16
	mov	r1, #80
	bl	snprintf
	str	r0, [fp, #-104]
	ldr	r3, .L195+4
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-104]
	cmp	r2, r3
	ble	.L185
	ldr	r3, .L195+4
	ldr	r3, [r3, #24]
	str	r3, [fp, #-104]
.L185:
	ldr	r3, .L195+4
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-104]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-100]
	cmp	r3, #0
	beq	.L187
	mov	r2, #1
	ldr	r1, .L195+20
	ldr	r0, [fp, #-112]
	bl	abAppend
	ldr	r3, [fp, #-100]
	sub	r3, r3, #1
	str	r3, [fp, #-100]
	b	.L187
.L188:
	mov	r2, #1
	ldr	r1, .L195+24
	ldr	r0, [fp, #-112]
	bl	abAppend
.L187:
	ldr	r3, [fp, #-100]
	sub	r2, r3, #1
	str	r2, [fp, #-100]
	cmp	r3, #0
	bne	.L188
	sub	r3, fp, #88
	ldr	r2, [fp, #-104]
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	abAppend
	b	.L190
.L184:
	mov	r2, #1
	ldr	r1, .L195+20
	ldr	r0, [fp, #-112]
	bl	abAppend
	b	.L190
.L183:
	ldr	r3, .L195+4
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	ldr	r3, .L195+4
	ldr	r3, [r3, #16]
	sub	r3, r2, r3
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bge	.L191
	mov	r3, #0
	str	r3, [fp, #-96]
.L191:
	ldr	r3, .L195+4
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-96]
	cmp	r2, r3
	ble	.L192
	ldr	r3, .L195+4
	ldr	r3, [r3, #24]
	str	r3, [fp, #-96]
.L192:
	ldr	r3, .L195+4
	ldr	r2, [r3, #32]
	ldr	r3, [fp, #-92]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3, #12]
	ldr	r2, .L195+4
	ldr	r2, [r2, #16]
	add	r3, r3, r2
	ldr	r2, [fp, #-96]
	mov	r1, r3
	ldr	r0, [fp, #-112]
	bl	abAppend
.L190:
	mov	r2, #3
	ldr	r1, .L195+28
	ldr	r0, [fp, #-112]
	bl	abAppend
	mov	r2, #2
	ldr	r1, .L195+32
	ldr	r0, [fp, #-112]
	bl	abAppend
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L182:
	ldr	r3, .L195+4
	ldr	r3, [r3, #20]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	blt	.L193
	nop
	ldr	r3, .L195
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L194
	bl	__stack_chk_fail
.L194:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L196:
	.align	2
.L195:
	.word	.LC27
	.word	E
	.word	1431655766
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.size	editorDrawRows, .-editorDrawRows
	.section	.rodata
	.align	2
.LC28:
	.ascii	"\033[7m\000"
	.align	2
.LC29:
	.ascii	"[No Name]\000"
	.align	2
.LC30:
	.ascii	"(modified)\000"
	.align	2
.LC31:
	.ascii	"%.20s - %d lines %s\000"
	.align	2
.LC32:
	.ascii	"%d/%d\000"
	.align	2
.LC33:
	.ascii	"\033[m\000"
	.align	2
.LC34:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorDrawStatusBar
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorDrawStatusBar, %function
editorDrawStatusBar:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	str	r0, [fp, #-184]
	ldr	r3, .L208
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #4
	ldr	r1, .L208+4
	ldr	r0, [fp, #-184]
	bl	abAppend
	ldr	r3, .L208+8
	ldr	r3, [r3, #40]
	cmp	r3, #0
	beq	.L198
	ldr	r3, .L208+8
	ldr	r3, [r3, #40]
	b	.L199
.L198:
	ldr	r3, .L208+12
.L199:
	ldr	r2, .L208+8
	ldr	r2, [r2, #28]
	ldr	r1, .L208+8
	ldr	r1, [r1, #36]
	cmp	r1, #0
	beq	.L200
	ldr	r1, .L208+16
	b	.L201
.L200:
	ldr	r1, .L208+20
.L201:
	sub	r0, fp, #168
	str	r1, [sp, #4]
	str	r2, [sp]
	ldr	r2, .L208+24
	mov	r1, #80
	bl	snprintf
	str	r0, [fp, #-176]
	ldr	r3, .L208+8
	ldr	r3, [r3, #4]
	add	r2, r3, #1
	ldr	r3, .L208+8
	ldr	r3, [r3, #28]
	sub	r0, fp, #88
	str	r3, [sp]
	mov	r3, r2
	ldr	r2, .L208+28
	mov	r1, #80
	bl	snprintf
	str	r0, [fp, #-172]
	ldr	r3, .L208+8
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	ble	.L202
	ldr	r3, .L208+8
	ldr	r3, [r3, #24]
	str	r3, [fp, #-176]
.L202:
	sub	r3, fp, #168
	ldr	r2, [fp, #-176]
	mov	r1, r3
	ldr	r0, [fp, #-184]
	bl	abAppend
	b	.L203
.L206:
	ldr	r3, .L208+8
	ldr	r2, [r3, #24]
	ldr	r3, [fp, #-176]
	sub	r3, r2, r3
	ldr	r2, [fp, #-172]
	cmp	r2, r3
	bne	.L204
	sub	r3, fp, #88
	ldr	r2, [fp, #-172]
	mov	r1, r3
	ldr	r0, [fp, #-184]
	bl	abAppend
	b	.L205
.L204:
	mov	r2, #1
	ldr	r1, .L208+32
	ldr	r0, [fp, #-184]
	bl	abAppend
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L203:
	ldr	r3, .L208+8
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	blt	.L206
.L205:
	mov	r2, #3
	ldr	r1, .L208+36
	ldr	r0, [fp, #-184]
	bl	abAppend
	mov	r2, #2
	ldr	r1, .L208+40
	ldr	r0, [fp, #-184]
	bl	abAppend
	nop
	ldr	r3, .L208
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L207
	bl	__stack_chk_fail
.L207:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L209:
	.align	2
.L208:
	.word	.LC34
	.word	.LC28
	.word	E
	.word	.LC29
	.word	.LC30
	.word	.LC12
	.word	.LC31
	.word	.LC32
	.word	.LC24
	.word	.LC33
	.word	.LC26
	.size	editorDrawStatusBar, .-editorDrawStatusBar
	.align	2
	.global	editorDrawMessageBar
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorDrawMessageBar, %function
editorDrawMessageBar:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r2, #3
	ldr	r1, .L214
	ldr	r0, [fp, #-16]
	bl	abAppend
	ldr	r0, .L214+4
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L214+8
	ldr	r3, [r3, #24]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	ble	.L211
	ldr	r3, .L214+8
	ldr	r3, [r3, #24]
	str	r3, [fp, #-8]
.L211:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L213
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, .L214+8
	ldr	r3, [r3, #124]
	sub	r3, r2, r3
	cmp	r3, #4
	bgt	.L213
	ldr	r2, [fp, #-8]
	ldr	r1, .L214+4
	ldr	r0, [fp, #-16]
	bl	abAppend
.L213:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L215:
	.align	2
.L214:
	.word	.LC25
	.word	E+44
	.word	E
	.size	editorDrawMessageBar, .-editorDrawMessageBar
	.section	.rodata
	.align	2
.LC35:
	.ascii	"\033[?25l\000"
	.align	2
.LC36:
	.ascii	"\033[%d;%dH\000"
	.align	2
.LC37:
	.ascii	"\033[?25h\000"
	.align	2
.LC38:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorRefreshScreen
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorRefreshScreen, %function
editorRefreshScreen:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L218
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	editorScroll
	mov	r3, #0
	str	r3, [fp, #-48]
	mov	r3, #0
	str	r3, [fp, #-44]
	sub	r3, fp, #48
	mov	r2, #6
	ldr	r1, .L218+4
	mov	r0, r3
	bl	abAppend
	sub	r3, fp, #48
	mov	r2, #3
	ldr	r1, .L218+8
	mov	r0, r3
	bl	abAppend
	sub	r3, fp, #48
	mov	r0, r3
	bl	editorDrawRows
	sub	r3, fp, #48
	mov	r0, r3
	bl	editorDrawStatusBar
	sub	r3, fp, #48
	mov	r0, r3
	bl	editorDrawMessageBar
	ldr	r3, .L218+12
	ldr	r2, [r3, #4]
	ldr	r3, .L218+12
	ldr	r3, [r3, #12]
	sub	r3, r2, r3
	add	r1, r3, #1
	ldr	r3, .L218+12
	ldr	r2, [r3, #8]
	ldr	r3, .L218+12
	ldr	r3, [r3, #16]
	sub	r3, r2, r3
	add	r3, r3, #1
	sub	r0, fp, #40
	str	r3, [sp]
	mov	r3, r1
	ldr	r2, .L218+16
	mov	r1, #32
	bl	snprintf
	sub	r3, fp, #40
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	sub	r1, fp, #40
	sub	r3, fp, #48
	mov	r0, r3
	bl	abAppend
	sub	r3, fp, #48
	mov	r2, #6
	ldr	r1, .L218+20
	mov	r0, r3
	bl	abAppend
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-44]
	mov	r1, r3
	mov	r0, #1
	bl	write
	sub	r3, fp, #48
	mov	r0, r3
	bl	abFree
	nop
	ldr	r3, .L218
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L217
	bl	__stack_chk_fail
.L217:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L219:
	.align	2
.L218:
	.word	.LC38
	.word	.LC35
	.word	.LC1
	.word	E
	.word	.LC36
	.word	.LC37
	.size	editorRefreshScreen, .-editorRefreshScreen
	.section	.rodata
	.align	2
.LC39:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	editorSetStatusMessage
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorSetStatusMessage, %function
editorSetStatusMessage:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L222
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	mov	r1, #80
	ldr	r0, .L222+4
	bl	vsnprintf
	mov	r0, #0
	bl	time
	mov	r3, r0
	ldr	r2, .L222+8
	str	r3, [r2, #124]
	nop
	ldr	r3, .L222
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L221
	bl	__stack_chk_fail
.L221:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L223:
	.align	2
.L222:
	.word	.LC39
	.word	E+44
	.word	E
	.size	editorSetStatusMessage, .-editorSetStatusMessage
	.align	2
	.global	editorPrompt
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorPrompt, %function
editorPrompt:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, #128
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
.L233:
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	editorSetStatusMessage
	bl	editorRefreshScreen
	bl	editorReadKey
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L234
	cmp	r3, r2
	beq	.L225
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	beq	.L225
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	bne	.L226
.L225:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L228
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	b	.L228
.L226:
	ldr	r3, [fp, #-8]
	cmp	r3, #27
	bne	.L229
	ldr	r0, .L234+4
	bl	editorSetStatusMessage
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	b	.L230
.L229:
	ldr	r3, [fp, #-8]
	cmp	r3, #13
	bne	.L231
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L233
	ldr	r0, .L234+4
	bl	editorSetStatusMessage
	ldr	r3, [fp, #-16]
	b	.L230
.L231:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #2
	cmp	r3, #0
	bne	.L233
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	bgt	.L233
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	bne	.L232
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	realloc
	str	r0, [fp, #-16]
.L232:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	str	r2, [fp, #-12]
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
.L228:
	b	.L233
.L230:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L235:
	.align	2
.L234:
	.word	1528
	.word	.LC12
	.size	editorPrompt, .-editorPrompt
	.align	2
	.global	editorMoveCursor
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorMoveCursor, %function
editorMoveCursor:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	ldr	r3, .L261
	ldr	r2, [r3, #4]
	ldr	r3, .L261
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L237
	ldr	r3, .L261
	ldr	r2, [r3, #32]
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	b	.L238
.L237:
	mov	r3, #0
.L238:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	sub	r3, r3, #1520
	sub	r3, r3, #4
	cmp	r3, #3
	ldrls	pc, [pc, r3, asl #2]
	b	.L239
.L241:
	.word	.L244
	.word	.L243
	.word	.L242
	.word	.L240
.L244:
	ldr	r3, .L261
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L245
	ldr	r3, .L261
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L261
	str	r3, [r2]
	b	.L256
.L245:
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	cmp	r3, #0
	ble	.L256
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, .L261
	str	r3, [r2, #4]
	ldr	r3, .L261
	ldr	r2, [r3, #32]
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L261
	str	r3, [r2]
	b	.L256
.L243:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L247
	ldr	r3, .L261
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L247
	ldr	r3, .L261
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L261
	str	r3, [r2]
	b	.L257
.L247:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L257
	ldr	r3, .L261
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L257
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L261
	str	r3, [r2, #4]
	ldr	r3, .L261
	mov	r2, #0
	str	r2, [r3]
	b	.L257
.L242:
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	cmp	r3, #0
	beq	.L258
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, .L261
	str	r3, [r2, #4]
	b	.L258
.L240:
	ldr	r3, .L261
	ldr	r2, [r3, #4]
	ldr	r3, .L261
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L259
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	ldr	r2, .L261
	str	r3, [r2, #4]
	b	.L259
.L256:
	nop
	b	.L239
.L257:
	nop
	b	.L239
.L258:
	nop
	b	.L239
.L259:
	nop
.L239:
	ldr	r3, .L261
	ldr	r2, [r3, #4]
	ldr	r3, .L261
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L251
	ldr	r3, .L261
	ldr	r2, [r3, #32]
	ldr	r3, .L261
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	b	.L252
.L251:
	mov	r3, #0
.L252:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L253
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	b	.L254
.L253:
	mov	r3, #0
.L254:
	str	r3, [fp, #-8]
	ldr	r3, .L261
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	bge	.L260
	ldr	r2, .L261
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L260:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L262:
	.align	2
.L261:
	.word	E
	.size	editorMoveCursor, .-editorMoveCursor
	.section	.rodata
	.align	2
.LC40:
	.ascii	"WARNING!!! File has unsaved changes. Press Ctrl-Q %"
	.ascii	"d more times to quit.\000"
	.text
	.align	2
	.global	editorProcessKeypress
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorProcessKeypress, %function
editorProcessKeypress:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	editorReadKey
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L292
	cmp	r3, r2
	bgt	.L264
	ldr	r3, [fp, #-8]
	ldr	r2, .L292+4
	cmp	r3, r2
	bge	.L265
	ldr	r3, [fp, #-8]
	cmp	r3, #27
	bgt	.L266
	ldr	r3, [fp, #-8]
	cmp	r3, #8
	bge	.L267
	b	.L264
.L265:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1520
	sub	r3, r3, #4
	cmp	r3, #8
	ldrls	pc, [pc, r3, asl #2]
	b	.L264
.L269:
	.word	.L273
	.word	.L273
	.word	.L273
	.word	.L273
	.word	.L272
	.word	.L271
	.word	.L270
	.word	.L268
	.word	.L268
.L267:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #8
	cmp	r3, #19
	ldrls	pc, [pc, r3, asl #2]
	b	.L264
.L275:
	.word	.L272
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L290
	.word	.L278
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L277
	.word	.L264
	.word	.L276
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L264
	.word	.L290
.L266:
	ldr	r3, [fp, #-8]
	cmp	r3, #127
	beq	.L272
	b	.L264
.L278:
	bl	editorInsertNewLine
	b	.L279
.L277:
	ldr	r3, .L292+8
	ldr	r3, [r3, #36]
	cmp	r3, #0
	beq	.L280
	ldr	r3, .L292+12
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L280
	ldr	r3, .L292+12
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L292+16
	bl	editorSetStatusMessage
	ldr	r3, .L292+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L292+12
	str	r3, [r2]
	b	.L263
.L280:
	mov	r2, #4
	ldr	r1, .L292+20
	mov	r0, #1
	bl	write
	mov	r2, #3
	ldr	r1, .L292+24
	mov	r0, #1
	bl	write
	mov	r0, #0
	bl	exit
.L276:
	bl	editorSave
	b	.L279
.L271:
	ldr	r3, .L292+8
	mov	r2, #0
	str	r2, [r3]
	b	.L279
.L270:
	ldr	r3, .L292+8
	ldr	r2, [r3, #4]
	ldr	r3, .L292+8
	ldr	r3, [r3, #28]
	cmp	r2, r3
	bge	.L291
	ldr	r3, .L292+8
	ldr	r2, [r3, #32]
	ldr	r3, .L292+8
	ldr	r3, [r3, #4]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L292+8
	str	r3, [r2]
	b	.L291
.L272:
	ldr	r3, [fp, #-8]
	ldr	r2, .L292+28
	cmp	r3, r2
	bne	.L283
	ldr	r0, .L292+32
	bl	editorMoveCursor
.L283:
	bl	editorDelChar
	b	.L279
.L268:
	ldr	r3, [fp, #-8]
	ldr	r2, .L292+36
	cmp	r3, r2
	bne	.L284
	ldr	r3, .L292+8
	ldr	r3, [r3, #12]
	ldr	r2, .L292+8
	str	r3, [r2, #4]
	b	.L285
.L284:
	ldr	r3, [fp, #-8]
	ldr	r2, .L292
	cmp	r3, r2
	bne	.L285
	ldr	r3, .L292+8
	ldr	r2, [r3, #12]
	ldr	r3, .L292+8
	ldr	r3, [r3, #20]
	add	r3, r2, r3
	sub	r3, r3, #1
	ldr	r2, .L292+8
	str	r3, [r2, #4]
	ldr	r3, .L292+8
	ldr	r2, [r3, #4]
	ldr	r3, .L292+8
	ldr	r3, [r3, #28]
	cmp	r2, r3
	ble	.L285
	ldr	r3, .L292+8
	ldr	r3, [r3, #28]
	ldr	r2, .L292+8
	str	r3, [r2, #4]
.L285:
	ldr	r3, .L292+8
	ldr	r3, [r3, #20]
	str	r3, [fp, #-12]
	b	.L286
.L289:
	ldr	r3, [fp, #-8]
	ldr	r2, .L292+36
	cmp	r3, r2
	bne	.L287
	ldr	r3, .L292+40
	b	.L288
.L287:
	ldr	r3, .L292+44
.L288:
	mov	r0, r3
	bl	editorMoveCursor
.L286:
	ldr	r3, [fp, #-12]
	sub	r2, r3, #1
	str	r2, [fp, #-12]
	cmp	r3, #0
	bne	.L289
	b	.L279
.L273:
	ldr	r0, [fp, #-8]
	bl	editorMoveCursor
	b	.L279
.L264:
	ldr	r0, [fp, #-8]
	bl	editorInsertChar
	b	.L279
.L290:
	nop
	b	.L279
.L291:
	nop
.L279:
	ldr	r3, .L292+12
	mov	r2, #3
	str	r2, [r3]
.L263:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L293:
	.align	2
.L292:
	.word	1532
	.word	1524
	.word	E
	.word	quit_times.6963
	.word	.LC40
	.word	.LC0
	.word	.LC1
	.word	1528
	.word	1525
	.word	1531
	.word	1526
	.word	1527
	.size	editorProcessKeypress, .-editorProcessKeypress
	.section	.rodata
	.align	2
.LC41:
	.ascii	"getWindowSize\000"
	.text
	.align	2
	.global	initialEditor
	.syntax unified
	.arm
	.fpu softvfp
	.type	initialEditor, %function
initialEditor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #4]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #12]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #16]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #28]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #32]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #36]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #40]
	ldr	r3, .L296
	mov	r2, #0
	strb	r2, [r3, #44]
	ldr	r3, .L296
	mov	r2, #0
	str	r2, [r3, #124]
	ldr	r1, .L296+4
	ldr	r0, .L296+8
	bl	getWindowSize
	mov	r3, r0
	cmn	r3, #1
	bne	.L295
	ldr	r0, .L296+12
	bl	die
.L295:
	ldr	r3, .L296
	ldr	r3, [r3, #20]
	sub	r3, r3, #2
	ldr	r2, .L296
	str	r3, [r2, #20]
	nop
	pop	{fp, pc}
.L297:
	.align	2
.L296:
	.word	E
	.word	E+24
	.word	E+20
	.word	.LC41
	.size	initialEditor, .-initialEditor
	.section	.rodata
	.align	2
.LC42:
	.ascii	"HELP: Ctrl-S = Save | Ctrl-Q = Quit\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	bl	enableRawMode
	bl	initialEditor
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	ble	.L299
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	editorOpen
.L299:
	ldr	r0, .L301
	bl	editorSetStatusMessage
.L300:
	bl	editorRefreshScreen
	bl	editorProcessKeypress
	b	.L300
.L302:
	.align	2
.L301:
	.word	.LC42
	.size	main, .-main
	.data
	.align	2
	.type	quit_times.6963, %object
	.size	quit_times.6963, 4
quit_times.6963:
	.word	3
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
