	.file	"483455.c"
	.intel_syntax noprefix
	.text
	.globl	now
	.bss
	.align 8
	.type	now, @object
	.size	now, 8
now:
	.zero	8
	.globl	tm
	.align 8
	.type	tm, @object
	.size	tm, 8
tm:
	.zero	8
	.globl	disp
	.data
	.align 16
	.type	disp, @object
	.size	disp, 22
disp:
	.value	31599
	.value	4681
	.value	29671
	.value	29647
	.value	23497
	.value	31183
	.value	31215
	.value	29257
	.value	31727
	.value	31695
	.value	1040
	.globl	old
	.bss
	.align 32
	.type	old, @object
	.size	old, 48
old:
	.zero	48
	.globl	next
	.align 32
	.type	next, @object
	.size	next, 48
next:
	.zero	48
	.globl	new
	.align 32
	.type	new, @object
	.size	new, 48
new:
	.zero	48
	.globl	mask
	.align 8
	.type	mask, @object
	.size	mask, 8
mask:
	.zero	8
	.globl	sigtermed
	.align 4
	.type	sigtermed, @object
	.size	sigtermed, 4
sigtermed:
	.zero	4
	.globl	hascolor
	.align 4
	.type	hascolor, @object
	.size	hascolor, 4
hascolor:
	.zero	4
	.globl	scroll_msecs
	.data
	.align 8
	.type	scroll_msecs, @object
	.size	scroll_msecs, 8
scroll_msecs:
	.quad	120
	.globl	xbase
	.bss
	.align 4
	.type	xbase, @object
	.size	xbase, 4
xbase:
	.zero	4
	.globl	ybase
	.align 4
	.type	ybase, @object
	.size	ybase, 4
ybase:
	.zero	4
	.globl	xmax
	.align 4
	.type	xmax, @object
	.size	xmax, 4
xmax:
	.zero	4
	.globl	ymax
	.align 4
	.type	ymax, @object
	.size	ymax, 4
ymax:
	.zero	4
	.text
	.type	sighndl, @function
