	.file	"50136662.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Unable to create windows"
.LC1:
	.string	"Window One\n"
.LC2:
	.string	"Window Two\n"
.LC3:
	.string	"Window one deleted\n"
	.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, 16
	call	initscr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	esi, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, 0
	mov	edx, 0
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR COLS[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR COLS[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	mov	esi, eax
	mov	eax, DWORD PTR LINES[rip]
	mov	ecx, edx
	mov	edx, 0
	mov	edi, eax
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	je	.L2
	cmp	QWORD PTR -8[rbp], 0
	jne	.L3
.L2:
	call	endwin@PLT
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L4
.L3:
	mov	rax, QWORD PTR -16[rbp]
	mov	esi, 124
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, -1
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 45
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	call	endwin@PLT
	mov	eax, 0
.L4:
	leave
	.cfi_def_cfa 7, 8
	ret
	.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	"50136662.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Unable to create windows\000"
	.align	2
.LC1:
	.ascii	"Window One\012\000"
	.align	2
.LC2:
	.ascii	"Window Two\012\000"
	.align	2
.LC3:
	.ascii	"Window one deleted\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	initscr
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L5+4
	ldr	r0, [r3]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	mov	r3, #0
	mov	r2, #0
	bl	newwin
	str	r0, [fp, #-12]
	ldr	r3, .L5+4
	ldr	r0, [r3]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r1, r3
	ldr	r3, .L5+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, #0
	bl	newwin
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L3
.L2:
	bl	endwin
	ldr	r0, .L5+12
	bl	puts
	mov	r3, #1
	b	.L4
.L3:
	mov	r1, #124
	ldr	r0, [fp, #-12]
	bl	wbkgd
	mvn	r2, #0
	ldr	r1, .L5+16
	ldr	r0, [fp, #-12]
	bl	waddnstr
	mov	r1, #45
	ldr	r0, [fp, #-8]
	bl	wbkgd
	mvn	r2, #0
	ldr	r1, .L5+20
	ldr	r0, [fp, #-8]
	bl	waddnstr
	ldr	r0, [fp, #-12]
	bl	wrefresh
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r0, [fp, #-8]
	bl	wrefresh
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r0, [fp, #-12]
	bl	delwin
	mvn	r2, #0
	ldr	r1, .L5+24
	ldr	r0, [fp, #-8]
	bl	waddnstr
	ldr	r0, [fp, #-8]
	bl	wrefresh
	ldr	r3, .L5
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	bl	endwin
	mov	r3, #0
.L4:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
