	.file	"235166.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"Hello World"
.LC1:
	.string	"%s"
	.align 8
.LC2:
	.string	"Notice how very long lines wrap inside the window"
.LC3:
	.string	"Pop Up Window!"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.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	BYTE PTR -25[rbp], 97
	call	initscr@PLT
	mov	ecx, 5
	mov	edx, 5
	mov	esi, 20
	mov	edi, 10
	call	newwin@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	lea	r8, .LC0[rip]
	lea	rcx, .LC1[rip]
	mov	edx, 2
	mov	esi, 2
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -16[rbp]
	lea	r8, .LC2[rip]
	lea	rcx, .LC1[rip]
	mov	edx, 2
	mov	esi, 5
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	mov	BYTE PTR -25[rbp], 48
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L8:
	mov	DWORD PTR -20[rbp], 0
	jmp	.L3
.L7:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, DWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -20[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L5
	movsx	edx, BYTE PTR -25[rbp]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L5:
	movzx	eax, BYTE PTR -25[rbp]
	add	eax, 1
	mov	BYTE PTR -25[rbp], al
	cmp	BYTE PTR -25[rbp], 57
	jle	.L6
	mov	BYTE PTR -25[rbp], 48
.L6:
	add	DWORD PTR -20[rbp], 1
.L3:
	mov	eax, DWORD PTR LINES[rip]
	sub	eax, 1
	cmp	DWORD PTR -20[rbp], eax
	jl	.L7
	add	DWORD PTR -24[rbp], 1
.L2:
	mov	eax, DWORD PTR COLS[rip]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jl	.L8
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L9
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L10
.L9:
	mov	edx, -1
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wtouchln@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	mov	ecx, 8
	mov	edx, 8
	mov	esi, 20
	mov	edi, 10
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	sub	rsp, 8
	push	0
	push	0
	push	0
	mov	r9d, 0
	mov	r8d, 45
	mov	ecx, 45
	mov	edx, 124
	mov	esi, 124
	mov	rdi, rax
	call	wborder@PLT
	add	rsp, 32
	mov	rax, QWORD PTR -8[rbp]
	lea	r8, .LC3[rip]
	lea	rcx, .LC1[rip]
	mov	edx, 2
	mov	esi, 5
	mov	rdi, rax
	mov	eax, 0
	call	mvwprintw@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	cmp	QWORD PTR -16[rbp], 0
	je	.L11
	mov	rax, QWORD PTR -16[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L12
.L11:
	mov	edx, -1
.L12:
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wtouchln@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	delwin@PLT
	cmp	QWORD PTR -8[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L14
.L13:
	mov	edx, -1
.L14:
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wtouchln@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	delwin@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L15
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	lea	edx, 1[rax]
	jmp	.L16
.L15:
	mov	edx, -1
.L16:
	mov	rax, QWORD PTR stdscr[rip]
	mov	ecx, 1
	mov	esi, 0
	mov	rdi, rax
	call	wtouchln@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	edi, 2
	call	sleep@PLT
	call	endwin@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.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	"235166.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.ascii	"Hello World\000"
	.align	2
.LC2:
	.ascii	"Notice how very long lines wrap inside the window\000"
	.align	2
.LC3:
	.ascii	"Pop Up Window!\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	mov	r3, #97
	strb	r3, [fp, #-21]
	bl	initscr
	mov	r3, #5
	mov	r2, #5
	mov	r1, #20
	mov	r0, #10
	bl	newwin
	str	r0, [fp, #-12]
	ldr	r3, .L17
	str	r3, [sp]
	ldr	r3, .L17+4
	mov	r2, #2
	mov	r1, #2
	ldr	r0, [fp, #-12]
	bl	mvwprintw
	ldr	r3, .L17+8
	str	r3, [sp]
	ldr	r3, .L17+4
	mov	r2, #2
	mov	r1, #5
	ldr	r0, [fp, #-12]
	bl	mvwprintw
	ldr	r0, [fp, #-12]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	mov	r3, #48
	strb	r3, [fp, #-21]
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L2
.L8:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L7:
	ldr	r3, .L17+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L5
	ldr	r3, .L17+12
	ldr	r3, [r3]
	ldrb	r2, [fp, #-21]	@ zero_extendqisi2
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L5:
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	add	r3, r3, #1
	strb	r3, [fp, #-21]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #57
	bls	.L6
	mov	r3, #48
	strb	r3, [fp, #-21]
.L6:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, .L17+16
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L7
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L2:
	ldr	r3, .L17+20
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L8
	ldr	r3, .L17+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	ldr	r0, [fp, #-12]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-12]
	ldrsh	r3, [r3, #4]
	add	r2, r3, #1
	b	.L10
.L9:
	mvn	r2, #0
.L10:
	mov	r3, #1
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	wtouchln
	ldr	r0, [fp, #-12]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	mov	r3, #8
	mov	r2, #8
	mov	r1, #20
	mov	r0, #10
	bl	newwin
	str	r0, [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, #45
	str	r3, [sp]
	mov	r3, #45
	mov	r2, #124
	mov	r1, #124
	ldr	r0, [fp, #-8]
	bl	wborder
	ldr	r3, .L17+24
	str	r3, [sp]
	ldr	r3, .L17+4
	mov	r2, #2
	mov	r1, #5
	ldr	r0, [fp, #-8]
	bl	mvwprintw
	ldr	r0, [fp, #-8]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-12]
	ldrsh	r3, [r3, #4]
	add	r2, r3, #1
	b	.L12
.L11:
	mvn	r2, #0
.L12:
	mov	r3, #1
	mov	r1, #0
	ldr	r0, [fp, #-12]
	bl	wtouchln
	ldr	r0, [fp, #-12]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	ldr	r0, [fp, #-12]
	bl	wclear
	ldr	r0, [fp, #-12]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	ldr	r0, [fp, #-12]
	bl	delwin
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L13
	ldr	r3, [fp, #-8]
	ldrsh	r3, [r3, #4]
	add	r2, r3, #1
	b	.L14
.L13:
	mvn	r2, #0
.L14:
	mov	r3, #1
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	wtouchln
	ldr	r0, [fp, #-8]
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	ldr	r0, [fp, #-8]
	bl	delwin
	ldr	r3, .L17+12
	ldr	r0, [r3]
	ldr	r3, .L17+12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L17+12
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r2, r3, #1
	b	.L16
.L15:
	mvn	r2, #0
.L16:
	mov	r3, #1
	mov	r1, #0
	bl	wtouchln
	ldr	r3, .L17+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	mov	r0, #2
	bl	sleep
	bl	endwin
	mov	r0, #0
	bl	exit
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.word	stdscr
	.word	LINES
	.word	COLS
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
