	.file	"120720.c"
	.intel_syntax noprefix
	.text
	.globl	page
	.bss
	.align 32
	.type	page, @object
	.size	page, 2048
page:
	.zero	2048
	.globl	lbuff
	.align 32
	.type	lbuff, @object
	.size	lbuff, 800
lbuff:
	.zero	800
	.globl	line
	.align 8
	.type	line, @object
	.size	line, 8
line:
	.zero	8
	.globl	bflag
	.align 4
	.type	bflag, @object
	.size	bflag, 4
bflag:
	.zero	4
	.globl	xflag
	.align 4
	.type	xflag, @object
	.size	xflag, 4
xflag:
	.zero	4
	.globl	fflag
	.align 4
	.type	fflag, @object
	.size	fflag, 4
fflag:
	.zero	4
	.globl	half
	.align 4
	.type	half, @object
	.size	half, 4
half:
	.zero	4
	.globl	cp
	.align 4
	.type	cp, @object
	.size	cp, 4
cp:
	.zero	4
	.globl	lp
	.align 4
	.type	lp, @object
	.size	lp, 4
lp:
	.zero	4
	.globl	ll
	.align 4
	.type	ll, @object
	.size	ll, 4
ll:
	.zero	4
	.globl	llh
	.align 4
	.type	llh, @object
	.size	llh, 4
llh:
	.zero	4
	.globl	mustwr
	.align 4
	.type	mustwr, @object
	.size	mustwr, 4
mustwr:
	.zero	4
	.globl	pcp
	.align 4
	.type	pcp, @object
	.size	pcp, 4
pcp:
	.zero	4
	.globl	pgmname
	.align 8
	.type	pgmname, @object
	.size	pgmname, 8
pgmname:
	.zero	8
	.section	.rodata
.LC0:
	.string	"%s: bad option %s\n"
.LC1:
	.string	"%s: bad option letter %c\n"
