	.file	"444746.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"lines"
	.text
	.globl	HariMain
	.type	HariMain, @function
HariMain:
.LFB0:
	.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
	call	api_initmalloc@PLT
	mov	edi, 16000
	call	api_malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	lea	r8, .LC0[rip]
	mov	ecx, -1
	mov	edx, 100
	mov	esi, 160
	mov	rdi, rax
	call	api_openwin@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	DWORD PTR -16[rbp], 0
	jmp	.L2
.L3:
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	lea	ecx, 26[rax]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	edx, DWORD PTR -16[rbp]
	mov	r9d, edx
	mov	r8d, ecx
	mov	ecx, 77
	mov	edx, 26
	mov	esi, 8
	mov	edi, eax
	call	api_linewin@PLT
	mov	edx, DWORD PTR -16[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	lea	edx, 88[rax]
	mov	eax, DWORD PTR -12[rbp]
	add	eax, 1
	mov	ecx, DWORD PTR -16[rbp]
	mov	r9d, ecx
	mov	r8d, 89
	mov	ecx, edx
	mov	edx, 26
	mov	esi, 88
	mov	edi, eax
	call	api_linewin@PLT
	add	DWORD PTR -16[rbp], 1
.L2:
	cmp	DWORD PTR -16[rbp], 7
	jle	.L3
	mov	eax, DWORD PTR -12[rbp]
	mov	r8d, 90
	mov	ecx, 154
	mov	edx, 26
	mov	esi, 6
	mov	edi, eax
	call	api_refreshwin@PLT
.L6:
	mov	edi, 1
	mov	eax, 0
	call	api_getkey@PLT
	cmp	eax, 10
	je	.L8
	jmp	.L6
.L8:
	nop
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	api_closewin@PLT
	call	api_end@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	HariMain, .-HariMain
	.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	"444746.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"lines\000"
	.text
	.align	2
	.global	HariMain
	.syntax unified
	.arm
	.fpu softvfp
	.type	HariMain, %function
HariMain:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	bl	api_initmalloc
	mov	r0, #16000
	bl	api_malloc
	str	r0, [fp, #-12]
	ldr	r3, .L9
	str	r3, [sp]
	mvn	r3, #0
	mov	r2, #100
	mov	r1, #160
	ldr	r0, [fp, #-12]
	bl	api_openwin
	str	r0, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	add	r0, r3, #1
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r3, r3, #26
	ldr	r2, [fp, #-16]
	str	r2, [sp, #4]
	str	r3, [sp]
	mov	r3, #77
	mov	r2, #26
	mov	r1, #8
	bl	api_linewin
	ldr	r3, [fp, #-8]
	add	r0, r3, #1
	ldr	r2, [fp, #-16]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r2, r3, #88
	ldr	r3, [fp, #-16]
	str	r3, [sp, #4]
	mov	r3, #89
	str	r3, [sp]
	mov	r3, r2
	mov	r2, #26
	mov	r1, #88
	bl	api_linewin
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #7
	ble	.L3
	mov	r3, #90
	str	r3, [sp]
	mov	r3, #154
	mov	r2, #26
	mov	r1, #6
	ldr	r0, [fp, #-8]
	bl	api_refreshwin
.L6:
	mov	r0, #1
	bl	api_getkey
	mov	r3, r0
	cmp	r3, #10
	beq	.L8
	b	.L6
.L8:
	nop
	ldr	r0, [fp, #-8]
	bl	api_closewin
	bl	api_end
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	HariMain, .-HariMain
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
