	.file	"21547.c"
	.intel_syntax noprefix
	.text
	.globl	version
	.data
	.align 32
	.type	version, @object
	.size	version, 51
version:
	.string	"HyperSpace Express Ncube version 1.8 (1991 Sep 20)"
	.globl	copyright
	.align 32
	.type	copyright, @object
	.size	copyright, 51
copyright:
	.string	"Copyright (c) 1991 Stephen Savitzky.  MIT License."
	.globl	company
	.align 32
	.type	company, @object
	.size	company, 32
company:
	.string	"A product of HyperSpace Express"
	.globl	address
	.align 16
	.type	address, @object
	.size	address, 24
address:
	.string	"somewhere in hyperspace"
	.globl	winX
	.bss
	.align 4
	.type	winX, @object
	.size	winX, 4
winX:
	.zero	4
	.globl	winY
	.align 4
	.type	winY, @object
	.size	winY, 4
winY:
	.zero	4
	.globl	winW
	.align 4
	.type	winW, @object
	.size	winW, 4
winW:
	.zero	4
	.globl	winH
	.align 4
	.type	winH, @object
	.size	winH, 4
winH:
	.zero	4
	.globl	xoff
	.align 4
	.type	xoff, @object
	.size	xoff, 4
xoff:
	.zero	4
	.globl	yoff
	.align 4
	.type	yoff, @object
	.size	yoff, 4
yoff:
	.zero	4
	.globl	xfl
	.align 32
	.type	xfl, @object
	.size	xfl, 8000
xfl:
	.zero	8000
	.globl	xil
	.align 32
	.type	xil, @object
	.size	xil, 8000
xil:
	.zero	8000
	.globl	xif
	.align 16
	.type	xif, @object
	.size	xif, 20
xif:
	.zero	20
	.globl	xfs
	.align 2
	.type	xfs, @object
	.size	xfs, 2
xfs:
	.zero	2
	.globl	curxf
	.align 2
	.type	curxf, @object
	.size	curxf, 2
curxf:
	.zero	2
	.globl	rotx
	.align 32
	.type	rotx, @object
	.size	rotx, 800
rotx:
	.zero	800
	.globl	curx
	.align 32
	.type	curx, @object
	.size	curx, 800
curx:
	.zero	800
	.globl	figx
	.align 32
	.type	figx, @object
	.size	figx, 800
figx:
	.zero	800
	.globl	tx
	.align 32
	.type	tx, @object
	.size	tx, 800
tx:
	.zero	800
	.globl	tx1
	.align 32
	.type	tx1, @object
	.size	tx1, 800
tx1:
	.zero	800
	.globl	xtl
	.align 32
	.type	xtl, @object
	.size	xtl, 1600
xtl:
	.zero	1600
	.globl	viewx
	.align 32
	.type	viewx, @object
	.size	viewx, 800
viewx:
	.zero	800
	.globl	viewl
	.align 32
	.type	viewl, @object
	.size	viewl, 800
viewl:
	.zero	800
	.globl	viewr
	.align 32
	.type	viewr, @object
	.size	viewr, 800
viewr:
	.zero	800
	.globl	radius
	.align 8
	.type	radius, @object
	.size	radius, 8
radius:
	.zero	8
	.globl	sangle
	.align 8
	.type	sangle, @object
	.size	sangle, 8
sangle:
	.zero	8
	.globl	vangle
	.align 8
	.type	vangle, @object
	.size	vangle, 8
vangle:
	.zero	8
	.globl	Sscale
	.align 8
	.type	Sscale, @object
	.size	Sscale, 8
Sscale:
	.zero	8
	.globl	figure
	.align 8
	.type	figure, @object
	.size	figure, 8
figure:
	.zero	8
	.local	figbuf
	.comm	figbuf,256,32
	.globl	dim
	.data
	.align 4
	.type	dim, @object
	.size	dim, 4
dim:
	.long	4
	.globl	vertices
	.bss
	.align 2
	.type	vertices, @object
	.size	vertices, 2
vertices:
	.zero	2
	.globl	vertex
	.align 8
	.type	vertex, @object
	.size	vertex, 8
vertex:
	.zero	8
	.globl	edges
	.align 2
	.type	edges, @object
	.size	edges, 2
edges:
	.zero	2
	.globl	edge
	.align 8
	.type	edge, @object
	.size	edge, 8
edge:
	.zero	8
	.globl	buf
	.data
	.align 4
	.type	buf, @object
	.size	buf, 4
buf:
	.long	1
	.globl	obuf
	.bss
	.align 4
	.type	obuf, @object
	.size	obuf, 4
obuf:
	.zero	4
	.globl	tail
	.data
	.align 4
	.type	tail, @object
	.size	tail, 4
tail:
	.long	1
	.globl	maxtail
	.align 4
	.type	maxtail, @object
	.size	maxtail, 4
maxtail:
	.long	100
	.globl	sEdge
	.bss
	.align 32
	.type	sEdge, @object
	.size	sEdge, 800
sEdge:
	.zero	800
	.globl	kFlag
	.align 2
	.type	kFlag, @object
	.size	kFlag, 2
kFlag:
	.zero	2
	.globl	pauseFlag
	.align 2
	.type	pauseFlag, @object
	.size	pauseFlag, 2
pauseFlag:
	.zero	2
	.globl	pTflag
	.align 2
	.type	pTflag, @object
	.size	pTflag, 2
pTflag:
	.zero	2
	.globl	pEflag
	.align 2
	.type	pEflag, @object
	.size	pEflag, 2
pEflag:
	.zero	2
	.globl	logoFlag
	.data
	.align 2
	.type	logoFlag, @object
	.size	logoFlag, 2
logoFlag:
	.value	1
	.globl	stereoFlag
	.bss
	.align 2
	.type	stereoFlag, @object
	.size	stereoFlag, 2
stereoFlag:
	.zero	2
	.globl	interFlag
	.data
	.align 2
	.type	interFlag, @object
	.size	interFlag, 2
interFlag:
	.value	1
	.globl	perspFlag
	.align 2
	.type	perspFlag, @object
	.size	perspFlag, 2
perspFlag:
	.value	1
	.globl	rvFlag
	.align 2
	.type	rvFlag, @object
	.size	rvFlag, 2
rvFlag:
	.value	1
	.globl	xorFlag
	.bss
	.align 2
	.type	xorFlag, @object
	.size	xorFlag, 2
xorFlag:
	.zero	2
	.globl	colorFlag
	.align 2
	.type	colorFlag, @object
	.size	colorFlag, 2
colorFlag:
	.zero	2
	.globl	drawn
	.align 2
	.type	drawn, @object
	.size	drawn, 2
drawn:
	.zero	2
	.globl	haveColorFlag
	.align 2
	.type	haveColorFlag, @object
	.size	haveColorFlag, 2
haveColorFlag:
	.zero	2
	.globl	maxColors
	.data
	.align 2
	.type	maxColors, @object
	.size	maxColors, 2
maxColors:
	.value	2
	.globl	avoidColors
	.align 2
	.type	avoidColors, @object
	.size	avoidColors, 2
avoidColors:
	.value	2
	.globl	theColor
	.bss
	.align 2
	.type	theColor, @object
	.size	theColor, 2
theColor:
	.zero	2
	.globl	red_Color
	.align 2
	.type	red_Color, @object
	.size	red_Color, 2
red_Color:
	.zero	2
	.globl	blue_Color
	.align 2
	.type	blue_Color, @object
	.size	blue_Color, 2
blue_Color:
	.zero	2
	.globl	keys
	.align 32
	.type	keys, @object
	.size	keys, 256
keys:
	.zero	256
	.globl	curKey
	.align 4
	.type	curKey, @object
	.size	curKey, 4
curKey:
	.zero	4
	.globl	cycles
	.align 4
	.type	cycles, @object
	.size	cycles, 4
cycles:
	.zero	4
	.globl	theTime
	.align 8
	.type	theTime, @object
	.size	theTime, 8
theTime:
	.zero	8
	.globl	nargs
	.align 4
	.type	nargs, @object
	.size	nargs, 4
nargs:
	.zero	4
	.globl	banner
	.section	.rodata
.LC0:
	.string	""
	.align 8
.LC1:
	.string	"         ___        ____   ___  "
	.align 8
.LC2:
	.string	"  /| /  /     /  /  /__/  /__   "
	.align 8
.LC3:
	.string	" / |/  /___  /__/ _/__/  /___   "
	.align 8
.LC4:
	.string	"Not to be included in any copyrighted anthology or collection"
	.align 8
.LC5:
	.string	"without the express written permission of the author."
	.align 8
.LC6:
	.string	"If you like this program, I'd be grateful for a $5 contribution."
	.align 8
.LC7:
	.string	"$20 will get you a disk with sources and more documentation."
	.align 8
.LC8:
	.string	"(Specify MS-DOS or Macintosh disk format.)"
.LC9:
	.string	"Type ESC to exit the program."
	.align 8
.LC10:
	.string	"For documentation use 'ncube -h' (piped to a printer or file to save it)"
	.section	.data.rel.local,"aw"
	.align 32
	.type	banner, @object
	.size	banner, 168
banner:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC0
	.quad	.LC0
	.quad	version
	.quad	company
	.quad	address
	.quad	.LC0
	.quad	copyright
	.quad	.LC4
	.quad	.LC5
	.quad	.LC0
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC0
	.quad	.LC9
	.quad	.LC10
	.quad	0
	.globl	ohelp
	.section	.rodata
	.align 8
.LC11:
	.string	"command line:                                                        "
	.align 8
.LC12:
	.string	"    Options:  (N = any integer) (leading '-' optional)               "
	.align 8
.LC13:
	.string	"      -dN        N dimensions; 3 <= N <= 7; default 4                "
	.align 8
.LC14:
	.string	"      -c         toggle color mode                                   "
	.align 8
.LC15:
	.string	"      -h         help -- print this information, then exit           "
	.align 8
.LC16:
	.string	"      -i         toggle interactive mode (default OFF on PC, else ON)"
	.align 8
.LC17:
	.string	"      -k         kidproof -- require Ctrl-C to exit                  "
	.align 8
.LC18:
	.string	"      -l         suppress logos                                      "
	.align 8
.LC19:
	.string	"      -nN        number of 'ghost' images (max 50, def 1, -1 = all)  "
	.align 8
.LC20:
	.string	"      -pe        print edge (n-dimensional) coordinates each cycle   "
	.align 8
.LC21:
	.string	"      -ps        print screen (2-dimensional) edge coords each cycle "
	.align 8
.LC22:
	.string	"      -pt        print transform matrices at beginning (to stdout)   "
	.align 8
.LC23:
	.string	"      -rv        reverse video                                       "
	.align 8
.LC24:
	.string	"      -x         exclusive or for drawing (not available on PC)      "
	.align 8
.LC25:
	.string	"    Transform selection: (0 <= N <= 9 is xform #, default 0)         "
	.align 8
.LC26:
	.string	"       ,N        operate on next viewing transform                   "
	.align 8
.LC27:
	.string	"       +N        operate on next incremental transform (the default) "
	.align 8
.LC28:
	.string	"       .         clear current transform                             "
	.align 8
.LC29:
	.string	"       =         operate on the figure to be drawn                   "
	.align 8
.LC30:
	.string	"    Transform options:  (A, B in {x,y,z,t,u,v,w}; F = any float)     "
	.align 8
.LC31:
	.string	"       ABF       rotate by F degrees/cycle in the AB plane           "
	.align 8
.LC32:
	.string	"       AF        translate by F along the A axis                     "
	.align 8
.LC33:
	.string	"       AsF       scale A axis by F                                   "
	.align 8
.LC34:
	.string	"       ApF       perspective from distance F along A axis            "
	.align 8
.LC35:
	.string	"       pF        perspective angle of F degrees                      "
	.align 8
.LC36:
	.string	"       rr        random rotations about all axes (default)           "
	.align 8
.LC37:
	.string	"       sF        stereo angle F (F optional; s0 means monocular)     "
	.align 8
.LC38:
	.string	"       sc        stereo using red-blue glasses                       "
	.align 8
.LC39:
	.string	" Interactive mode: type any of the above commands followed by RET.   "
	.align 8
.LC40:
	.string	"                   Ctl-S to stop (pause), Ctl-Q to continue.         "
	.align 8
.LC41:
	.string	"    X Window System options:                                         "
	.align 8
.LC42:
	.string	"      -g geom    specify geometry (default 800x800)                  "
	.align 8
.LC43:
	.string	"      -d display specify display                                     "
	.align 8
.LC44:
	.string	"      -r         root window                                         "
	.align 8
.LC45:
	.string	" To Exit:                                                            "
	.align 8
.LC46:
	.string	"       Interactive mode: type ESC or 'Q' + RETURN                    "
	.align 8
.LC47:
	.string	"       Kidproof mode:    type Ctrl-C                                 "
	.align 8
.LC48:
	.string	"       Otherwise:        type any key                                "
	.section	.data.rel.local
	.align 32
	.type	ohelp, @object
	.size	ohelp, 488
ohelp:
	.quad	.LC0
	.quad	.LC1
	.quad	.LC2
	.quad	.LC3
	.quad	.LC0
	.quad	.LC0
	.quad	version
	.quad	company
	.quad	address
	.quad	.LC0
	.quad	copyright
	.quad	.LC4
	.quad	.LC5
	.quad	.LC0
	.quad	.LC6
	.quad	.LC7
	.quad	.LC8
	.quad	.LC0
	.quad	.LC11
	.quad	.LC12
	.quad	.LC13
	.quad	.LC14
	.quad	.LC15
	.quad	.LC16
	.quad	.LC17
	.quad	.LC18
	.quad	.LC19
	.quad	.LC20
	.quad	.LC21
	.quad	.LC22
	.quad	.LC23
	.quad	.LC24
	.quad	.LC25
	.quad	.LC26
	.quad	.LC27
	.quad	.LC28
	.quad	.LC29
	.quad	.LC30
	.quad	.LC31
	.quad	.LC32
	.quad	.LC33
	.quad	.LC34
	.quad	.LC35
	.quad	.LC36
	.quad	.LC37
	.quad	.LC38
	.quad	.LC0
	.quad	.LC39
	.quad	.LC40
	.quad	.LC0
	.quad	.LC41
	.quad	.LC42
	.quad	.LC43
	.quad	.LC44
	.quad	.LC0
	.quad	.LC45
	.quad	.LC46
	.quad	.LC47
	.quad	.LC48
	.quad	.LC0
	.quad	0
	.text
	.globl	prline
	.type	prline, @function
