489e13:	0f 84 6d 01 00 00    	je     0x489f86
489e19:	f6 45 10 10          	testb  $0x10,0x10(%ebp)
489e1d:	0f 84 63 01 00 00    	je     0x489f86
489e23:	8b 45 0c             	mov    0xc(%ebp),%eax
489e26:	57                   	push   %edi
489e27:	8b fb                	mov    %ebx,%edi
489e29:	c1 ef 04             	shr    $0x4,%edi
489e2c:	dd 00                	fldl   (%eax)
489e2e:	23 f9                	and    %ecx,%edi
489e30:	d9 ee                	fldz
489e32:	dd e9                	fucomp %st(1)
489e34:	89 7d f8             	mov    %edi,-0x8(%ebp)
489e37:	df e0                	fnstsw %ax
489e39:	f6 c4 44             	test   $0x44,%ah
489e3c:	0f 8b 36 01 00 00    	jnp    0x489f78
489e42:	8d 45 ec             	lea    -0x14(%ebp),%eax
489e45:	50                   	push   %eax
489e46:	51                   	push   %ecx
489e47:	51                   	push   %ecx
489e48:	dd 1c 24             	fstpl  (%esp)
489e4b:	e8 91 fb ff ff       	call   0x4899e1
489e50:	8b 55 ec             	mov    -0x14(%ebp),%edx
489e53:	83 c4 0c             	add    $0xc,%esp
489e56:	81 c2 00 fa ff ff    	add    $0xfffffa00,%edx
489e5c:	dd 55 e0             	fstl   -0x20(%ebp)
489e5f:	d9 ee                	fldz
489e61:	81 fa ce fb ff ff    	cmp    $0xfffffbce,%edx
489e67:	7d 0a                	jge    0x489e73
489e69:	33 c0                	xor    %eax,%eax
489e6b:	de c9                	fmulp  %st,%st(1)
489e6d:	40                   	inc    %eax
489e6e:	e9 fa 00 00 00       	jmp    0x489f6d
489e73:	de d9                	fcompp
489e75:	df e0                	fnstsw %ax
489e77:	f6 c4 41             	test   $0x41,%ah
489e7a:	75 0d                	jne    0x489e89
489e7c:	c7 45 f4 01 00 00 00 	movl   $0x1,-0xc(%ebp)
489e83:	c6 45 ff 01          	movb   $0x1,-0x1(%ebp)
489e87:	eb 09                	jmp    0x489e92
489e89:	83 65 f4 00          	andl   $0x0,-0xc(%ebp)
489e8d:	32 c0                	xor    %al,%al
489e8f:	88 45 ff             	mov    %al,-0x1(%ebp)
489e92:	8b 45 e6             	mov    -0x1a(%ebp),%eax
489e95:	b9 03 fc ff ff       	mov    $0xfffffc03,%ecx
489e9a:	83 e0 0f             	and    $0xf,%eax
489e9d:	83 c8 10             	or     $0x10,%eax
489ea0:	66 89 45 e6          	mov    %ax,-0x1a(%ebp)
489ea4:	32 e4                	xor    %ah,%ah
489ea6:	32 c0                	xor    %al,%al
489ea8:	88 65 fd             	mov    %ah,-0x3(%ebp)
489eab:	88 45 fe             	mov    %al,-0x2(%ebp)
489eae:	3b d1                	cmp    %ecx,%edx
489eb0:	7d 49                	jge    0x489efb
489eb2:	89 7d f8             	mov    %edi,-0x8(%ebp)
489eb5:	2b ca                	sub    %edx,%ecx
489eb7:	8b 7d e0             	mov    -0x20(%ebp),%edi
489eba:	8b 5d f8             	mov    -0x8(%ebp),%ebx
489ebd:	8b d7                	mov    %edi,%edx
489ebf:	83 e2 01             	and    $0x1,%edx
489ec2:	74 05                	je     0x489ec9
489ec4:	85 db                	test   %ebx,%ebx
489ec6:	75 01                	jne    0x489ec9
489ec8:	43                   	inc    %ebx
489ec9:	84 c0                	test   %al,%al
489ecb:	74 02                	je     0x489ecf
489ecd:	b4 01                	mov    $0x1,%ah
489ecf:	d1 ef                	shr    $1,%edi
489ed1:	8a c2                	mov    %dl,%al
489ed3:	f6 45 e4 01          	testb  $0x1,-0x1c(%ebp)
489ed7:	89 7d e0             	mov    %edi,-0x20(%ebp)
489eda:	74 09                	je     0x489ee5
489edc:	81 cf 00 00 00 80    	or     $0x80000000,%edi
489ee2:	89 7d e0             	mov    %edi,-0x20(%ebp)
489ee5:	d1 6d e4             	shrl   $1,-0x1c(%ebp)
489ee8:	83 e9 01             	sub    $0x1,%ecx
489eeb:	75 d0                	jne    0x489ebd
489eed:	89 5d f8             	mov    %ebx,-0x8(%ebp)
489ef0:	8b 5d 08             	mov    0x8(%ebp),%ebx
489ef3:	88 65 fd             	mov    %ah,-0x3(%ebp)
489ef6:	88 45 fe             	mov    %al,-0x2(%ebp)
489ef9:	eb 03                	jmp    0x489efe
489efb:	8b 7d e0             	mov    -0x20(%ebp),%edi
489efe:	83 7d f4 00          	cmpl   $0x0,-0xc(%ebp)
489f02:	dd 45 e0             	fldl   -0x20(%ebp)
489f05:	74 0d                	je     0x489f14
489f07:	d9 e0                	fchs
489f09:	dd 55 f0             	fstl   -0x10(%ebp)
489f0c:	dd 55 e0             	fstl   -0x20(%ebp)
489f0f:	8b 7d e0             	mov    -0x20(%ebp),%edi
489f12:	eb 03                	jmp    0x489f17
489f14:	dd 55 f0             	fstl   -0x10(%ebp)
489f17:	84 c0                	test   %al,%al
489f19:	75 04                	jne    0x489f1f
489f1b:	84 e4                	test   %ah,%ah
489f1d:	74 4b                	je     0x489f6a
489f1f:	dd d8                	fstp   %st(0)
489f21:	e8 ae fa ff ff       	call   0x4899d4
489f26:	85 c0                	test   %eax,%eax
489f28:	74 1c                	je     0x489f46
489f2a:	3d 00 01 00 00       	cmp    $0x100,%eax
489f2f:	74 0e                	je     0x489f3f
489f31:	3d 00 02 00 00       	cmp    $0x200,%eax
489f36:	75 2f                	jne    0x489f67
489f38:	8a 45 ff             	mov    -0x1(%ebp),%al
489f3b:	34 01                	xor    $0x1,%al
489f3d:	eb 03                	jmp    0x489f42
489f3f:	8a 45 ff             	mov    -0x1(%ebp),%al
489f42:	84 c0                	test   %al,%al
489f44:	eb 10                	jmp    0x489f56
489f46:	80 7d fe 00          	cmpb   $0x0,-0x2(%ebp)
489f4a:	74 1b                	je     0x489f67
489f4c:	80 7d fd 00          	cmpb   $0x0,-0x3(%ebp)
489f50:	75 06                	jne    0x489f58
489f52:	f6 45 e0 01          	testb  $0x1,-0x20(%ebp)
489f56:	74 0f                	je     0x489f67
489f58:	83 c7 01             	add    $0x1,%edi
489f5b:	89 7d e0             	mov    %edi,-0x20(%ebp)
489f5e:	83 55 e4 00          	adcl   $0x0,-0x1c(%ebp)
489f62:	dd 45 e0             	fldl   -0x20(%ebp)
489f65:	eb 03                	jmp    0x489f6a
489f67:	dd 45 f0             	fldl   -0x10(%ebp)
489f6a:	8b 45 f8             	mov    -0x8(%ebp),%eax
489f6d:	8b 4d 0c             	mov    0xc(%ebp),%ecx
489f70:	dd 19                	fstpl  (%ecx)
489f72:	85 c0                	test   %eax,%eax
489f74:	74 0c                	je     0x489f82
489f76:	eb 02                	jmp    0x489f7a
489f78:	dd d8                	fstp   %st(0)
489f7a:	6a 10                	push   $0x10
489f7c:	e8 d3 04 00 00       	call   0x48a454
489f81:	59                   	pop    %ecx
489f82:	83 e6 fd             	and    $0xfffffffd,%esi
489f85:	5f                   	pop    %edi
489f86:	f6 c3 10             	test   $0x10,%bl
489f89:	74 11                	je     0x489f9c
489f8b:	f6 45 10 20          	testb  $0x20,0x10(%ebp)
489f8f:	74 0b                	je     0x489f9c
489f91:	6a 20                	push   $0x20
489f93:	e8 bc 04 00 00       	call   0x48a454
489f98:	59                   	pop    %ecx
489f99:	83 e6 ef             	and    $0xffffffef,%esi
489f9c:	33 c0                	xor    %eax,%eax
489f9e:	85 f6                	test   %esi,%esi
489fa0:	5e                   	pop    %esi
489fa1:	0f 94 c0             	sete   %al
489fa4:	5b                   	pop    %ebx
489fa5:	c9                   	leave
489fa6:	c3                   	ret
489fa7:	8b ff                	mov    %edi,%edi
489fa9:	55                   	push   %ebp
489faa:	8b ec                	mov    %esp,%ebp
489fac:	dd 45 08             	fldl   0x8(%ebp)
489faf:	dc 45 10             	faddl  0x10(%ebp)
489fb2:	5d                   	pop    %ebp
489fb3:	c3                   	ret
489fb4:	8b ff                	mov    %edi,%edi
489fb6:	55                   	push   %ebp
489fb7:	8b ec                	mov    %esp,%ebp
489fb9:	6a 00                	push   $0x0
489fbb:	ff 75 1c             	push   0x1c(%ebp)
489fbe:	ff 75 18             	push   0x18(%ebp)
489fc1:	ff 75 14             	push   0x14(%ebp)
489fc4:	ff 75 10             	push   0x10(%ebp)
489fc7:	ff 75 0c             	push   0xc(%ebp)
489fca:	ff 75 08             	push   0x8(%ebp)
489fcd:	e8 05 00 00 00       	call   0x489fd7
489fd2:	83 c4 1c             	add    $0x1c,%esp
489fd5:	5d                   	pop    %ebp
489fd6:	c3                   	ret
489fd7:	8b ff                	mov    %edi,%edi
489fd9:	55                   	push   %ebp
489fda:	8b ec                	mov    %esp,%ebp
489fdc:	8b 45 08             	mov    0x8(%ebp),%eax
489fdf:	33 c9                	xor    %ecx,%ecx
489fe1:	53                   	push   %ebx
489fe2:	33 db                	xor    %ebx,%ebx
489fe4:	43                   	inc    %ebx
489fe5:	89 48 04             	mov    %ecx,0x4(%eax)
489fe8:	8b 45 08             	mov    0x8(%ebp),%eax
489feb:	57                   	push   %edi
489fec:	bf 0d 00 00 c0       	mov    $0xc000000d,%edi
489ff1:	89 48 08             	mov    %ecx,0x8(%eax)
489ff4:	8b 45 08             	mov    0x8(%ebp),%eax
489ff7:	89 48 0c             	mov    %ecx,0xc(%eax)
489ffa:	8b 4d 10             	mov    0x10(%ebp),%ecx
489ffd:	f6 c1 10             	test   $0x10,%cl
48a000:	74 0b                	je     0x48a00d
48a002:	8b 45 08             	mov    0x8(%ebp),%eax
48a005:	bf 8f 00 00 c0       	mov    $0xc000008f,%edi
48a00a:	09 58 04             	or     %ebx,0x4(%eax)
48a00d:	f6 c1 02             	test   $0x2,%cl
48a010:	74 0c                	je     0x48a01e
48a012:	8b 45 08             	mov    0x8(%ebp),%eax
48a015:	bf 93 00 00 c0       	mov    $0xc0000093,%edi
48a01a:	83 48 04 02          	orl    $0x2,0x4(%eax)
48a01e:	f6 c1 01             	test   $0x1,%cl
48a021:	74 0c                	je     0x48a02f
48a023:	8b 45 08             	mov    0x8(%ebp),%eax
48a026:	bf 91 00 00 c0       	mov    $0xc0000091,%edi
48a02b:	83 48 04 04          	orl    $0x4,0x4(%eax)
48a02f:	f6 c1 04             	test   $0x4,%cl
48a032:	74 0c                	je     0x48a040
48a034:	8b 45 08             	mov    0x8(%ebp),%eax
48a037:	bf 8e 00 00 c0       	mov    $0xc000008e,%edi
48a03c:	83 48 04 08          	orl    $0x8,0x4(%eax)
48a040:	f6 c1 08             	test   $0x8,%cl
48a043:	74 0c                	je     0x48a051
48a045:	8b 45 08             	mov    0x8(%ebp),%eax
48a048:	bf 90 00 00 c0       	mov    $0xc0000090,%edi
48a04d:	83 48 04 10          	orl    $0x10,0x4(%eax)
48a051:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a054:	56                   	push   %esi
48a055:	8b 75 0c             	mov    0xc(%ebp),%esi
48a058:	8b 06                	mov    (%esi),%eax
48a05a:	c1 e0 04             	shl    $0x4,%eax
48a05d:	f7 d0                	not    %eax
48a05f:	33 41 08             	xor    0x8(%ecx),%eax
48a062:	83 e0 10             	and    $0x10,%eax
48a065:	31 41 08             	xor    %eax,0x8(%ecx)
48a068:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a06b:	8b 06                	mov    (%esi),%eax
48a06d:	03 c0                	add    %eax,%eax
48a06f:	f7 d0                	not    %eax
48a071:	33 41 08             	xor    0x8(%ecx),%eax
48a074:	83 e0 08             	and    $0x8,%eax
48a077:	31 41 08             	xor    %eax,0x8(%ecx)
48a07a:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a07d:	8b 06                	mov    (%esi),%eax
48a07f:	d1 e8                	shr    $1,%eax
48a081:	f7 d0                	not    %eax
48a083:	33 41 08             	xor    0x8(%ecx),%eax
48a086:	83 e0 04             	and    $0x4,%eax
48a089:	31 41 08             	xor    %eax,0x8(%ecx)
48a08c:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a08f:	8b 06                	mov    (%esi),%eax
48a091:	c1 e8 03             	shr    $0x3,%eax
48a094:	f7 d0                	not    %eax
48a096:	33 41 08             	xor    0x8(%ecx),%eax
48a099:	83 e0 02             	and    $0x2,%eax
48a09c:	31 41 08             	xor    %eax,0x8(%ecx)
48a09f:	8b 06                	mov    (%esi),%eax
48a0a1:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a0a4:	c1 e8 05             	shr    $0x5,%eax
48a0a7:	f7 d0                	not    %eax
48a0a9:	33 41 08             	xor    0x8(%ecx),%eax
48a0ac:	23 c3                	and    %ebx,%eax
48a0ae:	31 41 08             	xor    %eax,0x8(%ecx)
48a0b1:	e8 f7 03 00 00       	call   0x48a4ad
48a0b6:	8b d0                	mov    %eax,%edx
48a0b8:	f6 c2 01             	test   $0x1,%dl
48a0bb:	74 07                	je     0x48a0c4
48a0bd:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a0c0:	83 49 0c 10          	orl    $0x10,0xc(%ecx)
48a0c4:	f6 c2 04             	test   $0x4,%dl
48a0c7:	74 07                	je     0x48a0d0
48a0c9:	8b 45 08             	mov    0x8(%ebp),%eax
48a0cc:	83 48 0c 08          	orl    $0x8,0xc(%eax)
48a0d0:	f6 c2 08             	test   $0x8,%dl
48a0d3:	74 07                	je     0x48a0dc
48a0d5:	8b 45 08             	mov    0x8(%ebp),%eax
48a0d8:	83 48 0c 04          	orl    $0x4,0xc(%eax)
48a0dc:	f6 c2 10             	test   $0x10,%dl
48a0df:	74 07                	je     0x48a0e8
48a0e1:	8b 45 08             	mov    0x8(%ebp),%eax
48a0e4:	83 48 0c 02          	orl    $0x2,0xc(%eax)
48a0e8:	f6 c2 20             	test   $0x20,%dl
48a0eb:	74 06                	je     0x48a0f3
48a0ed:	8b 45 08             	mov    0x8(%ebp),%eax
48a0f0:	09 58 0c             	or     %ebx,0xc(%eax)
48a0f3:	8b 06                	mov    (%esi),%eax
48a0f5:	b9 00 0c 00 00       	mov    $0xc00,%ecx
48a0fa:	23 c1                	and    %ecx,%eax
48a0fc:	74 35                	je     0x48a133
48a0fe:	3d 00 04 00 00       	cmp    $0x400,%eax
48a103:	74 22                	je     0x48a127
48a105:	3d 00 08 00 00       	cmp    $0x800,%eax
48a10a:	74 0c                	je     0x48a118
48a10c:	3b c1                	cmp    %ecx,%eax
48a10e:	75 29                	jne    0x48a139
48a110:	8b 45 08             	mov    0x8(%ebp),%eax
48a113:	83 08 03             	orl    $0x3,(%eax)
48a116:	eb 21                	jmp    0x48a139
48a118:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a11b:	8b 01                	mov    (%ecx),%eax
48a11d:	83 e0 fe             	and    $0xfffffffe,%eax
48a120:	83 c8 02             	or     $0x2,%eax
48a123:	89 01                	mov    %eax,(%ecx)
48a125:	eb 12                	jmp    0x48a139
48a127:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a12a:	8b 01                	mov    (%ecx),%eax
48a12c:	83 e0 fd             	and    $0xfffffffd,%eax
48a12f:	0b c3                	or     %ebx,%eax
48a131:	eb f0                	jmp    0x48a123
48a133:	8b 45 08             	mov    0x8(%ebp),%eax
48a136:	83 20 fc             	andl   $0xfffffffc,(%eax)
48a139:	8b 06                	mov    (%esi),%eax
48a13b:	b9 00 03 00 00       	mov    $0x300,%ecx
48a140:	23 c1                	and    %ecx,%eax
48a142:	74 20                	je     0x48a164
48a144:	3d 00 02 00 00       	cmp    $0x200,%eax
48a149:	74 0c                	je     0x48a157
48a14b:	3b c1                	cmp    %ecx,%eax
48a14d:	75 22                	jne    0x48a171
48a14f:	8b 45 08             	mov    0x8(%ebp),%eax
48a152:	83 20 e3             	andl   $0xffffffe3,(%eax)
48a155:	eb 1a                	jmp    0x48a171
48a157:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a15a:	8b 01                	mov    (%ecx),%eax
48a15c:	83 e0 e7             	and    $0xffffffe7,%eax
48a15f:	83 c8 04             	or     $0x4,%eax
48a162:	eb 0b                	jmp    0x48a16f
48a164:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a167:	8b 01                	mov    (%ecx),%eax
48a169:	83 e0 eb             	and    $0xffffffeb,%eax
48a16c:	83 c8 08             	or     $0x8,%eax
48a16f:	89 01                	mov    %eax,(%ecx)
48a171:	8b 45 08             	mov    0x8(%ebp),%eax
48a174:	8b 4d 14             	mov    0x14(%ebp),%ecx
48a177:	c1 e1 05             	shl    $0x5,%ecx
48a17a:	33 08                	xor    (%eax),%ecx
48a17c:	81 e1 e0 ff 01 00    	and    $0x1ffe0,%ecx
48a182:	31 08                	xor    %ecx,(%eax)
48a184:	8b 45 08             	mov    0x8(%ebp),%eax
48a187:	09 58 20             	or     %ebx,0x20(%eax)
48a18a:	83 7d 20 00          	cmpl   $0x0,0x20(%ebp)
48a18e:	74 2c                	je     0x48a1bc
48a190:	8b 45 08             	mov    0x8(%ebp),%eax
48a193:	83 60 20 e1          	andl   $0xffffffe1,0x20(%eax)
48a197:	8b 45 18             	mov    0x18(%ebp),%eax
48a19a:	d9 00                	flds   (%eax)
48a19c:	8b 45 08             	mov    0x8(%ebp),%eax
48a19f:	d9 58 10             	fstps  0x10(%eax)
48a1a2:	8b 45 08             	mov    0x8(%ebp),%eax
48a1a5:	09 58 60             	or     %ebx,0x60(%eax)
48a1a8:	8b 45 08             	mov    0x8(%ebp),%eax
48a1ab:	8b 5d 1c             	mov    0x1c(%ebp),%ebx
48a1ae:	83 60 60 e1          	andl   $0xffffffe1,0x60(%eax)
48a1b2:	8b 45 08             	mov    0x8(%ebp),%eax
48a1b5:	d9 03                	flds   (%ebx)
48a1b7:	d9 58 50             	fstps  0x50(%eax)
48a1ba:	eb 3a                	jmp    0x48a1f6
48a1bc:	8b 4d 08             	mov    0x8(%ebp),%ecx
48a1bf:	8b 41 20             	mov    0x20(%ecx),%eax
48a1c2:	83 e0 e3             	and    $0xffffffe3,%eax
48a1c5:	83 c8 02             	or     $0x2,%eax
48a1c8:	89 41 20             	mov    %eax,0x20(%ecx)
48a1cb:	8b 45 18             	mov    0x18(%ebp),%eax
48a1ce:	dd 00                	fldl   (%eax)
48a1d0:	8b 45 08             	mov    0x8(%ebp),%eax
48a1d3:	dd 58 10             	fstpl  0x10(%eax)