.LC2:
	.string	" "
	.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
	push	rbx
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -8244[rbp], edi
	mov	QWORD PTR -8256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stdout[rip]
	lea	rdx, -8224[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	setbuf@PLT
	mov	rax, QWORD PTR -8256[rbp]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR pgmname[rip], rax
	mov	DWORD PTR -8232[rbp], 1
	jmp	.L2
.L11:
	mov	eax, DWORD PTR -8232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8256[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 45
	je	.L3
	mov	eax, DWORD PTR -8232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8256[rbp]
	add	rax, rdx
	mov	rcx, QWORD PTR [rax]
	mov	rdx, QWORD PTR pgmname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
.L3:
	mov	eax, DWORD PTR -8232[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8256[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	lea	rbx, 1[rax]
	jmp	.L4
.L10:
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	cmp	eax, 120
	je	.L5
	cmp	eax, 120
	jg	.L6
	cmp	eax, 98
	je	.L7
	cmp	eax, 102
	je	.L8
	jmp	.L6
.L7:
	mov	eax, DWORD PTR bflag[rip]
	add	eax, 1
	mov	DWORD PTR bflag[rip], eax
	jmp	.L9
.L5:
	mov	eax, DWORD PTR xflag[rip]
	add	eax, 1
	mov	DWORD PTR xflag[rip], eax
	jmp	.L9
.L8:
	mov	eax, DWORD PTR fflag[rip]
	add	eax, 1
	mov	DWORD PTR fflag[rip], eax
	jmp	.L9
.L6:
	movzx	eax, BYTE PTR [rbx]
	movsx	ecx, al
	mov	rdx, QWORD PTR pgmname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
.L9:
	add	rbx, 1
.L4:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L10
	add	DWORD PTR -8232[rbp], 1
.L2:
	mov	eax, DWORD PTR -8232[rbp]
	cmp	eax, DWORD PTR -8244[rbp]
	jl	.L11
	mov	DWORD PTR ll[rip], 0
	jmp	.L12
.L13:
	mov	eax, DWORD PTR ll[rip]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	QWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR ll[rip]
	add	eax, 1
	mov	DWORD PTR ll[rip], eax
.L12:
	mov	eax, DWORD PTR ll[rip]
	cmp	eax, 255
	jle	.L13
	mov	DWORD PTR cp[rip], 0
	mov	DWORD PTR ll[rip], 0
	mov	DWORD PTR -8228[rbp], 0
	mov	DWORD PTR mustwr[rip], 256
	lea	rax, lbuff[rip]
	mov	QWORD PTR line[rip], rax
	jmp	.L14
.L37:
	cmp	ebx, 32
	ja	.L15
	mov	eax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, .L17[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L17[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L17:
	.long	.L14-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L25-.L17
	.long	.L24-.L17
	.long	.L23-.L17
	.long	.L22-.L17
	.long	.L15-.L17
	.long	.L21-.L17
	.long	.L20-.L17
	.long	.L19-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L18-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L15-.L17
	.long	.L16-.L17
	.text
.L23:
	mov	eax, 0
	call	incr
	mov	eax, 0
	call	incr
	mov	DWORD PTR cp[rip], 0
	jmp	.L14
.L18:
	call	getchar@PLT
	mov	ebx, eax
	cmp	ebx, 57
	je	.L27
	cmp	ebx, 57
	jg	.L14
	cmp	ebx, 55
	je	.L29
	cmp	ebx, 56
	je	.L30
	jmp	.L14
.L29:
	mov	eax, 0
	call	decr
	mov	eax, 0
	call	decr
	jmp	.L28
.L30:
	mov	eax, DWORD PTR fflag[rip]
	test	eax, eax
	je	.L31
	mov	eax, 0
	call	decr
	jmp	.L43
.L31:
	mov	eax, DWORD PTR half[rip]
	sub	eax, 1
	mov	DWORD PTR half[rip], eax
	mov	eax, DWORD PTR half[rip]
	cmp	eax, -1
	jge	.L43
	mov	eax, 0
	call	decr
	mov	eax, 0
	call	decr
	mov	eax, DWORD PTR half[rip]
	add	eax, 2
	mov	DWORD PTR half[rip], eax
	jmp	.L43
.L27:
	mov	eax, DWORD PTR fflag[rip]
	test	eax, eax
	je	.L33
	mov	eax, 0
	call	incr
	jmp	.L44
.L33:
	mov	eax, DWORD PTR half[rip]
	add	eax, 1
	mov	DWORD PTR half[rip], eax
	mov	eax, DWORD PTR half[rip]
	test	eax, eax
	jle	.L44
	mov	eax, 0
	call	incr
	mov	eax, 0
	call	incr
	mov	eax, DWORD PTR half[rip]
	sub	eax, 2
	mov	DWORD PTR half[rip], eax
	jmp	.L44
.L43:
	nop
	jmp	.L14
.L44:
	nop
.L28:
	jmp	.L14
.L20:
	mov	DWORD PTR -8228[rbp], 128
	jmp	.L14
.L19:
	mov	DWORD PTR -8228[rbp], 0
	jmp	.L14
.L22:
	mov	eax, 0
	call	decr
	mov	eax, 0
	call	decr
	jmp	.L14
.L21:
	mov	DWORD PTR cp[rip], 0
	jmp	.L14
.L24:
	mov	eax, DWORD PTR cp[rip]
	add	eax, 8
	and	eax, -8
	mov	DWORD PTR cp[rip], eax
	jmp	.L14
.L25:
	mov	eax, DWORD PTR cp[rip]
	test	eax, eax
	jle	.L14
	mov	eax, DWORD PTR cp[rip]
	sub	eax, 1
	mov	DWORD PTR cp[rip], eax
	jmp	.L14
.L16:
	mov	eax, DWORD PTR cp[rip]
	add	eax, 1
	mov	DWORD PTR cp[rip], eax
	jmp	.L14
.L15:
	and	ebx, 127
	cmp	ebx, 32
	jle	.L45
	cmp	ebx, 126
	jg	.L45
	mov	eax, ebx
	or	eax, DWORD PTR -8228[rbp]
	mov	edi, eax
	mov	eax, 0
	call	outc
	mov	eax, DWORD PTR cp[rip]
	add	eax, 1
	mov	DWORD PTR cp[rip], eax
.L45:
	nop
.L14:
	call	getchar@PLT
	mov	ebx, eax
	cmp	ebx, -1
	jne	.L37
	mov	DWORD PTR -8232[rbp], 0
	jmp	.L38
.L40:
	mov	edx, DWORD PTR mustwr[rip]
	mov	eax, DWORD PTR -8232[rbp]
	add	eax, edx
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L39
	mov	edx, DWORD PTR mustwr[rip]
	mov	eax, DWORD PTR -8232[rbp]
	add	eax, edx
	lea	edx, -256[rax]
	mov	ecx, DWORD PTR mustwr[rip]
	mov	eax, DWORD PTR -8232[rbp]
	add	eax, ecx
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 24
	add	eax, ecx
	movzx	eax, al
	sub	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	emit
.L39:
	add	DWORD PTR -8232[rbp], 1
.L38:
	cmp	DWORD PTR -8232[rbp], 255
	jle	.L40
	mov	eax, DWORD PTR llh[rip]
	add	eax, 1
	and	eax, -2
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	emit
	mov	eax, 0
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L42
	call	__stack_chk_fail@PLT
.L42:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	outc
	.type	outc, @function
outc:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	eax, edi
	mov	edx, eax
	mov	ecx, DWORD PTR lp[rip]
	mov	eax, DWORD PTR cp[rip]
	cmp	ecx, eax
	jle	.L48
	lea	rax, lbuff[rip]
	mov	QWORD PTR line[rip], rax
	mov	DWORD PTR lp[rip], 0
	jmp	.L48
.L53:
	mov	rax, QWORD PTR line[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	test	eax, eax
	je	.L49
	cmp	eax, 8
	je	.L50
	jmp	.L61
.L49:
	mov	rax, QWORD PTR line[rip]
	mov	BYTE PTR [rax], 32
	mov	eax, DWORD PTR lp[rip]
	add	eax, 1
	mov	DWORD PTR lp[rip], eax
	jmp	.L52
.L50:
	mov	eax, DWORD PTR lp[rip]
	sub	eax, 1
	mov	DWORD PTR lp[rip], eax
	jmp	.L52
.L61:
	mov	eax, DWORD PTR lp[rip]
	add	eax, 1
	mov	DWORD PTR lp[rip], eax
.L52:
	mov	rax, QWORD PTR line[rip]
	add	rax, 1
	mov	QWORD PTR line[rip], rax
.L48:
	mov	ecx, DWORD PTR lp[rip]
	mov	eax, DWORD PTR cp[rip]
	cmp	ecx, eax
	jl	.L53
	jmp	.L54
.L55:
	mov	rax, QWORD PTR line[rip]
	add	rax, 2
	mov	QWORD PTR line[rip], rax
.L54:
	mov	rax, QWORD PTR line[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 8
	je	.L55
	mov	eax, DWORD PTR bflag[rip]
	test	eax, eax
	jne	.L56
	mov	rax, QWORD PTR line[rip]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L56
	mov	rax, QWORD PTR line[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	jne	.L57
.L56:
	mov	rax, QWORD PTR line[rip]
	mov	BYTE PTR [rax], dl
	jmp	.L58
.L57:
	mov	rax, QWORD PTR line[rip]
	add	rax, 1
	mov	QWORD PTR line[rip], rax
	mov	rax, QWORD PTR line[rip]
	movzx	ebx, BYTE PTR [rax]
	mov	rax, QWORD PTR line[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR line[rip], rcx
	mov	BYTE PTR [rax], 8
	mov	rax, QWORD PTR line[rip]
	movzx	r12d, BYTE PTR [rax]
	mov	rax, QWORD PTR line[rip]
	lea	rcx, 1[rax]
	mov	QWORD PTR line[rip], rcx
	mov	BYTE PTR [rax], dl
	jmp	.L59
.L60:
	mov	rax, QWORD PTR line[rip]
	movzx	r13d, BYTE PTR [rax]
	mov	rax, QWORD PTR line[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR line[rip], rdx
	mov	BYTE PTR [rax], bl
	mov	ebx, r12d
	mov	r12d, r13d
.L59:
	test	bl, bl
	jne	.L60
	mov	DWORD PTR lp[rip], 0
	lea	rax, lbuff[rip]
	mov	QWORD PTR line[rip], rax
.L58:
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	outc, .-outc
	.section	.rodata
.LC3:
	.string	"%s: no storage\n"
	.text
	.globl	store
	.type	store, @function
store:
.LFB2:
	.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]
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L63
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
.L63:
	lea	rdi, lbuff[rip]
	call	strlen@PLT
	add	eax, 2
	mov	edi, eax
	mov	eax, 0
	call	malloc@PLT
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, page[rip]
	mov	QWORD PTR [rcx+rdx], rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	jne	.L64
	mov	rdx, QWORD PTR pgmname[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 2
	call	exit@PLT
.L64:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	lea	rsi, lbuff[rip]
	mov	rdi, rax
	call	strcpy@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	store, .-store
	.globl	fetch
	.type	fetch, @function
fetch:
.LFB3:
	.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	DWORD PTR -20[rbp], edi
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	mov	DWORD PTR -20[rbp], eax
	lea	rbx, lbuff[rip]
	jmp	.L66
.L67:
	mov	rax, rbx
	lea	rbx, 1[rax]
	mov	BYTE PTR [rax], 0
.L66:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L67
	lea	rax, lbuff[rip]
	mov	QWORD PTR line[rip], rax
	mov	DWORD PTR lp[rip], 0
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L68
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rdx, QWORD PTR [rdx+rax]
	mov	rax, QWORD PTR line[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
.L68:
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	fetch, .-fetch
	.globl	emit
	.type	emit, @function
emit:
.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, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	rax, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L70
	mov	eax, DWORD PTR gflag.1[rip]
	test	eax, eax
	je	.L72
	mov	edi, 15
	call	putchar@PLT
	mov	DWORD PTR gflag.1[rip], 0
	jmp	.L72
.L73:
	mov	edi, 10
	call	putchar@PLT
	mov	DWORD PTR pcp[rip], 0
	mov	eax, DWORD PTR cline.0[rip]
	add	eax, 2
	mov	DWORD PTR cline.0[rip], eax
.L72:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR cline.0[rip]
	cmp	edx, eax
	jg	.L73
	mov	eax, DWORD PTR cline.0[rip]
	cmp	DWORD PTR -28[rbp], eax
	je	.L74
	mov	edi, 27
	call	putchar@PLT
	mov	edi, 57
	call	putchar@PLT
	mov	eax, DWORD PTR cline.0[rip]
	add	eax, 1
	mov	DWORD PTR cline.0[rip], eax
.L74:
	mov	eax, DWORD PTR pcp[rip]
	test	eax, eax
	je	.L75
	mov	edi, 13
	call	putchar@PLT
.L75:
	mov	DWORD PTR pcp[rip], 0
	mov	rbx, QWORD PTR -24[rbp]
	jmp	.L76
.L86:
	mov	r12d, DWORD PTR pcp[rip]
	jmp	.L77
.L78:
	add	r12d, 1
	mov	eax, r12d
	and	eax, 7
	test	eax, eax
	jne	.L77
	mov	eax, DWORD PTR xflag[rip]
	test	eax, eax
	jne	.L77
	mov	DWORD PTR pcp[rip], r12d
	mov	edi, 9
	call	putchar@PLT
.L77:
	mov	rax, rbx
	lea	rbx, 1[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 32
	je	.L78
	sub	rbx, 1
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L87
	jmp	.L80
.L81:
	mov	edi, 32
	call	putchar@PLT
	mov	eax, DWORD PTR pcp[rip]
	add	eax, 1
	mov	DWORD PTR pcp[rip], eax
.L80:
	mov	eax, DWORD PTR pcp[rip]
	cmp	r12d, eax
	jg	.L81
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	and	eax, 128
	mov	edx, eax
	mov	eax, DWORD PTR gflag.1[rip]
	cmp	edx, eax
	je	.L82
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 8
	je	.L82
	mov	eax, DWORD PTR gflag.1[rip]
	test	eax, eax
	je	.L83
	mov	edi, 15
	call	putchar@PLT
	jmp	.L84
.L83:
	mov	edi, 14
	call	putchar@PLT
.L84:
	mov	eax, DWORD PTR gflag.1[rip]
	xor	al, -128
	mov	DWORD PTR gflag.1[rip], eax
.L82:
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	and	al, 127
	mov	edi, eax
	call	putchar@PLT
	mov	rax, rbx
	lea	rbx, 1[rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 8
	jne	.L85
	mov	eax, DWORD PTR pcp[rip]
	sub	eax, 1
	mov	DWORD PTR pcp[rip], eax
	jmp	.L76
.L85:
	mov	eax, DWORD PTR pcp[rip]
	add	eax, 1
	mov	DWORD PTR pcp[rip], eax
.L76:
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	jne	.L86
	jmp	.L70
.L87:
	nop
.L70:
	nop
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	emit, .-emit
	.globl	incr
	.type	incr, @function
incr:
.LFB5:
	.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 ll[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR ll[rip], edx
	mov	edi, eax
	mov	eax, 0
	call	store
	mov	edx, DWORD PTR ll[rip]
	mov	eax, DWORD PTR llh[rip]
	cmp	edx, eax
	jle	.L89
	mov	eax, DWORD PTR ll[rip]
	mov	DWORD PTR llh[rip], eax
.L89:
	mov	edx, DWORD PTR ll[rip]
	mov	eax, DWORD PTR mustwr[rip]
	cmp	edx, eax
	jl	.L90
	mov	eax, DWORD PTR ll[rip]
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L90
	mov	eax, DWORD PTR ll[rip]
	lea	edx, -256[rax]
	mov	eax, DWORD PTR ll[rip]
	mov	ecx, eax
	sar	ecx, 31
	shr	ecx, 24
	add	eax, ecx
	movzx	eax, al
	sub	eax, ecx
	cdqe
	lea	rcx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rcx+rax]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	emit
	mov	eax, DWORD PTR mustwr[rip]
	add	eax, 1
	mov	DWORD PTR mustwr[rip], eax
	mov	eax, DWORD PTR ll[rip]
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
	mov	eax, DWORD PTR ll[rip]
	cdq
	shr	edx, 24
	add	eax, edx
	movzx	eax, al
	sub	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, page[rip]
	mov	QWORD PTR [rdx+rax], 0
.L90:
	mov	eax, DWORD PTR ll[rip]
	mov	edi, eax
	mov	eax, 0
	call	fetch
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	incr, .-incr
	.globl	decr
	.type	decr, @function
decr:
.LFB6:
	.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 mustwr[rip]
	lea	edx, -255[rax]
	mov	eax, DWORD PTR ll[rip]
	cmp	edx, eax
	jg	.L92
	mov	eax, DWORD PTR ll[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR ll[rip], edx
	mov	edi, eax
	mov	eax, 0
	call	store
	mov	eax, DWORD PTR ll[rip]
	mov	edi, eax
	mov	eax, 0
	call	fetch
.L92:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	decr, .-decr
	.local	gflag.1
	.comm	gflag.1,4,4
	.local	cline.0
	.comm	cline.0,4,4
	.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	"120720.c"
	.text
	.comm	page,1024,4
	.comm	lbuff,800,4
	.comm	line,4,4
	.comm	bflag,4,4
	.comm	xflag,4,4
	.comm	fflag,4,4
	.comm	half,4,4
	.comm	cp,4,4
	.comm	lp,4,4
	.comm	ll,4,4
	.comm	llh,4,4
	.comm	mustwr,4,4
	.global	pcp
	.bss
	.align	2
	.type	pcp, %object
	.size	pcp, 4
pcp:
	.space	4
	.comm	pgmname,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s: bad option %s\012\000"
	.align	2
.LC1:
	.ascii	"%s: bad option letter %c\012\000"
	.align	2
.LC2:
	.ascii	" \000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #28
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-20]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r1, [r3, #-24]
	ldr	r3, .L46
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L46+4
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	setbuf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	ldr	r3, [r3]
	ldr	r2, .L46+8
	str	r3, [r2]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #1
	str	r3, [r2, #-12]
	b	.L2
.L11:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #45
	beq	.L3
	ldr	r3, .L46+12
	ldr	r0, [r3]
	ldr	r3, .L46+8
	ldr	r1, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r1
	ldr	r1, .L46+16
	bl	fprintf
	mov	r0, #2
	bl	exit
.L3:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	lsl	r3, r3, #2
	sub	r2, fp, #8192
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	add	r3, r2, r3
	ldr	r3, [r3]
	add	r4, r3, #1
	b	.L4
.L10:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #120
	beq	.L5
	cmp	r3, #120
	bgt	.L6
	cmp	r3, #98
	beq	.L7
	cmp	r3, #102
	beq	.L8
	b	.L6
.L7:
	ldr	r3, .L46+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+20
	str	r3, [r2]
	b	.L9
.L5:
	ldr	r3, .L46+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+24
	str	r3, [r2]
	b	.L9
.L8:
	ldr	r3, .L46+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+28
	str	r3, [r2]
	b	.L9
.L6:
	ldr	r3, .L46+12
	ldr	r0, [r3]
	ldr	r3, .L46+8
	ldr	r2, [r3]
	ldrb	r3, [r4]	@ zero_extendqisi2
	ldr	r1, .L46+32
	bl	fprintf
	mov	r0, #2
	bl	exit
.L9:
	add	r4, r4, #1
.L4:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L10
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #1
	str	r3, [r2, #-12]
.L2:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r2, [r2, #-12]
	ldr	r3, [r3, #-20]
	cmp	r2, r3
	blt	.L11
	ldr	r3, .L46+36
	mov	r2, #0
	str	r2, [r3]
	b	.L12
.L13:
	ldr	r3, .L46+36
	ldr	r3, [r3]
	ldr	r2, .L46+40
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r3, .L46+36
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+36
	str	r3, [r2]
.L12:
	ldr	r3, .L46+36
	ldr	r3, [r3]
	cmp	r3, #255
	ble	.L13
	ldr	r3, .L46+44
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L46+36
	mov	r2, #0
	str	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-8]
	ldr	r3, .L46+48
	mov	r2, #256
	str	r2, [r3]
	ldr	r3, .L46+52
	ldr	r2, .L46+56
	str	r2, [r3]
	b	.L14
.L37:
	cmp	r4, #32
	ldrls	pc, [pc, r4, asl #2]
	b	.L15
.L17:
	.word	.L14
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L15
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L18
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L15
	.word	.L16
.L23:
	bl	incr
	bl	incr
	ldr	r3, .L46+44
	mov	r2, #0
	str	r2, [r3]
	b	.L14
.L18:
	bl	getchar
	mov	r4, r0
	cmp	r4, #57
	beq	.L27
	cmp	r4, #57
	bgt	.L14
	cmp	r4, #55
	beq	.L29
	cmp	r4, #56
	beq	.L30
	b	.L14
.L29:
	bl	decr
	bl	decr
	b	.L28
.L30:
	ldr	r3, .L46+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L31
	bl	decr
	b	.L43
.L31:
	ldr	r3, .L46+60
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46+60
	str	r3, [r2]
	ldr	r3, .L46+60
	ldr	r3, [r3]
	cmn	r3, #1
	bge	.L43
	bl	decr
	bl	decr
	ldr	r3, .L46+60
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L46+60
	str	r3, [r2]
	b	.L43
.L27:
	ldr	r3, .L46+28
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L33
	bl	incr
	b	.L44
.L33:
	ldr	r3, .L46+60
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+60
	str	r3, [r2]
	ldr	r3, .L46+60
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L44
	bl	incr
	bl	incr
	ldr	r3, .L46+60
	ldr	r3, [r3]
	sub	r3, r3, #2
	ldr	r2, .L46+60
	str	r3, [r2]
	b	.L44
.L43:
	nop
	b	.L14
.L44:
	nop
.L28:
	b	.L14
.L20:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #128
	str	r3, [r2, #-8]
	b	.L14
.L19:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-8]
	b	.L14
.L22:
	bl	decr
	bl	decr
	b	.L14
.L21:
	ldr	r3, .L46+44
	mov	r2, #0
	str	r2, [r3]
	b	.L14
.L24:
	ldr	r3, .L46+44
	ldr	r3, [r3]
	add	r3, r3, #8
	bic	r3, r3, #7
	ldr	r2, .L46+44
	str	r3, [r2]
	b	.L14
.L25:
	ldr	r3, .L46+44
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L14
	ldr	r3, .L46+44
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L46+44
	str	r3, [r2]
	b	.L14
.L16:
	ldr	r3, .L46+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+44
	str	r3, [r2]
	b	.L14
.L15:
	and	r4, r4, #127
	cmp	r4, #32
	ble	.L45
	cmp	r4, #126
	bgt	.L45
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-8]
	orr	r3, r4, r3
	mov	r0, r3
	bl	outc
	ldr	r3, .L46+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L46+44
	str	r3, [r2]
.L45:
	nop
.L14:
	bl	getchar
	mov	r4, r0
	cmn	r4, #1
	bne	.L37
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-12]
	b	.L38
.L40:
	ldr	r3, .L46+48
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r2, r3
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L46+40
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L46+48
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r2, r3
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L46+40
	ldr	r0, [r2, r3, lsl #2]
	ldr	r3, .L46+48
	ldr	r2, [r3]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r2, r3
	sub	r3, r3, #256
	mov	r1, r3
	bl	emit
.L39:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	add	r3, r3, #1
	str	r3, [r2, #-12]
.L38:
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r3, [r3, #-12]
	cmp	r3, #255
	ble	.L40
	ldr	r3, .L46+64
	ldr	r3, [r3]
	add	r3, r3, #1
	bic	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L46+68
	bl	emit
	mov	r3, #0
	ldr	r2, .L46
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L42
	bl	__stack_chk_fail
.L42:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L47:
	.align	2
.L46:
	.word	.LC3
	.word	stdout
	.word	pgmname
	.word	stderr
	.word	.LC0
	.word	bflag
	.word	xflag
	.word	fflag
	.word	.LC1
	.word	ll
	.word	page
	.word	cp
	.word	mustwr
	.word	line
	.word	lbuff
	.word	half
	.word	llh
	.word	.LC2
	.size	main, .-main
	.align	2
	.global	outc
	.syntax unified
	.arm
	.fpu softvfp
	.type	outc, %function
outc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, r6, fp}
	add	fp, sp, #12
	mov	r3, r0
	and	r0, r3, #255
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, .L64+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L50
	ldr	r3, .L64+8
	ldr	r2, .L64+12
	str	r2, [r3]
	ldr	r3, .L64
	mov	r2, #0
	str	r2, [r3]
	b	.L50
.L55:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L51
	cmp	r3, #8
	beq	.L52
	b	.L63
.L51:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	mov	r2, #32
	strb	r2, [r3]
	ldr	r3, .L64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L64
	str	r3, [r2]
	b	.L54
.L52:
	ldr	r3, .L64
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L64
	str	r3, [r2]
	b	.L54
.L63:
	ldr	r3, .L64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L64
	str	r3, [r2]
.L54:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L64+8
	str	r3, [r2]
.L50:
	ldr	r3, .L64
	ldr	r2, [r3]
	ldr	r3, .L64+4
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L55
	b	.L56
.L57:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L64+8
	str	r3, [r2]
.L56:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L57
	ldr	r3, .L64+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L58
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L58
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L59
.L58:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	mov	r2, r0
	strb	r2, [r3]
	b	.L60
.L59:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L64+8
	str	r3, [r2]
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r4, [r3]	@ zero_extendqisi2
	ldr	r3, .L64+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L64+8
	str	r2, [r1]
	mov	r2, #8
	strb	r2, [r3]
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r5, [r3]	@ zero_extendqisi2
	ldr	r3, .L64+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L64+8
	str	r2, [r1]
	mov	r2, r0
	strb	r2, [r3]
	b	.L61
.L62:
	ldr	r3, .L64+8
	ldr	r3, [r3]
	ldrb	r6, [r3]	@ zero_extendqisi2
	ldr	r3, .L64+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L64+8
	str	r2, [r1]
	mov	r2, r4
	strb	r2, [r3]
	mov	r4, r5
	mov	r5, r6
.L61:
	cmp	r4, #0
	bne	.L62
	ldr	r3, .L64
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L64+8
	ldr	r2, .L64+12
	str	r2, [r3]
.L60:
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, r6, fp}
	bx	lr
.L65:
	.align	2
.L64:
	.word	lp
	.word	cp
	.word	line
	.word	lbuff
	.word	bflag
	.size	outc, .-outc
	.section	.rodata
	.align	2
.LC4:
	.ascii	"%s: no storage\012\000"
	.text
	.align	2
	.global	store
	.syntax unified
	.arm
	.fpu softvfp
	.type	store, %function
store:
	@ 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]
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	str	r3, [fp, #-8]
	ldr	r2, .L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L67
	ldr	r2, .L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
.L67:
	ldr	r0, .L69+4
	bl	strlen
	mov	r3, r0
	add	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r2, r0
	ldr	r1, .L69
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	bne	.L68
	ldr	r3, .L69+8
	ldr	r3, [r3]
	ldr	r2, .L69+12
	ldr	r2, [r2]
	ldr	r1, .L69+16
	mov	r0, r3
	bl	fprintf
	mov	r0, #2
	bl	exit
.L68:
	ldr	r2, .L69
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, .L69+4
	mov	r0, r3
	bl	strcpy
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L70:
	.align	2
.L69:
	.word	page
	.word	lbuff
	.word	stderr
	.word	pgmname
	.word	.LC4
	.size	store, .-store
	.align	2
	.global	fetch
	.syntax unified
	.arm
	.fpu softvfp
	.type	fetch, %function
fetch:
	@ 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]
	ldr	r3, [fp, #-16]
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	str	r3, [fp, #-16]
	ldr	r4, .L75
	b	.L72
.L73:
	mov	r3, r4
	add	r4, r3, #1
	mov	r2, #0
	strb	r2, [r3]
.L72:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L73
	ldr	r3, .L75+4
	ldr	r2, .L75
	str	r2, [r3]
	ldr	r3, .L75+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, .L75+12
	ldr	r3, [fp, #-16]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L74
	ldr	r3, .L75+4
	ldr	r2, [r3]
	ldr	r1, .L75+12
	ldr	r3, [fp, #-16]
	ldr	r3, [r1, r3, lsl #2]
	mov	r1, r3
	mov	r0, r2
	bl	strcpy
.L74:
	nop
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L76:
	.align	2
.L75:
	.word	lbuff
	.word	line
	.word	lp
	.word	page
	.size	fetch, .-fetch
	.align	2
	.global	emit
	.syntax unified
	.arm
	.fpu softvfp
	.type	emit, %function
emit:
	@ 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
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L78
	ldr	r3, .L96
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L80
	mov	r0, #15
	bl	putchar
	ldr	r3, .L96
	mov	r2, #0
	str	r2, [r3]
	b	.L80
.L81:
	mov	r0, #10
	bl	putchar
	ldr	r3, .L96+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L96+8
	ldr	r3, [r3]
	add	r3, r3, #2
	ldr	r2, .L96+8
	str	r3, [r2]
.L80:
	ldr	r3, [fp, #-20]
	sub	r2, r3, #1
	ldr	r3, .L96+8
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L81
	ldr	r3, .L96+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	beq	.L82
	mov	r0, #27
	bl	putchar
	mov	r0, #57
	bl	putchar
	ldr	r3, .L96+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L96+8
	str	r3, [r2]
.L82:
	ldr	r3, .L96+4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L83
	mov	r0, #13
	bl	putchar
.L83:
	ldr	r3, .L96+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r4, [fp, #-16]
	b	.L84
.L94:
	ldr	r3, .L96+4
	ldr	r5, [r3]
	b	.L85
.L86:
	add	r5, r5, #1
	and	r3, r5, #7
	cmp	r3, #0
	bne	.L85
	ldr	r3, .L96+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L85
	ldr	r3, .L96+4
	str	r5, [r3]
	mov	r0, #9
	bl	putchar
.L85:
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #32
	beq	.L86
	sub	r4, r4, #1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L95
	b	.L88
.L89:
	mov	r0, #32
	bl	putchar
	ldr	r3, .L96+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L96+4
	str	r3, [r2]
.L88:
	ldr	r3, .L96+4
	ldr	r3, [r3]
	cmp	r5, r3
	bgt	.L89
	ldrb	r3, [r4]	@ zero_extendqisi2
	and	r2, r3, #128
	ldr	r3, .L96
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L90
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #8
	beq	.L90
	ldr	r3, .L96
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L91
	mov	r0, #15
	bl	putchar
	b	.L92
.L91:
	mov	r0, #14
	bl	putchar
.L92:
	ldr	r3, .L96
	ldr	r3, [r3]
	eor	r3, r3, #128
	ldr	r2, .L96
	str	r3, [r2]
.L90:
	ldrb	r3, [r4]	@ zero_extendqisi2
	bic	r3, r3, #128
	mov	r0, r3
	bl	putchar
	mov	r3, r4
	add	r4, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #8
	bne	.L93
	ldr	r3, .L96+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	ldr	r2, .L96+4
	str	r3, [r2]
	b	.L84
.L93:
	ldr	r3, .L96+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L96+4
	str	r3, [r2]
.L84:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L94
	b	.L78
.L95:
	nop
.L78:
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L97:
	.align	2
.L96:
	.word	gflag.4710
	.word	pcp
	.word	cline.4707
	.word	xflag
	.size	emit, .-emit
	.align	2
	.global	incr
	.syntax unified
	.arm
	.fpu softvfp
	.type	incr, %function
incr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L101
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L101
	str	r2, [r1]
	mov	r0, r3
	bl	store
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, .L101+4
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L99
	ldr	r3, .L101
	ldr	r3, [r3]
	ldr	r2, .L101+4
	str	r3, [r2]
.L99:
	ldr	r3, .L101
	ldr	r2, [r3]
	ldr	r3, .L101+8
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L100
	ldr	r3, .L101
	ldr	r3, [r3]
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L101+12
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L100
	ldr	r3, .L101
	ldr	r3, [r3]
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L101+12
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L101
	ldr	r3, [r3]
	sub	r3, r3, #256
	mov	r1, r3
	mov	r0, r2
	bl	emit
	ldr	r3, .L101+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L101+8
	str	r3, [r2]
	ldr	r3, .L101
	ldr	r3, [r3]
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L101+12
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
	ldr	r3, .L101
	ldr	r3, [r3]
	rsbs	r2, r3, #0
	and	r3, r3, #255
	and	r2, r2, #255
	rsbpl	r3, r2, #0
	ldr	r2, .L101+12
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
.L100:
	ldr	r3, .L101
	ldr	r3, [r3]
	mov	r0, r3
	bl	fetch
	nop
	mov	r0, r3
	pop	{fp, pc}
.L102:
	.align	2
.L101:
	.word	ll
	.word	llh
	.word	mustwr
	.word	page
	.size	incr, .-incr
	.align	2
	.global	decr
	.syntax unified
	.arm
	.fpu softvfp
	.type	decr, %function
decr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L105
	ldr	r3, [r3]
	sub	r2, r3, #255
	ldr	r3, .L105+4
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L104
	ldr	r3, .L105+4
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L105+4
	str	r2, [r1]
	mov	r0, r3
	bl	store
	ldr	r3, .L105+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	fetch
.L104:
	nop
	mov	r0, r3
	pop	{fp, pc}
.L106:
	.align	2
.L105:
	.word	mustwr
	.word	ll
	.size	decr, .-decr
	.local	gflag.4710
	.comm	gflag.4710,4,4
	.local	cline.4707
	.comm	cline.4707,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
