417818:	33 d2                	xor    %edx,%edx
41781a:	df e0                	fnstsw %ax
41781c:	f6 c4 41             	test   $0x41,%ah
41781f:	75 01                	jne    0x417822
417821:	42                   	inc    %edx
417822:	8b 45 f6             	mov    -0xa(%ebp),%eax
417825:	b9 03 fc ff ff       	mov    $0xfffffc03,%ecx
41782a:	83 e0 0f             	and    $0xf,%eax
41782d:	83 c8 10             	or     $0x10,%eax
417830:	66 89 45 f6          	mov    %ax,-0xa(%ebp)
417834:	8b 45 fc             	mov    -0x4(%ebp),%eax
417837:	3b c1                	cmp    %ecx,%eax
417839:	7d 2b                	jge    0x417866
41783b:	2b c8                	sub    %eax,%ecx
41783d:	8b 45 f0             	mov    -0x10(%ebp),%eax
417840:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)
417844:	74 05                	je     0x41784b
417846:	85 ff                	test   %edi,%edi
417848:	75 01                	jne    0x41784b
41784a:	47                   	inc    %edi
41784b:	d1 e8                	shr    $1,%eax
41784d:	f6 45 f4 01          	testb  $0x1,-0xc(%ebp)
417851:	89 45 f0             	mov    %eax,-0x10(%ebp)
417854:	74 08                	je     0x41785e
417856:	0d 00 00 00 80       	or     $0x80000000,%eax
41785b:	89 45 f0             	mov    %eax,-0x10(%ebp)
41785e:	d1 6d f4             	shrl   $1,-0xc(%ebp)
417861:	83 e9 01             	sub    $0x1,%ecx
417864:	75 da                	jne    0x417840
417866:	dd 45 f0             	fldl   -0x10(%ebp)
417869:	85 d2                	test   %edx,%edx
41786b:	74 02                	je     0x41786f
41786d:	d9 e0                	fchs
41786f:	8b 45 0c             	mov    0xc(%ebp),%eax
417872:	dd 18                	fstpl  (%eax)
417874:	eb 03                	jmp    0x417879
417876:	33 ff                	xor    %edi,%edi
417878:	47                   	inc    %edi
417879:	85 ff                	test   %edi,%edi
41787b:	5f                   	pop    %edi
41787c:	74 08                	je     0x417886
41787e:	6a 10                	push   $0x10
417880:	e8 6f e1 ff ff       	call   0x4159f4
417885:	59                   	pop    %ecx
417886:	83 e6 fd             	and    $0xfffffffd,%esi
417889:	f6 c3 10             	test   $0x10,%bl
41788c:	74 11                	je     0x41789f
41788e:	f6 45 10 20          	testb  $0x20,0x10(%ebp)
417892:	74 0b                	je     0x41789f
417894:	6a 20                	push   $0x20
417896:	e8 59 e1 ff ff       	call   0x4159f4
41789b:	59                   	pop    %ecx
41789c:	83 e6 ef             	and    $0xffffffef,%esi
41789f:	33 c0                	xor    %eax,%eax
4178a1:	85 f6                	test   %esi,%esi
4178a3:	5e                   	pop    %esi
4178a4:	0f 94 c0             	sete   %al
4178a7:	5b                   	pop    %ebx
4178a8:	8b e5                	mov    %ebp,%esp
4178aa:	5d                   	pop    %ebp
4178ab:	c3                   	ret
4178ac:	8b ff                	mov    %edi,%edi
4178ae:	55                   	push   %ebp
4178af:	8b ec                	mov    %esp,%ebp
4178b1:	6a 00                	push   $0x0
4178b3:	ff 75 1c             	push   0x1c(%ebp)
4178b6:	ff 75 18             	push   0x18(%ebp)
4178b9:	ff 75 14             	push   0x14(%ebp)
4178bc:	ff 75 10             	push   0x10(%ebp)
4178bf:	ff 75 0c             	push   0xc(%ebp)
4178c2:	ff 75 08             	push   0x8(%ebp)
4178c5:	e8 05 00 00 00       	call   0x4178cf
4178ca:	83 c4 1c             	add    $0x1c,%esp
4178cd:	5d                   	pop    %ebp
4178ce:	c3                   	ret
4178cf:	8b ff                	mov    %edi,%edi
4178d1:	55                   	push   %ebp
4178d2:	8b ec                	mov    %esp,%ebp
4178d4:	8b 45 08             	mov    0x8(%ebp),%eax
4178d7:	33 c9                	xor    %ecx,%ecx
4178d9:	53                   	push   %ebx
4178da:	33 db                	xor    %ebx,%ebx
4178dc:	43                   	inc    %ebx
4178dd:	89 48 04             	mov    %ecx,0x4(%eax)
4178e0:	8b 45 08             	mov    0x8(%ebp),%eax
4178e3:	57                   	push   %edi
4178e4:	bf 0d 00 00 c0       	mov    $0xc000000d,%edi
4178e9:	89 48 08             	mov    %ecx,0x8(%eax)
4178ec:	8b 45 08             	mov    0x8(%ebp),%eax
4178ef:	89 48 0c             	mov    %ecx,0xc(%eax)
4178f2:	8b 4d 10             	mov    0x10(%ebp),%ecx
4178f5:	f6 c1 10             	test   $0x10,%cl
4178f8:	74 0b                	je     0x417905
4178fa:	8b 45 08             	mov    0x8(%ebp),%eax
4178fd:	bf 8f 00 00 c0       	mov    $0xc000008f,%edi
417902:	09 58 04             	or     %ebx,0x4(%eax)
417905:	f6 c1 02             	test   $0x2,%cl
417908:	74 0c                	je     0x417916
41790a:	8b 45 08             	mov    0x8(%ebp),%eax
41790d:	bf 93 00 00 c0       	mov    $0xc0000093,%edi
417912:	83 48 04 02          	orl    $0x2,0x4(%eax)
417916:	f6 c1 01             	test   $0x1,%cl
417919:	74 0c                	je     0x417927
41791b:	8b 45 08             	mov    0x8(%ebp),%eax
41791e:	bf 91 00 00 c0       	mov    $0xc0000091,%edi
417923:	83 48 04 04          	orl    $0x4,0x4(%eax)
417927:	f6 c1 04             	test   $0x4,%cl
41792a:	74 0c                	je     0x417938
41792c:	8b 45 08             	mov    0x8(%ebp),%eax
41792f:	bf 8e 00 00 c0       	mov    $0xc000008e,%edi
417934:	83 48 04 08          	orl    $0x8,0x4(%eax)
417938:	f6 c1 08             	test   $0x8,%cl
41793b:	74 0c                	je     0x417949
41793d:	8b 45 08             	mov    0x8(%ebp),%eax
417940:	bf 90 00 00 c0       	mov    $0xc0000090,%edi
417945:	83 48 04 10          	orl    $0x10,0x4(%eax)
417949:	8b 4d 08             	mov    0x8(%ebp),%ecx
41794c:	56                   	push   %esi
41794d:	8b 75 0c             	mov    0xc(%ebp),%esi
417950:	8b 06                	mov    (%esi),%eax
417952:	c1 e0 04             	shl    $0x4,%eax
417955:	f7 d0                	not    %eax
417957:	33 41 08             	xor    0x8(%ecx),%eax
41795a:	83 e0 10             	and    $0x10,%eax
41795d:	31 41 08             	xor    %eax,0x8(%ecx)
417960:	8b 4d 08             	mov    0x8(%ebp),%ecx
417963:	8b 06                	mov    (%esi),%eax
417965:	03 c0                	add    %eax,%eax
417967:	f7 d0                	not    %eax
417969:	33 41 08             	xor    0x8(%ecx),%eax
41796c:	83 e0 08             	and    $0x8,%eax
41796f:	31 41 08             	xor    %eax,0x8(%ecx)
417972:	8b 4d 08             	mov    0x8(%ebp),%ecx
417975:	8b 06                	mov    (%esi),%eax
417977:	d1 e8                	shr    $1,%eax
417979:	f7 d0                	not    %eax
41797b:	33 41 08             	xor    0x8(%ecx),%eax
41797e:	83 e0 04             	and    $0x4,%eax
417981:	31 41 08             	xor    %eax,0x8(%ecx)
417984:	8b 4d 08             	mov    0x8(%ebp),%ecx
417987:	8b 06                	mov    (%esi),%eax
417989:	c1 e8 03             	shr    $0x3,%eax
41798c:	f7 d0                	not    %eax
41798e:	33 41 08             	xor    0x8(%ecx),%eax
417991:	83 e0 02             	and    $0x2,%eax
417994:	31 41 08             	xor    %eax,0x8(%ecx)
417997:	8b 06                	mov    (%esi),%eax
417999:	8b 4d 08             	mov    0x8(%ebp),%ecx
41799c:	c1 e8 05             	shr    $0x5,%eax
41799f:	f7 d0                	not    %eax
4179a1:	33 41 08             	xor    0x8(%ecx),%eax
4179a4:	23 c3                	and    %ebx,%eax
4179a6:	31 41 08             	xor    %eax,0x8(%ecx)
4179a9:	e8 a1 e0 ff ff       	call   0x415a4f
4179ae:	8b d0                	mov    %eax,%edx
4179b0:	f6 c2 01             	test   $0x1,%dl
4179b3:	74 07                	je     0x4179bc
4179b5:	8b 4d 08             	mov    0x8(%ebp),%ecx
4179b8:	83 49 0c 10          	orl    $0x10,0xc(%ecx)
4179bc:	f6 c2 04             	test   $0x4,%dl
4179bf:	74 07                	je     0x4179c8
4179c1:	8b 45 08             	mov    0x8(%ebp),%eax
4179c4:	83 48 0c 08          	orl    $0x8,0xc(%eax)
4179c8:	f6 c2 08             	test   $0x8,%dl
4179cb:	74 07                	je     0x4179d4
4179cd:	8b 45 08             	mov    0x8(%ebp),%eax
4179d0:	83 48 0c 04          	orl    $0x4,0xc(%eax)
4179d4:	f6 c2 10             	test   $0x10,%dl
4179d7:	74 07                	je     0x4179e0
4179d9:	8b 45 08             	mov    0x8(%ebp),%eax
4179dc:	83 48 0c 02          	orl    $0x2,0xc(%eax)
4179e0:	f6 c2 20             	test   $0x20,%dl
4179e3:	74 06                	je     0x4179eb
4179e5:	8b 45 08             	mov    0x8(%ebp),%eax
4179e8:	09 58 0c             	or     %ebx,0xc(%eax)
4179eb:	8b 06                	mov    (%esi),%eax
4179ed:	b9 00 0c 00 00       	mov    $0xc00,%ecx
4179f2:	23 c1                	and    %ecx,%eax
4179f4:	74 35                	je     0x417a2b
4179f6:	3d 00 04 00 00       	cmp    $0x400,%eax
4179fb:	74 22                	je     0x417a1f
4179fd:	3d 00 08 00 00       	cmp    $0x800,%eax
417a02:	74 0c                	je     0x417a10
417a04:	3b c1                	cmp    %ecx,%eax
417a06:	75 29                	jne    0x417a31
417a08:	8b 45 08             	mov    0x8(%ebp),%eax
417a0b:	83 08 03             	orl    $0x3,(%eax)
417a0e:	eb 21                	jmp    0x417a31
417a10:	8b 4d 08             	mov    0x8(%ebp),%ecx
417a13:	8b 01                	mov    (%ecx),%eax
417a15:	83 e0 fe             	and    $0xfffffffe,%eax
417a18:	83 c8 02             	or     $0x2,%eax
417a1b:	89 01                	mov    %eax,(%ecx)
417a1d:	eb 12                	jmp    0x417a31
417a1f:	8b 4d 08             	mov    0x8(%ebp),%ecx
417a22:	8b 01                	mov    (%ecx),%eax
417a24:	83 e0 fd             	and    $0xfffffffd,%eax
417a27:	0b c3                	or     %ebx,%eax
417a29:	eb f0                	jmp    0x417a1b
417a2b:	8b 45 08             	mov    0x8(%ebp),%eax
417a2e:	83 20 fc             	andl   $0xfffffffc,(%eax)
417a31:	8b 06                	mov    (%esi),%eax
417a33:	b9 00 03 00 00       	mov    $0x300,%ecx
417a38:	23 c1                	and    %ecx,%eax
417a3a:	74 20                	je     0x417a5c
417a3c:	3d 00 02 00 00       	cmp    $0x200,%eax
417a41:	74 0c                	je     0x417a4f
417a43:	3b c1                	cmp    %ecx,%eax
417a45:	75 22                	jne    0x417a69
417a47:	8b 45 08             	mov    0x8(%ebp),%eax
417a4a:	83 20 e3             	andl   $0xffffffe3,(%eax)
417a4d:	eb 1a                	jmp    0x417a69
417a4f:	8b 4d 08             	mov    0x8(%ebp),%ecx
417a52:	8b 01                	mov    (%ecx),%eax
417a54:	83 e0 e7             	and    $0xffffffe7,%eax
417a57:	83 c8 04             	or     $0x4,%eax
417a5a:	eb 0b                	jmp    0x417a67
417a5c:	8b 4d 08             	mov    0x8(%ebp),%ecx
417a5f:	8b 01                	mov    (%ecx),%eax
417a61:	83 e0 eb             	and    $0xffffffeb,%eax
417a64:	83 c8 08             	or     $0x8,%eax
417a67:	89 01                	mov    %eax,(%ecx)
417a69:	8b 45 08             	mov    0x8(%ebp),%eax
417a6c:	8b 4d 14             	mov    0x14(%ebp),%ecx
417a6f:	c1 e1 05             	shl    $0x5,%ecx
417a72:	33 08                	xor    (%eax),%ecx
417a74:	81 e1 e0 ff 01 00    	and    $0x1ffe0,%ecx
417a7a:	31 08                	xor    %ecx,(%eax)
417a7c:	8b 45 08             	mov    0x8(%ebp),%eax
417a7f:	09 58 20             	or     %ebx,0x20(%eax)
417a82:	83 7d 20 00          	cmpl   $0x0,0x20(%ebp)
417a86:	74 2c                	je     0x417ab4
417a88:	8b 45 08             	mov    0x8(%ebp),%eax
417a8b:	83 60 20 e1          	andl   $0xffffffe1,0x20(%eax)
417a8f:	8b 45 18             	mov    0x18(%ebp),%eax
417a92:	d9 00                	flds   (%eax)
417a94:	8b 45 08             	mov    0x8(%ebp),%eax
417a97:	d9 58 10             	fstps  0x10(%eax)
417a9a:	8b 45 08             	mov    0x8(%ebp),%eax
417a9d:	09 58 60             	or     %ebx,0x60(%eax)
417aa0:	8b 45 08             	mov    0x8(%ebp),%eax
417aa3:	8b 5d 1c             	mov    0x1c(%ebp),%ebx
417aa6:	83 60 60 e1          	andl   $0xffffffe1,0x60(%eax)
417aaa:	8b 45 08             	mov    0x8(%ebp),%eax
417aad:	d9 03                	flds   (%ebx)
417aaf:	d9 58 50             	fstps  0x50(%eax)
417ab2:	eb 3a                	jmp    0x417aee
417ab4:	8b 4d 08             	mov    0x8(%ebp),%ecx
417ab7:	8b 41 20             	mov    0x20(%ecx),%eax
417aba:	83 e0 e3             	and    $0xffffffe3,%eax
417abd:	83 c8 02             	or     $0x2,%eax
417ac0:	89 41 20             	mov    %eax,0x20(%ecx)
417ac3:	8b 45 18             	mov    0x18(%ebp),%eax
417ac6:	dd 00                	fldl   (%eax)
417ac8:	8b 45 08             	mov    0x8(%ebp),%eax
417acb:	dd 58 10             	fstpl  0x10(%eax)
417ace:	8b 45 08             	mov    0x8(%ebp),%eax
417ad1:	09 58 60             	or     %ebx,0x60(%eax)
417ad4:	8b 4d 08             	mov    0x8(%ebp),%ecx
417ad7:	8b 5d 1c             	mov    0x1c(%ebp),%ebx
417ada:	8b 41 60             	mov    0x60(%ecx),%eax
417add:	83 e0 e3             	and    $0xffffffe3,%eax
417ae0:	83 c8 02             	or     $0x2,%eax
417ae3:	89 41 60             	mov    %eax,0x60(%ecx)
417ae6:	8b 45 08             	mov    0x8(%ebp),%eax
417ae9:	dd 03                	fldl   (%ebx)
417aeb:	dd 58 50             	fstpl  0x50(%eax)
417aee:	e8 c2 de ff ff       	call   0x4159b5
417af3:	8d 45 08             	lea    0x8(%ebp),%eax
417af6:	50                   	push   %eax
417af7:	6a 01                	push   $0x1
417af9:	6a 00                	push   $0x0
417afb:	57                   	push   %edi
417afc:	ff 15 44 b0 41 00    	call   *0x41b044
417b02:	8b 4d 08             	mov    0x8(%ebp),%ecx
417b05:	f6 41 08 10          	testb  $0x10,0x8(%ecx)
417b09:	74 03                	je     0x417b0e
417b0b:	83 26 fe             	andl   $0xfffffffe,(%esi)
417b0e:	f6 41 08 08          	testb  $0x8,0x8(%ecx)
417b12:	74 03                	je     0x417b17
417b14:	83 26 fb             	andl   $0xfffffffb,(%esi)
417b17:	f6 41 08 04          	testb  $0x4,0x8(%ecx)
417b1b:	74 03                	je     0x417b20
417b1d:	83 26 f7             	andl   $0xfffffff7,(%esi)
417b20:	f6 41 08 02          	testb  $0x2,0x8(%ecx)
417b24:	74 03                	je     0x417b29
417b26:	83 26 ef             	andl   $0xffffffef,(%esi)
417b29:	f6 41 08 01          	testb  $0x1,0x8(%ecx)
417b2d:	74 03                	je     0x417b32
417b2f:	83 26 df             	andl   $0xffffffdf,(%esi)
417b32:	8b 01                	mov    (%ecx),%eax
417b34:	ba ff f3 ff ff       	mov    $0xfffff3ff,%edx
417b39:	83 e0 03             	and    $0x3,%eax
417b3c:	83 e8 00             	sub    $0x0,%eax
417b3f:	74 35                	je     0x417b76
417b41:	83 e8 01             	sub    $0x1,%eax
417b44:	74 22                	je     0x417b68
417b46:	83 e8 01             	sub    $0x1,%eax
417b49:	74 0d                	je     0x417b58
417b4b:	83 e8 01             	sub    $0x1,%eax
417b4e:	75 28                	jne    0x417b78
417b50:	81 0e 00 0c 00 00    	orl    $0xc00,(%esi)
417b56:	eb 20                	jmp    0x417b78
417b58:	8b 06                	mov    (%esi),%eax
417b5a:	25 ff fb ff ff       	and    $0xfffffbff,%eax
417b5f:	0d 00 08 00 00       	or     $0x800,%eax
417b64:	89 06                	mov    %eax,(%esi)
417b66:	eb 10                	jmp    0x417b78
417b68:	8b 06                	mov    (%esi),%eax
417b6a:	25 ff f7 ff ff       	and    $0xfffff7ff,%eax
417b6f:	0d 00 04 00 00       	or     $0x400,%eax
417b74:	eb ee                	jmp    0x417b64
417b76:	21 16                	and    %edx,(%esi)
417b78:	8b 01                	mov    (%ecx),%eax
417b7a:	c1 e8 02             	shr    $0x2,%eax
417b7d:	83 e0 07             	and    $0x7,%eax
417b80:	83 e8 00             	sub    $0x0,%eax
417b83:	74 19                	je     0x417b9e
417b85:	83 e8 01             	sub    $0x1,%eax
417b88:	74 09                	je     0x417b93
417b8a:	83 e8 01             	sub    $0x1,%eax
417b8d:	75 1a                	jne    0x417ba9
417b8f:	21 16                	and    %edx,(%esi)
417b91:	eb 16                	jmp    0x417ba9
417b93:	8b 06                	mov    (%esi),%eax
417b95:	23 c2                	and    %edx,%eax
417b97:	0d 00 02 00 00       	or     $0x200,%eax
417b9c:	eb 09                	jmp    0x417ba7
417b9e:	8b 06                	mov    (%esi),%eax
417ba0:	23 c2                	and    %edx,%eax
417ba2:	0d 00 03 00 00       	or     $0x300,%eax
417ba7:	89 06                	mov    %eax,(%esi)
417ba9:	83 7d 20 00          	cmpl   $0x0,0x20(%ebp)
417bad:	5e                   	pop    %esi
417bae:	74 07                	je     0x417bb7
417bb0:	d9 41 50             	flds   0x50(%ecx)
417bb3:	d9 1b                	fstps  (%ebx)
417bb5:	eb 05                	jmp    0x417bbc
417bb7:	dd 41 50             	fldl   0x50(%ecx)
417bba:	dd 1b                	fstpl  (%ebx)
417bbc:	5f                   	pop    %edi
417bbd:	5b                   	pop    %ebx
417bbe:	5d                   	pop    %ebp
417bbf:	c3                   	ret
417bc0:	8b ff                	mov    %edi,%edi
417bc2:	55                   	push   %ebp
417bc3:	8b ec                	mov    %esp,%ebp
417bc5:	8b 45 08             	mov    0x8(%ebp),%eax
417bc8:	83 f8 01             	cmp    $0x1,%eax
417bcb:	74 15                	je     0x417be2