	.file	"extr_ed.refresh.c_Vdraw.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	Vdraw, @function
Vdraw:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	movsx	rax, DWORD PTR vcursor_h[rip]
	lea	edx, [rsi+rax]
	cmp	DWORD PTR TermH[rip], edx
	jge	.L2
.L3:
	mov	esi, 1
	mov	edi, 32
	call	Vdraw
	movsx	rax, DWORD PTR vcursor_h[rip]
	lea	edx, [rax+rbx]
	cmp	edx, DWORD PTR TermH[rip]
	jg	.L3
.L2:
	mov	rcx, QWORD PTR vcursor_v[rip]
	mov	rdx, QWORD PTR Vdisplay[rip]
	mov	rdx, QWORD PTR [rdx+rcx*8]
	mov	BYTE PTR [rdx+rax], bpl
	mov	eax, DWORD PTR vcursor_h[rip]
	test	ebx, ebx
	je	.L5
	add	eax, 1
	lea	edx, -1[rbx]
	mov	DWORD PTR vcursor_h[rip], eax
	test	edx, edx
	jle	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rsi, QWORD PTR vcursor_v[rip]
	mov	rcx, QWORD PTR Vdisplay[rip]
	mov	rcx, QWORD PTR [rcx+rsi*8]
	lea	esi, 1[rax]
	cdqe
	mov	DWORD PTR vcursor_h[rip], esi
	movzx	esi, BYTE PTR CHAR_DBWIDTH[rip]
	mov	BYTE PTR [rcx+rax], sil
	mov	eax, DWORD PTR vcursor_h[rip]
	sub	edx, 1
	jne	.L7
.L5:
	movsx	rdx, DWORD PTR TermH[rip]
	cmp	edx, eax
	jg	.L1
	mov	rcx, QWORD PTR vcursor_v[rip]
	mov	rax, QWORD PTR Vdisplay[rip]
	mov	rax, QWORD PTR [rax+rcx*8]
	mov	BYTE PTR [rax+rdx], 0
	add	QWORD PTR vcursor_v[rip], 1
	mov	DWORD PTR vcursor_h[rip], 0
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	Vdraw, .-Vdraw
	.comm	vcursor_v,8,8
	.comm	vcursor_h,4,4
	.comm	Vdisplay,8,8
	.comm	TermV,8,8
	.comm	TermH,4,4
	.comm	CHAR_DBWIDTH,1,1
	.comm	ASCII,1,1
	.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_ed.refresh.c_Vdraw.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Vdraw, %function
Vdraw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r1
	ldr	r5, .L12
	ldr	r6, .L12+4
	ldr	r3, [r5]
	ldr	r1, [r6]
	add	r2, r4, r3
	cmp	r1, r2
	mov	r8, r0
	bge	.L2
.L3:
	mov	r1, #1
	mov	r0, #32
	bl	Vdraw
	ldr	r3, [r5]
	ldr	r2, [r6]
	add	r1, r3, r4
	cmp	r1, r2
	bgt	.L3
.L2:
	ldr	lr, .L12+8
	ldr	r7, .L12+12
	ldr	r1, [lr]
	ldr	r2, [r7]
	cmp	r4, #0
	ldr	r2, [r2, r1, lsl #2]
	strb	r8, [r2, r3]
	ldr	r2, [r5]
	beq	.L5
	sub	r3, r4, #1
	add	r2, r2, #1
	cmp	r3, #0
	str	r2, [r5]
	ble	.L5
	ldr	r4, .L12+16
.L7:
	ldr	ip, [lr]
	ldr	r1, [r7]
	ldrb	r0, [r4]	@ zero_extendqisi2
	ldr	r1, [r1, ip, lsl #2]
	add	ip, r2, #1
	str	ip, [r5]
	subs	r3, r3, #1
	strb	r0, [r1, r2]
	ldr	r2, [r5]
	bne	.L7
.L5:
	ldr	r3, [r6]
	cmp	r3, r2
	popgt	{r4, r5, r6, r7, r8, pc}
	mov	r2, #0
	ldr	r0, [lr]
	ldr	r1, [r7]
	ldr	r1, [r1, r0, lsl #2]
	strb	r2, [r1, r3]
	ldr	r3, [lr]
	str	r2, [r5]
	add	r3, r3, #1
	str	r3, [lr]
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	.align	2
.L12:
	.word	vcursor_h
	.word	TermH
	.word	vcursor_v
	.word	Vdisplay
	.word	CHAR_DBWIDTH
	.size	Vdraw, .-Vdraw
	.comm	vcursor_v,4,4
	.comm	vcursor_h,4,4
	.comm	Vdisplay,4,4
	.comm	TermV,4,4
	.comm	TermH,4,4
	.comm	CHAR_DBWIDTH,1,1
	.comm	ASCII,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
