494552:	2b c1                	sub    %ecx,%eax
494554:	74 3a                	je     0x494590
494556:	83 e8 01             	sub    $0x1,%eax
494559:	74 29                	je     0x494584
49455b:	83 e8 05             	sub    $0x5,%eax
49455e:	74 15                	je     0x494575
494560:	83 e8 01             	sub    $0x1,%eax
494563:	0f 85 95 01 00 00    	jne    0x4946fe
494569:	c7 45 e4 1c 40 4a 00 	movl   $0x4a401c,-0x1c(%ebp)
494570:	e9 01 01 00 00       	jmp    0x494676
494575:	89 4d e0             	mov    %ecx,-0x20(%ebp)
494578:	c7 45 e4 1c 40 4a 00 	movl   $0x4a401c,-0x1c(%ebp)
49457f:	e9 3f 01 00 00       	jmp    0x4946c3
494584:	c7 45 e4 18 40 4a 00 	movl   $0x4a4018,-0x1c(%ebp)
49458b:	e9 e6 00 00 00       	jmp    0x494676
494590:	89 4d e0             	mov    %ecx,-0x20(%ebp)
494593:	c7 45 e4 18 40 4a 00 	movl   $0x4a4018,-0x1c(%ebp)
49459a:	e9 24 01 00 00       	jmp    0x4946c3
49459f:	c7 45 e0 03 00 00 00 	movl   $0x3,-0x20(%ebp)
4945a6:	c7 45 e4 10 40 4a 00 	movl   $0x4a4010,-0x1c(%ebp)
4945ad:	e9 11 01 00 00       	jmp    0x4946c3
4945b2:	83 e8 0f             	sub    $0xf,%eax
4945b5:	74 54                	je     0x49460b
4945b7:	83 e8 09             	sub    $0x9,%eax
4945ba:	74 43                	je     0x4945ff
4945bc:	83 e8 01             	sub    $0x1,%eax
4945bf:	0f 85 39 01 00 00    	jne    0x4946fe
4945c5:	c7 45 e4 14 40 4a 00 	movl   $0x4a4014,-0x1c(%ebp)
4945cc:	8b 45 08             	mov    0x8(%ebp),%eax
4945cf:	8b cf                	mov    %edi,%ecx
4945d1:	8b 75 10             	mov    0x10(%ebp),%esi
4945d4:	c7 45 e0 04 00 00 00 	movl   $0x4,-0x20(%ebp)
4945db:	dd 00                	fldl   (%eax)
4945dd:	8b 45 0c             	mov    0xc(%ebp),%eax
4945e0:	dd 5d e8             	fstpl  -0x18(%ebp)
4945e3:	dd 00                	fldl   (%eax)
4945e5:	8d 45 e0             	lea    -0x20(%ebp),%eax
4945e8:	dd 5d f0             	fstpl  -0x10(%ebp)
4945eb:	dd 06                	fldl   (%esi)
4945ed:	50                   	push   %eax
4945ee:	dd 5d f8             	fstpl  -0x8(%ebp)
4945f1:	ff 15 d4 e2 49 00    	call   *0x49e2d4
4945f7:	ff d7                	call   *%edi
4945f9:	59                   	pop    %ecx
4945fa:	e9 fa 00 00 00       	jmp    0x4946f9
4945ff:	c7 45 e0 03 00 00 00 	movl   $0x3,-0x20(%ebp)
494606:	e9 b1 00 00 00       	jmp    0x4946bc
49460b:	c7 45 e4 10 40 4a 00 	movl   $0x4a4010,-0x1c(%ebp)
494612:	eb b8                	jmp    0x4945cc
494614:	d9 e8                	fld1
494616:	8b 45 10             	mov    0x10(%ebp),%eax
494619:	dd 18                	fstpl  (%eax)
49461b:	e9 de 00 00 00       	jmp    0x4946fe
494620:	83 e8 1b             	sub    $0x1b,%eax
494623:	0f 84 8c 00 00 00    	je     0x4946b5
494629:	83 e8 01             	sub    $0x1,%eax
49462c:	74 41                	je     0x49466f
49462e:	83 e8 15             	sub    $0x15,%eax
494631:	74 33                	je     0x494666
494633:	83 e8 09             	sub    $0x9,%eax
494636:	74 25                	je     0x49465d
494638:	83 e8 03             	sub    $0x3,%eax
49463b:	74 17                	je     0x494654
49463d:	2d ab 03 00 00       	sub    $0x3ab,%eax
494642:	74 09                	je     0x49464d
494644:	83 e8 01             	sub    $0x1,%eax
494647:	0f 85 b1 00 00 00    	jne    0x4946fe
49464d:	8b 45 08             	mov    0x8(%ebp),%eax
494650:	dd 00                	fldl   (%eax)
494652:	eb c2                	jmp    0x494616
494654:	c7 45 e4 3c 40 4a 00 	movl   $0x4a403c,-0x1c(%ebp)
49465b:	eb 19                	jmp    0x494676
49465d:	c7 45 e4 44 40 4a 00 	movl   $0x4a4044,-0x1c(%ebp)
494664:	eb 10                	jmp    0x494676
494666:	c7 45 e4 5c 40 4a 00 	movl   $0x4a405c,-0x1c(%ebp)
49466d:	eb 07                	jmp    0x494676
49466f:	c7 45 e4 14 40 4a 00 	movl   $0x4a4014,-0x1c(%ebp)
494676:	8b 45 08             	mov    0x8(%ebp),%eax
494679:	8b cf                	mov    %edi,%ecx
49467b:	8b 75 10             	mov    0x10(%ebp),%esi
49467e:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)
494685:	dd 00                	fldl   (%eax)
494687:	8b 45 0c             	mov    0xc(%ebp),%eax
49468a:	dd 5d e8             	fstpl  -0x18(%ebp)
49468d:	dd 00                	fldl   (%eax)
49468f:	8d 45 e0             	lea    -0x20(%ebp),%eax
494692:	dd 5d f0             	fstpl  -0x10(%ebp)
494695:	dd 06                	fldl   (%esi)
494697:	50                   	push   %eax
494698:	dd 5d f8             	fstpl  -0x8(%ebp)
49469b:	ff 15 d4 e2 49 00    	call   *0x49e2d4
4946a1:	ff d7                	call   *%edi
4946a3:	59                   	pop    %ecx
4946a4:	85 c0                	test   %eax,%eax
4946a6:	75 51                	jne    0x4946f9
4946a8:	e8 88 58 fe ff       	call   0x479f35
4946ad:	c7 00 21 00 00 00    	movl   $0x21,(%eax)
4946b3:	eb 44                	jmp    0x4946f9
4946b5:	c7 45 e0 02 00 00 00 	movl   $0x2,-0x20(%ebp)
4946bc:	c7 45 e4 14 40 4a 00 	movl   $0x4a4014,-0x1c(%ebp)
4946c3:	8b 45 08             	mov    0x8(%ebp),%eax
4946c6:	8b cf                	mov    %edi,%ecx
4946c8:	8b 75 10             	mov    0x10(%ebp),%esi
4946cb:	dd 00                	fldl   (%eax)
4946cd:	8b 45 0c             	mov    0xc(%ebp),%eax
4946d0:	dd 5d e8             	fstpl  -0x18(%ebp)
4946d3:	dd 00                	fldl   (%eax)
4946d5:	8d 45 e0             	lea    -0x20(%ebp),%eax
4946d8:	dd 5d f0             	fstpl  -0x10(%ebp)
4946db:	dd 06                	fldl   (%esi)
4946dd:	50                   	push   %eax
4946de:	dd 5d f8             	fstpl  -0x8(%ebp)
4946e1:	ff 15 d4 e2 49 00    	call   *0x49e2d4
4946e7:	ff d7                	call   *%edi
4946e9:	59                   	pop    %ecx
4946ea:	85 c0                	test   %eax,%eax
4946ec:	75 0b                	jne    0x4946f9
4946ee:	e8 42 58 fe ff       	call   0x479f35
4946f3:	c7 00 22 00 00 00    	movl   $0x22,(%eax)
4946f9:	dd 45 f8             	fldl   -0x8(%ebp)
4946fc:	dd 1e                	fstpl  (%esi)
4946fe:	5f                   	pop    %edi
4946ff:	5e                   	pop    %esi
494700:	c9                   	leave
494701:	c3                   	ret
494702:	8b ff                	mov    %edi,%edi
494704:	53                   	push   %ebx
494705:	8b dc                	mov    %esp,%ebx
494707:	51                   	push   %ecx
494708:	51                   	push   %ecx
494709:	83 e4 f0             	and    $0xfffffff0,%esp
49470c:	83 c4 04             	add    $0x4,%esp
49470f:	55                   	push   %ebp
494710:	8b 6b 04             	mov    0x4(%ebx),%ebp
494713:	89 6c 24 04          	mov    %ebp,0x4(%esp)
494717:	8b ec                	mov    %esp,%ebp
494719:	81 ec 88 00 00 00    	sub    $0x88,%esp
49471f:	a1 14 40 4c 00       	mov    0x4c4014,%eax
494724:	33 c5                	xor    %ebp,%eax
494726:	89 45 fc             	mov    %eax,-0x4(%ebp)
494729:	8b 43 10             	mov    0x10(%ebx),%eax
49472c:	56                   	push   %esi
49472d:	8b 73 0c             	mov    0xc(%ebx),%esi
494730:	57                   	push   %edi
494731:	0f b7 08             	movzwl (%eax),%ecx
494734:	89 8d 7c ff ff ff    	mov    %ecx,-0x84(%ebp)
49473a:	8b 06                	mov    (%esi),%eax
49473c:	83 e8 01             	sub    $0x1,%eax
49473f:	74 2f                	je     0x494770
494741:	83 e8 01             	sub    $0x1,%eax
494744:	74 26                	je     0x49476c
494746:	83 e8 01             	sub    $0x1,%eax
494749:	74 1d                	je     0x494768
49474b:	83 e8 01             	sub    $0x1,%eax
49474e:	74 14                	je     0x494764
494750:	83 e8 01             	sub    $0x1,%eax
494753:	74 1b                	je     0x494770
494755:	48                   	dec    %eax
494756:	83 e8 01             	sub    $0x1,%eax
494759:	74 71                	je     0x4947cc
49475b:	83 e8 01             	sub    $0x1,%eax
49475e:	75 6c                	jne    0x4947cc
494760:	6a 10                	push   $0x10
494762:	eb 0e                	jmp    0x494772
494764:	6a 12                	push   $0x12
494766:	eb 0a                	jmp    0x494772
494768:	6a 11                	push   $0x11
49476a:	eb 06                	jmp    0x494772
49476c:	6a 04                	push   $0x4
49476e:	eb 02                	jmp    0x494772
494770:	6a 08                	push   $0x8
494772:	5f                   	pop    %edi
494773:	51                   	push   %ecx
494774:	8d 46 18             	lea    0x18(%esi),%eax
494777:	50                   	push   %eax
494778:	57                   	push   %edi
494779:	e8 a9 55 ff ff       	call   0x489d27
49477e:	83 c4 0c             	add    $0xc,%esp
494781:	85 c0                	test   %eax,%eax
494783:	75 47                	jne    0x4947cc
494785:	8b 4b 08             	mov    0x8(%ebx),%ecx
494788:	83 f9 10             	cmp    $0x10,%ecx
49478b:	74 10                	je     0x49479d
49478d:	83 f9 16             	cmp    $0x16,%ecx
494790:	74 0b                	je     0x49479d
494792:	83 f9 1d             	cmp    $0x1d,%ecx
494795:	74 06                	je     0x49479d
494797:	83 65 c0 fe          	andl   $0xfffffffe,-0x40(%ebp)
49479b:	eb 12                	jmp    0x4947af
49479d:	8b 45 c0             	mov    -0x40(%ebp),%eax
4947a0:	dd 46 10             	fldl   0x10(%esi)
4947a3:	83 e0 e3             	and    $0xffffffe3,%eax
4947a6:	83 c8 03             	or     $0x3,%eax
4947a9:	dd 5d b0             	fstpl  -0x50(%ebp)
4947ac:	89 45 c0             	mov    %eax,-0x40(%ebp)
4947af:	8d 46 18             	lea    0x18(%esi),%eax
4947b2:	50                   	push   %eax
4947b3:	8d 46 08             	lea    0x8(%esi),%eax
4947b6:	50                   	push   %eax
4947b7:	51                   	push   %ecx
4947b8:	57                   	push   %edi
4947b9:	8d 85 7c ff ff ff    	lea    -0x84(%ebp),%eax
4947bf:	50                   	push   %eax
4947c0:	8d 45 80             	lea    -0x80(%ebp),%eax
4947c3:	50                   	push   %eax
4947c4:	e8 eb 57 ff ff       	call   0x489fb4
4947c9:	83 c4 18             	add    $0x18,%esp
4947cc:	68 ff ff 00 00       	push   $0xffff
4947d1:	ff b5 7c ff ff ff    	push   -0x84(%ebp)
4947d7:	e8 4e 5c ff ff       	call   0x48a42a
4947dc:	83 3e 08             	cmpl   $0x8,(%esi)
4947df:	59                   	pop    %ecx
4947e0:	59                   	pop    %ecx
4947e1:	74 14                	je     0x4947f7
4947e3:	e8 5d e6 fe ff       	call   0x482e45
4947e8:	84 c0                	test   %al,%al
4947ea:	74 0b                	je     0x4947f7
4947ec:	56                   	push   %esi
4947ed:	e8 8e e6 fe ff       	call   0x482e80
4947f2:	59                   	pop    %ecx
4947f3:	85 c0                	test   %eax,%eax
4947f5:	75 08                	jne    0x4947ff
4947f7:	ff 36                	push   (%esi)
4947f9:	e8 ca 5a ff ff       	call   0x48a2c8
4947fe:	59                   	pop    %ecx
4947ff:	8b 4d fc             	mov    -0x4(%ebp),%ecx
494802:	5f                   	pop    %edi
494803:	33 cd                	xor    %ebp,%ecx
494805:	5e                   	pop    %esi
494806:	e8 bf 51 fd ff       	call   0x4699ca
49480b:	8b e5                	mov    %ebp,%esp
49480d:	5d                   	pop    %ebp
49480e:	8b e3                	mov    %ebx,%esp
494810:	5b                   	pop    %ebx
494811:	c3                   	ret
494812:	8b ff                	mov    %edi,%edi
494814:	55                   	push   %ebp
494815:	8b ec                	mov    %esp,%ebp
494817:	51                   	push   %ecx
494818:	51                   	push   %ecx
494819:	dd 45 08             	fldl   0x8(%ebp)
49481c:	d9 fc                	frndint
49481e:	dd 5d f8             	fstpl  -0x8(%ebp)
494821:	dd 45 f8             	fldl   -0x8(%ebp)
494824:	c9                   	leave
494825:	c3                   	ret
494826:	cc                   	int3
494827:	cc                   	int3
494828:	cc                   	int3
494829:	cc                   	int3
49482a:	cc                   	int3
49482b:	cc                   	int3
49482c:	cc                   	int3
49482d:	cc                   	int3
49482e:	cc                   	int3
49482f:	cc                   	int3
494830:	8b ff                	mov    %edi,%edi
494832:	55                   	push   %ebp
494833:	8b ec                	mov    %esp,%ebp
494835:	81 ec 18 01 00 00    	sub    $0x118,%esp
49483b:	a1 14 40 4c 00       	mov    0x4c4014,%eax
494840:	33 c5                	xor    %ebp,%eax
494842:	89 45 fc             	mov    %eax,-0x4(%ebp)
494845:	8b 4d 0c             	mov    0xc(%ebp),%ecx
494848:	53                   	push   %ebx
494849:	8b 5d 14             	mov    0x14(%ebp),%ebx
49484c:	56                   	push   %esi
49484d:	8b 75 08             	mov    0x8(%ebp),%esi
494850:	89 b5 fc fe ff ff    	mov    %esi,-0x104(%ebp)
494856:	89 9d f8 fe ff ff    	mov    %ebx,-0x108(%ebp)
49485c:	57                   	push   %edi
49485d:	8b 7d 10             	mov    0x10(%ebp),%edi
494860:	89 bd 00 ff ff ff    	mov    %edi,-0x100(%ebp)
494866:	85 f6                	test   %esi,%esi
494868:	75 25                	jne    0x49488f
49486a:	85 c9                	test   %ecx,%ecx
49486c:	74 21                	je     0x49488f
49486e:	e8 c2 56 fe ff       	call   0x479f35
494873:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
494879:	e8 a3 4d fe ff       	call   0x479621
49487e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
494881:	5f                   	pop    %edi
494882:	5e                   	pop    %esi
494883:	33 cd                	xor    %ebp,%ecx
494885:	5b                   	pop    %ebx
494886:	e8 3f 51 fd ff       	call   0x4699ca
49488b:	8b e5                	mov    %ebp,%esp
49488d:	5d                   	pop    %ebp
49488e:	c3                   	ret
49488f:	85 ff                	test   %edi,%edi
494891:	74 db                	je     0x49486e
494893:	85 db                	test   %ebx,%ebx
494895:	74 d7                	je     0x49486e
494897:	c7 85 e8 fe ff ff 00 	movl   $0x0,-0x118(%ebp)
49489e:	00 00 00
4948a1:	83 f9 02             	cmp    $0x2,%ecx
4948a4:	72 d8                	jb     0x49487e
4948a6:	49                   	dec    %ecx
4948a7:	0f af cf             	imul   %edi,%ecx
4948aa:	03 ce                	add    %esi,%ecx
4948ac:	89 8d 08 ff ff ff    	mov    %ecx,-0xf8(%ebp)
4948b2:	8b c1                	mov    %ecx,%eax
4948b4:	33 d2                	xor    %edx,%edx
4948b6:	2b c6                	sub    %esi,%eax
4948b8:	f7 f7                	div    %edi
4948ba:	40                   	inc    %eax
4948bb:	83 f8 08             	cmp    $0x8,%eax
4948be:	0f 87 b6 00 00 00    	ja     0x49497a
4948c4:	3b ce                	cmp    %esi,%ecx
4948c6:	0f 86 27 04 00 00    	jbe    0x494cf3
4948cc:	8d 14 37             	lea    (%edi,%esi,1),%edx
4948cf:	89 95 f0 fe ff ff    	mov    %edx,-0x110(%ebp)
4948d5:	8b c6                	mov    %esi,%eax
4948d7:	8b f2                	mov    %edx,%esi
4948d9:	89 85 04 ff ff ff    	mov    %eax,-0xfc(%ebp)
4948df:	3b f1                	cmp    %ecx,%esi
4948e1:	77 2f                	ja     0x494912
4948e3:	50                   	push   %eax
4948e4:	56                   	push   %esi
4948e5:	8b cb                	mov    %ebx,%ecx
4948e7:	ff 15 d4 e2 49 00    	call   *0x49e2d4
4948ed:	ff d3                	call   *%ebx
4948ef:	83 c4 08             	add    $0x8,%esp
4948f2:	85 c0                	test   %eax,%eax
4948f4:	7e 0a                	jle    0x494900
4948f6:	8b c6                	mov    %esi,%eax
4948f8:	89 85 04 ff ff ff    	mov    %eax,-0xfc(%ebp)
4948fe:	eb 06                	jmp    0x494906
494900:	8b 85 04 ff ff ff    	mov    -0xfc(%ebp),%eax
494906:	8b 8d 08 ff ff ff    	mov    -0xf8(%ebp),%ecx
49490c:	03 f7                	add    %edi,%esi
49490e:	3b f1                	cmp    %ecx,%esi
494910:	76 d1                	jbe    0x4948e3
494912:	89 bd f4 fe ff ff    	mov    %edi,-0x10c(%ebp)
494918:	8b d1                	mov    %ecx,%edx
49491a:	3b c1                	cmp    %ecx,%eax
49491c:	74 3b                	je     0x494959
49491e:	2b c1                	sub    %ecx,%eax
494920:	8b df                	mov    %edi,%ebx
494922:	89 85 04 ff ff ff    	mov    %eax,-0xfc(%ebp)
494928:	eb 06                	jmp    0x494930
49492a:	8d 9b 00 00 00 00    	lea    0x0(%ebx),%ebx
494930:	8a 0c 10             	mov    (%eax,%edx,1),%cl
494933:	8d 52 01             	lea    0x1(%edx),%edx
494936:	8b b5 04 ff ff ff    	mov    -0xfc(%ebp),%esi
49493c:	8a 42 ff             	mov    -0x1(%edx),%al
49493f:	88 44 16 ff          	mov    %al,-0x1(%esi,%edx,1)
494943:	8b c6                	mov    %esi,%eax
494945:	88 4a ff             	mov    %cl,-0x1(%edx)
494948:	83 eb 01             	sub    $0x1,%ebx