	.file	"672313.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"+"
.LC1:
	.string	"|"
.LC2:
	.string	"-"
	.text
	.globl	draw_borders
	.type	draw_borders, @function
draw_borders:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	cmp	QWORD PTR -24[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L3
.L2:
	mov	eax, -1
.L3:
	mov	DWORD PTR -8[rbp], eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L5
.L4:
	mov	eax, -1
.L5:
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC0[rip]
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	eax, DWORD PTR -8[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC0[rip]
	mov	edx, 0
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC0[rip]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	DWORD PTR -12[rbp], 1
	jmp	.L6
.L7:
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC1[rip]
	mov	edx, 0
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	esi, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	add	DWORD PTR -12[rbp], 1
.L6:
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L7
	mov	DWORD PTR -12[rbp], 1
	jmp	.L8
.L9:
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC2[rip]
	mov	esi, 0
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	eax, DWORD PTR -8[rbp]
	lea	esi, -1[rax]
	mov	edx, DWORD PTR -12[rbp]
	mov	rax, QWORD PTR -24[rbp]
	lea	rcx, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	add	DWORD PTR -12[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	draw_borders, .-draw_borders
	.section	.rodata
.LC3:
	.string	"Field"
.LC4:
	.string	"Score"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -28[rbp], 3
	call	initscr@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L11
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L12
.L11:
	mov	eax, -1
.L12:
	mov	DWORD PTR -32[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L13
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L14
.L13:
	mov	eax, -1
.L14:
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	esi, DWORD PTR -36[rbp]
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	edx, eax
	mov	esi, DWORD PTR -36[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	ecx, 0
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	draw_borders
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	draw_borders
.L21:
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L16
.L15:
	mov	eax, -1
.L16:
	mov	DWORD PTR -24[rbp], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L17
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L18
.L17:
	mov	eax, -1
.L18:
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jne	.L19
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	je	.L20
.L19:
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wresize@PLT
	mov	edx, DWORD PTR -20[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wresize@PLT
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -28[rbp]
	mov	ecx, eax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	draw_borders
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	draw_borders
.L20:
	mov	rax, QWORD PTR -16[rbp]
	lea	rcx, .LC3[rip]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, .LC4[rip]
	mov	edx, 1
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	jmp	.L21
	.cfi_endproc
.LFE1:
	.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	"672313.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"+\000"
	.align	2
.LC1:
	.ascii	"|\000"
	.align	2
.LC2:
	.ascii	"-\000"
	.text
	.align	2
	.global	draw_borders
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_borders, %function
draw_borders:
	@ 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]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L3
.L2:
	mvn	r3, #0
.L3:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L5
.L4:
	mvn	r3, #0
.L5:
	str	r3, [fp, #-8]
	ldr	r3, .L10
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-12]
	sub	r1, r3, #1
	ldr	r3, .L10
	mov	r2, #0
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, .L10
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-12]
	sub	r1, r3, #1
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, .L10
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L6
.L7:
	ldr	r3, .L10+4
	mov	r2, #0
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-8]
	sub	r2, r3, #1
	ldr	r3, .L10+4
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L8
.L9:
	ldr	r3, .L10+8
	ldr	r2, [fp, #-16]
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-12]
	sub	r1, r3, #1
	ldr	r3, .L10+8
	ldr	r2, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L8:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L9
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	draw_borders, .-draw_borders
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Field\000"
	.align	2
.LC4:
	.ascii	"Score\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	mov	r3, #3
	str	r3, [fp, #-24]
	bl	initscr
	bl	noecho
	mov	r0, #0
	bl	curs_set
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L14
.L13:
	mvn	r3, #0
.L14:
	str	r3, [fp, #-28]
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L16
.L15:
	mvn	r3, #0
.L16:
	str	r3, [fp, #-32]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r0, r2, r3
	mov	r3, #0
	mov	r2, #0
	ldr	r1, [fp, #-32]
	bl	newwin
	str	r0, [fp, #-20]
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-24]
	sub	r2, r2, r3
	mov	r3, #0
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-24]
	bl	newwin
	str	r0, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	draw_borders
	ldr	r0, [fp, #-16]
	bl	draw_borders
.L23:
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L18
.L17:
	mvn	r3, #0
.L18:
	str	r3, [fp, #-12]
	ldr	r3, .L24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L24
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L20
.L19:
	mvn	r3, #0
.L20:
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-28]
	cmp	r2, r3
	bne	.L21
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	beq	.L22
.L21:
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	wresize
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	wresize
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	mvwin
	ldr	r3, .L24
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r0, [fp, #-20]
	bl	wclear
	ldr	r0, [fp, #-16]
	bl	wclear
	ldr	r0, [fp, #-20]
	bl	draw_borders
	ldr	r0, [fp, #-16]
	bl	draw_borders
.L22:
	ldr	r3, .L24+4
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	mvwprintw
	ldr	r3, .L24+8
	mov	r2, #1
	mov	r1, #1
	ldr	r0, [fp, #-16]
	bl	mvwprintw
	ldr	r0, [fp, #-20]
	bl	wrefresh
	ldr	r0, [fp, #-16]
	bl	wrefresh
	b	.L23
.L25:
	.align	2
.L24:
	.word	stdscr
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
