40d431:	66 0f 56 c3          	orpd   %xmm3,%xmm0
40d435:	66 0f 58 e0          	addpd  %xmm0,%xmm4
40d439:	66 0f c5 c4 00       	pextrw $0x0,%xmm4,%eax
40d43e:	25 f0 07 00 00       	and    $0x7f0,%eax
40d443:	66 0f 28 a0 50 37 41 	movapd 0x413750(%eax),%xmm4
40d44a:	00
40d44b:	66 0f 28 b8 40 33 41 	movapd 0x413340(%eax),%xmm7
40d452:	00
40d453:	66 0f 54 f0          	andpd  %xmm0,%xmm6
40d457:	66 0f 5c c6          	subpd  %xmm6,%xmm0
40d45b:	66 0f 59 f4          	mulpd  %xmm4,%xmm6
40d45f:	66 0f 5c f2          	subpd  %xmm2,%xmm6
40d463:	f2 0f 58 fe          	addsd  %xmm6,%xmm7
40d467:	66 0f 59 c4          	mulpd  %xmm4,%xmm0
40d46b:	66 0f 28 e0          	movapd %xmm0,%xmm4
40d46f:	66 0f 58 c6          	addpd  %xmm6,%xmm0
40d473:	81 e1 ff 0f 00 00    	and    $0xfff,%ecx
40d479:	83 e9 01             	sub    $0x1,%ecx
40d47c:	81 f9 fd 07 00 00    	cmp    $0x7fd,%ecx
40d482:	0f 87 be 00 00 00    	ja     0x40d546
40d488:	81 e9 fe 03 00 00    	sub    $0x3fe,%ecx
40d48e:	03 ca                	add    %edx,%ecx
40d490:	f2 0f 2a f1          	cvtsi2sd %ecx,%xmm6
40d494:	66 0f 14 f6          	unpcklpd %xmm6,%xmm6
40d498:	c1 e1 0a             	shl    $0xa,%ecx
40d49b:	03 c1                	add    %ecx,%eax
40d49d:	b9 10 00 00 00       	mov    $0x10,%ecx
40d4a2:	ba 00 00 00 00       	mov    $0x0,%edx
40d4a7:	83 f8 00             	cmp    $0x0,%eax
40d4aa:	0f 44 d1             	cmove  %ecx,%edx
40d4ad:	66 0f 28 0d e0 31 41 	movapd 0x4131e0,%xmm1
40d4b4:	00
40d4b5:	66 0f 28 d8          	movapd %xmm0,%xmm3
40d4b9:	66 0f 28 15 f0 31 41 	movapd 0x4131f0,%xmm2
40d4c0:	00
40d4c1:	66 0f 59 c8          	mulpd  %xmm0,%xmm1
40d4c5:	66 0f 59 db          	mulpd  %xmm3,%xmm3
40d4c9:	66 0f 58 ca          	addpd  %xmm2,%xmm1
40d4cd:	66 0f 28 15 00 32 41 	movapd 0x413200,%xmm2
40d4d4:	00
40d4d5:	f2 0f 59 db          	mulsd  %xmm3,%xmm3
40d4d9:	66 0f 28 2d 60 31 41 	movapd 0x413160,%xmm5
40d4e0:	00
40d4e1:	66 0f 59 f5          	mulpd  %xmm5,%xmm6
40d4e5:	66 0f 28 aa 70 31 41 	movapd 0x413170(%edx),%xmm5
40d4ec:	00
40d4ed:	66 0f 54 e5          	andpd  %xmm5,%xmm4
40d4f1:	66 0f 58 fe          	addpd  %xmm6,%xmm7
40d4f5:	66 0f 58 fc          	addpd  %xmm4,%xmm7
40d4f9:	66 0f 59 c8          	mulpd  %xmm0,%xmm1
40d4fd:	f2 0f 59 d8          	mulsd  %xmm0,%xmm3
40d501:	66 0f 58 ca          	addpd  %xmm2,%xmm1
40d505:	66 0f 28 15 10 32 41 	movapd 0x413210,%xmm2
40d50c:	00
40d50d:	66 0f 59 d0          	mulpd  %xmm0,%xmm2
40d511:	66 0f 28 f7          	movapd %xmm7,%xmm6
40d515:	66 0f 15 f6          	unpckhpd %xmm6,%xmm6
40d519:	66 0f 59 cb          	mulpd  %xmm3,%xmm1
40d51d:	83 ec 10             	sub    $0x10,%esp
40d520:	66 0f 28 c1          	movapd %xmm1,%xmm0
40d524:	66 0f 58 ca          	addpd  %xmm2,%xmm1
40d528:	66 0f 15 c0          	unpckhpd %xmm0,%xmm0
40d52c:	f2 0f 58 c1          	addsd  %xmm1,%xmm0
40d530:	f2 0f 58 c6          	addsd  %xmm6,%xmm0
40d534:	f2 0f 58 c7          	addsd  %xmm7,%xmm0
40d538:	66 0f 13 44 24 04    	movlpd %xmm0,0x4(%esp)
40d53e:	dd 44 24 04          	fldl   0x4(%esp)
40d542:	83 c4 10             	add    $0x10,%esp
40d545:	c3                   	ret
40d546:	66 0f 12 44 24 04    	movlpd 0x4(%esp),%xmm0
40d54c:	66 0f 28 0d a0 31 41 	movapd 0x4131a0,%xmm1
40d553:	00
40d554:	f2 0f c2 c8 00       	cmpeqsd %xmm0,%xmm1
40d559:	66 0f c5 c1 00       	pextrw $0x0,%xmm1,%eax
40d55e:	83 f8 00             	cmp    $0x0,%eax
40d561:	77 48                	ja     0x40d5ab
40d563:	83 f9 ff             	cmp    $0xffffffff,%ecx
40d566:	74 5e                	je     0x40d5c6
40d568:	81 f9 fe 07 00 00    	cmp    $0x7fe,%ecx
40d56e:	77 6c                	ja     0x40d5dc
40d570:	66 0f 12 44 24 04    	movlpd 0x4(%esp),%xmm0
40d576:	66 0f 28 0d 20 31 41 	movapd 0x413120,%xmm1
40d57d:	00
40d57e:	66 0f 28 15 90 31 41 	movapd 0x413190,%xmm2
40d585:	00
40d586:	66 0f 54 c1          	andpd  %xmm1,%xmm0
40d58a:	66 0f 56 c2          	orpd   %xmm2,%xmm0
40d58e:	f2 0f c2 d0 00       	cmpeqsd %xmm0,%xmm2
40d593:	66 0f c5 c2 00       	pextrw $0x0,%xmm2,%eax
40d598:	83 f8 00             	cmp    $0x0,%eax
40d59b:	74 07                	je     0x40d5a4
40d59d:	dd 05 c8 31 41 00    	fldl   0x4131c8
40d5a3:	c3                   	ret
40d5a4:	ba e9 03 00 00       	mov    $0x3e9,%edx
40d5a9:	eb 4f                	jmp    0x40d5fa
40d5ab:	66 0f 12 15 90 31 41 	movlpd 0x413190,%xmm2
40d5b2:	00
40d5b3:	f2 0f 5e d0          	divsd  %xmm0,%xmm2
40d5b7:	66 0f 12 0d c0 31 41 	movlpd 0x4131c0,%xmm1
40d5be:	00
40d5bf:	ba 08 00 00 00       	mov    $0x8,%edx
40d5c4:	eb 34                	jmp    0x40d5fa
40d5c6:	66 0f 12 0d b0 31 41 	movlpd 0x4131b0,%xmm1
40d5cd:	00
40d5ce:	f2 0f 59 c1          	mulsd  %xmm1,%xmm0
40d5d2:	ba cc ff ff ff       	mov    $0xffffffcc,%edx
40d5d7:	e9 17 fe ff ff       	jmp    0x40d3f3
40d5dc:	83 c1 01             	add    $0x1,%ecx
40d5df:	81 e1 ff 07 00 00    	and    $0x7ff,%ecx
40d5e5:	81 f9 ff 07 00 00    	cmp    $0x7ff,%ecx
40d5eb:	73 3a                	jae    0x40d627
40d5ed:	66 0f 57 c9          	xorpd  %xmm1,%xmm1
40d5f1:	f2 0f 5e c9          	divsd  %xmm1,%xmm1
40d5f5:	ba 09 00 00 00       	mov    $0x9,%edx
40d5fa:	83 ec 1c             	sub    $0x1c,%esp
40d5fd:	66 0f 13 4c 24 10    	movlpd %xmm1,0x10(%esp)
40d603:	89 54 24 0c          	mov    %edx,0xc(%esp)
40d607:	8b d4                	mov    %esp,%edx
40d609:	83 c2 10             	add    $0x10,%edx
40d60c:	89 54 24 08          	mov    %edx,0x8(%esp)
40d610:	83 c2 10             	add    $0x10,%edx
40d613:	89 54 24 04          	mov    %edx,0x4(%esp)
40d617:	89 14 24             	mov    %edx,(%esp)
40d61a:	e8 94 06 00 00       	call   0x40dcb3
40d61f:	dd 44 24 10          	fldl   0x10(%esp)
40d623:	83 c4 1c             	add    $0x1c,%esp
40d626:	c3                   	ret
40d627:	66 0f 12 54 24 04    	movlpd 0x4(%esp),%xmm2
40d62d:	66 0f 12 44 24 04    	movlpd 0x4(%esp),%xmm0
40d633:	66 0f 7e d0          	movd   %xmm2,%eax
40d637:	66 0f 73 d2 20       	psrlq  $0x20,%xmm2
40d63c:	66 0f 7e d1          	movd   %xmm2,%ecx
40d640:	81 e1 ff ff 0f 00    	and    $0xfffff,%ecx
40d646:	0b c1                	or     %ecx,%eax
40d648:	83 f8 00             	cmp    $0x0,%eax
40d64b:	74 a0                	je     0x40d5ed
40d64d:	ba e9 03 00 00       	mov    $0x3e9,%edx
40d652:	eb a6                	jmp    0x40d5fa
40d654:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
40d65b:	eb 03                	jmp    0x40d660
40d65d:	cc                   	int3
40d65e:	cc                   	int3
40d65f:	cc                   	int3
40d660:	c6 85 70 ff ff ff fe 	movb   $0xfe,-0x90(%ebp)
40d667:	0a ed                	or     %ch,%ch
40d669:	75 4a                	jne    0x40d6b5
40d66b:	d9 c9                	fxch   %st(1)
40d66d:	d9 f1                	fyl2x
40d66f:	eb 1c                	jmp    0x40d68d
40d671:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
40d678:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
40d67f:	90                   	nop
40d680:	c6 85 70 ff ff ff fe 	movb   $0xfe,-0x90(%ebp)
40d687:	32 ed                	xor    %ch,%ch
40d689:	d9 ea                	fldl2e
40d68b:	de c9                	fmulp  %st,%st(1)
40d68d:	e8 2b 01 00 00       	call   0x40d7bd
40d692:	d9 e8                	fld1
40d694:	de c1                	faddp  %st,%st(1)
40d696:	f6 85 61 ff ff ff 01 	testb  $0x1,-0x9f(%ebp)
40d69d:	74 04                	je     0x40d6a3
40d69f:	d9 e8                	fld1
40d6a1:	de f1                	fdivp  %st,%st(1)
40d6a3:	f6 c2 40             	test   $0x40,%dl
40d6a6:	75 02                	jne    0x40d6aa
40d6a8:	d9 fd                	fscale
40d6aa:	0a ed                	or     %ch,%ch
40d6ac:	74 02                	je     0x40d6b0
40d6ae:	d9 e0                	fchs
40d6b0:	e9 cf 02 00 00       	jmp    0x40d984
40d6b5:	e8 46 01 00 00       	call   0x40d800
40d6ba:	0b c0                	or     %eax,%eax
40d6bc:	74 14                	je     0x40d6d2
40d6be:	32 ed                	xor    %ch,%ch
40d6c0:	83 f8 02             	cmp    $0x2,%eax
40d6c3:	74 02                	je     0x40d6c7
40d6c5:	f6 d5                	not    %ch
40d6c7:	d9 c9                	fxch   %st(1)
40d6c9:	d9 e1                	fabs
40d6cb:	eb a0                	jmp    0x40d66d
40d6cd:	e9 eb 02 00 00       	jmp    0x40d9bd
40d6d2:	e9 a9 03 00 00       	jmp    0x40da80
40d6d7:	dd d8                	fstp   %st(0)
40d6d9:	dd d8                	fstp   %st(0)
40d6db:	db 2d 20 32 41 00    	fldt   0x413220
40d6e1:	c6 85 70 ff ff ff 02 	movb   $0x2,-0x90(%ebp)
40d6e8:	c3                   	ret
40d6e9:	d9 ed                	fldln2
40d6eb:	d9 c9                	fxch   %st(1)
40d6ed:	d9 e4                	ftst
40d6ef:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40d6f6:	9b                   	fwait
40d6f7:	f6 85 61 ff ff ff 41 	testb  $0x41,-0x9f(%ebp)
40d6fe:	75 d2                	jne    0x40d6d2
40d700:	d9 f1                	fyl2x
40d702:	c3                   	ret
40d703:	c6 85 70 ff ff ff 02 	movb   $0x2,-0x90(%ebp)
40d70a:	dd d8                	fstp   %st(0)
40d70c:	db 2d 2a 32 41 00    	fldt   0x41322a
40d712:	c3                   	ret
40d713:	0a c9                	or     %cl,%cl
40d715:	75 53                	jne    0x40d76a
40d717:	c3                   	ret
40d718:	d9 ec                	fldlg2
40d71a:	eb 02                	jmp    0x40d71e
40d71c:	d9 ed                	fldln2
40d71e:	d9 c9                	fxch   %st(1)
40d720:	0a c9                	or     %cl,%cl
40d722:	75 ae                	jne    0x40d6d2
40d724:	d9 f1                	fyl2x
40d726:	c3                   	ret
40d727:	e9 91 02 00 00       	jmp    0x40d9bd
40d72c:	e8 cf 00 00 00       	call   0x40d800
40d731:	dd d8                	fstp   %st(0)
40d733:	dd d8                	fstp   %st(0)
40d735:	0a c9                	or     %cl,%cl
40d737:	75 0e                	jne    0x40d747
40d739:	d9 ee                	fldz
40d73b:	83 f8 01             	cmp    $0x1,%eax
40d73e:	75 06                	jne    0x40d746
40d740:	0a ed                	or     %ch,%ch
40d742:	74 02                	je     0x40d746
40d744:	d9 e0                	fchs
40d746:	c3                   	ret
40d747:	c6 85 70 ff ff ff 02 	movb   $0x2,-0x90(%ebp)
40d74e:	db 2d 20 32 41 00    	fldt   0x413220
40d754:	83 f8 01             	cmp    $0x1,%eax
40d757:	75 ed                	jne    0x40d746
40d759:	0a ed                	or     %ch,%ch
40d75b:	74 e9                	je     0x40d746
40d75d:	d9 e0                	fchs
40d75f:	eb e5                	jmp    0x40d746
40d761:	dd d8                	fstp   %st(0)
40d763:	e9 42 02 00 00       	jmp    0x40d9aa
40d768:	dd d8                	fstp   %st(0)
40d76a:	e9 13 03 00 00       	jmp    0x40da82
40d76f:	58                   	pop    %eax
40d770:	d9 e4                	ftst
40d772:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40d779:	9b                   	fwait
40d77a:	f6 85 61 ff ff ff 01 	testb  $0x1,-0x9f(%ebp)
40d781:	75 0f                	jne    0x40d792
40d783:	dd d8                	fstp   %st(0)
40d785:	db 2d 20 32 41 00    	fldt   0x413220
40d78b:	0a ed                	or     %ch,%ch
40d78d:	74 02                	je     0x40d791
40d78f:	d9 e0                	fchs
40d791:	c3                   	ret
40d792:	c6 85 70 ff ff ff 04 	movb   $0x4,-0x90(%ebp)
40d799:	e9 0c 02 00 00       	jmp    0x40d9aa
40d79e:	dd d8                	fstp   %st(0)
40d7a0:	dd d8                	fstp   %st(0)
40d7a2:	db 2d 20 32 41 00    	fldt   0x413220
40d7a8:	c6 85 70 ff ff ff 03 	movb   $0x3,-0x90(%ebp)
40d7af:	c3                   	ret
40d7b0:	0a c9                	or     %cl,%cl
40d7b2:	75 af                	jne    0x40d763
40d7b4:	dd d8                	fstp   %st(0)
40d7b6:	db 2d 20 32 41 00    	fldt   0x413220
40d7bc:	c3                   	ret
40d7bd:	d9 c0                	fld    %st(0)
40d7bf:	d9 e1                	fabs
40d7c1:	db 2d 3e 32 41 00    	fldt   0x41323e
40d7c7:	de d9                	fcompp
40d7c9:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40d7d0:	9b                   	fwait
40d7d1:	f6 85 61 ff ff ff 41 	testb  $0x41,-0x9f(%ebp)
40d7d8:	75 95                	jne    0x40d76f
40d7da:	d9 c0                	fld    %st(0)
40d7dc:	d9 fc                	frndint
40d7de:	d9 e4                	ftst
40d7e0:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40d7e7:	9b                   	fwait
40d7e8:	8a 95 61 ff ff ff    	mov    -0x9f(%ebp),%dl
40d7ee:	d9 c9                	fxch   %st(1)
40d7f0:	d8 e1                	fsub   %st(1),%st
40d7f2:	d9 e4                	ftst
40d7f4:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40d7fb:	d9 e1                	fabs
40d7fd:	d9 f0                	f2xm1
40d7ff:	c3                   	ret
40d800:	d9 c0                	fld    %st(0)
40d802:	d9 fc                	frndint
40d804:	d8 d9                	fcomp  %st(1)
40d806:	9b df e0             	fstsw  %ax
40d809:	9e                   	sahf
40d80a:	75 1a                	jne    0x40d826
40d80c:	d9 c0                	fld    %st(0)
40d80e:	dc 0d 52 32 41 00    	fmull  0x413252
40d814:	d9 c0                	fld    %st(0)
40d816:	d9 fc                	frndint
40d818:	de d9                	fcompp
40d81a:	9b df e0             	fstsw  %ax
40d81d:	9e                   	sahf
40d81e:	74 0d                	je     0x40d82d
40d820:	b8 01 00 00 00       	mov    $0x1,%eax
40d825:	c3                   	ret
40d826:	b8 00 00 00 00       	mov    $0x0,%eax
40d82b:	eb f8                	jmp    0x40d825
40d82d:	b8 02 00 00 00       	mov    $0x2,%eax
40d832:	eb f1                	jmp    0x40d825
40d834:	56                   	push   %esi
40d835:	83 ec 74             	sub    $0x74,%esp
40d838:	8b f4                	mov    %esp,%esi
40d83a:	56                   	push   %esi
40d83b:	83 ec 08             	sub    $0x8,%esp
40d83e:	dd 1c 24             	fstpl  (%esp)
40d841:	83 ec 08             	sub    $0x8,%esp
40d844:	dd 1c 24             	fstpl  (%esp)
40d847:	9b dd 76 08          	fsave  0x8(%esi)
40d84b:	e8 80 07 00 00       	call   0x40dfd0
40d850:	83 c4 14             	add    $0x14,%esp
40d853:	dd 66 08             	frstor 0x8(%esi)
40d856:	dd 06                	fldl   (%esi)
40d858:	83 c4 74             	add    $0x74,%esp
40d85b:	5e                   	pop    %esi
40d85c:	85 c0                	test   %eax,%eax
40d85e:	74 05                	je     0x40d865
40d860:	e9 2e 02 00 00       	jmp    0x40da93
40d865:	c3                   	ret
40d866:	cc                   	int3
40d867:	cc                   	int3
40d868:	cc                   	int3
40d869:	cc                   	int3
40d86a:	cc                   	int3
40d86b:	cc                   	int3
40d86c:	cc                   	int3
40d86d:	cc                   	int3
40d86e:	cc                   	int3
40d86f:	cc                   	int3
40d870:	80 7a 0e 05          	cmpb   $0x5,0xe(%edx)
40d874:	75 11                	jne    0x40d887
40d876:	66 8b 9d 5c ff ff ff 	mov    -0xa4(%ebp),%bx
40d87d:	80 cf 02             	or     $0x2,%bh
40d880:	80 e7 fe             	and    $0xfe,%bh
40d883:	b3 3f                	mov    $0x3f,%bl
40d885:	eb 04                	jmp    0x40d88b
40d887:	66 bb 3f 13          	mov    $0x133f,%bx
40d88b:	66 89 9d 5e ff ff ff 	mov    %bx,-0xa2(%ebp)
40d892:	d9 ad 5e ff ff ff    	fldcw  -0xa2(%ebp)
40d898:	bb ae 32 41 00       	mov    $0x4132ae,%ebx
40d89d:	d9 e5                	fxam
40d89f:	89 95 6c ff ff ff    	mov    %edx,-0x94(%ebp)
40d8a5:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40d8ac:	c6 85 70 ff ff ff 00 	movb   $0x0,-0x90(%ebp)
40d8b3:	9b                   	fwait
40d8b4:	8a 8d 61 ff ff ff    	mov    -0x9f(%ebp),%cl
40d8ba:	d0 e1                	shl    $1,%cl
40d8bc:	d0 f9                	sar    $1,%cl
40d8be:	d0 c1                	rol    $1,%cl