40b8b1:	83 ea 01             	sub    $0x1,%edx
40b8b4:	81 d9 00 00 f0 7f    	sbb    $0x7ff00000,%ecx
40b8ba:	83 f9 00             	cmp    $0x0,%ecx
40b8bd:	0f 8d bf 00 00 00    	jge    0x40b982
40b8c3:	66 0f 57 c9          	xorpd  %xmm1,%xmm1
40b8c7:	66 0f 57 c0          	xorpd  %xmm0,%xmm0
40b8cb:	ba f0 7f 00 00       	mov    $0x7ff0,%edx
40b8d0:	66 0f c4 ca 03       	pinsrw $0x3,%edx,%xmm1
40b8d5:	f2 0f 59 c1          	mulsd  %xmm1,%xmm0
40b8d9:	ba 3a 00 00 00       	mov    $0x3a,%edx
40b8de:	83 ec 1c             	sub    $0x1c,%esp
40b8e1:	66 0f 13 44 24 10    	movlpd %xmm0,0x10(%esp)
40b8e7:	89 54 24 0c          	mov    %edx,0xc(%esp)
40b8eb:	8b d4                	mov    %esp,%edx
40b8ed:	83 c2 10             	add    $0x10,%edx
40b8f0:	89 54 24 08          	mov    %edx,0x8(%esp)
40b8f4:	83 c2 10             	add    $0x10,%edx
40b8f7:	89 54 24 04          	mov    %edx,0x4(%esp)
40b8fb:	89 14 24             	mov    %edx,(%esp)
40b8fe:	e8 5b 88 00 00       	call   0x41415e
40b903:	66 0f 12 44 24 10    	movlpd 0x10(%esp),%xmm0
40b909:	83 c4 1c             	add    $0x1c,%esp
40b90c:	83 ec 10             	sub    $0x10,%esp
40b90f:	66 0f 13 44 24 04    	movlpd %xmm0,0x4(%esp)
40b915:	dd 44 24 04          	fldl   0x4(%esp)
40b919:	83 c4 10             	add    $0x10,%esp
40b91c:	c3                   	ret
40b91d:	66 0f c5 d7 01       	pextrw $0x1,%xmm7,%edx
40b922:	c1 ea 0f             	shr    $0xf,%edx
40b925:	f7 da                	neg    %edx
40b927:	66 0f 6e fa          	movd   %edx,%xmm7
40b92b:	66 0f 70 ff 00       	pshufd $0x0,%xmm7,%xmm7
40b930:	66 0f 12 15 30 c4 41 	movlpd 0x41c430,%xmm2
40b937:	00
40b938:	66 0f 12 05 38 c4 41 	movlpd 0x41c438,%xmm0
40b93f:	00
40b940:	66 0f 54 d7          	andpd  %xmm7,%xmm2
40b944:	66 0f 54 c7          	andpd  %xmm7,%xmm0
40b948:	f2 0f 58 c2          	addsd  %xmm2,%xmm0
40b94c:	83 ec 10             	sub    $0x10,%esp
40b94f:	66 0f 13 44 24 04    	movlpd %xmm0,0x4(%esp)
40b955:	dd 44 24 04          	fldl   0x4(%esp)
40b959:	83 c4 10             	add    $0x10,%esp
40b95c:	c3                   	ret
40b95d:	66 0f 12 15 10 c4 41 	movlpd 0x41c410,%xmm2
40b964:	00
40b965:	66 0f 12 05 18 c4 41 	movlpd 0x41c418,%xmm0
40b96c:	00
40b96d:	f2 0f 58 c2          	addsd  %xmm2,%xmm0
40b971:	83 ec 10             	sub    $0x10,%esp
40b974:	66 0f 13 44 24 04    	movlpd %xmm0,0x4(%esp)
40b97a:	dd 44 24 04          	fldl   0x4(%esp)
40b97e:	83 c4 10             	add    $0x10,%esp
40b981:	c3                   	ret
40b982:	66 0f 57 f6          	xorpd  %xmm6,%xmm6
40b986:	f2 0f 58 c6          	addsd  %xmm6,%xmm0
40b98a:	ba f0 03 00 00       	mov    $0x3f0,%edx
40b98f:	e9 4a ff ff ff       	jmp    0x40b8de
40b994:	cc                   	int3
40b995:	cc                   	int3
40b996:	cc                   	int3
40b997:	cc                   	int3
40b998:	cc                   	int3
40b999:	cc                   	int3
40b99a:	cc                   	int3
40b99b:	cc                   	int3
40b99c:	cc                   	int3
40b99d:	cc                   	int3
40b99e:	cc                   	int3
40b99f:	cc                   	int3
40b9a0:	80 7a 0e 05          	cmpb   $0x5,0xe(%edx)
40b9a4:	75 11                	jne    0x40b9b7
40b9a6:	66 8b 9d 5c ff ff ff 	mov    -0xa4(%ebp),%bx
40b9ad:	80 cf 02             	or     $0x2,%bh
40b9b0:	80 e7 fe             	and    $0xfe,%bh
40b9b3:	b3 3f                	mov    $0x3f,%bl
40b9b5:	eb 04                	jmp    0x40b9bb
40b9b7:	66 bb 3f 13          	mov    $0x133f,%bx
40b9bb:	66 89 9d 5e ff ff ff 	mov    %bx,-0xa2(%ebp)
40b9c2:	d9 ad 5e ff ff ff    	fldcw  -0xa2(%ebp)
40b9c8:	bb 5c b6 42 00       	mov    $0x42b65c,%ebx
40b9cd:	d9 e5                	fxam
40b9cf:	89 95 6c ff ff ff    	mov    %edx,-0x94(%ebp)
40b9d5:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40b9dc:	c6 85 70 ff ff ff 00 	movb   $0x0,-0x90(%ebp)
40b9e3:	9b                   	fwait
40b9e4:	8a 8d 61 ff ff ff    	mov    -0x9f(%ebp),%cl
40b9ea:	d0 e1                	shl    $1,%cl
40b9ec:	d0 f9                	sar    $1,%cl
40b9ee:	d0 c1                	rol    $1,%cl
40b9f0:	8a c1                	mov    %cl,%al
40b9f2:	24 0f                	and    $0xf,%al
40b9f4:	d7                   	xlat   %ds:(%ebx)
40b9f5:	0f be c0             	movsbl %al,%eax
40b9f8:	81 e1 04 04 00 00    	and    $0x404,%ecx
40b9fe:	8b da                	mov    %edx,%ebx
40ba00:	03 d8                	add    %eax,%ebx
40ba02:	83 c3 10             	add    $0x10,%ebx
40ba05:	ff 23                	jmp    *(%ebx)
40ba07:	80 7a 0e 05          	cmpb   $0x5,0xe(%edx)
40ba0b:	75 11                	jne    0x40ba1e
40ba0d:	66 8b 9d 5c ff ff ff 	mov    -0xa4(%ebp),%bx
40ba14:	80 cf 02             	or     $0x2,%bh
40ba17:	80 e7 fe             	and    $0xfe,%bh
40ba1a:	b3 3f                	mov    $0x3f,%bl
40ba1c:	eb 04                	jmp    0x40ba22
40ba1e:	66 bb 3f 13          	mov    $0x133f,%bx
40ba22:	66 89 9d 5e ff ff ff 	mov    %bx,-0xa2(%ebp)
40ba29:	d9 ad 5e ff ff ff    	fldcw  -0xa2(%ebp)
40ba2f:	bb 5c b6 42 00       	mov    $0x42b65c,%ebx
40ba34:	d9 e5                	fxam
40ba36:	89 95 6c ff ff ff    	mov    %edx,-0x94(%ebp)
40ba3c:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40ba43:	c6 85 70 ff ff ff 00 	movb   $0x0,-0x90(%ebp)
40ba4a:	d9 c9                	fxch   %st(1)
40ba4c:	8a 8d 61 ff ff ff    	mov    -0x9f(%ebp),%cl
40ba52:	d9 e5                	fxam
40ba54:	9b dd bd 60 ff ff ff 	fstsw  -0xa0(%ebp)
40ba5b:	d9 c9                	fxch   %st(1)
40ba5d:	8a ad 61 ff ff ff    	mov    -0x9f(%ebp),%ch
40ba63:	d0 e5                	shl    $1,%ch
40ba65:	d0 fd                	sar    $1,%ch
40ba67:	d0 c5                	rol    $1,%ch
40ba69:	8a c5                	mov    %ch,%al
40ba6b:	24 0f                	and    $0xf,%al
40ba6d:	d7                   	xlat   %ds:(%ebx)
40ba6e:	8a e0                	mov    %al,%ah
40ba70:	d0 e1                	shl    $1,%cl
40ba72:	d0 f9                	sar    $1,%cl
40ba74:	d0 c1                	rol    $1,%cl
40ba76:	8a c1                	mov    %cl,%al
40ba78:	24 0f                	and    $0xf,%al
40ba7a:	d7                   	xlat   %ds:(%ebx)
40ba7b:	d0 e4                	shl    $1,%ah
40ba7d:	d0 e4                	shl    $1,%ah
40ba7f:	0a c4                	or     %ah,%al
40ba81:	0f be c0             	movsbl %al,%eax
40ba84:	81 e1 04 04 00 00    	and    $0x404,%ecx
40ba8a:	8b da                	mov    %edx,%ebx
40ba8c:	03 d8                	add    %eax,%ebx
40ba8e:	83 c3 10             	add    $0x10,%ebx
40ba91:	ff 23                	jmp    *(%ebx)
40ba93:	e8 c1 00 00 00       	call   0x40bb59
40ba98:	d9 c9                	fxch   %st(1)
40ba9a:	dd d8                	fstp   %st(0)
40ba9c:	c3                   	ret
40ba9d:	e8 b7 00 00 00       	call   0x40bb59
40baa2:	eb f6                	jmp    0x40ba9a
40baa4:	dd d8                	fstp   %st(0)
40baa6:	dd d8                	fstp   %st(0)
40baa8:	d9 ee                	fldz
40baaa:	c3                   	ret
40baab:	dd d8                	fstp   %st(0)
40baad:	dd d8                	fstp   %st(0)
40baaf:	d9 e8                	fld1
40bab1:	c3                   	ret
40bab2:	db bd 62 ff ff ff    	fstpt  -0x9e(%ebp)
40bab8:	db ad 62 ff ff ff    	fldt   -0x9e(%ebp)
40babe:	f6 85 69 ff ff ff 40 	testb  $0x40,-0x97(%ebp)
40bac5:	74 08                	je     0x40bacf
40bac7:	c6 85 70 ff ff ff 07 	movb   $0x7,-0x90(%ebp)
40bace:	c3                   	ret
40bacf:	c6 85 70 ff ff ff 01 	movb   $0x1,-0x90(%ebp)
40bad6:	dc 05 54 b6 42 00    	faddl  0x42b654
40badc:	c3                   	ret
40badd:	d9 c9                	fxch   %st(1)
40badf:	db bd 62 ff ff ff    	fstpt  -0x9e(%ebp)
40bae5:	db ad 62 ff ff ff    	fldt   -0x9e(%ebp)
40baeb:	f6 85 69 ff ff ff 40 	testb  $0x40,-0x97(%ebp)
40baf2:	74 09                	je     0x40bafd
40baf4:	c6 85 70 ff ff ff 07 	movb   $0x7,-0x90(%ebp)
40bafb:	eb 07                	jmp    0x40bb04
40bafd:	c6 85 70 ff ff ff 01 	movb   $0x1,-0x90(%ebp)
40bb04:	de c1                	faddp  %st,%st(1)
40bb06:	c3                   	ret
40bb07:	db bd 62 ff ff ff    	fstpt  -0x9e(%ebp)
40bb0d:	db ad 62 ff ff ff    	fldt   -0x9e(%ebp)
40bb13:	f6 85 69 ff ff ff 40 	testb  $0x40,-0x97(%ebp)
40bb1a:	74 20                	je     0x40bb3c
40bb1c:	d9 c9                	fxch   %st(1)
40bb1e:	db bd 62 ff ff ff    	fstpt  -0x9e(%ebp)
40bb24:	db ad 62 ff ff ff    	fldt   -0x9e(%ebp)
40bb2a:	f6 85 69 ff ff ff 40 	testb  $0x40,-0x97(%ebp)
40bb31:	74 09                	je     0x40bb3c
40bb33:	c6 85 70 ff ff ff 07 	movb   $0x7,-0x90(%ebp)
40bb3a:	eb 07                	jmp    0x40bb43
40bb3c:	c6 85 70 ff ff ff 01 	movb   $0x1,-0x90(%ebp)
40bb43:	de c1                	faddp  %st,%st(1)
40bb45:	c3                   	ret
40bb46:	dd d8                	fstp   %st(0)
40bb48:	dd d8                	fstp   %st(0)
40bb4a:	db 2d 40 b6 42 00    	fldt   0x42b640
40bb50:	80 bd 70 ff ff ff 00 	cmpb   $0x0,-0x90(%ebp)
40bb57:	7f 07                	jg     0x40bb60
40bb59:	c6 85 70 ff ff ff 01 	movb   $0x1,-0x90(%ebp)
40bb60:	0a c9                	or     %cl,%cl
40bb62:	c3                   	ret
40bb63:	0a c9                	or     %cl,%cl
40bb65:	74 02                	je     0x40bb69
40bb67:	d9 e0                	fchs
40bb69:	c3                   	ret
40bb6a:	c3                   	ret
40bb6b:	b8 c6 4e 41 00       	mov    $0x414ec6,%eax
40bb70:	a3 e0 be 42 00       	mov    %eax,0x42bee0
40bb75:	c7 05 e4 be 42 00 ad 	movl   $0x4145ad,0x42bee4
40bb7c:	45 41 00
40bb7f:	c7 05 e8 be 42 00 61 	movl   $0x414561,0x42bee8
40bb86:	45 41 00
40bb89:	c7 05 ec be 42 00 9a 	movl   $0x41459a,0x42beec
40bb90:	45 41 00
40bb93:	c7 05 f0 be 42 00 03 	movl   $0x414503,0x42bef0
40bb9a:	45 41 00
40bb9d:	a3 f4 be 42 00       	mov    %eax,0x42bef4
40bba2:	c7 05 f8 be 42 00 3e 	movl   $0x414e3e,0x42bef8
40bba9:	4e 41 00
40bbac:	c7 05 fc be 42 00 1f 	movl   $0x41451f,0x42befc
40bbb3:	45 41 00
40bbb6:	c7 05 00 bf 42 00 81 	movl   $0x414481,0x42bf00
40bbbd:	44 41 00
40bbc0:	c7 05 04 bf 42 00 0e 	movl   $0x41440e,0x42bf04
40bbc7:	44 41 00
40bbca:	c3                   	ret
40bbcb:	8b ff                	mov    %edi,%edi
40bbcd:	55                   	push   %ebp
40bbce:	8b ec                	mov    %esp,%ebp
40bbd0:	e8 96 ff ff ff       	call   0x40bb6b
40bbd5:	e8 78 93 00 00       	call   0x414f52
40bbda:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40bbde:	a3 7c 09 43 00       	mov    %eax,0x43097c
40bbe3:	74 05                	je     0x40bbea
40bbe5:	e8 ff 92 00 00       	call   0x414ee9
40bbea:	db e2                	fnclex
40bbec:	5d                   	pop    %ebp
40bbed:	c3                   	ret
40bbee:	cc                   	int3
40bbef:	cc                   	int3
40bbf0:	55                   	push   %ebp
40bbf1:	8b ec                	mov    %esp,%ebp
40bbf3:	83 c4 e0             	add    $0xffffffe0,%esp
40bbf6:	89 45 e0             	mov    %eax,-0x20(%ebp)
40bbf9:	8b 45 18             	mov    0x18(%ebp),%eax
40bbfc:	89 45 f0             	mov    %eax,-0x10(%ebp)
40bbff:	8b 45 1c             	mov    0x1c(%ebp),%eax
40bc02:	89 45 f4             	mov    %eax,-0xc(%ebp)
40bc05:	eb 09                	jmp    0x40bc10
40bc07:	55                   	push   %ebp
40bc08:	8b ec                	mov    %esp,%ebp
40bc0a:	83 c4 e0             	add    $0xffffffe0,%esp
40bc0d:	89 45 e0             	mov    %eax,-0x20(%ebp)
40bc10:	dd 5d f8             	fstpl  -0x8(%ebp)
40bc13:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
40bc16:	8b 45 10             	mov    0x10(%ebp),%eax
40bc19:	8b 4d 14             	mov    0x14(%ebp),%ecx
40bc1c:	89 45 e8             	mov    %eax,-0x18(%ebp)
40bc1f:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40bc22:	8d 45 08             	lea    0x8(%ebp),%eax
40bc25:	8d 4d e0             	lea    -0x20(%ebp),%ecx
40bc28:	50                   	push   %eax
40bc29:	51                   	push   %ecx
40bc2a:	52                   	push   %edx
40bc2b:	e8 4b 93 00 00       	call   0x414f7b
40bc30:	83 c4 0c             	add    $0xc,%esp
40bc33:	dd 45 f8             	fldl   -0x8(%ebp)
40bc36:	66 81 7d 08 7f 02    	cmpw   $0x27f,0x8(%ebp)
40bc3c:	74 03                	je     0x40bc41
40bc3e:	d9 6d 08             	fldcw  0x8(%ebp)
40bc41:	c9                   	leave
40bc42:	c3                   	ret
40bc43:	cc                   	int3
40bc44:	cc                   	int3
40bc45:	cc                   	int3
40bc46:	cc                   	int3
40bc47:	cc                   	int3
40bc48:	cc                   	int3
40bc49:	cc                   	int3
40bc4a:	cc                   	int3
40bc4b:	cc                   	int3
40bc4c:	cc                   	int3
40bc4d:	cc                   	int3
40bc4e:	cc                   	int3
40bc4f:	cc                   	int3
40bc50:	d9 c0                	fld    %st(0)
40bc52:	d9 fc                	frndint
40bc54:	dc e1                	fsub   %st,%st(1)
40bc56:	d9 c9                	fxch   %st(1)
40bc58:	d9 e0                	fchs
40bc5a:	d9 f0                	f2xm1
40bc5c:	d9 e8                	fld1
40bc5e:	de c1                	faddp  %st,%st(1)
40bc60:	d9 fd                	fscale
40bc62:	dd d9                	fstp   %st(1)
40bc64:	c3                   	ret
40bc65:	8b 54 24 04          	mov    0x4(%esp),%edx
40bc69:	81 e2 00 03 00 00    	and    $0x300,%edx
40bc6f:	83 ca 7f             	or     $0x7f,%edx
40bc72:	66 89 54 24 06       	mov    %dx,0x6(%esp)
40bc77:	d9 6c 24 06          	fldcw  0x6(%esp)
40bc7b:	c3                   	ret
40bc7c:	a9 00 00 08 00       	test   $0x80000,%eax
40bc81:	74 06                	je     0x40bc89
40bc83:	b8 07 00 00 00       	mov    $0x7,%eax
40bc88:	c3                   	ret
40bc89:	dc 05 30 c5 41 00    	faddl  0x41c530
40bc8f:	b8 01 00 00 00       	mov    $0x1,%eax
40bc94:	c3                   	ret
40bc95:	8b 42 04             	mov    0x4(%edx),%eax
40bc98:	25 00 00 f0 7f       	and    $0x7ff00000,%eax
40bc9d:	3d 00 00 f0 7f       	cmp    $0x7ff00000,%eax
40bca2:	74 03                	je     0x40bca7
40bca4:	dd 02                	fldl   (%edx)
40bca6:	c3                   	ret
40bca7:	8b 42 04             	mov    0x4(%edx),%eax
40bcaa:	83 ec 0a             	sub    $0xa,%esp
40bcad:	0d 00 00 ff 7f       	or     $0x7fff0000,%eax
40bcb2:	89 44 24 06          	mov    %eax,0x6(%esp)
40bcb6:	8b 42 04             	mov    0x4(%edx),%eax
40bcb9:	8b 0a                	mov    (%edx),%ecx
40bcbb:	0f a4 c8 0b          	shld   $0xb,%ecx,%eax
40bcbf:	c1 e1 0b             	shl    $0xb,%ecx
40bcc2:	89 44 24 04          	mov    %eax,0x4(%esp)
40bcc6:	89 0c 24             	mov    %ecx,(%esp)
40bcc9:	db 2c 24             	fldt   (%esp)
40bccc:	83 c4 0a             	add    $0xa,%esp
40bccf:	a9 00 00 00 00       	test   $0x0,%eax
40bcd4:	8b 42 04             	mov    0x4(%edx),%eax
40bcd7:	c3                   	ret
40bcd8:	8b 44 24 08          	mov    0x8(%esp),%eax
40bcdc:	25 00 00 f0 7f       	and    $0x7ff00000,%eax
40bce1:	3d 00 00 f0 7f       	cmp    $0x7ff00000,%eax
40bce6:	74 01                	je     0x40bce9
40bce8:	c3                   	ret
40bce9:	8b 44 24 08          	mov    0x8(%esp),%eax
40bced:	c3                   	ret
40bcee:	66 81 3c 24 7f 02    	cmpw   $0x27f,(%esp)
40bcf4:	74 03                	je     0x40bcf9
40bcf6:	d9 2c 24             	fldcw  (%esp)
40bcf9:	5a                   	pop    %edx
40bcfa:	c3                   	ret
40bcfb:	66 8b 04 24          	mov    (%esp),%ax
40bcff:	66 3d 7f 02          	cmp    $0x27f,%ax
40bd03:	74 1e                	je     0x40bd23
40bd05:	66 83 e0 20          	and    $0x20,%ax
40bd09:	74 15                	je     0x40bd20
40bd0b:	9b df e0             	fstsw  %ax
40bd0e:	66 83 e0 20          	and    $0x20,%ax
40bd12:	74 0c                	je     0x40bd20
40bd14:	b8 08 00 00 00       	mov    $0x8,%eax
40bd19:	e8 e9 fe ff ff       	call   0x40bc07
40bd1e:	5a                   	pop    %edx
40bd1f:	c3                   	ret