	.file	"808574.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"I am the peripatetic window"
.LC1:
	.string	"peri"
	.align 8
.LC2:
	.string	"The origin for window %s is row %d, column %d.\n"
	.align 8
.LC3:
	.string	"The origin for window %s is now row %d, column %d.\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
	call	start_color@PLT
	mov	edx, 4
	mov	esi, 7
	mov	edi, 1
	call	init_pair@PLT
	mov	ecx, 30
	mov	edx, 2
	mov	esi, 30
	mov	edi, 5
	call	newwin@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	esi, 256
	mov	rdi, rax
	call	wbkgd@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, -1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	waddnstr@PLT
	cmp	QWORD PTR -8[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 8[rax]
	cwde
	jmp	.L3
.L2:
	mov	eax, -1
.L3:
	mov	DWORD PTR -16[rbp], eax
	cmp	QWORD PTR -8[rbp], 0
	je	.L4
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 10[rax]
	cwde
	jmp	.L5
.L4:
	mov	eax, -1
.L5:
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@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 stdscr[rip]
	mov	ecx, 1
	mov	edx, 5
	mov	esi, 2
	mov	rdi, rax
	call	wtouchln@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 40
	mov	esi, 12
	mov	rdi, rax
	call	mvwin@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	wrefresh@PLT
	cmp	QWORD PTR -8[rbp], 0
	je	.L6
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 8[rax]
	cwde
	jmp	.L7
.L6:
	mov	eax, -1
.L7:
	mov	DWORD PTR -16[rbp], eax
	cmp	QWORD PTR -8[rbp], 0
	je	.L8
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, WORD PTR 10[rax]
	cwde
	jmp	.L9
.L8:
	mov	eax, -1
.L9:
	mov	DWORD PTR -12[rbp], eax
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, edx
	mov	edx, eax
	lea	rsi, .LC1[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printw@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wgetch@PLT
	call	endwin@PLT
	mov	eax, 0
	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	"808574.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"I am the peripatetic window\000"
	.align	2
.LC1:
	.ascii	"peri\000"
	.align	2
.LC2:
	.ascii	"The origin for window %s is row %d, column %d.\012\000"
	.align	2
.LC3:
	.ascii	"The origin for window %s is now row %d, column %d.\012"
	.ascii	"\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	bl	initscr
	bl	start_color
	mov	r2, #4
	mov	r1, #7
	mov	r0, #1
	bl	init_pair
	mov	r3, #30
	mov	r2, #2
	mov	r1, #30
	mov	r0, #5
	bl	newwin
	str	r0, [fp, #-16]
	mov	r1, #256
	ldr	r0, [fp, #-16]
	bl	wbkgd
	mvn	r2, #0
	ldr	r1, .L11
	ldr	r0, [fp, #-16]
	bl	waddnstr
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #8]
	b	.L3
.L2:
	mvn	r3, #0
.L3:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L4
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #10]
	b	.L5
.L4:
	mvn	r3, #0
.L5:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, .L11+4
	ldr	r0, .L11+8
	bl	printw
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r0, [fp, #-16]
	bl	wrefresh
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	ldr	r3, .L11+12
	ldr	r0, [r3]
	mov	r3, #1
	mov	r2, #5
	mov	r1, #2
	bl	wtouchln
	mov	r2, #40
	mov	r1, #12
	ldr	r0, [fp, #-16]
	bl	mvwin
	ldr	r0, [fp, #-16]
	bl	wrefresh
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #8]
	b	.L7
.L6:
	mvn	r3, #0
.L7:
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-16]
	ldrsh	r3, [r3, #10]
	b	.L9
.L8:
	mvn	r3, #0
.L9:
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	ldr	r1, .L11+4
	ldr	r0, .L11+16
	bl	printw
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L11+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	wgetch
	bl	endwin
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	stdscr
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
