46dce2:	f6 45 10 10          	testb  $0x10,0x10(%ebp)
46dce6:	0f 84 c1 00 00 00    	je     0x46ddad
46dcec:	57                   	push   %edi
46dced:	33 ff                	xor    %edi,%edi
46dcef:	f6 c3 10             	test   $0x10,%bl
46dcf2:	74 01                	je     0x46dcf5
46dcf4:	47                   	inc    %edi
46dcf5:	8b 4d 0c             	mov    0xc(%ebp),%ecx
46dcf8:	dd 01                	fldl   (%ecx)
46dcfa:	d9 ee                	fldz
46dcfc:	da e9                	fucompp
46dcfe:	df e0                	fnstsw %ax
46dd00:	f6 c4 44             	test   $0x44,%ah
46dd03:	0f 8b 91 00 00 00    	jnp    0x46dd9a
46dd09:	dd 01                	fldl   (%ecx)
46dd0b:	8d 45 fc             	lea    -0x4(%ebp),%eax
46dd0e:	50                   	push   %eax
46dd0f:	51                   	push   %ecx
46dd10:	51                   	push   %ecx
46dd11:	dd 1c 24             	fstpl  (%esp)
46dd14:	e8 7f 64 00 00       	call   0x474198
46dd19:	8b 45 fc             	mov    -0x4(%ebp),%eax
46dd1c:	83 c4 0c             	add    $0xc,%esp
46dd1f:	05 00 fa ff ff       	add    $0xfffffa00,%eax
46dd24:	89 45 fc             	mov    %eax,-0x4(%ebp)
46dd27:	dd 55 f0             	fstl   -0x10(%ebp)
46dd2a:	d9 ee                	fldz
46dd2c:	3d ce fb ff ff       	cmp    $0xfffffbce,%eax
46dd31:	7d 07                	jge    0x46dd3a
46dd33:	33 ff                	xor    %edi,%edi
46dd35:	de c9                	fmulp  %st,%st(1)
46dd37:	47                   	inc    %edi
46dd38:	eb 59                	jmp    0x46dd93
46dd3a:	de d9                	fcompp
46dd3c:	33 d2                	xor    %edx,%edx
46dd3e:	df e0                	fnstsw %ax
46dd40:	f6 c4 41             	test   $0x41,%ah
46dd43:	75 01                	jne    0x46dd46
46dd45:	42                   	inc    %edx
46dd46:	8b 45 f6             	mov    -0xa(%ebp),%eax
46dd49:	b9 03 fc ff ff       	mov    $0xfffffc03,%ecx
46dd4e:	83 e0 0f             	and    $0xf,%eax
46dd51:	83 c8 10             	or     $0x10,%eax
46dd54:	66 89 45 f6          	mov    %ax,-0xa(%ebp)
46dd58:	8b 45 fc             	mov    -0x4(%ebp),%eax
46dd5b:	3b c1                	cmp    %ecx,%eax
46dd5d:	7d 2b                	jge    0x46dd8a
46dd5f:	2b c8                	sub    %eax,%ecx
46dd61:	8b 45 f0             	mov    -0x10(%ebp),%eax
46dd64:	f6 45 f0 01          	testb  $0x1,-0x10(%ebp)
46dd68:	74 05                	je     0x46dd6f
46dd6a:	85 ff                	test   %edi,%edi
46dd6c:	75 01                	jne    0x46dd6f
46dd6e:	47                   	inc    %edi
46dd6f:	d1 e8                	shr    $1,%eax
46dd71:	f6 45 f4 01          	testb  $0x1,-0xc(%ebp)
46dd75:	89 45 f0             	mov    %eax,-0x10(%ebp)
46dd78:	74 08                	je     0x46dd82
46dd7a:	0d 00 00 00 80       	or     $0x80000000,%eax
46dd7f:	89 45 f0             	mov    %eax,-0x10(%ebp)
46dd82:	d1 6d f4             	shrl   $1,-0xc(%ebp)
46dd85:	83 e9 01             	sub    $0x1,%ecx
46dd88:	75 da                	jne    0x46dd64
46dd8a:	dd 45 f0             	fldl   -0x10(%ebp)
46dd8d:	85 d2                	test   %edx,%edx
46dd8f:	74 02                	je     0x46dd93
46dd91:	d9 e0                	fchs
46dd93:	8b 45 0c             	mov    0xc(%ebp),%eax
46dd96:	dd 18                	fstpl  (%eax)
46dd98:	eb 03                	jmp    0x46dd9d
46dd9a:	33 ff                	xor    %edi,%edi
46dd9c:	47                   	inc    %edi
46dd9d:	85 ff                	test   %edi,%edi
46dd9f:	5f                   	pop    %edi
46dda0:	74 08                	je     0x46ddaa
46dda2:	6a 10                	push   $0x10
46dda4:	e8 10 67 00 00       	call   0x4744b9
46dda9:	59                   	pop    %ecx
46ddaa:	83 e6 fd             	and    $0xfffffffd,%esi
46ddad:	f6 c3 10             	test   $0x10,%bl
46ddb0:	74 11                	je     0x46ddc3
46ddb2:	f6 45 10 20          	testb  $0x20,0x10(%ebp)
46ddb6:	74 0b                	je     0x46ddc3
46ddb8:	6a 20                	push   $0x20
46ddba:	e8 fa 66 00 00       	call   0x4744b9
46ddbf:	59                   	pop    %ecx
46ddc0:	83 e6 ef             	and    $0xffffffef,%esi
46ddc3:	33 c0                	xor    %eax,%eax
46ddc5:	85 f6                	test   %esi,%esi
46ddc7:	5e                   	pop    %esi
46ddc8:	0f 94 c0             	sete   %al
46ddcb:	5b                   	pop    %ebx
46ddcc:	8b e5                	mov    %ebp,%esp
46ddce:	5d                   	pop    %ebp
46ddcf:	c3                   	ret
46ddd0:	8b ff                	mov    %edi,%edi
46ddd2:	55                   	push   %ebp
46ddd3:	8b ec                	mov    %esp,%ebp
46ddd5:	dd 45 08             	fldl   0x8(%ebp)
46ddd8:	dc 45 10             	faddl  0x10(%ebp)
46dddb:	5d                   	pop    %ebp
46dddc:	c3                   	ret
46dddd:	8b ff                	mov    %edi,%edi
46dddf:	55                   	push   %ebp
46dde0:	8b ec                	mov    %esp,%ebp
46dde2:	6a 00                	push   $0x0
46dde4:	ff 75 1c             	push   0x1c(%ebp)
46dde7:	ff 75 18             	push   0x18(%ebp)
46ddea:	ff 75 14             	push   0x14(%ebp)
46dded:	ff 75 10             	push   0x10(%ebp)
46ddf0:	ff 75 0c             	push   0xc(%ebp)
46ddf3:	ff 75 08             	push   0x8(%ebp)
46ddf6:	e8 05 00 00 00       	call   0x46de00
46ddfb:	83 c4 1c             	add    $0x1c,%esp
46ddfe:	5d                   	pop    %ebp
46ddff:	c3                   	ret
46de00:	8b ff                	mov    %edi,%edi
46de02:	55                   	push   %ebp
46de03:	8b ec                	mov    %esp,%ebp
46de05:	8b 45 08             	mov    0x8(%ebp),%eax
46de08:	33 c9                	xor    %ecx,%ecx
46de0a:	53                   	push   %ebx
46de0b:	33 db                	xor    %ebx,%ebx
46de0d:	43                   	inc    %ebx
46de0e:	89 48 04             	mov    %ecx,0x4(%eax)
46de11:	8b 45 08             	mov    0x8(%ebp),%eax
46de14:	57                   	push   %edi
46de15:	bf 0d 00 00 c0       	mov    $0xc000000d,%edi
46de1a:	89 48 08             	mov    %ecx,0x8(%eax)
46de1d:	8b 45 08             	mov    0x8(%ebp),%eax
46de20:	89 48 0c             	mov    %ecx,0xc(%eax)
46de23:	8b 4d 10             	mov    0x10(%ebp),%ecx
46de26:	f6 c1 10             	test   $0x10,%cl
46de29:	74 0b                	je     0x46de36
46de2b:	8b 45 08             	mov    0x8(%ebp),%eax
46de2e:	bf 8f 00 00 c0       	mov    $0xc000008f,%edi
46de33:	09 58 04             	or     %ebx,0x4(%eax)
46de36:	f6 c1 02             	test   $0x2,%cl
46de39:	74 0c                	je     0x46de47
46de3b:	8b 45 08             	mov    0x8(%ebp),%eax
46de3e:	bf 93 00 00 c0       	mov    $0xc0000093,%edi
46de43:	83 48 04 02          	orl    $0x2,0x4(%eax)
46de47:	f6 c1 01             	test   $0x1,%cl
46de4a:	74 0c                	je     0x46de58
46de4c:	8b 45 08             	mov    0x8(%ebp),%eax
46de4f:	bf 91 00 00 c0       	mov    $0xc0000091,%edi
46de54:	83 48 04 04          	orl    $0x4,0x4(%eax)
46de58:	f6 c1 04             	test   $0x4,%cl
46de5b:	74 0c                	je     0x46de69
46de5d:	8b 45 08             	mov    0x8(%ebp),%eax
46de60:	bf 8e 00 00 c0       	mov    $0xc000008e,%edi
46de65:	83 48 04 08          	orl    $0x8,0x4(%eax)
46de69:	f6 c1 08             	test   $0x8,%cl
46de6c:	74 0c                	je     0x46de7a
46de6e:	8b 45 08             	mov    0x8(%ebp),%eax
46de71:	bf 90 00 00 c0       	mov    $0xc0000090,%edi
46de76:	83 48 04 10          	orl    $0x10,0x4(%eax)
46de7a:	8b 4d 08             	mov    0x8(%ebp),%ecx
46de7d:	56                   	push   %esi
46de7e:	8b 75 0c             	mov    0xc(%ebp),%esi
46de81:	8b 06                	mov    (%esi),%eax
46de83:	c1 e0 04             	shl    $0x4,%eax
46de86:	f7 d0                	not    %eax
46de88:	33 41 08             	xor    0x8(%ecx),%eax
46de8b:	83 e0 10             	and    $0x10,%eax
46de8e:	31 41 08             	xor    %eax,0x8(%ecx)
46de91:	8b 4d 08             	mov    0x8(%ebp),%ecx
46de94:	8b 06                	mov    (%esi),%eax
46de96:	03 c0                	add    %eax,%eax
46de98:	f7 d0                	not    %eax
46de9a:	33 41 08             	xor    0x8(%ecx),%eax
46de9d:	83 e0 08             	and    $0x8,%eax
46dea0:	31 41 08             	xor    %eax,0x8(%ecx)
46dea3:	8b 4d 08             	mov    0x8(%ebp),%ecx
46dea6:	8b 06                	mov    (%esi),%eax
46dea8:	d1 e8                	shr    $1,%eax
46deaa:	f7 d0                	not    %eax
46deac:	33 41 08             	xor    0x8(%ecx),%eax
46deaf:	83 e0 04             	and    $0x4,%eax
46deb2:	31 41 08             	xor    %eax,0x8(%ecx)
46deb5:	8b 4d 08             	mov    0x8(%ebp),%ecx
46deb8:	8b 06                	mov    (%esi),%eax
46deba:	c1 e8 03             	shr    $0x3,%eax
46debd:	f7 d0                	not    %eax
46debf:	33 41 08             	xor    0x8(%ecx),%eax
46dec2:	83 e0 02             	and    $0x2,%eax
46dec5:	31 41 08             	xor    %eax,0x8(%ecx)
46dec8:	8b 06                	mov    (%esi),%eax
46deca:	8b 4d 08             	mov    0x8(%ebp),%ecx
46decd:	c1 e8 05             	shr    $0x5,%eax
46ded0:	f7 d0                	not    %eax
46ded2:	33 41 08             	xor    0x8(%ecx),%eax
46ded5:	23 c3                	and    %ebx,%eax
46ded7:	31 41 08             	xor    %eax,0x8(%ecx)
46deda:	e8 35 66 00 00       	call   0x474514
46dedf:	8b d0                	mov    %eax,%edx
46dee1:	f6 c2 01             	test   $0x1,%dl
46dee4:	74 07                	je     0x46deed
46dee6:	8b 4d 08             	mov    0x8(%ebp),%ecx
46dee9:	83 49 0c 10          	orl    $0x10,0xc(%ecx)
46deed:	f6 c2 04             	test   $0x4,%dl
46def0:	74 07                	je     0x46def9
46def2:	8b 45 08             	mov    0x8(%ebp),%eax
46def5:	83 48 0c 08          	orl    $0x8,0xc(%eax)
46def9:	f6 c2 08             	test   $0x8,%dl
46defc:	74 07                	je     0x46df05
46defe:	8b 45 08             	mov    0x8(%ebp),%eax
46df01:	83 48 0c 04          	orl    $0x4,0xc(%eax)
46df05:	f6 c2 10             	test   $0x10,%dl
46df08:	74 07                	je     0x46df11
46df0a:	8b 45 08             	mov    0x8(%ebp),%eax
46df0d:	83 48 0c 02          	orl    $0x2,0xc(%eax)
46df11:	f6 c2 20             	test   $0x20,%dl
46df14:	74 06                	je     0x46df1c
46df16:	8b 45 08             	mov    0x8(%ebp),%eax
46df19:	09 58 0c             	or     %ebx,0xc(%eax)
46df1c:	8b 06                	mov    (%esi),%eax
46df1e:	b9 00 0c 00 00       	mov    $0xc00,%ecx
46df23:	23 c1                	and    %ecx,%eax
46df25:	74 35                	je     0x46df5c
46df27:	3d 00 04 00 00       	cmp    $0x400,%eax
46df2c:	74 22                	je     0x46df50
46df2e:	3d 00 08 00 00       	cmp    $0x800,%eax
46df33:	74 0c                	je     0x46df41
46df35:	3b c1                	cmp    %ecx,%eax
46df37:	75 29                	jne    0x46df62
46df39:	8b 45 08             	mov    0x8(%ebp),%eax
46df3c:	83 08 03             	orl    $0x3,(%eax)
46df3f:	eb 21                	jmp    0x46df62
46df41:	8b 4d 08             	mov    0x8(%ebp),%ecx
46df44:	8b 01                	mov    (%ecx),%eax
46df46:	83 e0 fe             	and    $0xfffffffe,%eax
46df49:	83 c8 02             	or     $0x2,%eax
46df4c:	89 01                	mov    %eax,(%ecx)
46df4e:	eb 12                	jmp    0x46df62
46df50:	8b 4d 08             	mov    0x8(%ebp),%ecx
46df53:	8b 01                	mov    (%ecx),%eax
46df55:	83 e0 fd             	and    $0xfffffffd,%eax
46df58:	0b c3                	or     %ebx,%eax
46df5a:	eb f0                	jmp    0x46df4c
46df5c:	8b 45 08             	mov    0x8(%ebp),%eax
46df5f:	83 20 fc             	andl   $0xfffffffc,(%eax)
46df62:	8b 06                	mov    (%esi),%eax
46df64:	b9 00 03 00 00       	mov    $0x300,%ecx
46df69:	23 c1                	and    %ecx,%eax
46df6b:	74 20                	je     0x46df8d
46df6d:	3d 00 02 00 00       	cmp    $0x200,%eax
46df72:	74 0c                	je     0x46df80
46df74:	3b c1                	cmp    %ecx,%eax
46df76:	75 22                	jne    0x46df9a
46df78:	8b 45 08             	mov    0x8(%ebp),%eax
46df7b:	83 20 e3             	andl   $0xffffffe3,(%eax)
46df7e:	eb 1a                	jmp    0x46df9a
46df80:	8b 4d 08             	mov    0x8(%ebp),%ecx
46df83:	8b 01                	mov    (%ecx),%eax
46df85:	83 e0 e7             	and    $0xffffffe7,%eax
46df88:	83 c8 04             	or     $0x4,%eax
46df8b:	eb 0b                	jmp    0x46df98
46df8d:	8b 4d 08             	mov    0x8(%ebp),%ecx
46df90:	8b 01                	mov    (%ecx),%eax
46df92:	83 e0 eb             	and    $0xffffffeb,%eax
46df95:	83 c8 08             	or     $0x8,%eax
46df98:	89 01                	mov    %eax,(%ecx)
46df9a:	8b 45 08             	mov    0x8(%ebp),%eax
46df9d:	8b 4d 14             	mov    0x14(%ebp),%ecx
46dfa0:	c1 e1 05             	shl    $0x5,%ecx
46dfa3:	33 08                	xor    (%eax),%ecx
46dfa5:	81 e1 e0 ff 01 00    	and    $0x1ffe0,%ecx
46dfab:	31 08                	xor    %ecx,(%eax)
46dfad:	8b 45 08             	mov    0x8(%ebp),%eax
46dfb0:	09 58 20             	or     %ebx,0x20(%eax)
46dfb3:	83 7d 20 00          	cmpl   $0x0,0x20(%ebp)
46dfb7:	74 2c                	je     0x46dfe5
46dfb9:	8b 45 08             	mov    0x8(%ebp),%eax
46dfbc:	83 60 20 e1          	andl   $0xffffffe1,0x20(%eax)
46dfc0:	8b 45 18             	mov    0x18(%ebp),%eax
46dfc3:	d9 00                	flds   (%eax)
46dfc5:	8b 45 08             	mov    0x8(%ebp),%eax
46dfc8:	d9 58 10             	fstps  0x10(%eax)
46dfcb:	8b 45 08             	mov    0x8(%ebp),%eax
46dfce:	09 58 60             	or     %ebx,0x60(%eax)
46dfd1:	8b 45 08             	mov    0x8(%ebp),%eax
46dfd4:	8b 5d 1c             	mov    0x1c(%ebp),%ebx
46dfd7:	83 60 60 e1          	andl   $0xffffffe1,0x60(%eax)
46dfdb:	8b 45 08             	mov    0x8(%ebp),%eax
46dfde:	d9 03                	flds   (%ebx)
46dfe0:	d9 58 50             	fstps  0x50(%eax)
46dfe3:	eb 3a                	jmp    0x46e01f
46dfe5:	8b 4d 08             	mov    0x8(%ebp),%ecx
46dfe8:	8b 41 20             	mov    0x20(%ecx),%eax
46dfeb:	83 e0 e3             	and    $0xffffffe3,%eax
46dfee:	83 c8 02             	or     $0x2,%eax
46dff1:	89 41 20             	mov    %eax,0x20(%ecx)
46dff4:	8b 45 18             	mov    0x18(%ebp),%eax
46dff7:	dd 00                	fldl   (%eax)
46dff9:	8b 45 08             	mov    0x8(%ebp),%eax
46dffc:	dd 58 10             	fstpl  0x10(%eax)
46dfff:	8b 45 08             	mov    0x8(%ebp),%eax
46e002:	09 58 60             	or     %ebx,0x60(%eax)
46e005:	8b 4d 08             	mov    0x8(%ebp),%ecx
46e008:	8b 5d 1c             	mov    0x1c(%ebp),%ebx
46e00b:	8b 41 60             	mov    0x60(%ecx),%eax
46e00e:	83 e0 e3             	and    $0xffffffe3,%eax
46e011:	83 c8 02             	or     $0x2,%eax
46e014:	89 41 60             	mov    %eax,0x60(%ecx)
46e017:	8b 45 08             	mov    0x8(%ebp),%eax
46e01a:	dd 03                	fldl   (%ebx)
46e01c:	dd 58 50             	fstpl  0x50(%eax)
46e01f:	e8 56 64 00 00       	call   0x47447a
46e024:	8d 45 08             	lea    0x8(%ebp),%eax
46e027:	50                   	push   %eax
46e028:	6a 01                	push   $0x1
46e02a:	6a 00                	push   $0x0
46e02c:	57                   	push   %edi
46e02d:	ff 15 90 41 49 00    	call   *0x494190
46e033:	8b 4d 08             	mov    0x8(%ebp),%ecx
46e036:	f6 41 08 10          	testb  $0x10,0x8(%ecx)
46e03a:	74 03                	je     0x46e03f
46e03c:	83 26 fe             	andl   $0xfffffffe,(%esi)
46e03f:	f6 41 08 08          	testb  $0x8,0x8(%ecx)
46e043:	74 03                	je     0x46e048
46e045:	83 26 fb             	andl   $0xfffffffb,(%esi)
46e048:	f6 41 08 04          	testb  $0x4,0x8(%ecx)
46e04c:	74 03                	je     0x46e051
46e04e:	83 26 f7             	andl   $0xfffffff7,(%esi)
46e051:	f6 41 08 02          	testb  $0x2,0x8(%ecx)
46e055:	74 03                	je     0x46e05a
46e057:	83 26 ef             	andl   $0xffffffef,(%esi)
46e05a:	f6 41 08 01          	testb  $0x1,0x8(%ecx)
46e05e:	74 03                	je     0x46e063
46e060:	83 26 df             	andl   $0xffffffdf,(%esi)
46e063:	8b 01                	mov    (%ecx),%eax
46e065:	ba ff f3 ff ff       	mov    $0xfffff3ff,%edx
46e06a:	83 e0 03             	and    $0x3,%eax
46e06d:	83 e8 00             	sub    $0x0,%eax
46e070:	74 35                	je     0x46e0a7
46e072:	83 e8 01             	sub    $0x1,%eax
46e075:	74 22                	je     0x46e099
46e077:	83 e8 01             	sub    $0x1,%eax
46e07a:	74 0d                	je     0x46e089
46e07c:	83 e8 01             	sub    $0x1,%eax
46e07f:	75 28                	jne    0x46e0a9
46e081:	81 0e 00 0c 00 00    	orl    $0xc00,(%esi)
46e087:	eb 20                	jmp    0x46e0a9
46e089:	8b 06                	mov    (%esi),%eax
46e08b:	25 ff fb ff ff       	and    $0xfffffbff,%eax
46e090:	0d 00 08 00 00       	or     $0x800,%eax
46e095:	89 06                	mov    %eax,(%esi)
46e097:	eb 10                	jmp    0x46e0a9
46e099:	8b 06                	mov    (%esi),%eax