47e7a9:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
47e7b0:	3b 45 f4             	cmp    -0xc(%ebp),%eax
47e7b3:	77 05                	ja     0x47e7ba
47e7b5:	8b 51 08             	mov    0x8(%ecx),%edx
47e7b8:	eb 02                	jmp    0x47e7bc
47e7ba:	33 d2                	xor    %edx,%edx
47e7bc:	83 7d e4 00          	cmpl   $0x0,-0x1c(%ebp)
47e7c0:	8b 41 04             	mov    0x4(%ecx),%eax
47e7c3:	8b 19                	mov    (%ecx),%ebx
47e7c5:	c7 45 dc 00 00 00 00 	movl   $0x0,-0x24(%ebp)
47e7cc:	89 55 b8             	mov    %edx,-0x48(%ebp)
47e7cf:	89 45 fc             	mov    %eax,-0x4(%ebp)
47e7d2:	89 55 dc             	mov    %edx,-0x24(%ebp)
47e7d5:	89 5d f8             	mov    %ebx,-0x8(%ebp)
47e7d8:	76 3c                	jbe    0x47e816
47e7da:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
47e7dd:	8b fb                	mov    %ebx,%edi
47e7df:	d3 ef                	shr    %cl,%edi
47e7e1:	33 f6                	xor    %esi,%esi
47e7e3:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
47e7e6:	e8 65 72 01 00       	call   0x495a50
47e7eb:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
47e7ee:	0b c7                	or     %edi,%eax
47e7f0:	0b d6                	or     %esi,%edx
47e7f2:	d3 e3                	shl    %cl,%ebx
47e7f4:	83 7d c8 03          	cmpl   $0x3,-0x38(%ebp)
47e7f8:	89 45 fc             	mov    %eax,-0x4(%ebp)
47e7fb:	89 55 dc             	mov    %edx,-0x24(%ebp)
47e7fe:	89 5d f8             	mov    %ebx,-0x8(%ebp)
47e801:	72 13                	jb     0x47e816
47e803:	8b 45 e8             	mov    -0x18(%ebp),%eax
47e806:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
47e809:	8b 40 fc             	mov    -0x4(%eax),%eax
47e80c:	d3 e8                	shr    %cl,%eax
47e80e:	0b d8                	or     %eax,%ebx
47e810:	8b 45 fc             	mov    -0x4(%ebp),%eax
47e813:	89 5d f8             	mov    %ebx,-0x8(%ebp)
47e816:	8b 75 d0             	mov    -0x30(%ebp),%esi
47e819:	6a 00                	push   $0x0
47e81b:	56                   	push   %esi
47e81c:	52                   	push   %edx
47e81d:	50                   	push   %eax
47e81e:	e8 3d bb fe ff       	call   0x46a360
47e823:	6a 00                	push   $0x0
47e825:	56                   	push   %esi
47e826:	ff 75 dc             	push   -0x24(%ebp)
47e829:	8b d8                	mov    %eax,%ebx
47e82b:	89 55 f0             	mov    %edx,-0x10(%ebp)
47e82e:	ff 75 fc             	push   -0x4(%ebp)
47e831:	89 5d cc             	mov    %ebx,-0x34(%ebp)
47e834:	89 5d bc             	mov    %ebx,-0x44(%ebp)
47e837:	89 55 c0             	mov    %edx,-0x40(%ebp)
47e83a:	e8 91 71 01 00       	call   0x4959d0
47e83f:	8b f8                	mov    %eax,%edi
47e841:	33 f6                	xor    %esi,%esi
47e843:	8b 45 f0             	mov    -0x10(%ebp),%eax
47e846:	89 75 fc             	mov    %esi,-0x4(%ebp)
47e849:	85 c0                	test   %eax,%eax
47e84b:	75 05                	jne    0x47e852
47e84d:	83 fb ff             	cmp    $0xffffffff,%ebx
47e850:	76 2a                	jbe    0x47e87c
47e852:	6a 00                	push   $0x0
47e854:	ff 75 d0             	push   -0x30(%ebp)
47e857:	83 c3 01             	add    $0x1,%ebx
47e85a:	83 d0 ff             	adc    $0xffffffff,%eax
47e85d:	50                   	push   %eax
47e85e:	53                   	push   %ebx
47e85f:	e8 bc ba fe ff       	call   0x46a320
47e864:	03 f8                	add    %eax,%edi
47e866:	13 f2                	adc    %edx,%esi
47e868:	83 cb ff             	or     $0xffffffff,%ebx
47e86b:	33 c0                	xor    %eax,%eax
47e86d:	89 75 fc             	mov    %esi,-0x4(%ebp)
47e870:	89 5d cc             	mov    %ebx,-0x34(%ebp)
47e873:	89 5d bc             	mov    %ebx,-0x44(%ebp)
47e876:	89 45 f0             	mov    %eax,-0x10(%ebp)
47e879:	89 45 c0             	mov    %eax,-0x40(%ebp)
47e87c:	85 f6                	test   %esi,%esi
47e87e:	77 50                	ja     0x47e8d0
47e880:	72 05                	jb     0x47e887
47e882:	83 ff ff             	cmp    $0xffffffff,%edi
47e885:	77 49                	ja     0x47e8d0
47e887:	50                   	push   %eax
47e888:	53                   	push   %ebx
47e889:	33 c9                	xor    %ecx,%ecx
47e88b:	8b f7                	mov    %edi,%esi
47e88d:	0b 4d f8             	or     -0x8(%ebp),%ecx
47e890:	6a 00                	push   $0x0
47e892:	ff 75 e0             	push   -0x20(%ebp)
47e895:	89 4d dc             	mov    %ecx,-0x24(%ebp)
47e898:	e8 83 ba fe ff       	call   0x46a320
47e89d:	3b d6                	cmp    %esi,%edx
47e89f:	72 29                	jb     0x47e8ca
47e8a1:	77 05                	ja     0x47e8a8
47e8a3:	3b 45 dc             	cmp    -0x24(%ebp),%eax
47e8a6:	76 22                	jbe    0x47e8ca
47e8a8:	8b 45 f0             	mov    -0x10(%ebp),%eax
47e8ab:	83 c3 ff             	add    $0xffffffff,%ebx
47e8ae:	89 5d bc             	mov    %ebx,-0x44(%ebp)
47e8b1:	83 d0 ff             	adc    $0xffffffff,%eax
47e8b4:	03 7d d0             	add    -0x30(%ebp),%edi
47e8b7:	89 45 f0             	mov    %eax,-0x10(%ebp)
47e8ba:	83 55 fc 00          	adcl   $0x0,-0x4(%ebp)
47e8be:	89 45 c0             	mov    %eax,-0x40(%ebp)
47e8c1:	75 0a                	jne    0x47e8cd
47e8c3:	83 ff ff             	cmp    $0xffffffff,%edi
47e8c6:	76 bf                	jbe    0x47e887
47e8c8:	eb 03                	jmp    0x47e8cd
47e8ca:	8b 45 f0             	mov    -0x10(%ebp),%eax
47e8cd:	89 5d cc             	mov    %ebx,-0x34(%ebp)
47e8d0:	85 c0                	test   %eax,%eax
47e8d2:	75 08                	jne    0x47e8dc
47e8d4:	85 db                	test   %ebx,%ebx
47e8d6:	0f 84 af 00 00 00    	je     0x47e98b
47e8dc:	8b 4d ec             	mov    -0x14(%ebp),%ecx
47e8df:	33 ff                	xor    %edi,%edi
47e8e1:	8b 45 0c             	mov    0xc(%ebp),%eax
47e8e4:	33 f6                	xor    %esi,%esi
47e8e6:	85 c9                	test   %ecx,%ecx
47e8e8:	74 55                	je     0x47e93f
47e8ea:	8b 5d c4             	mov    -0x3c(%ebp),%ebx
47e8ed:	83 c0 04             	add    $0x4,%eax
47e8f0:	89 45 f8             	mov    %eax,-0x8(%ebp)
47e8f3:	89 4d fc             	mov    %ecx,-0x4(%ebp)
47e8f6:	8b 00                	mov    (%eax),%eax
47e8f8:	89 45 dc             	mov    %eax,-0x24(%ebp)
47e8fb:	8b 45 c0             	mov    -0x40(%ebp),%eax
47e8fe:	f7 65 dc             	mull   -0x24(%ebp)
47e901:	8b c8                	mov    %eax,%ecx
47e903:	8b 45 bc             	mov    -0x44(%ebp),%eax
47e906:	f7 65 dc             	mull   -0x24(%ebp)
47e909:	03 d1                	add    %ecx,%edx
47e90b:	03 f8                	add    %eax,%edi
47e90d:	8b 03                	mov    (%ebx),%eax
47e90f:	8b cf                	mov    %edi,%ecx
47e911:	13 f2                	adc    %edx,%esi
47e913:	8b fe                	mov    %esi,%edi
47e915:	33 f6                	xor    %esi,%esi
47e917:	3b c1                	cmp    %ecx,%eax
47e919:	73 05                	jae    0x47e920
47e91b:	83 c7 01             	add    $0x1,%edi
47e91e:	13 f6                	adc    %esi,%esi
47e920:	2b c1                	sub    %ecx,%eax
47e922:	89 03                	mov    %eax,(%ebx)
47e924:	83 c3 04             	add    $0x4,%ebx
47e927:	8b 45 f8             	mov    -0x8(%ebp),%eax
47e92a:	83 c0 04             	add    $0x4,%eax
47e92d:	83 6d fc 01          	subl   $0x1,-0x4(%ebp)
47e931:	89 45 f8             	mov    %eax,-0x8(%ebp)
47e934:	75 c0                	jne    0x47e8f6
47e936:	8b 45 0c             	mov    0xc(%ebp),%eax
47e939:	8b 5d cc             	mov    -0x34(%ebp),%ebx
47e93c:	8b 4d ec             	mov    -0x14(%ebp),%ecx
47e93f:	83 c0 04             	add    $0x4,%eax
47e942:	89 45 dc             	mov    %eax,-0x24(%ebp)
47e945:	33 c0                	xor    %eax,%eax
47e947:	3b c6                	cmp    %esi,%eax
47e949:	77 39                	ja     0x47e984
47e94b:	72 05                	jb     0x47e952
47e94d:	39 7d b8             	cmp    %edi,-0x48(%ebp)
47e950:	73 32                	jae    0x47e984
47e952:	85 c9                	test   %ecx,%ecx
47e954:	74 2b                	je     0x47e981
47e956:	8b 55 c4             	mov    -0x3c(%ebp),%edx
47e959:	33 db                	xor    %ebx,%ebx
47e95b:	8b 75 dc             	mov    -0x24(%ebp),%esi
47e95e:	8b f9                	mov    %ecx,%edi
47e960:	8b 0a                	mov    (%edx),%ecx
47e962:	8d 76 04             	lea    0x4(%esi),%esi
47e965:	33 c0                	xor    %eax,%eax
47e967:	8d 52 04             	lea    0x4(%edx),%edx
47e96a:	03 4e fc             	add    -0x4(%esi),%ecx
47e96d:	13 c0                	adc    %eax,%eax
47e96f:	03 cb                	add    %ebx,%ecx
47e971:	89 4a fc             	mov    %ecx,-0x4(%edx)
47e974:	83 d0 00             	adc    $0x0,%eax
47e977:	8b d8                	mov    %eax,%ebx
47e979:	83 ef 01             	sub    $0x1,%edi
47e97c:	75 e2                	jne    0x47e960
47e97e:	8b 5d cc             	mov    -0x34(%ebp),%ebx
47e981:	83 c3 ff             	add    $0xffffffff,%ebx
47e984:	8b 45 c8             	mov    -0x38(%ebp),%eax
47e987:	48                   	dec    %eax
47e988:	89 45 f4             	mov    %eax,-0xc(%ebp)
47e98b:	8b 75 b4             	mov    -0x4c(%ebp),%esi
47e98e:	33 c0                	xor    %eax,%eax
47e990:	8b 4d e8             	mov    -0x18(%ebp),%ecx
47e993:	03 c3                	add    %ebx,%eax
47e995:	8b 5d b0             	mov    -0x50(%ebp),%ebx
47e998:	8b f8                	mov    %eax,%edi
47e99a:	8b 45 c8             	mov    -0x38(%ebp),%eax
47e99d:	83 d6 00             	adc    $0x0,%esi
47e9a0:	83 6d c4 04          	subl   $0x4,-0x3c(%ebp)
47e9a4:	4b                   	dec    %ebx
47e9a5:	48                   	dec    %eax
47e9a6:	89 7d b4             	mov    %edi,-0x4c(%ebp)
47e9a9:	83 e9 04             	sub    $0x4,%ecx
47e9ac:	89 5d b0             	mov    %ebx,-0x50(%ebp)
47e9af:	89 45 c8             	mov    %eax,-0x38(%ebp)
47e9b2:	89 4d e8             	mov    %ecx,-0x18(%ebp)
47e9b5:	85 db                	test   %ebx,%ebx
47e9b7:	0f 89 f3 fd ff ff    	jns    0x47e7b0
47e9bd:	eb 02                	jmp    0x47e9c1
47e9bf:	33 ff                	xor    %edi,%edi
47e9c1:	8b 4d f4             	mov    -0xc(%ebp),%ecx
47e9c4:	8b 5d 08             	mov    0x8(%ebp),%ebx
47e9c7:	41                   	inc    %ecx
47e9c8:	8b c1                	mov    %ecx,%eax
47e9ca:	3b 03                	cmp    (%ebx),%eax
47e9cc:	73 14                	jae    0x47e9e2
47e9ce:	8d 53 04             	lea    0x4(%ebx),%edx
47e9d1:	8d 14 82             	lea    (%edx,%eax,4),%edx
47e9d4:	c7 02 00 00 00 00    	movl   $0x0,(%edx)
47e9da:	8d 52 04             	lea    0x4(%edx),%edx
47e9dd:	40                   	inc    %eax
47e9de:	3b 03                	cmp    (%ebx),%eax
47e9e0:	72 f2                	jb     0x47e9d4
47e9e2:	89 0b                	mov    %ecx,(%ebx)
47e9e4:	85 c9                	test   %ecx,%ecx
47e9e6:	74 0d                	je     0x47e9f5
47e9e8:	83 3c 8b 00          	cmpl   $0x0,(%ebx,%ecx,4)
47e9ec:	75 07                	jne    0x47e9f5
47e9ee:	83 c1 ff             	add    $0xffffffff,%ecx
47e9f1:	89 0b                	mov    %ecx,(%ebx)
47e9f3:	75 f3                	jne    0x47e9e8
47e9f5:	8b c7                	mov    %edi,%eax
47e9f7:	8b d6                	mov    %esi,%edx
47e9f9:	5f                   	pop    %edi
47e9fa:	5e                   	pop    %esi
47e9fb:	5b                   	pop    %ebx
47e9fc:	8b e5                	mov    %ebp,%esp
47e9fe:	5d                   	pop    %ebp
47e9ff:	c3                   	ret
47ea00:	5f                   	pop    %edi
47ea01:	5e                   	pop    %esi
47ea02:	33 c0                	xor    %eax,%eax
47ea04:	33 d2                	xor    %edx,%edx
47ea06:	5b                   	pop    %ebx
47ea07:	8b e5                	mov    %ebp,%esp
47ea09:	5d                   	pop    %ebp
47ea0a:	c3                   	ret
47ea0b:	80 79 04 00          	cmpb   $0x0,0x4(%ecx)
47ea0f:	74 09                	je     0x47ea1a
47ea11:	83 c8 ff             	or     $0xffffffff,%eax
47ea14:	ba ff ff 1f 00       	mov    $0x1fffff,%edx
47ea19:	c3                   	ret
47ea1a:	b8 ff ff ff 00       	mov    $0xffffff,%eax
47ea1f:	33 d2                	xor    %edx,%edx
47ea21:	c3                   	ret
47ea22:	8b ff                	mov    %edi,%edi
47ea24:	55                   	push   %ebp
47ea25:	8b ec                	mov    %esp,%ebp
47ea27:	8b 4d 10             	mov    0x10(%ebp),%ecx
47ea2a:	85 c9                	test   %ecx,%ecx
47ea2c:	75 16                	jne    0x47ea44
47ea2e:	ff 75 0c             	push   0xc(%ebp)
47ea31:	ff 75 08             	push   0x8(%ebp)
47ea34:	e8 33 37 00 00       	call   0x48216c
47ea39:	50                   	push   %eax
47ea3a:	e8 50 a8 ff ff       	call   0x47928f
47ea3f:	83 c4 0c             	add    $0xc,%esp
47ea42:	5d                   	pop    %ebp
47ea43:	c3                   	ret
47ea44:	8b 55 08             	mov    0x8(%ebp),%edx
47ea47:	56                   	push   %esi
47ea48:	8b 31                	mov    (%ecx),%esi
47ea4a:	8d 42 01             	lea    0x1(%edx),%eax
47ea4d:	3d 00 01 00 00       	cmp    $0x100,%eax
47ea52:	77 0b                	ja     0x47ea5f
47ea54:	8b 06                	mov    (%esi),%eax
47ea56:	0f b7 04 50          	movzwl (%eax,%edx,2),%eax
47ea5a:	23 45 0c             	and    0xc(%ebp),%eax
47ea5d:	eb 17                	jmp    0x47ea76
47ea5f:	83 7e 04 01          	cmpl   $0x1,0x4(%esi)
47ea63:	7e 0f                	jle    0x47ea74
47ea65:	51                   	push   %ecx
47ea66:	ff 75 0c             	push   0xc(%ebp)
47ea69:	52                   	push   %edx
47ea6a:	e8 9a ae 00 00       	call   0x489909
47ea6f:	83 c4 0c             	add    $0xc,%esp
47ea72:	eb 02                	jmp    0x47ea76
47ea74:	33 c0                	xor    %eax,%eax
47ea76:	5e                   	pop    %esi
47ea77:	5d                   	pop    %ebp
47ea78:	c3                   	ret
47ea79:	8b ff                	mov    %edi,%edi
47ea7b:	55                   	push   %ebp
47ea7c:	8b ec                	mov    %esp,%ebp
47ea7e:	6a 00                	push   $0x0
47ea80:	ff 75 0c             	push   0xc(%ebp)
47ea83:	ff 75 08             	push   0x8(%ebp)
47ea86:	e8 23 bc ff ff       	call   0x47a6ae
47ea8b:	83 c4 0c             	add    $0xc,%esp
47ea8e:	5d                   	pop    %ebp
47ea8f:	c3                   	ret
47ea90:	8b ff                	mov    %edi,%edi
47ea92:	55                   	push   %ebp
47ea93:	8b ec                	mov    %esp,%ebp
47ea95:	6a 00                	push   $0x0
47ea97:	ff 75 0c             	push   0xc(%ebp)
47ea9a:	ff 75 08             	push   0x8(%ebp)
47ea9d:	e8 7d bb ff ff       	call   0x47a61f
47eaa2:	83 c4 0c             	add    $0xc,%esp
47eaa5:	5d                   	pop    %ebp
47eaa6:	c3                   	ret
47eaa7:	8b ff                	mov    %edi,%edi
47eaa9:	55                   	push   %ebp
47eaaa:	8b ec                	mov    %esp,%ebp
47eaac:	6a 00                	push   $0x0
47eaae:	ff 75 0c             	push   0xc(%ebp)
47eab1:	ff 75 08             	push   0x8(%ebp)
47eab4:	e8 7e bc ff ff       	call   0x47a737
47eab9:	83 c4 0c             	add    $0xc,%esp
47eabc:	5d                   	pop    %ebp
47eabd:	c3                   	ret
47eabe:	cc                   	int3
47eabf:	cc                   	int3
47eac0:	55                   	push   %ebp
47eac1:	8b ec                	mov    %esp,%ebp
47eac3:	56                   	push   %esi
47eac4:	33 c0                	xor    %eax,%eax
47eac6:	50                   	push   %eax
47eac7:	50                   	push   %eax
47eac8:	50                   	push   %eax
47eac9:	50                   	push   %eax
47eaca:	50                   	push   %eax
47eacb:	50                   	push   %eax
47eacc:	50                   	push   %eax
47eacd:	50                   	push   %eax
47eace:	8b 55 0c             	mov    0xc(%ebp),%edx
47ead1:	8d 49 00             	lea    0x0(%ecx),%ecx
47ead4:	8a 02                	mov    (%edx),%al
47ead6:	0a c0                	or     %al,%al
47ead8:	74 09                	je     0x47eae3
47eada:	83 c2 01             	add    $0x1,%edx
47eadd:	0f ab 04 24          	bts    %eax,(%esp)
47eae1:	eb f1                	jmp    0x47ead4
47eae3:	8b 75 08             	mov    0x8(%ebp),%esi
47eae6:	83 c9 ff             	or     $0xffffffff,%ecx
47eae9:	8d 49 00             	lea    0x0(%ecx),%ecx
47eaec:	83 c1 01             	add    $0x1,%ecx
47eaef:	8a 06                	mov    (%esi),%al
47eaf1:	0a c0                	or     %al,%al
47eaf3:	74 09                	je     0x47eafe
47eaf5:	83 c6 01             	add    $0x1,%esi
47eaf8:	0f a3 04 24          	bt     %eax,(%esp)
47eafc:	73 ee                	jae    0x47eaec
47eafe:	8b c1                	mov    %ecx,%eax
47eb00:	83 c4 20             	add    $0x20,%esp
47eb03:	5e                   	pop    %esi