	.file	"294927.c"
	.intel_syntax noprefix
	.text
	.data
	.align 32
	.type	copyright, @object
	.size	copyright, 99
copyright:
	.string	"@(#) Copyright (c) 1980, 1993\n\tThe Regents of the University of California.  All rights reserved.\n"
	.align 32
	.type	sccsid, @object
	.size	sccsid, 33
sccsid:
	.string	"@(#)ul.c\t8.1 (Berkeley) 06/06/93"
	.globl	must_use_uc
	.bss
	.align 4
	.type	must_use_uc, @object
	.size	must_use_uc, 4
must_use_uc:
	.zero	4
	.globl	must_overstrike
	.align 4
	.type	must_overstrike, @object
	.size	must_overstrike, 4
must_overstrike:
	.zero	4
	.globl	CURS_UP
	.align 8
	.type	CURS_UP, @object
	.size	CURS_UP, 8
CURS_UP:
	.zero	8
	.globl	CURS_RIGHT
	.align 8
	.type	CURS_RIGHT, @object
	.size	CURS_RIGHT, 8
CURS_RIGHT:
	.zero	8
	.globl	CURS_LEFT
	.align 8
	.type	CURS_LEFT, @object
	.size	CURS_LEFT, 8
CURS_LEFT:
	.zero	8
	.globl	ENTER_STANDOUT
	.align 8
	.type	ENTER_STANDOUT, @object
	.size	ENTER_STANDOUT, 8
ENTER_STANDOUT:
	.zero	8
	.globl	EXIT_STANDOUT
	.align 8
	.type	EXIT_STANDOUT, @object
	.size	EXIT_STANDOUT, 8
EXIT_STANDOUT:
	.zero	8
	.globl	ENTER_UNDERLINE
	.align 8
	.type	ENTER_UNDERLINE, @object
	.size	ENTER_UNDERLINE, 8
ENTER_UNDERLINE:
	.zero	8
	.globl	EXIT_UNDERLINE
	.align 8
	.type	EXIT_UNDERLINE, @object
	.size	EXIT_UNDERLINE, 8
EXIT_UNDERLINE:
	.zero	8
	.globl	ENTER_DIM
	.align 8
	.type	ENTER_DIM, @object
	.size	ENTER_DIM, 8
ENTER_DIM:
	.zero	8
	.globl	ENTER_BOLD
	.align 8
	.type	ENTER_BOLD, @object
	.size	ENTER_BOLD, 8
ENTER_BOLD:
	.zero	8
	.globl	ENTER_REVERSE
	.align 8
	.type	ENTER_REVERSE, @object
	.size	ENTER_REVERSE, 8
ENTER_REVERSE:
	.zero	8
	.globl	UNDER_CHAR
	.align 8
	.type	UNDER_CHAR, @object
	.size	UNDER_CHAR, 8
UNDER_CHAR:
	.zero	8
	.globl	EXIT_ATTRIBUTES
	.align 8
	.type	EXIT_ATTRIBUTES, @object
	.size	EXIT_ATTRIBUTES, 8
EXIT_ATTRIBUTES:
	.zero	8
	.globl	obuf
	.align 32
	.type	obuf, @object
	.size	obuf, 1024
obuf:
	.zero	1024
	.globl	col
	.align 4
	.type	col, @object
	.size	col, 4
col:
	.zero	4
	.globl	maxcol
	.align 4
	.type	maxcol, @object
	.size	maxcol, 4
maxcol:
	.zero	4
	.globl	mode
	.align 4
	.type	mode, @object
	.size	mode, 4
mode:
	.zero	4
	.globl	halfpos
	.align 4
	.type	halfpos, @object
	.size	halfpos, 4
halfpos:
	.zero	4
	.globl	upln
	.align 4
	.type	upln, @object
	.size	upln, 4
upln:
	.zero	4
	.globl	iflag
	.align 4
	.type	iflag, @object
	.size	iflag, 4
iflag:
	.zero	4
	.section	.rodata
.LC0:
	.string	"TERM"
.LC1:
	.string	"lpr"
	.align 8
.LC2:
	.string	"usage: %s [ -i ] [ -tTerm ] file...\n"
.LC3:
	.string	"it:T:"
.LC4:
	.string	"trouble reading termcap"
.LC5:
	.string	"os"
.LC6:
	.string	"ul"