prline:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 40
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -40[rbp], rdi
	mov	eax, ecx
	mov	ecx, esi
	mov	BYTE PTR -44[rbp], cl
	mov	BYTE PTR -48[rbp], dl
	mov	BYTE PTR -52[rbp], al
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -44[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	r13d, eax
	mov	eax, 77
	sub	eax, r13d
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	r12d, eax
	mov	ebx, 0
	jmp	.L2
.L3:
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -48[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	add	ebx, 1
.L2:
	cmp	ebx, r12d
	jl	.L3
	mov	rdx, QWORD PTR stdout[rip]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	eax, 77
	sub	eax, r12d
	sub	eax, r13d
	mov	r12d, eax
	mov	ebx, 0
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -48[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	add	ebx, 1
.L4:
	cmp	ebx, r12d
	jl	.L5
	mov	rdx, QWORD PTR stdout[rip]
	movsx	eax, BYTE PTR -52[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	putc@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rsi, rax
	mov	edi, 10
	call	putc@PLT
	nop
	add	rsp, 40
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	prline, .-prline
	.globl	prbox
	.type	prbox, @function
prbox:
.LFB1:
	.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 -24[rbp], rdi
	mov	ecx, 92
	mov	edx, 61
	mov	esi, 47
	lea	rdi, version[rip]
	mov	eax, 0
	call	prline
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	mov	ecx, 124
	mov	edx, 32
	mov	esi, 124
	mov	rdi, rax
	mov	eax, 0
	call	prline
	add	QWORD PTR -24[rbp], 8
	add	DWORD PTR -4[rbp], 1
.L7:
	mov	rax, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L8
	jmp	.L9
.L10:
	mov	ecx, 124
	mov	edx, 32
	mov	esi, 124
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	prline
	add	DWORD PTR -4[rbp], 1
.L9:
	cmp	DWORD PTR -4[rbp], 20
	jle	.L10
	mov	ecx, 47
	mov	edx, 61
	mov	esi, 92
	lea	rdi, version[rip]
	mov	eax, 0
	call	prline
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	prbox, .-prbox
	.globl	Cat
	.type	Cat, @function
Cat:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	ebx, 0
	jmp	.L12
.L17:
	mov	r12d, 0
	jmp	.L13
.L16:
	pxor	xmm2, xmm2
	movapd	xmm5, xmm2
	mov	r13d, 0
	jmp	.L14
.L15:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movsx	rax, r13d
	movsd	xmm1, QWORD PTR [rdx+rax*8]
	movsx	rdx, r13d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movsx	rax, r12d
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mulsd	xmm0, xmm1
	movapd	xmm3, xmm5
	addsd	xmm0, xmm3
	movapd	xmm5, xmm0
	add	r13d, 1
.L14:
	mov	eax, DWORD PTR dim[rip]
	cmp	r13d, eax
	jle	.L15
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	add	rdx, rax
	movsx	rax, r12d
	movapd	xmm4, xmm5
	movsd	QWORD PTR [rdx+rax*8], xmm4
	add	r12d, 1
.L13:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jle	.L16
	add	ebx, 1
.L12:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L17
	nop
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	Cat, .-Cat
	.globl	CCat
	.type	CCat, @function
CCat:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	ebx, 0
	jmp	.L19
.L24:
	mov	r12d, 0
	jmp	.L20
.L23:
	pxor	xmm2, xmm2
	movapd	xmm5, xmm2
	mov	r13d, 0
	jmp	.L21
.L22:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movsx	rax, r13d
	movsd	xmm1, QWORD PTR [rdx+rax*8]
	movsx	rdx, r13d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movsx	rax, r12d
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mulsd	xmm0, xmm1
	movapd	xmm3, xmm5
	addsd	xmm0, xmm3
	movapd	xmm5, xmm0
	add	r13d, 1
.L21:
	mov	eax, DWORD PTR dim[rip]
	cmp	r13d, eax
	jle	.L22
	movsd	xmm0, QWORD PTR .LC50[rip]
	movapd	xmm4, xmm5
	mulsd	xmm0, xmm4
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	cvttsd2si	rdx, xmm0
	movsx	rax, r12d
	mov	QWORD PTR [rcx+rax*8], rdx
	add	r12d, 1
.L20:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jle	.L23
	add	ebx, 1
.L19:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L24
	nop
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	CCat, .-CCat
	.globl	SCat
	.type	SCat, @function
SCat:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	ebx, 0
	jmp	.L26
.L31:
	mov	r12d, 0
	jmp	.L27
.L30:
	pxor	xmm2, xmm2
	movapd	xmm5, xmm2
	mov	r13d, 0
	jmp	.L28
.L29:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -32[rbp]
	add	rdx, rax
	movsx	rax, r13d
	movsd	xmm1, QWORD PTR [rdx+rax*8]
	movsx	rdx, r13d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rdx, rax
	movsx	rax, r12d
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mulsd	xmm0, xmm1
	movapd	xmm3, xmm5
	addsd	xmm0, xmm3
	movapd	xmm5, xmm0
	add	r13d, 1
.L28:
	mov	eax, DWORD PTR dim[rip]
	cmp	r13d, eax
	jle	.L29
	movsd	xmm0, QWORD PTR .LC50[rip]
	movapd	xmm4, xmm5
	mulsd	xmm0, xmm4
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -48[rbp]
	lea	rcx, [rdx+rax]
	cvttsd2si	rdx, xmm0
	movsx	rax, r12d
	mov	QWORD PTR [rcx+rax*8], rdx
	add	r12d, 1
.L27:
	cmp	r12d, 2
	jle	.L30
	add	ebx, 1
.L26:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L31
	nop
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	SCat, .-SCat
	.globl	Ident
	.type	Ident, @function
Ident:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -24[rbp], rdi
	mov	ebx, 0
	jmp	.L33
.L38:
	mov	r12d, 0
	jmp	.L34
.L37:
	cmp	ebx, r12d
	jne	.L35
	movsd	xmm0, QWORD PTR .LC51[rip]
	jmp	.L36
.L35:
	pxor	xmm0, xmm0
.L36:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movsx	rax, r12d
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	r12d, 1
.L34:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jle	.L37
	add	ebx, 1
.L33:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L38
	nop
	nop
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	Ident, .-Ident
	.globl	Rot
	.type	Rot, @function
Rot:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	movsd	QWORD PTR -32[rbp], xmm0
	mov	QWORD PTR -40[rbp], rdx
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Ident
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, tx[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -24[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -20[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	mov	eax, DWORD PTR -20[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -24[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, tx[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	edx, 800
	mov	rsi, rax
	lea	rdi, tx1[rip]
	call	memcpy@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, rax
	lea	rsi, tx1[rip]
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Cat
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	Rot, .-Rot
	.globl	Trans
	.type	Trans, @function
Trans:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	movsd	QWORD PTR -16[rbp], xmm0
	mov	QWORD PTR -24[rbp], rsi
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Ident
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 800
	mov	rsi, rax
	lea	rdi, tx1[rip]
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	lea	rsi, tx1[rip]
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Cat
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Trans, .-Trans
	.globl	Scale
	.type	Scale, @function
Scale:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -4[rbp], edi
	movsd	QWORD PTR -16[rbp], xmm0
	mov	QWORD PTR -24[rbp], rsi
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Ident
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, 800
	mov	rsi, rax
	lea	rdi, tx1[rip]
	call	memcpy@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	lea	rsi, tx1[rip]
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Cat
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Scale, .-Scale
	.globl	Persp
	.type	Persp, @function
Persp:
.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, 64
	mov	DWORD PTR -36[rbp], edi
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	QWORD PTR -56[rbp], xmm1
	mov	QWORD PTR -64[rbp], rsi
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR .LC53[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR .LC53[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR .LC53[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	lea	rdi, tx[rip]
	mov	eax, 0
	call	Ident
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR tx[rip+176], xmm0
	movsd	xmm0, QWORD PTR tx[rip+176]
	movsd	QWORD PTR tx[rip+88], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	lea	rax, tx[rip]
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	mov	eax, DWORD PTR dim[rip]
	mulsd	xmm0, QWORD PTR -56[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	add	rax, rcx
	lea	rdx, 0[0+rax*8]
	lea	rax, tx[rip]
	movsd	QWORD PTR [rdx+rax], xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	movsd	QWORD PTR tx[rip], xmm0
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, 800
	mov	rsi, rax
	lea	rdi, tx1[rip]
	call	memcpy@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rdx, rax
	lea	rsi, tx[rip]
	lea	rdi, tx1[rip]
	mov	eax, 0
	call	Cat
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Persp, .-Persp
	.globl	View
	.type	View, @function
View:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	QWORD PTR -16[rbp], rdi
	mov	QWORD PTR -24[rbp], rsi
	mov	QWORD PTR -32[rbp], rdx
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm5, xmm2
	mov	ebx, 1
	jmp	.L44
.L45:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	mulsd	xmm0, xmm1
	movapd	xmm3, xmm5
	addsd	xmm0, xmm3
	movapd	xmm5, xmm0
	add	ebx, 1
.L44:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L45
	movsd	xmm0, QWORD PTR Sscale[rip]
	movapd	xmm4, xmm5
	divsd	xmm0, xmm4
	movapd	xmm7, xmm0
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm5, QWORD PTR 8[rax]
	mov	ebx, 1
	jmp	.L46
.L47:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	mulsd	xmm0, xmm1
	movapd	xmm6, xmm5
	addsd	xmm0, xmm6
	movapd	xmm5, xmm0
	add	ebx, 1
.L46:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L47
	movapd	xmm1, xmm5
	mulsd	xmm1, xmm7
	mov	eax, DWORD PTR xoff[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -24[rbp]
	movsd	xmm2, QWORD PTR 16[rax]
	movapd	xmm5, xmm2
	mov	ebx, 1
	jmp	.L48
.L49:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	mulsd	xmm0, xmm1
	movapd	xmm3, xmm5
	addsd	xmm0, xmm3
	movapd	xmm5, xmm0
	add	ebx, 1
.L48:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L49
	movapd	xmm1, xmm5
	movapd	xmm4, xmm7
	mulsd	xmm1, xmm4
	mov	eax, DWORD PTR yoff[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	edx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	WORD PTR 2[rax], dx
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	View, .-View
	.globl	SView
	.type	SView, @function
SView:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	QWORD PTR -32[rbp], rdi
	mov	QWORD PTR -40[rbp], rsi
	mov	QWORD PTR -48[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	r12, QWORD PTR [rax]
	mov	ebx, 1
	jmp	.L51
.L52:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC50[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rcx, xmm0
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	imul	rax, rcx
	lea	rdx, 16383[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 14
	add	r12, rax
	add	ebx, 1
.L51:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L52
	movsd	xmm1, QWORD PTR Sscale[rip]
	movsd	xmm0, QWORD PTR .LC50[rip]
	mulsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, r12
	divsd	xmm0, xmm1
	cvttsd2si	r13, xmm0
	mov	rax, QWORD PTR -40[rbp]
	mov	r12, QWORD PTR 8[rax]
	mov	ebx, 1
	jmp	.L53
.L54:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC50[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rcx, xmm0
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 8[rax]
	imul	rax, rcx
	lea	rdx, 16383[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 14
	add	r12, rax
	add	ebx, 1
.L53:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L54
	mov	rax, r12
	imul	rax, r13
	lea	rdx, 16383[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 14
	mov	edx, eax
	mov	eax, DWORD PTR xoff[rip]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR [rax], dx
	mov	rax, QWORD PTR -40[rbp]
	mov	r12, QWORD PTR 16[rax]
	mov	ebx, 1
	jmp	.L55
.L56:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC50[rip]
	mulsd	xmm0, xmm1
	cvttsd2si	rcx, xmm0
	movsx	rdx, ebx
	mov	rax, rdx
	add	rax, rax
	add	rax, rdx
	sal	rax, 3
	mov	rdx, rax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR 16[rax]
	imul	rax, rcx
	lea	rdx, 16383[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 14
	add	r12, rax
	add	ebx, 1
.L55:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L56
	mov	rax, r12
	imul	rax, r13
	lea	rdx, 16383[rax]
	test	rax, rax
	cmovs	rax, rdx
	sar	rax, 14
	mov	edx, eax
	mov	eax, DWORD PTR yoff[rip]
	add	eax, edx
	mov	edx, eax
	mov	rax, QWORD PTR -48[rbp]
	mov	WORD PTR 2[rax], dx
	nop
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	SView, .-SView
	.globl	Transform
	.type	Transform, @function
Transform:
.LFB12:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	add	rsp, -128
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -120[rbp], rdi
	mov	QWORD PTR -128[rbp], rsi
	mov	QWORD PTR -136[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	ebx, 0
	jmp	.L58
.L61:
	mov	rax, QWORD PTR -128[rbp]
	movsx	rdx, ebx
	movsd	xmm2, QWORD PTR [rax+rdx*8]
	movapd	xmm7, xmm2
	mov	r12d, 1
	jmp	.L59
.L60:
	movsx	rax, r12d
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -120[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsx	rdx, r12d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -128[rbp]
	add	rdx, rax
	movsx	rax, ebx
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mulsd	xmm0, xmm1
	movapd	xmm3, xmm7
	addsd	xmm0, xmm3
	movapd	xmm7, xmm0
	add	r12d, 1
.L59:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jle	.L60
	movsx	rax, ebx
	movapd	xmm4, xmm7
	movsd	QWORD PTR -112[rbp+rax*8], xmm4
	add	ebx, 1
.L58:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L61
	movsd	xmm5, QWORD PTR -112[rbp]
	movapd	xmm7, xmm5
	mov	ebx, 0
	jmp	.L62
.L63:
	movsx	rax, ebx
	movsd	xmm0, QWORD PTR -112[rbp+rax*8]
	movsx	rax, ebx
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -136[rbp]
	add	rax, rdx
	movapd	xmm6, xmm7
	divsd	xmm0, xmm6
	movsd	QWORD PTR [rax], xmm0
	add	ebx, 1
.L62:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L63
	nop
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L64
	call	__stack_chk_fail@PLT
.L64:
	sub	rsp, -128
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE12:
	.size	Transform, .-Transform
	.local	sVert
	.comm	sVert,8,8
	.local	rVert
	.comm	rVert,8,8
	.local	stx
	.comm	stx,240,32
	.section	.rodata
	.align 8
.LC54:
	.string	"    line(%03d, %03d,  %03d, %03d)\n"
.LC55:
	.string	"    edge("
.LC56:
	.string	",\n         "
.LC57:
	.string	")"
	.text
	.globl	cycle
	.type	cycle, @function
cycle:
.LFB13:
	.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, 152
	.cfi_offset 3, -24
	mov	DWORD PTR -148[rbp], edi
	mov	DWORD PTR -152[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -152[rbp], 0
	jne	.L100
	lea	rax, xfl[rip]
	mov	QWORD PTR -128[rbp], rax
	lea	rax, xtl[rip]
	mov	QWORD PTR -120[rbp], rax
	mov	ebx, 1
	jmp	.L68
.L69:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xfl[rip]
	lea	rcx, [rax+rdx]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rax, QWORD PTR -128[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	Cat
	mov	rax, QWORD PTR -120[rbp]
	mov	QWORD PTR -128[rbp], rax
	movsx	rax, ebx
	and	eax, 1
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	mov	rdx, rax
	lea	rax, xtl[rip]
	add	rax, rdx
	mov	QWORD PTR -120[rbp], rax
	add	ebx, 1
.L68:
	movzx	eax, WORD PTR xfs[rip]
	cwde
	cmp	ebx, eax
	jl	.L69
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L70
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, stx[rip]
	lea	rsi, viewl[rip]
	mov	rdi, rax
	mov	eax, 0
	call	SCat
	jmp	.L71
.L70:
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, stx[rip]
	lea	rsi, viewx[rip]
	mov	rdi, rax
	mov	eax, 0
	call	SCat
.L71:
	movzx	eax, WORD PTR pTflag[rip]
	test	ax, ax
	je	.L72
	lea	rdi, tx[rip]
	mov	eax, 0
	call	xprint
.L72:
	mov	ebx, 0
	jmp	.L73
.L74:
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rdx, rax
	mov	rsi, QWORD PTR vertex[rip]
	movsx	rcx, ebx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	add	rax, rsi
	lea	rsi, stx[rip]
	mov	rdi, rax
	mov	eax, 0
	call	SView
	add	ebx, 1
.L73:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L74
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L75
	mov	eax, DWORD PTR xoff[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	WORD PTR -134[rbp], ax
	mov	rax, QWORD PTR -128[rbp]
	lea	rdx, stx[rip]
	lea	rsi, viewr[rip]
	mov	rdi, rax
	mov	eax, 0
	call	SCat
	mov	ebx, 0
	jmp	.L76
.L78:
	mov	rdx, QWORD PTR rVert[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rdx, rax
	mov	rsi, QWORD PTR vertex[rip]
	movsx	rcx, ebx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	add	rax, rsi
	lea	rsi, stx[rip]
	mov	rdi, rax
	mov	eax, 0
	call	SView
	movzx	eax, WORD PTR stereoFlag[rip]
	cmp	ax, 2
	je	.L77
	mov	rdx, QWORD PTR rVert[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR -134[rbp]
	add	edx, eax
	mov	rcx, QWORD PTR rVert[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rcx
	mov	WORD PTR [rax], dx
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	edx, eax
	movzx	eax, WORD PTR -134[rbp]
	sub	edx, eax
	mov	rcx, QWORD PTR sVert[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rcx
	mov	WORD PTR [rax], dx
.L77:
	add	ebx, 1
.L76:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L78
.L75:
	mov	ebx, 0
	jmp	.L79
.L81:
	movsx	rax, ebx
	lea	rdx, [rax+rax]
	lea	rax, xif[rip]
	movzx	eax, WORD PTR [rdx+rax]
	test	ax, ax
	je	.L80
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xfl[rip]
	add	rax, rdx
	mov	edx, 800
	mov	rsi, rax
	lea	rdi, tx1[rip]
	call	memcpy@PLT
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xfl[rip]
	add	rdx, rax
	movsx	rcx, ebx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rcx, 0[0+rax*4]
	add	rax, rcx
	sal	rax, 5
	lea	rcx, xil[rip]
	add	rax, rcx
	lea	rsi, tx1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	Cat
.L80:
	add	ebx, 1
.L79:
	movzx	eax, WORD PTR xfs[rip]
	cwde
	cmp	ebx, eax
	jl	.L81
	mov	eax, DWORD PTR buf[rip]
	lea	edx, 1[rax]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR buf[rip], eax
	mov	eax, DWORD PTR obuf[rip]
	lea	edx, 1[rax]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	mov	DWORD PTR obuf[rip], eax
	mov	ebx, 0
	jmp	.L82
.L83:
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -132[rbp], ax
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR -130[rbp], ax
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -132[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movsx	rdx, ebx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR [rdx], ax
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -132[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movsx	rdx, ebx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR 2[rdx], ax
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -130[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movsx	rdx, ebx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR 4[rdx], ax
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -130[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movsx	rdx, ebx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR 6[rdx], ax
	add	ebx, 1
.L82:
	movzx	eax, WORD PTR edges[rip]
	cwde
	cmp	ebx, eax
	jl	.L83
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L84
	mov	ebx, 0
	jmp	.L85
.L86:
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -132[rbp], ax
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, ebx
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR -130[rbp], ax
	mov	rdx, QWORD PTR rVert[rip]
	movsx	rax, WORD PTR -132[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movzx	edx, WORD PTR edges[rip]
	movsx	edx, dx
	add	edx, ebx
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR [rdx], ax
	mov	rdx, QWORD PTR rVert[rip]
	movsx	rax, WORD PTR -132[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movzx	edx, WORD PTR edges[rip]
	movsx	edx, dx
	add	edx, ebx
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR 2[rdx], ax
	mov	rdx, QWORD PTR rVert[rip]
	movsx	rax, WORD PTR -130[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movzx	edx, WORD PTR edges[rip]
	movsx	edx, dx
	add	edx, ebx
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR 4[rdx], ax
	mov	rdx, QWORD PTR rVert[rip]
	movsx	rax, WORD PTR -130[rbp]
	sal	rax, 2
	add	rax, rdx
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rcx, QWORD PTR [rcx+rdx]
	movzx	edx, WORD PTR edges[rip]
	movsx	edx, dx
	add	edx, ebx
	movsx	rdx, edx
	sal	rdx, 3
	add	rdx, rcx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR 6[rdx], ax
	add	ebx, 1
.L85:
	movzx	eax, WORD PTR edges[rip]
	cwde
	cmp	ebx, eax
	jl	.L86
.L84:
	mov	eax, DWORD PTR -148[rbp]
	and	eax, 3
	test	eax, eax
	je	.L101
	mov	ebx, 0
	jmp	.L87
.L90:
	mov	rdx, QWORD PTR edge[rip]
	movzx	eax, WORD PTR edges[rip]
	cwde
	add	eax, ebx
	cdqe
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	mov	WORD PTR -132[rbp], ax
	mov	rdx, QWORD PTR edge[rip]
	movzx	eax, WORD PTR edges[rip]
	cwde
	add	eax, ebx
	cdqe
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	mov	WORD PTR -130[rbp], ax
	mov	eax, DWORD PTR -148[rbp]
	and	eax, 1
	test	eax, eax
	je	.L88
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -130[rbp]
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	esi, ax
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -130[rbp]
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movsx	ecx, ax
	mov	rdx, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -132[rbp]
	sal	rax, 2
	add	rax, rdx
	movzx	eax, WORD PTR 2[rax]
	movsx	edx, ax
	mov	rdi, QWORD PTR sVert[rip]
	movsx	rax, WORD PTR -132[rbp]
	sal	rax, 2
	add	rax, rdi
	movzx	eax, WORD PTR [rax]
	cwde
	mov	r8d, esi
	mov	esi, eax
	lea	rdi, .LC54[rip]
	mov	eax, 0
	call	printf@PLT
.L88:
	mov	eax, DWORD PTR -148[rbp]
	and	eax, 2
	test	eax, eax
	je	.L89
	lea	rdi, .LC55[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, WORD PTR -132[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rcx, rax
	lea	rax, -112[rbp]
	mov	rdx, rax
	lea	rsi, tx[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	Transform
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	vprint
	lea	rdi, .LC56[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, WORD PTR -130[rbp]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rcx, rax
	lea	rax, -112[rbp]
	mov	rdx, rax
	lea	rsi, tx[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	Transform
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	vprint
	lea	rdi, .LC57[rip]
	call	puts@PLT
.L89:
	add	ebx, 1
.L87:
	movzx	eax, WORD PTR edges[rip]
	cwde
	cmp	ebx, eax
	jl	.L90
	jmp	.L101
.L100:
	nop
	jmp	.L67
.L101:
	nop
.L67:
	movzx	eax, WORD PTR drawn[rip]
	test	ax, ax
	jne	.L91
	mov	ebx, DWORD PTR obuf[rip]
	jmp	.L92
.L95:
	lea	eax, 1[rbx]
	movsx	rdx, eax
	imul	rdx, rdx, 1374389535
	shr	rdx, 32
	sar	edx, 5
	mov	ecx, eax
	sar	ecx, 31
	mov	ebx, edx
	sub	ebx, ecx
	imul	edx, ebx, 100
	sub	eax, edx
	mov	ebx, eax
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L93
	movzx	eax, WORD PTR edges[rip]
	cwde
	add	eax, eax
	jmp	.L94
.L93:
	movzx	eax, WORD PTR edges[rip]
	cwde
.L94:
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	ecx, eax
	mov	esi, 0
	mov	edi, 0
	mov	eax, 0
	call	redraw@PLT
.L92:
	mov	eax, DWORD PTR buf[rip]
	cmp	ebx, eax
	jne	.L95
	mov	WORD PTR drawn[rip], 1
	jmp	.L96
.L91:
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L97
	movzx	eax, WORD PTR edges[rip]
	cwde
	add	eax, eax
	jmp	.L98
.L97:
	movzx	eax, WORD PTR edges[rip]
	cwde
.L98:
	mov	edx, DWORD PTR buf[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	rdx, QWORD PTR [rcx+rdx]
	mov	ecx, DWORD PTR obuf[rip]
	movsx	rcx, ecx
	lea	rsi, 0[0+rcx*8]
	lea	rcx, sEdge[rip]
	mov	rsi, QWORD PTR [rsi+rcx]
	mov	ecx, DWORD PTR tail[rip]
	not	ecx
	shr	ecx, 31
	movzx	edi, cl
	mov	ecx, eax
	mov	eax, 0
	call	redraw@PLT
.L96:
	nop
	mov	rsi, QWORD PTR -24[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L99
	call	__stack_chk_fail@PLT
.L99:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE13:
	.size	cycle, .-cycle
	.globl	xinit
	.type	xinit, @function
xinit:
.LFB14:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	r12, QWORD PTR -24[rbp]
	movzx	eax, BYTE PTR [r12]
	movsx	eax, al
	sub	eax, 46
	cmp	eax, 76
	ja	.L103
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L105[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L105[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L105:
	.long	.L112-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L111-.L105
	.long	.L110-.L105
	.long	.L109-.L105
	.long	.L108-.L105
	.long	.L107-.L105
	.long	.L106-.L105
	.long	.L104-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L103-.L105
	.long	.L111-.L105
	.long	.L110-.L105
	.long	.L109-.L105
	.long	.L108-.L105
	.long	.L107-.L105
	.long	.L106-.L105
	.long	.L104-.L105
	.text
.L112:
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	Ident
	nop
	jmp	.L102
.L107:
	mov	ebx, 1
	jmp	.L114
.L106:
	mov	ebx, 2
	jmp	.L114
.L104:
	mov	ebx, 3
	jmp	.L114
.L111:
	mov	ebx, 4
	jmp	.L114
.L110:
	mov	ebx, 5
	jmp	.L114
.L109:
	mov	ebx, 6
	jmp	.L114
.L108:
	mov	ebx, 7
.L114:
	lea	rax, 1[r12]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	sub	eax, 80
	cmp	eax, 42
	ja	.L115
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L117[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L117[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L117:
	.long	.L125-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L124-.L117
	.long	.L123-.L117
	.long	.L122-.L117
	.long	.L121-.L117
	.long	.L120-.L117
	.long	.L119-.L117
	.long	.L118-.L117
	.long	.L116-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L125-.L117
	.long	.L115-.L117
	.long	.L115-.L117
	.long	.L124-.L117
	.long	.L123-.L117
	.long	.L122-.L117
	.long	.L121-.L117
	.long	.L120-.L117
	.long	.L119-.L117
	.long	.L118-.L117
	.long	.L116-.L117
	.text
.L125:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	mov	ecx, eax
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR .LC58[rip]
	mov	esi, ecx
	movq	xmm0, rax
	mov	edi, ebx
	mov	eax, 1
	call	Persp
	jmp	.L126
.L124:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	esi, ecx
	mov	edi, ebx
	mov	eax, 0
	call	Scale
	jmp	.L126
.L119:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 1
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L118:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 2
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L116:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 3
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L123:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 4
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L122:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 5
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L121:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 6
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L120:
	lea	rax, 2[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rax, xmm1
	mov	rdx, QWORD PTR -32[rbp]
	movq	xmm0, rax
	mov	esi, 7
	mov	edi, ebx
	mov	eax, 1
	call	Rot
	jmp	.L126
.L115:
	lea	rax, 1[r12]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	mov	ecx, eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	mov	esi, ecx
	mov	edi, ebx
	mov	eax, 0
	call	Trans
.L126:
	mov	eax, 1
	jmp	.L102
.L103:
	mov	eax, 0
.L102:
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE14:
	.size	xinit, .-xinit
	.section	.rodata
.LC60:
	.string	"    ["
.LC61:
	.string	"%8.4f "
.LC62:
	.string	"]"
	.text
	.globl	xprint
	.type	xprint, @function
xprint:
.LFB15:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	QWORD PTR -24[rbp], rdi
	mov	ebx, 0
	jmp	.L129
.L132:
	lea	rdi, .LC60[rip]
	mov	eax, 0
	call	printf@PLT
	mov	r12d, 0
	jmp	.L130
.L131:
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	movsx	rax, r12d
	mov	rax, QWORD PTR [rdx+rax*8]
	movq	xmm0, rax
	lea	rdi, .LC61[rip]
	mov	eax, 1
	call	printf@PLT
	add	r12d, 1
.L130:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jle	.L131
	lea	rdi, .LC62[rip]
	call	puts@PLT
	add	ebx, 1
.L129:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jle	.L132
	nop
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE15:
	.size	xprint, .-xprint
	.section	.rodata
.LC63:
	.string	", "
.LC64:
	.string	"%7.4f%s"
	.text
	.globl	vprint
	.type	vprint, @function
vprint:
.LFB16:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -24[rbp], rdi
	mov	ebx, 0
	jmp	.L134
.L137:
	mov	eax, DWORD PTR dim[rip]
	sub	eax, 1
	cmp	ebx, eax
	jge	.L135
	lea	rax, .LC63[rip]
	jmp	.L136
.L135:
	lea	rax, .LC0[rip]
.L136:
	movsx	rdx, ebx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movsd	xmm0, QWORD PTR [rdx]
	mov	edx, DWORD PTR dim[rip]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	mov	rdx, QWORD PTR -24[rbp]
	add	rdx, rcx
	movsd	xmm1, QWORD PTR [rdx]
	divsd	xmm0, xmm1
	movq	rdx, xmm0
	mov	rsi, rax
	movq	xmm0, rdx
	lea	rdi, .LC64[rip]
	mov	eax, 1
	call	printf@PLT
	add	ebx, 1
.L134:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jl	.L137
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE16:
	.size	vprint, .-vprint
	.globl	initScale
	.type	initScale, @function
initScale:
.LFB17:
	.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 winW[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR xoff[rip], eax
	mov	eax, DWORD PTR winH[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR yoff[rip], eax
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L139
	mov	eax, DWORD PTR xoff[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR yoff[rip]
	cmp	edx, eax
	cmovle	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR Sscale[rip], xmm0
	jmp	.L141
.L139:
	mov	edx, DWORD PTR xoff[rip]
	mov	eax, DWORD PTR yoff[rip]
	cmp	edx, eax
	cmovle	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR Sscale[rip], xmm0
.L141:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE17:
	.size	initScale, .-initScale
	.globl	initXforms
	.type	initXforms, @function
initXforms:
.LFB18:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	WORD PTR curxf[rip], 0
	movzx	eax, WORD PTR curxf[rip]
	mov	WORD PTR xfs[rip], ax
	lea	rdi, figx[rip]
	mov	eax, 0
	call	Ident
	mov	eax, 0
	call	initScale
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE18:
	.size	initXforms, .-initXforms
	.globl	normalPersp
	.type	normalPersp, @function
normalPersp:
.LFB19:
	.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, 56
	.cfi_offset 3, -24
	movsd	QWORD PTR -56[rbp], xmm0
	mov	QWORD PTR -64[rbp], rdi
	movsd	xmm1, QWORD PTR radius[rip]
	movsd	xmm0, QWORD PTR .LC65[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	Ident
	mov	rax, QWORD PTR -64[rbp]
	lea	rbx, 160[rax]
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	cos@PLT
	movq	rax, xmm0
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 80
	movsd	xmm0, QWORD PTR 16[rbx]
	movsd	QWORD PTR 8[rax], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	mov	rax, QWORD PTR -64[rbp]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR dim[rip]
	mov	DWORD PTR -36[rbp], eax
	jmp	.L144
.L147:
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR [rdx+rax*8], xmm0
	mov	eax, DWORD PTR -36[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	mov	rdx, rax
	mov	rax, QWORD PTR -64[rbp]
	lea	rbx, [rdx+rax]
	mov	rax, QWORD PTR -56[rbp]
	movq	xmm0, rax
	call	sin@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	movsd	xmm0, QWORD PTR -24[rbp]
	pxor	xmm1, xmm1
	comisd	xmm0, xmm1
	jbe	.L145
	movsd	xmm0, QWORD PTR -32[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	divsd	xmm0, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -64[rbp]
	mov	edx, DWORD PTR -36[rbp]
	movsx	rdx, edx
	movsd	QWORD PTR [rax+rdx*8], xmm0
.L145:
	sub	DWORD PTR -36[rbp], 1
.L144:
	cmp	DWORD PTR -36[rbp], 2
	jg	.L147
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE19:
	.size	normalPersp, .-normalPersp
	.globl	stereoView
	.type	stereoView, @function
stereoView:
.LFB20:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, viewl[rip]
	lea	rdx, viewx[rip]
	mov	ecx, 100
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	movsd	xmm0, QWORD PTR sangle[rip]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	movq	rax, xmm0
	lea	rdx, viewl[rip]
	movq	xmm0, rax
	mov	esi, 3
	mov	edi, 1
	mov	eax, 1
	call	Rot
	lea	rax, viewr[rip]
	lea	rdx, viewx[rip]
	mov	ecx, 100
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	rax, QWORD PTR sangle[rip]
	lea	rdx, viewr[rip]
	movq	xmm0, rax
	mov	esi, 3
	mov	edi, 1
	mov	eax, 1
	call	Rot
	mov	eax, 0
	call	initScale
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE20:
	.size	stereoView, .-stereoView
	.globl	randomXform
	.type	randomXform, @function
randomXform:
.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, 16
	movzx	eax, WORD PTR curxf[rip]
	cwde
	mov	edi, eax
	mov	eax, 0
	call	useXform
	movzx	eax, WORD PTR curxf[rip]
	cwde
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, xif[rip]
	mov	WORD PTR [rdx+rax], 1
	mov	DWORD PTR -16[rbp], 1
	jmp	.L151
.L154:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -12[rbp], eax
	jmp	.L152
.L153:
	mov	eax, 0
	call	rand@PLT
	cdq
	shr	edx, 18
	add	eax, edx
	and	eax, 16383
	sub	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC66[rip]
	divsd	xmm0, xmm1
	movsd	xmm2, QWORD PTR .LC51[rip]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	movsd	xmm0, QWORD PTR .LC67[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movzx	eax, WORD PTR curxf[rip]
	cwde
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xil[rip]
	add	rdx, rax
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm1, xmm0
	movq	rsi, xmm1
	mov	ecx, DWORD PTR -12[rbp]
	mov	eax, DWORD PTR -16[rbp]
	movq	xmm0, rsi
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 1
	call	Rot
	add	DWORD PTR -12[rbp], 1
.L152:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L153
	add	DWORD PTR -16[rbp], 1
.L151:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L154
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE21:
	.size	randomXform, .-randomXform
	.globl	useXform
	.type	useXform, @function
useXform:
.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, 8
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	WORD PTR curxf[rip], ax
	jmp	.L156
.L157:
	movzx	eax, WORD PTR xfs[rip]
	add	eax, 1
	mov	WORD PTR xfs[rip], ax
	movzx	eax, WORD PTR curxf[rip]
	cwde
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, xif[rip]
	mov	WORD PTR [rdx+rax], 0
	movzx	eax, WORD PTR curxf[rip]
	cwde
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xfl[rip]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	Ident
	movzx	eax, WORD PTR curxf[rip]
	cwde
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xil[rip]
	add	rax, rdx
	mov	rdi, rax
	mov	eax, 0
	call	Ident
.L156:
	movzx	edx, WORD PTR curxf[rip]
	movzx	eax, WORD PTR xfs[rip]
	cmp	dx, ax
	jge	.L157
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE22:
	.size	useXform, .-useXform
	.globl	nextXform
	.type	nextXform, @function
nextXform:
.LFB23:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movzx	edx, WORD PTR curxf[rip]
	movzx	eax, WORD PTR xfs[rip]
	cmp	dx, ax
	jg	.L160
	movzx	eax, WORD PTR curxf[rip]
	add	eax, 1
	mov	WORD PTR curxf[rip], ax
.L160:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE23:
	.size	nextXform, .-nextXform
	.globl	initMemory
	.type	initMemory, @function
initMemory:
.LFB24:
	.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -28[rbp], edx
	cmp	DWORD PTR -20[rbp], 0
	je	.L162
	mov	rax, QWORD PTR vertex[rip]
	test	rax, rax
	je	.L163
	mov	rax, QWORD PTR vertex[rip]
	mov	rdi, rax
	call	free@PLT
.L163:
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 80
	mov	edi, eax
	mov	eax, 0
	call	calloc@PLT
	mov	QWORD PTR vertex[rip], rax
	mov	eax, DWORD PTR -20[rbp]
	mov	WORD PTR vertices[rip], ax
.L162:
	cmp	DWORD PTR -24[rbp], 0
	je	.L164
	mov	rax, QWORD PTR edge[rip]
	test	rax, rax
	je	.L165
	mov	rax, QWORD PTR edge[rip]
	mov	rdi, rax
	call	free@PLT
.L165:
	mov	eax, DWORD PTR -24[rbp]
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	calloc@PLT
	mov	QWORD PTR edge[rip], rax
	mov	eax, DWORD PTR -24[rbp]
	mov	WORD PTR edges[rip], ax
.L164:
	cmp	DWORD PTR -28[rbp], 0
	je	.L166
	mov	DWORD PTR -4[rbp], 0
	jmp	.L167
.L169:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sEdge[rip]
	mov	rax, QWORD PTR [rdx+rax]
	test	rax, rax
	je	.L168
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	lea	rax, sEdge[rip]
	mov	rax, QWORD PTR [rdx+rax]
	mov	rdi, rax
	call	free@PLT
.L168:
	movzx	eax, WORD PTR edges[rip]
	cwde
	add	eax, eax
	mov	esi, 8
	mov	edi, eax
	mov	eax, 0
	call	calloc@PLT
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*8]
	lea	rdx, sEdge[rip]
	mov	QWORD PTR [rcx+rdx], rax
	add	DWORD PTR -4[rbp], 1
.L167:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L169
	mov	rax, QWORD PTR sVert[rip]
	test	rax, rax
	je	.L170
	mov	rax, QWORD PTR sVert[rip]
	mov	rdi, rax
	call	free@PLT
.L170:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	calloc@PLT
	mov	QWORD PTR sVert[rip], rax
	mov	rax, QWORD PTR rVert[rip]
	test	rax, rax
	je	.L171
	mov	rax, QWORD PTR rVert[rip]
	mov	rdi, rax
	call	free@PLT
.L171:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	mov	esi, 4
	mov	edi, eax
	mov	eax, 0
	call	calloc@PLT
	mov	QWORD PTR rVert[rip], rax
.L166:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE24:
	.size	initMemory, .-initMemory
	.section	.rodata
	.align 8
.LC69:
	.string	"Computed edges = %d, actual = %d\n"
	.text
	.globl	initCube
	.type	initCube, @function
initCube:
.LFB25:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	eax, DWORD PTR dim[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	WORD PTR vertices[rip], ax
	movzx	eax, WORD PTR vertices[rip]
	movsx	edx, ax
	mov	eax, DWORD PTR dim[rip]
	imul	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	WORD PTR edges[rip], ax
	movzx	eax, WORD PTR edges[rip]
	movsx	ecx, ax
	movzx	eax, WORD PTR vertices[rip]
	cwde
	mov	edx, 100
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	initMemory
	mov	ebx, 0
	jmp	.L173
.L178:
	mov	r12d, 0
	jmp	.L174
.L177:
	mov	eax, ebx
	mov	ecx, r12d
	sar	eax, cl
	and	eax, 1
	test	eax, eax
	je	.L175
	movsd	xmm0, QWORD PTR .LC51[rip]
	jmp	.L176
.L175:
	movsd	xmm0, QWORD PTR .LC68[rip]
.L176:
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	eax, 1[r12]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	r12d, 1
.L174:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jl	.L177
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC51[rip]
	movsd	QWORD PTR [rax], xmm0
	add	ebx, 1
.L173:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L178
	mov	ebx, 0
	mov	r13d, 0
	jmp	.L179
.L183:
	mov	r12d, 0
	jmp	.L180
.L182:
	mov	eax, ebx
	mov	ecx, r12d
	sar	eax, cl
	and	eax, 1
	test	eax, eax
	jne	.L181
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, r13d
	sal	rax, 2
	add	rax, rdx
	mov	edx, ebx
	mov	WORD PTR [rax], dx
	mov	eax, 1
	mov	ecx, r12d
	sal	eax, cl
	mov	esi, eax
	mov	ecx, ebx
	mov	rdx, QWORD PTR edge[rip]
	mov	eax, r13d
	lea	r13d, 1[rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	or	esi, ecx
	mov	edx, esi
	mov	WORD PTR 2[rax], dx
.L181:
	add	r12d, 1
.L180:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jl	.L182
	add	ebx, 1
.L179:
	mov	eax, DWORD PTR dim[rip]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	cmp	ebx, eax
	jl	.L183
	movzx	eax, WORD PTR edges[rip]
	cwde
	cmp	r13d, eax
	je	.L184
	movzx	eax, WORD PTR edges[rip]
	movsx	edx, ax
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, r13d
	lea	rsi, .LC69[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L184:
	nop
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE25:
	.size	initCube, .-initCube
	.section	.rodata
	.align 8
.LC72:
	.string	"a = %f, b = %f, c = %f, d = %f\n"
	.align 8
.LC73:
	.string	"a2= %f, b2= %f, c2= %f, d2= %f\n"
	.text
	.globl	initSimplex
	.type	initSimplex, @function
initSimplex:
.LFB26:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	eax, DWORD PTR dim[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -72[rbp], xmm0
	mov	eax, DWORD PTR dim[rip]
	add	eax, 1
	mov	WORD PTR vertices[rip], ax
	movzx	eax, WORD PTR vertices[rip]
	cwde
	movzx	edx, WORD PTR vertices[rip]
	movsx	edx, dx
	sub	edx, 1
	imul	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	WORD PTR edges[rip], ax
	movzx	eax, WORD PTR edges[rip]
	movsx	ecx, ax
	movzx	eax, WORD PTR vertices[rip]
	cwde
	mov	edx, 100
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	initMemory
	movsd	xmm1, QWORD PTR -72[rbp]
	movsd	xmm0, QWORD PTR .LC51[rip]
	addsd	xmm1, xmm0
	movq	rax, xmm1
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC70[rip]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR .LC53[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -64[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC53[rip]
	movq	xmm1, rax
	divsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -56[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movapd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	mov	rax, QWORD PTR -72[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movsd	xmm1, QWORD PTR .LC71[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	mov	r12d, 0
	jmp	.L186
.L191:
	mov	ebx, 0
	jmp	.L187
.L190:
	cmp	r12d, ebx
	jne	.L188
	movsd	xmm0, QWORD PTR .LC51[rip]
	subsd	xmm0, QWORD PTR -40[rbp]
	jmp	.L189
.L188:
	movsd	xmm0, QWORD PTR -40[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
.L189:
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, r12d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	eax, 1[rbx]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	ebx, 1
.L187:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jl	.L190
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, r12d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC51[rip]
	movsd	QWORD PTR [rax], xmm0
	add	r12d, 1
.L186:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	sub	eax, 1
	cmp	r12d, eax
	jl	.L191
	mov	ebx, 0
	jmp	.L192
.L193:
	movsd	xmm0, QWORD PTR -48[rbp]
	movq	xmm1, QWORD PTR .LC52[rip]
	xorpd	xmm0, xmm1
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, r12d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	eax, 1[rbx]
	subsd	xmm0, QWORD PTR -40[rbp]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	ebx, 1
.L192:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jl	.L193
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, r12d
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC51[rip]
	movsd	QWORD PTR [rax], xmm0
	movsd	xmm2, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -64[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC72[rip]
	mov	eax, 4
	call	printf@PLT
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm3, xmm0
	mulsd	xmm3, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	mulsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	mulsd	xmm0, xmm0
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC73[rip]
	mov	eax, 4
	call	printf@PLT
	mov	r12d, 0
	mov	r13d, 0
	jmp	.L194
.L197:
	lea	ebx, 1[r12]
	jmp	.L195
.L196:
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, r13d
	sal	rax, 2
	add	rax, rdx
	mov	edx, r12d
	mov	WORD PTR [rax], dx
	mov	rdx, QWORD PTR edge[rip]
	mov	eax, r13d
	lea	r13d, 1[rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, ebx
	mov	WORD PTR 2[rax], dx
	add	ebx, 1
.L195:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L196
	add	r12d, 1
.L194:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	sub	eax, 1
	cmp	r12d, eax
	jl	.L197
	nop
	nop
	add	rsp, 56
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE26:
	.size	initSimplex, .-initSimplex
	.globl	initKite
	.type	initKite, @function
initKite:
.LFB27:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r13
	push	r12
	push	rbx
	sub	rsp, 8
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	mov	eax, DWORD PTR dim[rip]
	add	eax, eax
	mov	WORD PTR vertices[rip], ax
	movzx	eax, WORD PTR vertices[rip]
	cwde
	movzx	edx, WORD PTR vertices[rip]
	movsx	edx, dx
	sub	edx, 2
	imul	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	WORD PTR edges[rip], ax
	movzx	eax, WORD PTR edges[rip]
	movsx	ecx, ax
	movzx	eax, WORD PTR vertices[rip]
	cwde
	mov	edx, 100
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	initMemory
	mov	r12d, 0
	jmp	.L199
.L208:
	mov	ebx, 0
	jmp	.L200
.L203:
	cmp	r12d, ebx
	jne	.L201
	movsd	xmm0, QWORD PTR .LC51[rip]
	jmp	.L202
.L201:
	pxor	xmm0, xmm0
.L202:
	mov	rcx, QWORD PTR vertex[rip]
	lea	eax, [r12+r12]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	eax, 1[rbx]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	ebx, 1
.L200:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jl	.L203
	mov	rcx, QWORD PTR vertex[rip]
	lea	eax, [r12+r12]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC51[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	ebx, 0
	jmp	.L204
.L207:
	cmp	r12d, ebx
	jne	.L205
	movsd	xmm0, QWORD PTR .LC68[rip]
	jmp	.L206
.L205:
	pxor	xmm0, xmm0
.L206:
	mov	rcx, QWORD PTR vertex[rip]
	lea	eax, [r12+r12]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	lea	eax, 1[rbx]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	ebx, 1
.L204:
	mov	eax, DWORD PTR dim[rip]
	cmp	ebx, eax
	jl	.L207
	mov	rcx, QWORD PTR vertex[rip]
	lea	eax, [r12+r12]
	cdqe
	lea	rdx, 1[rax]
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC51[rip]
	movsd	QWORD PTR [rax], xmm0
	add	r12d, 1
.L199:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jl	.L208
	mov	r12d, 0
	mov	r13d, 0
	jmp	.L209
.L212:
	lea	ebx, 2[r12]
	jmp	.L210
.L211:
	mov	rdx, QWORD PTR edge[rip]
	movsx	rax, r13d
	sal	rax, 2
	add	rax, rdx
	mov	edx, r12d
	mov	WORD PTR [rax], dx
	mov	rdx, QWORD PTR edge[rip]
	mov	eax, r13d
	lea	r13d, 1[rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, ebx
	mov	WORD PTR 2[rax], dx
	mov	eax, r12d
	lea	edx, 1[rax]
	mov	rcx, QWORD PTR edge[rip]
	movsx	rax, r13d
	sal	rax, 2
	add	rax, rcx
	mov	WORD PTR [rax], dx
	mov	rdx, QWORD PTR edge[rip]
	mov	eax, r13d
	lea	r13d, 1[rax]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	edx, ebx
	mov	WORD PTR 2[rax], dx
	add	ebx, 1
.L210:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L211
	add	r12d, 2
.L209:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	sub	eax, 2
	cmp	r12d, eax
	jl	.L212
	nop
	nop
	add	rsp, 8
	pop	rbx
	pop	r12
	pop	r13
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE27:
	.size	initKite, .-initKite
	.section	.rodata
.LC74:
	.string	"r"
.LC75:
	.string	"Cannot open input file %s\n"
.LC76:
	.string	"%d "
.LC77:
	.string	"Vertices: %d\n"
.LC78:
	.string	"%lg "
.LC79:
	.string	"Edges: %d\n"
.LC80:
	.string	"%d %d "
	.align 8
.LC81:
	.string	"Only %d fields reading edge %d\n"
	.text
	.globl	initFile
	.type	initFile, @function
initFile:
.LFB28:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC74[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L214
	mov	rdx, QWORD PTR figure[rip]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC75[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, 0
	call	initCube
	jmp	.L213
.L214:
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	cmp	eax, 1
	jne	.L216
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC77[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	WORD PTR vertices[rip], ax
	mov	DWORD PTR dim[rip], 4
	movzx	eax, WORD PTR vertices[rip]
	cwde
	mov	edx, 0
	mov	esi, 0
	mov	edi, eax
	mov	eax, 0
	call	initMemory
	mov	DWORD PTR -40[rbp], 0
	jmp	.L217
.L220:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L218
.L219:
	lea	rdx, -24[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC78[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	rcx, QWORD PTR vertex[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	movsd	xmm0, QWORD PTR -24[rbp]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	DWORD PTR -28[rbp], 1
.L218:
	mov	eax, DWORD PTR dim[rip]
	cmp	DWORD PTR -28[rbp], eax
	jl	.L219
	mov	rcx, QWORD PTR vertex[rip]
	mov	eax, DWORD PTR -40[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm0, QWORD PTR .LC51[rip]
	movsd	QWORD PTR [rax], xmm0
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
.L217:
	movzx	eax, WORD PTR vertices[rip]
	movsx	edx, ax
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jg	.L220
	lea	rdx, -40[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC76[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	esi, eax
	lea	rdi, .LC79[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -40[rbp]
	mov	WORD PTR edges[rip], ax
	movzx	eax, WORD PTR edges[rip]
	cwde
	mov	edx, 100
	mov	esi, eax
	mov	edi, 0
	mov	eax, 0
	call	initMemory
	mov	DWORD PTR -40[rbp], 0
	jmp	.L221
.L223:
	lea	rcx, -32[rbp]
	lea	rdx, -36[rbp]
	mov	rax, QWORD PTR -16[rbp]
	lea	rsi, .LC80[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_fscanf@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	edx, DWORD PTR -36[rbp]
	mov	rcx, QWORD PTR edge[rip]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	WORD PTR [rax], dx
	mov	edx, DWORD PTR -32[rbp]
	mov	rcx, QWORD PTR edge[rip]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 2
	add	rax, rcx
	mov	WORD PTR 2[rax], dx
	cmp	DWORD PTR -28[rbp], 2
	je	.L222
	mov	ecx, DWORD PTR -40[rbp]
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -28[rbp]
	lea	rsi, .LC81[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L222:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, 1
	mov	DWORD PTR -40[rbp], eax
.L221:
	movzx	eax, WORD PTR edges[rip]
	movsx	edx, ax
	mov	eax, DWORD PTR -40[rbp]
	cmp	edx, eax
	jg	.L223
	jmp	.L224
.L216:
	mov	eax, 0
	call	initCube
.L224:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	fclose@PLT
.L213:
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L225
	call	__stack_chk_fail@PLT
.L225:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE28:
	.size	initFile, .-initFile
	.section	.rodata
.LC82:
	.string	"cube"
.LC83:
	.string	"c"
.LC84:
	.string	"simplex"
.LC85:
	.string	"s"
.LC86:
	.string	"kite"
.LC87:
	.string	"k"
.LC88:
	.string	"cross"
	.text
	.globl	initFigure
	.type	initFigure, @function
initFigure:
.LFB29:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 16
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR figure[rip]
	test	rax, rax
	je	.L227
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC82[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L227
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC83[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L228
.L227:
	mov	eax, 0
	call	initCube
	jmp	.L229
.L228:
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC84[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L230
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC85[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L231
.L230:
	mov	eax, 0
	call	initSimplex
	jmp	.L229
.L231:
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC86[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L232
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC87[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L232
	mov	rax, QWORD PTR figure[rip]
	lea	rsi, .LC88[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L233
.L232:
	mov	eax, 0
	call	initKite
	jmp	.L229
.L233:
	mov	eax, 0
	call	initFile
.L229:
	pxor	xmm0, xmm0
	movsd	QWORD PTR radius[rip], xmm0
	mov	ebx, 1
	jmp	.L234
.L239:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	r12d, 1
	jmp	.L235
.L236:
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	movsx	rax, r12d
	movsd	xmm1, QWORD PTR [rdx+rax*8]
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	movsx	rax, r12d
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	add	r12d, 1
.L235:
	mov	eax, DWORD PTR dim[rip]
	cmp	r12d, eax
	jle	.L236
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	add	rax, rcx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm1, QWORD PTR radius[rip]
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, xmm1
	jbe	.L237
	movsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR radius[rip], xmm0
.L237:
	add	ebx, 1
.L234:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L239
	movzx	eax, WORD PTR perspFlag[rip]
	test	ax, ax
	je	.L240
	mov	rax, QWORD PTR vangle[rip]
	jmp	.L241
.L240:
	mov	rax, QWORD PTR .LC49[rip]
.L241:
	lea	rdi, viewx[rip]
	movq	xmm0, rax
	mov	eax, 1
	call	normalPersp
	nop
	add	rsp, 16
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE29:
	.size	initFigure, .-initFigure
	.globl	reInit
	.type	reInit, @function
reInit:
.LFB30:
	.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	eax, 0
	call	initFigure
	mov	eax, 0
	call	initXforms
	movzx	eax, WORD PTR perspFlag[rip]
	test	ax, ax
	je	.L244
	mov	rax, QWORD PTR vangle[rip]
	jmp	.L245
.L244:
	mov	rax, QWORD PTR .LC49[rip]
.L245:
	lea	rdi, viewx[rip]
	movq	xmm0, rax
	mov	eax, 1
	call	normalPersp
	movzx	eax, WORD PTR xfs[rip]
	test	ax, ax
	jne	.L246
	mov	eax, 0
	call	randomXform
.L246:
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L247
	mov	eax, 0
	call	stereoView
	jmp	.L248
.L247:
	mov	eax, 0
	call	initScale
.L248:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L249
.L250:
	mov	rcx, QWORD PTR vertex[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	mov	rsi, QWORD PTR vertex[rip]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	add	rax, rsi
	lea	rsi, figx[rip]
	mov	rdi, rax
	mov	eax, 0
	call	Transform
	add	DWORD PTR -4[rbp], 1
.L249:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	DWORD PTR -4[rbp], eax
	jl	.L250
	mov	WORD PTR drawn[rip], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE30:
	.size	reInit, .-reInit
	.globl	cleanup
	.type	cleanup, @function
cleanup:
.LFB31:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE31:
	.size	cleanup, .-cleanup
	.section	.rodata
	.align 8
.LC89:
	.string	"Total: %d rotation cycles; %.2f cycles/sec.\n"
.LC90:
	.string	"\nCurrent Transform:"
	.text
	.globl	quit
	.type	quit, @function
quit:
.LFB32:
	.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	eax, 0
	call	cleanup
	mov	edi, 0
	call	time@PLT
	mov	rdx, QWORD PTR theTime[rip]
	sub	rax, rdx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, rax
	movsd	QWORD PTR -8[rbp], xmm0
	mov	eax, DWORD PTR cycles[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	divsd	xmm0, QWORD PTR -8[rbp]
	movq	rdx, xmm0
	mov	eax, DWORD PTR cycles[rip]
	movq	xmm0, rdx
	mov	esi, eax
	lea	rdi, .LC89[rip]
	mov	eax, 1
	call	printf@PLT
	movzx	eax, WORD PTR pTflag[rip]
	test	ax, ax
	je	.L253
	lea	rdi, .LC90[rip]
	call	puts@PLT
.L253:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE32:
	.size	quit, .-quit
	.section	.rodata
.LC91:
	.string	"floating point exception\n"
	.text
	.globl	fpeHdlr
	.type	fpeHdlr, @function
fpeHdlr:
.LFB33:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 0
	call	cleanup
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 25
	mov	esi, 1
	lea	rdi, .LC91[rip]
	call	fwrite@PLT
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE33:
	.size	fpeHdlr, .-fpeHdlr
	.globl	ncube_bits
	.data
	.align 32
	.type	ncube_bits, @object
	.size	ncube_bits, 576
ncube_bits:
	.string	"\200\377\377\377\377\377\377\377\377\377\377\377\300\003"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\360\240\f"
	.string	")y\236\347y\236\347\001\254\2200\200\244$A\022$I\020\200\223\210\300\300c\236\347y\236'8`\210\204"
	.string	"#\021AP A\022\004\030\204\002"
	.string	"\220\210\340\211\236 y\036"
	.string	"\202\377\377\007"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\300\377\203\377\377\377\377\377\377\377\377\377\377\377\203\007"
	.string	""
	.string	"\001"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\f\340\203\007\001"
	.string	"\006"
	.string	""
	.string	""
	.string	""
	.string	"\200\003x\203\007\013"
	.string	"\030"
	.string	""
	.string	""
	.string	""
	.string	"`"
	.string	"\036\203\007\033"
	.string	"`"
	.string	""
	.string	""
	.string	""
	.string	"\030"
	.string	"\016\203\007\033\002\200\001"
	.string	""
	.string	""
	.string	"\0068\006\203\007\033;"
	.string	"\006"
	.string	""
	.string	"\300\001|\006\203\007\033\373"
	.string	"\030"
	.string	""
	.string	"0"
	.string	"f\006\203\0073\033\001`"
	.string	""
	.string	"\f0c\006\203\0073\031\035\200\001"
	.string	"\2030c\006\203\007\243\031\245"
	.string	"\376\377\2300c\006\203\007\243\031\205\007\001\300\2060c\006\203\007\343\030\205\210"
	.string	"\340\2020c\006\203\007\343\030\205\350\377\277\2020c\006\203\007c\030\205H"
	.string	"\220\2020#\006\203\007c\370\205H"
	.string	"\220\20203\006\203\377cx\234O"
	.string	"\220\2020\037~\203\377c\030\204B"
	.string	"P\2020\037~\203\007c\030\204B"
	.string	"0\20203\006\203\007c\030\204\304\377\037\2020#\006\203\007c\030\204$"
	.string	" \2020c\006\203\007c\030\204\b"
	.string	""
	.string	"\2020c\006\203\007c\030\204"
	.string	""
	.string	""
	.string	"\2060c\006\203\007c\030\204"
	.string	""
	.string	""
	.string	"\2300c\006\203\007c\0304"
	.string	""
	.string	""
	.string	"\2000c\006\203\007c\030\f"
	.string	""
	.string	""
	.string	"\2000c\006\203\007c\030"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"3c\006\203\007c\030"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"<c\006\203\007c\030"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\030c\006\203\007c\b"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"c\006\203\007c"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"f\006\203\007c\376\377\377\377\377\377\377|\006\373\007\003"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"0\006\203\007\003"
	.string	"^\306\363<\317\003"
	.string	"\006C\007\001"
	.string	"A!I\202 "
	.string	""
	.string	"\006#\007"
	.string	"\200\203\360<\307\363"
	.string	""
	.string	"\016\023\007"
	.string	"@@\t\212"
	.string	"A"
	.string	""
	.string	"<\013\007"
	.string	"\3401\005\321\363<"
	.string	""
	.string	"p\007\377\377\017"
	.string	""
	.string	""
	.string	""
	.ascii	"\200\377\377\377\003\377\377\377\377\377\377\377\377\377\377"
	.ascii	"\377\001"
	.globl	hsexp_bits
	.align 32
	.type	hsexp_bits, @object
	.size	hsexp_bits, 576
hsexp_bits:
	.string	"\200\377\377\377\377\377\377\377\377\377\377\377\300\003"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\360\240\f\200\341y\316!y\037\216\007\254\2200@\221$I\222\004\004I\200\223\210\300\340y\236$I\002\202\344`\210\204"
	.string	"\223\004I\222$\001A\022\030\204\002"
	.string	"H\202\310y\236\207\300\t"
	.string	"\202\377\377\003"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\340\377\203\377\377\377\377\377\377\377\377\377\377\377\203\007"
	.string	""
	.string	"\001"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\f\340\203\007\001"
	.string	"\006"
	.string	""
	.string	""
	.string	""
	.string	"\200\003x\203\007\013"
	.string	"\030"
	.string	""
	.string	""
	.string	""
	.string	"`\200\036\203\007\033"
	.string	"`"
	.string	""
	.string	""
	.string	""
	.string	"\030\360\016\203\007\033\002\200\001"
	.string	""
	.string	""
	.string	"\006x\006\203\007\033;"
	.string	"\006"
	.string	""
	.string	"\300\201\031\006\203\007\033\373"
	.string	"\030"
	.string	""
	.string	"0\340\033\006\203\0073\033\005`"
	.string	""
	.string	"\f\026\033\006\203\0073\031\035\200\001"
	.string	"\303\025\033\006\203\007\243\031\245"
	.string	"\376\377X\024\033\006\203\007\243\031\205\007\001\300F\024\033\006\203\007\343\030\205\210"
	.string	"\340B\024\033\006\203\007\343\030\205\350\377\277B\024\033\006\203\007c\030\205H"
	.string	"\220B\024\033\006\203\007c\370\205H"
	.string	"\220B\024\033\006\203\377cx\234O"
	.string	"\220\336\367\033~\203\377c\030\204B"
	.string	"PP\320\033~\203\007c\030\204B"
	.string	"0P\020\033\006\203\007c\030\204\304\377\037P\020\033\006\203\007c\030\204$"
	.string	" P\020\033\006\203\007c\030\204\b"
	.string	""
	.string	"Q\020\033\006\203\007c\030\204"
	.string	""
	.string	""
	.string	"V\020\033\006\203\007c\030\204"
	.string	""
	.string	""
	.string	"X\020\033\006\203\007c\0304"
	.string	""
	.string	""
	.string	"@\020\033\006\203\007c\030\f"
	.string	""
	.string	""
	.string	"@\020\033\006\203\007c\030\004"
	.string	""
	.string	""
	.string	""
	.string	"\020\033\006\203\007c\030"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\020\033\006\203\007c\030"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\020\033\006\203\007c\b"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\033\006\203\007c"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"\033\006\203\007#\377\377\377\377\377\377\177\032\006\373\007\003"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	"0\006\203\007\003"
	.string	"^\306\363<\317\003\340\006C\007\001"
	.string	"A!I\202 "
	.string	"\200\006#\007"
	.string	"\200\203\360<\307\363"
	.string	""
	.string	"\016\023\007"
	.string	"@@\t\222"
	.string	"A"
	.string	""
	.string	"<\013\007"
	.string	"\3401\005\321\363<"
	.string	""
	.string	"p\007\377\377\017"
	.string	""
	.string	""
	.string	""
	.ascii	"\200\377\377\377\003\377\377\377\377\377\377\377\377\377\377"
	.ascii	"\377\001"
	.section	.rodata
	.align 8
.LC92:
	.string	"Dimension must be between 2 and %d (inclusive).\n"
.LC93:
	.string	"ncube: unknown option %s\n"
	.text
	.globl	doCmd
	.type	doCmd, @function
doCmd:
.LFB34:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 848
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -852[rbp], edi
	mov	QWORD PTR -864[rbp], rsi
	mov	DWORD PTR -856[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	WORD PTR -844[rbp], 0
	mov	WORD PTR -842[rbp], 1
	mov	DWORD PTR -840[rbp], 0
	mov	DWORD PTR -836[rbp], 0
	mov	r12d, 1
	movsx	rax, r12d
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	jmp	.L256
.L333:
	movzx	eax, BYTE PTR [rbx]
	movsx	eax, al
	sub	eax, 43
	cmp	eax, 77
	ja	.L257
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L259[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L259[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L259:
	.long	.L276-.L259
	.long	.L275-.L259
	.long	.L274-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L273-.L259
	.long	.L257-.L259
	.long	.L268-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L272-.L259
	.long	.L271-.L259
	.long	.L257-.L259
	.long	.L270-.L259
	.long	.L269-.L259
	.long	.L268-.L259
	.long	.L267-.L259
	.long	.L257-.L259
	.long	.L266-.L259
	.long	.L265-.L259
	.long	.L257-.L259
	.long	.L264-.L259
	.long	.L257-.L259
	.long	.L263-.L259
	.long	.L262-.L259
	.long	.L261-.L259
	.long	.L260-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L258-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L272-.L259
	.long	.L271-.L259
	.long	.L257-.L259
	.long	.L270-.L259
	.long	.L269-.L259
	.long	.L268-.L259
	.long	.L267-.L259
	.long	.L257-.L259
	.long	.L266-.L259
	.long	.L265-.L259
	.long	.L257-.L259
	.long	.L264-.L259
	.long	.L257-.L259
	.long	.L263-.L259
	.long	.L262-.L259
	.long	.L261-.L259
	.long	.L260-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L257-.L259
	.long	.L258-.L259
	.text
.L274:
	add	rbx, 1
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L336
	jmp	.L256
.L272:
	movzx	eax, WORD PTR haveColorFlag[rip]
	test	ax, ax
	je	.L337
	movzx	edx, WORD PTR maxColors[rip]
	movzx	eax, WORD PTR avoidColors[rip]
	cmp	dx, ax
	jle	.L337
	movzx	eax, WORD PTR colorFlag[rip]
	xor	eax, 1
	mov	WORD PTR colorFlag[rip], ax
	jmp	.L337
.L271:
	lea	rax, 1[rbx]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	ebx, eax
	test	ebx, ebx
	jne	.L280
	add	r12d, 1
	movsx	rax, r12d
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR display[rip], rax
	jmp	.L278
.L280:
	cmp	ebx, 9
	jg	.L281
	cmp	ebx, 1
	jg	.L282
.L281:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, 9
	lea	rsi, .LC92[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	cmp	DWORD PTR -856[rbp], 0
	je	.L282
	mov	edi, 1
	call	exit@PLT
.L282:
	cmp	DWORD PTR -856[rbp], 2
	je	.L283
	mov	DWORD PTR dim[rip], ebx
.L283:
	mov	DWORD PTR -836[rbp], 2
	jmp	.L278
.L270:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L284
	lea	rax, figbuf[rip]
	mov	QWORD PTR figure[rip], rax
	lea	rax, 1[rbx]
	mov	rsi, rax
	lea	rdi, figbuf[rip]
	call	strcpy@PLT
.L284:
	cmp	DWORD PTR -856[rbp], 0
	jne	.L338
	mov	eax, 0
	call	initFigure
	mov	DWORD PTR -836[rbp], 1
	jmp	.L338
.L268:
	cmp	DWORD PTR -856[rbp], 1
	jne	.L339
	lea	rdi, ohelp[rip]
	mov	eax, 0
	call	prbox
	mov	edi, 1
	call	exit@PLT
.L267:
	cmp	DWORD PTR -856[rbp], 2
	je	.L340
	movzx	eax, WORD PTR interFlag[rip]
	xor	eax, 1
	mov	WORD PTR interFlag[rip], ax
	jmp	.L340
.L266:
	cmp	DWORD PTR -856[rbp], 2
	je	.L341
	movzx	eax, WORD PTR kFlag[rip]
	xor	eax, 1
	mov	WORD PTR kFlag[rip], ax
	jmp	.L341
.L265:
	cmp	DWORD PTR -856[rbp], 2
	je	.L289
	movzx	eax, WORD PTR logoFlag[rip]
	xor	eax, 1
	mov	WORD PTR logoFlag[rip], ax
.L289:
	mov	DWORD PTR -836[rbp], 1
	jmp	.L278
.L264:
	lea	rax, 1[rbx]
	mov	rdi, rax
	mov	eax, 0
	call	atoi@PLT
	mov	DWORD PTR tail[rip], eax
	cmp	DWORD PTR -856[rbp], 0
	jne	.L342
	mov	eax, DWORD PTR tail[rip]
	cmp	eax, 97
	jle	.L291
	mov	DWORD PTR tail[rip], 98
.L291:
	mov	eax, DWORD PTR tail[rip]
	test	eax, eax
	js	.L292
	mov	eax, DWORD PTR buf[rip]
	mov	edx, DWORD PTR tail[rip]
	sub	eax, edx
	sub	eax, 1
	jmp	.L293
.L292:
	mov	eax, DWORD PTR buf[rip]
	sub	eax, 1
.L293:
	mov	DWORD PTR obuf[rip], eax
	mov	eax, DWORD PTR obuf[rip]
	test	eax, eax
	jns	.L294
	mov	eax, DWORD PTR obuf[rip]
	add	eax, 100
	mov	DWORD PTR obuf[rip], eax
.L294:
	mov	DWORD PTR -836[rbp], 1
	jmp	.L278
.L263:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	test	eax, eax
	je	.L295
	test	eax, eax
	js	.L296
	cmp	eax, 116
	jg	.L296
	cmp	eax, 69
	jl	.L296
	sub	eax, 69
	cmp	eax, 47
	ja	.L296
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L298[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L298[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L298:
	.long	.L300-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L299-.L298
	.long	.L297-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L300-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L296-.L298
	.long	.L299-.L298
	.long	.L297-.L298
	.text
.L300:
	movzx	eax, WORD PTR pEflag[rip]
	or	eax, 2
	mov	WORD PTR pEflag[rip], ax
	jmp	.L301
.L299:
	movzx	eax, WORD PTR pEflag[rip]
	or	eax, 1
	mov	WORD PTR pEflag[rip], ax
	jmp	.L301
.L297:
	mov	WORD PTR pTflag[rip], 1
	jmp	.L301
.L295:
	cmp	DWORD PTR -856[rbp], 2
	je	.L343
	movzx	eax, WORD PTR perspFlag[rip]
	xor	eax, 1
	mov	WORD PTR perspFlag[rip], ax
	jmp	.L343
.L296:
	lea	rax, 1[rbx]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR .LC59[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR vangle[rip], xmm0
	mov	WORD PTR perspFlag[rip], 1
	jmp	.L303
.L301:
	jmp	.L278
.L262:
	mov	eax, 0
	call	quit
	jmp	.L278
.L261:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 118
	jne	.L304
	cmp	DWORD PTR -856[rbp], 2
	je	.L305
	movzx	eax, WORD PTR rvFlag[rip]
	xor	eax, 1
	mov	WORD PTR rvFlag[rip], ax
.L305:
	mov	DWORD PTR -836[rbp], 1
	jmp	.L278
.L304:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L307
	mov	WORD PTR useRoot[rip], 1
	jmp	.L278
.L307:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 114
	jne	.L344
	mov	eax, 0
	call	randomXform
	jmp	.L278
.L260:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L310
	cmp	DWORD PTR -856[rbp], 2
	je	.L303
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	sete	al
	movzx	eax, al
	mov	WORD PTR stereoFlag[rip], ax
	jmp	.L303
.L310:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 99
	je	.L311
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 67
	jne	.L312
.L311:
	movzx	eax, WORD PTR stereoFlag[rip]
	cmp	ax, 2
	jne	.L313
	mov	eax, 1
	jmp	.L314
.L313:
	mov	eax, 2
.L314:
	mov	WORD PTR stereoFlag[rip], ax
	jmp	.L303
.L312:
	lea	rax, 1[rbx]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	test	eax, eax
	jne	.L315
	mov	WORD PTR stereoFlag[rip], 0
	jmp	.L303
.L315:
	lea	rax, 1[rbx]
	mov	rdi, rax
	mov	eax, 0
	call	atof@PLT
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR sangle[rip], xmm0
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	jne	.L345
	mov	WORD PTR stereoFlag[rip], 1
	jmp	.L303
.L343:
	nop
	jmp	.L303
.L345:
	nop
.L303:
	cmp	DWORD PTR -856[rbp], 0
	jne	.L316
	movzx	eax, WORD PTR perspFlag[rip]
	test	ax, ax
	je	.L317
	mov	rax, QWORD PTR vangle[rip]
	jmp	.L318
.L317:
	mov	rax, QWORD PTR .LC49[rip]
.L318:
	lea	rdi, viewx[rip]
	movq	xmm0, rax
	mov	eax, 1
	call	normalPersp
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L319
	mov	eax, 0
	call	stereoView
	jmp	.L316
.L319:
	mov	eax, 0
	call	initScale
.L316:
	mov	DWORD PTR -836[rbp], 1
	jmp	.L278
.L269:
	add	r12d, 1
	movsx	rax, r12d
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR geom[rip], rax
	jmp	.L278
.L275:
	mov	WORD PTR -842[rbp], 0
	movzx	eax, WORD PTR xfs[rip]
	test	ax, ax
	jle	.L346
	movzx	eax, WORD PTR curxf[rip]
	add	eax, 1
	mov	WORD PTR curxf[rip], ax
	jmp	.L346
.L276:
	mov	WORD PTR -842[rbp], 1
	movzx	eax, WORD PTR xfs[rip]
	test	ax, ax
	jle	.L347
	movzx	eax, WORD PTR curxf[rip]
	add	eax, 1
	mov	WORD PTR curxf[rip], ax
	jmp	.L347
.L273:
	mov	WORD PTR -844[rbp], 1
	jmp	.L278
.L258:
	lea	rax, 1[rbx]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L257
	cmp	DWORD PTR -856[rbp], 2
	je	.L322
	movzx	eax, WORD PTR xorFlag[rip]
	xor	eax, 1
	mov	WORD PTR xorFlag[rip], ax
.L322:
	mov	DWORD PTR -836[rbp], 1
	jmp	.L278
.L257:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 114
	jle	.L323
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 122
	jle	.L324
.L323:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 82
	jle	.L325
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 90
	jle	.L324
.L325:
	movzx	eax, BYTE PTR [rbx]
	cmp	al, 46
	jne	.L348
.L324:
	cmp	DWORD PTR -856[rbp], 1
	je	.L349
	cmp	WORD PTR -844[rbp], 0
	je	.L327
	lea	rsi, figx[rip]
	mov	rdi, rbx
	mov	eax, 0
	call	xinit
	jmp	.L278
.L327:
	movzx	eax, WORD PTR curxf[rip]
	cwde
	mov	edi, eax
	mov	eax, 0
	call	useXform
	cmp	WORD PTR -842[rbp], 0
	je	.L329
	movzx	eax, WORD PTR curxf[rip]
	cwde
	cdqe
	lea	rdx, [rax+rax]
	lea	rax, xif[rip]
	mov	WORD PTR [rdx+rax], 1
.L329:
	cmp	WORD PTR -842[rbp], 0
	je	.L330
	movzx	eax, WORD PTR curxf[rip]
	cwde
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xil[rip]
	add	rax, rdx
	mov	rsi, rax
	mov	rdi, rbx
	mov	eax, 0
	call	xinit
	jmp	.L278
.L330:
	movzx	eax, WORD PTR curxf[rip]
	cwde
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdx, 0[0+rax*4]
	add	rax, rdx
	sal	rax, 5
	lea	rdx, xfl[rip]
	add	rax, rdx
	mov	rsi, rax
	mov	rdi, rbx
	mov	eax, 0
	call	xinit
	jmp	.L278
.L344:
	nop
	jmp	.L309
.L348:
	nop
.L309:
	cmp	DWORD PTR -856[rbp], 1
	jne	.L331
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, rbx
	lea	rsi, .LC93[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	lea	rdi, ohelp[rip]
	mov	eax, 0
	call	prbox
	mov	edi, 1
	call	exit@PLT
.L331:
	mov	eax, -1
	jmp	.L334
.L336:
	nop
	jmp	.L278
.L337:
	nop
	jmp	.L278
.L338:
	nop
	jmp	.L278
.L339:
	nop
	jmp	.L278
.L340:
	nop
	jmp	.L278
.L341:
	nop
	jmp	.L278
.L342:
	nop
	jmp	.L278
.L346:
	nop
	jmp	.L278
.L347:
	nop
	jmp	.L278
.L349:
	nop
.L278:
	add	r12d, 1
	movsx	rax, r12d
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -864[rbp]
	add	rax, rdx
	mov	rbx, QWORD PTR [rax]
	mov	eax, DWORD PTR -836[rbp]
	cmp	eax, DWORD PTR -840[rbp]
	jle	.L256
	mov	eax, DWORD PTR -836[rbp]
	mov	DWORD PTR -840[rbp], eax
.L256:
	cmp	r12d, DWORD PTR -852[rbp]
	jl	.L333
	mov	eax, DWORD PTR -840[rbp]
.L334:
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L335
	call	__stack_chk_fail@PLT
.L335:
	add	rsp, 848
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE34:
	.size	doCmd, .-doCmd
	.globl	keyptrs
	.section	.data.rel.local
	.align 16
	.type	keyptrs, @object
	.size	keyptrs, 24
keyptrs:
	.quad	0
	.quad	keys
	.quad	0
	.text
	.globl	doKey
	.type	doKey, @function
doKey:
.LFB35:
	.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	DWORD PTR -4[rbp], 0
	movzx	eax, WORD PTR kFlag[rip]
	test	ax, ax
	je	.L351
	mov	eax, 0
	jmp	.L352
.L351:
	movsx	eax, BYTE PTR -20[rbp]
	sub	eax, 10
	cmp	eax, 17
	ja	.L353
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L355[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L355[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L355:
	.long	.L358-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L358-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L357-.L355
	.long	.L353-.L355
	.long	.L356-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L353-.L355
	.long	.L354-.L355
	.text
.L354:
	mov	eax, 0
	call	quit
	jmp	.L359
.L356:
	mov	WORD PTR pauseFlag[rip], 1
	jmp	.L359
.L357:
	mov	WORD PTR pauseFlag[rip], 0
	jmp	.L359
.L358:
	mov	edx, 0
	lea	rsi, keyptrs[rip]
	mov	edi, 2
	mov	eax, 0
	call	doCmd
	mov	DWORD PTR -4[rbp], eax
	mov	BYTE PTR keys[rip], 0
	mov	DWORD PTR curKey[rip], 0
	jmp	.L359
.L353:
	mov	eax, DWORD PTR curKey[rip]
	cdqe
	lea	rcx, keys[rip]
	movzx	edx, BYTE PTR -20[rbp]
	mov	BYTE PTR [rax+rcx], dl
	mov	eax, DWORD PTR curKey[rip]
	add	eax, 1
	mov	DWORD PTR curKey[rip], eax
	mov	eax, DWORD PTR curKey[rip]
	cdqe
	lea	rdx, keys[rip]
	mov	BYTE PTR [rax+rdx], 0
.L359:
	mov	eax, 0
	call	showKeys@PLT
	mov	eax, DWORD PTR -4[rbp]
.L352:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE35:
	.size	doKey, .-doKey
	.section	.rodata
.LC96:
	.string	"\nTranslation and view matrix:"
.LC97:
	.string	"Incremental Rotation matrix:"
.LC98:
	.string	"Figure transformation matrix:"
	.text
	.globl	main
	.type	main, @function
main:
.LFB36:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	lea	rdi, theTime[rip]
	call	time@PLT
	mov	rax, QWORD PTR theTime[rip]
	mov	edi, eax
	mov	eax, 0
	call	srand@PLT
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR nargs[rip], eax
	movsd	xmm0, QWORD PTR .LC94[rip]
	movsd	QWORD PTR sangle[rip], xmm0
	movsd	xmm0, QWORD PTR .LC95[rip]
	movsd	QWORD PTR vangle[rip], xmm0
	mov	DWORD PTR tail[rip], -2
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 1
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	doCmd
	lea	rsi, quit[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rsi, fpeHdlr[rip]
	mov	edi, 8
	call	signal@PLT
	mov	eax, 0
	call	initGraphics@PLT
	cmp	DWORD PTR -20[rbp], 1
	jne	.L361
	lea	rdi, banner[rip]
	mov	eax, 0
	call	prbox
.L361:
	mov	eax, 0
	call	initFigure
	mov	eax, 0
	call	initXforms
	movzx	eax, WORD PTR haveColorFlag[rip]
	test	ax, ax
	je	.L362
	movzx	edx, WORD PTR maxColors[rip]
	movzx	eax, WORD PTR avoidColors[rip]
	cmp	dx, ax
	jle	.L362
	mov	WORD PTR colorFlag[rip], 1
	mov	eax, DWORD PTR tail[rip]
	cmp	eax, -2
	jne	.L362
	mov	DWORD PTR tail[rip], 10
.L362:
	mov	eax, DWORD PTR tail[rip]
	cmp	eax, -2
	jne	.L363
	mov	DWORD PTR tail[rip], 1
.L363:
	mov	eax, DWORD PTR tail[rip]
	cmp	eax, 97
	jle	.L364
	mov	DWORD PTR tail[rip], 98
.L364:
	mov	edx, DWORD PTR obuf[rip]
	mov	eax, DWORD PTR tail[rip]
	add	eax, edx
	add	eax, 1
	mov	DWORD PTR buf[rip], eax
	mov	rcx, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	edx, 2
	mov	rsi, rcx
	mov	edi, eax
	mov	eax, 0
	call	doCmd
	mov	ebx, 0
	jmp	.L365
.L366:
	mov	rcx, QWORD PTR vertex[rip]
	movsx	rdx, ebx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 4
	lea	rdx, [rcx+rax]
	mov	rsi, QWORD PTR vertex[rip]
	movsx	rcx, ebx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	sal	rax, 4
	add	rax, rsi
	lea	rsi, figx[rip]
	mov	rdi, rax
	mov	eax, 0
	call	Transform
	add	ebx, 1
.L365:
	movzx	eax, WORD PTR vertices[rip]
	cwde
	cmp	ebx, eax
	jl	.L366
	movzx	eax, WORD PTR xfs[rip]
	test	ax, ax
	jne	.L367
	mov	eax, 0
	call	randomXform
.L367:
	movzx	eax, WORD PTR perspFlag[rip]
	test	ax, ax
	je	.L368
	mov	rax, QWORD PTR vangle[rip]
	jmp	.L369
.L368:
	mov	rax, QWORD PTR .LC49[rip]
.L369:
	lea	rdi, viewx[rip]
	movq	xmm0, rax
	mov	eax, 1
	call	normalPersp
	movzx	eax, WORD PTR stereoFlag[rip]
	test	ax, ax
	je	.L370
	mov	eax, 0
	call	stereoView
.L370:
	movzx	eax, WORD PTR pTflag[rip]
	test	ax, ax
	je	.L371
	lea	rdi, .LC96[rip]
	call	puts@PLT
	lea	rdi, viewx[rip]
	mov	eax, 0
	call	xprint
	lea	rdi, .LC97[rip]
	call	puts@PLT
	lea	rdi, xil[rip]
	mov	eax, 0
	call	xprint
	lea	rdi, .LC98[rip]
	call	puts@PLT
	lea	rdi, figx[rip]
	mov	eax, 0
	call	xprint
.L371:
	lea	rdi, theTime[rip]
	call	time@PLT
	mov	eax, 0
	call	loop@PLT
.L372:
	mov	eax, 0
	call	quit
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC49:
	.long	0
	.long	0
	.align 8
.LC50:
	.long	0
	.long	1087373312
	.align 8
.LC51:
	.long	0
	.long	1072693248
	.align 16
.LC52:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC53:
	.long	0
	.long	1073741824
	.align 8
.LC58:
	.long	1405670641
	.long	1072243195
	.align 8
.LC59:
	.long	-1577392366
	.long	1066524486
	.align 8
.LC65:
	.long	-858993459
	.long	1072745676
	.align 8
.LC66:
	.long	0
	.long	1086324736
	.align 8
.LC67:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC68:
	.long	0
	.long	-1074790400
	.align 8
.LC70:
	.long	1719614413
	.long	1073127582
	.align 8
.LC71:
	.long	0
	.long	1074790400
	.align 8
.LC94:
	.long	1249485014
	.long	1068914456
	.align 8
.LC95:
	.long	937113761
	.long	1070645586
	.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	"21547.c"
	.text
	.global	version
	.data
	.align	2
	.type	version, %object
	.size	version, 51
version:
	.ascii	"HyperSpace Express Ncube version 1.8 (1991 Sep 20)\000"
	.global	copyright
	.align	2
	.type	copyright, %object
	.size	copyright, 51
copyright:
	.ascii	"Copyright (c) 1991 Stephen Savitzky.  MIT License.\000"
	.global	company
	.align	2
	.type	company, %object
	.size	company, 32
company:
	.ascii	"A product of HyperSpace Express\000"
	.global	address
	.align	2
	.type	address, %object
	.size	address, 24
address:
	.ascii	"somewhere in hyperspace\000"
	.comm	winX,4,4
	.comm	winY,4,4
	.comm	winW,4,4
	.comm	winH,4,4
	.comm	xoff,4,4
	.comm	yoff,4,4
	.comm	xfl,8000,8
	.comm	xil,8000,8
	.comm	xif,20,4
	.global	xfs
	.bss
	.align	1
	.type	xfs, %object
	.size	xfs, 2
xfs:
	.space	2
	.comm	curxf,2,2
	.comm	rotx,800,8
	.comm	curx,800,8
	.comm	figx,800,8
	.comm	tx,800,8
	.comm	tx1,800,8
	.comm	xtl,1600,8
	.comm	viewx,800,8
	.comm	viewl,800,8
	.comm	viewr,800,8
	.comm	radius,8,8
	.comm	sangle,8,8
	.comm	vangle,8,8
	.comm	Sscale,8,8
	.comm	figure,4,4
	.local	figbuf
	.comm	figbuf,256,4
	.global	dim
	.data
	.align	2
	.type	dim, %object
	.size	dim, 4
dim:
	.word	4
	.comm	vertices,2,2
	.comm	vertex,4,4
	.comm	edges,2,2
	.comm	edge,4,4
	.global	buf
	.align	2
	.type	buf, %object
	.size	buf, 4
buf:
	.word	1
	.global	obuf
	.bss
	.align	2
	.type	obuf, %object
	.size	obuf, 4
obuf:
	.space	4
	.global	tail
	.data
	.align	2
	.type	tail, %object
	.size	tail, 4
tail:
	.word	1
	.global	maxtail
	.align	2
	.type	maxtail, %object
	.size	maxtail, 4
maxtail:
	.word	100
	.comm	sEdge,400,4
	.global	kFlag
	.bss
	.align	1
	.type	kFlag, %object
	.size	kFlag, 2
kFlag:
	.space	2
	.global	pauseFlag
	.align	1
	.type	pauseFlag, %object
	.size	pauseFlag, 2
pauseFlag:
	.space	2
	.global	pTflag
	.align	1
	.type	pTflag, %object
	.size	pTflag, 2
pTflag:
	.space	2
	.global	pEflag
	.align	1
	.type	pEflag, %object
	.size	pEflag, 2
pEflag:
	.space	2
	.global	logoFlag
	.data
	.align	1
	.type	logoFlag, %object
	.size	logoFlag, 2
logoFlag:
	.short	1
	.global	stereoFlag
	.bss
	.align	1
	.type	stereoFlag, %object
	.size	stereoFlag, 2
stereoFlag:
	.space	2
	.global	interFlag
	.data
	.align	1
	.type	interFlag, %object
	.size	interFlag, 2
interFlag:
	.short	1
	.global	perspFlag
	.align	1
	.type	perspFlag, %object
	.size	perspFlag, 2
perspFlag:
	.short	1
	.global	rvFlag
	.align	1
	.type	rvFlag, %object
	.size	rvFlag, 2
rvFlag:
	.short	1
	.global	xorFlag
	.bss
	.align	1
	.type	xorFlag, %object
	.size	xorFlag, 2
xorFlag:
	.space	2
	.global	colorFlag
	.align	1
	.type	colorFlag, %object
	.size	colorFlag, 2
colorFlag:
	.space	2
	.global	drawn
	.align	1
	.type	drawn, %object
	.size	drawn, 2
drawn:
	.space	2
	.global	haveColorFlag
	.align	1
	.type	haveColorFlag, %object
	.size	haveColorFlag, 2
haveColorFlag:
	.space	2
	.global	maxColors
	.data
	.align	1
	.type	maxColors, %object
	.size	maxColors, 2
maxColors:
	.short	2
	.global	avoidColors
	.align	1
	.type	avoidColors, %object
	.size	avoidColors, 2
avoidColors:
	.short	2
	.global	theColor
	.bss
	.align	1
	.type	theColor, %object
	.size	theColor, 2
theColor:
	.space	2
	.comm	red_Color,2,2
	.comm	blue_Color,2,2
	.comm	keys,256,4
	.comm	curKey,4,4
	.global	cycles
	.align	2
	.type	cycles, %object
	.size	cycles, 4
cycles:
	.space	4
	.comm	theTime,4,4
	.comm	nargs,4,4
	.global	banner
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"         ___        ____   ___  \000"
	.align	2
.LC2:
	.ascii	"  /| /  /     /  /  /__/  /__   \000"
	.align	2
.LC3:
	.ascii	" / |/  /___  /__/ _/__/  /___   \000"
	.align	2
.LC4:
	.ascii	"Not to be included in any copyrighted anthology or "
	.ascii	"collection\000"
	.align	2
.LC5:
	.ascii	"without the express written permission of the autho"
	.ascii	"r.\000"
	.align	2
.LC6:
	.ascii	"If you like this program, I'd be grateful for a $5 "
	.ascii	"contribution.\000"
	.align	2
.LC7:
	.ascii	"$20 will get you a disk with sources and more docum"
	.ascii	"entation.\000"
	.align	2
.LC8:
	.ascii	"(Specify MS-DOS or Macintosh disk format.)\000"
	.align	2
.LC9:
	.ascii	"Type ESC to exit the program.\000"
	.align	2
.LC10:
	.ascii	"For documentation use 'ncube -h' (piped to a printe"
	.ascii	"r or file to save it)\000"
	.data
	.align	2
	.type	banner, %object
	.size	banner, 84
banner:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	.LC0
	.word	version
	.word	company
	.word	address
	.word	.LC0
	.word	copyright
	.word	.LC4
	.word	.LC5
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC0
	.word	.LC9
	.word	.LC10
	.word	0
	.global	ohelp
	.section	.rodata
	.align	2
.LC11:
	.ascii	"command line:                                      "
	.ascii	"                  \000"
	.align	2
.LC12:
	.ascii	"    Options:  (N = any integer) (leading '-' option"
	.ascii	"al)               \000"
	.align	2
.LC13:
	.ascii	"      -dN        N dimensions; 3 <= N <= 7; default"
	.ascii	" 4                \000"
	.align	2
.LC14:
	.ascii	"      -c         toggle color mode                 "
	.ascii	"                  \000"
	.align	2
.LC15:
	.ascii	"      -h         help -- print this information, th"
	.ascii	"en exit           \000"
	.align	2
.LC16:
	.ascii	"      -i         toggle interactive mode (default O"
	.ascii	"FF on PC, else ON)\000"
	.align	2
.LC17:
	.ascii	"      -k         kidproof -- require Ctrl-C to exit"
	.ascii	"                  \000"
	.align	2
.LC18:
	.ascii	"      -l         suppress logos                    "
	.ascii	"                  \000"
	.align	2
.LC19:
	.ascii	"      -nN        number of 'ghost' images (max 50, "
	.ascii	"def 1, -1 = all)  \000"
	.align	2
.LC20:
	.ascii	"      -pe        print edge (n-dimensional) coordin"
	.ascii	"ates each cycle   \000"
	.align	2
.LC21:
	.ascii	"      -ps        print screen (2-dimensional) edge "
	.ascii	"coords each cycle \000"
	.align	2
.LC22:
	.ascii	"      -pt        print transform matrices at beginn"
	.ascii	"ing (to stdout)   \000"
	.align	2
.LC23:
	.ascii	"      -rv        reverse video                     "
	.ascii	"                  \000"
	.align	2
.LC24:
	.ascii	"      -x         exclusive or for drawing (not avai"
	.ascii	"lable on PC)      \000"
	.align	2
.LC25:
	.ascii	"    Transform selection: (0 <= N <= 9 is xform #, d"
	.ascii	"efault 0)         \000"
	.align	2
.LC26:
	.ascii	"       ,N        operate on next viewing transform "
	.ascii	"                  \000"
	.align	2
.LC27:
	.ascii	"       +N        operate on next incremental transf"
	.ascii	"orm (the default) \000"
	.align	2
.LC28:
	.ascii	"       .         clear current transform           "
	.ascii	"                  \000"
	.align	2
.LC29:
	.ascii	"       =         operate on the figure to be drawn "
	.ascii	"                  \000"
	.align	2
.LC30:
	.ascii	"    Transform options:  (A, B in {x,y,z,t,u,v,w}; F"
	.ascii	" = any float)     \000"
	.align	2
.LC31:
	.ascii	"       ABF       rotate by F degrees/cycle in the A"
	.ascii	"B plane           \000"
	.align	2
.LC32:
	.ascii	"       AF        translate by F along the A axis   "
	.ascii	"                  \000"
	.align	2
.LC33:
	.ascii	"       AsF       scale A axis by F                 "
	.ascii	"                  \000"
	.align	2
.LC34:
	.ascii	"       ApF       perspective from distance F along "
	.ascii	"A axis            \000"
	.align	2
.LC35:
	.ascii	"       pF        perspective angle of F degrees    "
	.ascii	"                  \000"
	.align	2
.LC36:
	.ascii	"       rr        random rotations about all axes (d"
	.ascii	"efault)           \000"
	.align	2
.LC37:
	.ascii	"       sF        stereo angle F (F optional; s0 mea"
	.ascii	"ns monocular)     \000"
	.align	2
.LC38:
	.ascii	"       sc        stereo using red-blue glasses     "
	.ascii	"                  \000"
	.align	2
.LC39:
	.ascii	" Interactive mode: type any of the above commands f"
	.ascii	"ollowed by RET.   \000"
	.align	2
.LC40:
	.ascii	"                   Ctl-S to stop (pause), Ctl-Q to "
	.ascii	"continue.         \000"
	.align	2
.LC41:
	.ascii	"    X Window System options:                       "
	.ascii	"                  \000"
	.align	2
.LC42:
	.ascii	"      -g geom    specify geometry (default 800x800)"
	.ascii	"                  \000"
	.align	2
.LC43:
	.ascii	"      -d display specify display                   "
	.ascii	"                  \000"
	.align	2
.LC44:
	.ascii	"      -r         root window                       "
	.ascii	"                  \000"
	.align	2
.LC45:
	.ascii	" To Exit:                                          "
	.ascii	"                  \000"
	.align	2
.LC46:
	.ascii	"       Interactive mode: type ESC or 'Q' + RETURN  "
	.ascii	"                  \000"
	.align	2
.LC47:
	.ascii	"       Kidproof mode:    type Ctrl-C               "
	.ascii	"                  \000"
	.align	2
.LC48:
	.ascii	"       Otherwise:        type any key              "
	.ascii	"                  \000"
	.data
	.align	2
	.type	ohelp, %object
	.size	ohelp, 244
ohelp:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC0
	.word	.LC0
	.word	version
	.word	company
	.word	address
	.word	.LC0
	.word	copyright
	.word	.LC4
	.word	.LC5
	.word	.LC0
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC0
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.word	.LC23
	.word	.LC24
	.word	.LC25
	.word	.LC26
	.word	.LC27
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.word	.LC37
	.word	.LC38
	.word	.LC0
	.word	.LC39
	.word	.LC40
	.word	.LC0
	.word	.LC41
	.word	.LC42
	.word	.LC43
	.word	.LC44
	.word	.LC0
	.word	.LC45
	.word	.LC46
	.word	.LC47
	.word	.LC48
	.word	.LC0
	.word	0
	.text
	.align	2
	.global	prline
	.syntax unified
	.arm
	.fpu softvfp
	.type	prline, %function
prline:
	@ 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, #20
	str	r0, [fp, #-24]
	mov	r0, r1
	mov	r1, r2
	mov	r2, r3
	mov	r3, r0
	strb	r3, [fp, #-28]
	mov	r3, r1
	strb	r3, [fp, #-32]
	mov	r3, r2
	strb	r3, [fp, #-36]
	ldrb	r3, [fp, #-28]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	putc
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	mov	r6, r3
	rsb	r3, r6, #77
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r5, r3
	mov	r4, #0
	b	.L2
.L3:
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	putc
	add	r4, r4, #1
.L2:
	cmp	r4, r5
	blt	.L3
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	fputs
	rsb	r3, r5, #77
	sub	r5, r3, r6
	mov	r4, #0
	b	.L4
.L5:
	ldrb	r3, [fp, #-32]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	putc
	add	r4, r4, #1
.L4:
	cmp	r4, r5
	blt	.L5
	ldrb	r3, [fp, #-36]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	putc
	ldr	r3, .L6
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	putc
	nop
	mov	r0, r3
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L7:
	.align	2
.L6:
	.word	stdout
	.size	prline, .-prline
	.align	2
	.global	prbox
	.syntax unified
	.arm
	.fpu softvfp
	.type	prbox, %function
prbox:
	@ 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, #-16]
	mov	r3, #92
	mov	r2, #61
	mov	r1, #47
	ldr	r0, .L13
	bl	prline
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r3, [fp, #-16]
	ldr	r0, [r3]
	mov	r3, #124
	mov	r2, #32
	mov	r1, #124
	bl	prline
	ldr	r3, [fp, #-16]
	add	r3, r3, #4
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
	b	.L11
.L12:
	mov	r3, #124
	mov	r2, #32
	mov	r1, #124
	ldr	r0, .L13+4
	bl	prline
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L11:
	ldr	r3, [fp, #-8]
	cmp	r3, #20
	ble	.L12
	mov	r3, #47
	mov	r2, #61
	mov	r1, #92
	ldr	r0, .L13
	bl	prline
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	version
	.word	.LC0
	.size	prbox, .-prbox
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.align	2
	.global	Cat
	.syntax unified
	.arm
	.fpu softvfp
	.type	Cat, %function
Cat:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r8, #0
	b	.L16
.L21:
	mov	r4, #0
	b	.L17
.L20:
	mov	r6, #0
	mov	r7, #0
	mov	r5, #0
	b	.L18
.L19:
	mov	r2, r8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	lsl	r3, r5, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r5, r5, #1
.L18:
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L19
	mov	r2, r8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	stm	r3, {r6-r7}
	add	r4, r4, #1
.L17:
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L20
	add	r8, r8, #1
.L16:
	ldr	r3, .L22
	ldr	r3, [r3]
	cmp	r8, r3
	ble	.L21
	nop
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L23:
	.align	2
.L22:
	.word	dim
	.size	Cat, .-Cat
	.global	__aeabi_d2iz
	.align	2
	.global	CCat
	.syntax unified
	.arm
	.fpu softvfp
	.type	CCat, %function
CCat:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r8, #0
	b	.L25
.L30:
	mov	r4, #0
	b	.L26
.L29:
	mov	r6, #0
	mov	r7, #0
	mov	r5, #0
	b	.L27
.L28:
	mov	r2, r8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	lsl	r3, r5, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r5, r5, #1
.L27:
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L28
	mov	r2, #0
	ldr	r3, .L31+4
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r5, r3, r2
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r5, r4, lsl #2]
	add	r4, r4, #1
.L26:
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L29
	add	r8, r8, #1
.L25:
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r8, r3
	ble	.L30
	nop
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L32:
	.align	2
.L31:
	.word	dim
	.word	1087373312
	.size	CCat, .-CCat
	.align	2
	.global	SCat
	.syntax unified
	.arm
	.fpu softvfp
	.type	SCat, %function
SCat:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	mov	r8, #0
	b	.L34
.L39:
	mov	r4, #0
	b	.L35
.L38:
	mov	r6, #0
	mov	r7, #0
	mov	r5, #0
	b	.L36
.L37:
	mov	r2, r8
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r2, r3, r2
	lsl	r3, r5, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r5, r5, #1
.L36:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L37
	mov	r2, #0
	ldr	r3, .L40+4
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, r8
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r5, r3, r2
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r5, r4, lsl #2]
	add	r4, r4, #1
.L35:
	cmp	r4, #2
	ble	.L38
	add	r8, r8, #1
.L34:
	ldr	r3, .L40
	ldr	r3, [r3]
	cmp	r8, r3
	ble	.L39
	nop
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L41:
	.align	2
.L40:
	.word	dim
	.word	1087373312
	.size	SCat, .-SCat
	.align	2
	.global	Ident
	.syntax unified
	.arm
	.fpu softvfp
	.type	Ident, %function
Ident:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	sub	sp, sp, #12
	str	r0, [fp, #-16]
	mov	r5, #0
	b	.L43
.L48:
	mov	r4, #0
	b	.L44
.L47:
	cmp	r5, r4
	bne	.L45
	mov	r0, #0
	ldr	r1, .L49
	b	.L46
.L45:
	mov	r0, #0
	mov	r1, #0
.L46:
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	stm	r3, {r0-r1}
	add	r4, r4, #1
.L44:
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L47
	add	r5, r5, #1
.L43:
	ldr	r3, .L49+4
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L48
	nop
	nop
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
.L50:
	.align	2
.L49:
	.word	1072693248
	.word	dim
	.size	Ident, .-Ident
	.align	2
	.global	Rot
	.syntax unified
	.arm
	.fpu softvfp
	.type	Rot, %function
Rot:
	@ args = 4, 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, #-44]
	str	r3, [fp, #-40]
	ldr	r0, .L52
	bl	Ident
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	sin
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	cos
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r1, .L52
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, .L52
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldmia	r3, {r0-r1}
	ldr	ip, .L52
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r1, .L52
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-36]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r4, [fp, #-28]
	ldr	r3, [fp, #-24]
	eor	r5, r3, #-2147483648
	ldr	r1, .L52
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	ldr	r2, [fp, #-32]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r1, r3
	stm	r3, {r4-r5}
	mov	r2, #800
	ldr	r1, [fp, #4]
	ldr	r0, .L52+4
	bl	memcpy
	ldr	r2, [fp, #4]
	ldr	r1, .L52+4
	ldr	r0, .L52
	bl	Cat
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L53:
	.align	2
.L52:
	.word	tx
	.word	tx1
	.size	Rot, .-Rot
	.align	2
	.global	Trans
	.syntax unified
	.arm
	.fpu softvfp
	.type	Trans, %function
Trans:
	@ 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	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r0, .L55
	bl	Ident
	ldr	r2, .L55
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	mov	r2, #800
	ldr	r1, [fp, #4]
	ldr	r0, .L55+4
	bl	memcpy
	ldr	r2, [fp, #4]
	ldr	r1, .L55+4
	ldr	r0, .L55
	bl	Cat
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	tx
	.word	tx1
	.size	Trans, .-Trans
	.align	2
	.global	Scale
	.syntax unified
	.arm
	.fpu softvfp
	.type	Scale, %function
Scale:
	@ 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	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r0, .L58
	bl	Ident
	ldr	r1, .L58
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	mov	r2, #800
	ldr	r1, [fp, #4]
	ldr	r0, .L58+4
	bl	memcpy
	ldr	r2, [fp, #4]
	ldr	r1, .L58+4
	ldr	r0, .L58
	bl	Cat
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L59:
	.align	2
.L58:
	.word	tx
	.word	tx1
	.size	Scale, .-Scale
	.global	__aeabi_ddiv
	.align	2
	.global	Persp
	.syntax unified
	.arm
	.fpu softvfp
	.type	Persp, %function
Persp:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #44
	str	r0, [fp, #-56]
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sin
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	cos
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r0, .L61
	bl	Ident
	ldr	r1, .L61
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [r1, #176]
	str	r3, [r1, #180]
	ldr	r3, .L61
	add	r3, r3, #176
	ldmia	r3, {r2-r3}
	ldr	r1, .L61
	str	r2, [r1, #88]
	str	r3, [r1, #92]
	ldr	r1, .L61
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r1, r1, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r1, .L61
	ldr	r2, [fp, #-56]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r1, r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r6, [fp, #-36]
	ldr	r3, [fp, #-32]
	eor	r7, r3, #-2147483648
	ldr	r3, .L61+4
	ldr	r8, [r3]
	ldmib	fp, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	ip, .L61
	mov	r3, r8
	lsl	r3, r3, #2
	add	r3, r3, r8
	lsl	r3, r3, #1
	ldr	r2, [fp, #-56]
	add	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, ip, r3
	stm	r3, {r0-r1}
	ldr	r4, [fp, #4]
	ldr	r3, [fp, #8]
	eor	r5, r3, #-2147483648
	ldr	r3, .L61
	stm	r3, {r4-r5}
	mov	r2, #800
	ldr	r1, [fp, #12]
	ldr	r0, .L61+8
	bl	memcpy
	ldr	r2, [fp, #12]
	ldr	r1, .L61
	ldr	r0, .L61+8
	bl	Cat
	nop
	mov	r0, r3
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L62:
	.align	2
.L61:
	.word	tx
	.word	dim
	.word	tx1
	.size	Persp, .-Persp
	.global	__aeabi_i2d
	.align	2
	.global	View
	.syntax unified
	.arm
	.fpu softvfp
	.type	View, %function
View:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r8, r9, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #20
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	ldmia	r3, {r4-r5}
	mov	r6, #1
	b	.L64
.L65:
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r6
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r6, r6, #1
.L64:
	ldr	r3, .L70
	ldr	r3, [r3]
	cmp	r6, r3
	ble	.L65
	ldr	r3, .L70+4
	ldmia	r3, {r0-r1}
	mov	r2, r4
	mov	r3, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-36]
	add	r5, r3, #8
	ldmia	r5, {r4-r5}
	mov	r6, #1
	b	.L66
.L67:
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r6
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r6, r6, #1
.L66:
	ldr	r3, .L70
	ldr	r3, [r3]
	cmp	r6, r3
	ble	.L67
	mov	r2, r8
	mov	r3, r9
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L70+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-40]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-36]
	add	r5, r3, #16
	ldmia	r5, {r4-r5}
	mov	r6, #1
	b	.L68
.L69:
	mov	r3, r6
	lsl	r3, r3, #3
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r6
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-36]
	add	r3, r3, r2
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	add	r6, r6, #1
.L68:
	ldr	r3, .L70
	ldr	r3, [r3]
	cmp	r6, r3
	ble	.L69
	mov	r2, r8
	mov	r3, r9
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, .L70+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-40]
	strh	r2, [r3, #2]	@ movhi
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r8, r9, fp, pc}
.L71:
	.align	2
.L70:
	.word	dim
	.word	Sscale
	.word	xoff
	.word	yoff
	.size	View, .-View
	.align	2
	.global	SView
	.syntax unified
	.arm
	.fpu softvfp
	.type	SView, %function
SView:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, [fp, #-28]
	ldr	r5, [r3]
	mov	r4, #1
	b	.L73
.L74:
	mov	r3, r4
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L79
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	ldr	r3, [r3]
	mul	r3, r2, r3
	add	r2, r3, #16320
	add	r2, r2, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #14
	add	r5, r5, r3
	add	r4, r4, #1
.L73:
	ldr	r3, .L79+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L74
	ldr	r3, .L79+8
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L79
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r0, r5
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r6, r3
	ldr	r3, [fp, #-28]
	ldr	r5, [r3, #4]
	mov	r4, #1
	b	.L75
.L76:
	mov	r3, r4
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L79
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	ldr	r3, [r3, #4]
	mul	r3, r2, r3
	add	r2, r3, #16320
	add	r2, r2, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #14
	add	r5, r5, r3
	add	r4, r4, #1
.L75:
	ldr	r3, .L79+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L76
	mul	r3, r6, r5
	add	r2, r3, #16320
	add	r2, r2, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #14
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L79+12
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-32]
	strh	r2, [r3]	@ movhi
	ldr	r3, [fp, #-28]
	ldr	r5, [r3, #8]
	mov	r4, #1
	b	.L77
.L78:
	mov	r3, r4
	lsl	r3, r3, #3
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L79
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r2, r0
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	lsl	r3, r3, #2
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	ldr	r3, [r3, #8]
	mul	r3, r2, r3
	add	r2, r3, #16320
	add	r2, r2, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #14
	add	r5, r5, r3
	add	r4, r4, #1
.L77:
	ldr	r3, .L79+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L78
	mul	r3, r6, r5
	add	r2, r3, #16320
	add	r2, r2, #63
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #14
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L79+16
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-32]
	strh	r2, [r3, #2]	@ movhi
	nop
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L80:
	.align	2
.L79:
	.word	1087373312
	.word	dim
	.word	Sscale
	.word	xoff
	.word	yoff
	.size	SView, .-SView
	.section	.rodata
	.align	2
.LC49:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Transform
	.syntax unified
	.arm
	.fpu softvfp
	.type	Transform, %function
Transform:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #104
	str	r0, [fp, #-112]
	str	r1, [fp, #-116]
	str	r2, [fp, #-120]
	ldr	r3, .L89
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r4, #0
	b	.L82
.L85:
	ldr	r2, [fp, #-116]
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r6-r7}
	mov	r5, #1
	b	.L83
.L84:
	mov	r3, r5
	lsl	r3, r3, #3
	ldr	r2, [fp, #-112]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-116]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	add	r5, r5, #1
.L83:
	ldr	r3, .L89+4
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L84
	lsl	r3, r4, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #88
	stm	r3, {r6-r7}
	add	r4, r4, #1
.L82:
	ldr	r3, .L89+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L85
	sub	r7, fp, #108
	ldmia	r7, {r6-r7}
	mov	r4, #0
	b	.L86
.L87:
	lsl	r3, r4, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #88
	ldmia	r3, {r0-r1}
	mov	r3, r4
	lsl	r3, r3, #3
	ldr	r2, [fp, #-120]
	add	r5, r2, r3
	mov	r2, r6
	mov	r3, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r5, {r2-r3}
	add	r4, r4, #1
.L86:
	ldr	r3, .L89+4
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L87
	nop
	ldr	r3, .L89
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L88
	bl	__stack_chk_fail
.L88:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L90:
	.align	2
.L89:
	.word	.LC49
	.word	dim
	.size	Transform, .-Transform
	.local	sVert
	.comm	sVert,4,4
	.local	rVert
	.comm	rVert,4,4
	.local	stx
	.comm	stx,120,4
	.section	.rodata
	.align	2
.LC50:
	.ascii	"    line(%03d, %03d,  %03d, %03d)\012\000"
	.align	2
.LC51:
	.ascii	"    edge(\000"
	.align	2
.LC52:
	.ascii	",\012         \000"
	.align	2
.LC53:
	.ascii	")\000"
	.align	2
.LC54:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	cycle
	.syntax unified
	.arm
	.fpu softvfp
	.type	cycle, %function
cycle:
	@ args = 0, pretend = 0, frame = 112
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #124
	str	r0, [fp, #-120]
	str	r1, [fp, #-124]
	ldr	r3, .L128
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-124]
	cmp	r3, #0
	bne	.L126
	ldr	r3, .L128+4
	str	r3, [fp, #-108]
	ldr	r3, .L128+8
	str	r3, [fp, #-104]
	mov	r4, #1
	b	.L94
.L95:
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L128+4
	add	r3, r3, r2
	ldr	r2, [fp, #-104]
	mov	r1, r3
	ldr	r0, [fp, #-108]
	bl	Cat
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-108]
	mov	r3, r4
	and	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	mov	r2, r3
	ldr	r3, .L128+8
	add	r3, r2, r3
	str	r3, [fp, #-104]
	add	r4, r4, #1
.L94:
	ldr	r3, .L128+12
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L95
	ldr	r3, .L128+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L96
	ldr	r2, .L128+20
	ldr	r1, .L128+24
	ldr	r0, [fp, #-108]
	bl	SCat
	b	.L97
.L96:
	ldr	r2, .L128+20
	ldr	r1, .L128+28
	ldr	r0, [fp, #-108]
	bl	SCat
.L97:
	ldr	r3, .L128+32
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L98
	ldr	r0, .L128+36
	bl	xprint
.L98:
	mov	r4, #0
	b	.L99
.L100:
	ldr	r3, .L128+40
	ldr	r2, [r3]
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, .L128+44
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L128+20
	bl	SView
	add	r4, r4, #1
.L99:
	ldr	r3, .L128+48
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L100
	ldr	r3, .L128+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L101
	ldr	r3, .L128+52
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	strh	r3, [fp, #-114]	@ movhi
	ldr	r2, .L128+20
	ldr	r1, .L128+56
	ldr	r0, [fp, #-108]
	bl	SCat
	mov	r4, #0
	b	.L102
.L104:
	ldr	r3, .L128+40
	ldr	r2, [r3]
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, .L128+60
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L128+20
	bl	SView
	ldr	r3, .L128+16
	ldrsh	r3, [r3]
	cmp	r3, #2
	beq	.L103
	ldr	r3, .L128+60
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-114]
	add	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L128+60
	ldr	r1, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, .L128+44
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldrh	r3, [fp, #-114]
	sub	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L128+44
	ldr	r1, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r1, r3
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
.L103:
	add	r4, r4, #1
.L102:
	ldr	r3, .L128+48
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L104
.L101:
	mov	r4, #0
	b	.L105
.L107:
	ldr	r2, .L128+64
	lsl	r3, r4, #1
	add	r3, r2, r3
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L106
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L128+4
	add	r3, r3, r2
	mov	r2, #800
	mov	r1, r3
	ldr	r0, .L128+68
	bl	memcpy
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L128+72
	add	r0, r3, r2
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L128+4
	add	r3, r3, r2
	mov	r2, r3
	ldr	r1, .L128+68
	bl	Cat
.L106:
	add	r4, r4, #1
.L105:
	ldr	r3, .L128+12
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L107
	ldr	r3, .L128+76
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L128+80
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, .L128+76
	str	r2, [r3]
	ldr	r3, .L128+84
	ldr	r3, [r3]
	add	r1, r3, #1
	ldr	r3, .L128+80
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	ldr	r3, .L128+84
	str	r2, [r3]
	mov	r4, #0
	b	.L108
.L109:
	ldr	r3, .L128+88
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-112]	@ movhi
	ldr	r3, .L128+88
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrh	r3, [r3, #2]	@ movhi
	strh	r3, [fp, #-110]	@ movhi
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	mov	r3, r4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2]
	strh	r2, [r3]	@ movhi
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	mov	r3, r4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2, #2]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-110]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	mov	r3, r4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-110]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	mov	r3, r4
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2, #2]
	strh	r2, [r3, #6]	@ movhi
	add	r4, r4, #1
.L108:
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L109
	ldr	r3, .L128+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L110
	mov	r4, #0
	b	.L111
.L112:
	ldr	r3, .L128+88
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-112]	@ movhi
	ldr	r3, .L128+88
	ldr	r2, [r3]
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrh	r3, [r3, #2]	@ movhi
	strh	r3, [fp, #-110]	@ movhi
	ldr	r3, .L128+60
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	add	r3, r4, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2]
	strh	r2, [r3]	@ movhi
	ldr	r3, .L128+60
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	add	r3, r4, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2, #2]
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L128+60
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-110]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	add	r3, r4, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2]
	strh	r2, [r3, #4]	@ movhi
	ldr	r3, .L128+60
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-110]
	lsl	r3, r3, #2
	add	r2, r2, r3
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r1, .L128+92
	ldr	r1, [r1, r3, lsl #2]
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	add	r3, r4, r3
	lsl	r3, r3, #3
	add	r3, r1, r3
	ldrsh	r2, [r2, #2]
	strh	r2, [r3, #6]	@ movhi
	add	r4, r4, #1
.L111:
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L112
.L110:
	ldr	r3, [fp, #-120]
	and	r3, r3, #3
	cmp	r3, #0
	beq	.L127
	mov	r4, #0
	b	.L113
.L116:
	ldr	r3, .L128+88
	ldr	r2, [r3]
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	add	r3, r4, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrh	r3, [r3]	@ movhi
	strh	r3, [fp, #-112]	@ movhi
	ldr	r3, .L128+88
	ldr	r2, [r3]
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	add	r3, r4, r3
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrh	r3, [r3, #2]	@ movhi
	strh	r3, [fp, #-110]	@ movhi
	ldr	r3, [fp, #-120]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L114
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	r1, r3
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-112]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	mov	r0, r3
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-110]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrsh	r3, [r3]
	mov	ip, r3
	ldr	r3, .L128+44
	ldr	r2, [r3]
	ldrsh	r3, [fp, #-110]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldrsh	r3, [r3, #2]
	str	r3, [sp]
	mov	r3, ip
	mov	r2, r0
	ldr	r0, .L128+100
	bl	printf
.L114:
	ldr	r3, [fp, #-120]
	and	r3, r3, #2
	cmp	r3, #0
	beq	.L115
	ldr	r0, .L128+104
	bl	printf
	ldr	r3, .L128+40
	ldr	r1, [r3]
	ldrsh	r2, [fp, #-112]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r2, fp, #100
	ldr	r1, .L128+36
	mov	r0, r3
	bl	Transform
	sub	r3, fp, #100
	mov	r0, r3
	bl	vprint
	ldr	r0, .L128+108
	bl	printf
	ldr	r3, .L128+40
	ldr	r1, [r3]
	ldrsh	r2, [fp, #-110]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	sub	r2, fp, #100
	ldr	r1, .L128+36
	mov	r0, r3
	bl	Transform
	sub	r3, fp, #100
	mov	r0, r3
	bl	vprint
	ldr	r0, .L128+112
	bl	puts
.L115:
	add	r4, r4, #1
.L113:
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L116
	b	.L127
.L126:
	nop
	b	.L93
.L127:
	nop
.L93:
	ldr	r3, .L128+116
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L117
	ldr	r3, .L128+84
	ldr	r4, [r3]
	b	.L118
.L121:
	add	r2, r4, #1
	ldr	r3, .L128+80
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r4, r1, r3
	mov	r3, r4
	lsl	r3, r3, #2
	add	r3, r3, r4
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	sub	r4, r2, r3
	ldr	r3, .L128+92
	ldr	r2, [r3, r4, lsl #2]
	ldr	r3, .L128+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L119
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	lsl	r3, r3, #1
	b	.L120
.L119:
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
.L120:
	mov	r1, #0
	mov	r0, #0
	bl	redraw
.L118:
	ldr	r3, .L128+76
	ldr	r3, [r3]
	cmp	r4, r3
	bne	.L121
	ldr	r3, .L128+116
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L122
.L117:
	ldr	r3, .L128+120
	ldr	r3, [r3]
	mvn	r3, r3
	lsr	r3, r3, #31
	and	r3, r3, #255
	mov	r0, r3
	ldr	r3, .L128+84
	ldr	r3, [r3]
	ldr	r2, .L128+92
	ldr	r1, [r2, r3, lsl #2]
	ldr	r3, .L128+76
	ldr	r3, [r3]
	ldr	r2, .L128+92
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, .L128+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L123
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
	lsl	r3, r3, #1
	b	.L124
.L123:
	ldr	r3, .L128+96
	ldrsh	r3, [r3]
.L124:
	bl	redraw
.L122:
	nop
	ldr	r2, .L128
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L125
	bl	__stack_chk_fail
.L125:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L129:
	.align	2
.L128:
	.word	.LC54
	.word	xfl
	.word	xtl
	.word	xfs
	.word	stereoFlag
	.word	stx
	.word	viewl
	.word	viewx
	.word	pTflag
	.word	tx
	.word	vertex
	.word	sVert
	.word	vertices
	.word	xoff
	.word	viewr
	.word	rVert
	.word	xif
	.word	tx1
	.word	xil
	.word	buf
	.word	1374389535
	.word	obuf
	.word	edge
	.word	sEdge
	.word	edges
	.word	.LC50
	.word	.LC51
	.word	.LC52
	.word	.LC53
	.word	drawn
	.word	tail
	.size	cycle, .-cycle
	.align	2
	.global	xinit
	.syntax unified
	.arm
	.fpu softvfp
	.type	xinit, %function
xinit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r5, [fp, #-16]
	ldrb	r3, [r5]	@ zero_extendqisi2
	sub	r3, r3, #46
	cmp	r3, #76
	ldrls	pc, [pc, r3, asl #2]
	b	.L131
.L133:
	.word	.L140
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L139
	.word	.L138
	.word	.L137
	.word	.L136
	.word	.L135
	.word	.L134
	.word	.L132
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L131
	.word	.L139
	.word	.L138
	.word	.L137
	.word	.L136
	.word	.L135
	.word	.L134
	.word	.L132
.L140:
	ldr	r0, [fp, #-20]
	bl	Ident
	nop
	b	.L130
.L135:
	mov	r4, #1
	b	.L142
.L134:
	mov	r4, #2
	b	.L142
.L132:
	mov	r4, #3
	b	.L142
.L139:
	mov	r4, #4
	b	.L142
.L138:
	mov	r4, #5
	b	.L142
.L137:
	mov	r4, #6
	b	.L142
.L136:
	mov	r4, #7
.L142:
	add	r3, r5, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r3, r3, #80
	cmp	r3, #42
	ldrls	pc, [pc, r3, asl #2]
	b	.L143
.L145:
	.word	.L153
	.word	.L143
	.word	.L143
	.word	.L152
	.word	.L151
	.word	.L150
	.word	.L149
	.word	.L148
	.word	.L147
	.word	.L146
	.word	.L144
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L143
	.word	.L153
	.word	.L143
	.word	.L143
	.word	.L152
	.word	.L151
	.word	.L150
	.word	.L149
	.word	.L148
	.word	.L147
	.word	.L146
	.word	.L144
.L153:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r2, r0
	ldr	r3, [fp, #-20]
	str	r3, [sp, #4]
	str	r2, [sp]
	ldr	r2, .L156
	ldr	r3, .L156+4
	mov	r0, r4
	bl	Persp
	b	.L154
.L152:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	ldr	r2, [fp, #-20]
	mov	r1, r3
	mov	r0, r4
	bl	Scale
	b	.L154
.L147:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #1
	mov	r0, r4
	bl	Rot
	b	.L154
.L146:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #2
	mov	r0, r4
	bl	Rot
	b	.L154
.L144:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #3
	mov	r0, r4
	bl	Rot
	b	.L154
.L151:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #4
	mov	r0, r4
	bl	Rot
	b	.L154
.L150:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #5
	mov	r0, r4
	bl	Rot
	b	.L154
.L149:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #6
	mov	r0, r4
	bl	Rot
	b	.L154
.L148:
	add	r3, r5, #2
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L156+8
	ldr	r3, .L156+12
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-20]
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	mov	r1, #7
	mov	r0, r4
	bl	Rot
	b	.L154
.L143:
	add	r3, r5, #1
	mov	r0, r3
	bl	atof
	mov	r3, r0
	ldr	r2, [fp, #-20]
	mov	r1, r3
	mov	r0, r4
	bl	Trans
.L154:
	mov	r3, #1
	b	.L130
.L131:
	mov	r3, #0
.L130:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L157:
	.align	2
.L156:
	.word	1405670641
	.word	1072243195
	.word	-1577392366
	.word	1066524486
	.size	xinit, .-xinit
	.section	.rodata
	.align	2
.LC55:
	.ascii	"    [\000"
	.align	2
.LC56:
	.ascii	"%8.4f \000"
	.align	2
.LC57:
	.ascii	"]\000"
	.text
	.align	2
	.global	xprint
	.syntax unified
	.arm
	.fpu softvfp
	.type	xprint, %function
xprint:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	mov	r5, #0
	b	.L159
.L162:
	ldr	r0, .L163
	bl	printf
	mov	r4, #0
	b	.L160
.L161:
	mov	r2, r5
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r3, r2
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	ldr	r0, .L163+4
	bl	printf
	add	r4, r4, #1
.L160:
	ldr	r3, .L163+8
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L161
	ldr	r0, .L163+12
	bl	puts
	add	r5, r5, #1
.L159:
	ldr	r3, .L163+8
	ldr	r3, [r3]
	cmp	r5, r3
	ble	.L162
	nop
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L164:
	.align	2
.L163:
	.word	.LC55
	.word	.LC56
	.word	dim
	.word	.LC57
	.size	xprint, .-xprint
	.section	.rodata
	.align	2
.LC58:
	.ascii	", \000"
	.align	2
.LC59:
	.ascii	"%7.4f%s\000"
	.text
	.align	2
	.global	vprint
	.syntax unified
	.arm
	.fpu softvfp
	.type	vprint, %function
vprint:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	mov	r4, #0
	b	.L166
.L169:
	mov	r3, r4
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L170
	ldr	r3, [r3]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L170
	ldr	r3, [r3]
	sub	r3, r3, #1
	cmp	r4, r3
	bge	.L167
	ldr	r3, .L170+4
	b	.L168
.L167:
	ldr	r3, .L170+8
.L168:
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L170+12
	bl	printf
	add	r4, r4, #1
.L166:
	ldr	r3, .L170
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L169
	nop
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L171:
	.align	2
.L170:
	.word	dim
	.word	.LC58
	.word	.LC0
	.word	.LC59
	.size	vprint, .-vprint
	.align	2
	.global	initScale
	.syntax unified
	.arm
	.fpu softvfp
	.type	initScale, %function
initScale:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L176
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L176+4
	str	r2, [r3]
	ldr	r3, .L176+8
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L176+12
	str	r2, [r3]
	ldr	r3, .L176+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L173
	ldr	r3, .L176+4
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L176+12
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L176+20
	stm	r1, {r2-r3}
	b	.L175
.L173:
	ldr	r3, .L176+4
	ldr	r2, [r3]
	ldr	r3, .L176+12
	ldr	r3, [r3]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L176+20
	stm	r1, {r2-r3}
.L175:
	nop
	pop	{fp, pc}
.L177:
	.align	2
.L176:
	.word	winW
	.word	xoff
	.word	winH
	.word	yoff
	.word	stereoFlag
	.word	Sscale
	.size	initScale, .-initScale
	.align	2
	.global	initXforms
	.syntax unified
	.arm
	.fpu softvfp
	.type	initXforms, %function
initXforms:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L179
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L179
	ldrsh	r3, [r3]
	ldr	r2, .L179+4
	strh	r3, [r2]	@ movhi
	ldr	r0, .L179+8
	bl	Ident
	bl	initScale
	nop
	pop	{fp, pc}
.L180:
	.align	2
.L179:
	.word	curxf
	.word	xfs
	.word	figx
	.size	initXforms, .-initXforms
	.global	__aeabi_dcmpgt
	.align	2
	.global	normalPersp
	.syntax unified
	.arm
	.fpu softvfp
	.type	normalPersp, %function
normalPersp:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, fp, lr}
	add	fp, sp, #24
	sub	sp, sp, #44
	str	r0, [fp, #-60]
	str	r1, [fp, #-56]
	str	r2, [fp, #-64]
	ldr	r3, .L187
	ldmia	r3, {r0-r1}
	ldr	r2, .L187+4
	ldr	r3, .L187+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sin
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	ldr	r0, [fp, #-64]
	bl	Ident
	ldr	r3, [fp, #-64]
	add	r8, r3, #160
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	cos
	mov	r2, r0
	mov	r3, r1
	str	r2, [r8, #16]
	str	r3, [r8, #20]
	ldr	r3, [fp, #-64]
	add	r1, r3, #80
	add	r3, r8, #16
	ldmia	r3, {r2-r3}
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r4, [fp, #-44]
	ldr	r3, [fp, #-40]
	eor	r5, r3, #-2147483648
	ldr	r3, [fp, #-64]
	stm	r3, {r4-r5}
	ldr	r3, .L187+12
	ldr	r3, [r3]
	str	r3, [fp, #-48]
	b	.L182
.L185:
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r2, r3, r2
	ldr	r3, [fp, #-48]
	lsl	r3, r3, #3
	add	r1, r2, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	mov	r2, r3
	ldr	r3, [fp, #-64]
	add	r4, r3, r2
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	sin
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L183
	ldr	r6, [fp, #-44]
	ldr	r3, [fp, #-40]
	eor	r7, r3, #-2147483648
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-64]
	ldr	r1, [fp, #-48]
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
.L183:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
.L182:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	bgt	.L185
	nop
	nop
	sub	sp, fp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, fp, pc}
.L188:
	.align	2
.L187:
	.word	radius
	.word	-858993459
	.word	1072745676
	.word	dim
	.size	normalPersp, .-normalPersp
	.align	2
	.global	stereoView
	.syntax unified
	.arm
	.fpu softvfp
	.type	stereoView, %function
stereoView:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r2, .L190
	ldr	r3, .L190+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #800
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L190+8
	ldmia	r3, {r2-r3}
	mov	r4, r2
	eor	r5, r3, #-2147483648
	ldr	r3, .L190
	str	r3, [sp]
	mov	r2, r4
	mov	r3, r5
	mov	r1, #3
	mov	r0, #1
	bl	Rot
	ldr	r2, .L190+12
	ldr	r3, .L190+4
	mov	r0, r2
	mov	r1, r3
	mov	r3, #800
	mov	r2, r3
	bl	memcpy
	ldr	r3, .L190+8
	ldmia	r3, {r2-r3}
	ldr	r1, .L190+12
	str	r1, [sp]
	mov	r1, #3
	mov	r0, #1
	bl	Rot
	bl	initScale
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L191:
	.align	2
.L190:
	.word	viewl
	.word	viewx
	.word	sangle
	.word	viewr
	.size	stereoView, .-stereoView
	.global	__aeabi_dsub
	.align	2
	.global	randomXform
	.syntax unified
	.arm
	.fpu softvfp
	.type	randomXform, %function
randomXform:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L197
	ldrsh	r3, [r3]
	mov	r0, r3
	bl	useXform
	ldr	r3, .L197
	ldrsh	r3, [r3]
	ldr	r2, .L197+4
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	mov	r3, #1
	str	r3, [fp, #-20]
	b	.L193
.L196:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-16]
	b	.L194
.L195:
	bl	rand
	mov	r3, r0
	rsbs	r2, r3, #0
	lsl	r3, r3, #18
	lsr	r3, r3, #18
	lsl	r2, r2, #18
	lsr	r2, r2, #18
	rsbpl	r3, r2, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L197+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L197+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L197+16
	ldr	r3, .L197+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r2, .L197+24
	ldr	r3, .L197+28
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L197
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L197+32
	add	r3, r3, r2
	str	r3, [sp]
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	Rot
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L194:
	ldr	r3, .L197+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L195
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L193:
	ldr	r3, .L197+36
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L196
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L198:
	.align	2
.L197:
	.word	curxf
	.word	xif
	.word	1086324736
	.word	1072693248
	.word	-1717986918
	.word	1069128089
	.word	-1577392366
	.word	1066524486
	.word	xil
	.word	dim
	.size	randomXform, .-randomXform
	.align	2
	.global	useXform
	.syntax unified
	.arm
	.fpu softvfp
	.type	useXform, %function
useXform:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L202
	strh	r3, [r2]	@ movhi
	b	.L200
.L201:
	ldr	r3, .L202+4
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L202+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L202
	ldrsh	r3, [r3]
	ldr	r2, .L202+8
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L202
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L202+12
	add	r3, r3, r2
	mov	r0, r3
	bl	Ident
	ldr	r3, .L202
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L202+16
	add	r3, r3, r2
	mov	r0, r3
	bl	Ident
.L200:
	ldr	r3, .L202
	ldrsh	r2, [r3]
	ldr	r3, .L202+4
	ldrsh	r3, [r3]
	cmp	r2, r3
	bge	.L201
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L203:
	.align	2
.L202:
	.word	curxf
	.word	xfs
	.word	xif
	.word	xfl
	.word	xil
	.size	useXform, .-useXform
	.align	2
	.global	nextXform
	.syntax unified
	.arm
	.fpu softvfp
	.type	nextXform, %function
nextXform:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L207
	ldrsh	r2, [r3]
	ldr	r3, .L207+4
	ldrsh	r3, [r3]
	cmp	r2, r3
	bgt	.L206
	ldr	r3, .L207
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L207
	strh	r3, [r2]	@ movhi
.L206:
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L208:
	.align	2
.L207:
	.word	curxf
	.word	xfs
	.size	nextXform, .-nextXform
	.align	2
	.global	initMemory
	.syntax unified
	.arm
	.fpu softvfp
	.type	initMemory, %function
initMemory:
	@ 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]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L210
	ldr	r3, .L220
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L211
	ldr	r3, .L220
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L211:
	mov	r1, #80
	ldr	r0, [fp, #-16]
	bl	calloc
	mov	r3, r0
	ldr	r2, .L220
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L220+4
	strh	r3, [r2]	@ movhi
.L210:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L212
	ldr	r3, .L220+8
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L213
	ldr	r3, .L220+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L213:
	mov	r1, #4
	ldr	r0, [fp, #-20]
	bl	calloc
	mov	r3, r0
	ldr	r2, .L220+8
	str	r3, [r2]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L220+12
	strh	r3, [r2]	@ movhi
.L212:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L214
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L215
.L217:
	ldr	r2, .L220+16
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L216
	ldr	r2, .L220+16
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	bl	free
.L216:
	ldr	r3, .L220+12
	ldrsh	r3, [r3]
	lsl	r3, r3, #1
	mov	r1, #8
	mov	r0, r3
	bl	calloc
	mov	r2, r0
	ldr	r1, .L220+16
	ldr	r3, [fp, #-8]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L215:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	blt	.L217
	ldr	r3, .L220+20
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L218
	ldr	r3, .L220+20
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L218:
	ldr	r3, .L220+4
	ldrsh	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	ldr	r2, .L220+20
	str	r3, [r2]
	ldr	r3, .L220+24
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L219
	ldr	r3, .L220+24
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
.L219:
	ldr	r3, .L220+4
	ldrsh	r3, [r3]
	mov	r1, #4
	mov	r0, r3
	bl	calloc
	mov	r3, r0
	ldr	r2, .L220+24
	str	r3, [r2]
.L214:
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L221:
	.align	2
.L220:
	.word	vertex
	.word	vertices
	.word	edge
	.word	edges
	.word	sEdge
	.word	sVert
	.word	rVert
	.size	initMemory, .-initMemory
	.section	.rodata
	.align	2
.LC60:
	.ascii	"Computed edges = %d, actual = %d\012\000"
	.text
	.align	2
	.global	initCube
	.syntax unified
	.arm
	.fpu softvfp
	.type	initCube, %function
initCube:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	ldr	r3, .L235
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L235+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L235+4
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, .L235
	ldr	r3, [r3]
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L235+8
	strh	r3, [r2]	@ movhi
	ldr	r3, .L235+4
	ldrsh	r3, [r3]
	mov	r0, r3
	ldr	r3, .L235+8
	ldrsh	r3, [r3]
	mov	r2, #100
	mov	r1, r3
	bl	initMemory
	mov	r4, #0
	b	.L223
.L228:
	mov	r5, #0
	b	.L224
.L227:
	asr	r3, r4, r5
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L225
	mov	r0, #0
	ldr	r1, .L235+12
	b	.L226
.L225:
	mov	r0, #0
	ldr	r1, .L235+16
.L226:
	ldr	r3, .L235+20
	ldr	r2, [r3]
	mov	ip, r4
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #4
	add	r2, r2, r3
	add	r3, r5, #1
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r0-r1}
	add	r5, r5, #1
.L224:
	ldr	r3, .L235
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L227
	ldr	r3, .L235+20
	ldr	r2, [r3]
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L235+12
	stm	r1, {r2-r3}
	add	r4, r4, #1
.L223:
	ldr	r3, .L235+4
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L228
	mov	r4, #0
	mov	r6, #0
	b	.L229
.L233:
	mov	r5, #0
	b	.L230
.L232:
	asr	r3, r4, r5
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L231
	ldr	r3, .L235+24
	ldr	r2, [r3]
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r2, r4, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	mov	r3, #1
	lsl	r3, r3, r5
	lsl	r3, r3, #16
	asr	r1, r3, #16
	lsl	r3, r4, #16
	asr	r2, r3, #16
	ldr	r3, .L235+24
	ldr	r0, [r3]
	mov	r3, r6
	add	r6, r3, #1
	lsl	r3, r3, #2
	add	r3, r0, r3
	orr	r2, r1, r2
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
.L231:
	add	r5, r5, #1
.L230:
	ldr	r3, .L235
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L232
	add	r4, r4, #1
.L229:
	ldr	r3, .L235
	ldr	r3, [r3]
	mov	r2, #1
	lsl	r3, r2, r3
	cmp	r4, r3
	blt	.L233
	ldr	r3, .L235+8
	ldrsh	r3, [r3]
	cmp	r6, r3
	beq	.L234
	ldr	r3, .L235+28
	ldr	r0, [r3]
	ldr	r3, .L235+8
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r6
	ldr	r1, .L235+32
	bl	fprintf
	mov	r0, #1
	bl	exit
.L234:
	nop
	mov	r0, r3
	pop	{r4, r5, r6, r7, fp, pc}
.L236:
	.align	2
.L235:
	.word	dim
	.word	vertices
	.word	edges
	.word	1072693248
	.word	-1074790400
	.word	vertex
	.word	edge
	.word	stderr
	.word	.LC60
	.size	initCube, .-initCube
	.section	.rodata
	.align	2
.LC61:
	.ascii	"a = %f, b = %f, c = %f, d = %f\012\000"
	.align	2
.LC62:
	.ascii	"a2= %f, b2= %f, c2= %f, d2= %f\012\000"
	.text
	.align	2
	.global	initSimplex
	.syntax unified
	.arm
	.fpu softvfp
	.type	initSimplex, %function
initSimplex:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #64
	ldr	r3, .L250
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, .L250
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L250+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L250+4
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, .L250+4
	ldrsh	r3, [r3]
	sub	r3, r3, #1
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L250+8
	strh	r3, [r2]	@ movhi
	ldr	r3, .L250+4
	ldrsh	r3, [r3]
	mov	r0, r3
	ldr	r3, .L250+8
	ldrsh	r3, [r3]
	mov	r2, #100
	mov	r1, r3
	bl	initMemory
	mov	r2, #0
	ldr	r3, .L250+12
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	sqrt
	ldr	r2, .L250+16
	ldr	r3, .L250+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	sqrt
	mov	r2, #0
	ldr	r3, .L250+24
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r5, #0
	b	.L238
.L243:
	mov	r4, #0
	b	.L239
.L242:
	cmp	r5, r4
	bne	.L240
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L250+12
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	b	.L241
.L240:
	ldr	r6, [fp, #-36]
	ldr	r3, [fp, #-32]
	eor	r7, r3, #-2147483648
.L241:
	ldr	r3, .L250+28
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r2, r2, r3
	add	r3, r4, #1
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r6-r7}
	add	r4, r4, #1
.L239:
	ldr	r3, .L250
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L242
	ldr	r3, .L250+28
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L250+12
	stm	r1, {r2-r3}
	add	r5, r5, #1
.L238:
	ldr	r3, .L250+4
	ldrsh	r3, [r3]
	sub	r3, r3, #1
	cmp	r5, r3
	blt	.L243
	mov	r4, #0
	b	.L244
.L245:
	ldr	r8, [fp, #-44]
	ldr	r3, [fp, #-40]
	eor	r9, r3, #-2147483648
	ldr	r3, .L250+28
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r6, r2, r3
	add	r7, r4, #1
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	lsl	r1, r7, #3
	add	r1, r6, r1
	stm	r1, {r2-r3}
	add	r4, r4, #1
.L244:
	ldr	r3, .L250
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L245
	ldr	r3, .L250+28
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L250+12
	stm	r1, {r2-r3}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	ldr	r0, .L250+32
	bl	printf
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	str	r6, [sp, #8]
	str	r7, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	mov	r3, r9
	ldr	r0, .L250+36
	bl	printf
	mov	r5, #0
	mov	r6, #0
	b	.L246
.L249:
	add	r4, r5, #1
	b	.L247
.L248:
	ldr	r3, .L250+40
	ldr	r2, [r3]
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r2, r5, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, .L250+40
	ldr	r2, [r3]
	mov	r3, r6
	add	r6, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r2, r4, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	add	r4, r4, #1
.L247:
	ldr	r3, .L250+4
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L248
	add	r5, r5, #1
.L246:
	ldr	r3, .L250+4
	ldrsh	r3, [r3]
	sub	r3, r3, #1
	cmp	r5, r3
	blt	.L249
	nop
	nop
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L251:
	.align	2
.L250:
	.word	dim
	.word	vertices
	.word	edges
	.word	1072693248
	.word	1719614413
	.word	1073127582
	.word	1074790400
	.word	vertex
	.word	.LC61
	.word	.LC62
	.word	edge
	.size	initSimplex, .-initSimplex
	.align	2
	.global	initKite
	.syntax unified
	.arm
	.fpu softvfp
	.type	initKite, %function
initKite:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	ldr	r3, .L267
	ldr	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L267+4
	strh	r3, [r2]	@ movhi
	ldr	r3, .L267+4
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, .L267+4
	ldrsh	r3, [r3]
	sub	r3, r3, #2
	mul	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L267+8
	strh	r3, [r2]	@ movhi
	ldr	r3, .L267+4
	ldrsh	r3, [r3]
	mov	r0, r3
	ldr	r3, .L267+8
	ldrsh	r3, [r3]
	mov	r2, #100
	mov	r1, r3
	bl	initMemory
	mov	r5, #0
	b	.L253
.L262:
	mov	r4, #0
	b	.L254
.L257:
	cmp	r5, r4
	bne	.L255
	mov	r0, #0
	ldr	r1, .L267+12
	b	.L256
.L255:
	mov	r0, #0
	mov	r1, #0
.L256:
	ldr	r3, .L267+16
	ldr	r2, [r3]
	mov	ip, r5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #5
	add	r2, r2, r3
	add	r3, r4, #1
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r0-r1}
	add	r4, r4, #1
.L254:
	ldr	r3, .L267
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L257
	ldr	r3, .L267+16
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #5
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L267+12
	stm	r1, {r2-r3}
	mov	r4, #0
	b	.L258
.L261:
	cmp	r5, r4
	bne	.L259
	mov	r0, #0
	ldr	r1, .L267+20
	b	.L260
.L259:
	mov	r0, #0
	mov	r1, #0
.L260:
	ldr	r3, .L267+16
	ldr	r2, [r3]
	mov	ip, r5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #5
	add	r3, r3, #80
	add	r2, r2, r3
	add	r3, r4, #1
	lsl	r3, r3, #3
	add	r3, r2, r3
	stm	r3, {r0-r1}
	add	r4, r4, #1
.L258:
	ldr	r3, .L267
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L261
	ldr	r3, .L267+16
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #5
	add	r3, r3, #80
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L267+12
	stm	r1, {r2-r3}
	add	r5, r5, #1
.L253:
	ldr	r3, .L267
	ldr	r3, [r3]
	cmp	r5, r3
	blt	.L262
	mov	r5, #0
	mov	r6, #0
	b	.L263
.L266:
	add	r4, r5, #2
	b	.L264
.L265:
	ldr	r3, .L267+24
	ldr	r2, [r3]
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r2, r5, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, .L267+24
	ldr	r2, [r3]
	mov	r3, r6
	add	r6, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r2, r4, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	lsl	r3, r5, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r2, r3, #16
	ldr	r3, .L267+24
	ldr	r1, [r3]
	mov	r3, r6
	lsl	r3, r3, #2
	add	r3, r1, r3
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r3, .L267+24
	ldr	r2, [r3]
	mov	r3, r6
	add	r6, r3, #1
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r2, r4, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	add	r4, r4, #1
.L264:
	ldr	r3, .L267+4
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L265
	add	r5, r5, #2
.L263:
	ldr	r3, .L267+4
	ldrsh	r3, [r3]
	sub	r3, r3, #2
	cmp	r5, r3
	blt	.L266
	nop
	nop
	pop	{r4, r5, r6, r7, fp, pc}
.L268:
	.align	2
.L267:
	.word	dim
	.word	vertices
	.word	edges
	.word	1072693248
	.word	vertex
	.word	-1074790400
	.word	edge
	.size	initKite, .-initKite
	.section	.rodata
	.align	2
.LC63:
	.ascii	"r\000"
	.align	2
.LC64:
	.ascii	"Cannot open input file %s\012\000"
	.align	2
.LC65:
	.ascii	"%d \000"
	.align	2
.LC66:
	.ascii	"Vertices: %d\012\000"
	.align	2
.LC67:
	.ascii	"%lg \000"
	.align	2
.LC68:
	.ascii	"Edges: %d\012\000"
	.align	2
.LC69:
	.ascii	"%d %d \000"
	.align	2
.LC70:
	.ascii	"Only %d fields reading edge %d\012\000"
	.align	2
.LC71:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	initFile
	.syntax unified
	.arm
	.fpu softvfp
	.type	initFile, %function
initFile:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	ldr	r3, .L282
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L282+4
	ldr	r3, [r3]
	ldr	r1, .L282+8
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bne	.L270
	ldr	r3, .L282+12
	ldr	r3, [r3]
	ldr	r2, .L282+4
	ldr	r2, [r2]
	ldr	r1, .L282+16
	mov	r0, r3
	bl	fprintf
	bl	initCube
	b	.L269
.L270:
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L282+20
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	mov	r3, r0
	cmp	r3, #1
	bne	.L272
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L282+24
	bl	printf
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L282+28
	strh	r3, [r2]	@ movhi
	ldr	r3, .L282+32
	mov	r2, #4
	str	r2, [r3]
	ldr	r3, .L282+28
	ldrsh	r3, [r3]
	mov	r2, #0
	mov	r1, #0
	mov	r0, r3
	bl	initMemory
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L273
.L276:
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L274
.L275:
	sub	r3, fp, #20
	mov	r2, r3
	ldr	r1, .L282+36
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	ldr	r3, .L282+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, [fp, #-28]
	add	r1, r3, #1
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L274:
	ldr	r3, .L282+32
	ldr	r3, [r3]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	blt	.L275
	ldr	r3, .L282+40
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	mov	r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r1, r2, r3
	mov	r2, #0
	ldr	r3, .L282+44
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L273:
	ldr	r3, .L282+28
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bgt	.L276
	sub	r3, fp, #40
	mov	r2, r3
	ldr	r1, .L282+20
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	ldr	r3, [fp, #-40]
	mov	r1, r3
	ldr	r0, .L282+48
	bl	printf
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L282+52
	strh	r3, [r2]	@ movhi
	ldr	r3, .L282+52
	ldrsh	r3, [r3]
	mov	r2, #100
	mov	r1, r3
	mov	r0, #0
	bl	initMemory
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L277
.L279:
	sub	r3, fp, #32
	sub	r2, fp, #36
	ldr	r1, .L282+56
	ldr	r0, [fp, #-24]
	bl	__isoc99_fscanf
	str	r0, [fp, #-28]
	ldr	r2, [fp, #-36]
	ldr	r3, .L282+60
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r1, r3
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3]	@ movhi
	ldr	r2, [fp, #-32]
	ldr	r3, .L282+60
	ldr	r1, [r3]
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	add	r3, r1, r3
	lsl	r2, r2, #16
	asr	r2, r2, #16
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	beq	.L278
	ldr	r3, .L282+12
	ldr	r0, [r3]
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-28]
	ldr	r1, .L282+64
	bl	fprintf
.L278:
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L277:
	ldr	r3, .L282+52
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	bgt	.L279
	b	.L280
.L272:
	bl	initCube
.L280:
	ldr	r0, [fp, #-24]
	bl	fclose
.L269:
	ldr	r3, .L282
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L281
	bl	__stack_chk_fail
.L281:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L283:
	.align	2
.L282:
	.word	.LC71
	.word	figure
	.word	.LC63
	.word	stderr
	.word	.LC64
	.word	.LC65
	.word	.LC66
	.word	vertices
	.word	dim
	.word	.LC67
	.word	vertex
	.word	1072693248
	.word	.LC68
	.word	edges
	.word	.LC69
	.word	edge
	.word	.LC70
	.size	initFile, .-initFile
	.section	.rodata
	.align	2
.LC72:
	.ascii	"cube\000"
	.align	2
.LC73:
	.ascii	"c\000"
	.align	2
.LC74:
	.ascii	"simplex\000"
	.align	2
.LC75:
	.ascii	"s\000"
	.align	2
.LC76:
	.ascii	"kite\000"
	.align	2
.LC77:
	.ascii	"k\000"
	.align	2
.LC78:
	.ascii	"cross\000"
	.text
	.align	2
	.global	initFigure
	.syntax unified
	.arm
	.fpu softvfp
	.type	initFigure, %function
initFigure:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	ldr	r3, .L301
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L285
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L285
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L286
.L285:
	bl	initCube
	b	.L287
.L286:
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+12
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L288
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+16
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L289
.L288:
	bl	initSimplex
	b	.L287
.L289:
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+20
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L290
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+24
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L290
	ldr	r3, .L301
	ldr	r3, [r3]
	ldr	r1, .L301+28
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L291
.L290:
	bl	initKite
	b	.L287
.L291:
	bl	initFile
.L287:
	ldr	r1, .L301+32
	mov	r2, #0
	mov	r3, #0
	stm	r1, {r2-r3}
	mov	r5, #1
	b	.L292
.L297:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r4, #1
	b	.L293
.L294:
	ldr	r3, .L301+36
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r2, r2, r3
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, .L301+36
	ldr	r2, [r3]
	mov	ip, r5
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r3, r3, #4
	add	r2, r2, r3
	lsl	r3, r4, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	add	r4, r4, #1
.L293:
	ldr	r3, .L301+40
	ldr	r3, [r3]
	cmp	r4, r3
	ble	.L294
	ldr	r3, .L301+36
	ldr	r2, [r3]
	mov	r1, r5
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	sqrt
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, .L301+32
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L295
	ldr	r1, .L301+32
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
.L295:
	add	r5, r5, #1
.L292:
	ldr	r3, .L301+44
	ldrsh	r3, [r3]
	cmp	r5, r3
	blt	.L297
	ldr	r3, .L301+48
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L298
	ldr	r3, .L301+52
	ldmia	r3, {r0-r1}
	b	.L299
.L298:
	mov	r0, #0
	mov	r1, #0
.L299:
	ldr	r2, .L301+56
	bl	normalPersp
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L302:
	.align	2
.L301:
	.word	figure
	.word	.LC72
	.word	.LC73
	.word	.LC74
	.word	.LC75
	.word	.LC76
	.word	.LC77
	.word	.LC78
	.word	radius
	.word	vertex
	.word	dim
	.word	vertices
	.word	perspFlag
	.word	vangle
	.word	viewx
	.size	initFigure, .-initFigure
	.align	2
	.global	reInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	reInit, %function
reInit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	bl	initFigure
	bl	initXforms
	ldr	r3, .L311
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L304
	ldr	r3, .L311+4
	ldmia	r3, {r0-r1}
	b	.L305
.L304:
	mov	r0, #0
	mov	r1, #0
.L305:
	ldr	r2, .L311+8
	bl	normalPersp
	ldr	r3, .L311+12
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L306
	bl	randomXform
.L306:
	ldr	r3, .L311+16
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L307
	bl	stereoView
	b	.L308
.L307:
	bl	initScale
.L308:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L309
.L310:
	ldr	r3, .L311+20
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r0, r1, r3
	ldr	r3, .L311+20
	ldr	r1, [r3]
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r3, r1, r3
	mov	r2, r3
	ldr	r1, .L311+24
	bl	Transform
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L309:
	ldr	r3, .L311+28
	ldrsh	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-8]
	cmp	r3, r2
	blt	.L310
	ldr	r3, .L311+32
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L312:
	.align	2
.L311:
	.word	perspFlag
	.word	vangle
	.word	viewx
	.word	xfs
	.word	stereoFlag
	.word	vertex
	.word	figx
	.word	vertices
	.word	drawn
	.size	reInit, .-reInit
	.align	2
	.global	cleanup
	.syntax unified
	.arm
	.fpu softvfp
	.type	cleanup, %function
cleanup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cleanup, .-cleanup
	.section	.rodata
	.align	2
.LC79:
	.ascii	"Total: %d rotation cycles; %.2f cycles/sec.\012\000"
	.align	2
.LC80:
	.ascii	"\012Current Transform:\000"
	.text
	.align	2
	.global	quit
	.syntax unified
	.arm
	.fpu softvfp
	.type	quit, %function
quit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #12
	bl	cleanup
	mov	r0, #0
	bl	time
	mov	r2, r0
	ldr	r3, .L316
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L316+4
	ldr	r4, [r3]
	ldr	r3, .L316+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r1, r4
	ldr	r0, .L316+8
	bl	printf
	ldr	r3, .L316+12
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L315
	ldr	r0, .L316+16
	bl	puts
.L315:
	mov	r0, #0
	bl	exit
.L317:
	.align	2
.L316:
	.word	theTime
	.word	cycles
	.word	.LC79
	.word	pTflag
	.word	.LC80
	.size	quit, .-quit
	.section	.rodata
	.align	2
.LC81:
	.ascii	"floating point exception\012\000"
	.text
	.align	2
	.global	fpeHdlr
	.syntax unified
	.arm
	.fpu softvfp
	.type	fpeHdlr, %function
fpeHdlr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	cleanup
	ldr	r3, .L319
	ldr	r3, [r3]
	mov	r2, #25
	mov	r1, #1
	ldr	r0, .L319+4
	bl	fwrite
	mov	r0, #1
	bl	exit
.L320:
	.align	2
.L319:
	.word	stderr
	.word	.LC81
	.size	fpeHdlr, .-fpeHdlr
	.global	ncube_bits
	.data
	.align	2
	.type	ncube_bits, %object
	.size	ncube_bits, 576
ncube_bits:
	.ascii	"\200\377\377\377\377\377\377\377\377\377\377\377\300"
	.ascii	"\003\000\000\000\000\000\000\000\000\000\360\240\014"
	.ascii	"\000)y\236\347y\236\347\001\254\2200\200\244$A\022$"
	.ascii	"I\020\200\223\210\300\300c\236\347y\236'8`\210\204\000"
	.ascii	"#\021AP A\022\004\030\204\002\000\220\210\340\211\236"
	.ascii	" y\036\000\202\377\377\007\000\000\000\000\000\000\300"
	.ascii	"\377\203\377\377\377\377\377\377\377\377\377\377\377"
	.ascii	"\203\007\000\000\001\000\000\000\000\000\014\340\203"
	.ascii	"\007\001\000\006\000\000\000\000\200\003x\203\007\013"
	.ascii	"\000\030\000\000\000\000`\000\036\203\007\033\000`\000"
	.ascii	"\000\000\000\030\000\016\203\007\033\002\200\001\000"
	.ascii	"\000\000\0068\006\203\007\033;\000\006\000\000\300\001"
	.ascii	"|\006\203\007\033\373\000\030\000\0000\000f\006\203"
	.ascii	"\0073\033\001`\000\000\0140c\006\203\0073\031\035\200"
	.ascii	"\001\000\2030c\006\203\007\243\031\245\000\376\377\230"
	.ascii	"0c\006\203\007\243\031\205\007\001\300\2060c\006\203"
	.ascii	"\007\343\030\205\210\000\340\2020c\006\203\007\343\030"
	.ascii	"\205\350\377\277\2020c\006\203\007c\030\205H\000\220"
	.ascii	"\2020#\006\203\007c\370\205H\000\220\20203\006\203\377"
	.ascii	"cx\234O\000\220\2020\037~\203\377c\030\204B\000P\202"
	.ascii	"0\037~\203\007c\030\204B\0000\20203\006\203\007c\030"
	.ascii	"\204\304\377\037\2020#\006\203\007c\030\204$\000 \202"
	.ascii	"0c\006\203\007c\030\204\010\000\000\2020c\006\203\007"
	.ascii	"c\030\204\000\000\000\2060c\006\203\007c\030\204\000"
	.ascii	"\000\000\2300c\006\203\007c\0304\000\000\000\2000c\006"
	.ascii	"\203\007c\030\014\000\000\000\2000c\006\203\007c\030"
	.ascii	"\000\000\000\000\0003c\006\203\007c\030\000\000\000"
	.ascii	"\000\000<c\006\203\007c\030\000\000\000\000\000\030"
	.ascii	"c\006\203\007c\010\000\000\000\000\000\000c\006\203"
	.ascii	"\007c\000\000\000\000\000\000\000f\006\203\007c\376"
	.ascii	"\377\377\377\377\377\377|\006\373\007\003\000\000\000"
	.ascii	"\000\000\000\0000\006\203\007\003\000^\306\363<\317"
	.ascii	"\003\000\006C\007\001\000A!I\202 \000\000\006#\007\000"
	.ascii	"\200\203\360<\307\363\000\000\016\023\007\000@@\011"
	.ascii	"\212\000A\000\000<\013\007\000\3401\005\321\363<\000"
	.ascii	"\000p\007\377\377\017\000\000\000\000\200\377\377\377"
	.ascii	"\003\377\377\377\377\377\377\377\377\377\377\377\001"
	.global	hsexp_bits
	.align	2
	.type	hsexp_bits, %object
	.size	hsexp_bits, 576
hsexp_bits:
	.ascii	"\200\377\377\377\377\377\377\377\377\377\377\377\300"
	.ascii	"\003\000\000\000\000\000\000\000\000\000\360\240\014"
	.ascii	"\200\341y\316!y\037\216\007\254\2200@\221$I\222\004"
	.ascii	"\004I\200\223\210\300\340y\236$I\002\202\344`\210\204"
	.ascii	"\000\223\004I\222$\001A\022\030\204\002\000H\202\310"
	.ascii	"y\236\207\300\011\000\202\377\377\003\000\000\000\000"
	.ascii	"\000\000\340\377\203\377\377\377\377\377\377\377\377"
	.ascii	"\377\377\377\203\007\000\000\001\000\000\000\000\000"
	.ascii	"\014\340\203\007\001\000\006\000\000\000\000\200\003"
	.ascii	"x\203\007\013\000\030\000\000\000\000`\200\036\203\007"
	.ascii	"\033\000`\000\000\000\000\030\360\016\203\007\033\002"
	.ascii	"\200\001\000\000\000\006x\006\203\007\033;\000\006\000"
	.ascii	"\000\300\201\031\006\203\007\033\373\000\030\000\000"
	.ascii	"0\340\033\006\203\0073\033\005`\000\000\014\026\033"
	.ascii	"\006\203\0073\031\035\200\001\000\303\025\033\006\203"
	.ascii	"\007\243\031\245\000\376\377X\024\033\006\203\007\243"
	.ascii	"\031\205\007\001\300F\024\033\006\203\007\343\030\205"
	.ascii	"\210\000\340B\024\033\006\203\007\343\030\205\350\377"
	.ascii	"\277B\024\033\006\203\007c\030\205H\000\220B\024\033"
	.ascii	"\006\203\007c\370\205H\000\220B\024\033\006\203\377"
	.ascii	"cx\234O\000\220\336\367\033~\203\377c\030\204B\000P"
	.ascii	"P\320\033~\203\007c\030\204B\0000P\020\033\006\203\007"
	.ascii	"c\030\204\304\377\037P\020\033\006\203\007c\030\204"
	.ascii	"$\000 P\020\033\006\203\007c\030\204\010\000\000Q\020"
	.ascii	"\033\006\203\007c\030\204\000\000\000V\020\033\006\203"
	.ascii	"\007c\030\204\000\000\000X\020\033\006\203\007c\030"
	.ascii	"4\000\000\000@\020\033\006\203\007c\030\014\000\000"
	.ascii	"\000@\020\033\006\203\007c\030\004\000\000\000\000\020"
	.ascii	"\033\006\203\007c\030\000\000\000\000\000\020\033\006"
	.ascii	"\203\007c\030\000\000\000\000\000\020\033\006\203\007"
	.ascii	"c\010\000\000\000\000\000\000\033\006\203\007c\000\000"
	.ascii	"\000\000\000\000\000\033\006\203\007#\377\377\377\377"
	.ascii	"\377\377\177\032\006\373\007\003\000\000\000\000\000"
	.ascii	"\000\0000\006\203\007\003\000^\306\363<\317\003\340"
	.ascii	"\006C\007\001\000A!I\202 \000\200\006#\007\000\200\203"
	.ascii	"\360<\307\363\000\000\016\023\007\000@@\011\222\000"
	.ascii	"A\000\000<\013\007\000\3401\005\321\363<\000\000p\007"
	.ascii	"\377\377\017\000\000\000\000\200\377\377\377\003\377"
	.ascii	"\377\377\377\377\377\377\377\377\377\377\001"
	.section	.rodata
	.align	2
.LC82:
	.ascii	"Dimension must be between 2 and %d (inclusive).\012"
	.ascii	"\000"
	.align	2
.LC83:
	.ascii	"ncube: unknown option %s\012\000"
	.align	2
.LC84:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	doCmd
	.syntax unified
	.arm
	.fpu softvfp
	.type	doCmd, %function
doCmd:
	@ args = 0, pretend = 0, frame = 840
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #840
	str	r0, [fp, #-840]
	str	r1, [fp, #-844]
	str	r2, [fp, #-848]
	ldr	r3, .L416
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #12
	sub	r3, r3, #820
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	sub	r3, fp, #12
	sub	r3, r3, #816
	sub	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	mov	r3, #0
	str	r3, [fp, #-828]
	mov	r3, #0
	str	r3, [fp, #-824]
	mov	r5, #1
	mov	r3, r5
	lsl	r3, r3, #2
	ldr	r2, [fp, #-844]
	add	r3, r2, r3
	ldr	r4, [r3]
	b	.L322
.L399:
	ldrb	r3, [r4]	@ zero_extendqisi2
	sub	r3, r3, #43
	cmp	r3, #77
	ldrls	pc, [pc, r3, asl #2]
	b	.L323
.L325:
	.word	.L342
	.word	.L341
	.word	.L340
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L339
	.word	.L323
	.word	.L334
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L338
	.word	.L337
	.word	.L323
	.word	.L336
	.word	.L335
	.word	.L334
	.word	.L333
	.word	.L323
	.word	.L332
	.word	.L331
	.word	.L323
	.word	.L330
	.word	.L323
	.word	.L329
	.word	.L328
	.word	.L327
	.word	.L326
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L324
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L338
	.word	.L337
	.word	.L323
	.word	.L336
	.word	.L335
	.word	.L334
	.word	.L333
	.word	.L323
	.word	.L332
	.word	.L331
	.word	.L323
	.word	.L330
	.word	.L323
	.word	.L329
	.word	.L328
	.word	.L327
	.word	.L326
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L323
	.word	.L324
.L340:
	add	r4, r4, #1
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L402
	b	.L322
.L338:
	ldr	r3, .L416+4
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L403
	ldr	r3, .L416+8
	ldrsh	r2, [r3]
	ldr	r3, .L416+12
	ldrsh	r3, [r3]
	cmp	r2, r3
	ble	.L403
	ldr	r3, .L416+16
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+16
	strh	r3, [r2]	@ movhi
	b	.L403
.L337:
	add	r3, r4, #1
	mov	r0, r3
	bl	atoi
	mov	r4, r0
	cmp	r4, #0
	bne	.L346
	add	r5, r5, #1
	mov	r3, r5
	lsl	r3, r3, #2
	ldr	r2, [fp, #-844]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L416+20
	str	r3, [r2]
	b	.L344
.L346:
	cmp	r4, #9
	bgt	.L347
	cmp	r4, #1
	bgt	.L348
.L347:
	ldr	r3, .L416+24
	ldr	r3, [r3]
	mov	r2, #9
	ldr	r1, .L416+28
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	beq	.L348
	mov	r0, #1
	bl	exit
.L348:
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L349
	ldr	r3, .L416+32
	str	r4, [r3]
.L349:
	mov	r3, #2
	str	r3, [fp, #-824]
	b	.L344
.L336:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L350
	ldr	r3, .L416+36
	ldr	r2, .L416+40
	str	r2, [r3]
	add	r3, r4, #1
	mov	r1, r3
	ldr	r0, .L416+40
	bl	strcpy
.L350:
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L404
	bl	initFigure
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L404
.L334:
	ldr	r3, [fp, #-848]
	cmp	r3, #1
	bne	.L405
	ldr	r0, .L416+44
	bl	prbox
	mov	r0, #1
	bl	exit
.L333:
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L406
	ldr	r3, .L416+48
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+48
	strh	r3, [r2]	@ movhi
	b	.L406
.L332:
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L407
	ldr	r3, .L416+52
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+52
	strh	r3, [r2]	@ movhi
	b	.L407
.L331:
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L355
	ldr	r3, .L416+56
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+56
	strh	r3, [r2]	@ movhi
.L355:
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L344
.L330:
	add	r3, r4, #1
	mov	r0, r3
	bl	atoi
	mov	r3, r0
	ldr	r2, .L416+60
	str	r3, [r2]
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L408
	ldr	r3, .L416+60
	ldr	r3, [r3]
	cmp	r3, #97
	ble	.L357
	ldr	r3, .L416+60
	mov	r2, #98
	str	r2, [r3]
.L357:
	ldr	r3, .L416+60
	ldr	r3, [r3]
	cmp	r3, #0
	blt	.L358
	ldr	r3, .L416+64
	ldr	r2, [r3]
	ldr	r3, .L416+60
	ldr	r3, [r3]
	sub	r3, r2, r3
	sub	r3, r3, #1
	b	.L359
.L358:
	ldr	r3, .L416+64
	ldr	r3, [r3]
	sub	r3, r3, #1
.L359:
	ldr	r2, .L416+68
	str	r3, [r2]
	ldr	r3, .L416+68
	ldr	r3, [r3]
	cmp	r3, #0
	bge	.L360
	ldr	r3, .L416+68
	ldr	r3, [r3]
	add	r3, r3, #100
	ldr	r2, .L416+68
	str	r3, [r2]
.L360:
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L344
.L329:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L361
	cmp	r3, #0
	blt	.L362
	cmp	r3, #116
	bgt	.L362
	cmp	r3, #69
	blt	.L362
	sub	r3, r3, #69
	cmp	r3, #47
	ldrls	pc, [pc, r3, asl #2]
	b	.L362
.L364:
	.word	.L366
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L365
	.word	.L363
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L366
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L362
	.word	.L365
	.word	.L363
.L366:
	ldr	r3, .L416+72
	ldrsh	r3, [r3]
	orr	r3, r3, #2
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+72
	strh	r3, [r2]	@ movhi
	b	.L367
.L365:
	ldr	r3, .L416+72
	ldrsh	r3, [r3]
	orr	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+72
	strh	r3, [r2]	@ movhi
	b	.L367
.L363:
	ldr	r3, .L416+76
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L367
.L361:
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L409
	ldr	r3, .L416+80
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+80
	strh	r3, [r2]	@ movhi
	b	.L409
.L362:
	add	r3, r4, #1
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	ldr	r2, .L416+84
	ldr	r3, .L416+88
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L416+92
	stm	r1, {r2-r3}
	ldr	r3, .L416+80
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L369
.L367:
	b	.L344
.L328:
	bl	quit
	b	.L344
.L327:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #118
	bne	.L370
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L371
	ldr	r3, .L416+96
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+96
	strh	r3, [r2]	@ movhi
.L371:
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L344
.L370:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L373
	ldr	r3, .L416+100
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L344
.L373:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #114
	bne	.L410
	bl	randomXform
	b	.L344
.L326:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L376
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L369
	ldr	r3, .L416+104
	ldrsh	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+104
	strh	r3, [r2]	@ movhi
	b	.L369
.L376:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #99
	beq	.L377
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #67
	bne	.L378
.L377:
	ldr	r3, .L416+104
	ldrsh	r3, [r3]
	cmp	r3, #2
	bne	.L379
	mov	r3, #1
	b	.L380
.L379:
	mov	r3, #2
.L380:
	ldr	r2, .L416+104
	strh	r3, [r2]	@ movhi
	b	.L369
.L378:
	add	r3, r4, #1
	mov	r0, r3
	bl	atof
	mov	r3, r0
	cmp	r3, #0
	bne	.L381
	ldr	r3, .L416+104
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L369
.L381:
	add	r3, r4, #1
	mov	r0, r3
	bl	atof
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L416+108
	stm	r1, {r2-r3}
	ldr	r3, .L416+104
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L411
	ldr	r3, .L416+104
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L369
.L409:
	nop
	b	.L369
.L411:
	nop
.L369:
	ldr	r3, [fp, #-848]
	cmp	r3, #0
	bne	.L382
	ldr	r3, .L416+80
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L383
	ldr	r3, .L416+92
	ldmia	r3, {r0-r1}
	b	.L384
.L383:
	mov	r0, #0
	mov	r1, #0
.L384:
	ldr	r2, .L416+112
	bl	normalPersp
	ldr	r3, .L416+104
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L385
	bl	stereoView
	b	.L382
.L385:
	bl	initScale
.L382:
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L344
.L335:
	add	r5, r5, #1
	mov	r3, r5
	lsl	r3, r3, #2
	ldr	r2, [fp, #-844]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, .L416+116
	str	r3, [r2]
	b	.L344
.L341:
	sub	r3, fp, #12
	sub	r3, r3, #816
	sub	r3, r3, #2
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	ldr	r3, .L416+120
	ldrsh	r3, [r3]
	cmp	r3, #0
	ble	.L412
	ldr	r3, .L416+124
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+124
	strh	r3, [r2]	@ movhi
	b	.L412
.L342:
	sub	r3, fp, #12
	sub	r3, r3, #816
	sub	r3, r3, #2
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r3, .L416+120
	ldrsh	r3, [r3]
	cmp	r3, #0
	ble	.L413
	ldr	r3, .L416+124
	ldrsh	r3, [r3]
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	add	r3, r3, #1
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+124
	strh	r3, [r2]	@ movhi
	b	.L413
.L339:
	sub	r3, fp, #12
	sub	r3, r3, #820
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L344
.L324:
	add	r3, r4, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L323
	ldr	r3, [fp, #-848]
	cmp	r3, #2
	beq	.L388
	ldr	r3, .L416+128
	ldrsh	r3, [r3]
	eor	r3, r3, #1
	lsl	r3, r3, #16
	asr	r3, r3, #16
	ldr	r2, .L416+128
	strh	r3, [r2]	@ movhi
.L388:
	mov	r3, #1
	str	r3, [fp, #-824]
	b	.L344
.L323:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #114
	bls	.L389
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #122
	bls	.L390
.L389:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #82
	bls	.L391
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #90
	bls	.L390
.L391:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #46
	bne	.L414
.L390:
	ldr	r3, [fp, #-848]
	cmp	r3, #1
	beq	.L415
	sub	r3, fp, #12
	sub	r3, r3, #820
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L393
	ldr	r1, .L416+132
	mov	r0, r4
	bl	xinit
	b	.L344
.L393:
	ldr	r3, .L416+124
	ldrsh	r3, [r3]
	mov	r0, r3
	bl	useXform
	sub	r3, fp, #12
	sub	r3, r3, #816
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L395
	ldr	r3, .L416+124
	ldrsh	r3, [r3]
	ldr	r2, .L416+136
	lsl	r3, r3, #1
	add	r3, r2, r3
	mov	r2, #1
	strh	r2, [r3]	@ movhi
.L395:
	sub	r3, fp, #12
	sub	r3, r3, #816
	sub	r3, r3, #2
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L396
	ldr	r3, .L416+124
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L416+140
	add	r3, r3, r2
	mov	r1, r3
	mov	r0, r4
	bl	xinit
	b	.L344
.L396:
	ldr	r3, .L416+124
	ldrsh	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	ldr	r2, .L416+144
	add	r3, r3, r2
	mov	r1, r3
	mov	r0, r4
	bl	xinit
	b	.L344
.L410:
	nop
	b	.L375
.L414:
	nop
.L375:
	ldr	r3, [fp, #-848]
	cmp	r3, #1
	bne	.L397
	ldr	r3, .L416+24
	ldr	r3, [r3]
	mov	r2, r4
	ldr	r1, .L416+148
	mov	r0, r3
	bl	fprintf
	ldr	r0, .L416+44
	bl	prbox
	mov	r0, #1
	bl	exit
.L397:
	mvn	r3, #0
	b	.L400
.L402:
	nop
	b	.L344
.L403:
	nop
	b	.L344
.L404:
	nop
	b	.L344
.L405:
	nop
	b	.L344
.L406:
	nop
	b	.L344
.L407:
	nop
	b	.L344
.L408:
	nop
	b	.L344
.L412:
	nop
	b	.L344
.L413:
	nop
	b	.L344
.L415:
	nop
.L344:
	add	r5, r5, #1
	mov	r3, r5
	lsl	r3, r3, #2
	ldr	r2, [fp, #-844]
	add	r3, r2, r3
	ldr	r4, [r3]
	ldr	r2, [fp, #-824]
	ldr	r3, [fp, #-828]
	cmp	r2, r3
	ble	.L322
	ldr	r3, [fp, #-824]
	str	r3, [fp, #-828]
.L322:
	ldr	r3, [fp, #-840]
	cmp	r5, r3
	blt	.L399
	ldr	r3, [fp, #-828]
.L400:
	ldr	r2, .L416
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L401
	bl	__stack_chk_fail
.L401:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L417:
	.align	2
.L416:
	.word	.LC84
	.word	haveColorFlag
	.word	maxColors
	.word	avoidColors
	.word	colorFlag
	.word	display
	.word	stderr
	.word	.LC82
	.word	dim
	.word	figure
	.word	figbuf
	.word	ohelp
	.word	interFlag
	.word	kFlag
	.word	logoFlag
	.word	tail
	.word	buf
	.word	obuf
	.word	pEflag
	.word	pTflag
	.word	perspFlag
	.word	-1577392366
	.word	1066524486
	.word	vangle
	.word	rvFlag
	.word	useRoot
	.word	stereoFlag
	.word	sangle
	.word	viewx
	.word	geom
	.word	xfs
	.word	curxf
	.word	xorFlag
	.word	figx
	.word	xif
	.word	xil
	.word	xfl
	.word	.LC83
	.size	doCmd, .-doCmd
	.global	keyptrs
	.data
	.align	2
	.type	keyptrs, %object
	.size	keyptrs, 12
keyptrs:
	.word	0
	.word	keys
	.word	0
	.text
	.align	2
	.global	doKey
	.syntax unified
	.arm
	.fpu softvfp
	.type	doKey, %function
doKey:
	@ 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, #-16]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L428
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L419
	mov	r3, #0
	b	.L420
.L419:
	ldrb	r3, [fp, #-16]	@ zero_extendqisi2
	sub	r3, r3, #10
	cmp	r3, #17
	ldrls	pc, [pc, r3, asl #2]
	b	.L421
.L423:
	.word	.L426
	.word	.L421
	.word	.L421
	.word	.L426
	.word	.L421
	.word	.L421
	.word	.L421
	.word	.L425
	.word	.L421
	.word	.L424
	.word	.L421
	.word	.L421
	.word	.L421
	.word	.L421
	.word	.L421
	.word	.L421
	.word	.L421
	.word	.L422
.L422:
	bl	quit
	b	.L427
.L424:
	ldr	r3, .L428+4
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	b	.L427
.L425:
	ldr	r3, .L428+4
	mov	r2, #0
	strh	r2, [r3]	@ movhi
	b	.L427
.L426:
	mov	r2, #0
	ldr	r1, .L428+8
	mov	r0, #2
	bl	doCmd
	str	r0, [fp, #-8]
	ldr	r3, .L428+12
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L428+16
	mov	r2, #0
	str	r2, [r3]
	b	.L427
.L421:
	ldr	r3, .L428+16
	ldr	r3, [r3]
	ldr	r1, .L428+12
	ldrb	r2, [fp, #-16]
	strb	r2, [r1, r3]
	ldr	r3, .L428+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L428+16
	str	r3, [r2]
	ldr	r3, .L428+16
	ldr	r3, [r3]
	ldr	r2, .L428+12
	mov	r1, #0
	strb	r1, [r2, r3]
.L427:
	bl	showKeys
	ldr	r3, [fp, #-8]
.L420:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L429:
	.align	2
.L428:
	.word	kFlag
	.word	pauseFlag
	.word	keyptrs
	.word	keys
	.word	curKey
	.size	doKey, .-doKey
	.section	.rodata
	.align	2
.LC85:
	.ascii	"\012Translation and view matrix:\000"
	.align	2
.LC86:
	.ascii	"Incremental Rotation matrix:\000"
	.align	2
.LC87:
	.ascii	"Figure transformation matrix:\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r0, .L444
	bl	time
	ldr	r3, .L444
	ldr	r3, [r3]
	mov	r0, r3
	bl	srand
	ldr	r2, .L444+4
	ldr	r3, [fp, #-16]
	str	r3, [r2]
	ldr	r1, .L444+8
	ldr	r2, .L444+12
	ldr	r3, .L444+16
	stm	r1, {r2-r3}
	ldr	r1, .L444+20
	ldr	r2, .L444+24
	ldr	r3, .L444+28
	stm	r1, {r2-r3}
	ldr	r3, .L444+32
	mvn	r2, #1
	str	r2, [r3]
	mov	r2, #1
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	doCmd
	ldr	r1, .L444+36
	mov	r0, #2
	bl	signal
	ldr	r1, .L444+40
	mov	r0, #8
	bl	signal
	bl	initGraphics
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L431
	ldr	r0, .L444+44
	bl	prbox
.L431:
	bl	initFigure
	bl	initXforms
	ldr	r3, .L444+48
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L432
	ldr	r3, .L444+52
	ldrsh	r2, [r3]
	ldr	r3, .L444+56
	ldrsh	r3, [r3]
	cmp	r2, r3
	ble	.L432
	ldr	r3, .L444+60
	mov	r2, #1
	strh	r2, [r3]	@ movhi
	ldr	r3, .L444+32
	ldr	r3, [r3]
	cmn	r3, #2
	bne	.L432
	ldr	r3, .L444+32
	mov	r2, #10
	str	r2, [r3]
.L432:
	ldr	r3, .L444+32
	ldr	r3, [r3]
	cmn	r3, #2
	bne	.L433
	ldr	r3, .L444+32
	mov	r2, #1
	str	r2, [r3]
.L433:
	ldr	r3, .L444+32
	ldr	r3, [r3]
	cmp	r3, #97
	ble	.L434
	ldr	r3, .L444+32
	mov	r2, #98
	str	r2, [r3]
.L434:
	ldr	r3, .L444+64
	ldr	r2, [r3]
	ldr	r3, .L444+32
	ldr	r3, [r3]
	add	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, .L444+68
	str	r3, [r2]
	mov	r2, #2
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	doCmd
	mov	r4, #0
	b	.L435
.L436:
	ldr	r3, .L444+72
	ldr	r2, [r3]
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r0, r2, r3
	ldr	r3, .L444+72
	ldr	r2, [r3]
	mov	r1, r4
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	add	r3, r2, r3
	mov	r2, r3
	ldr	r1, .L444+76
	bl	Transform
	add	r4, r4, #1
.L435:
	ldr	r3, .L444+80
	ldrsh	r3, [r3]
	cmp	r4, r3
	blt	.L436
	ldr	r3, .L444+84
	ldrsh	r3, [r3]
	cmp	r3, #0
	bne	.L437
	bl	randomXform
.L437:
	ldr	r3, .L444+88
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L438
	ldr	r3, .L444+20
	ldmia	r3, {r0-r1}
	b	.L439
.L438:
	mov	r0, #0
	mov	r1, #0
.L439:
	ldr	r2, .L444+92
	bl	normalPersp
	ldr	r3, .L444+96
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L440
	bl	stereoView
.L440:
	ldr	r3, .L444+100
	ldrsh	r3, [r3]
	cmp	r3, #0
	beq	.L441
	ldr	r0, .L444+104
	bl	puts
	ldr	r0, .L444+92
	bl	xprint
	ldr	r0, .L444+108
	bl	puts
	ldr	r0, .L444+112
	bl	xprint
	ldr	r0, .L444+116
	bl	puts
	ldr	r0, .L444+76
	bl	xprint
.L441:
	ldr	r0, .L444
	bl	time
	bl	loop
.L442:
	bl	quit
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L445:
	.align	2
.L444:
	.word	theTime
	.word	nargs
	.word	sangle
	.word	1249485014
	.word	1068914456
	.word	vangle
	.word	937113761
	.word	1070645586
	.word	tail
	.word	quit
	.word	fpeHdlr
	.word	banner
	.word	haveColorFlag
	.word	maxColors
	.word	avoidColors
	.word	colorFlag
	.word	obuf
	.word	buf
	.word	vertex
	.word	figx
	.word	vertices
	.word	xfs
	.word	perspFlag
	.word	viewx
	.word	stereoFlag
	.word	pTflag
	.word	.LC85
	.word	.LC86
	.word	xil
	.word	.LC87
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