sighndl:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR sigtermed[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sighndl, .-sighndl
	.section	.rodata
	.align 8
.LC0:
	.string	"scroll duration may not be negative"
.LC1:
	.string	"d:s"
.LC2:
	.string	"terminal too small"
	.text
	.globl	main
	.type	main, @function
main:
.LFB7:
	.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	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	DWORD PTR -12[rbp], 0
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -8[rbp], 1
	jmp	.L3
.L7:
	cmp	DWORD PTR -4[rbp], 100
	je	.L4
	cmp	DWORD PTR -4[rbp], 115
	je	.L5
	jmp	.L41
.L4:
	mov	rax, QWORD PTR optarg[rip]
	mov	rdi, rax
	call	atol@PLT
	mov	QWORD PTR scroll_msecs[rip], rax
	mov	rax, QWORD PTR scroll_msecs[rip]
	test	rax, rax
	jns	.L5
	lea	rsi, .LC0[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L5:
	mov	DWORD PTR -12[rbp], 1
	jmp	.L3
.L41:
	call	usage
.L3:
	mov	rcx, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR -36[rbp]
	lea	rdx, .LC1[rip]
	mov	rsi, rcx
	mov	edi, eax
	call	getopt@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L7
	mov	eax, DWORD PTR optind[rip]
	sub	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR optind[rip]
	cdqe
	sal	rax, 3
	add	QWORD PTR -48[rbp], rax
	cmp	DWORD PTR -36[rbp], 1
	jle	.L8
	call	usage
.L8:
	cmp	DWORD PTR -36[rbp], 0
	jle	.L9
	mov	rax, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -16[rbp], eax
	mov	DWORD PTR -8[rbp], 0
.L9:
	call	initscr@PLT
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L10
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 4[rax]
	cwde
	add	eax, 1
	jmp	.L11
.L10:
	mov	eax, -1
.L11:
	mov	DWORD PTR ymax[rip], eax
	mov	rax, QWORD PTR stdscr[rip]
	test	rax, rax
	je	.L12
	mov	rax, QWORD PTR stdscr[rip]
	movzx	eax, WORD PTR 6[rax]
	cwde
	add	eax, 1
	jmp	.L13
.L12:
	mov	eax, -1
.L13:
	mov	DWORD PTR xmax[rip], eax
	mov	eax, DWORD PTR ymax[rip]
	cmp	eax, 8
	jle	.L14
	mov	eax, DWORD PTR xmax[rip]
	cmp	eax, 61
	jg	.L15
.L14:
	call	endwin@PLT
	lea	rsi, .LC2[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L15:
	mov	eax, DWORD PTR xmax[rip]
	sub	eax, 58
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	add	eax, 2
	mov	DWORD PTR xbase[rip], eax
	mov	eax, DWORD PTR ymax[rip]
	sub	eax, 7
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	add	eax, 1
	mov	DWORD PTR ybase[rip], eax
	lea	rsi, sighndl[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, sighndl[rip]
	mov	edi, 15
	call	signal@PLT
	lea	rsi, sighndl[rip]
	mov	edi, 1
	call	signal@PLT
	call	cbreak@PLT
	call	noecho@PLT
	mov	edi, 0
	call	curs_set@PLT
	call	has_colors@PLT
	movzx	eax, al
	mov	DWORD PTR hascolor[rip], eax
	mov	eax, DWORD PTR hascolor[rip]
	test	eax, eax
	je	.L16
	call	start_color@PLT
	mov	edx, 1
	mov	esi, 0
	mov	edi, 1
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	init_pair@PLT
	mov	edx, 0
	mov	esi, 7
	mov	edi, 3
	call	init_pair@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 512
	mov	rdi, rax
	call	wattrset@PLT
.L16:
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	mov	eax, DWORD PTR hascolor[rip]
	test	eax, eax
	je	.L39
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 768
	mov	rdi, rax
	call	wattrset@PLT
	mov	eax, DWORD PTR xbase[rip]
	lea	edx, -3[rax]
	mov	eax, DWORD PTR ybase[rip]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L19
	mov	edx, DWORD PTR acs_map[rip+432]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L19:
	mov	ecx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 58
	mov	esi, ecx
	mov	rdi, rax
	call	whline@PLT
	mov	eax, DWORD PTR xbase[rip]
	lea	edx, 56[rax]
	mov	eax, DWORD PTR ybase[rip]
	lea	ecx, -2[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L21
	mov	edx, DWORD PTR acs_map[rip+428]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L21:
	mov	eax, DWORD PTR xbase[rip]
	lea	edx, -3[rax]
	mov	eax, DWORD PTR ybase[rip]
	lea	ecx, 6[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L23
	mov	edx, DWORD PTR acs_map[rip+436]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L23:
	mov	ecx, DWORD PTR acs_map[rip+452]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 58
	mov	esi, ecx
	mov	rdi, rax
	call	whline@PLT
	mov	eax, DWORD PTR xbase[rip]
	lea	edx, 56[rax]
	mov	eax, DWORD PTR ybase[rip]
	lea	ecx, 6[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	cmp	eax, -1
	je	.L25
	mov	edx, DWORD PTR acs_map[rip+424]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, edx
	mov	rdi, rax
	call	waddch@PLT
.L25:
	mov	eax, DWORD PTR xbase[rip]
	lea	edx, -3[rax]
	mov	eax, DWORD PTR ybase[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	ecx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 7
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
	mov	eax, DWORD PTR xbase[rip]
	lea	edx, 56[rax]
	mov	eax, DWORD PTR ybase[rip]
	lea	ecx, -1[rax]
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	ecx, DWORD PTR acs_map[rip+480]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 7
	mov	esi, ecx
	mov	rdi, rax
	call	wvline@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 512
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L39:
	mov	QWORD PTR mask[rip], 0
	lea	rdi, now[rip]
	call	time@PLT
	lea	rdi, now[rip]
	call	localtime@PLT
	mov	QWORD PTR tm[rip], rax
	mov	rax, QWORD PTR tm[rip]
	mov	ecx, DWORD PTR [rax]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	esi, 0
	mov	edi, edx
	call	set
	mov	rax, QWORD PTR tm[rip]
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	esi, 4
	mov	edi, eax
	call	set
	mov	rax, QWORD PTR tm[rip]
	mov	ecx, DWORD PTR 4[rax]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	esi, 10
	mov	edi, edx
	call	set
	mov	rax, QWORD PTR tm[rip]
	mov	eax, DWORD PTR 4[rax]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	esi, 14
	mov	edi, eax
	call	set
	mov	rax, QWORD PTR tm[rip]
	mov	ecx, DWORD PTR 8[rax]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	sub	ecx, eax
	mov	edx, ecx
	mov	esi, 20
	mov	edi, edx
	call	set
	mov	rax, QWORD PTR tm[rip]
	mov	eax, DWORD PTR 8[rax]
	movsx	rdx, eax
	imul	rdx, rdx, 1717986919
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	esi, 24
	mov	edi, eax
	call	set
	mov	esi, 7
	mov	edi, 10
	call	set
	mov	esi, 17
	mov	edi, 10
	call	set
	mov	DWORD PTR -20[rbp], 0
	jmp	.L26
.L36:
	cmp	DWORD PTR -12[rbp], 0
	je	.L27
	mov	rcx, QWORD PTR scroll_msecs[rip]
	movabs	rdx, 3074457345618258603
	mov	rax, rcx
	imul	rdx
	sar	rcx, 63
	mov	rax, rdx
	sub	rax, rcx
	mov	rdi, rax
	call	snooze
	mov	DWORD PTR -28[rbp], 0
	jmp	.L28
.L29:
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR mask[rip]
	not	rax
	mov	rcx, rdx
	and	rcx, rax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR mask[rip]
	and	rax, rdx
	or	rcx, rax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	QWORD PTR [rdx+rax], rcx
	add	DWORD PTR -28[rbp], 1
.L28:
	cmp	DWORD PTR -28[rbp], 4
	jle	.L29
	mov	rdx, QWORD PTR new[rip+40]
	mov	rax, QWORD PTR mask[rip]
	not	rax
	mov	rcx, rdx
	and	rcx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, next[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR mask[rip]
	and	rax, rdx
	or	rax, rcx
	mov	QWORD PTR new[rip+40], rax
	jmp	.L30
.L27:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR mask[rip]
	not	rax
	mov	rcx, rdx
	and	rcx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, next[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR mask[rip]
	and	rax, rdx
	or	rcx, rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	QWORD PTR [rdx+rax], rcx
.L30:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, next[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	DWORD PTR -24[rbp], 1
	jmp	.L31
.L35:
	mov	eax, DWORD PTR -24[rbp]
	mov	edi, eax
	call	standt
	mov	DWORD PTR -28[rbp], 0
	jmp	.L32
.L33:
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	draw_row
	add	DWORD PTR -28[rbp], 1
.L32:
	cmp	DWORD PTR -28[rbp], 5
	jle	.L33
	cmp	DWORD PTR -24[rbp], 0
	jne	.L34
	mov	ecx, DWORD PTR ybase[rip]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
.L34:
	sub	DWORD PTR -24[rbp], 1
.L31:
	cmp	DWORD PTR -24[rbp], 0
	jns	.L35
	add	DWORD PTR -20[rbp], 1
.L26:
	cmp	DWORD PTR -20[rbp], 5
	jle	.L36
	mov	ecx, DWORD PTR ybase[rip]
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	cmp	DWORD PTR -12[rbp], 0
	je	.L37
	mov	rdx, QWORD PTR scroll_msecs[rip]
	mov	eax, 1000
	sub	rax, rdx
	jmp	.L38
.L37:
	mov	eax, 1000
.L38:
	mov	rdi, rax
	call	snooze
	cmp	DWORD PTR -8[rbp], 0
	jne	.L39
	sub	DWORD PTR -16[rbp], 1
	cmp	DWORD PTR -16[rbp], 0
	jne	.L39
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	endwin@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
.LC3:
	.string	"terminated by signal %d"
	.text
	.type	snooze, @function
snooze:
.LFB8:
	.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 -40[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -40[rbp]
	imul	rax, rax, 1000000
	mov	QWORD PTR -24[rbp], rax
	lea	rax, -32[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	nanosleep@PLT
	mov	eax, DWORD PTR sigtermed[rip]
	test	eax, eax
	je	.L45
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, 0
	mov	rdi, rax
	call	wattrset@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wclear@PLT
	mov	rax, QWORD PTR stdscr[rip]
	mov	rdi, rax
	call	wrefresh@PLT
	call	endwin@PLT
	mov	eax, DWORD PTR sigtermed[rip]
	mov	edx, eax
	lea	rsi, .LC3[rip]
	mov	edi, 1
	mov	eax, 0
	call	errx@PLT
.L45:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L44
	call	__stack_chk_fail@PLT
.L44:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	snooze, .-snooze
	.section	.rodata
.LC4:
	.string	"  "
	.text
	.type	draw_row, @function
draw_row:
.LFB9:
	.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	DWORD PTR -36[rbp], edi
	mov	DWORD PTR -40[rbp], esi
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, old[rip]
	mov	rax, QWORD PTR [rdx+rax]
	xor	rcx, rax
	cmp	DWORD PTR -40[rbp], 0
	je	.L47
	lea	rax, new[rip]
	jmp	.L48
.L47:
	lea	rax, old[rip]
.L48:
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	and	rax, rcx
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	je	.L49
	mov	DWORD PTR -20[rbp], 0
	mov	QWORD PTR -16[rbp], 67108864
	jmp	.L50
.L53:
	mov	rax, QWORD PTR -8[rbp]
	and	rax, QWORD PTR -16[rbp]
	test	rax, rax
	je	.L51
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rax
	and	rax, QWORD PTR -8[rbp]
	test	rax, rax
	jne	.L52
	mov	eax, DWORD PTR -20[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR xbase[rip]
	add	edx, eax
	mov	ecx, DWORD PTR ybase[rip]
	mov	eax, DWORD PTR -36[rbp]
	add	ecx, eax
	mov	rax, QWORD PTR stdscr[rip]
	mov	esi, ecx
	mov	rdi, rax
	call	wmove@PLT
.L52:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, -1
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	call	waddnstr@PLT
.L51:
	sar	QWORD PTR -16[rbp]
	add	DWORD PTR -20[rbp], 1
.L50:
	cmp	QWORD PTR -16[rbp], 0
	jne	.L53
.L49:
	cmp	DWORD PTR -40[rbp], 0
	jne	.L55
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, new[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, old[rip]
	mov	QWORD PTR [rcx+rdx], rax
.L55:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	draw_row, .-draw_row
	.type	set, @function
set:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, 7
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L57
.L58:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, next[rip]
	mov	rdi, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, disp[rip]
	movzx	eax, WORD PTR [rdx+rax]
	movsx	esi, ax
	mov	eax, 4
	sub	eax, DWORD PTR -8[rbp]
	mov	edx, eax
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	mov	ecx, eax
	sar	esi, cl
	mov	eax, esi
	and	eax, 7
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	or	rdi, rax
	mov	rcx, rdi
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, next[rip]
	mov	QWORD PTR [rdx+rax], rcx
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, next[rip]
	mov	rcx, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, old[rip]
	mov	rax, QWORD PTR [rdx+rax]
	xor	rcx, rax
	mov	rdx, rcx
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	and	rdx, rax
	mov	rax, QWORD PTR mask[rip]
	or	rax, rdx
	mov	QWORD PTR mask[rip], rax
	add	DWORD PTR -8[rbp], 1
.L57:
	cmp	DWORD PTR -8[rbp], 4
	jle	.L58
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR mask[rip]
	and	rax, rdx
	test	rax, rax
	je	.L60
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR mask[rip]
	or	rax, rdx
	mov	QWORD PTR mask[rip], rax
.L60:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	set, .-set
	.type	standt, @function
standt:
.LFB11:
	.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
	mov	DWORD PTR -4[rbp], edi
	cmp	DWORD PTR -4[rbp], 0
	je	.L62
	mov	eax, DWORD PTR hascolor[rip]
	test	eax, eax
	je	.L63
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 256
	mov	rdi, rax
	call	wattr_on@PLT
	jmp	.L66
.L63:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_on@PLT
	jmp	.L66
.L62:
	mov	eax, DWORD PTR hascolor[rip]
	test	eax, eax
	je	.L65
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 512
	mov	rdi, rax
	call	wattr_on@PLT
	jmp	.L66
.L65:
	mov	rax, QWORD PTR stdscr[rip]
	mov	edx, 0
	mov	esi, 65536
	mov	rdi, rax
	call	wattr_off@PLT
.L66:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	standt, .-standt
	.section	.rodata
	.align 8
.LC5:
	.string	"usage: grdc [-s] [-d msecs] [n]\n"
	.text
	.type	usage, @function
usage:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 32
	mov	esi, 1
	lea	rdi, .LC5[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE12:
	.size	usage, .-usage
	.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	"483455.c"
	.text
	.comm	now,4,4
	.comm	tm,4,4
	.global	disp
	.data
	.align	2
	.type	disp, %object
	.size	disp, 22
disp:
	.short	31599
	.short	4681
	.short	29671
	.short	29647
	.short	23497
	.short	31183
	.short	31215
	.short	29257
	.short	31727
	.short	31695
	.short	1040
	.comm	old,24,4
	.comm	next,24,4
	.comm	new,24,4
	.comm	mask,4,4
	.comm	sigtermed,4,4
	.global	hascolor
	.bss
	.align	2
	.type	hascolor, %object
	.size	hascolor, 4
hascolor:
	.space	4
	.global	scroll_msecs
	.data
	.align	2
	.type	scroll_msecs, %object
	.size	scroll_msecs, 4
scroll_msecs:
	.word	120
	.comm	xbase,4,4
	.comm	ybase,4,4
	.comm	xmax,4,4
	.comm	ymax,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sighndl, %function
sighndl:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, .L2
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L3:
	.align	2
.L2:
	.word	sigtermed
	.size	sighndl, .-sighndl
	.section	.rodata
	.align	2
.LC0:
	.ascii	"scroll duration may not be negative\000"
	.align	2
.LC1:
	.ascii	"d:s\000"
	.align	2
.LC2:
	.ascii	"terminal too small\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, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L5
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #100
	beq	.L6
	ldr	r3, [fp, #-8]
	cmp	r3, #115
	beq	.L7
	b	.L43
.L6:
	ldr	r3, .L44
	ldr	r3, [r3]
	mov	r0, r3
	bl	atol
	mov	r3, r0
	ldr	r2, .L44+4
	str	r3, [r2]
	ldr	r3, .L44+4
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L7
	ldr	r1, .L44+8
	mov	r0, #1
	bl	errx
.L7:
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L5
.L43:
	bl	usage
.L5:
	ldr	r2, .L44+12
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	getopt
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L9
	ldr	r3, .L44+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-40]
	sub	r3, r2, r3
	str	r3, [fp, #-40]
	ldr	r3, .L44+16
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	ble	.L10
	bl	usage
.L10:
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	ble	.L11
	ldr	r3, [fp, #-44]
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-12]
.L11:
	bl	initscr
	ldr	r3, .L44+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldrsh	r3, [r3, #4]
	add	r3, r3, #1
	b	.L13
.L12:
	mvn	r3, #0
.L13:
	ldr	r2, .L44+24
	str	r3, [r2]
	ldr	r3, .L44+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldrsh	r3, [r3, #6]
	add	r3, r3, #1
	b	.L15
.L14:
	mvn	r3, #0
.L15:
	ldr	r2, .L44+28
	str	r3, [r2]
	ldr	r3, .L44+24
	ldr	r3, [r3]
	cmp	r3, #8
	ble	.L16
	ldr	r3, .L44+28
	ldr	r3, [r3]
	cmp	r3, #61
	bgt	.L17
.L16:
	bl	endwin
	ldr	r1, .L44+32
	mov	r0, #1
	bl	errx
.L17:
	ldr	r3, .L44+28
	ldr	r3, [r3]
	sub	r3, r3, #58
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #2
	ldr	r2, .L44+36
	str	r3, [r2]
	ldr	r3, .L44+24
	ldr	r3, [r3]
	sub	r3, r3, #7
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #1
	ldr	r2, .L44+40
	str	r3, [r2]
	ldr	r1, .L44+44
	mov	r0, #2
	bl	signal
	ldr	r1, .L44+44
	mov	r0, #15
	bl	signal
	ldr	r1, .L44+44
	mov	r0, #1
	bl	signal
	bl	cbreak
	bl	noecho
	mov	r0, #0
	bl	curs_set
	bl	has_colors
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L44+48
	str	r2, [r3]
	ldr	r3, .L44+48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L18
	bl	start_color
	mov	r2, #1
	mov	r1, #0
	mov	r0, #1
	bl	init_pair
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	init_pair
	mov	r2, #0
	mov	r1, #7
	mov	r0, #3
	bl	init_pair
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r1, #512
	mov	r0, r3
	bl	wattrset
.L18:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, .L44+48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r1, #768
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L44+20
	ldr	r0, [r3]
	ldr	r3, .L44+40
	ldr	r3, [r3]
	sub	r1, r3, #2
	ldr	r3, .L44+36
	ldr	r3, [r3]
	sub	r3, r3, #3
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L21
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r2, [r2, #432]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L21:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r1, [r2, #452]
	mov	r2, #58
	mov	r0, r3
	bl	whline
	ldr	r3, .L44+20
	ldr	r0, [r3]
	ldr	r3, .L44+40
	ldr	r3, [r3]
	sub	r1, r3, #2
	ldr	r3, .L44+36
	ldr	r3, [r3]
	add	r3, r3, #56
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L23
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r2, [r2, #428]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L23:
	ldr	r3, .L44+20
	ldr	r0, [r3]
	ldr	r3, .L44+40
	ldr	r3, [r3]
	add	r1, r3, #6
	ldr	r3, .L44+36
	ldr	r3, [r3]
	sub	r3, r3, #3
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L25
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r2, [r2, #436]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L25:
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r1, [r2, #452]
	mov	r2, #58
	mov	r0, r3
	bl	whline
	ldr	r3, .L44+20
	ldr	r0, [r3]
	ldr	r3, .L44+40
	ldr	r3, [r3]
	add	r1, r3, #6
	ldr	r3, .L44+36
	ldr	r3, [r3]
	add	r3, r3, #56
	mov	r2, r3
	bl	wmove
	mov	r3, r0
	cmn	r3, #1
	beq	.L27
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r2, [r2, #424]
	mov	r1, r2
	mov	r0, r3
	bl	waddch
.L27:
	ldr	r3, .L44+20
	ldr	r0, [r3]
	ldr	r3, .L44+40
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L44+36
	ldr	r3, [r3]
	sub	r3, r3, #3
	mov	r2, r3
	bl	wmove
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r1, [r2, #480]
	mov	r2, #7
	mov	r0, r3
	bl	wvline
	ldr	r3, .L44+20
	ldr	r0, [r3]
	ldr	r3, .L44+40
	ldr	r3, [r3]
	sub	r1, r3, #1
	ldr	r3, .L44+36
	ldr	r3, [r3]
	add	r3, r3, #56
	mov	r2, r3
	bl	wmove
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+52
	ldr	r1, [r2, #480]
	mov	r2, #7
	mov	r0, r3
	bl	wvline
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r1, #512
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L41:
	ldr	r3, .L44+56
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L44+60
	bl	time
	ldr	r0, .L44+60
	bl	localtime
	mov	r3, r0
	ldr	r2, .L44+64
	str	r3, [r2]
	ldr	r3, .L44+64
	ldr	r3, [r3]
	ldr	r2, [r3]
	ldr	r3, .L44+68
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r0, r1, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #1
	sub	r0, r2, r3
	mov	r1, #0
	bl	set
	ldr	r3, .L44+64
	ldr	r3, [r3]
	ldr	r3, [r3]
	ldr	r2, .L44+68
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r1, #4
	mov	r0, r3
	bl	set
	ldr	r3, .L44+64
	ldr	r3, [r3]
	ldr	r2, [r3, #4]
	ldr	r3, .L44+68
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r0, r1, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #1
	sub	r0, r2, r3
	mov	r1, #10
	bl	set
	ldr	r3, .L44+64
	ldr	r3, [r3]
	ldr	r3, [r3, #4]
	ldr	r2, .L44+68
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r1, #14
	mov	r0, r3
	bl	set
	ldr	r3, .L44+64
	ldr	r3, [r3]
	ldr	r2, [r3, #8]
	ldr	r3, .L44+68
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r0, r1, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #1
	sub	r0, r2, r3
	mov	r1, #20
	bl	set
	ldr	r3, .L44+64
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L44+68
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r1, #24
	mov	r0, r3
	bl	set
	mov	r1, #7
	mov	r0, #10
	bl	set
	mov	r1, #17
	mov	r0, #10
	bl	set
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L28
.L38:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L44+4
	ldr	r3, [r3]
	ldr	r2, .L44+72
	smull	r1, r2, r3, r2
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r0, r3
	bl	snooze
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L30
.L31:
	ldr	r2, .L44+76
	ldr	r3, [fp, #-32]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	mvn	r3, r3
	and	r2, r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	ldr	r1, .L44+76
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	and	r3, r3, r1
	orr	r2, r2, r3
	ldr	r1, .L44+76
	ldr	r3, [fp, #-32]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L30:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	ble	.L31
	ldr	r3, .L44+76
	ldr	r2, [r3, #20]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	mvn	r3, r3
	and	r2, r2, r3
	ldr	r1, .L44+80
	ldr	r3, [fp, #-24]
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	and	r3, r3, r1
	orr	r3, r2, r3
	ldr	r2, .L44+76
	str	r3, [r2, #20]
	b	.L32
.L29:
	ldr	r2, .L44+76
	ldr	r3, [fp, #-24]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	mvn	r3, r3
	and	r2, r2, r3
	ldr	r1, .L44+80
	ldr	r3, [fp, #-24]
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L44+56
	ldr	r3, [r3]
	and	r3, r3, r1
	orr	r2, r2, r3
	ldr	r1, .L44+76
	ldr	r3, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
.L32:
	ldr	r2, .L44+80
	ldr	r3, [fp, #-24]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	mov	r3, #1
	str	r3, [fp, #-28]
	b	.L33
.L37:
	ldr	r0, [fp, #-28]
	bl	standt
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L34
.L35:
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	draw_row
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L34:
	ldr	r3, [fp, #-32]
	cmp	r3, #5
	ble	.L35
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L36
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+40
	ldr	r1, [r2]
	mov	r2, #0
	mov	r0, r3
	bl	wmove
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
.L36:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L33:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bge	.L37
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L28:
	ldr	r3, [fp, #-24]
	cmp	r3, #5
	ble	.L38
	ldr	r3, .L44+20
	ldr	r3, [r3]
	ldr	r2, .L44+40
	ldr	r1, [r2]
	mov	r2, #0
	mov	r0, r3
	bl	wmove
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L44+4
	ldr	r3, [r3]
	rsb	r3, r3, #1000
	b	.L40
.L39:
	mov	r3, #1000
.L40:
	mov	r0, r3
	bl	snooze
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L41
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bne	.L41
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L44+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	endwin
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L45:
	.align	2
.L44:
	.word	optarg
	.word	scroll_msecs
	.word	.LC0
	.word	.LC1
	.word	optind
	.word	stdscr
	.word	ymax
	.word	xmax
	.word	.LC2
	.word	xbase
	.word	ybase
	.word	sighndl
	.word	hascolor
	.word	acs_map
	.word	mask
	.word	now
	.word	tm
	.word	1717986919
	.word	715827883
	.word	new
	.word	next
	.size	main, .-main
	.section	.rodata
	.align	2
.LC3:
	.ascii	"terminated by signal %d\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	snooze, %function
snooze:
	@ 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, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-24]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #0
	mov	r0, r3
	bl	nanosleep
	ldr	r3, .L50+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L50+8
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	wattrset
	ldr	r3, .L50+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wclear
	ldr	r3, .L50+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	wrefresh
	bl	endwin
	ldr	r3, .L50+4
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L50+12
	mov	r0, #1
	bl	errx
.L49:
	nop
	ldr	r3, .L50
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L48
	bl	__stack_chk_fail
.L48:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC4
	.word	sigtermed
	.word	stdscr
	.word	.LC3
	.size	snooze, .-snooze
	.section	.rodata
	.align	2
.LC5:
	.ascii	"  \000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_row, %function
draw_row:
	@ 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]
	str	r1, [fp, #-28]
	ldr	r2, .L62
	ldr	r3, [fp, #-24]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L62+4
	ldr	r3, [fp, #-24]
	ldr	r3, [r1, r3, lsl #2]
	eor	r2, r2, r3
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L53
	ldr	r1, .L62
	b	.L54
.L53:
	ldr	r1, .L62+4
.L54:
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	and	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L55
	mov	r3, #0
	str	r3, [fp, #-12]
	mov	r3, #67108864
	str	r3, [fp, #-16]
	b	.L56
.L59:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-16]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L57
	ldr	r3, [fp, #-16]
	lsl	r2, r3, #1
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	cmp	r3, #0
	bne	.L58
	ldr	r3, .L62+8
	ldr	r0, [r3]
	ldr	r3, .L62+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r1, r2, r3
	ldr	r3, [fp, #-12]
	lsl	r2, r3, #1
	ldr	r3, .L62+16
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r2, r3
	bl	wmove
.L58:
	ldr	r3, .L62+8
	ldr	r3, [r3]
	mvn	r2, #0
	ldr	r1, .L62+20
	mov	r0, r3
	bl	waddnstr
.L57:
	ldr	r3, [fp, #-16]
	asr	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L56:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L59
.L55:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L61
	ldr	r2, .L62
	ldr	r3, [fp, #-24]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L62+4
	ldr	r3, [fp, #-24]
	str	r2, [r1, r3, lsl #2]
.L61:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L63:
	.align	2
.L62:
	.word	new
	.word	old
	.word	stdscr
	.word	ybase
	.word	xbase
	.word	.LC5
	.size	draw_row, .-draw_row
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set, %function
set:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r2, #7
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L65
.L66:
	ldr	r2, .L69
	ldr	r3, [fp, #-12]
	ldr	r1, [r2, r3, lsl #2]
	ldr	r2, .L69+4
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r0, r3
	ldr	r3, [fp, #-12]
	rsb	r2, r3, #4
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	asr	r3, r0, r3
	and	r2, r3, #7
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	orr	r2, r1, r3
	ldr	r1, .L69
	ldr	r3, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L69
	ldr	r3, [fp, #-12]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L69+8
	ldr	r3, [fp, #-12]
	ldr	r3, [r1, r3, lsl #2]
	eor	r2, r2, r3
	ldr	r3, [fp, #-8]
	and	r2, r2, r3
	ldr	r3, .L69+12
	ldr	r3, [r3]
	orr	r3, r2, r3
	ldr	r2, .L69+12
	str	r3, [r2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L65:
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	ble	.L66
	ldr	r3, .L69+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	and	r3, r3, r2
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L69+12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	orr	r3, r2, r3
	ldr	r2, .L69+12
	str	r3, [r2]
.L68:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L70:
	.align	2
.L69:
	.word	next
	.word	disp
	.word	old
	.word	mask
	.size	set, .-set
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	standt, %function
standt:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L72
	ldr	r3, .L77
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L77+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #256
	mov	r0, r3
	bl	wattr_on
	b	.L76
.L73:
	ldr	r3, .L77+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_on
	b	.L76
.L72:
	ldr	r3, .L77
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L75
	ldr	r3, .L77+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #512
	mov	r0, r3
	bl	wattr_on
	b	.L76
.L75:
	ldr	r3, .L77+4
	ldr	r3, [r3]
	mov	r2, #0
	mov	r1, #65536
	mov	r0, r3
	bl	wattr_off
.L76:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L78:
	.align	2
.L77:
	.word	hascolor
	.word	stdscr
	.size	standt, .-standt
	.section	.rodata
	.align	2
.LC6:
	.ascii	"usage: grdc [-s] [-d msecs] [n]\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usage, %function
usage:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L80
	ldr	r3, [r3]
	mov	r2, #32
	mov	r1, #1
	ldr	r0, .L80+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L81:
	.align	2
.L80:
	.word	stderr
	.word	.LC6
	.size	usage, .-usage
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
