409f82:	8b 5d fc             	mov    -0x4(%ebp),%ebx
409f85:	e8 46 94 ff ff       	call   0x4033d0
409f8a:	5b                   	pop    %ebx
409f8b:	80 ff 2d             	cmp    $0x2d,%bh
409f8e:	75 02                	jne    0x409f92
409f90:	d9 e0                	fchs
409f92:	80 fb 00             	cmp    $0x0,%bl
409f95:	74 04                	je     0x409f9b
409f97:	df 3f                	fistpll (%edi)
409f99:	eb 02                	jmp    0x409f9d
409f9b:	db 3f                	fstpt  (%edi)
409f9d:	9b df e0             	fstsw  %ax
409fa0:	66 a9 09 00          	test   $0x9,%ax
409fa4:	75 06                	jne    0x409fac
409fa6:	b0 01                	mov    $0x1,%al
409fa8:	eb 04                	jmp    0x409fae
409faa:	dd d8                	fstp   %st(0)
409fac:	31 c0                	xor    %eax,%eax
409fae:	9b db e2             	fclex
409fb1:	d9 6d f8             	fldcw  -0x8(%ebp)
409fb4:	9b                   	fwait
409fb5:	eb 56                	jmp    0x40a00d
409fb7:	ac                   	lods   %ds:(%esi),%al
409fb8:	08 c0                	or     %al,%al
409fba:	74 04                	je     0x409fc0
409fbc:	3c 20                	cmp    $0x20,%al
409fbe:	74 f7                	je     0x409fb7
409fc0:	4e                   	dec    %esi
409fc1:	c3                   	ret
409fc2:	31 c0                	xor    %eax,%eax
409fc4:	31 d2                	xor    %edx,%edx
409fc6:	ac                   	lods   %ds:(%esi),%al
409fc7:	2c 3a                	sub    $0x3a,%al
409fc9:	04 0a                	add    $0xa,%al
409fcb:	73 0f                	jae    0x409fdc
409fcd:	da 0d 74 08 46 00    	fimull 0x460874
409fd3:	89 45 f4             	mov    %eax,-0xc(%ebp)
409fd6:	da 45 f4             	fiaddl -0xc(%ebp)
409fd9:	42                   	inc    %edx
409fda:	eb ea                	jmp    0x409fc6
409fdc:	4e                   	dec    %esi
409fdd:	c3                   	ret
409fde:	31 c0                	xor    %eax,%eax
409fe0:	31 d2                	xor    %edx,%edx
409fe2:	8a 0e                	mov    (%esi),%cl
409fe4:	80 f9 2b             	cmp    $0x2b,%cl
409fe7:	74 05                	je     0x409fee
409fe9:	80 f9 2d             	cmp    $0x2d,%cl
409fec:	75 01                	jne    0x409fef
409fee:	46                   	inc    %esi
409fef:	8a 06                	mov    (%esi),%al
409ff1:	2c 3a                	sub    $0x3a,%al
409ff3:	04 0a                	add    $0xa,%al
409ff5:	73 0e                	jae    0x40a005
409ff7:	46                   	inc    %esi
409ff8:	6b d2 0a             	imul   $0xa,%edx,%edx
409ffb:	01 c2                	add    %eax,%edx
409ffd:	81 fa f4 01 00 00    	cmp    $0x1f4,%edx
40a003:	72 ea                	jb     0x409fef
40a005:	80 f9 2d             	cmp    $0x2d,%cl
40a008:	75 02                	jne    0x40a00c
40a00a:	f7 da                	neg    %edx
40a00c:	c3                   	ret
40a00d:	5b                   	pop    %ebx
40a00e:	5e                   	pop    %esi
40a00f:	5f                   	pop    %edi
40a010:	8b e5                	mov    %ebp,%esp
40a012:	5d                   	pop    %ebp
40a013:	c3                   	ret
40a014:	55                   	push   %ebp
40a015:	8b ec                	mov    %esp,%ebp
40a017:	83 c4 c0             	add    $0xffffffc0,%esp
40a01a:	53                   	push   %ebx
40a01b:	8b d8                	mov    %eax,%ebx
40a01d:	6a 00                	push   $0x0
40a01f:	6a 0f                	push   $0xf
40a021:	6a 00                	push   $0x0
40a023:	8d 55 08             	lea    0x8(%ebp),%edx
40a026:	8d 45 c0             	lea    -0x40(%ebp),%eax
40a029:	33 c9                	xor    %ecx,%ecx
40a02b:	e8 d0 f9 ff ff       	call   0x409a00
40a030:	8b c8                	mov    %eax,%ecx
40a032:	8d 55 c0             	lea    -0x40(%ebp),%edx
40a035:	8b c3                	mov    %ebx,%eax
40a037:	e8 d4 a7 ff ff       	call   0x404810
40a03c:	5b                   	pop    %ebx
40a03d:	8b e5                	mov    %ebp,%esp
40a03f:	5d                   	pop    %ebp
40a040:	c2 0c 00             	ret    $0xc
40a043:	90                   	nop
40a044:	55                   	push   %ebp
40a045:	8b ec                	mov    %esp,%ebp
40a047:	83 c4 c0             	add    $0xffffffc0,%esp
40a04a:	53                   	push   %ebx
40a04b:	8b d8                	mov    %eax,%ebx
40a04d:	6a 00                	push   $0x0
40a04f:	6a 00                	push   $0x0
40a051:	6a 00                	push   $0x0
40a053:	8d 55 08             	lea    0x8(%ebp),%edx
40a056:	8d 45 c0             	lea    -0x40(%ebp),%eax
40a059:	b1 01                	mov    $0x1,%cl
40a05b:	e8 a0 f9 ff ff       	call   0x409a00
40a060:	8b c8                	mov    %eax,%ecx
40a062:	8d 55 c0             	lea    -0x40(%ebp),%edx
40a065:	8b c3                	mov    %ebx,%eax
40a067:	e8 a4 a7 ff ff       	call   0x404810
40a06c:	5b                   	pop    %ebx
40a06d:	8b e5                	mov    %ebp,%esp
40a06f:	5d                   	pop    %ebp
40a070:	c2 08 00             	ret    $0x8
40a073:	90                   	nop
40a074:	53                   	push   %ebx
40a075:	56                   	push   %esi
40a076:	8b f2                	mov    %edx,%esi
40a078:	8b d8                	mov    %eax,%ebx
40a07a:	8b c3                	mov    %ebx,%eax
40a07c:	e8 63 ab ff ff       	call   0x404be4
40a081:	8b d6                	mov    %esi,%edx
40a083:	33 c9                	xor    %ecx,%ecx
40a085:	e8 76 fe ff ff       	call   0x409f00
40a08a:	5e                   	pop    %esi
40a08b:	5b                   	pop    %ebx
40a08c:	c3                   	ret
40a08d:	8d 40 00             	lea    0x0(%eax),%eax
40a090:	53                   	push   %ebx
40a091:	56                   	push   %esi
40a092:	83 c4 f4             	add    $0xfffffff4,%esp
40a095:	8b f2                	mov    %edx,%esi
40a097:	8b d8                	mov    %eax,%ebx
40a099:	8b c3                	mov    %ebx,%eax
40a09b:	e8 44 ab ff ff       	call   0x404be4
40a0a0:	8b d4                	mov    %esp,%edx
40a0a2:	33 c9                	xor    %ecx,%ecx
40a0a4:	e8 57 fe ff ff       	call   0x409f00
40a0a9:	84 c0                	test   %al,%al
40a0ab:	74 06                	je     0x40a0b3
40a0ad:	db 2c 24             	fldt   (%esp)
40a0b0:	dd 1e                	fstpl  (%esi)
40a0b2:	9b                   	fwait
40a0b3:	83 c4 0c             	add    $0xc,%esp
40a0b6:	5e                   	pop    %esi
40a0b7:	5b                   	pop    %ebx
40a0b8:	c3                   	ret
40a0b9:	8d 40 00             	lea    0x0(%eax),%eax
40a0bc:	53                   	push   %ebx
40a0bd:	56                   	push   %esi
40a0be:	83 c4 f4             	add    $0xfffffff4,%esp
40a0c1:	8b f2                	mov    %edx,%esi
40a0c3:	8b d8                	mov    %eax,%ebx
40a0c5:	8b c3                	mov    %ebx,%eax
40a0c7:	e8 18 ab ff ff       	call   0x404be4
40a0cc:	8b d4                	mov    %esp,%edx
40a0ce:	33 c9                	xor    %ecx,%ecx
40a0d0:	e8 2b fe ff ff       	call   0x409f00
40a0d5:	84 c0                	test   %al,%al
40a0d7:	74 06                	je     0x40a0df
40a0d9:	db 2c 24             	fldt   (%esp)
40a0dc:	d9 1e                	fstps  (%esi)
40a0de:	9b                   	fwait
40a0df:	83 c4 0c             	add    $0xc,%esp
40a0e2:	5e                   	pop    %esi
40a0e3:	5b                   	pop    %ebx
40a0e4:	c3                   	ret
40a0e5:	8d 40 00             	lea    0x0(%eax),%eax
40a0e8:	53                   	push   %ebx
40a0e9:	56                   	push   %esi
40a0ea:	8b f2                	mov    %edx,%esi
40a0ec:	8b d8                	mov    %eax,%ebx
40a0ee:	8b c3                	mov    %ebx,%eax
40a0f0:	e8 ef aa ff ff       	call   0x404be4
40a0f5:	8b d6                	mov    %esi,%edx
40a0f7:	b1 01                	mov    $0x1,%cl
40a0f9:	e8 02 fe ff ff       	call   0x409f00
40a0fe:	5e                   	pop    %esi
40a0ff:	5b                   	pop    %ebx
40a100:	c3                   	ret
40a101:	8d 40 00             	lea    0x0(%eax),%eax
40a104:	55                   	push   %ebp
40a105:	8b ec                	mov    %esp,%ebp
40a107:	53                   	push   %ebx
40a108:	31 db                	xor    %ebx,%ebx
40a10a:	89 c1                	mov    %eax,%ecx
40a10c:	dd 45 08             	fldl   0x8(%ebp)
40a10f:	d8 8b 7c 08 46 00    	fmuls  0x46087c(%ebx)
40a115:	83 ec 08             	sub    $0x8,%esp
40a118:	df 3c 24             	fistpll (%esp)
40a11b:	9b                   	fwait
40a11c:	58                   	pop    %eax
40a11d:	5a                   	pop    %edx
40a11e:	09 d2                	or     %edx,%edx
40a120:	79 11                	jns    0x40a133
40a122:	f7 da                	neg    %edx
40a124:	f7 d8                	neg    %eax
40a126:	83 da 00             	sbb    $0x0,%edx
40a129:	f7 b3 80 08 46 00    	divl   0x460880(%ebx)
40a12f:	f7 d8                	neg    %eax
40a131:	eb 06                	jmp    0x40a139
40a133:	f7 b3 80 08 46 00    	divl   0x460880(%ebx)
40a139:	05 5a 95 0a 00       	add    $0xa955a,%eax
40a13e:	89 11                	mov    %edx,(%ecx)
40a140:	89 41 04             	mov    %eax,0x4(%ecx)
40a143:	5b                   	pop    %ebx
40a144:	5d                   	pop    %ebp
40a145:	c2 08 00             	ret    $0x8
40a148:	55                   	push   %ebp
40a149:	8b ec                	mov    %esp,%ebp
40a14b:	83 c4 f8             	add    $0xfffffff8,%esp
40a14e:	56                   	push   %esi
40a14f:	8b 75 0c             	mov    0xc(%ebp),%esi
40a152:	c6 45 ff 00          	movb   $0x0,-0x1(%ebp)
40a156:	66 83 f8 18          	cmp    $0x18,%ax
40a15a:	73 4d                	jae    0x40a1a9
40a15c:	66 83 fa 3c          	cmp    $0x3c,%dx
40a160:	73 47                	jae    0x40a1a9
40a162:	66 83 f9 3c          	cmp    $0x3c,%cx
40a166:	73 41                	jae    0x40a1a9
40a168:	66 81 fe e8 03       	cmp    $0x3e8,%si
40a16d:	73 3a                	jae    0x40a1a9
40a16f:	0f b7 c0             	movzwl %ax,%eax
40a172:	69 c0 80 ee 36 00    	imul   $0x36ee80,%eax,%eax
40a178:	0f b7 d2             	movzwl %dx,%edx
40a17b:	69 d2 60 ea 00 00    	imul   $0xea60,%edx,%edx
40a181:	03 c2                	add    %edx,%eax
40a183:	0f b7 d1             	movzwl %cx,%edx
40a186:	69 d2 e8 03 00 00    	imul   $0x3e8,%edx,%edx
40a18c:	03 c2                	add    %edx,%eax
40a18e:	0f b7 d6             	movzwl %si,%edx
40a191:	03 c2                	add    %edx,%eax
40a193:	89 45 f8             	mov    %eax,-0x8(%ebp)
40a196:	db 45 f8             	fildl  -0x8(%ebp)
40a199:	d8 35 b4 a1 40 00    	fdivs  0x40a1b4
40a19f:	8b 45 08             	mov    0x8(%ebp),%eax
40a1a2:	dd 18                	fstpl  (%eax)
40a1a4:	9b                   	fwait
40a1a5:	c6 45 ff 01          	movb   $0x1,-0x1(%ebp)
40a1a9:	0f b6 45 ff          	movzbl -0x1(%ebp),%eax
40a1ad:	5e                   	pop    %esi
40a1ae:	59                   	pop    %ecx
40a1af:	59                   	pop    %ecx
40a1b0:	5d                   	pop    %ebp
40a1b1:	c2 08 00             	ret    $0x8
40a1b4:	80 cb a4             	or     $0xa4,%bl
40a1b7:	4c                   	dec    %esp
40a1b8:	55                   	push   %ebp
40a1b9:	8b ec                	mov    %esp,%ebp
40a1bb:	83 c4 f4             	add    $0xfffffff4,%esp
40a1be:	53                   	push   %ebx
40a1bf:	56                   	push   %esi
40a1c0:	57                   	push   %edi
40a1c1:	8b f9                	mov    %ecx,%edi
40a1c3:	8b f2                	mov    %edx,%esi
40a1c5:	8b d8                	mov    %eax,%ebx
40a1c7:	8d 45 fc             	lea    -0x4(%ebp),%eax
40a1ca:	50                   	push   %eax
40a1cb:	ff 75 10             	push   0x10(%ebp)
40a1ce:	ff 75 0c             	push   0xc(%ebp)
40a1d1:	8d 45 f4             	lea    -0xc(%ebp),%eax
40a1d4:	e8 2b ff ff ff       	call   0x40a104
40a1d9:	8b 45 f4             	mov    -0xc(%ebp),%eax
40a1dc:	8d 4d fe             	lea    -0x2(%ebp),%ecx
40a1df:	66 ba 60 ea          	mov    $0xea60,%dx
40a1e3:	e8 f4 e3 ff ff       	call   0x4085dc
40a1e8:	56                   	push   %esi
40a1e9:	8b cb                	mov    %ebx,%ecx
40a1eb:	0f b7 45 fe          	movzwl -0x2(%ebp),%eax
40a1ef:	66 ba 3c 00          	mov    $0x3c,%dx
40a1f3:	e8 e4 e3 ff ff       	call   0x4085dc
40a1f8:	8b 45 08             	mov    0x8(%ebp),%eax
40a1fb:	50                   	push   %eax
40a1fc:	8b cf                	mov    %edi,%ecx
40a1fe:	0f b7 45 fc          	movzwl -0x4(%ebp),%eax
40a202:	66 ba e8 03          	mov    $0x3e8,%dx
40a206:	e8 d1 e3 ff ff       	call   0x4085dc
40a20b:	5f                   	pop    %edi
40a20c:	5e                   	pop    %esi
40a20d:	5b                   	pop    %ebx
40a20e:	8b e5                	mov    %ebp,%esp
40a210:	5d                   	pop    %ebp
40a211:	c2 0c 00             	ret    $0xc
40a214:	53                   	push   %ebx
40a215:	56                   	push   %esi
40a216:	8b c8                	mov    %eax,%ecx
40a218:	0f b7 c1             	movzwl %cx,%eax
40a21b:	83 e0 03             	and    $0x3,%eax
40a21e:	85 c0                	test   %eax,%eax
40a220:	75 21                	jne    0x40a243
40a222:	0f b7 d9             	movzwl %cx,%ebx
40a225:	8b c3                	mov    %ebx,%eax
40a227:	be 64 00 00 00       	mov    $0x64,%esi
40a22c:	33 d2                	xor    %edx,%edx
40a22e:	f7 f6                	div    %esi
40a230:	85 d2                	test   %edx,%edx
40a232:	75 14                	jne    0x40a248
40a234:	8b c3                	mov    %ebx,%eax
40a236:	b9 90 01 00 00       	mov    $0x190,%ecx
40a23b:	33 d2                	xor    %edx,%edx
40a23d:	f7 f1                	div    %ecx
40a23f:	85 d2                	test   %edx,%edx
40a241:	74 05                	je     0x40a248
40a243:	33 c0                	xor    %eax,%eax
40a245:	5e                   	pop    %esi
40a246:	5b                   	pop    %ebx
40a247:	c3                   	ret
40a248:	b0 01                	mov    $0x1,%al
40a24a:	5e                   	pop    %esi
40a24b:	5b                   	pop    %ebx
40a24c:	c3                   	ret
40a24d:	8d 40 00             	lea    0x0(%eax),%eax
40a250:	55                   	push   %ebp
40a251:	8b ec                	mov    %esp,%ebp
40a253:	83 c4 f8             	add    $0xfffffff8,%esp
40a256:	53                   	push   %ebx
40a257:	56                   	push   %esi
40a258:	57                   	push   %edi
40a259:	8b d9                	mov    %ecx,%ebx
40a25b:	8b fa                	mov    %edx,%edi
40a25d:	66 89 45 fe          	mov    %ax,-0x2(%ebp)
40a261:	c6 45 fd 00          	movb   $0x0,-0x3(%ebp)
40a265:	0f b7 45 fe          	movzwl -0x2(%ebp),%eax
40a269:	e8 a6 ff ff ff       	call   0x40a214
40a26e:	83 e0 7f             	and    $0x7f,%eax
40a271:	8d 04 40             	lea    (%eax,%eax,2),%eax
40a274:	8d 34 c5 dc 07 46 00 	lea    0x4607dc(,%eax,8),%esi
40a27b:	66 83 7d fe 01       	cmpw   $0x1,-0x2(%ebp)
40a280:	0f 82 86 00 00 00    	jb     0x40a30c
40a286:	66 81 7d fe 0f 27    	cmpw   $0x270f,-0x2(%ebp)
40a28c:	77 7e                	ja     0x40a30c
40a28e:	66 83 ff 01          	cmp    $0x1,%di
40a292:	72 78                	jb     0x40a30c
40a294:	66 83 ff 0c          	cmp    $0xc,%di
40a298:	77 72                	ja     0x40a30c
40a29a:	66 83 fb 01          	cmp    $0x1,%bx
40a29e:	72 6c                	jb     0x40a30c
40a2a0:	0f b7 c7             	movzwl %di,%eax
40a2a3:	66 3b 5c 46 fe       	cmp    -0x2(%esi,%eax,2),%bx
40a2a8:	77 62                	ja     0x40a30c
40a2aa:	0f b7 c7             	movzwl %di,%eax
40a2ad:	48                   	dec    %eax
40a2ae:	85 c0                	test   %eax,%eax
40a2b0:	7e 0e                	jle    0x40a2c0
40a2b2:	b9 01 00 00 00       	mov    $0x1,%ecx
40a2b7:	66 03 5c 4e fe       	add    -0x2(%esi,%ecx,2),%bx
40a2bc:	41                   	inc    %ecx
40a2bd:	48                   	dec    %eax
40a2be:	75 f7                	jne    0x40a2b7
40a2c0:	0f b7 4d fe          	movzwl -0x2(%ebp),%ecx
40a2c4:	49                   	dec    %ecx
40a2c5:	8b c1                	mov    %ecx,%eax
40a2c7:	be 64 00 00 00       	mov    $0x64,%esi
40a2cc:	99                   	cltd