	.file	"229926.c"
	.intel_syntax noprefix
	.text
	.globl	verts
	.bss
	.align 8
	.type	verts, @object
	.size	verts, 8
verts:
	.zero	8
	.globl	lines
	.align 8
	.type	lines, @object
	.size	lines, 8
lines:
	.zero	8
	.globl	sides
	.align 8
	.type	sides, @object
	.size	sides, 8
sides:
	.zero	8
	.globl	sectors
	.align 8
	.type	sectors, @object
	.size	sectors, 8
sectors:
	.zero	8
	.globl	nverts
	.align 4
	.type	nverts, @object
	.size	nverts, 4
nverts:
	.zero	4
	.globl	nlines
	.align 4
	.type	nlines, @object
	.size	nlines, 4
nlines:
	.zero	4
	.globl	nsides
	.align 4
	.type	nsides, @object
	.size	nsides, 4
nsides:
	.zero	4
	.globl	nsectors
	.align 4
	.type	nsectors, @object
	.size	nsectors, 4
nsectors:
	.zero	4
	.text
	.type	sort_sector, @function
sort_sector:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	QWORD PTR -56[rbp], rdi
	mov	eax, DWORD PTR nverts[rip]
	mov	DWORD PTR -36[rbp], eax
	mov	DWORD PTR -32[rbp], -1
	mov	DWORD PTR -28[rbp], 0
	jmp	.L2
.L4:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -12[rbp], eax
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -36[rbp], eax
	jle	.L3
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	DWORD PTR -32[rbp], eax
.L3:
	add	DWORD PTR -28[rbp], 1
.L2:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L4
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 2
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -32[rbp]
	mov	DWORD PTR [rax], edx
	mov	DWORD PTR -24[rbp], 0
	jmp	.L5
.L12:
	mov	DWORD PTR -20[rbp], -1
	mov	DWORD PTR -16[rbp], 0
	jmp	.L6
.L11:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	je	.L13
	mov	rcx, QWORD PTR sides[rip]
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	ecx, DWORD PTR 8[rax]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cmp	ecx, eax
	jne	.L14
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L10
.L13:
	nop
	jmp	.L8
.L14:
	nop
.L8:
	add	DWORD PTR -16[rbp], 1
