	.file	"6387024.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Show or Hide a window with 'a'(first window)  'b'(Second Window)  'c'(Third Window)"
.LC1:
	.string	"F1 to Exit"
	.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, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	call	initscr@PLT
	call	start_color@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 1
	mov	rdi, rax
	call	keypad@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 1
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 2
	mov	edi, 2
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 4
	mov	edi, 3
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 6
	mov	edi, 4
	call	init_pair@PLT
	lea	rax, -64[rbp]
	mov	esi, 3
	mov	rdi, rax
	call	init_wins
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	new_panel@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	new_panel@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	new_panel@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	mov	DWORD PTR -68[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -76[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	set_panel_userptr@PLT
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, -76[rbp]
	add	rdx, 4
	mov	rsi, rdx
	mov	rdi, rax
	call	set_panel_userptr@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	rdx, -76[rbp]
	add	rdx, 8
	mov	rsi, rdx
	mov	rdi, rax
	call	set_panel_userptr@PLT
	call	update_panels@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 1024
	mov	rdi, rax
	call	wattr_on@PLT
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 3
	lea	rdx, .LC0[rip]
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 2
	lea	rdx, .LC1[rip]
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	mvprintw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 1024
	mov	rdi, rax
	call	wattr_off@PLT
	call	doupdate@PLT
	jmp	.L2
.L13:
	cmp	DWORD PTR -92[rbp], 99
	je	.L3
	cmp	DWORD PTR -92[rbp], 99
	jg	.L4
	cmp	DWORD PTR -92[rbp], 97
	je	.L5
	cmp	DWORD PTR -92[rbp], 98
	je	.L6
	jmp	.L4
.L5:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	panel_userptr@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L7
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	hide_panel@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L4
.L7:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	show_panel@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	panel_userptr@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L9
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	hide_panel@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L4
.L9:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	show_panel@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	panel_userptr@PLT
	mov	QWORD PTR -88[rbp], rax
	mov	rax, QWORD PTR -88[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	jne	.L11
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	hide_panel@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L16
.L11:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	show_panel@PLT
	mov	rax, QWORD PTR -88[rbp]
	mov	DWORD PTR [rax], 0
.L16:
	nop
.L4:
	call	update_panels@PLT
	call	doupdate@PLT
.L2:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	DWORD PTR -92[rbp], eax
	cmp	DWORD PTR -92[rbp], 265
	jne	.L13
	call	endwin@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC2:
	.string	"Window Number %d"
	.text
	.globl	init_wins
	.type	init_wins, @function
init_wins:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 136
	.cfi_offset 3, -24
	mov	QWORD PTR -136[rbp], rdi
	mov	DWORD PTR -140[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -120[rbp], 2
	mov	DWORD PTR -124[rbp], 10
	mov	DWORD PTR -116[rbp], 0
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	lea	rbx, [rdx+rax]
	mov	edx, DWORD PTR -124[rbp]
	mov	eax, DWORD PTR -120[rbp]
	mov	ecx, edx
	mov	edx, eax
	mov	esi, 40
	mov	edi, 10
	call	newwin@PLT
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR -116[rbp]
	lea	edx, 1[rax]
	lea	rax, -112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	mov	eax, DWORD PTR -116[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	lea	rcx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	lea	rcx, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	win_show
	add	DWORD PTR -120[rbp], 3
	add	DWORD PTR -124[rbp], 7
	add	DWORD PTR -116[rbp], 1
.L18:
	mov	eax, DWORD PTR -116[rbp]
	cmp	eax, DWORD PTR -140[rbp]
	jl	.L19
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	init_wins, .-init_wins
	.globl	win_show
	.type	win_show, @function
win_show:
.LFB2:
	.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
	cmp	QWORD PTR -24[rbp], 0
	je	.L22
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 8[rax]
	cwde
	jmp	.L23
.L22:
	mov	eax, -1
.L23:
	mov	DWORD PTR -16[rbp], eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L24
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 10[rax]
	cwde
	jmp	.L25
.L24:
	mov	eax, -1
.L25:
	mov	DWORD PTR -12[rbp], eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L26
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L27
.L26:
	mov	eax, -1
.L27:
	mov	DWORD PTR -8[rbp], eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L28
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L29
.L28:
	mov	eax, -1
.L29:
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -24[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 0
	mov	ecx, 0
	mov	edx, 0
	mov	esi, 0
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L31
	mov	edx, DWORD PTR acs_map[rip+464]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L31:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 1
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L33
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -2[rax]
	mov	ecx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	whline@PLT
.L33:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 2
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L35
	mov	edx, DWORD PTR acs_map[rip+468]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L35:
	mov	eax, DWORD PTR -36[rbp]
	sal	eax, 8
	movzx	esi, ax
	mov	rcx, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r9d, esi
	mov	r8, rcx
	mov	ecx, edx
	mov	edx, 0
	mov	esi, 1
	mov	rdi, rax
	call	print_in_middle
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	win_show, .-win_show
	.section	.rodata
.LC3:
	.string	"%s"
	.text
	.globl	print_in_middle
	.type	print_in_middle, @function
print_in_middle:
.LFB3:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	QWORD PTR -48[rbp], r8
	mov	DWORD PTR -40[rbp], r9d
	cmp	QWORD PTR -24[rbp], 0
	jne	.L37
	mov	rax, QWORD PTR stdscr[rip]
	mov	QWORD PTR -24[rbp], rax
.L37:
	cmp	QWORD PTR -24[rbp], 0
	je	.L38
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR [rax]
	cwde
	jmp	.L39
.L38:
	mov	eax, -1
.L39:
	mov	DWORD PTR -16[rbp], eax
	cmp	QWORD PTR -24[rbp], 0
	je	.L40
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, WORD PTR 2[rax]
	cwde
	jmp	.L41
.L40:
	mov	eax, -1
.L41:
	mov	DWORD PTR -12[rbp], eax
	cmp	DWORD PTR -32[rbp], 0
	je	.L42
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -12[rbp], eax
.L42:
	cmp	DWORD PTR -28[rbp], 0
	je	.L43
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -16[rbp], eax
.L43:
	cmp	DWORD PTR -36[rbp], 0
	jne	.L44
	mov	DWORD PTR -36[rbp], 80
.L44:
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	cvttss2si	edx, xmm0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	DWORD PTR -12[rbp], eax
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_on@PLT
	mov	rcx, QWORD PTR -48[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	esi, DWORD PTR -16[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	r8, rcx
	lea	rcx, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wattr_off@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	print_in_middle, .-print_in_middle
	.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	"6387024.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Show or Hide a window with 'a'(first window)  'b'(S"
	.ascii	"econd Window)  'c'(Third Window)\000"
	.align	2
.LC1:
	.ascii	"F1 to Exit\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	bl	initscr
	bl	start_color
	bl	cbreak
	bl	noecho
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	keypad
	mov	r2, #0
	mov	r1, #1
	mov	r0, #1
	bl	init_pair
	mov	r2, #0
	mov	r1, #2
	mov	r0, #2
	bl	init_pair
	mov	r2, #0
	mov	r1, #4
	mov	r0, #3
	bl	init_pair
	mov	r2, #0
	mov	r1, #6
	mov	r0, #4
	bl	init_pair
	sub	r3, fp, #44
	mov	r1, #3
	mov	r0, r3
	bl	init_wins
	ldr	r3, [fp, #-44]
	mov	r0, r3
	bl	new_panel
	mov	r3, r0
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-40]
	mov	r0, r3
	bl	new_panel
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-36]
	mov	r0, r3
	bl	new_panel
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-32]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	set_panel_userptr
	ldr	r2, [fp, #-28]
	sub	r3, fp, #20
	add	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	set_panel_userptr
	ldr	r2, [fp, #-24]
	sub	r3, fp, #20
	add	r3, r3, #8
	mov	r1, r3
	mov	r0, r2
	bl	set_panel_userptr
	bl	update_panels
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1024
	mov	r0, r3
	bl	wattr_on
	ldr	r3, .L17+8
	ldr	r3, [r3]
	sub	r3, r3, #3
	ldr	r2, .L17+12
	mov	r1, #0
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L17+8
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L17+16
	mov	r1, #0
	mov	r0, r3
	bl	mvprintw
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #1024
	mov	r0, r3
	bl	wattr_off
	bl	doupdate
	b	.L2
.L13:
	ldr	r3, [fp, #-52]
	cmp	r3, #99
	beq	.L3
	ldr	r3, [fp, #-52]
	cmp	r3, #99
	bgt	.L4
	ldr	r3, [fp, #-52]
	cmp	r3, #97
	beq	.L5
	ldr	r3, [fp, #-52]
	cmp	r3, #98
	beq	.L6
	b	.L4
.L5:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	panel_userptr
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	hide_panel
	ldr	r3, [fp, #-48]
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L7:
	ldr	r3, [fp, #-32]
	mov	r0, r3
	bl	show_panel
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L6:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	panel_userptr
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	hide_panel
	ldr	r3, [fp, #-48]
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L9:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	bl	show_panel
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
	b	.L4
.L3:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	panel_userptr
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-48]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	hide_panel
	ldr	r3, [fp, #-48]
	mov	r2, #1
	str	r2, [r3]
	b	.L16
.L11:
	ldr	r3, [fp, #-24]
	mov	r0, r3
	bl	show_panel
	ldr	r3, [fp, #-48]
	mov	r2, #0
	str	r2, [r3]
.L16:
	nop
.L4:
	bl	update_panels
	bl	doupdate
.L2:
	ldr	r3, .L17+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-52]
	ldr	r2, .L17+20
	cmp	r3, r2
	bne	.L13
	bl	endwin
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	stdscr
	.word	LINES
	.word	.LC0
	.word	.LC1
	.word	265
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Window Number %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	init_wins
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_wins, %function
init_wins:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #108
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #2
	str	r3, [fp, #-104]
	mov	r3, #10
	str	r3, [fp, #-108]
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L20
.L21:
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r4, r2, r3
	ldr	r3, [fp, #-108]
	ldr	r2, [fp, #-104]
	mov	r1, #40
	mov	r0, #10
	bl	newwin
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-100]
	add	r2, r3, #1
	sub	r3, fp, #96
	ldr	r1, .L23+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-100]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-100]
	add	r2, r3, #1
	sub	r3, fp, #96
	mov	r1, r3
	bl	win_show
	ldr	r3, [fp, #-104]
	add	r3, r3, #3
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-108]
	add	r3, r3, #7
	str	r3, [fp, #-108]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L20:
	ldr	r2, [fp, #-100]
	ldr	r3, [fp, #-116]
	cmp	r2, r3
	blt	.L21
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC4
	.word	.LC3
	.size	init_wins, .-init_wins
	.align	2
	.global	win_show
	.syntax unified
	.arm
	.fpu softvfp
	.type	win_show, %function
win_show:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L26
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #8]
	b	.L27
.L26:
	mvn	r3, #0
.L27:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L28
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #10]
	b	.L29
.L28:
	mvn	r3, #0
.L29:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L30
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L31
.L30:
	mvn	r3, #0
.L31:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L32
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L33
.L32:
	mvn	r3, #0
.L33:
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [sp, #16]
	mov	r3, #0
	str	r3, [sp, #12]
	mov	r3, #0
	str	r3, [sp, #8]
	mov	r3, #0
	str	r3, [sp, #4]
	mov	r3, #0
	str	r3, [sp]
	mov	r3, #0
	mov	r2, #0
	mov	r1, #0
	ldr	r0, [fp, #-24]
	bl	wborder
	mov	r2, #0
	mov	r1, #2
	ldr	r0, [fp, #-24]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L35
	ldr	r3, .L40
	ldr	r3, [r3, #464]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	waddch
.L35:
	mov	r2, #1
	mov	r1, #2
	ldr	r0, [fp, #-24]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L37
	ldr	r3, .L40
	ldr	r1, [r3, #452]
	ldr	r3, [fp, #-8]
	sub	r3, r3, #2
	mov	r2, r3
	ldr	r0, [fp, #-24]
	bl	whline
.L37:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	mov	r2, r3
	mov	r1, #2
	ldr	r0, [fp, #-24]
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, .L40
	ldr	r3, [r3, #468]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	waddch
.L39:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #8
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	str	r3, [sp, #4]
	ldr	r3, [fp, #-28]
	str	r3, [sp]
	ldr	r3, [fp, #-8]
	mov	r2, #0
	mov	r1, #1
	ldr	r0, [fp, #-24]
	bl	print_in_middle
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	acs_map
	.size	win_show, .-win_show
	.global	__aeabi_i2f
	.global	__aeabi_f2iz
	.section	.rodata
	.align	2
.LC5:
	.ascii	"%s\000"
	.text
	.align	2
	.global	print_in_middle
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_in_middle, %function
print_in_middle:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L43
	ldr	r3, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-24]
.L43:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L44
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3]
	b	.L45
.L44:
	mvn	r3, #0
.L45:
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L46
	ldr	r3, [fp, #-24]
	ldrsh	r3, [r3, #2]
	b	.L47
.L46:
	mvn	r3, #0
.L47:
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	beq	.L48
	ldr	r3, [fp, #-32]
	str	r3, [fp, #-16]
.L48:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L49
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-20]
.L49:
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	bne	.L50
	mov	r3, #80
	str	r3, [fp, #-36]
.L50:
	ldr	r0, [fp, #4]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-12]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	str	r3, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_f2iz
	mov	r2, r0
	ldr	r3, [fp, #-32]
	add	r3, r3, r2
	str	r3, [fp, #-16]
	mov	r2, #0
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-24]
	bl	wattr_on
	ldr	r3, [fp, #4]
	str	r3, [sp]
	ldr	r3, .L51+4
	ldr	r2, [fp, #-16]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	mvwprintw
	mov	r2, #0
	ldr	r1, [fp, #8]
	ldr	r0, [fp, #-24]
	bl	wattr_off
	ldr	r3, .L51
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	stdscr
	.word	.LC5
	.size	print_in_middle, .-print_in_middle
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
