40defc:	83 ec 10             	sub    $0x10,%esp
40deff:	d8 c1                	fadd   %st(1),%st
40df01:	dd 5c 24 08          	fstpl  0x8(%esp)
40df05:	dd 1c 24             	fstpl  (%esp)
40df08:	6a 0c                	push   $0xc
40df0a:	6a 08                	push   $0x8
40df0c:	e8 42 03 00 00       	call   0x40e253
40df11:	83 c4 1c             	add    $0x1c,%esp
40df14:	eb 4b                	jmp    0x40df61
40df16:	56                   	push   %esi
40df17:	53                   	push   %ebx
40df18:	e8 05 e7 ff ff       	call   0x40c622
40df1d:	dd 45 08             	fldl   0x8(%ebp)
40df20:	eb 3d                	jmp    0x40df5f
40df22:	e8 e4 02 00 00       	call   0x40e20b
40df27:	dd 55 f8             	fstl   -0x8(%ebp)
40df2a:	dd 45 08             	fldl   0x8(%ebp)
40df2d:	83 c4 08             	add    $0x8,%esp
40df30:	dd e1                	fucom  %st(1)
40df32:	df e0                	fnstsw %ax
40df34:	f6 c4 44             	test   $0x44,%ah
40df37:	7b 18                	jnp    0x40df51
40df39:	f6 c3 20             	test   $0x20,%bl
40df3c:	75 13                	jne    0x40df51
40df3e:	53                   	push   %ebx
40df3f:	83 ec 10             	sub    $0x10,%esp
40df42:	d9 c9                	fxch   %st(1)
40df44:	dd 5c 24 08          	fstpl  0x8(%esp)
40df48:	dd 1c 24             	fstpl  (%esp)
40df4b:	6a 0c                	push   $0xc
40df4d:	6a 10                	push   $0x10
40df4f:	eb bb                	jmp    0x40df0c
40df51:	56                   	push   %esi
40df52:	dd d9                	fstp   %st(1)
40df54:	53                   	push   %ebx
40df55:	dd d8                	fstp   %st(0)
40df57:	e8 c6 e6 ff ff       	call   0x40c622
40df5c:	dd 45 f8             	fldl   -0x8(%ebp)
40df5f:	59                   	pop    %ecx
40df60:	59                   	pop    %ecx
40df61:	5e                   	pop    %esi
40df62:	5b                   	pop    %ebx
40df63:	c9                   	leave
40df64:	c3                   	ret
40df65:	8b ff                	mov    %edi,%edi
40df67:	55                   	push   %ebp
40df68:	8b ec                	mov    %esp,%ebp
40df6a:	51                   	push   %ecx
40df6b:	51                   	push   %ecx
40df6c:	dd 45 08             	fldl   0x8(%ebp)
40df6f:	51                   	push   %ecx
40df70:	51                   	push   %ecx
40df71:	dd 1c 24             	fstpl  (%esp)
40df74:	e8 6f 0b 00 00       	call   0x40eae8
40df79:	59                   	pop    %ecx
40df7a:	59                   	pop    %ecx
40df7b:	a8 90                	test   $0x90,%al
40df7d:	75 4a                	jne    0x40dfc9
40df7f:	dd 45 08             	fldl   0x8(%ebp)
40df82:	51                   	push   %ecx
40df83:	51                   	push   %ecx
40df84:	dd 1c 24             	fstpl  (%esp)
40df87:	e8 7f 02 00 00       	call   0x40e20b
40df8c:	dd 45 08             	fldl   0x8(%ebp)
40df8f:	dd e1                	fucom  %st(1)
40df91:	df e0                	fnstsw %ax
40df93:	59                   	pop    %ecx
40df94:	59                   	pop    %ecx
40df95:	dd d9                	fstp   %st(1)
40df97:	f6 c4 44             	test   $0x44,%ah
40df9a:	7a 2b                	jp     0x40dfc7
40df9c:	dc 0d 60 3b 41 00    	fmull  0x413b60
40dfa2:	51                   	push   %ecx
40dfa3:	51                   	push   %ecx
40dfa4:	dd 55 f8             	fstl   -0x8(%ebp)
40dfa7:	dd 1c 24             	fstpl  (%esp)
40dfaa:	e8 5c 02 00 00       	call   0x40e20b
40dfaf:	dd 45 f8             	fldl   -0x8(%ebp)
40dfb2:	da e9                	fucompp
40dfb4:	df e0                	fnstsw %ax
40dfb6:	59                   	pop    %ecx
40dfb7:	59                   	pop    %ecx
40dfb8:	f6 c4 44             	test   $0x44,%ah
40dfbb:	7a 05                	jp     0x40dfc2
40dfbd:	6a 02                	push   $0x2
40dfbf:	58                   	pop    %eax
40dfc0:	c9                   	leave
40dfc1:	c3                   	ret
40dfc2:	33 c0                	xor    %eax,%eax
40dfc4:	40                   	inc    %eax
40dfc5:	c9                   	leave
40dfc6:	c3                   	ret
40dfc7:	dd d8                	fstp   %st(0)
40dfc9:	33 c0                	xor    %eax,%eax
40dfcb:	c9                   	leave
40dfcc:	c3                   	ret
40dfcd:	cc                   	int3
40dfce:	cc                   	int3
40dfcf:	cc                   	int3
40dfd0:	8b ff                	mov    %edi,%edi
40dfd2:	55                   	push   %ebp
40dfd3:	8b ec                	mov    %esp,%ebp
40dfd5:	dd 45 08             	fldl   0x8(%ebp)
40dfd8:	b9 00 00 f0 7f       	mov    $0x7ff00000,%ecx
40dfdd:	d9 e1                	fabs
40dfdf:	b8 00 00 f0 ff       	mov    $0xfff00000,%eax
40dfe4:	39 4d 14             	cmp    %ecx,0x14(%ebp)
40dfe7:	75 3b                	jne    0x40e024
40dfe9:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)
40dfed:	75 75                	jne    0x40e064
40dfef:	d9 e8                	fld1
40dff1:	d8 d1                	fcom   %st(1)
40dff3:	df e0                	fnstsw %ax
40dff5:	f6 c4 05             	test   $0x5,%ah
40dff8:	7a 0f                	jp     0x40e009
40dffa:	dd d9                	fstp   %st(1)
40dffc:	dd d8                	fstp   %st(0)
40dffe:	dd 05 f0 3c 41 00    	fldl   0x413cf0
40e004:	e9 e9 00 00 00       	jmp    0x40e0f2
40e009:	d8 d1                	fcom   %st(1)
40e00b:	df e0                	fnstsw %ax
40e00d:	dd d9                	fstp   %st(1)
40e00f:	f6 c4 41             	test   $0x41,%ah
40e012:	8b 45 18             	mov    0x18(%ebp),%eax
40e015:	0f 85 da 00 00 00    	jne    0x40e0f5
40e01b:	dd d8                	fstp   %st(0)
40e01d:	d9 ee                	fldz
40e01f:	e9 d1 00 00 00       	jmp    0x40e0f5
40e024:	39 45 14             	cmp    %eax,0x14(%ebp)
40e027:	75 3b                	jne    0x40e064
40e029:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)
40e02d:	75 35                	jne    0x40e064
40e02f:	d9 e8                	fld1
40e031:	d8 d1                	fcom   %st(1)
40e033:	df e0                	fnstsw %ax
40e035:	f6 c4 05             	test   $0x5,%ah
40e038:	7a 0b                	jp     0x40e045
40e03a:	dd d9                	fstp   %st(1)
40e03c:	dd d8                	fstp   %st(0)
40e03e:	d9 ee                	fldz
40e040:	e9 ad 00 00 00       	jmp    0x40e0f2
40e045:	d8 d1                	fcom   %st(1)
40e047:	df e0                	fnstsw %ax
40e049:	dd d9                	fstp   %st(1)
40e04b:	f6 c4 41             	test   $0x41,%ah
40e04e:	8b 45 18             	mov    0x18(%ebp),%eax
40e051:	0f 85 9e 00 00 00    	jne    0x40e0f5
40e057:	dd d8                	fstp   %st(0)
40e059:	dd 05 f0 3c 41 00    	fldl   0x413cf0
40e05f:	e9 91 00 00 00       	jmp    0x40e0f5
40e064:	dd d8                	fstp   %st(0)
40e066:	39 4d 0c             	cmp    %ecx,0xc(%ebp)
40e069:	75 2e                	jne    0x40e099
40e06b:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40e06f:	0f 85 82 00 00 00    	jne    0x40e0f7
40e075:	d9 ee                	fldz
40e077:	dd 45 10             	fldl   0x10(%ebp)
40e07a:	d8 d1                	fcom   %st(1)
40e07c:	df e0                	fnstsw %ax
40e07e:	f6 c4 41             	test   $0x41,%ah
40e081:	0f 84 73 ff ff ff    	je     0x40dffa
40e087:	d8 d9                	fcomp  %st(1)
40e089:	df e0                	fnstsw %ax
40e08b:	f6 c4 05             	test   $0x5,%ah
40e08e:	8b 45 18             	mov    0x18(%ebp),%eax
40e091:	7b 62                	jnp    0x40e0f5
40e093:	dd d8                	fstp   %st(0)
40e095:	d9 e8                	fld1
40e097:	eb 5c                	jmp    0x40e0f5
40e099:	39 45 0c             	cmp    %eax,0xc(%ebp)
40e09c:	75 59                	jne    0x40e0f7
40e09e:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40e0a2:	75 53                	jne    0x40e0f7
40e0a4:	dd 45 10             	fldl   0x10(%ebp)
40e0a7:	51                   	push   %ecx
40e0a8:	51                   	push   %ecx
40e0a9:	dd 1c 24             	fstpl  (%esp)
40e0ac:	e8 b4 fe ff ff       	call   0x40df65
40e0b1:	d9 ee                	fldz
40e0b3:	dd 45 10             	fldl   0x10(%ebp)
40e0b6:	59                   	pop    %ecx
40e0b7:	59                   	pop    %ecx
40e0b8:	d8 d1                	fcom   %st(1)
40e0ba:	8b c8                	mov    %eax,%ecx
40e0bc:	df e0                	fnstsw %ax
40e0be:	f6 c4 41             	test   $0x41,%ah
40e0c1:	75 13                	jne    0x40e0d6
40e0c3:	dd d9                	fstp   %st(1)
40e0c5:	dd d8                	fstp   %st(0)
40e0c7:	dd 05 f0 3c 41 00    	fldl   0x413cf0
40e0cd:	83 f9 01             	cmp    $0x1,%ecx
40e0d0:	75 20                	jne    0x40e0f2
40e0d2:	d9 e0                	fchs
40e0d4:	eb 1c                	jmp    0x40e0f2
40e0d6:	d8 d9                	fcomp  %st(1)
40e0d8:	df e0                	fnstsw %ax
40e0da:	f6 c4 05             	test   $0x5,%ah
40e0dd:	7a 0f                	jp     0x40e0ee
40e0df:	83 f9 01             	cmp    $0x1,%ecx
40e0e2:	75 0e                	jne    0x40e0f2
40e0e4:	dd d8                	fstp   %st(0)
40e0e6:	dd 05 00 3d 41 00    	fldl   0x413d00
40e0ec:	eb 04                	jmp    0x40e0f2
40e0ee:	dd d8                	fstp   %st(0)
40e0f0:	d9 e8                	fld1
40e0f2:	8b 45 18             	mov    0x18(%ebp),%eax
40e0f5:	dd 18                	fstpl  (%eax)
40e0f7:	33 c0                	xor    %eax,%eax
40e0f9:	5d                   	pop    %ebp
40e0fa:	c3                   	ret
40e0fb:	8b ff                	mov    %edi,%edi
40e0fd:	53                   	push   %ebx
40e0fe:	8b dc                	mov    %esp,%ebx
40e100:	51                   	push   %ecx
40e101:	51                   	push   %ecx
40e102:	83 e4 f0             	and    $0xfffffff0,%esp
40e105:	83 c4 04             	add    $0x4,%esp
40e108:	55                   	push   %ebp
40e109:	8b 6b 04             	mov    0x4(%ebx),%ebp
40e10c:	89 6c 24 04          	mov    %ebp,0x4(%esp)
40e110:	8b ec                	mov    %esp,%ebp
40e112:	81 ec 88 00 00 00    	sub    $0x88,%esp
40e118:	a1 14 60 41 00       	mov    0x416014,%eax
40e11d:	33 c5                	xor    %ebp,%eax
40e11f:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e122:	8b 43 10             	mov    0x10(%ebx),%eax
40e125:	56                   	push   %esi
40e126:	8b 73 0c             	mov    0xc(%ebx),%esi
40e129:	57                   	push   %edi
40e12a:	0f b7 08             	movzwl (%eax),%ecx
40e12d:	89 8d 7c ff ff ff    	mov    %ecx,-0x84(%ebp)
40e133:	8b 06                	mov    (%esi),%eax
40e135:	83 e8 01             	sub    $0x1,%eax
40e138:	74 2f                	je     0x40e169
40e13a:	83 e8 01             	sub    $0x1,%eax
40e13d:	74 26                	je     0x40e165
40e13f:	83 e8 01             	sub    $0x1,%eax
40e142:	74 1d                	je     0x40e161
40e144:	83 e8 01             	sub    $0x1,%eax
40e147:	74 14                	je     0x40e15d
40e149:	83 e8 01             	sub    $0x1,%eax
40e14c:	74 1b                	je     0x40e169
40e14e:	48                   	dec    %eax
40e14f:	83 e8 01             	sub    $0x1,%eax
40e152:	74 71                	je     0x40e1c5
40e154:	83 e8 01             	sub    $0x1,%eax
40e157:	75 6c                	jne    0x40e1c5
40e159:	6a 10                	push   $0x10
40e15b:	eb 0e                	jmp    0x40e16b
40e15d:	6a 12                	push   $0x12
40e15f:	eb 0a                	jmp    0x40e16b
40e161:	6a 11                	push   $0x11
40e163:	eb 06                	jmp    0x40e16b
40e165:	6a 04                	push   $0x4
40e167:	eb 02                	jmp    0x40e16b
40e169:	6a 08                	push   $0x8
40e16b:	5f                   	pop    %edi
40e16c:	51                   	push   %ecx
40e16d:	8d 46 18             	lea    0x18(%esi),%eax
40e170:	50                   	push   %eax
40e171:	57                   	push   %edi
40e172:	e8 aa 01 00 00       	call   0x40e321
40e177:	83 c4 0c             	add    $0xc,%esp
40e17a:	85 c0                	test   %eax,%eax
40e17c:	75 47                	jne    0x40e1c5
40e17e:	8b 4b 08             	mov    0x8(%ebx),%ecx
40e181:	83 f9 10             	cmp    $0x10,%ecx
40e184:	74 10                	je     0x40e196
40e186:	83 f9 16             	cmp    $0x16,%ecx
40e189:	74 0b                	je     0x40e196
40e18b:	83 f9 1d             	cmp    $0x1d,%ecx
40e18e:	74 06                	je     0x40e196
40e190:	83 65 c0 fe          	andl   $0xfffffffe,-0x40(%ebp)
40e194:	eb 12                	jmp    0x40e1a8
40e196:	8b 45 c0             	mov    -0x40(%ebp),%eax
40e199:	dd 46 10             	fldl   0x10(%esi)
40e19c:	83 e0 e3             	and    $0xffffffe3,%eax
40e19f:	83 c8 03             	or     $0x3,%eax
40e1a2:	dd 5d b0             	fstpl  -0x50(%ebp)
40e1a5:	89 45 c0             	mov    %eax,-0x40(%ebp)
40e1a8:	8d 46 18             	lea    0x18(%esi),%eax
40e1ab:	50                   	push   %eax
40e1ac:	8d 46 08             	lea    0x8(%esi),%eax
40e1af:	50                   	push   %eax
40e1b0:	51                   	push   %ecx
40e1b1:	57                   	push   %edi
40e1b2:	8d 85 7c ff ff ff    	lea    -0x84(%ebp),%eax
40e1b8:	50                   	push   %eax
40e1b9:	8d 45 80             	lea    -0x80(%ebp),%eax
40e1bc:	50                   	push   %eax
40e1bd:	e8 df 03 00 00       	call   0x40e5a1
40e1c2:	83 c4 18             	add    $0x18,%esp
40e1c5:	68 ff ff 00 00       	push   $0xffff
40e1ca:	ff b5 7c ff ff ff    	push   -0x84(%ebp)
40e1d0:	e8 4d e4 ff ff       	call   0x40c622
40e1d5:	83 3e 08             	cmpl   $0x8,(%esi)
40e1d8:	59                   	pop    %ecx
40e1d9:	59                   	pop    %ecx
40e1da:	74 14                	je     0x40e1f0
40e1dc:	e8 e9 7d ff ff       	call   0x405fca
40e1e1:	84 c0                	test   %al,%al
40e1e3:	74 0b                	je     0x40e1f0
40e1e5:	56                   	push   %esi
40e1e6:	e8 0e 7e ff ff       	call   0x405ff9
40e1eb:	59                   	pop    %ecx
40e1ec:	85 c0                	test   %eax,%eax
40e1ee:	75 08                	jne    0x40e1f8
40e1f0:	ff 36                	push   (%esi)
40e1f2:	e8 be 06 00 00       	call   0x40e8b5
40e1f7:	59                   	pop    %ecx
40e1f8:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e1fb:	5f                   	pop    %edi
40e1fc:	33 cd                	xor    %ebp,%ecx
40e1fe:	5e                   	pop    %esi
40e1ff:	e8 31 54 ff ff       	call   0x403635
40e204:	8b e5                	mov    %ebp,%esp
40e206:	5d                   	pop    %ebp
40e207:	8b e3                	mov    %ebx,%esp
40e209:	5b                   	pop    %ebx
40e20a:	c3                   	ret
40e20b:	8b ff                	mov    %edi,%edi
40e20d:	55                   	push   %ebp
40e20e:	8b ec                	mov    %esp,%ebp
40e210:	51                   	push   %ecx
40e211:	51                   	push   %ecx
40e212:	dd 45 08             	fldl   0x8(%ebp)
40e215:	d9 fc                	frndint
40e217:	dd 5d f8             	fstpl  -0x8(%ebp)
40e21a:	dd 45 f8             	fldl   -0x8(%ebp)
40e21d:	c9                   	leave
40e21e:	c3                   	ret
40e21f:	8b ff                	mov    %edi,%edi
40e221:	55                   	push   %ebp
40e222:	8b ec                	mov    %esp,%ebp
40e224:	8b 45 08             	mov    0x8(%ebp),%eax
40e227:	a8 20                	test   $0x20,%al
40e229:	74 04                	je     0x40e22f
40e22b:	6a 05                	push   $0x5
40e22d:	eb 17                	jmp    0x40e246
40e22f:	a8 08                	test   $0x8,%al
40e231:	74 05                	je     0x40e238
40e233:	33 c0                	xor    %eax,%eax
40e235:	40                   	inc    %eax
40e236:	5d                   	pop    %ebp
40e237:	c3                   	ret
40e238:	a8 04                	test   $0x4,%al
40e23a:	74 04                	je     0x40e240
40e23c:	6a 02                	push   $0x2
40e23e:	eb 06                	jmp    0x40e246
40e240:	a8 01                	test   $0x1,%al