.L6:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L11
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, 1
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -8[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -24[rbp], 1
.L5:
	mov	rax, QWORD PTR -56[rbp]
	mov	eax, DWORD PTR 8[rax]
	sub	eax, 1
	cmp	DWORD PTR -24[rbp], eax
	jl	.L12
	mov	rax, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR [rax], rdx
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	sort_sector, .-sort_sector
	.local	bx
	.comm	bx,4,4
	.local	by
	.comm	by,4,4
	.local	bpitch
	.comm	bpitch,4,4
	.local	b
	.comm	b,8,8
	.type	bresenham, @function
bresenham:
.LFB7:
	.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 -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	DWORD PTR -76[rbp], edx
	mov	DWORD PTR -80[rbp], ecx
	mov	DWORD PTR -84[rbp], r8d
	mov	eax, DWORD PTR bx[rip]
	sub	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR bx[rip]
	sub	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR by[rip]
	sub	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR by[rip]
	sub	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -56[rbp], 0
	mov	eax, DWORD PTR -72[rbp]
	sub	eax, DWORD PTR -80[rbp]
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	mov	edx, eax
	sub	edx, ecx
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, DWORD PTR -84[rbp]
	mov	ecx, eax
	sar	ecx, 31
	xor	eax, ecx
	sub	eax, ecx
	cmp	edx, eax
	jge	.L16
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -84[rbp], eax
	mov	DWORD PTR -56[rbp], 1
.L16:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jle	.L17
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -80[rbp]
	mov	DWORD PTR -72[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -84[rbp], eax
.L17:
	mov	eax, DWORD PTR -80[rbp]
	sub	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -16[rbp], eax
	mov	eax, DWORD PTR -84[rbp]
	sub	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	cdq
	mov	eax, edx
	xor	eax, DWORD PTR -12[rbp]
	sub	eax, edx
	add	eax, eax
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -52[rbp], 0
	mov	eax, DWORD PTR -76[rbp]
	mov	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -72[rbp]
	mov	DWORD PTR -44[rbp], eax
	jmp	.L18
.L23:
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR -36[rbp], eax
	cmp	DWORD PTR -56[rbp], 0
	je	.L19
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -36[rbp], eax
.L19:
	mov	rdx, QWORD PTR b[rip]
	mov	eax, DWORD PTR bpitch[rip]
	imul	eax, DWORD PTR -36[rbp]
	mov	ecx, eax
	mov	eax, DWORD PTR -40[rbp]
	add	eax, ecx
	cdqe
	add	rax, rdx
	mov	edx, DWORD PTR -68[rbp]
	mov	BYTE PTR [rax], dl
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cmp	eax, DWORD PTR -16[rbp]
	jle	.L20
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -76[rbp]
	jle	.L21
	mov	eax, 1
	jmp	.L22
.L21:
	mov	eax, -1
.L22:
	add	DWORD PTR -48[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	add	eax, eax
	sub	DWORD PTR -52[rbp], eax
.L20:
	add	DWORD PTR -44[rbp], 1
.L18:
	mov	eax, DWORD PTR -44[rbp]
	cmp	eax, DWORD PTR -80[rbp]
	jle	.L23
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	bresenham, .-bresenham
	.globl	getsidebounds
	.type	getsidebounds, @function
getsidebounds:
.LFB8:
	.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	QWORD PTR -32[rbp], rdx
	mov	QWORD PTR -40[rbp], rcx
	mov	QWORD PTR -48[rbp], r8
	mov	QWORD PTR -56[rbp], r9
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 0
	mov	DWORD PTR -8[rbp], 0
	mov	DWORD PTR -4[rbp], 0
	cmp	DWORD PTR -20[rbp], -1
	je	.L25
	cmp	DWORD PTR -24[rbp], -1
	je	.L26
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L27
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
.L27:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L29
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
.L29:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L31
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
.L31:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	comisd	xmm0, xmm1
	jbe	.L33
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
.L33:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	comisd	xmm0, xmm1
	jbe	.L35
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
.L35:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	comisd	xmm0, xmm1
	jbe	.L37
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
.L37:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 8[rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, xmm1
	jbe	.L39
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
.L39:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 8[rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, xmm1
	jbe	.L41
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
.L41:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 8[rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, xmm1
	jbe	.L43
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
.L43:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	comisd	xmm0, xmm1
	jbe	.L45
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
.L45:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	comisd	xmm0, xmm1
	jbe	.L47
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
.L47:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	jmp	.L49
.L26:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L51
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
.L51:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	comisd	xmm0, xmm1
	jbe	.L53
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
.L53:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 8[rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, xmm1
	jbe	.L55
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
.L55:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	jmp	.L49
.L25:
	cmp	DWORD PTR -24[rbp], -1
	je	.L49
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR [rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -16[rbp]
	comisd	xmm0, xmm1
	jbe	.L58
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -16[rbp], eax
.L58:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -8[rbp]
	comisd	xmm0, xmm1
	jbe	.L60
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -8[rbp], eax
.L60:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR 8[rax]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -12[rbp]
	comisd	xmm0, xmm1
	jbe	.L62
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
.L62:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -4[rbp]
	comisd	xmm0, xmm1
	jbe	.L49
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4[rbp], eax
.L49:
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -16[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -8[rbp]
	sub	eax, DWORD PTR -16[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -48[rbp]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR -4[rbp]
	sub	eax, DWORD PTR -12[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -56[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	getsidebounds, .-getsidebounds
	.globl	drawside
	.type	drawside, @function
drawside:
.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, 24
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	cmp	DWORD PTR -24[rbp], 0
	js	.L86
	mov	DWORD PTR -4[rbp], 3
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR 16[rax]
	and	eax, 2
	test	eax, eax
	je	.L87
	mov	DWORD PTR -4[rbp], 2
	jmp	.L88
.L87:
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR 16[rax]
	and	eax, 1
	test	eax, eax
	je	.L88
	mov	DWORD PTR -4[rbp], 4
.L88:
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	edi, xmm0
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	ecx, xmm0
	mov	rsi, QWORD PTR verts[rip]
	mov	r8, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, r8
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rsi
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	edx, xmm0
	mov	r8, QWORD PTR verts[rip]
	mov	r9, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -24[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 2
	add	rax, r9
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, r8
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	esi, xmm0
	mov	eax, DWORD PTR -4[rbp]
	mov	r8d, edi
	mov	edi, eax
	call	bresenham
.L86:
	cmp	DWORD PTR -20[rbp], 0
	js	.L90
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	edi, xmm0
	mov	rcx, QWORD PTR verts[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	cdqe
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	ecx, xmm0
	mov	rsi, QWORD PTR verts[rip]
	mov	r8, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, r8
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, rsi
	movsd	xmm0, QWORD PTR 8[rax]
	cvttsd2si	edx, xmm0
	mov	r8, QWORD PTR verts[rip]
	mov	r9, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rsi, eax
	mov	rax, rsi
	sal	rax, 2
	add	rax, rsi
	sal	rax, 2
	add	rax, r9
	mov	eax, DWORD PTR 8[rax]
	cdqe
	sal	rax, 4
	add	rax, r8
	movsd	xmm0, QWORD PTR [rax]
	cvttsd2si	eax, xmm0
	mov	r8d, edi
	mov	esi, eax
	mov	edi, 1
	call	bresenham
	mov	rcx, QWORD PTR lines[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 4[rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 20[rax], 1
.L90:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	drawside, .-drawside
	.globl	gifpal
	.data
	.align 16
	.type	gifpal, @object
	.size	gifpal, 24
gifpal:
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\377"
	.string	"\377\377"
	.string	"\377"
	.string	""
	.ascii	"@@@"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.globl	lzwenc
	.bss
	.align 32
	.type	lzwenc, @object
	.size	lzwenc, 2097192
lzwenc:
	.zero	2097192
	.text
	.globl	resetlzw
	.type	resetlzw, @function
resetlzw:
.LFB10:
	.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 lzwenc[rip+16]
	mov	DWORD PTR lzwenc[rip+20], eax
	mov	eax, DWORD PTR lzwenc[rip+24]
	mov	DWORD PTR lzwenc[rip+28], eax
	mov	eax, DWORD PTR lzwenc[rip+32]
	mov	edx, 512
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cdqe
	mov	rdx, rax
	mov	esi, 0
	lea	rdi, lzwenc[rip+40]
	call	memset@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	resetlzw, .-resetlzw
	.globl	initlzw
	.type	initlzw, @function
initlzw:
.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, 32
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	DWORD PTR -12[rbp], edx
	mov	DWORD PTR -16[rbp], ecx
	mov	DWORD PTR -20[rbp], r8d
	mov	QWORD PTR lzwenc[rip], 0
	mov	DWORD PTR lzwenc[rip+8], 0
	mov	DWORD PTR lzwenc[rip+12], -1
	mov	edx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	add	eax, edx
	mov	DWORD PTR lzwenc[rip+16], eax
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR lzwenc[rip+24], eax
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR lzwenc[rip+32], eax
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR lzwenc[rip+36], eax
	call	resetlzw
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	initlzw, .-initlzw
	.globl	emitlzwcode
	.type	emitlzwcode, @function
emitlzwcode:
.LFB12:
	.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	rsi, QWORD PTR lzwenc[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	eax, DWORD PTR lzwenc[rip+8]
	mov	ecx, eax
	sal	rdx, cl
	mov	rax, rdx
	or	rax, rsi
	mov	QWORD PTR lzwenc[rip], rax
	mov	edx, DWORD PTR lzwenc[rip+8]
	mov	eax, DWORD PTR lzwenc[rip+28]
	add	eax, edx
	mov	DWORD PTR lzwenc[rip+8], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	emitlzwcode, .-emitlzwcode
	.globl	emitlzwb
	.type	emitlzwb, @function
emitlzwb:
.LFB13:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	eax, DWORD PTR lzwenc[rip+12]
	test	eax, eax
	jns	.L95
	movzx	eax, BYTE PTR -20[rbp]
	mov	DWORD PTR lzwenc[rip+12], eax
	jmp	.L94
.L95:
	mov	eax, DWORD PTR lzwenc[rip+12]
	movzx	edx, BYTE PTR -20[rbp]
	movsx	rdx, edx
	cdqe
	sal	rax, 8
	add	rax, rdx
	add	rax, 16
	lea	rdx, [rax+rax]
	lea	rax, lzwenc[rip+8]
	movzx	eax, WORD PTR [rdx+rax]
	mov	WORD PTR -2[rbp], ax
	cmp	WORD PTR -2[rbp], 0
	je	.L97
	movzx	eax, WORD PTR -2[rbp]
	mov	DWORD PTR lzwenc[rip+12], eax
	jmp	.L94
.L97:
	mov	eax, DWORD PTR lzwenc[rip+12]
	mov	edi, eax
	call	emitlzwcode
	mov	eax, DWORD PTR lzwenc[rip+20]
	lea	edx, 1[rax]
	mov	DWORD PTR lzwenc[rip+20], edx
	mov	edx, DWORD PTR lzwenc[rip+12]
	movzx	ecx, BYTE PTR -20[rbp]
	mov	esi, eax
	movsx	rcx, ecx
	movsx	rax, edx
	sal	rax, 8
	add	rax, rcx
	add	rax, 16
	lea	rdx, [rax+rax]
	lea	rax, lzwenc[rip+8]
	mov	WORD PTR [rdx+rax], si
	movzx	eax, BYTE PTR -20[rbp]
	mov	DWORD PTR lzwenc[rip+12], eax
	mov	edx, DWORD PTR lzwenc[rip+20]
	mov	eax, DWORD PTR lzwenc[rip+28]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	cmp	edx, eax
	jle	.L94
	mov	edx, DWORD PTR lzwenc[rip+28]
	mov	eax, DWORD PTR lzwenc[rip+32]
	cmp	edx, eax
	jge	.L98
	mov	eax, DWORD PTR lzwenc[rip+28]
	add	eax, 1
	mov	DWORD PTR lzwenc[rip+28], eax
	jmp	.L94
.L98:
	mov	eax, DWORD PTR lzwenc[rip+36]
	mov	edi, eax
	call	emitlzwcode
	call	resetlzw
.L94:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	emitlzwb, .-emitlzwb
	.globl	emitlzwend
	.type	emitlzwend, @function
emitlzwend:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 8
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR lzwenc[rip+12]
	mov	edi, eax
	call	emitlzwcode
	cmp	DWORD PTR -4[rbp], 0
	je	.L101
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	emitlzwcode
.L101:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	emitlzwend, .-emitlzwend
	.globl	nextlzwob
	.type	nextlzwob, @function
nextlzwob:
.LFB15:
	.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	eax, DWORD PTR lzwenc[rip+8]
	cmp	eax, 7
	jle	.L103
	mov	rax, QWORD PTR lzwenc[rip]
	and	eax, 255
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR lzwenc[rip]
	shr	rax, 8
	mov	QWORD PTR lzwenc[rip], rax
	mov	eax, DWORD PTR lzwenc[rip+8]
	sub	eax, 8
	mov	DWORD PTR lzwenc[rip+8], eax
	mov	eax, DWORD PTR -4[rbp]
	jmp	.L104
.L103:
	cmp	DWORD PTR -20[rbp], 0
	je	.L105
	mov	eax, DWORD PTR lzwenc[rip+8]
	test	eax, eax
	jle	.L105
	mov	rax, QWORD PTR lzwenc[rip]
	and	eax, 255
	mov	DWORD PTR -8[rbp], eax
	mov	QWORD PTR lzwenc[rip], 0
	mov	DWORD PTR lzwenc[rip+8], 0
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L104
.L105:
	mov	eax, -1
.L104:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	nextlzwob, .-nextlzwob
	.globl	drainlzw
	.type	drainlzw, @function
drainlzw:
.LFB16:
	.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	DWORD PTR -36[rbp], edx
.L110:
	mov	eax, DWORD PTR -36[rbp]
	mov	edi, eax
	call	nextlzwob
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	js	.L114
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	edx, al
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -4[rbp]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	cmp	al, -1
	jne	.L110
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rcx, rdx
	mov	edx, 256
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
	jmp	.L110
.L114:
	nop
	cmp	DWORD PTR -36[rbp], 0
	je	.L115
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L112
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	add	eax, 1
	movsx	rdx, eax
	mov	rcx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	esi, 1
	mov	rdi, rax
	call	fwrite@PLT
.L112:
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	fputc@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	BYTE PTR [rax], 0
.L115:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	drainlzw, .-drainlzw
	.globl	writelzw
	.type	writelzw, @function
writelzw:
.LFB17:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 320
	mov	QWORD PTR -296[rbp], rdi
	mov	DWORD PTR -300[rbp], esi
	mov	DWORD PTR -304[rbp], edx
	mov	QWORD PTR -312[rbp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rdx, QWORD PTR -312[rbp]
	mov	eax, DWORD PTR -304[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	fputc@PLT
	mov	eax, DWORD PTR -304[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	mov	DWORD PTR -280[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	mov	DWORD PTR -276[rbp], eax
	mov	eax, DWORD PTR -304[rbp]
	lea	edi, 1[rax]
	mov	edx, DWORD PTR -280[rbp]
	mov	eax, DWORD PTR -284[rbp]
	mov	r8d, edx
	mov	ecx, 2
	mov	edx, eax
	mov	esi, 12
	call	initlzw
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -288[rbp], 0
	jmp	.L117
.L118:
	mov	eax, DWORD PTR -288[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -296[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movzx	eax, al
	mov	edi, eax
	call	emitlzwb
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	edx, 0
	mov	rsi, rcx
	mov	rdi, rax
	call	drainlzw
	add	DWORD PTR -288[rbp], 1
.L117:
	mov	eax, DWORD PTR -288[rbp]
	cmp	eax, DWORD PTR -300[rbp]
	jl	.L118
	mov	eax, DWORD PTR -276[rbp]
	mov	edi, eax
	call	emitlzwend
	lea	rcx, -272[rbp]
	mov	rax, QWORD PTR -312[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	rdi, rax
	call	drainlzw
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L119
	call	__stack_chk_fail@PLT
.L119:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	writelzw, .-writelzw
	.globl	writeframe
	.type	writeframe, @function
writeframe:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -64[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -52[rbp], -1
	je	.L121
	mov	eax, 2
	jmp	.L122
.L121:
	mov	eax, 3000
.L122:
	mov	DWORD PTR -32[rbp], eax
	mov	BYTE PTR -26[rbp], 33
	mov	BYTE PTR -25[rbp], -7
	mov	BYTE PTR -24[rbp], 4
	mov	BYTE PTR -23[rbp], 5
	mov	eax, DWORD PTR -32[rbp]
	mov	BYTE PTR -22[rbp], al
	mov	eax, DWORD PTR -32[rbp]
	sar	eax, 8
	mov	BYTE PTR -21[rbp], al
	mov	BYTE PTR -20[rbp], 0
	mov	BYTE PTR -19[rbp], 0
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -26[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fwrite@PLT
	lea	r8, -36[rbp]
	lea	rdi, -40[rbp]
	lea	rcx, -44[rbp]
	lea	rdx, -48[rbp]
	mov	esi, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r9, r8
	mov	r8, rdi
	mov	edi, eax
	call	getsidebounds
	mov	eax, DWORD PTR -48[rbp]
	mov	DWORD PTR bx[rip], eax
	mov	eax, DWORD PTR -44[rbp]
	mov	DWORD PTR by[rip], eax
	mov	eax, DWORD PTR -40[rbp]
	mov	DWORD PTR bpitch[rip], eax
	mov	BYTE PTR -18[rbp], 44
	mov	eax, DWORD PTR -48[rbp]
	mov	BYTE PTR -17[rbp], al
	mov	eax, DWORD PTR -48[rbp]
	sar	eax, 8
	mov	BYTE PTR -16[rbp], al
	mov	eax, DWORD PTR -44[rbp]
	mov	BYTE PTR -15[rbp], al
	mov	eax, DWORD PTR -44[rbp]
	sar	eax, 8
	mov	BYTE PTR -14[rbp], al
	mov	eax, DWORD PTR -40[rbp]
	mov	BYTE PTR -13[rbp], al
	mov	eax, DWORD PTR -40[rbp]
	sar	eax, 8
	mov	BYTE PTR -12[rbp], al
	mov	eax, DWORD PTR -36[rbp]
	mov	BYTE PTR -11[rbp], al
	mov	eax, DWORD PTR -36[rbp]
	sar	eax, 8
	mov	BYTE PTR -10[rbp], al
	mov	BYTE PTR -9[rbp], 0
	mov	rdx, QWORD PTR -64[rbp]
	lea	rax, -18[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	fwrite@PLT
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	imul	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR b[rip]
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	esi, edx
	mov	edi, eax
	call	drawside
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, DWORD PTR -36[rbp]
	mov	esi, edx
	imul	esi, eax
	mov	rax, QWORD PTR b[rip]
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, rdx
	mov	edx, 3
	mov	rdi, rax
	call	writelzw
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L123
	call	__stack_chk_fail@PLT
.L123:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	writeframe, .-writeframe
	.section	.rodata
.LC1:
	.string	"wb"
.LC2:
	.string	"udmfvis.gif"
.LC3:
	.string	"couldn't open output: %s\n"
.LC4:
	.string	"\r progress: %d / %d"
	.text
	.globl	mkanim
	.type	mkanim, @function
mkanim:
.LFB19:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 192
	mov	DWORD PTR -180[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -144[rbp], 8
	mov	rax, QWORD PTR verts[rip]
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR -136[rbp]
	movsd	QWORD PTR -120[rbp], xmm0
	mov	rax, QWORD PTR verts[rip]
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	mov	DWORD PTR -168[rbp], 0
	jmp	.L125
.L134:
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -136[rbp]
	comisd	xmm0, xmm1
	jbe	.L126
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -136[rbp], xmm0
.L126:
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -120[rbp]
	jbe	.L128
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -120[rbp], xmm0
.L128:
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	comisd	xmm0, xmm1
	jbe	.L130
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -128[rbp], xmm0
.L130:
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -112[rbp]
	jbe	.L132
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -168[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR -112[rbp], xmm0
.L132:
	add	DWORD PTR -168[rbp], 1
.L125:
	mov	eax, DWORD PTR nverts[rip]
	cmp	DWORD PTR -168[rbp], eax
	jl	.L134
	movsd	xmm0, QWORD PTR -120[rbp]
	subsd	xmm0, QWORD PTR -136[rbp]
	movsd	QWORD PTR -104[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	subsd	xmm0, QWORD PTR -128[rbp]
	movsd	QWORD PTR -96[rbp], xmm0
	movsd	xmm0, QWORD PTR -104[rbp]
	comisd	xmm0, QWORD PTR -96[rbp]
	jbe	.L154
	movsd	xmm0, QWORD PTR -104[rbp]
	jmp	.L137
.L154:
	movsd	xmm0, QWORD PTR -96[rbp]
.L137:
	movsd	QWORD PTR -88[rbp], xmm0
	mov	eax, DWORD PTR -144[rbp]
	lea	edx, [rax+rax]
	mov	eax, DWORD PTR -180[rbp]
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	divsd	xmm0, QWORD PTR -88[rbp]
	movsd	QWORD PTR -80[rbp], xmm0
	movsd	xmm0, QWORD PTR -136[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -136[rbp], xmm0
	movsd	xmm0, QWORD PTR -128[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -128[rbp], xmm0
	movsd	xmm0, QWORD PTR -120[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -120[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	mulsd	xmm0, QWORD PTR -80[rbp]
	movsd	QWORD PTR -112[rbp], xmm0
	movsd	xmm0, QWORD PTR -112[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -128[rbp]
	mov	eax, DWORD PTR -144[rbp]
	add	eax, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -140[rbp], eax
	mov	DWORD PTR -164[rbp], 0
	jmp	.L138
.L139:
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, QWORD PTR -80[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -136[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -144[rbp]
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm0, xmm1
	mulsd	xmm0, QWORD PTR -80[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -128[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -144[rbp]
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR -164[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	addsd	xmm0, xmm1
	movsd	QWORD PTR 8[rax], xmm0
	add	DWORD PTR -164[rbp], 1
.L138:
	mov	eax, DWORD PTR nverts[rip]
	cmp	DWORD PTR -164[rbp], eax
	jl	.L139
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	fopen@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], 0
	jne	.L140
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L124
.L140:
	mov	BYTE PTR -45[rbp], 71
	mov	BYTE PTR -44[rbp], 73
	mov	BYTE PTR -43[rbp], 70
	mov	BYTE PTR -42[rbp], 56
	mov	BYTE PTR -41[rbp], 57
	mov	BYTE PTR -40[rbp], 97
	mov	eax, DWORD PTR -180[rbp]
	mov	BYTE PTR -39[rbp], al
	mov	eax, DWORD PTR -180[rbp]
	sar	eax, 8
	mov	BYTE PTR -38[rbp], al
	mov	eax, DWORD PTR -140[rbp]
	mov	BYTE PTR -37[rbp], al
	mov	eax, DWORD PTR -140[rbp]
	sar	eax, 8
	mov	BYTE PTR -36[rbp], al
	mov	BYTE PTR -35[rbp], -14
	mov	BYTE PTR -34[rbp], 0
	mov	BYTE PTR -33[rbp], 0
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -45[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 13
	mov	rdi, rax
	call	fwrite@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, rax
	mov	edx, 8
	mov	esi, 3
	lea	rdi, gifpal[rip]
	call	fwrite@PLT
	movabs	rax, 4851313880247041825
	movabs	rdx, 72954993938092097
	mov	QWORD PTR -32[rbp], rax
	mov	QWORD PTR -24[rbp], rdx
	mov	WORD PTR -16[rbp], 0
	mov	BYTE PTR -14[rbp], 0
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -32[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 19
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -180[rbp]
	imul	eax, DWORD PTR -140[rbp]
	cdqe
	mov	esi, 1
	mov	rdi, rax
	call	calloc@PLT
	mov	QWORD PTR b[rip], rax
	movabs	rax, 8657369377
	mov	QWORD PTR -63[rbp], rax
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -63[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 8
	mov	rdi, rax
	call	fwrite@PLT
	mov	BYTE PTR -55[rbp], 44
	mov	BYTE PTR -54[rbp], 0
	mov	BYTE PTR -53[rbp], 0
	mov	BYTE PTR -52[rbp], 0
	mov	BYTE PTR -51[rbp], 0
	mov	eax, DWORD PTR -180[rbp]
	mov	BYTE PTR -50[rbp], al
	mov	eax, DWORD PTR -180[rbp]
	sar	eax, 8
	mov	BYTE PTR -49[rbp], al
	mov	eax, DWORD PTR -140[rbp]
	mov	BYTE PTR -48[rbp], al
	mov	eax, DWORD PTR -140[rbp]
	sar	eax, 8
	mov	BYTE PTR -47[rbp], al
	mov	BYTE PTR -46[rbp], 0
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -55[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 10
	mov	rdi, rax
	call	fwrite@PLT
	mov	eax, DWORD PTR -180[rbp]
	imul	eax, DWORD PTR -140[rbp]
	mov	esi, eax
	mov	rax, QWORD PTR b[rip]
	mov	rdx, QWORD PTR -72[rbp]
	mov	rcx, rdx
	mov	edx, 3
	mov	rdi, rax
	call	writelzw
	mov	DWORD PTR -160[rbp], 0
	mov	DWORD PTR -156[rbp], -1
	mov	DWORD PTR -152[rbp], 0
	jmp	.L142
.L147:
	mov	DWORD PTR -148[rbp], 0
	jmp	.L143
.L146:
	mov	edx, DWORD PTR nsides[rip]
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -160[rbp], 1
	mov	rcx, QWORD PTR lines[rip]
	mov	rsi, QWORD PTR sides[rip]
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	eax, DWORD PTR 4[rax]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 20[rax]
	test	eax, eax
	jne	.L155
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -156[rbp]
	mov	esi, ecx
	mov	edi, eax
	call	writeframe
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -148[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -156[rbp], eax
	jmp	.L145
.L155:
	nop
.L145:
	add	DWORD PTR -148[rbp], 1
.L143:
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -152[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	cmp	DWORD PTR -148[rbp], eax
	jl	.L146
	add	DWORD PTR -152[rbp], 1
.L142:
	mov	eax, DWORD PTR nsectors[rip]
	cmp	DWORD PTR -152[rbp], eax
	jl	.L147
	mov	edx, DWORD PTR nsides[rip]
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -72[rbp]
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	mov	edi, -1
	call	writeframe
	mov	rax, QWORD PTR b[rip]
	mov	rdi, rax
	call	free@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	mov	edi, 59
	call	fputc@PLT
	mov	rax, QWORD PTR -72[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L124:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L148
	call	__stack_chk_fail@PLT
.L148:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	mkanim, .-mkanim
	.section	.rodata
.LC5:
	.string	"vertex"
.LC6:
	.string	"linedef"
.LC7:
	.string	"sidedef"
.LC8:
	.string	"sector"
	.text
	.globl	process_startblock
	.type	process_startblock, @function
process_startblock:
.LFB20:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L157
	mov	rax, QWORD PTR verts[rip]
	test	rax, rax
	jne	.L158
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR verts[rip], rax
	jmp	.L159
.L158:
	mov	eax, DWORD PTR nverts[rip]
	add	eax, 1
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR verts[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR verts[rip], rax
.L159:
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR nverts[rip]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L169
.L157:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L161
	mov	rax, QWORD PTR lines[rip]
	test	rax, rax
	jne	.L162
	mov	edi, 24
	call	malloc@PLT
	mov	QWORD PTR lines[rip], rax
	jmp	.L163
.L162:
	mov	eax, DWORD PTR nlines[rip]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR lines[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR lines[rip], rax
.L163:
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	edx, 24
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	DWORD PTR 16[rax], -1
	jmp	.L169
.L161:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L164
	mov	rax, QWORD PTR sides[rip]
	test	rax, rax
	jne	.L165
	mov	edi, 20
	call	malloc@PLT
	mov	QWORD PTR sides[rip], rax
	jmp	.L166
.L165:
	mov	eax, DWORD PTR nsides[rip]
	add	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	mov	rax, QWORD PTR sides[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR sides[rip], rax
.L166:
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR nsides[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	edx, 20
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	jmp	.L169
.L164:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L169
	mov	rax, QWORD PTR sectors[rip]
	test	rax, rax
	jne	.L167
	mov	edi, 16
	call	malloc@PLT
	mov	QWORD PTR sectors[rip], rax
	jmp	.L168
.L167:
	mov	eax, DWORD PTR nsectors[rip]
	add	eax, 1
	cdqe
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR sectors[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR sectors[rip], rax
.L168:
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR nsectors[rip]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
.L169:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	process_startblock, .-process_startblock
	.section	.rodata
.LC9:
	.string	"x"
.LC10:
	.string	"%lf"
.LC11:
	.string	"y"
.LC12:
	.string	"v1"
.LC13:
	.string	"%d"
.LC14:
	.string	"v2"
.LC15:
	.string	"sidefront"
.LC16:
	.string	"sideback"
.LC17:
	.string	"special"
	.text
	.globl	process_assignment
	.type	process_assignment, @function
process_assignment:
.LFB21:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	QWORD PTR -24[rbp], rdx
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L171
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L172
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR nverts[rip]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L179
.L172:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC11[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L179
	mov	rdx, QWORD PTR verts[rip]
	mov	eax, DWORD PTR nverts[rip]
	cdqe
	sal	rax, 4
	add	rax, rdx
	lea	rdx, 8[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC10[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L179
.L171:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L174
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC12[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L175
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L179
.L175:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC14[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L176
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L179
.L176:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC15[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L177
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 12[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	jmp	.L179
.L177:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC16[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L178
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	lea	rdx, 16[rax]
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	ecx, DWORD PTR 8[rax]
	mov	rsi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	or	ecx, 1
	mov	edx, ecx
	mov	DWORD PTR 8[rax], edx
	jmp	.L179
.L178:
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC17[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L179
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	ecx, DWORD PTR 8[rax]
	mov	rsi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR nlines[rip]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	or	ecx, 2
	mov	edx, ecx
	mov	DWORD PTR 8[rax], edx
	jmp	.L179
.L174:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L179
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L179
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR nsides[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
.L179:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	process_assignment, .-process_assignment
	.globl	process_endblock
	.type	process_endblock, @function
process_endblock:
.LFB22:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L181
	mov	eax, DWORD PTR nverts[rip]
	add	eax, 1
	mov	DWORD PTR nverts[rip], eax
	jmp	.L185
.L181:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L183
	mov	eax, DWORD PTR nlines[rip]
	add	eax, 1
	mov	DWORD PTR nlines[rip], eax
	jmp	.L185
.L183:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L184
	mov	eax, DWORD PTR nsides[rip]
	add	eax, 1
	mov	DWORD PTR nsides[rip], eax
	jmp	.L185
.L184:
	mov	rax, QWORD PTR -8[rbp]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	strcasecmp@PLT
	test	eax, eax
	jne	.L185
	mov	eax, DWORD PTR nsectors[rip]
	add	eax, 1
	mov	DWORD PTR nsectors[rip], eax
.L185:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	process_endblock, .-process_endblock
	.section	.rodata
.LC18:
	.string	"usage: %s <textmap> [width]\n"
.LC19:
	.string	"rb"
.LC20:
	.string	"couldn't open textmap: %s\n"
.LC21:
	.string	"%[^ \t\n=/]"
.LC22:
	.string	"%[^;]"
.LC23:
	.string	"No valid map data found.\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB23:
	.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, 856
	.cfi_offset 3, -24
	mov	DWORD PTR -852[rbp], edi
	mov	QWORD PTR -864[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -852[rbp], 1
	jg	.L187
	mov	rax, QWORD PTR -864[rbp]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC18[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 1
	jmp	.L225
.L187:
	mov	rax, QWORD PTR -864[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC19[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -808[rbp], rax
	cmp	QWORD PTR -808[rbp], 0
	jne	.L189
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC20[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 2
	jmp	.L225
.L189:
	mov	DWORD PTR -832[rbp], 0
	mov	QWORD PTR -800[rbp], 0
	mov	QWORD PTR -792[rbp], 0
	mov	QWORD PTR -784[rbp], 0
	mov	QWORD PTR -776[rbp], 0
	mov	QWORD PTR -768[rbp], 0
	mov	QWORD PTR -760[rbp], 0
	mov	QWORD PTR -752[rbp], 0
	mov	QWORD PTR -744[rbp], 0
	mov	QWORD PTR -736[rbp], 0
	mov	QWORD PTR -728[rbp], 0
	mov	QWORD PTR -720[rbp], 0
	mov	QWORD PTR -712[rbp], 0
	mov	QWORD PTR -704[rbp], 0
	mov	QWORD PTR -696[rbp], 0
	mov	QWORD PTR -688[rbp], 0
	mov	QWORD PTR -680[rbp], 0
	mov	QWORD PTR -672[rbp], 0
	mov	QWORD PTR -664[rbp], 0
	mov	QWORD PTR -656[rbp], 0
	mov	QWORD PTR -648[rbp], 0
	mov	QWORD PTR -640[rbp], 0
	mov	QWORD PTR -632[rbp], 0
	mov	QWORD PTR -624[rbp], 0
	mov	QWORD PTR -616[rbp], 0
	mov	QWORD PTR -608[rbp], 0
	mov	QWORD PTR -600[rbp], 0
	mov	QWORD PTR -592[rbp], 0
	mov	QWORD PTR -584[rbp], 0
	mov	QWORD PTR -576[rbp], 0
	mov	QWORD PTR -568[rbp], 0
	mov	QWORD PTR -560[rbp], 0
	mov	QWORD PTR -552[rbp], 0
	mov	QWORD PTR -544[rbp], 0
	mov	QWORD PTR -536[rbp], 0
	mov	QWORD PTR -528[rbp], 0
	mov	QWORD PTR -520[rbp], 0
	mov	QWORD PTR -512[rbp], 0
	mov	QWORD PTR -504[rbp], 0
	mov	QWORD PTR -496[rbp], 0
	mov	QWORD PTR -488[rbp], 0
	mov	QWORD PTR -480[rbp], 0
	mov	QWORD PTR -472[rbp], 0
	mov	QWORD PTR -464[rbp], 0
	mov	QWORD PTR -456[rbp], 0
	mov	QWORD PTR -448[rbp], 0
	mov	QWORD PTR -440[rbp], 0
	mov	QWORD PTR -432[rbp], 0
	mov	QWORD PTR -424[rbp], 0
	mov	QWORD PTR -416[rbp], 0
	mov	QWORD PTR -408[rbp], 0
	mov	QWORD PTR -400[rbp], 0
	mov	QWORD PTR -392[rbp], 0
	mov	QWORD PTR -384[rbp], 0
	mov	QWORD PTR -376[rbp], 0
	mov	QWORD PTR -368[rbp], 0
	mov	QWORD PTR -360[rbp], 0
	mov	QWORD PTR -352[rbp], 0
	mov	QWORD PTR -344[rbp], 0
	mov	QWORD PTR -336[rbp], 0
	mov	QWORD PTR -328[rbp], 0
	mov	QWORD PTR -320[rbp], 0
	mov	QWORD PTR -312[rbp], 0
	mov	QWORD PTR -304[rbp], 0
	mov	QWORD PTR -296[rbp], 0
	mov	QWORD PTR -288[rbp], 0
	mov	QWORD PTR -280[rbp], 0
	mov	QWORD PTR -272[rbp], 0
	mov	QWORD PTR -264[rbp], 0
	mov	QWORD PTR -256[rbp], 0
	mov	QWORD PTR -248[rbp], 0
	mov	QWORD PTR -240[rbp], 0
	mov	QWORD PTR -232[rbp], 0
	mov	QWORD PTR -224[rbp], 0
	mov	QWORD PTR -216[rbp], 0
	mov	QWORD PTR -208[rbp], 0
	mov	QWORD PTR -200[rbp], 0
	mov	QWORD PTR -192[rbp], 0
	mov	QWORD PTR -184[rbp], 0
	mov	QWORD PTR -176[rbp], 0
	mov	QWORD PTR -168[rbp], 0
	mov	QWORD PTR -160[rbp], 0
	mov	QWORD PTR -152[rbp], 0
	mov	QWORD PTR -144[rbp], 0
	mov	QWORD PTR -136[rbp], 0
	mov	QWORD PTR -128[rbp], 0
	mov	QWORD PTR -120[rbp], 0
	mov	QWORD PTR -112[rbp], 0
	mov	QWORD PTR -104[rbp], 0
	mov	QWORD PTR -96[rbp], 0
	mov	QWORD PTR -88[rbp], 0
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	jmp	.L190
.L205:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 47
	jne	.L191
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 47
	jne	.L192
	nop
.L193:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 10
	jne	.L193
	jmp	.L191
.L192:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 42
	jne	.L191
	jmp	.L194
.L196:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 42
	je	.L195
	jmp	.L194
.L195:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	cmp	DWORD PTR -836[rbp], 47
	je	.L227
.L194:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L196
	jmp	.L191
.L227:
	nop
.L191:
	cmp	DWORD PTR -836[rbp], 32
	je	.L190
	cmp	DWORD PTR -836[rbp], 9
	je	.L190
	cmp	DWORD PTR -836[rbp], 10
	jne	.L198
	jmp	.L190
.L198:
	cmp	DWORD PTR -832[rbp], 2
	je	.L199
	cmp	DWORD PTR -832[rbp], 2
	jg	.L190
	cmp	DWORD PTR -832[rbp], 0
	je	.L200
	cmp	DWORD PTR -832[rbp], 1
	je	.L201
	jmp	.L190
.L200:
	cmp	DWORD PTR -836[rbp], 125
	jne	.L202
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	process_endblock
	mov	BYTE PTR -288[rbp], 0
	jmp	.L190
.L202:
	mov	rax, QWORD PTR -808[rbp]
	mov	edx, 1
	mov	rsi, -1
	mov	rdi, rax
	call	fseek@PLT
	lea	rdx, -800[rbp]
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -832[rbp], 1
	jmp	.L190
.L201:
	cmp	DWORD PTR -836[rbp], 61
	jne	.L203
	mov	DWORD PTR -832[rbp], 2
	jmp	.L190
.L203:
	cmp	DWORD PTR -836[rbp], 123
	jne	.L190
	lea	rdx, -800[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rax, -288[rbp]
	mov	rdi, rax
	call	process_startblock
	mov	DWORD PTR -832[rbp], 0
	jmp	.L190
.L199:
	mov	rax, QWORD PTR -808[rbp]
	mov	edx, 1
	mov	rsi, -1
	mov	rdi, rax
	call	fseek@PLT
	lea	rdx, -544[rbp]
	mov	rax, QWORD PTR -808[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	lea	rdx, -544[rbp]
	lea	rcx, -800[rbp]
	lea	rax, -288[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	process_assignment
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -836[rbp], eax
	mov	DWORD PTR -832[rbp], 0
	nop
.L190:
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	feof@PLT
	test	eax, eax
	je	.L205
	mov	rax, QWORD PTR -808[rbp]
	mov	rdi, rax
	call	fclose@PLT
	mov	eax, DWORD PTR nverts[rip]
	test	eax, eax
	jle	.L206
	mov	eax, DWORD PTR nlines[rip]
	test	eax, eax
	jle	.L206
	mov	eax, DWORD PTR nsides[rip]
	test	eax, eax
	jg	.L207
.L206:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC23[rip]
	call	fwrite@PLT
	mov	eax, 4
	jmp	.L225
.L207:
	mov	DWORD PTR -828[rbp], 0
	jmp	.L208
.L210:
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rsi, QWORD PTR sides[rip]
	mov	rdi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR 12[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR 8[rdx], eax
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rsi, QWORD PTR sides[rip]
	mov	rdi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR 12[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR 4[rcx]
	mov	DWORD PTR 12[rdx], eax
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rsi, QWORD PTR sides[rip]
	mov	rdi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR 12[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR 8[rcx]
	mov	DWORD PTR 16[rdx], eax
	mov	rcx, QWORD PTR sides[rip]
	mov	rsi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	eax, DWORD PTR 12[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -828[rbp]
	mov	DWORD PTR 4[rdx], eax
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rcx
	mov	eax, DWORD PTR 16[rax]
	cmp	eax, -1
	je	.L209
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rsi, QWORD PTR sides[rip]
	mov	rdi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR 16[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR 4[rcx]
	mov	DWORD PTR 8[rdx], eax
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rsi, QWORD PTR sides[rip]
	mov	rdi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR 16[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR [rcx]
	mov	DWORD PTR 12[rdx], eax
	mov	rcx, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rcx, rax
	mov	rsi, QWORD PTR sides[rip]
	mov	rdi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rdi
	mov	eax, DWORD PTR 16[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR 8[rcx]
	mov	DWORD PTR 16[rdx], eax
	mov	rcx, QWORD PTR sides[rip]
	mov	rsi, QWORD PTR lines[rip]
	mov	eax, DWORD PTR -828[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	add	rax, rsi
	mov	eax, DWORD PTR 16[rax]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -828[rbp]
	mov	DWORD PTR 4[rdx], eax
.L209:
	add	DWORD PTR -828[rbp], 1
.L208:
	mov	eax, DWORD PTR nlines[rip]
	cmp	DWORD PTR -828[rbp], eax
	jl	.L210
	mov	DWORD PTR -824[rbp], 0
	jmp	.L211
.L214:
	mov	rcx, QWORD PTR sides[rip]
	mov	eax, DWORD PTR -824[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -812[rbp], eax
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -812[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L212
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -812[rbp]
	cdqe
	sal	rax, 4
	lea	rbx, [rdx+rax]
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	jmp	.L213
.L212:
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -812[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	eax, DWORD PTR 8[rax]
	add	eax, 1
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rcx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -812[rbp]
	cdqe
	sal	rax, 4
	add	rax, rcx
	mov	rax, QWORD PTR [rax]
	mov	rsi, QWORD PTR sectors[rip]
	mov	ecx, DWORD PTR -812[rbp]
	movsx	rcx, ecx
	sal	rcx, 4
	lea	rbx, [rsi+rcx]
	mov	rsi, rdx
	mov	rdi, rax
	call	realloc@PLT
	mov	QWORD PTR [rbx], rax
.L213:
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -812[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -812[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	edx, DWORD PTR 8[rax]
	lea	ecx, 1[rdx]
	mov	DWORD PTR 8[rax], ecx
	movsx	rax, edx
	sal	rax, 2
	lea	rdx, [rsi+rax]
	mov	eax, DWORD PTR -824[rbp]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -824[rbp], 1
.L211:
	mov	eax, DWORD PTR nsides[rip]
	cmp	DWORD PTR -824[rbp], eax
	jl	.L214
	mov	DWORD PTR -820[rbp], 0
	jmp	.L215
.L216:
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -820[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rdi, rax
	call	sort_sector
	add	DWORD PTR -820[rbp], 1
.L215:
	mov	eax, DWORD PTR nsectors[rip]
	cmp	DWORD PTR -820[rbp], eax
	jl	.L216
	mov	DWORD PTR -840[rbp], 1024
	cmp	DWORD PTR -852[rbp], 2
	jle	.L217
	mov	rax, QWORD PTR -864[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rdx, -840[rbp]
	lea	rsi, .LC13[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
.L217:
	mov	eax, DWORD PTR -840[rbp]
	mov	edi, eax
	call	mkanim
	mov	rax, QWORD PTR verts[rip]
	test	rax, rax
	je	.L218
	mov	rax, QWORD PTR verts[rip]
	mov	rdi, rax
	call	free@PLT
.L218:
	mov	rax, QWORD PTR lines[rip]
	test	rax, rax
	je	.L219
	mov	rax, QWORD PTR lines[rip]
	mov	rdi, rax
	call	free@PLT
.L219:
	mov	rax, QWORD PTR sides[rip]
	test	rax, rax
	je	.L220
	mov	rax, QWORD PTR sides[rip]
	mov	rdi, rax
	call	free@PLT
.L220:
	mov	rax, QWORD PTR sectors[rip]
	test	rax, rax
	je	.L221
	mov	DWORD PTR -816[rbp], 0
	jmp	.L222
.L224:
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -816[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L223
	mov	rdx, QWORD PTR sectors[rip]
	mov	eax, DWORD PTR -816[rbp]
	cdqe
	sal	rax, 4
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
.L223:
	add	DWORD PTR -816[rbp], 1
.L222:
	mov	eax, DWORD PTR nsectors[rip]
	cmp	DWORD PTR -816[rbp], eax
	jl	.L224
	mov	rax, QWORD PTR sectors[rip]
	mov	rdi, rax
	call	free@PLT
.L221:
	mov	eax, 0
.L225:
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L226
	call	__stack_chk_fail@PLT
.L226:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.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	"229926.c"
	.text
	.global	verts
	.bss
	.align	2
	.type	verts, %object
	.size	verts, 4
verts:
	.space	4
	.global	lines
	.align	2
	.type	lines, %object
	.size	lines, 4
lines:
	.space	4
	.global	sides
	.align	2
	.type	sides, %object
	.size	sides, 4
sides:
	.space	4
	.global	sectors
	.align	2
	.type	sectors, %object
	.size	sectors, 4
sectors:
	.space	4
	.global	nverts
	.align	2
	.type	nverts, %object
	.size	nverts, 4
nverts:
	.space	4
	.global	nlines
	.align	2
	.type	nlines, %object
	.size	nlines, 4
nlines:
	.space	4
	.global	nsides
	.align	2
	.type	nsides, %object
	.size	nsides, 4
nsides:
	.space	4
	.global	nsectors
	.align	2
	.type	nsectors, %object
	.size	nsectors, 4
nsectors:
	.space	4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_sector, %function
sort_sector:
	@ 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]
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-36]
	mvn	r3, #0
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L4:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, .L15+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	ldr	r2, [fp, #-36]
	cmp	r2, r3
	ble	.L3
	ldr	r3, .L15+4
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-32]
.L3:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L4
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L5
.L12:
	mvn	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L6
.L11:
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-12]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L13
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	ldr	r1, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldr	r3, .L15+4
	ldr	r1, [r3]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r0, [fp, #-12]
	add	r3, r0, r3
	ldr	r3, [r3]
	mov	r0, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #12]
	cmp	r2, r3
	bne	.L14
	ldr	r3, [fp, #-40]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-20]
	b	.L10
.L13:
	nop
	b	.L8
.L14:
	nop
.L8:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L6:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L11
.L10:
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	lsl	r3, r3, #2
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldr	r2, [fp, #-20]
	str	r2, [r3]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L5:
	ldr	r3, [fp, #-40]
	ldr	r3, [r3, #4]
	sub	r3, r3, #1
	ldr	r2, [fp, #-24]
	cmp	r2, r3
	blt	.L12
	ldr	r3, [fp, #-40]
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	nverts
	.word	sides
	.size	sort_sector, .-sort_sector
	.local	bx
	.comm	bx,4,4
	.local	by
	.comm	by,4,4
	.local	bpitch
	.comm	bpitch,4,4
	.local	b
	.comm	b,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bresenham, %function
bresenham:
	@ args = 4, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #76
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, [fp, #-68]
	sub	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r3, .L26
	ldr	r3, [r3]
	ldr	r2, [fp, #-76]
	sub	r3, r2, r3
	str	r3, [fp, #-76]
	ldr	r3, .L26+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	sub	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r3, .L26+4
	ldr	r3, [r3]
	ldr	r2, [fp, #4]
	sub	r3, r2, r3
	str	r3, [fp, #4]
	mov	r3, #0
	str	r3, [fp, #-60]
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-76]
	sub	r3, r2, r3
	eor	r2, r3, r3, asr #31
	sub	r2, r2, r3, asr #31
	ldr	r1, [fp, #-72]
	ldr	r3, [fp, #4]
	sub	r3, r1, r3
	cmp	r3, #0
	rsblt	r3, r3, #0
	cmp	r2, r3
	bge	.L18
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-32]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-32]
	str	r3, [fp, #4]
	mov	r3, #1
	str	r3, [fp, #-60]
.L18:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L19
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-68]
	ldr	r3, [fp, #-28]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #4]
.L19:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-68]
	sub	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-72]
	sub	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	rsblt	r3, r3, #0
	lsl	r3, r3, #1
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-68]
	str	r3, [fp, #-48]
	b	.L20
.L25:
	ldr	r3, [fp, #-48]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-52]
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	beq	.L21
	ldr	r3, [fp, #-44]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-44]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-40]
.L21:
	ldr	r3, .L26+8
	ldr	r3, [r3]
	ldr	r2, .L26+12
	ldr	r2, [r2]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-44]
	add	r2, r1, r2
	add	r3, r3, r2
	ldr	r2, [fp, #-64]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-56]
	ldr	r2, [fp, #-56]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L22
	ldr	r2, [fp, #4]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	ble	.L23
	mov	r3, #1
	b	.L24
.L23:
	mvn	r3, #0
.L24:
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-56]
	sub	r3, r2, r3
	str	r3, [fp, #-56]
.L22:
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L20:
	ldr	r2, [fp, #-48]
	ldr	r3, [fp, #-76]
	cmp	r2, r3
	ble	.L25
	nop
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L27:
	.align	2
.L26:
	.word	bx
	.word	by
	.word	b
	.word	bpitch
	.size	bresenham, .-bresenham
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
	.global	getsidebounds
	.syntax unified
	.arm
	.fpu softvfp
	.type	getsidebounds, %function
getsidebounds:
	@ args = 8, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	str	r3, [fp, #-44]
	mov	r3, #0
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	cmn	r3, #1
	beq	.L29
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L30
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L31
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
.L31:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
.L33:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
.L35:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
.L37:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L39
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
.L39:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L41
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
.L41:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L43
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
.L43:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L45
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
.L45:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L47
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
.L47:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L49
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
.L49:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L51
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
.L51:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	b	.L53
.L30:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L55
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
.L55:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L57
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
.L57:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L59
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
.L59:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	b	.L53
.L90:
	.align	2
.L89:
	.word	verts
	.word	sides
.L29:
	ldr	r3, [fp, #-36]
	cmn	r3, #1
	beq	.L53
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-28]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L62
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-28]
.L62:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L64
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-20]
.L64:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-24]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-24]
.L66:
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	ldr	r0, [fp, #-16]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L53
	ldr	r3, .L89
	ldr	r1, [r3]
	ldr	r3, .L89+4
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-16]
.L53:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-28]
	str	r2, [r3]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-24]
	str	r2, [r3]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	add	r2, r3, #1
	ldr	r3, [fp, #4]
	str	r2, [r3]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	add	r2, r3, #1
	ldr	r3, [fp, #8]
	str	r2, [r3]
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	getsidebounds, .-getsidebounds
	.align	2
	.global	drawside
	.syntax unified
	.arm
	.fpu softvfp
	.type	drawside, %function
drawside:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	blt	.L92
	mov	r3, #3
	str	r3, [fp, #-24]
	ldr	r3, .L97
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L93
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L94
.L93:
	ldr	r3, .L97
	ldr	r1, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L94
	mov	r3, #4
	str	r3, [fp, #-24]
.L94:
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r4, r0
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r5, r0
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r6, r0
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	ldr	r0, [fp, #-24]
	bl	bresenham
.L92:
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	blt	.L96
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r4, r0
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #8]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r5, r0
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r6, r0
	ldr	r3, .L97+4
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	lsl	r3, r3, #4
	add	r3, r1, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [sp]
	mov	r3, r6
	mov	r2, r5
	mov	r1, r4
	mov	r0, #1
	bl	bresenham
	ldr	r3, .L97+8
	ldr	r1, [r3]
	ldr	r3, .L97
	ldr	r0, [r3]
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3, #4]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	mov	r2, #1
	str	r2, [r3, #20]
.L96:
	nop
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L98:
	.align	2
.L97:
	.word	sides
	.word	verts
	.word	lines
	.size	drawside, .-drawside
	.global	gifpal
	.data
	.align	2
	.type	gifpal, %object
	.size	gifpal, 24
gifpal:
	.ascii	"\000\000\000"
	.ascii	"\000\377\000"
	.ascii	"\377\377\000"
	.ascii	"\377\000\000"
	.ascii	"@@@"
	.ascii	"\000\000\000"
	.ascii	"\000\000\000"
	.ascii	"\000\000\000"
	.comm	lzwenc,2097192,8
	.text
	.align	2
	.global	resetlzw
	.syntax unified
	.arm
	.fpu softvfp
	.type	resetlzw, %function
resetlzw:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L100
	ldr	r3, [r3, #16]
	ldr	r2, .L100
	str	r3, [r2, #20]
	ldr	r3, .L100
	ldr	r3, [r3, #24]
	ldr	r2, .L100
	str	r3, [r2, #28]
	ldr	r3, .L100
	ldr	r3, [r3, #32]
	mov	r2, #512
	lsl	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	ldr	r0, .L100+4
	bl	memset
	nop
	pop	{fp, pc}
.L101:
	.align	2
.L100:
	.word	lzwenc
	.word	lzwenc+40
	.size	resetlzw, .-resetlzw
	.align	2
	.global	initlzw
	.syntax unified
	.arm
	.fpu softvfp
	.type	initlzw, %function
initlzw:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	str	r3, [fp, #-20]
	ldr	r1, .L103
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, .L103
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, .L103
	mvn	r2, #0
	str	r2, [r3, #12]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	ldr	r2, .L103
	str	r3, [r2, #16]
	ldr	r2, .L103
	ldr	r3, [fp, #-8]
	str	r3, [r2, #24]
	ldr	r2, .L103
	ldr	r3, [fp, #-12]
	str	r3, [r2, #32]
	ldr	r2, .L103
	ldr	r3, [fp, #4]
	str	r3, [r2, #36]
	bl	resetlzw
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L104:
	.align	2
.L103:
	.word	lzwenc
	.size	initlzw, .-initlzw
	.align	2
	.global	emitlzwcode
	.syntax unified
	.arm
	.fpu softvfp
	.type	emitlzwcode, %function
emitlzwcode:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #12
	str	r0, [fp, #-32]
	ldr	r1, .L106
	ldmia	r1, {r6-r7}
	ldr	r1, [fp, #-32]
	mov	r0, r1
	asr	r1, r0, #31
	ldr	ip, .L106
	ldr	ip, [ip, #8]
	sub	r8, ip, #32
	rsb	lr, ip, #32
	lsl	r3, r1, ip
	orr	r3, r3, r0, lsl r8
	orr	r3, r3, r0, lsr lr
	lsl	r2, r0, ip
	orr	r4, r6, r2
	orr	r5, r7, r3
	ldr	r3, .L106
	stm	r3, {r4-r5}
	ldr	r3, .L106
	ldr	r2, [r3, #8]
	ldr	r3, .L106
	ldr	r3, [r3, #28]
	add	r3, r2, r3
	ldr	r2, .L106
	str	r3, [r2, #8]
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L107:
	.align	2
.L106:
	.word	lzwenc
	.size	emitlzwcode, .-emitlzwcode
	.align	2
	.global	emitlzwb
	.syntax unified
	.arm
	.fpu softvfp
	.type	emitlzwb, %function
emitlzwb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldr	r3, .L113
	ldr	r3, [r3, #12]
	cmp	r3, #0
	bge	.L109
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L113
	str	r3, [r2, #12]
	b	.L108
.L109:
	ldr	r3, .L113
	ldr	r2, [r3, #12]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r1, .L113
	lsl	r2, r2, #8
	add	r3, r2, r3
	add	r3, r3, #20
	lsl	r3, r3, #1
	add	r3, r1, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-6]	@ movhi
	ldrh	r3, [fp, #-6]
	cmp	r3, #0
	beq	.L111
	ldrh	r3, [fp, #-6]
	ldr	r2, .L113
	str	r3, [r2, #12]
	b	.L108
.L111:
	ldr	r3, .L113
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	emitlzwcode
	ldr	r3, .L113
	ldr	r3, [r3, #20]
	add	r2, r3, #1
	ldr	r1, .L113
	str	r2, [r1, #20]
	ldr	r2, .L113
	ldr	r0, [r2, #12]
	ldrb	r1, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	ip, .L113
	lsl	r3, r0, #8
	add	r3, r3, r1
	add	r3, r3, #20
	lsl	r3, r3, #1
	add	r3, ip, r3
	strh	r2, [r3]	@ movhi
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	ldr	r2, .L113
	str	r3, [r2, #12]
	ldr	r3, .L113
	ldr	r2, [r3, #20]
	ldr	r3, .L113
	ldr	r3, [r3, #28]
	mov	r1, #1
	lsl	r3, r1, r3
	cmp	r2, r3
	ble	.L108
	ldr	r3, .L113
	ldr	r2, [r3, #28]
	ldr	r3, .L113
	ldr	r3, [r3, #32]
	cmp	r2, r3
	bge	.L112
	ldr	r3, .L113
	ldr	r3, [r3, #28]
	add	r3, r3, #1
	ldr	r2, .L113
	str	r3, [r2, #28]
	b	.L108
.L112:
	ldr	r3, .L113
	ldr	r3, [r3, #36]
	mov	r0, r3
	bl	emitlzwcode
	bl	resetlzw
.L108:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L114:
	.align	2
.L113:
	.word	lzwenc
	.size	emitlzwb, .-emitlzwb
	.align	2
	.global	emitlzwend
	.syntax unified
	.arm
	.fpu softvfp
	.type	emitlzwend, %function
emitlzwend:
	@ 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, .L118
	ldr	r3, [r3, #12]
	mov	r0, r3
	bl	emitlzwcode
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L117
	ldr	r0, [fp, #-8]
	bl	emitlzwcode
.L117:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L119:
	.align	2
.L118:
	.word	lzwenc
	.size	emitlzwend, .-emitlzwend
	.align	2
	.global	nextlzwob
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextlzwob, %function
nextlzwob:
	@ 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]
	ldr	r3, .L124
	ldr	r3, [r3, #8]
	cmp	r3, #7
	ble	.L121
	ldr	r3, .L124
	ldmia	r3, {r2-r3}
	mov	r3, r2
	and	r3, r3, #255
	str	r3, [fp, #-8]
	ldr	r3, .L124
	ldmia	r3, {r0-r1}
	mov	r2, #0
	mov	r3, #0
	lsr	r2, r0, #8
	orr	r2, r2, r1, lsl #24
	lsr	r3, r1, #8
	ldr	r1, .L124
	stm	r1, {r2-r3}
	ldr	r3, .L124
	ldr	r3, [r3, #8]
	sub	r3, r3, #8
	ldr	r2, .L124
	str	r3, [r2, #8]
	ldr	r3, [fp, #-8]
	b	.L122
.L121:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L123
	ldr	r3, .L124
	ldr	r3, [r3, #8]
	cmp	r3, #0
	ble	.L123
	ldr	r3, .L124
	ldmia	r3, {r2-r3}
	mov	r3, r2
	and	r3, r3, #255
	str	r3, [fp, #-12]
	ldr	r1, .L124
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, .L124
	mov	r2, #0
	str	r2, [r3, #8]
	ldr	r3, [fp, #-12]
	b	.L122
.L123:
	mvn	r3, #0
.L122:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L125:
	.align	2
.L124:
	.word	lzwenc
	.size	nextlzwob, .-nextlzwob
	.align	2
	.global	drainlzw
	.syntax unified
	.arm
	.fpu softvfp
	.type	drainlzw, %function
drainlzw:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
.L130:
	ldr	r0, [fp, #-24]
	bl	nextlzwob
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L134
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	ldr	r2, [fp, #-8]
	and	r2, r2, #255
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #255
	bne	.L130
	ldr	r3, [fp, #-16]
	mov	r2, #256
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fwrite
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
	b	.L130
.L134:
	nop
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L135
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L132
	ldr	r3, [fp, #-20]
	ldrb	r3, [r3]	@ zero_extendqisi2
	add	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	mov	r1, #1
	ldr	r0, [fp, #-20]
	bl	fwrite
.L132:
	ldr	r1, [fp, #-16]
	mov	r0, #0
	bl	fputc
	ldr	r3, [fp, #-20]
	mov	r2, #0
	strb	r2, [r3]
.L135:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	drainlzw, .-drainlzw
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	writelzw
	.syntax unified
	.arm
	.fpu softvfp
	.type	writelzw, %function
writelzw:
	@ args = 0, pretend = 0, frame = 296
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #304
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	str	r2, [fp, #-296]
	str	r3, [fp, #-300]
	ldr	r3, .L140
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, [fp, #-300]
	ldr	r0, [fp, #-296]
	bl	fputc
	mov	r2, #1
	ldr	r3, [fp, #-296]
	lsl	r3, r2, r3
	str	r3, [fp, #-276]
	ldr	r3, [fp, #-276]
	str	r3, [fp, #-272]
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-296]
	add	r0, r3, #1
	ldr	r3, [fp, #-272]
	str	r3, [sp]
	mov	r3, #2
	ldr	r2, [fp, #-276]
	mov	r1, #12
	bl	initlzw
	mov	r3, #0
	str	r3, [fp, #-264]
	sub	r3, fp, #260
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L137
.L138:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-288]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	emitlzwb
	sub	r3, fp, #264
	mov	r2, #0
	mov	r1, r3
	ldr	r0, [fp, #-300]
	bl	drainlzw
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L137:
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-292]
	cmp	r2, r3
	blt	.L138
	ldr	r0, [fp, #-268]
	bl	emitlzwend
	sub	r3, fp, #264
	mov	r2, #1
	mov	r1, r3
	ldr	r0, [fp, #-300]
	bl	drainlzw
	nop
	ldr	r3, .L140
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L139
	bl	__stack_chk_fail
.L139:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L141:
	.align	2
.L140:
	.word	.LC0
	.size	writelzw, .-writelzw
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	writeframe
	.syntax unified
	.arm
	.fpu softvfp
	.type	writeframe, %function
writeframe:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-56]
	str	r1, [fp, #-60]
	str	r2, [fp, #-64]
	ldr	r3, .L146
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-56]
	cmn	r3, #1
	beq	.L143
	mov	r3, #2
	b	.L144
.L143:
	ldr	r3, .L146+4
.L144:
	str	r3, [fp, #-32]
	mov	r3, #33
	strb	r3, [fp, #-28]
	mvn	r3, #6
	strb	r3, [fp, #-27]
	mov	r3, #4
	strb	r3, [fp, #-26]
	mov	r3, #5
	strb	r3, [fp, #-25]
	ldr	r3, [fp, #-32]
	and	r3, r3, #255
	strb	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-23]
	mov	r3, #0
	strb	r3, [fp, #-22]
	mov	r3, #0
	strb	r3, [fp, #-21]
	sub	r0, fp, #28
	ldr	r3, [fp, #-64]
	mov	r2, #1
	mov	r1, #8
	bl	fwrite
	sub	r1, fp, #44
	sub	r2, fp, #48
	sub	r3, fp, #36
	str	r3, [sp, #4]
	sub	r3, fp, #40
	str	r3, [sp]
	mov	r3, r1
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	getsidebounds
	ldr	r3, [fp, #-48]
	ldr	r2, .L146+8
	str	r3, [r2]
	ldr	r3, [fp, #-44]
	ldr	r2, .L146+12
	str	r3, [r2]
	ldr	r3, [fp, #-40]
	ldr	r2, .L146+16
	str	r3, [r2]
	mov	r3, #44
	strb	r3, [fp, #-20]
	ldr	r3, [fp, #-48]
	and	r3, r3, #255
	strb	r3, [fp, #-19]
	ldr	r3, [fp, #-48]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-18]
	ldr	r3, [fp, #-44]
	and	r3, r3, #255
	strb	r3, [fp, #-17]
	ldr	r3, [fp, #-44]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	and	r3, r3, #255
	strb	r3, [fp, #-15]
	ldr	r3, [fp, #-40]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-14]
	ldr	r3, [fp, #-36]
	and	r3, r3, #255
	strb	r3, [fp, #-13]
	ldr	r3, [fp, #-36]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-12]
	mov	r3, #0
	strb	r3, [fp, #-11]
	sub	r0, fp, #20
	ldr	r3, [fp, #-64]
	mov	r2, #1
	mov	r1, #10
	bl	fwrite
	ldr	r3, .L146+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mul	r3, r2, r3
	mov	r2, r3
	mov	r1, #0
	bl	memset
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	drawside
	ldr	r3, .L146+20
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-36]
	mul	r1, r2, r3
	ldr	r3, [fp, #-64]
	mov	r2, #3
	bl	writelzw
	nop
	ldr	r3, .L146
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L145
	bl	__stack_chk_fail
.L145:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L147:
	.align	2
.L146:
	.word	.LC1
	.word	3000
	.word	bx
	.word	by
	.word	bpitch
	.word	b
	.size	writeframe, .-writeframe
	.global	__aeabi_dsub
	.global	__aeabi_ddiv
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC2:
	.ascii	"wb\000"
	.align	2
.LC3:
	.ascii	"udmfvis.gif\000"
	.align	2
.LC4:
	.ascii	"couldn't open output: %s\012\000"
	.align	2
.LC7:
	.ascii	"\015 progress: %d / %d\000"
	.align	2
.LC5:
	.ascii	"!\377\013NETSCAPE2.0\003\001\000\000\000"
	.align	2
.LC6:
	.ascii	"!\371\004\004\002\000\000\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mkanim
	.syntax unified
	.arm
	.fpu softvfp
	.type	mkanim, %function
mkanim:
	@ args = 0, pretend = 0, frame = 176
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #176
	str	r0, [fp, #-200]
	ldr	r3, .L180
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #8
	str	r3, [fp, #-168]
	ldr	r3, .L180+4
	ldr	r3, [r3]
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	ldr	r3, .L180+4
	ldr	r3, [r3]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r1, r2
	str	r1, [fp, #-148]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-144]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	mov	r3, #0
	str	r3, [fp, #-192]
	b	.L149
.L158:
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L150
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
.L150:
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L152
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
.L152:
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r6, r2
	eor	r7, r3, #-2147483648
	mov	r2, r6
	mov	r3, r7
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L154
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r1, r2
	str	r1, [fp, #-148]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-144]
.L154:
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r8, r2
	eor	r9, r3, #-2147483648
	mov	r2, r8
	mov	r3, r9
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L156
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-192]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r1, r2
	str	r1, [fp, #-132]
	eor	r3, r3, #-2147483648
	str	r3, [fp, #-128]
.L156:
	ldr	r3, [fp, #-192]
	add	r3, r3, #1
	str	r3, [fp, #-192]
.L149:
	ldr	r3, .L180+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-192]
	cmp	r2, r3
	blt	.L158
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-124]
	str	r3, [fp, #-120]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-116]
	str	r3, [fp, #-112]
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
	sub	r1, fp, #124
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L178
	sub	r3, fp, #124
	ldmia	r3, {r2-r3}
	b	.L161
.L178:
	sub	r3, fp, #116
	ldmia	r3, {r2-r3}
.L161:
	str	r2, [fp, #-108]
	str	r3, [fp, #-104]
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #1
	ldr	r2, [fp, #-200]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #108
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #156
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-156]
	str	r3, [fp, #-152]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #148
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-148]
	str	r3, [fp, #-144]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #140
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-140]
	str	r3, [fp, #-136]
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-132]
	str	r3, [fp, #-128]
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	sub	r1, fp, #132
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-168]
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [fp, #-164]
	mov	r3, #0
	str	r3, [fp, #-188]
	b	.L162
.L163:
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #156
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-168]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L180+4
	ldr	r0, [r1]
	ldr	r1, [fp, #-188]
	lsl	r1, r1, #4
	add	r6, r0, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r6, {r2-r3}
	ldr	r3, .L180+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-188]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #148
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r0, [fp, #-168]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L180+4
	ldr	r0, [r1]
	ldr	r1, [fp, #-188]
	lsl	r1, r1, #4
	add	r6, r0, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r6, #8]
	str	r3, [r6, #12]
	ldr	r3, [fp, #-188]
	add	r3, r3, #1
	str	r3, [fp, #-188]
.L162:
	ldr	r3, .L180+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-188]
	cmp	r2, r3
	blt	.L163
	ldr	r1, .L180+12
	ldr	r0, .L180+16
	bl	fopen
	str	r0, [fp, #-160]
	ldr	r3, [fp, #-160]
	cmp	r3, #0
	bne	.L164
	ldr	r3, .L180+20
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L180+24
	mov	r0, r4
	bl	fprintf
	b	.L148
.L164:
	mov	r3, #71
	strb	r3, [fp, #-68]
	mov	r3, #73
	strb	r3, [fp, #-67]
	mov	r3, #70
	strb	r3, [fp, #-66]
	mov	r3, #56
	strb	r3, [fp, #-65]
	mov	r3, #57
	strb	r3, [fp, #-64]
	mov	r3, #97
	strb	r3, [fp, #-63]
	ldr	r3, [fp, #-200]
	and	r3, r3, #255
	strb	r3, [fp, #-62]
	ldr	r3, [fp, #-200]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-61]
	ldr	r3, [fp, #-164]
	and	r3, r3, #255
	strb	r3, [fp, #-60]
	ldr	r3, [fp, #-164]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-59]
	mvn	r3, #13
	strb	r3, [fp, #-58]
	mov	r3, #0
	strb	r3, [fp, #-57]
	mov	r3, #0
	strb	r3, [fp, #-56]
	sub	r0, fp, #68
	ldr	r3, [fp, #-160]
	mov	r2, #1
	mov	r1, #13
	bl	fwrite
	ldr	r3, [fp, #-160]
	mov	r2, #8
	mov	r1, #3
	ldr	r0, .L180+28
	bl	fwrite
	ldr	r3, .L180+32
	sub	ip, fp, #52
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	strh	r3, [ip]	@ movhi
	add	ip, ip, #2
	lsr	r3, r3, #16
	strb	r3, [ip]
	sub	r0, fp, #52
	ldr	r3, [fp, #-160]
	mov	r2, #1
	mov	r1, #19
	bl	fwrite
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-164]
	mul	r3, r2, r3
	mov	r1, #1
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L180+36
	str	r2, [r3]
	ldr	r2, .L180+40
	sub	r3, fp, #88
	ldm	r2, {r0, r1}
	stm	r3, {r0, r1}
	sub	r0, fp, #88
	ldr	r3, [fp, #-160]
	mov	r2, #1
	mov	r1, #8
	bl	fwrite
	mov	r3, #44
	strb	r3, [fp, #-80]
	mov	r3, #0
	strb	r3, [fp, #-79]
	mov	r3, #0
	strb	r3, [fp, #-78]
	mov	r3, #0
	strb	r3, [fp, #-77]
	mov	r3, #0
	strb	r3, [fp, #-76]
	ldr	r3, [fp, #-200]
	and	r3, r3, #255
	strb	r3, [fp, #-75]
	ldr	r3, [fp, #-200]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-74]
	ldr	r3, [fp, #-164]
	and	r3, r3, #255
	strb	r3, [fp, #-73]
	ldr	r3, [fp, #-164]
	asr	r3, r3, #8
	and	r3, r3, #255
	strb	r3, [fp, #-72]
	mov	r3, #0
	strb	r3, [fp, #-71]
	sub	r0, fp, #80
	ldr	r3, [fp, #-160]
	mov	r2, #1
	mov	r1, #10
	bl	fwrite
	ldr	r3, .L180+36
	ldr	r0, [r3]
	ldr	r3, [fp, #-200]
	ldr	r2, [fp, #-164]
	mul	r1, r2, r3
	ldr	r3, [fp, #-160]
	mov	r2, #3
	bl	writelzw
	mov	r3, #0
	str	r3, [fp, #-184]
	mvn	r3, #0
	str	r3, [fp, #-180]
	mov	r3, #0
	str	r3, [fp, #-176]
	b	.L166
.L171:
	mov	r3, #0
	str	r3, [fp, #-172]
	b	.L167
.L170:
	ldr	r3, .L180+44
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-184]
	ldr	r0, .L180+48
	bl	printf
	ldr	r3, [fp, #-184]
	add	r3, r3, #1
	str	r3, [fp, #-184]
	ldr	r3, .L180+52
	ldr	r2, [r3]
	ldr	r3, .L180+56
	ldr	r1, [r3]
	ldr	r3, .L180+60
	ldr	r0, [r3]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r0, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r3, [r3]
	mov	r0, r3
	mov	r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3, #4]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #20]
	cmp	r3, #0
	bne	.L179
	ldr	r3, .L180+60
	ldr	r2, [r3]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-160]
	ldr	r1, [fp, #-180]
	mov	r0, r3
	bl	writeframe
	ldr	r3, .L180+60
	ldr	r2, [r3]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-172]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-180]
	b	.L169
.L179:
	nop
.L169:
	ldr	r3, [fp, #-172]
	add	r3, r3, #1
	str	r3, [fp, #-172]
.L167:
	ldr	r3, .L180+60
	ldr	r2, [r3]
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	ldr	r2, [fp, #-172]
	cmp	r2, r3
	blt	.L170
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L166:
	ldr	r3, .L180+64
	ldr	r3, [r3]
	ldr	r2, [fp, #-176]
	cmp	r2, r3
	blt	.L171
	ldr	r3, .L180+44
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-184]
	ldr	r0, .L180+48
	bl	printf
	ldr	r2, [fp, #-160]
	ldr	r1, [fp, #-180]
	mvn	r0, #0
	bl	writeframe
	ldr	r3, .L180+36
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	mov	r0, #10
	bl	putchar
	ldr	r1, [fp, #-160]
	mov	r0, #59
	bl	fputc
	ldr	r0, [fp, #-160]
	bl	fclose
.L148:
	ldr	r3, .L180
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L172
	bl	__stack_chk_fail
.L172:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L181:
	.align	2
.L180:
	.word	.LC8
	.word	verts
	.word	nverts
	.word	.LC2
	.word	.LC3
	.word	stderr
	.word	.LC4
	.word	gifpal
	.word	.LC5
	.word	b
	.word	.LC6
	.word	nsides
	.word	.LC7
	.word	lines
	.word	sides
	.word	sectors
	.word	nsectors
	.size	mkanim, .-mkanim
	.section	.rodata
	.align	2
.LC9:
	.ascii	"vertex\000"
	.align	2
.LC10:
	.ascii	"linedef\000"
	.align	2
.LC11:
	.ascii	"sidedef\000"
	.align	2
.LC12:
	.ascii	"sector\000"
	.text
	.align	2
	.global	process_startblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_startblock, %function
process_startblock:
	@ 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	r1, .L196
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L183
	ldr	r3, .L196+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L184
	mov	r0, #16
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L196+4
	str	r2, [r3]
	b	.L185
.L184:
	ldr	r3, .L196+4
	ldr	r2, [r3]
	ldr	r3, .L196+8
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #4
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L196+4
	str	r3, [r2]
.L185:
	ldr	r3, .L196+4
	ldr	r2, [r3]
	ldr	r3, .L196+8
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L195
.L183:
	ldr	r1, .L196+12
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L187
	ldr	r3, .L196+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L188
	mov	r0, #24
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L196+16
	str	r2, [r3]
	b	.L189
.L188:
	ldr	r3, .L196+16
	ldr	r2, [r3]
	ldr	r3, .L196+20
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L196+16
	str	r3, [r2]
.L189:
	ldr	r3, .L196+16
	ldr	r2, [r3]
	ldr	r3, .L196+20
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #24
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, .L196+16
	ldr	r2, [r3]
	ldr	r3, .L196+20
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mvn	r2, #0
	str	r2, [r3, #16]
	b	.L195
.L187:
	ldr	r1, .L196+24
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L190
	ldr	r3, .L196+28
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L191
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L196+28
	str	r2, [r3]
	b	.L192
.L191:
	ldr	r3, .L196+28
	ldr	r2, [r3]
	ldr	r3, .L196+32
	ldr	r3, [r3]
	add	r3, r3, #1
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L196+28
	str	r3, [r2]
.L192:
	ldr	r3, .L196+28
	ldr	r2, [r3]
	ldr	r3, .L196+32
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, #20
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L195
.L190:
	ldr	r1, .L196+36
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L195
	ldr	r3, .L196+40
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L193
	mov	r0, #8
	bl	malloc
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L196+40
	str	r2, [r3]
	b	.L194
.L193:
	ldr	r3, .L196+40
	ldr	r2, [r3]
	ldr	r3, .L196+44
	ldr	r3, [r3]
	add	r3, r3, #1
	lsl	r3, r3, #3
	mov	r1, r3
	mov	r0, r2
	bl	realloc
	mov	r3, r0
	ldr	r2, .L196+40
	str	r3, [r2]
.L194:
	ldr	r3, .L196+40
	ldr	r2, [r3]
	ldr	r3, .L196+44
	ldr	r3, [r3]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
.L195:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L197:
	.align	2
.L196:
	.word	.LC9
	.word	verts
	.word	nverts
	.word	.LC10
	.word	lines
	.word	nlines
	.word	.LC11
	.word	sides
	.word	nsides
	.word	.LC12
	.word	sectors
	.word	nsectors
	.size	process_startblock, .-process_startblock
	.section	.rodata
	.align	2
.LC13:
	.ascii	"x\000"
	.align	2
.LC14:
	.ascii	"%lf\000"
	.align	2
.LC15:
	.ascii	"y\000"
	.align	2
.LC16:
	.ascii	"v1\000"
	.align	2
.LC17:
	.ascii	"%d\000"
	.align	2
.LC18:
	.ascii	"v2\000"
	.align	2
.LC19:
	.ascii	"sidefront\000"
	.align	2
.LC20:
	.ascii	"sideback\000"
	.align	2
.LC21:
	.ascii	"special\000"
	.text
	.align	2
	.global	process_assignment
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_assignment, %function
process_assignment:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r1, .L208
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L199
	ldr	r1, .L208+4
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L200
	ldr	r3, .L208+8
	ldr	r2, [r3]
	ldr	r3, .L208+12
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L208+16
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	b	.L207
.L200:
	ldr	r1, .L208+20
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L207
	ldr	r3, .L208+8
	ldr	r2, [r3]
	ldr	r3, .L208+12
	ldr	r3, [r3]
	lsl	r3, r3, #4
	add	r3, r2, r3
	add	r3, r3, #8
	mov	r2, r3
	ldr	r1, .L208+16
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	b	.L207
.L199:
	ldr	r1, .L208+24
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L202
	ldr	r1, .L208+28
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L203
	ldr	r3, .L208+32
	ldr	r2, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L208+40
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	b	.L207
.L203:
	ldr	r1, .L208+44
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L204
	ldr	r3, .L208+32
	ldr	r2, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L208+40
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	b	.L207
.L204:
	ldr	r1, .L208+48
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L205
	ldr	r3, .L208+32
	ldr	r2, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #12
	mov	r2, r3
	ldr	r1, .L208+40
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	b	.L207
.L205:
	ldr	r1, .L208+52
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L206
	ldr	r3, .L208+32
	ldr	r2, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	add	r3, r3, #16
	mov	r2, r3
	ldr	r1, .L208+40
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
	ldr	r3, .L208+32
	ldr	r2, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldr	r3, .L208+32
	ldr	r1, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r0, r3
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #3
	add	r3, r1, r3
	orr	r2, r2, #1
	str	r2, [r3, #8]
	b	.L207
.L206:
	ldr	r1, .L208+56
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L207
	ldr	r3, .L208+32
	ldr	r2, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #8]
	ldr	r3, .L208+32
	ldr	r1, [r3]
	ldr	r3, .L208+36
	ldr	r3, [r3]
	mov	r0, r3
	mov	r3, r0
	lsl	r3, r3, #1
	add	r3, r3, r0
	lsl	r3, r3, #3
	add	r3, r1, r3
	orr	r2, r2, #2
	str	r2, [r3, #8]
	b	.L207
.L202:
	ldr	r1, .L208+60
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L207
	ldr	r1, .L208+64
	ldr	r0, [fp, #-12]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L207
	ldr	r3, .L208+68
	ldr	r2, [r3]
	ldr	r3, .L208+72
	ldr	r3, [r3]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L208+40
	ldr	r0, [fp, #-16]
	bl	__isoc99_sscanf
.L207:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L209:
	.align	2
.L208:
	.word	.LC9
	.word	.LC13
	.word	verts
	.word	nverts
	.word	.LC14
	.word	.LC15
	.word	.LC10
	.word	.LC16
	.word	lines
	.word	nlines
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC11
	.word	.LC12
	.word	sides
	.word	nsides
	.size	process_assignment, .-process_assignment
	.align	2
	.global	process_endblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_endblock, %function
process_endblock:
	@ 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	r1, .L216
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L211
	ldr	r3, .L216+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L216+4
	str	r3, [r2]
	b	.L215
.L211:
	ldr	r1, .L216+8
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L213
	ldr	r3, .L216+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L216+12
	str	r3, [r2]
	b	.L215
.L213:
	ldr	r1, .L216+16
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L214
	ldr	r3, .L216+20
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L216+20
	str	r3, [r2]
	b	.L215
.L214:
	ldr	r1, .L216+24
	ldr	r0, [fp, #-8]
	bl	strcasecmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L215
	ldr	r3, .L216+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L216+28
	str	r3, [r2]
.L215:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L217:
	.align	2
.L216:
	.word	.LC9
	.word	nverts
	.word	.LC10
	.word	nlines
	.word	.LC11
	.word	nsides
	.word	.LC12
	.word	nsectors
	.size	process_endblock, .-process_endblock
	.section	.rodata
	.align	2
.LC22:
	.ascii	"usage: %s <textmap> [width]\012\000"
	.align	2
.LC23:
	.ascii	"rb\000"
	.align	2
.LC24:
	.ascii	"couldn't open textmap: %s\012\000"
	.align	2
.LC25:
	.ascii	"%[^ \011\012=/]\000"
	.align	2
.LC26:
	.ascii	"%[^;]\000"
	.align	2
.LC27:
	.ascii	"No valid map data found.\012\000"
	.align	2
.LC28:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 816
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #820
	str	r0, [fp, #-824]
	str	r1, [fp, #-828]
	ldr	r3, .L260
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-824]
	cmp	r3, #1
	bgt	.L219
	ldr	r3, .L260+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-828]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L260+8
	bl	fprintf
	mov	r3, #1
	b	.L257
.L219:
	ldr	r3, [fp, #-828]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L260+12
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-792]
	ldr	r3, [fp, #-792]
	cmp	r3, #0
	bne	.L221
	ldr	r3, .L260+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r0, r3
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L260+16
	mov	r0, r4
	bl	fprintf
	mov	r3, #2
	b	.L257
.L221:
	mov	r3, #0
	str	r3, [fp, #-812]
	mov	r3, #0
	str	r3, [fp, #-784]
	sub	r3, fp, #780
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-528]
	sub	r3, fp, #524
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	str	r3, [fp, #-272]
	sub	r3, fp, #268
	mov	r2, #252
	mov	r1, #0
	mov	r0, r3
	bl	memset
	b	.L222
.L237:
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	ldr	r3, [fp, #-816]
	cmp	r3, #47
	bne	.L223
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	ldr	r3, [fp, #-816]
	cmp	r3, #47
	bne	.L224
	nop
.L225:
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	ldr	r3, [fp, #-816]
	cmp	r3, #10
	bne	.L225
	b	.L223
.L224:
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	ldr	r3, [fp, #-816]
	cmp	r3, #42
	bne	.L223
	b	.L226
.L228:
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	ldr	r3, [fp, #-816]
	cmp	r3, #42
	beq	.L227
	b	.L226
.L227:
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	ldr	r3, [fp, #-816]
	cmp	r3, #47
	beq	.L259
.L226:
	ldr	r0, [fp, #-792]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L228
	b	.L223
.L259:
	nop
.L223:
	ldr	r3, [fp, #-816]
	cmp	r3, #32
	beq	.L222
	ldr	r3, [fp, #-816]
	cmp	r3, #9
	beq	.L222
	ldr	r3, [fp, #-816]
	cmp	r3, #10
	bne	.L230
	b	.L222
.L230:
	ldr	r3, [fp, #-812]
	cmp	r3, #2
	beq	.L231
	ldr	r3, [fp, #-812]
	cmp	r3, #2
	bgt	.L222
	ldr	r3, [fp, #-812]
	cmp	r3, #0
	beq	.L232
	ldr	r3, [fp, #-812]
	cmp	r3, #1
	beq	.L233
	b	.L222
.L232:
	ldr	r3, [fp, #-816]
	cmp	r3, #125
	bne	.L234
	sub	r3, fp, #272
	mov	r0, r3
	bl	process_endblock
	mov	r3, #0
	strb	r3, [fp, #-272]
	b	.L222
.L234:
	mov	r2, #1
	mvn	r1, #0
	ldr	r0, [fp, #-792]
	bl	fseek
	sub	r3, fp, #784
	mov	r2, r3
	ldr	r1, .L260+20
	ldr	r0, [fp, #-792]
	bl	__isoc99_fscanf
	mov	r3, #1
	str	r3, [fp, #-812]
	b	.L222
.L233:
	ldr	r3, [fp, #-816]
	cmp	r3, #61
	bne	.L235
	mov	r3, #2
	str	r3, [fp, #-812]
	b	.L222
.L235:
	ldr	r3, [fp, #-816]
	cmp	r3, #123
	bne	.L222
	sub	r2, fp, #784
	sub	r3, fp, #272
	mov	r1, r2
	mov	r0, r3
	bl	strcpy
	sub	r3, fp, #272
	mov	r0, r3
	bl	process_startblock
	mov	r3, #0
	str	r3, [fp, #-812]
	b	.L222
.L231:
	mov	r2, #1
	mvn	r1, #0
	ldr	r0, [fp, #-792]
	bl	fseek
	sub	r3, fp, #528
	mov	r2, r3
	ldr	r1, .L260+24
	ldr	r0, [fp, #-792]
	bl	__isoc99_fscanf
	sub	r2, fp, #528
	sub	r1, fp, #784
	sub	r3, fp, #272
	mov	r0, r3
	bl	process_assignment
	ldr	r0, [fp, #-792]
	bl	fgetc
	str	r0, [fp, #-816]
	mov	r3, #0
	str	r3, [fp, #-812]
	nop
.L222:
	ldr	r0, [fp, #-792]
	bl	feof
	mov	r3, r0
	cmp	r3, #0
	beq	.L237
	ldr	r0, [fp, #-792]
	bl	fclose
	ldr	r3, .L260+28
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L238
	ldr	r3, .L260+32
	ldr	r3, [r3]
	cmp	r3, #0
	ble	.L238
	ldr	r3, .L260+36
	ldr	r3, [r3]
	cmp	r3, #0
	bgt	.L239
.L238:
	ldr	r3, .L260+4
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L260+40
	bl	fwrite
	mov	r3, #4
	b	.L257
.L239:
	mov	r3, #0
	str	r3, [fp, #-808]
	b	.L240
.L242:
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L260+48
	ldr	r0, [r3]
	ldr	r3, .L260+44
	ldr	ip, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r3, [r3, #12]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r1]
	str	r2, [r3, #8]
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L260+48
	ldr	r0, [r3]
	ldr	r3, .L260+44
	ldr	ip, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r3, [r3, #12]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r1, #4]
	str	r2, [r3, #12]
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L260+48
	ldr	r0, [r3]
	ldr	r3, .L260+44
	ldr	ip, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r3, [r3, #12]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r1, #8]
	str	r2, [r3, #16]
	ldr	r3, .L260+48
	ldr	r1, [r3]
	ldr	r3, .L260+44
	ldr	r0, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #12]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-808]
	str	r2, [r3, #4]
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldr	r3, [r3, #16]
	cmn	r3, #1
	beq	.L241
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L260+48
	ldr	r0, [r3]
	ldr	r3, .L260+44
	ldr	ip, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r3, [r3, #16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r1, #4]
	str	r2, [r3, #8]
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L260+48
	ldr	r0, [r3]
	ldr	r3, .L260+44
	ldr	ip, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r3, [r3, #16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r1]
	str	r2, [r3, #12]
	ldr	r3, .L260+44
	ldr	r1, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	ldr	r3, .L260+48
	ldr	r0, [r3]
	ldr	r3, .L260+44
	ldr	ip, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	ldr	r3, [r3, #16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r0, r3
	ldr	r2, [r1, #8]
	str	r2, [r3, #16]
	ldr	r3, .L260+48
	ldr	r1, [r3]
	ldr	r3, .L260+44
	ldr	r0, [r3]
	ldr	r2, [fp, #-808]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r0, r3
	ldr	r3, [r3, #16]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-808]
	str	r2, [r3, #4]
.L241:
	ldr	r3, [fp, #-808]
	add	r3, r3, #1
	str	r3, [fp, #-808]
.L240:
	ldr	r3, .L260+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-808]
	cmp	r2, r3
	blt	.L242
	mov	r3, #0
	str	r3, [fp, #-804]
	b	.L243
.L246:
	ldr	r3, .L260+48
	ldr	r1, [r3]
	ldr	r2, [fp, #-804]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	str	r3, [fp, #-788]
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L244
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r4, r2, r3
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	b	.L245
.L244:
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r0, [r3]
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3, #4]
	add	r3, r3, #1
	lsl	r1, r3, #2
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r4, r2, r3
	bl	realloc
	mov	r3, r0
	str	r3, [r4]
.L245:
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r1, [r3]
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-788]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r2, [r3, #4]
	add	r0, r2, #1
	str	r0, [r3, #4]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r2, [fp, #-804]
	str	r2, [r3]
	ldr	r3, [fp, #-804]
	add	r3, r3, #1
	str	r3, [fp, #-804]
.L243:
	ldr	r3, .L260+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-804]
	cmp	r2, r3
	blt	.L246
	mov	r3, #0
	str	r3, [fp, #-800]
	b	.L247
.L248:
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-800]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r0, r3
	bl	sort_sector
	ldr	r3, [fp, #-800]
	add	r3, r3, #1
	str	r3, [fp, #-800]
.L247:
	ldr	r3, .L260+56
	ldr	r3, [r3]
	ldr	r2, [fp, #-800]
	cmp	r2, r3
	blt	.L248
	mov	r3, #1024
	str	r3, [fp, #-820]
	ldr	r3, [fp, #-824]
	cmp	r3, #2
	ble	.L249
	ldr	r3, [fp, #-828]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r2, fp, #820
	ldr	r1, .L260+60
	mov	r0, r3
	bl	__isoc99_sscanf
.L249:
	ldr	r3, [fp, #-820]
	mov	r0, r3
	bl	mkanim
	ldr	r3, .L260+64
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L250
	ldr	r3, .L260+64
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L250:
	ldr	r3, .L260+44
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L251
	ldr	r3, .L260+44
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L251:
	ldr	r3, .L260+48
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L252
	ldr	r3, .L260+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L252:
	ldr	r3, .L260+52
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L253
	mov	r3, #0
	str	r3, [fp, #-796]
	b	.L254
.L256:
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L255
	ldr	r3, .L260+52
	ldr	r2, [r3]
	ldr	r3, [fp, #-796]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L255:
	ldr	r3, [fp, #-796]
	add	r3, r3, #1
	str	r3, [fp, #-796]
.L254:
	ldr	r3, .L260+56
	ldr	r3, [r3]
	ldr	r2, [fp, #-796]
	cmp	r2, r3
	blt	.L256
	ldr	r3, .L260+52
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L253:
	mov	r3, #0
.L257:
	ldr	r2, .L260
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L258
	bl	__stack_chk_fail
.L258:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L261:
	.align	2
.L260:
	.word	.LC28
	.word	stderr
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	nverts
	.word	nlines
	.word	nsides
	.word	.LC27
	.word	lines
	.word	sides
	.word	sectors
	.word	nsectors
	.word	.LC17
	.word	verts
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
