417637:	83 c4 0c             	add    $0xc,%esp
41763a:	85 c0                	test   %eax,%eax
41763c:	75 26                	jne    0x417664
41763e:	83 65 c0 fe          	andl   $0xfffffffe,-0x40(%ebp)
417642:	50                   	push   %eax
417643:	8d 43 18             	lea    0x18(%ebx),%eax
417646:	50                   	push   %eax
417647:	8d 43 10             	lea    0x10(%ebx),%eax
41764a:	50                   	push   %eax
41764b:	ff 73 0c             	push   0xc(%ebx)
41764e:	8d 43 20             	lea    0x20(%ebx),%eax
417651:	ff 73 08             	push   0x8(%ebx)
417654:	50                   	push   %eax
417655:	8d 45 80             	lea    -0x80(%ebp),%eax
417658:	50                   	push   %eax
417659:	e8 71 02 00 00       	call   0x4178cf
41765e:	8b 73 20             	mov    0x20(%ebx),%esi
417661:	83 c4 1c             	add    $0x1c,%esp
417664:	ff 73 08             	push   0x8(%ebx)
417667:	e8 5e ff ff ff       	call   0x4175ca
41766c:	59                   	pop    %ecx
41766d:	8b f8                	mov    %eax,%edi
41766f:	e8 7b 1c ff ff       	call   0x4092ef
417674:	84 c0                	test   %al,%al
417676:	74 29                	je     0x4176a1
417678:	85 ff                	test   %edi,%edi
41767a:	74 25                	je     0x4176a1
41767c:	dd 43 18             	fldl   0x18(%ebx)
41767f:	56                   	push   %esi
417680:	83 ec 18             	sub    $0x18,%esp
417683:	dd 5c 24 10          	fstpl  0x10(%esp)
417687:	d9 ee                	fldz
417689:	dd 5c 24 08          	fstpl  0x8(%esp)
41768d:	dd 43 10             	fldl   0x10(%ebx)
417690:	dd 1c 24             	fstpl  (%esp)
417693:	ff 73 0c             	push   0xc(%ebx)
417696:	57                   	push   %edi
417697:	e8 53 05 00 00       	call   0x417bef
41769c:	83 c4 24             	add    $0x24,%esp
41769f:	eb 18                	jmp    0x4176b9
4176a1:	57                   	push   %edi
4176a2:	e8 19 05 00 00       	call   0x417bc0
4176a7:	c7 04 24 ff ff 00 00 	movl   $0xffff,(%esp)
4176ae:	56                   	push   %esi
4176af:	e8 14 e3 ff ff       	call   0x4159c8
4176b4:	dd 43 18             	fldl   0x18(%ebx)
4176b7:	59                   	pop    %ecx
4176b8:	59                   	pop    %ecx
4176b9:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4176bc:	5f                   	pop    %edi
4176bd:	33 cd                	xor    %ebp,%ecx
4176bf:	5e                   	pop    %esi
4176c0:	e8 91 b8 fe ff       	call   0x402f56
4176c5:	8b e5                	mov    %ebp,%esp
4176c7:	5d                   	pop    %ebp
4176c8:	8b e3                	mov    %ebx,%esp
4176ca:	5b                   	pop    %ebx
4176cb:	c3                   	ret
4176cc:	8b ff                	mov    %edi,%edi
4176ce:	55                   	push   %ebp
4176cf:	8b ec                	mov    %esp,%ebp
4176d1:	83 ec 10             	sub    $0x10,%esp
4176d4:	53                   	push   %ebx
4176d5:	8b 5d 08             	mov    0x8(%ebp),%ebx
4176d8:	56                   	push   %esi
4176d9:	8b f3                	mov    %ebx,%esi
4176db:	83 e6 1f             	and    $0x1f,%esi
4176de:	f6 c3 08             	test   $0x8,%bl
4176e1:	74 16                	je     0x4176f9
4176e3:	f6 45 10 01          	testb  $0x1,0x10(%ebp)
4176e7:	74 10                	je     0x4176f9
4176e9:	6a 01                	push   $0x1
4176eb:	e8 04 e3 ff ff       	call   0x4159f4
4176f0:	59                   	pop    %ecx
4176f1:	83 e6 f7             	and    $0xfffffff7,%esi
4176f4:	e9 90 01 00 00       	jmp    0x417889
4176f9:	8b c3                	mov    %ebx,%eax
4176fb:	23 45 10             	and    0x10(%ebp),%eax
4176fe:	a8 04                	test   $0x4,%al
417700:	74 10                	je     0x417712
417702:	6a 04                	push   $0x4
417704:	e8 eb e2 ff ff       	call   0x4159f4
417709:	59                   	pop    %ecx
41770a:	83 e6 fb             	and    $0xfffffffb,%esi
41770d:	e9 77 01 00 00       	jmp    0x417889
417712:	f6 c3 01             	test   $0x1,%bl
417715:	0f 84 9a 00 00 00    	je     0x4177b5
41771b:	f6 45 10 08          	testb  $0x8,0x10(%ebp)
41771f:	0f 84 90 00 00 00    	je     0x4177b5
417725:	6a 08                	push   $0x8
417727:	e8 c8 e2 ff ff       	call   0x4159f4
41772c:	8b 45 10             	mov    0x10(%ebp),%eax
41772f:	59                   	pop    %ecx
417730:	b9 00 0c 00 00       	mov    $0xc00,%ecx
417735:	23 c1                	and    %ecx,%eax
417737:	74 54                	je     0x41778d
417739:	3d 00 04 00 00       	cmp    $0x400,%eax
41773e:	74 37                	je     0x417777
417740:	3d 00 08 00 00       	cmp    $0x800,%eax
417745:	74 1a                	je     0x417761
417747:	3b c1                	cmp    %ecx,%eax
417749:	75 62                	jne    0x4177ad
41774b:	8b 4d 0c             	mov    0xc(%ebp),%ecx
41774e:	d9 ee                	fldz
417750:	dc 19                	fcompl (%ecx)
417752:	df e0                	fnstsw %ax
417754:	dd 05 18 0a 42 00    	fldl   0x420a18
41775a:	f6 c4 05             	test   $0x5,%ah
41775d:	7b 4c                	jnp    0x4177ab
41775f:	eb 48                	jmp    0x4177a9
417761:	8b 4d 0c             	mov    0xc(%ebp),%ecx
417764:	d9 ee                	fldz
417766:	dc 19                	fcompl (%ecx)
417768:	df e0                	fnstsw %ax
41776a:	f6 c4 05             	test   $0x5,%ah
41776d:	7b 2c                	jnp    0x41779b
41776f:	dd 05 18 0a 42 00    	fldl   0x420a18
417775:	eb 32                	jmp    0x4177a9
417777:	8b 4d 0c             	mov    0xc(%ebp),%ecx
41777a:	d9 ee                	fldz
41777c:	dc 19                	fcompl (%ecx)
41777e:	df e0                	fnstsw %ax
417780:	f6 c4 05             	test   $0x5,%ah
417783:	7a 1e                	jp     0x4177a3
417785:	dd 05 18 0a 42 00    	fldl   0x420a18
41778b:	eb 1e                	jmp    0x4177ab
41778d:	8b 4d 0c             	mov    0xc(%ebp),%ecx
417790:	d9 ee                	fldz
417792:	dc 19                	fcompl (%ecx)
417794:	df e0                	fnstsw %ax
417796:	f6 c4 05             	test   $0x5,%ah
417799:	7a 08                	jp     0x4177a3
41779b:	dd 05 10 0a 42 00    	fldl   0x420a10
4177a1:	eb 08                	jmp    0x4177ab
4177a3:	dd 05 10 0a 42 00    	fldl   0x420a10
4177a9:	d9 e0                	fchs
4177ab:	dd 19                	fstpl  (%ecx)
4177ad:	83 e6 fe             	and    $0xfffffffe,%esi
4177b0:	e9 d4 00 00 00       	jmp    0x417889
4177b5:	f6 c3 02             	test   $0x2,%bl
4177b8:	0f 84 cb 00 00 00    	je     0x417889
4177be:	f6 45 10 10          	testb  $0x10,0x10(%ebp)
4177c2:	0f 84 c1 00 00 00    	je     0x417889
4177c8:	57                   	push   %edi
4177c9:	33 ff                	xor    %edi,%edi
4177cb:	f6 c3 10             	test   $0x10,%bl
4177ce:	74 01                	je     0x4177d1
4177d0:	47                   	inc    %edi
4177d1:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4177d4:	dd 01                	fldl   (%ecx)
4177d6:	d9 ee                	fldz
4177d8:	da e9                	fucompp
4177da:	df e0                	fnstsw %ax
4177dc:	f6 c4 44             	test   $0x44,%ah
4177df:	0f 8b 91 00 00 00    	jnp    0x417876
4177e5:	dd 01                	fldl   (%ecx)
4177e7:	8d 45 fc             	lea    -0x4(%ebp),%eax
4177ea:	50                   	push   %eax
4177eb:	51                   	push   %ecx
4177ec:	51                   	push   %ecx
4177ed:	dd 1c 24             	fstpl  (%esp)
4177f0:	e8 9c 04 00 00       	call   0x417c91
4177f5:	8b 45 fc             	mov    -0x4(%ebp),%eax
4177f8:	83 c4 0c             	add    $0xc,%esp
4177fb:	05 00 fa ff ff       	add    $0xfffffa00,%eax
417800:	89 45 fc             	mov    %eax,-0x4(%ebp)
417803:	dd 55 f0             	fstl   -0x10(%ebp)
417806:	d9 ee                	fldz
417808:	3d ce fb ff ff       	cmp    $0xfffffbce,%eax
41780d:	7d 07                	jge    0x417816
41780f:	33 ff                	xor    %edi,%edi
417811:	de c9                	fmulp  %st,%st(1)
417813:	47                   	inc    %edi
417814:	eb 59                	jmp    0x41786f
417816:	de d9                	fcompp
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)