	.file	"72013219.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"o"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -20[rbp], 1
	call	initscr@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
.L9:
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L2
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L3
.L2:
	mov	eax, -1
.L3:
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L5
.L4:
	mov	eax, -1
.L5:
	mov	DWORD PTR -12[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	ecx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -16[rbp]
	lea	rdx, .LC0[rip]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 20000
	call	usleep@PLT
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -20[rbp]
	add	eax, edx
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -12[rbp]
	jge	.L6
	cmp	DWORD PTR -8[rbp], 0
	jns	.L7
.L6:
	neg	DWORD PTR -20[rbp]
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -20[rbp]
	add	DWORD PTR -24[rbp], eax
.L8:
	jmp	.L9
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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	"72013219.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"o\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	str	r1, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #1
	str	r3, [fp, #-24]
	bl	initscr
	bl	noecho
	mov	r0, #0
	bl	curs_set
.L9:
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L2
	ldr	r3, .L10
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L3
.L2:
	mvn	r3, #0
.L3:
	str	r3, [fp, #-8]
	ldr	r3, .L10
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	ldr	r3, .L10
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L5
.L4:
	mvn	r3, #0
.L5:
	str	r3, [fp, #-16]
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r2, .L10+4
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-20]
	bl	mvprintw
	ldr	r3, .L10
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r0, .L10+8
	bl	usleep
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r2, r3
	bge	.L6
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L7
.L6:
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	str	r3, [fp, #-24]
	b	.L8
.L7:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	str	r3, [fp, #-28]
.L8:
	b	.L9
.L11:
	.align	2
.L10:
	.word	stdscr
	.word	.LC0
	.word	20000
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
