	.file	"extr_kilo.c_editorInsertRow.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	editorInsertRow
	.type	editorInsertRow, @function
editorInsertRow:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR E[rip]
	cmp	eax, edi
	jge	.L13
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	lea	esi, 4[0+rax*4]
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, edi
	movsx	r15, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	rdi, QWORD PTR E[rip+8]
	call	realloc@PLT
	lea	rdi, 0[0+r15*8]
	mov	edx, DWORD PTR E[rip]
	sub	rdi, r15
	mov	QWORD PTR E[rip+8], rax
	lea	rbp, 0[0+rdi*8]
	lea	r14, [rax+rbp]
	cmp	edx, ebx
	je	.L3
	sub	edx, ebx
	mov	rsi, r14
	lea	rdi, 56[rax+rbp]
	imul	edx, edx, 56
	call	memmove@PLT
	mov	r14, QWORD PTR E[rip+8]
	mov	edx, DWORD PTR E[rip]
	add	r14, rbp
	cmp	ebx, edx
	jge	.L3
	sub	edx, 1
	mov	rax, QWORD PTR E[rip+8]
	sub	edx, ebx
	add	r15, rdx
	lea	r14, [rax+rbp]
	lea	rdx, 0[0+r15*8]
	mov	rcx, r14
	sub	rdx, r15
	lea	rax, 56[rax+rdx*8]
	.p2align 4,,10
	.p2align 3
.L5:
	add	DWORD PTR 56[rcx], 1
	add	rcx, 56
	cmp	rcx, rax
	jne	.L5
.L3:
	mov	QWORD PTR 8[r14], r12
	add	r12, 1
	mov	rdi, r12
	call	malloc@PLT
	mov	rdx, r12
	mov	rsi, r13
	mov	DWORD PTR 48[r14], eax
	mov	rax, QWORD PTR E[rip+8]
	mov	edi, DWORD PTR 48[rax+rbp]
	call	memcpy@PLT
	mov	rdi, QWORD PTR E[rip+8]
	add	rdi, rbp
	mov	DWORD PTR [rdi], ebx
	mov	QWORD PTR 40[rdi], 0
	mov	QWORD PTR 32[rdi], 0
	mov	QWORD PTR 24[rdi], 0
	mov	QWORD PTR 16[rdi], 0
	call	editorUpdateRow@PLT
	add	DWORD PTR E[rip], 1
	add	DWORD PTR E[rip+4], 1
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	editorInsertRow, .-editorInsertRow
	.comm	E,16,16
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_kilo.c_editorInsertRow.c"
	.text
	.align	2
	.global	editorInsertRow
	.syntax unified
	.arm
	.fpu softvfp
	.type	editorInsertRow, %function
editorInsertRow:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r5, .L12
	mov	r8, r1
	ldr	r1, [r5]
	cmp	r1, r0
	poplt	{r4, r5, r6, r7, r8, r9, r10, pc}
	add	r1, r1, #1
	mov	r4, r0
	lsl	r1, r1, #2
	ldr	r0, [r5, #8]
	mov	r7, r2
	bl	realloc
	ldr	r2, [r5]
	rsb	r6, r4, r4, lsl #3
	cmp	r2, r4
	mov	r1, r0
	str	r0, [r5, #8]
	lsl	r6, r6, #2
	beq	.L10
	sub	r2, r2, r4
	rsb	r2, r2, r2, lsl #3
	add	r0, r6, #28
	add	r0, r1, r0
	lsl	r2, r2, #2
	add	r1, r1, r6
	bl	memmove
	ldr	r3, [r5]
	ldr	r1, [r5, #8]
	cmp	r4, r3
	rsblt	r0, r3, r3, lsl #3
	addlt	r9, r1, r6
	movlt	r3, r9
	addlt	r1, r1, r0, lsl #2
	bge	.L10
.L5:
	ldr	ip, [r3, #28]
	add	ip, ip, #1
	str	ip, [r3, #28]!
	cmp	r1, r3
	bne	.L5
.L3:
	add	r10, r7, #1
	mov	r0, r10
	str	r7, [r9, #4]
	bl	malloc
	mov	r2, r10
	mov	r1, r8
	str	r0, [r9, #24]
	bl	memcpy
	mov	r3, #0
	ldr	r2, [r5, #8]
	add	r0, r2, r6
	str	r3, [r0, #20]
	str	r3, [r0, #16]
	str	r3, [r0, #12]
	str	r3, [r0, #8]
	str	r4, [r2, r6]
	bl	editorUpdateRow
	ldm	r5, {r2, r3}
	add	r2, r2, #1
	add	r3, r3, #1
	stm	r5, {r2, r3}
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	add	r9, r1, r6
	b	.L3
.L13:
	.align	2
.L12:
	.word	E
	.size	editorInsertRow, .-editorInsertRow
	.comm	E,12,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
