40bd20:	d9 2c 24             	fldcw  (%esp)
40bd23:	5a                   	pop    %edx
40bd24:	c3                   	ret
40bd25:	83 ec 08             	sub    $0x8,%esp
40bd28:	dd 14 24             	fstl   (%esp)
40bd2b:	8b 44 24 04          	mov    0x4(%esp),%eax
40bd2f:	83 c4 08             	add    $0x8,%esp
40bd32:	25 00 00 f0 7f       	and    $0x7ff00000,%eax
40bd37:	eb 14                	jmp    0x40bd4d
40bd39:	83 ec 08             	sub    $0x8,%esp
40bd3c:	dd 14 24             	fstl   (%esp)
40bd3f:	8b 44 24 04          	mov    0x4(%esp),%eax
40bd43:	83 c4 08             	add    $0x8,%esp
40bd46:	25 00 00 f0 7f       	and    $0x7ff00000,%eax
40bd4b:	74 3d                	je     0x40bd8a
40bd4d:	3d 00 00 f0 7f       	cmp    $0x7ff00000,%eax
40bd52:	74 5f                	je     0x40bdb3
40bd54:	66 8b 04 24          	mov    (%esp),%ax
40bd58:	66 3d 7f 02          	cmp    $0x27f,%ax
40bd5c:	74 2a                	je     0x40bd88
40bd5e:	66 83 e0 20          	and    $0x20,%ax
40bd62:	75 21                	jne    0x40bd85
40bd64:	9b df e0             	fstsw  %ax
40bd67:	66 83 e0 20          	and    $0x20,%ax
40bd6b:	74 18                	je     0x40bd85
40bd6d:	b8 08 00 00 00       	mov    $0x8,%eax
40bd72:	83 fa 1d             	cmp    $0x1d,%edx
40bd75:	74 07                	je     0x40bd7e
40bd77:	e8 8b fe ff ff       	call   0x40bc07
40bd7c:	5a                   	pop    %edx
40bd7d:	c3                   	ret
40bd7e:	e8 6d fe ff ff       	call   0x40bbf0
40bd83:	5a                   	pop    %edx
40bd84:	c3                   	ret
40bd85:	d9 2c 24             	fldcw  (%esp)
40bd88:	5a                   	pop    %edx
40bd89:	c3                   	ret
40bd8a:	dd 05 5c c5 41 00    	fldl   0x41c55c
40bd90:	d9 c9                	fxch   %st(1)
40bd92:	d9 fd                	fscale
40bd94:	dd d9                	fstp   %st(1)
40bd96:	d9 c0                	fld    %st(0)
40bd98:	d9 e1                	fabs
40bd9a:	dc 1d 4c c5 41 00    	fcompl 0x41c54c
40bda0:	9b df e0             	fstsw  %ax
40bda3:	9e                   	sahf
40bda4:	b8 04 00 00 00       	mov    $0x4,%eax
40bda9:	73 c7                	jae    0x40bd72
40bdab:	dc 0d 6c c5 41 00    	fmull  0x41c56c
40bdb1:	eb bf                	jmp    0x40bd72
40bdb3:	dd 05 54 c5 41 00    	fldl   0x41c554
40bdb9:	d9 c9                	fxch   %st(1)
40bdbb:	d9 fd                	fscale
40bdbd:	dd d9                	fstp   %st(1)
40bdbf:	d9 c0                	fld    %st(0)
40bdc1:	d9 e1                	fabs
40bdc3:	dc 1d 44 c5 41 00    	fcompl 0x41c544
40bdc9:	9b df e0             	fstsw  %ax
40bdcc:	9e                   	sahf
40bdcd:	b8 03 00 00 00       	mov    $0x3,%eax
40bdd2:	76 9e                	jbe    0x40bd72
40bdd4:	dc 0d 64 c5 41 00    	fmull  0x41c564
40bdda:	eb 96                	jmp    0x40bd72
40bddc:	6a 54                	push   $0x54
40bdde:	68 08 97 42 00       	push   $0x429708
40bde3:	e8 f4 e5 ff ff       	call   0x40a3dc
40bde8:	33 ff                	xor    %edi,%edi
40bdea:	89 7d fc             	mov    %edi,-0x4(%ebp)
40bded:	8d 45 9c             	lea    -0x64(%ebp),%eax
40bdf0:	50                   	push   %eax
40bdf1:	ff 15 b8 a0 41 00    	call   *0x41a0b8
40bdf7:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40bdfe:	6a 40                	push   $0x40
40be00:	6a 20                	push   $0x20
40be02:	5e                   	pop    %esi
40be03:	56                   	push   %esi
40be04:	e8 9c bd ff ff       	call   0x407ba5
40be09:	59                   	pop    %ecx
40be0a:	59                   	pop    %ecx
40be0b:	3b c7                	cmp    %edi,%eax
40be0d:	0f 84 14 02 00 00    	je     0x40c027
40be13:	a3 60 12 c7 00       	mov    %eax,0xc71260
40be18:	89 35 44 12 c7 00    	mov    %esi,0xc71244
40be1e:	8d 88 00 08 00 00    	lea    0x800(%eax),%ecx
40be24:	eb 30                	jmp    0x40be56
40be26:	c6 40 04 00          	movb   $0x0,0x4(%eax)
40be2a:	83 08 ff             	orl    $0xffffffff,(%eax)
40be2d:	c6 40 05 0a          	movb   $0xa,0x5(%eax)
40be31:	89 78 08             	mov    %edi,0x8(%eax)
40be34:	c6 40 24 00          	movb   $0x0,0x24(%eax)
40be38:	c6 40 25 0a          	movb   $0xa,0x25(%eax)
40be3c:	c6 40 26 0a          	movb   $0xa,0x26(%eax)
40be40:	89 78 38             	mov    %edi,0x38(%eax)
40be43:	c6 40 34 00          	movb   $0x0,0x34(%eax)
40be47:	83 c0 40             	add    $0x40,%eax
40be4a:	8b 0d 60 12 c7 00    	mov    0xc71260,%ecx
40be50:	81 c1 00 08 00 00    	add    $0x800,%ecx
40be56:	3b c1                	cmp    %ecx,%eax
40be58:	72 cc                	jb     0x40be26
40be5a:	66 39 7d ce          	cmp    %di,-0x32(%ebp)
40be5e:	0f 84 0a 01 00 00    	je     0x40bf6e
40be64:	8b 45 d0             	mov    -0x30(%ebp),%eax
40be67:	3b c7                	cmp    %edi,%eax
40be69:	0f 84 ff 00 00 00    	je     0x40bf6e
40be6f:	8b 38                	mov    (%eax),%edi
40be71:	8d 58 04             	lea    0x4(%eax),%ebx
40be74:	8d 04 3b             	lea    (%ebx,%edi,1),%eax
40be77:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40be7a:	be 00 08 00 00       	mov    $0x800,%esi
40be7f:	3b fe                	cmp    %esi,%edi
40be81:	7c 02                	jl     0x40be85
40be83:	8b fe                	mov    %esi,%edi
40be85:	c7 45 e0 01 00 00 00 	movl   $0x1,-0x20(%ebp)
40be8c:	eb 5b                	jmp    0x40bee9
40be8e:	6a 40                	push   $0x40
40be90:	6a 20                	push   $0x20
40be92:	e8 0e bd ff ff       	call   0x407ba5
40be97:	59                   	pop    %ecx
40be98:	59                   	pop    %ecx
40be99:	85 c0                	test   %eax,%eax
40be9b:	74 56                	je     0x40bef3
40be9d:	8b 4d e0             	mov    -0x20(%ebp),%ecx
40bea0:	8d 0c 8d 60 12 c7 00 	lea    0xc71260(,%ecx,4),%ecx
40bea7:	89 01                	mov    %eax,(%ecx)
40bea9:	83 05 44 12 c7 00 20 	addl   $0x20,0xc71244
40beb0:	8d 90 00 08 00 00    	lea    0x800(%eax),%edx
40beb6:	eb 2a                	jmp    0x40bee2
40beb8:	c6 40 04 00          	movb   $0x0,0x4(%eax)
40bebc:	83 08 ff             	orl    $0xffffffff,(%eax)
40bebf:	c6 40 05 0a          	movb   $0xa,0x5(%eax)
40bec3:	83 60 08 00          	andl   $0x0,0x8(%eax)
40bec7:	80 60 24 80          	andb   $0x80,0x24(%eax)
40becb:	c6 40 25 0a          	movb   $0xa,0x25(%eax)
40becf:	c6 40 26 0a          	movb   $0xa,0x26(%eax)
40bed3:	83 60 38 00          	andl   $0x0,0x38(%eax)
40bed7:	c6 40 34 00          	movb   $0x0,0x34(%eax)
40bedb:	83 c0 40             	add    $0x40,%eax
40bede:	8b 11                	mov    (%ecx),%edx
40bee0:	03 d6                	add    %esi,%edx
40bee2:	3b c2                	cmp    %edx,%eax
40bee4:	72 d2                	jb     0x40beb8
40bee6:	ff 45 e0             	incl   -0x20(%ebp)
40bee9:	39 3d 44 12 c7 00    	cmp    %edi,0xc71244
40beef:	7c 9d                	jl     0x40be8e
40bef1:	eb 06                	jmp    0x40bef9
40bef3:	8b 3d 44 12 c7 00    	mov    0xc71244,%edi
40bef9:	83 65 e0 00          	andl   $0x0,-0x20(%ebp)
40befd:	85 ff                	test   %edi,%edi
40beff:	7e 6d                	jle    0x40bf6e
40bf01:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40bf04:	8b 08                	mov    (%eax),%ecx
40bf06:	83 f9 ff             	cmp    $0xffffffff,%ecx
40bf09:	74 56                	je     0x40bf61
40bf0b:	83 f9 fe             	cmp    $0xfffffffe,%ecx
40bf0e:	74 51                	je     0x40bf61
40bf10:	8a 03                	mov    (%ebx),%al
40bf12:	a8 01                	test   $0x1,%al
40bf14:	74 4b                	je     0x40bf61
40bf16:	a8 08                	test   $0x8,%al
40bf18:	75 0b                	jne    0x40bf25
40bf1a:	51                   	push   %ecx
40bf1b:	ff 15 0c a1 41 00    	call   *0x41a10c
40bf21:	85 c0                	test   %eax,%eax
40bf23:	74 3c                	je     0x40bf61
40bf25:	8b 75 e0             	mov    -0x20(%ebp),%esi
40bf28:	8b c6                	mov    %esi,%eax
40bf2a:	c1 f8 05             	sar    $0x5,%eax
40bf2d:	83 e6 1f             	and    $0x1f,%esi
40bf30:	c1 e6 06             	shl    $0x6,%esi
40bf33:	03 34 85 60 12 c7 00 	add    0xc71260(,%eax,4),%esi
40bf3a:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40bf3d:	8b 00                	mov    (%eax),%eax
40bf3f:	89 06                	mov    %eax,(%esi)
40bf41:	8a 03                	mov    (%ebx),%al
40bf43:	88 46 04             	mov    %al,0x4(%esi)
40bf46:	68 a0 0f 00 00       	push   $0xfa0
40bf4b:	8d 46 0c             	lea    0xc(%esi),%eax
40bf4e:	50                   	push   %eax
40bf4f:	e8 08 71 00 00       	call   0x41305c
40bf54:	59                   	pop    %ecx
40bf55:	59                   	pop    %ecx
40bf56:	85 c0                	test   %eax,%eax
40bf58:	0f 84 c9 00 00 00    	je     0x40c027
40bf5e:	ff 46 08             	incl   0x8(%esi)
40bf61:	ff 45 e0             	incl   -0x20(%ebp)
40bf64:	43                   	inc    %ebx
40bf65:	83 45 e4 04          	addl   $0x4,-0x1c(%ebp)
40bf69:	39 7d e0             	cmp    %edi,-0x20(%ebp)
40bf6c:	7c 93                	jl     0x40bf01
40bf6e:	33 db                	xor    %ebx,%ebx
40bf70:	8b f3                	mov    %ebx,%esi
40bf72:	c1 e6 06             	shl    $0x6,%esi
40bf75:	03 35 60 12 c7 00    	add    0xc71260,%esi
40bf7b:	8b 06                	mov    (%esi),%eax
40bf7d:	83 f8 ff             	cmp    $0xffffffff,%eax
40bf80:	74 0b                	je     0x40bf8d
40bf82:	83 f8 fe             	cmp    $0xfffffffe,%eax
40bf85:	74 06                	je     0x40bf8d
40bf87:	80 4e 04 80          	orb    $0x80,0x4(%esi)
40bf8b:	eb 72                	jmp    0x40bfff
40bf8d:	c6 46 04 81          	movb   $0x81,0x4(%esi)
40bf91:	85 db                	test   %ebx,%ebx
40bf93:	75 05                	jne    0x40bf9a
40bf95:	6a f6                	push   $0xfffffff6
40bf97:	58                   	pop    %eax
40bf98:	eb 0a                	jmp    0x40bfa4
40bf9a:	8b c3                	mov    %ebx,%eax
40bf9c:	48                   	dec    %eax
40bf9d:	f7 d8                	neg    %eax
40bf9f:	1b c0                	sbb    %eax,%eax
40bfa1:	83 c0 f5             	add    $0xfffffff5,%eax
40bfa4:	50                   	push   %eax
40bfa5:	ff 15 08 a1 41 00    	call   *0x41a108
40bfab:	8b f8                	mov    %eax,%edi
40bfad:	83 ff ff             	cmp    $0xffffffff,%edi
40bfb0:	74 43                	je     0x40bff5
40bfb2:	85 ff                	test   %edi,%edi
40bfb4:	74 3f                	je     0x40bff5
40bfb6:	57                   	push   %edi
40bfb7:	ff 15 0c a1 41 00    	call   *0x41a10c
40bfbd:	85 c0                	test   %eax,%eax
40bfbf:	74 34                	je     0x40bff5
40bfc1:	89 3e                	mov    %edi,(%esi)
40bfc3:	25 ff 00 00 00       	and    $0xff,%eax
40bfc8:	83 f8 02             	cmp    $0x2,%eax
40bfcb:	75 06                	jne    0x40bfd3
40bfcd:	80 4e 04 40          	orb    $0x40,0x4(%esi)
40bfd1:	eb 09                	jmp    0x40bfdc
40bfd3:	83 f8 03             	cmp    $0x3,%eax
40bfd6:	75 04                	jne    0x40bfdc
40bfd8:	80 4e 04 08          	orb    $0x8,0x4(%esi)
40bfdc:	68 a0 0f 00 00       	push   $0xfa0
40bfe1:	8d 46 0c             	lea    0xc(%esi),%eax
40bfe4:	50                   	push   %eax
40bfe5:	e8 72 70 00 00       	call   0x41305c
40bfea:	59                   	pop    %ecx
40bfeb:	59                   	pop    %ecx
40bfec:	85 c0                	test   %eax,%eax
40bfee:	74 37                	je     0x40c027
40bff0:	ff 46 08             	incl   0x8(%esi)
40bff3:	eb 0a                	jmp    0x40bfff
40bff5:	80 4e 04 40          	orb    $0x40,0x4(%esi)
40bff9:	c7 06 fe ff ff ff    	movl   $0xfffffffe,(%esi)
40bfff:	43                   	inc    %ebx
40c000:	83 fb 03             	cmp    $0x3,%ebx
40c003:	0f 8c 67 ff ff ff    	jl     0x40bf70
40c009:	ff 35 44 12 c7 00    	push   0xc71244
40c00f:	ff 15 04 a1 41 00    	call   *0x41a104
40c015:	33 c0                	xor    %eax,%eax
40c017:	eb 11                	jmp    0x40c02a
40c019:	33 c0                	xor    %eax,%eax
40c01b:	40                   	inc    %eax
40c01c:	c3                   	ret
40c01d:	8b 65 e8             	mov    -0x18(%ebp),%esp
40c020:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40c027:	83 c8 ff             	or     $0xffffffff,%eax
40c02a:	e8 f2 e3 ff ff       	call   0x40a421
40c02f:	c3                   	ret
40c030:	8b ff                	mov    %edi,%edi
40c032:	55                   	push   %ebp
40c033:	8b ec                	mov    %esp,%ebp
40c035:	56                   	push   %esi
40c036:	8b 75 08             	mov    0x8(%ebp),%esi
40c039:	56                   	push   %esi
40c03a:	e8 82 91 00 00       	call   0x4151c1
40c03f:	59                   	pop    %ecx
40c040:	83 f8 ff             	cmp    $0xffffffff,%eax
40c043:	75 10                	jne    0x40c055
40c045:	e8 8b 9a ff ff       	call   0x405ad5
40c04a:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c050:	83 c8 ff             	or     $0xffffffff,%eax
40c053:	eb 4d                	jmp    0x40c0a2
40c055:	57                   	push   %edi
40c056:	ff 75 10             	push   0x10(%ebp)
40c059:	6a 00                	push   $0x0
40c05b:	ff 75 0c             	push   0xc(%ebp)
40c05e:	50                   	push   %eax
40c05f:	ff 15 10 a1 41 00    	call   *0x41a110
40c065:	8b f8                	mov    %eax,%edi
40c067:	83 ff ff             	cmp    $0xffffffff,%edi
40c06a:	75 08                	jne    0x40c074
40c06c:	ff 15 98 a0 41 00    	call   *0x41a098
40c072:	eb 02                	jmp    0x40c076
40c074:	33 c0                	xor    %eax,%eax
40c076:	85 c0                	test   %eax,%eax
40c078:	74 0c                	je     0x40c086
40c07a:	50                   	push   %eax
40c07b:	e8 7b 9a ff ff       	call   0x405afb
40c080:	59                   	pop    %ecx
40c081:	83 c8 ff             	or     $0xffffffff,%eax
40c084:	eb 1b                	jmp    0x40c0a1
40c086:	8b c6                	mov    %esi,%eax
40c088:	c1 f8 05             	sar    $0x5,%eax
40c08b:	8b 04 85 60 12 c7 00 	mov    0xc71260(,%eax,4),%eax
40c092:	83 e6 1f             	and    $0x1f,%esi
40c095:	c1 e6 06             	shl    $0x6,%esi
40c098:	8d 44 30 04          	lea    0x4(%eax,%esi,1),%eax
40c09c:	80 20 fd             	andb   $0xfd,(%eax)
40c09f:	8b c7                	mov    %edi,%eax
40c0a1:	5f                   	pop    %edi
40c0a2:	5e                   	pop    %esi
40c0a3:	5d                   	pop    %ebp
40c0a4:	c3                   	ret
40c0a5:	6a 10                	push   $0x10
40c0a7:	68 28 97 42 00       	push   $0x429728
40c0ac:	e8 2b e3 ff ff       	call   0x40a3dc
40c0b1:	8b 45 08             	mov    0x8(%ebp),%eax
40c0b4:	83 f8 fe             	cmp    $0xfffffffe,%eax
40c0b7:	75 1b                	jne    0x40c0d4
40c0b9:	e8 2a 9a ff ff       	call   0x405ae8
40c0be:	83 20 00             	andl   $0x0,(%eax)
40c0c1:	e8 0f 9a ff ff       	call   0x405ad5
40c0c6:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c0cc:	83 c8 ff             	or     $0xffffffff,%eax
40c0cf:	e9 9d 00 00 00       	jmp    0x40c171
40c0d4:	33 ff                	xor    %edi,%edi
40c0d6:	3b c7                	cmp    %edi,%eax
40c0d8:	7c 08                	jl     0x40c0e2
40c0da:	3b 05 44 12 c7 00    	cmp    0xc71244,%eax
40c0e0:	72 21                	jb     0x40c103
40c0e2:	e8 01 9a ff ff       	call   0x405ae8
40c0e7:	89 38                	mov    %edi,(%eax)
40c0e9:	e8 e7 99 ff ff       	call   0x405ad5
40c0ee:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c0f4:	57                   	push   %edi
40c0f5:	57                   	push   %edi
40c0f6:	57                   	push   %edi
40c0f7:	57                   	push   %edi
40c0f8:	57                   	push   %edi
40c0f9:	e8 27 91 ff ff       	call   0x405225
40c0fe:	83 c4 14             	add    $0x14,%esp
40c101:	eb c9                	jmp    0x40c0cc
40c103:	8b c8                	mov    %eax,%ecx
40c105:	c1 f9 05             	sar    $0x5,%ecx
40c108:	8d 1c 8d 60 12 c7 00 	lea    0xc71260(,%ecx,4),%ebx
40c10f:	8b f0                	mov    %eax,%esi
40c111:	83 e6 1f             	and    $0x1f,%esi
40c114:	c1 e6 06             	shl    $0x6,%esi
40c117:	8b 0b                	mov    (%ebx),%ecx
40c119:	0f be 4c 31 04       	movsbl 0x4(%ecx,%esi,1),%ecx
40c11e:	83 e1 01             	and    $0x1,%ecx
40c121:	74 bf                	je     0x40c0e2
40c123:	50                   	push   %eax
40c124:	e8 0f 91 00 00       	call   0x415238
40c129:	59                   	pop    %ecx
40c12a:	89 7d fc             	mov    %edi,-0x4(%ebp)
40c12d:	8b 03                	mov    (%ebx),%eax
40c12f:	f6 44 30 04 01       	testb  $0x1,0x4(%eax,%esi,1)
40c134:	74 16                	je     0x40c14c
40c136:	ff 75 10             	push   0x10(%ebp)