.LC7:
	.string	"r"
	.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, 1088
	mov	DWORD PTR -1076[rbp], edi
	mov	QWORD PTR -1088[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	getenv@PLT
	mov	QWORD PTR -1056[rbp], rax
	cmp	QWORD PTR -1056[rbp], 0
	je	.L2
	mov	rax, QWORD PTR -1088[rbp]
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 99
	jne	.L4
	mov	edi, 1
	mov	eax, 0
	call	isatty@PLT
	test	eax, eax
	jne	.L4
.L2:
	lea	rax, .LC1[rip]
	mov	QWORD PTR -1056[rbp], rax
	jmp	.L4
.L8:
	cmp	DWORD PTR -1060[rbp], 116
	je	.L5
	cmp	DWORD PTR -1060[rbp], 116
	jg	.L6
	cmp	DWORD PTR -1060[rbp], 84
	je	.L5
	cmp	DWORD PTR -1060[rbp], 105
	je	.L7
	jmp	.L6
.L5:
	mov	rax, QWORD PTR optarg[rip]
	mov	QWORD PTR -1056[rbp], rax
	jmp	.L4
.L7:
	mov	DWORD PTR iflag[rip], 1
	jmp	.L4
.L6:
	mov	rax, QWORD PTR -1088[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L4:
	mov	rcx, QWORD PTR -1088[rbp]
	mov	eax, DWORD PTR -1076[rbp]
	lea	rdx, .LC3[rip]
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	getopt@PLT
	mov	DWORD PTR -1060[rbp], eax
	cmp	DWORD PTR -1060[rbp], -1
	jne	.L8
	mov	rdx, QWORD PTR -1056[rbp]
	lea	rax, -1040[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	mov	eax, 0
	call	tgetent@PLT
	test	eax, eax
	je	.L9
	cmp	eax, 1
	je	.L21
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 23
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
.L9:
	lea	rax, -1040[rbp]
	movabs	rsi, 4211832373071672676
	movabs	rdi, 7150080376074694499
	mov	QWORD PTR [rax], rsi
	mov	QWORD PTR 8[rax], rdi
	movabs	rcx, 4424350378181410162
	mov	QWORD PTR 16[rax], rcx
	mov	DWORD PTR 24[rax], 1631210078
	mov	WORD PTR 28[rax], 14957
	mov	BYTE PTR 30[rax], 0
	jmp	.L11
.L21:
	nop
.L11:
	mov	eax, 0
	call	initcap
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	tgetflag@PLT
	test	eax, eax
	je	.L12
	mov	rax, QWORD PTR ENTER_BOLD[rip]
	test	rax, rax
	je	.L13
.L12:
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	tgetflag@PLT
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	test	rax, rax
	jne	.L14
	mov	rax, QWORD PTR UNDER_CHAR[rip]
	test	rax, rax
	jne	.L14
.L13:
	mov	DWORD PTR must_overstrike[rip], 1
.L14:
	mov	eax, 0
	call	initbuf
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -1076[rbp], eax
	jne	.L17
	mov	rax, QWORD PTR stdin[rip]
	mov	rdi, rax
	mov	eax, 0
	call	filter
	jmp	.L16
.L19:
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1088[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -1048[rbp], rax
	cmp	QWORD PTR -1048[rbp], 0
	jne	.L18
	mov	eax, DWORD PTR optind[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -1088[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L18:
	mov	rax, QWORD PTR -1048[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	filter
	mov	eax, DWORD PTR optind[rip]
	add	eax, 1
	mov	DWORD PTR optind[rip], eax
.L17:
	mov	eax, DWORD PTR optind[rip]
	cmp	DWORD PTR -1076[rbp], eax
	jg	.L19
.L16:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC8:
	.string	"Unknown escape sequence in input: %o, %o\n"
	.text
	.globl	filter
	.type	filter, @function
filter:
.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, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	jmp	.L23
.L56:
	cmp	ebx, 32
	jg	.L24
	cmp	ebx, 8
	jl	.L25
	lea	eax, -8[rbx]
	cmp	eax, 24
	ja	.L25
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L27[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L27[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L27:
	.long	.L35-.L27
	.long	.L34-.L27
	.long	.L33-.L27
	.long	.L25-.L27
	.long	.L32-.L27
	.long	.L31-.L27
	.long	.L30-.L27
	.long	.L29-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L28-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L25-.L27
	.long	.L26-.L27
	.text
.L24:
	cmp	ebx, 95
	je	.L36
	jmp	.L25
.L35:
	mov	eax, DWORD PTR col[rip]
	test	eax, eax
	jle	.L23
	mov	eax, DWORD PTR col[rip]
	sub	eax, 1
	mov	DWORD PTR col[rip], eax
	jmp	.L23
.L34:
	mov	eax, DWORD PTR col[rip]
	add	eax, 8
	and	eax, -8
	mov	DWORD PTR col[rip], eax
	mov	edx, DWORD PTR col[rip]
	mov	eax, DWORD PTR maxcol[rip]
	cmp	edx, eax
	jle	.L23
	mov	eax, DWORD PTR col[rip]
	mov	DWORD PTR maxcol[rip], eax
	jmp	.L23
.L31:
	mov	DWORD PTR col[rip], 0
	jmp	.L23
.L30:
	mov	eax, DWORD PTR mode[rip]
	or	eax, 1
	mov	DWORD PTR mode[rip], eax
	jmp	.L23
.L29:
	mov	eax, DWORD PTR mode[rip]
	and	eax, -2
	mov	DWORD PTR mode[rip], eax
	jmp	.L23
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	ebx, eax
	cmp	ebx, 57
	je	.L39
	cmp	ebx, 57
	jg	.L40
	cmp	ebx, 55
	je	.L41
	cmp	ebx, 56
	jne	.L40
	mov	eax, DWORD PTR halfpos[rip]
	test	eax, eax
	jne	.L42
	mov	eax, DWORD PTR mode[rip]
	or	eax, 2
	mov	DWORD PTR mode[rip], eax
	mov	eax, DWORD PTR halfpos[rip]
	sub	eax, 1
	mov	DWORD PTR halfpos[rip], eax
	jmp	.L23
.L42:
	mov	eax, DWORD PTR halfpos[rip]
	test	eax, eax
	jle	.L44
	mov	eax, DWORD PTR mode[rip]
	and	eax, -5
	mov	DWORD PTR mode[rip], eax
	mov	eax, DWORD PTR halfpos[rip]
	sub	eax, 1
	mov	DWORD PTR halfpos[rip], eax
	jmp	.L23
.L44:
	mov	DWORD PTR halfpos[rip], 0
	mov	eax, 0
	call	reverse
	jmp	.L23
.L39:
	mov	eax, DWORD PTR halfpos[rip]
	test	eax, eax
	jne	.L45
	mov	eax, DWORD PTR mode[rip]
	or	eax, 4
	mov	DWORD PTR mode[rip], eax
	mov	eax, DWORD PTR halfpos[rip]
	add	eax, 1
	mov	DWORD PTR halfpos[rip], eax
	jmp	.L23
.L45:
	mov	eax, DWORD PTR halfpos[rip]
	test	eax, eax
	jns	.L47
	mov	eax, DWORD PTR mode[rip]
	and	eax, -3
	mov	DWORD PTR mode[rip], eax
	mov	eax, DWORD PTR halfpos[rip]
	add	eax, 1
	mov	DWORD PTR halfpos[rip], eax
	jmp	.L23
.L47:
	mov	DWORD PTR halfpos[rip], 0
	mov	eax, 0
	call	fwd
	jmp	.L23
.L41:
	mov	eax, 0
	call	reverse
	jmp	.L23
.L40:
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, ebx
	mov	edx, 27
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L36:
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	je	.L48
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR mode[rip]
	or	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR col[rip]
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	mov	BYTE PTR [rdx+rax], cl
	jmp	.L26
.L48:
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	mov	BYTE PTR [rdx+rax], 95
.L26:
	mov	eax, DWORD PTR col[rip]
	add	eax, 1
	mov	DWORD PTR col[rip], eax
	mov	edx, DWORD PTR col[rip]
	mov	eax, DWORD PTR maxcol[rip]
	cmp	edx, eax
	jle	.L23
	mov	eax, DWORD PTR col[rip]
	mov	DWORD PTR maxcol[rip], eax
	jmp	.L23
.L33:
	mov	eax, 0
	call	flushln
	jmp	.L23
.L32:
	mov	eax, 0
	call	flushln
	mov	edi, 12
	call	putchar@PLT
	jmp	.L23
.L25:
	cmp	ebx, 31
	jg	.L50
	jmp	.L23
.L50:
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	jne	.L51
	mov	eax, DWORD PTR col[rip]
	mov	ecx, ebx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	mov	BYTE PTR [rdx+rax], cl
	mov	edx, DWORD PTR mode[rip]
	mov	eax, DWORD PTR col[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	mov	BYTE PTR [rdx+rax], cl
	jmp	.L52
.L51:
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	cmp	al, 95
	jne	.L53
	mov	eax, DWORD PTR col[rip]
	mov	ecx, ebx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	mov	BYTE PTR [rdx+rax], cl
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR mode[rip]
	or	eax, 8
	mov	ecx, eax
	mov	eax, DWORD PTR col[rip]
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	mov	BYTE PTR [rdx+rax], cl
	jmp	.L52
.L53:
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	cmp	ebx, eax
	jne	.L54
	mov	eax, DWORD PTR col[rip]
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	edx, BYTE PTR [rdx+rax]
	mov	eax, DWORD PTR mode[rip]
	or	eax, 16
	mov	ecx, eax
	mov	eax, DWORD PTR col[rip]
	or	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	mov	BYTE PTR [rdx+rax], cl
	jmp	.L52
.L54:
	mov	edx, DWORD PTR mode[rip]
	mov	eax, DWORD PTR col[rip]
	mov	ecx, edx
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	mov	BYTE PTR [rdx+rax], cl
.L52:
	mov	eax, DWORD PTR col[rip]
	add	eax, 1
	mov	DWORD PTR col[rip], eax
	mov	edx, DWORD PTR col[rip]
	mov	eax, DWORD PTR maxcol[rip]
	cmp	edx, eax
	jle	.L58
	mov	eax, DWORD PTR col[rip]
	mov	DWORD PTR maxcol[rip], eax
.L58:
	nop
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	getc@PLT
	mov	ebx, eax
	cmp	ebx, -1
	jne	.L56
	mov	eax, DWORD PTR maxcol[rip]
	test	eax, eax
	je	.L57
	mov	eax, 0
	call	flushln
.L57:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	filter, .-filter
	.globl	flushln
	.type	flushln, @function
flushln:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -20[rbp], 0
	mov	r12d, 0
	mov	ebx, 0
	jmp	.L60
.L65:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	cmp	r12d, eax
	je	.L61
	add	DWORD PTR -20[rbp], 1
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	setmode
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	r12d, al
.L61:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	test	al, al
	jne	.L62
	mov	eax, DWORD PTR upln[rip]
	test	eax, eax
	je	.L63
	mov	rax, QWORD PTR CURS_RIGHT[rip]
	test	rax, rax
	je	.L64
	mov	rax, QWORD PTR CURS_RIGHT[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L64
.L63:
	mov	edi, 32
	mov	eax, 0
	call	outc
	jmp	.L64
.L62:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip+1]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	mov	edi, eax
	mov	eax, 0
	call	outc
.L64:
	add	ebx, 1
.L60:
	mov	eax, DWORD PTR maxcol[rip]
	cmp	ebx, eax
	jl	.L65
	test	r12d, r12d
	je	.L66
	mov	edi, 0
	mov	eax, 0
	call	setmode
.L66:
	mov	eax, DWORD PTR must_overstrike[rip]
	test	eax, eax
	je	.L67
	cmp	DWORD PTR -20[rbp], 0
	je	.L67
	mov	eax, 0
	call	overstrike
.L67:
	mov	edi, 10
	call	putchar@PLT
	mov	eax, DWORD PTR iflag[rip]
	test	eax, eax
	je	.L68
	cmp	DWORD PTR -20[rbp], 0
	je	.L68
	mov	eax, 0
	call	iattr
.L68:
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	eax, DWORD PTR upln[rip]
	test	eax, eax
	je	.L69
	mov	eax, DWORD PTR upln[rip]
	sub	eax, 1
	mov	DWORD PTR upln[rip], eax
.L69:
	mov	eax, 0
	call	initbuf
	nop
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	flushln, .-flushln
	.globl	overstrike
	.type	overstrike, @function
overstrike:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 288
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rbx, -288[rbp]
	mov	DWORD PTR -292[rbp], 0
	mov	r12d, 0
	jmp	.L71
.L75:
	movsx	rax, r12d
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	cmp	eax, 8
	je	.L72
	cmp	eax, 16
	je	.L73
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 32
	jmp	.L74
.L72:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 95
	jmp	.L74
.L73:
	mov	rax, rbx
	lea	rbx, 1[rax]
	movsx	rdx, r12d
	lea	rcx, [rdx+rdx]
	lea	rdx, obuf[rip+1]
	movzx	edx, BYTE PTR [rcx+rdx]
	mov	BYTE PTR [rax], dl
	mov	DWORD PTR -292[rbp], 1
	nop
.L74:
	add	r12d, 1
.L71:
	mov	eax, DWORD PTR maxcol[rip]
	cmp	r12d, eax
	jl	.L75
	mov	edi, 13
	call	putchar@PLT
	mov	BYTE PTR [rbx], 32
	jmp	.L76
.L77:
	mov	BYTE PTR [rbx], 0
	sub	rbx, 1
.L76:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L77
	lea	rbx, -288[rbp]
	jmp	.L78
.L79:
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	rbx, 1
.L78:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L79
	cmp	DWORD PTR -292[rbp], 0
	je	.L80
	mov	edi, 13
	call	putchar@PLT
	lea	rbx, -288[rbp]
	jmp	.L81
.L84:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 95
	je	.L82
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	jmp	.L83
.L82:
	mov	eax, 32
.L83:
	mov	edi, eax
	call	putchar@PLT
	add	rbx, 1
.L81:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L84
	mov	edi, 13
	call	putchar@PLT
	lea	rbx, -288[rbp]
	jmp	.L85
.L88:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 95
	je	.L86
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	jmp	.L87
.L86:
	mov	eax, 32
.L87:
	mov	edi, eax
	call	putchar@PLT
	add	rbx, 1
.L85:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L88
.L80:
	nop
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L89
	call	__stack_chk_fail@PLT
.L89:
	add	rsp, 288
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	overstrike, .-overstrike
	.globl	iattr
	.type	iattr, @function
iattr:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 272
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rbx, -288[rbp]
	mov	r12d, 0
	jmp	.L91
.L101:
	movsx	rax, r12d
	lea	rdx, [rax+rax]
	lea	rax, obuf[rip]
	movzx	eax, BYTE PTR [rdx+rax]
	movsx	eax, al
	cmp	eax, 16
	ja	.L92
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L94[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L94[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L94:
	.long	.L99-.L94
	.long	.L98-.L94
	.long	.L97-.L94
	.long	.L92-.L94
	.long	.L96-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L95-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L92-.L94
	.long	.L93-.L94
	.text
.L99:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 32
	jmp	.L100
.L98:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 103
	jmp	.L100
.L97:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 94
	jmp	.L100
.L96:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 118
	jmp	.L100
.L95:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 95
	jmp	.L100
.L93:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 33
	jmp	.L100
.L92:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 88
	nop
.L100:
	add	r12d, 1
.L91:
	mov	eax, DWORD PTR maxcol[rip]
	cmp	r12d, eax
	jl	.L101
	mov	BYTE PTR [rbx], 32
	jmp	.L102
.L103:
	mov	BYTE PTR [rbx], 0
	sub	rbx, 1
.L102:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 32
	je	.L103
	lea	rbx, -288[rbp]
	jmp	.L104
.L105:
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	rbx, 1
.L104:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L105
	mov	edi, 10
	call	putchar@PLT
	nop
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L106
	call	__stack_chk_fail@PLT
.L106:
	add	rsp, 272
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	iattr, .-iattr
	.globl	initbuf
	.type	initbuf, @function
initbuf:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdx, obuf[rip]
	mov	eax, 0
	mov	ecx, 128
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR col[rip], 0
	mov	DWORD PTR maxcol[rip], 0
	mov	eax, DWORD PTR mode[rip]
	and	eax, 1
	mov	DWORD PTR mode[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	initbuf, .-initbuf
	.globl	fwd
	.type	fwd, @function
fwd:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	r12d, DWORD PTR col[rip]
	mov	ebx, DWORD PTR maxcol[rip]
	mov	eax, 0
	call	flushln
	mov	DWORD PTR col[rip], r12d
	mov	DWORD PTR maxcol[rip], ebx
	nop
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	fwd, .-fwd
	.globl	reverse
	.type	reverse, @function
reverse:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR upln[rip]
	add	eax, 1
	mov	DWORD PTR upln[rip], eax
	mov	eax, 0
	call	fwd
	mov	rax, QWORD PTR CURS_UP[rip]
	test	rax, rax
	je	.L110
	mov	rax, QWORD PTR CURS_UP[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
.L110:
	mov	rax, QWORD PTR CURS_UP[rip]
	test	rax, rax
	je	.L111
	mov	rax, QWORD PTR CURS_UP[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
.L111:
	mov	eax, DWORD PTR upln[rip]
	add	eax, 1
	mov	DWORD PTR upln[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	reverse, .-reverse
	.section	.rodata
.LC9:
	.string	"up"
.LC10:
	.string	"ri"
.LC11:
	.string	"nd"
.LC12:
	.string	"le"
.LC13:
	.string	"bc"
.LC14:
	.string	"bs"
.LC15:
	.string	"\b"
.LC16:
	.string	"so"
.LC17:
	.string	"se"
.LC18:
	.string	"us"
.LC19:
	.string	"ue"
.LC20:
	.string	"mh"
.LC21:
	.string	"md"
.LC22:
	.string	"mr"
.LC23:
	.string	"me"
.LC24:
	.string	"uc"
	.text
	.globl	initcap
	.type	initcap, @function
initcap:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, tcapbuf.0[rip]
	mov	QWORD PTR -16[rbp], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR CURS_UP[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR CURS_RIGHT[rip], rax
	mov	rax, QWORD PTR CURS_RIGHT[rip]
	test	rax, rax
	jne	.L113
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR CURS_RIGHT[rip], rax
.L113:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR CURS_LEFT[rip], rax
	mov	rax, QWORD PTR CURS_LEFT[rip]
	test	rax, rax
	jne	.L114
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR CURS_LEFT[rip], rax
.L114:
	mov	rax, QWORD PTR CURS_LEFT[rip]
	test	rax, rax
	jne	.L115
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	tgetflag@PLT
	test	eax, eax
	je	.L115
	lea	rax, .LC15[rip]
	mov	QWORD PTR CURS_LEFT[rip], rax
.L115:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC16[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR ENTER_STANDOUT[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC17[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR EXIT_STANDOUT[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC18[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR ENTER_UNDERLINE[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR EXIT_UNDERLINE[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR ENTER_DIM[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC21[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR ENTER_BOLD[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC22[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR ENTER_REVERSE[rip], rax
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR EXIT_ATTRIBUTES[rip], rax
	mov	rax, QWORD PTR ENTER_BOLD[rip]
	test	rax, rax
	jne	.L116
	mov	rax, QWORD PTR ENTER_REVERSE[rip]
	test	rax, rax
	je	.L116
	mov	rax, QWORD PTR ENTER_REVERSE[rip]
	mov	QWORD PTR ENTER_BOLD[rip], rax
.L116:
	mov	rax, QWORD PTR ENTER_BOLD[rip]
	test	rax, rax
	jne	.L117
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	test	rax, rax
	je	.L117
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	mov	QWORD PTR ENTER_BOLD[rip], rax
.L117:
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	test	rax, rax
	jne	.L118
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	test	rax, rax
	je	.L118
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	mov	QWORD PTR ENTER_UNDERLINE[rip], rax
	mov	rax, QWORD PTR EXIT_STANDOUT[rip]
	mov	QWORD PTR EXIT_UNDERLINE[rip], rax
.L118:
	mov	rax, QWORD PTR ENTER_DIM[rip]
	test	rax, rax
	jne	.L119
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	test	rax, rax
	je	.L119
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	mov	QWORD PTR ENTER_DIM[rip], rax
.L119:
	mov	rax, QWORD PTR ENTER_REVERSE[rip]
	test	rax, rax
	jne	.L120
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	test	rax, rax
	je	.L120
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	mov	QWORD PTR ENTER_REVERSE[rip], rax
.L120:
	mov	rax, QWORD PTR EXIT_ATTRIBUTES[rip]
	test	rax, rax
	jne	.L121
	mov	rax, QWORD PTR EXIT_STANDOUT[rip]
	test	rax, rax
	je	.L121
	mov	rax, QWORD PTR EXIT_STANDOUT[rip]
	mov	QWORD PTR EXIT_ATTRIBUTES[rip], rax
.L121:
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC24[rip]
	mov	eax, 0
	call	tgetstr@PLT
	mov	QWORD PTR UNDER_CHAR[rip], rax
	mov	rax, QWORD PTR UNDER_CHAR[rip]
	test	rax, rax
	je	.L122
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	test	rax, rax
	jne	.L122
	mov	eax, 1
	jmp	.L123
.L122:
	mov	eax, 0
.L123:
	mov	DWORD PTR must_use_uc[rip], eax
	nop
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L124
	call	__stack_chk_fail@PLT
.L124:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	initcap, .-initcap
	.globl	outchar
	.type	outchar, @function
outchar:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	and	eax, 127
	mov	edi, eax
	call	putchar@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	outchar, .-outchar
	.local	curmode
	.comm	curmode,4,4
	.globl	outc
	.type	outc, @function
outc:
.LFB10:
	.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
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR must_use_uc[rip]
	test	eax, eax
	je	.L127
	mov	eax, DWORD PTR curmode[rip]
	and	eax, 8
	test	eax, eax
	je	.L127
	mov	rax, QWORD PTR CURS_LEFT[rip]
	test	rax, rax
	je	.L128
	mov	rax, QWORD PTR CURS_LEFT[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
.L128:
	mov	rax, QWORD PTR UNDER_CHAR[rip]
	test	rax, rax
	je	.L127
	mov	rax, QWORD PTR UNDER_CHAR[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
.L127:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	outc, .-outc
	.globl	setmode
	.type	setmode, @function
setmode:
.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
	mov	eax, DWORD PTR iflag[rip]
	test	eax, eax
	jne	.L154
	mov	eax, DWORD PTR curmode[rip]
	test	eax, eax
	je	.L131
	cmp	DWORD PTR -4[rbp], 0
	je	.L131
	mov	edi, 0
	mov	eax, 0
	call	setmode
.L131:
	cmp	DWORD PTR -4[rbp], 16
	ja	.L132
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*4]
	lea	rax, .L134[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L134[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L134:
	.long	.L139-.L134
	.long	.L138-.L134
	.long	.L137-.L134
	.long	.L132-.L134
	.long	.L136-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L135-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L132-.L134
	.long	.L133-.L134
	.text
.L139:
	mov	eax, DWORD PTR curmode[rip]
	test	eax, eax
	je	.L155
	cmp	eax, 8
	jne	.L153
	mov	rax, QWORD PTR EXIT_UNDERLINE[rip]
	test	rax, rax
	je	.L156
	mov	rax, QWORD PTR EXIT_UNDERLINE[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L156
.L153:
	mov	rax, QWORD PTR EXIT_ATTRIBUTES[rip]
	test	rax, rax
	je	.L157
	mov	rax, QWORD PTR EXIT_ATTRIBUTES[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L157
.L155:
	nop
	jmp	.L130
.L156:
	nop
	jmp	.L130
.L157:
	nop
	jmp	.L130
.L138:
	mov	rax, QWORD PTR ENTER_REVERSE[rip]
	test	rax, rax
	je	.L158
	mov	rax, QWORD PTR ENTER_REVERSE[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L158
.L137:
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	test	rax, rax
	je	.L147
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
.L147:
	mov	rax, QWORD PTR ENTER_DIM[rip]
	test	rax, rax
	je	.L159
	mov	rax, QWORD PTR ENTER_DIM[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L159
.L136:
	mov	rax, QWORD PTR ENTER_DIM[rip]
	test	rax, rax
	je	.L160
	mov	rax, QWORD PTR ENTER_DIM[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L160
.L135:
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	test	rax, rax
	je	.L161
	mov	rax, QWORD PTR ENTER_UNDERLINE[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L161
.L133:
	mov	rax, QWORD PTR ENTER_BOLD[rip]
	test	rax, rax
	je	.L162
	mov	rax, QWORD PTR ENTER_BOLD[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L162
.L132:
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	test	rax, rax
	je	.L163
	mov	rax, QWORD PTR ENTER_STANDOUT[rip]
	lea	rdx, outchar[rip]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	tputs@PLT
	jmp	.L163
.L154:
	nop
	jmp	.L130
.L158:
	nop
	jmp	.L130
.L159:
	nop
	jmp	.L130
.L160:
	nop
	jmp	.L130
.L161:
	nop
	jmp	.L130
.L162:
	nop
	jmp	.L130
.L163:
	nop
.L130:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR curmode[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	setmode, .-setmode
	.local	tcapbuf.0
	.comm	tcapbuf.0,512,32
	.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	"294927.c"
	.text
	.data
	.align	2
	.type	copyright, %object
	.size	copyright, 99
copyright:
	.ascii	"@(#) Copyright (c) 1980, 1993\012\011The Regents of"
	.ascii	" the University of California.  All rights reserved"
	.ascii	".\012\000"
	.align	2
	.type	sccsid, %object
	.size	sccsid, 33
sccsid:
	.ascii	"@(#)ul.c\0118.1 (Berkeley) 06/06/93\000"
	.comm	must_use_uc,4,4
	.comm	must_overstrike,4,4
	.comm	CURS_UP,4,4
	.comm	CURS_RIGHT,4,4
	.comm	CURS_LEFT,4,4
	.comm	ENTER_STANDOUT,4,4
	.comm	EXIT_STANDOUT,4,4
	.comm	ENTER_UNDERLINE,4,4
	.comm	EXIT_UNDERLINE,4,4
	.comm	ENTER_DIM,4,4
	.comm	ENTER_BOLD,4,4
	.comm	ENTER_REVERSE,4,4
	.comm	UNDER_CHAR,4,4
	.comm	EXIT_ATTRIBUTES,4,4
	.comm	obuf,1024,4
	.comm	col,4,4
	.comm	maxcol,4,4
	.comm	mode,4,4
	.comm	halfpos,4,4
	.comm	upln,4,4
	.comm	iflag,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"TERM\000"
	.align	2
.LC1:
	.ascii	"lpr\000"
	.align	2
.LC2:
	.ascii	"usage: %s [ -i ] [ -tTerm ] file...\012\000"
	.align	2
.LC3:
	.ascii	"it:T:\000"
	.align	2
.LC4:
	.ascii	"trouble reading termcap\000"
	.align	2
.LC5:
	.ascii	"dumb:os:col#80:cr=^M:sf=^J:am:\000"
	.align	2
.LC6:
	.ascii	"os\000"
	.align	2
.LC7:
	.ascii	"ul\000"
	.align	2
.LC8:
	.ascii	"r\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1048
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1040
	sub	sp, sp, #8
	str	r0, [fp, #-1048]
	str	r1, [fp, #-1052]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L22+4
	bl	getenv
	str	r0, [fp, #-1044]
	ldr	r3, [fp, #-1044]
	cmp	r3, #0
	beq	.L2
	ldr	r3, [fp, #-1052]
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	bne	.L4
	mov	r0, #1
	bl	isatty
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
.L2:
	ldr	r3, .L22+8
	str	r3, [fp, #-1044]
	b	.L4
.L8:
	ldr	r3, [fp, #-1040]
	cmp	r3, #116
	beq	.L5
	ldr	r3, [fp, #-1040]
	cmp	r3, #116
	bgt	.L6
	ldr	r3, [fp, #-1040]
	cmp	r3, #84
	beq	.L5
	ldr	r3, [fp, #-1040]
	cmp	r3, #105
	beq	.L7
	b	.L6
.L5:
	ldr	r3, .L22+12
	ldr	r3, [r3]
	str	r3, [fp, #-1044]
	b	.L4
.L7:
	ldr	r3, .L22+16
	mov	r2, #1
	str	r2, [r3]
	b	.L4
.L6:
	ldr	r3, .L22+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-1052]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L22+24
	bl	fprintf
	mov	r0, #1
	bl	exit
.L4:
	ldr	r2, .L22+28
	ldr	r1, [fp, #-1052]
	ldr	r0, [fp, #-1048]
	bl	getopt
	str	r0, [fp, #-1040]
	ldr	r3, [fp, #-1040]
	cmn	r3, #1
	bne	.L8
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r1, [fp, #-1044]
	mov	r0, r3
	bl	tgetent
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	cmp	r3, #1
	beq	.L21
	ldr	r3, .L22+20
	ldr	r3, [r3]
	mov	r2, #23
	mov	r1, #1
	ldr	r0, .L22+32
	bl	fwrite
.L9:
	sub	r3, fp, #1024
	sub	r3, r3, #4
	sub	r3, r3, #4
	ldr	r2, .L22+36
	mov	ip, r3
	mov	lr, r2
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2}
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	b	.L11
.L21:
	nop
.L11:
	bl	initcap
	ldr	r0, .L22+40
	bl	tgetflag
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L22+44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L13
.L12:
	ldr	r0, .L22+48
	bl	tgetflag
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L22+52
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L22+56
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L14
.L13:
	ldr	r3, .L22+60
	mov	r2, #1
	str	r2, [r3]
.L14:
	bl	initbuf
	ldr	r3, .L22+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-1048]
	cmp	r2, r3
	bne	.L17
	ldr	r3, .L22+68
	ldr	r3, [r3]
	mov	r0, r3
	bl	filter
	b	.L16
.L19:
	ldr	r3, .L22+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1052]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r1, .L22+72
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-1036]
	ldr	r3, [fp, #-1036]
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L22+64
	ldr	r3, [r3]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-1052]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	mov	r0, #1
	bl	exit
.L18:
	ldr	r0, [fp, #-1036]
	bl	filter
	ldr	r3, .L22+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L22+64
	str	r3, [r2]
.L17:
	ldr	r3, .L22+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-1048]
	cmp	r2, r3
	bgt	.L19
.L16:
	mov	r0, #0
	bl	exit
.L23:
	.align	2
.L22:
	.word	.LC9
	.word	.LC0
	.word	.LC1
	.word	optarg
	.word	iflag
	.word	stderr
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	ENTER_BOLD
	.word	.LC7
	.word	ENTER_UNDERLINE
	.word	UNDER_CHAR
	.word	must_overstrike
	.word	optind
	.word	stdin
	.word	.LC8
	.size	main, .-main
	.section	.rodata
	.align	2
.LC10:
	.ascii	"Unknown escape sequence in input: %o, %o\012\000"
	.text
	.align	2
	.global	filter
	.syntax unified
	.arm
	.fpu softvfp
	.type	filter, %function
filter:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	b	.L25
.L58:
	cmp	r4, #32
	bgt	.L26
	cmp	r4, #8
	blt	.L27
	sub	r3, r4, #8
	cmp	r3, #24
	ldrls	pc, [pc, r3, asl #2]
	b	.L27
.L29:
	.word	.L37
	.word	.L36
	.word	.L35
	.word	.L27
	.word	.L34
	.word	.L33
	.word	.L32
	.word	.L31
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L30
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L27
	.word	.L28
.L26:
	cmp	r4, #95
	beq	.L38
	b	.L27
.L37:
	ldr	r3, .L61
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L25
	ldr	r3, .L61
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L61
	str	r3, [r2]
	b	.L25
.L36:
	ldr	r3, .L61
	ldr	r3, [r3]
	add	r3, r3, #8
	bic	r3, r3, #7
	ldr	r2, .L61
	str	r3, [r2]
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L25
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+4
	str	r3, [r2]
	b	.L25
.L33:
	ldr	r3, .L61
	mov	r2, #0
	str	r2, [r3]
	b	.L25
.L32:
	ldr	r3, .L61+8
	ldr	r3, [r3]
	orr	r3, r3, #1
	ldr	r2, .L61+8
	str	r3, [r2]
	b	.L25
.L31:
	ldr	r3, .L61+8
	ldr	r3, [r3]
	bic	r3, r3, #1
	ldr	r2, .L61+8
	str	r3, [r2]
	b	.L25
.L30:
	ldr	r0, [fp, #-16]
	bl	getc
	mov	r4, r0
	cmp	r4, #57
	beq	.L41
	cmp	r4, #57
	bgt	.L42
	cmp	r4, #55
	beq	.L43
	cmp	r4, #56
	bne	.L42
	ldr	r3, .L61+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L44
	ldr	r3, .L61+8
	ldr	r3, [r3]
	orr	r3, r3, #2
	ldr	r2, .L61+8
	str	r3, [r2]
	ldr	r3, .L61+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L61+12
	str	r3, [r2]
	b	.L25
.L44:
	ldr	r3, .L61+12
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L46
	ldr	r3, .L61+8
	ldr	r3, [r3]
	bic	r3, r3, #4
	ldr	r2, .L61+8
	str	r3, [r2]
	ldr	r3, .L61+12
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L61+12
	str	r3, [r2]
	b	.L25
.L46:
	ldr	r3, .L61+12
	mov	r2, #0
	str	r2, [r3]
	bl	reverse
	b	.L25
.L41:
	ldr	r3, .L61+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L47
	ldr	r3, .L61+8
	ldr	r3, [r3]
	orr	r3, r3, #4
	ldr	r2, .L61+8
	str	r3, [r2]
	ldr	r3, .L61+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L61+12
	str	r3, [r2]
	b	.L25
.L47:
	ldr	r3, .L61+12
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L49
	ldr	r3, .L61+8
	ldr	r3, [r3]
	bic	r3, r3, #2
	ldr	r2, .L61+8
	str	r3, [r2]
	ldr	r3, .L61+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L61+12
	str	r3, [r2]
	b	.L25
.L49:
	ldr	r3, .L61+12
	mov	r2, #0
	str	r2, [r3]
	bl	fwd
	b	.L25
.L43:
	bl	reverse
	b	.L25
.L42:
	ldr	r3, .L61+16
	ldr	r0, [r3]
	mov	r3, r4
	mov	r2, #27
	ldr	r1, .L61+20
	bl	fprintf
	mov	r0, #1
	bl	exit
.L38:
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L50
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	ldrb	r2, [r2, r3, lsl #1]	@ zero_extendqisi2
	ldr	r3, .L61+8
	ldr	r3, [r3]
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L61
	ldr	r3, [r3]
	orr	r2, r2, #8
	and	r1, r2, #255
	ldr	r2, .L61+24
	strb	r1, [r2, r3, lsl #1]
	b	.L28
.L50:
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #95
	strb	r2, [r3, #1]
.L28:
	ldr	r3, .L61
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L61
	str	r3, [r2]
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L25
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+4
	str	r3, [r2]
	b	.L25
.L35:
	bl	flushln
	b	.L25
.L34:
	bl	flushln
	mov	r0, #12
	bl	putchar
	b	.L25
.L27:
	cmp	r4, #31
	bgt	.L52
	b	.L25
.L52:
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L61
	ldr	r3, [r3]
	and	r1, r4, #255
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #1]
	ldr	r3, .L61+8
	ldr	r2, [r3]
	ldr	r3, .L61
	ldr	r3, [r3]
	and	r1, r2, #255
	ldr	r2, .L61+24
	strb	r1, [r2, r3, lsl #1]
	b	.L54
.L53:
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #95
	bne	.L55
	ldr	r3, .L61
	ldr	r3, [r3]
	and	r1, r4, #255
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3, #1]
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	ldrb	r2, [r2, r3, lsl #1]	@ zero_extendqisi2
	ldr	r3, .L61+8
	ldr	r3, [r3]
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L61
	ldr	r3, [r3]
	orr	r2, r2, #8
	and	r1, r2, #255
	ldr	r2, .L61+24
	strb	r1, [r2, r3, lsl #1]
	b	.L54
.L55:
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r4, r3
	bne	.L56
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+24
	ldrb	r2, [r2, r3, lsl #1]	@ zero_extendqisi2
	ldr	r3, .L61+8
	ldr	r3, [r3]
	and	r3, r3, #255
	orr	r3, r2, r3
	and	r2, r3, #255
	ldr	r3, .L61
	ldr	r3, [r3]
	orr	r2, r2, #16
	and	r1, r2, #255
	ldr	r2, .L61+24
	strb	r1, [r2, r3, lsl #1]
	b	.L54
.L56:
	ldr	r3, .L61+8
	ldr	r2, [r3]
	ldr	r3, .L61
	ldr	r3, [r3]
	and	r1, r2, #255
	ldr	r2, .L61+24
	strb	r1, [r2, r3, lsl #1]
.L54:
	ldr	r3, .L61
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L61
	str	r3, [r2]
	ldr	r3, .L61
	ldr	r2, [r3]
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L60
	ldr	r3, .L61
	ldr	r3, [r3]
	ldr	r2, .L61+4
	str	r3, [r2]
.L60:
	nop
.L25:
	ldr	r0, [fp, #-16]
	bl	getc
	mov	r4, r0
	cmn	r4, #1
	bne	.L58
	ldr	r3, .L61+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L59
	bl	flushln
.L59:
	nop
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L62:
	.align	2
.L61:
	.word	col
	.word	maxcol
	.word	mode
	.word	halfpos
	.word	stderr
	.word	.LC10
	.word	obuf
	.size	filter, .-filter
	.align	2
	.global	flushln
	.syntax unified
	.arm
	.fpu softvfp
	.type	flushln, %function
flushln:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r5, #0
	mov	r4, #0
	b	.L64
.L69:
	ldr	r3, .L74
	ldrb	r3, [r3, r4, lsl #1]	@ zero_extendqisi2
	cmp	r5, r3
	beq	.L65
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	ldr	r3, .L74
	ldrb	r3, [r3, r4, lsl #1]	@ zero_extendqisi2
	mov	r0, r3
	bl	setmode
	ldr	r3, .L74
	ldrb	r3, [r3, r4, lsl #1]	@ zero_extendqisi2
	mov	r5, r3
.L65:
	ldr	r2, .L74
	lsl	r3, r4, #1
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L66
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L67
	ldr	r3, .L74+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L68
	ldr	r3, .L74+8
	ldr	r3, [r3]
	ldr	r2, .L74+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L68
.L67:
	mov	r0, #32
	bl	outc
	b	.L68
.L66:
	ldr	r2, .L74
	lsl	r3, r4, #1
	add	r3, r2, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	mov	r0, r3
	bl	outc
.L68:
	add	r4, r4, #1
.L64:
	ldr	r3, .L74+16
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L69
	cmp	r5, #0
	beq	.L70
	mov	r0, #0
	bl	setmode
.L70:
	ldr	r3, .L74+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L71
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L71
	bl	overstrike
.L71:
	mov	r0, #10
	bl	putchar
	ldr	r3, .L74+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L72
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L72
	bl	iattr
.L72:
	ldr	r3, .L74+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L74+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L73
	ldr	r3, .L74+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L74+4
	str	r3, [r2]
.L73:
	bl	initbuf
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L75:
	.align	2
.L74:
	.word	obuf
	.word	upln
	.word	CURS_RIGHT
	.word	outchar
	.word	maxcol
	.word	must_overstrike
	.word	iflag
	.word	stdout
	.size	flushln, .-flushln
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	overstrike
	.syntax unified
	.arm
	.fpu softvfp
	.type	overstrike, %function
overstrike:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #264
	ldr	r3, .L96
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r4, fp, #272
	mov	r3, #0
	str	r3, [fp, #-276]
	mov	r5, #0
	b	.L77
.L81:
	ldr	r3, .L96+4
	ldrb	r3, [r3, r5, lsl #1]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L78
	cmp	r3, #16
	beq	.L79
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #32
	strb	r2, [r3]
	b	.L80
.L78:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #95
	strb	r2, [r3]
	b	.L80
.L79:
	mov	r2, r4
	add	r4, r2, #1
	ldr	r1, .L96+4
	lsl	r3, r5, #1
	add	r3, r1, r3
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	strb	r3, [r2]
	mov	r3, #1
	str	r3, [fp, #-276]
	nop
.L80:
	add	r5, r5, #1
.L77:
	ldr	r3, .L96+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L81
	mov	r0, #13
	bl	putchar
	mov	r3, #32
	strb	r3, [r4]
	b	.L82
.L83:
	mov	r3, #0
	strb	r3, [r4]
	sub	r4, r4, #1
.L82:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L83
	sub	r4, fp, #272
	b	.L84
.L85:
	ldrb	r3, [r4]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	add	r4, r4, #1
.L84:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L85
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	beq	.L86
	mov	r0, #13
	bl	putchar
	sub	r4, fp, #272
	b	.L87
.L90:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L88
	ldrb	r3, [r4]	@ zero_extendqisi2
	b	.L89
.L88:
	mov	r3, #32
.L89:
	mov	r0, r3
	bl	putchar
	add	r4, r4, #1
.L87:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L90
	mov	r0, #13
	bl	putchar
	sub	r4, fp, #272
	b	.L91
.L94:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L92
	ldrb	r3, [r4]	@ zero_extendqisi2
	b	.L93
.L92:
	mov	r3, #32
.L93:
	mov	r0, r3
	bl	putchar
	add	r4, r4, #1
.L91:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
.L86:
	nop
	ldr	r2, .L96
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L95
	bl	__stack_chk_fail
.L95:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L97:
	.align	2
.L96:
	.word	.LC11
	.word	obuf
	.word	maxcol
	.size	overstrike, .-overstrike
	.section	.rodata
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	iattr
	.syntax unified
	.arm
	.fpu softvfp
	.type	iattr, %function
iattr:
	@ args = 0, pretend = 0, frame = 264
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #264
	ldr	r3, .L115
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r4, fp, #272
	mov	r5, #0
	b	.L99
.L109:
	ldr	r3, .L115+4
	ldrb	r3, [r3, r5, lsl #1]	@ zero_extendqisi2
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L100
.L102:
	.word	.L107
	.word	.L106
	.word	.L105
	.word	.L100
	.word	.L104
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L103
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L100
	.word	.L101
.L107:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #32
	strb	r2, [r3]
	b	.L108
.L106:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #103
	strb	r2, [r3]
	b	.L108
.L105:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #94
	strb	r2, [r3]
	b	.L108
.L104:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #118
	strb	r2, [r3]
	b	.L108
.L103:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #95
	strb	r2, [r3]
	b	.L108
.L101:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #33
	strb	r2, [r3]
	b	.L108
.L100:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #88
	strb	r2, [r3]
	nop
.L108:
	add	r5, r5, #1
.L99:
	ldr	r3, .L115+8
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L109
	mov	r3, #32
	strb	r3, [r4]
	b	.L110
.L111:
	mov	r3, #0
	strb	r3, [r4]
	sub	r4, r4, #1
.L110:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L111
	sub	r4, fp, #272
	b	.L112
.L113:
	ldrb	r3, [r4]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	add	r4, r4, #1
.L112:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L113
	mov	r0, #10
	bl	putchar
	nop
	ldr	r2, .L115
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L114
	bl	__stack_chk_fail
.L114:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L116:
	.align	2
.L115:
	.word	.LC12
	.word	obuf
	.word	maxcol
	.size	iattr, .-iattr
	.align	2
	.global	initbuf
	.syntax unified
	.arm
	.fpu softvfp
	.type	initbuf, %function
initbuf:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L118
	mov	r0, r3
	mov	r3, #1024
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r3, .L118+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L118+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L118+12
	ldr	r3, [r3]
	and	r3, r3, #1
	ldr	r2, .L118+12
	str	r3, [r2]
	nop
	mov	r0, r3
	pop	{fp, pc}
.L119:
	.align	2
.L118:
	.word	obuf
	.word	col
	.word	maxcol
	.word	mode
	.size	initbuf, .-initbuf
	.align	2
	.global	fwd
	.syntax unified
	.arm
	.fpu softvfp
	.type	fwd, %function
fwd:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r3, .L121
	ldr	r5, [r3]
	ldr	r3, .L121+4
	ldr	r4, [r3]
	bl	flushln
	ldr	r3, .L121
	str	r5, [r3]
	ldr	r3, .L121+4
	str	r4, [r3]
	nop
	mov	r0, r3
	pop	{r4, r5, fp, pc}
.L122:
	.align	2
.L121:
	.word	col
	.word	maxcol
	.size	fwd, .-fwd
	.align	2
	.global	reverse
	.syntax unified
	.arm
	.fpu softvfp
	.type	reverse, %function
reverse:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L126
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L126
	str	r3, [r2]
	bl	fwd
	ldr	r3, .L126+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L124
	ldr	r3, .L126+4
	ldr	r3, [r3]
	ldr	r2, .L126+8
	mov	r1, #1
	mov	r0, r3
	bl	tputs
.L124:
	ldr	r3, .L126+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L125
	ldr	r3, .L126+4
	ldr	r3, [r3]
	ldr	r2, .L126+8
	mov	r1, #1
	mov	r0, r3
	bl	tputs
.L125:
	ldr	r3, .L126
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L126
	str	r3, [r2]
	nop
	mov	r0, r3
	pop	{fp, pc}
.L127:
	.align	2
.L126:
	.word	upln
	.word	CURS_UP
	.word	outchar
	.size	reverse, .-reverse
	.section	.rodata
	.align	2
.LC13:
	.ascii	"up\000"
	.align	2
.LC14:
	.ascii	"ri\000"
	.align	2
.LC15:
	.ascii	"nd\000"
	.align	2
.LC16:
	.ascii	"le\000"
	.align	2
.LC17:
	.ascii	"bc\000"
	.align	2
.LC18:
	.ascii	"bs\000"
	.align	2
.LC19:
	.ascii	"\010\000"
	.align	2
.LC20:
	.ascii	"so\000"
	.align	2
.LC21:
	.ascii	"se\000"
	.align	2
.LC22:
	.ascii	"us\000"
	.align	2
.LC23:
	.ascii	"ue\000"
	.align	2
.LC24:
	.ascii	"mh\000"
	.align	2
.LC25:
	.ascii	"md\000"
	.align	2
.LC26:
	.ascii	"mr\000"
	.align	2
.LC27:
	.ascii	"me\000"
	.align	2
.LC28:
	.ascii	"uc\000"
	.align	2
.LC29:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	initcap
	.syntax unified
	.arm
	.fpu softvfp
	.type	initcap, %function
initcap:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L141
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L141+4
	str	r3, [fp, #-12]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+8
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+12
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+16
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+20
	str	r3, [r2]
	ldr	r3, .L141+20
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L129
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+24
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+20
	str	r3, [r2]
.L129:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+28
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+32
	str	r3, [r2]
	ldr	r3, .L141+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L130
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+36
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+32
	str	r3, [r2]
.L130:
	ldr	r3, .L141+32
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L131
	ldr	r0, .L141+40
	bl	tgetflag
	mov	r3, r0
	cmp	r3, #0
	beq	.L131
	ldr	r3, .L141+32
	ldr	r2, .L141+44
	str	r2, [r3]
.L131:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+48
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+52
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+56
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+60
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+64
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+68
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+72
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+76
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+80
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+84
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+88
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+92
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+96
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+100
	str	r3, [r2]
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+104
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+108
	str	r3, [r2]
	ldr	r3, .L141+92
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L132
	ldr	r3, .L141+100
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L132
	ldr	r3, .L141+100
	ldr	r3, [r3]
	ldr	r2, .L141+92
	str	r3, [r2]
.L132:
	ldr	r3, .L141+92
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L133
	ldr	r3, .L141+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L133
	ldr	r3, .L141+52
	ldr	r3, [r3]
	ldr	r2, .L141+92
	str	r3, [r2]
.L133:
	ldr	r3, .L141+68
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L134
	ldr	r3, .L141+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L134
	ldr	r3, .L141+52
	ldr	r3, [r3]
	ldr	r2, .L141+68
	str	r3, [r2]
	ldr	r3, .L141+60
	ldr	r3, [r3]
	ldr	r2, .L141+76
	str	r3, [r2]
.L134:
	ldr	r3, .L141+84
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L135
	ldr	r3, .L141+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L135
	ldr	r3, .L141+52
	ldr	r3, [r3]
	ldr	r2, .L141+84
	str	r3, [r2]
.L135:
	ldr	r3, .L141+100
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L136
	ldr	r3, .L141+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L136
	ldr	r3, .L141+52
	ldr	r3, [r3]
	ldr	r2, .L141+100
	str	r3, [r2]
.L136:
	ldr	r3, .L141+108
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L137
	ldr	r3, .L141+60
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L137
	ldr	r3, .L141+60
	ldr	r3, [r3]
	ldr	r2, .L141+108
	str	r3, [r2]
.L137:
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L141+112
	bl	tgetstr
	mov	r3, r0
	ldr	r2, .L141+116
	str	r3, [r2]
	ldr	r3, .L141+116
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L138
	ldr	r3, .L141+68
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L138
	mov	r3, #1
	b	.L139
.L138:
	mov	r3, #0
.L139:
	ldr	r2, .L141+120
	str	r3, [r2]
	nop
	ldr	r2, .L141
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L140
	bl	__stack_chk_fail
.L140:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L142:
	.align	2
.L141:
	.word	.LC29
	.word	tcapbuf.4787
	.word	.LC13
	.word	CURS_UP
	.word	.LC14
	.word	CURS_RIGHT
	.word	.LC15
	.word	.LC16
	.word	CURS_LEFT
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	ENTER_STANDOUT
	.word	.LC21
	.word	EXIT_STANDOUT
	.word	.LC22
	.word	ENTER_UNDERLINE
	.word	.LC23
	.word	EXIT_UNDERLINE
	.word	.LC24
	.word	ENTER_DIM
	.word	.LC25
	.word	ENTER_BOLD
	.word	.LC26
	.word	ENTER_REVERSE
	.word	.LC27
	.word	EXIT_ATTRIBUTES
	.word	.LC28
	.word	UNDER_CHAR
	.word	must_use_uc
	.size	initcap, .-initcap
	.align	2
	.global	outchar
	.syntax unified
	.arm
	.fpu softvfp
	.type	outchar, %function
outchar:
	@ 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]
	and	r3, r3, #127
	mov	r0, r3
	bl	putchar
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	outchar, .-outchar
	.local	curmode
	.comm	curmode,4,4
	.align	2
	.global	outc
	.syntax unified
	.arm
	.fpu softvfp
	.type	outc, %function
outc:
	@ 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	r0, [fp, #-8]
	bl	putchar
	ldr	r3, .L147
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L145
	ldr	r3, .L147+4
	ldr	r3, [r3]
	and	r3, r3, #8
	cmp	r3, #0
	beq	.L145
	ldr	r3, .L147+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L146
	ldr	r3, .L147+8
	ldr	r3, [r3]
	ldr	r2, .L147+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
.L146:
	ldr	r3, .L147+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L145
	ldr	r3, .L147+16
	ldr	r3, [r3]
	ldr	r2, .L147+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
.L145:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L148:
	.align	2
.L147:
	.word	must_use_uc
	.word	curmode
	.word	CURS_LEFT
	.word	outchar
	.word	UNDER_CHAR
	.size	outc, .-outc
	.align	2
	.global	setmode
	.syntax unified
	.arm
	.fpu softvfp
	.type	setmode, %function
setmode:
	@ 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, .L184
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L174
	ldr	r3, .L184+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L151
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L151
	mov	r0, #0
	bl	setmode
.L151:
	ldr	r3, [fp, #-8]
	cmp	r3, #16
	ldrls	pc, [pc, r3, asl #2]
	b	.L152
.L154:
	.word	.L159
	.word	.L158
	.word	.L157
	.word	.L152
	.word	.L156
	.word	.L152
	.word	.L152
	.word	.L152
	.word	.L155
	.word	.L152
	.word	.L152
	.word	.L152
	.word	.L152
	.word	.L152
	.word	.L152
	.word	.L152
	.word	.L153
.L159:
	ldr	r3, .L184+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L175
	cmp	r3, #8
	bne	.L173
	ldr	r3, .L184+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L176
	ldr	r3, .L184+8
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L176
.L173:
	ldr	r3, .L184+16
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L177
	ldr	r3, .L184+16
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L177
.L175:
	nop
	b	.L150
.L176:
	nop
	b	.L150
.L177:
	nop
	b	.L150
.L158:
	ldr	r3, .L184+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L178
	ldr	r3, .L184+20
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L178
.L157:
	ldr	r3, .L184+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L167
	ldr	r3, .L184+24
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
.L167:
	ldr	r3, .L184+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L179
	ldr	r3, .L184+28
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L179
.L156:
	ldr	r3, .L184+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L180
	ldr	r3, .L184+28
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L180
.L155:
	ldr	r3, .L184+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L181
	ldr	r3, .L184+24
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L181
.L153:
	ldr	r3, .L184+32
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L182
	ldr	r3, .L184+32
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L182
.L152:
	ldr	r3, .L184+36
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L183
	ldr	r3, .L184+36
	ldr	r3, [r3]
	ldr	r2, .L184+12
	mov	r1, #1
	mov	r0, r3
	bl	tputs
	b	.L183
.L174:
	nop
	b	.L150
.L178:
	nop
	b	.L150
.L179:
	nop
	b	.L150
.L180:
	nop
	b	.L150
.L181:
	nop
	b	.L150
.L182:
	nop
	b	.L150
.L183:
	nop
.L150:
	ldr	r2, .L184+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L185:
	.align	2
.L184:
	.word	iflag
	.word	curmode
	.word	EXIT_UNDERLINE
	.word	outchar
	.word	EXIT_ATTRIBUTES
	.word	ENTER_REVERSE
	.word	ENTER_UNDERLINE
	.word	ENTER_DIM
	.word	ENTER_BOLD
	.word	ENTER_STANDOUT
	.size	setmode, .-setmode
	.local	tcapbuf.4787
	.comm	tcapbuf.4787,512,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
