476775:	8b 01                	mov    (%ecx),%eax
476777:	eb 40                	jmp    0x4767b9
476779:	8b 7e 1c             	mov    0x1c(%esi),%edi
47677c:	8b c7                	mov    %edi,%eax
47677e:	8b 4e 10             	mov    0x10(%esi),%ecx
476781:	c1 e8 04             	shr    $0x4,%eax
476784:	a8 01                	test   $0x1,%al
476786:	8d 41 04             	lea    0x4(%ecx),%eax
476789:	89 46 10             	mov    %eax,0x10(%esi)
47678c:	74 05                	je     0x476793
47678e:	0f bf 01             	movswl (%ecx),%eax
476791:	eb 22                	jmp    0x4767b5
476793:	0f b7 01             	movzwl (%ecx),%eax
476796:	eb 1d                	jmp    0x4767b5
476798:	8b 7e 1c             	mov    0x1c(%esi),%edi
47679b:	8b c7                	mov    %edi,%eax
47679d:	8b 4e 10             	mov    0x10(%esi),%ecx
4767a0:	c1 e8 04             	shr    $0x4,%eax
4767a3:	a8 01                	test   $0x1,%al
4767a5:	8d 41 04             	lea    0x4(%ecx),%eax
4767a8:	89 46 10             	mov    %eax,0x10(%esi)
4767ab:	74 05                	je     0x4767b2
4767ad:	0f be 01             	movsbl (%ecx),%eax
4767b0:	eb 03                	jmp    0x4767b5
4767b2:	0f b6 01             	movzbl (%ecx),%eax
4767b5:	99                   	cltd
4767b6:	89 55 f8             	mov    %edx,-0x8(%ebp)
4767b9:	8b 55 f8             	mov    -0x8(%ebp),%edx
4767bc:	89 45 fc             	mov    %eax,-0x4(%ebp)
4767bf:	8b c7                	mov    %edi,%eax
4767c1:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4767c4:	c1 e8 04             	shr    $0x4,%eax
4767c7:	a8 01                	test   $0x1,%al
4767c9:	74 16                	je     0x4767e1
4767cb:	3b d3                	cmp    %ebx,%edx
4767cd:	7f 12                	jg     0x4767e1
4767cf:	7c 04                	jl     0x4767d5
4767d1:	3b cb                	cmp    %ebx,%ecx
4767d3:	73 0c                	jae    0x4767e1
4767d5:	f7 d9                	neg    %ecx
4767d7:	13 d3                	adc    %ebx,%edx
4767d9:	f7 da                	neg    %edx
4767db:	83 cf 40             	or     $0x40,%edi
4767de:	89 7e 1c             	mov    %edi,0x1c(%esi)
4767e1:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
4767e5:	89 55 f8             	mov    %edx,-0x8(%ebp)
4767e8:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4767eb:	7d 09                	jge    0x4767f6
4767ed:	c7 46 24 01 00 00 00 	movl   $0x1,0x24(%esi)
4767f4:	eb 1a                	jmp    0x476810
4767f6:	ff 76 08             	push   0x8(%esi)
4767f9:	83 e7 f7             	and    $0xfffffff7,%edi
4767fc:	8d 4e 3c             	lea    0x3c(%esi),%ecx
4767ff:	ff 76 24             	push   0x24(%esi)
476802:	89 7e 1c             	mov    %edi,0x1c(%esi)
476805:	e8 d2 f0 ff ff       	call   0x4758dc
47680a:	8b 4d fc             	mov    -0x4(%ebp),%ecx
47680d:	8b 55 f8             	mov    -0x8(%ebp),%edx
476810:	8b c1                	mov    %ecx,%eax
476812:	0b c2                	or     %edx,%eax
476814:	75 04                	jne    0x47681a
476816:	83 66 1c df          	andl   $0xffffffdf,0x1c(%esi)
47681a:	83 7d f4 08          	cmpl   $0x8,-0xc(%ebp)
47681e:	ff 75 08             	push   0x8(%ebp)
476821:	c6 46 38 01          	movb   $0x1,0x38(%esi)
476825:	75 0b                	jne    0x476832
476827:	52                   	push   %edx
476828:	51                   	push   %ecx
476829:	8b ce                	mov    %esi,%ecx
47682b:	e8 ff 07 00 00       	call   0x47702f
476830:	eb 08                	jmp    0x47683a
476832:	51                   	push   %ecx
476833:	8b ce                	mov    %esi,%ecx
476835:	e8 ac 04 00 00       	call   0x476ce6
47683a:	8b 46 1c             	mov    0x1c(%esi),%eax
47683d:	c1 e8 07             	shr    $0x7,%eax
476840:	a8 01                	test   $0x1,%al
476842:	74 1d                	je     0x476861
476844:	6a 30                	push   $0x30
476846:	5a                   	pop    %edx
476847:	39 5e 34             	cmp    %ebx,0x34(%esi)
47684a:	74 08                	je     0x476854
47684c:	8b 46 30             	mov    0x30(%esi),%eax
47684f:	66 39 10             	cmp    %dx,(%eax)
476852:	74 0d                	je     0x476861
476854:	83 46 30 fe          	addl   $0xfffffffe,0x30(%esi)
476858:	8b 4e 30             	mov    0x30(%esi),%ecx
47685b:	66 89 11             	mov    %dx,(%ecx)
47685e:	ff 46 34             	incl   0x34(%esi)
476861:	b0 01                	mov    $0x1,%al
476863:	5f                   	pop    %edi
476864:	5e                   	pop    %esi
476865:	5b                   	pop    %ebx
476866:	c9                   	leave
476867:	c2 04 00             	ret    $0x4
47686a:	8b ff                	mov    %edi,%edi
47686c:	55                   	push   %ebp
47686d:	8b ec                	mov    %esp,%ebp
47686f:	83 ec 0c             	sub    $0xc,%esp
476872:	53                   	push   %ebx
476873:	56                   	push   %esi
476874:	8b f1                	mov    %ecx,%esi
476876:	57                   	push   %edi
476877:	ff 76 28             	push   0x28(%esi)
47687a:	e8 7d 20 00 00       	call   0x4788fc
47687f:	59                   	pop    %ecx
476880:	8b c8                	mov    %eax,%ecx
476882:	89 45 f4             	mov    %eax,-0xc(%ebp)
476885:	6a 00                	push   $0x0
476887:	5b                   	pop    %ebx
476888:	83 e9 01             	sub    $0x1,%ecx
47688b:	0f 84 99 00 00 00    	je     0x47692a
476891:	83 e9 01             	sub    $0x1,%ecx
476894:	74 75                	je     0x47690b
476896:	49                   	dec    %ecx
476897:	83 e9 01             	sub    $0x1,%ecx
47689a:	74 46                	je     0x4768e2
47689c:	83 e9 04             	sub    $0x4,%ecx
47689f:	74 27                	je     0x4768c8
4768a1:	8b 46 08             	mov    0x8(%esi),%eax
4768a4:	83 c0 18             	add    $0x18,%eax
4768a7:	c6 40 04 01          	movb   $0x1,0x4(%eax)
4768ab:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4768b1:	ff 76 08             	push   0x8(%esi)
4768b4:	53                   	push   %ebx
4768b5:	53                   	push   %ebx
4768b6:	53                   	push   %ebx
4768b7:	53                   	push   %ebx
4768b8:	53                   	push   %ebx
4768b9:	e8 e6 2c 00 00       	call   0x4795a4
4768be:	83 c4 18             	add    $0x18,%esp
4768c1:	32 c0                	xor    %al,%al
4768c3:	e9 28 01 00 00       	jmp    0x4769f0
4768c8:	8b 4e 10             	mov    0x10(%esi),%ecx
4768cb:	8b 7e 1c             	mov    0x1c(%esi),%edi
4768ce:	8b c7                	mov    %edi,%eax
4768d0:	c1 e8 04             	shr    $0x4,%eax
4768d3:	a8 01                	test   $0x1,%al
4768d5:	8d 41 08             	lea    0x8(%ecx),%eax
4768d8:	89 46 10             	mov    %eax,0x10(%esi)
4768db:	8b 01                	mov    (%ecx),%eax
4768dd:	8b 51 04             	mov    0x4(%ecx),%edx
4768e0:	eb 66                	jmp    0x476948
4768e2:	8b 7e 1c             	mov    0x1c(%esi),%edi
4768e5:	8b c7                	mov    %edi,%eax
4768e7:	c1 e8 04             	shr    $0x4,%eax
4768ea:	a8 01                	test   $0x1,%al
4768ec:	74 0d                	je     0x4768fb
4768ee:	8b 46 10             	mov    0x10(%esi),%eax
4768f1:	8d 48 04             	lea    0x4(%eax),%ecx
4768f4:	89 4e 10             	mov    %ecx,0x10(%esi)
4768f7:	8b 00                	mov    (%eax),%eax
4768f9:	eb 4c                	jmp    0x476947
4768fb:	8b 4e 10             	mov    0x10(%esi),%ecx
4768fe:	89 5d f8             	mov    %ebx,-0x8(%ebp)
476901:	8d 41 04             	lea    0x4(%ecx),%eax
476904:	89 46 10             	mov    %eax,0x10(%esi)
476907:	8b 01                	mov    (%ecx),%eax
476909:	eb 40                	jmp    0x47694b
47690b:	8b 7e 1c             	mov    0x1c(%esi),%edi
47690e:	8b c7                	mov    %edi,%eax
476910:	8b 4e 10             	mov    0x10(%esi),%ecx
476913:	c1 e8 04             	shr    $0x4,%eax
476916:	a8 01                	test   $0x1,%al
476918:	8d 41 04             	lea    0x4(%ecx),%eax
47691b:	89 46 10             	mov    %eax,0x10(%esi)
47691e:	74 05                	je     0x476925
476920:	0f bf 01             	movswl (%ecx),%eax
476923:	eb 22                	jmp    0x476947
476925:	0f b7 01             	movzwl (%ecx),%eax
476928:	eb 1d                	jmp    0x476947
47692a:	8b 7e 1c             	mov    0x1c(%esi),%edi
47692d:	8b c7                	mov    %edi,%eax
47692f:	8b 4e 10             	mov    0x10(%esi),%ecx
476932:	c1 e8 04             	shr    $0x4,%eax
476935:	a8 01                	test   $0x1,%al
476937:	8d 41 04             	lea    0x4(%ecx),%eax
47693a:	89 46 10             	mov    %eax,0x10(%esi)
47693d:	74 05                	je     0x476944
47693f:	0f be 01             	movsbl (%ecx),%eax
476942:	eb 03                	jmp    0x476947
476944:	0f b6 01             	movzbl (%ecx),%eax
476947:	99                   	cltd
476948:	89 55 f8             	mov    %edx,-0x8(%ebp)
47694b:	8b 55 f8             	mov    -0x8(%ebp),%edx
47694e:	89 45 fc             	mov    %eax,-0x4(%ebp)
476951:	8b c7                	mov    %edi,%eax
476953:	8b 4d fc             	mov    -0x4(%ebp),%ecx
476956:	c1 e8 04             	shr    $0x4,%eax
476959:	a8 01                	test   $0x1,%al
47695b:	74 16                	je     0x476973
47695d:	3b d3                	cmp    %ebx,%edx
47695f:	7f 12                	jg     0x476973
476961:	7c 04                	jl     0x476967
476963:	3b cb                	cmp    %ebx,%ecx
476965:	73 0c                	jae    0x476973
476967:	f7 d9                	neg    %ecx
476969:	13 d3                	adc    %ebx,%edx
47696b:	f7 da                	neg    %edx
47696d:	83 cf 40             	or     $0x40,%edi
476970:	89 7e 1c             	mov    %edi,0x1c(%esi)
476973:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
476977:	89 55 f8             	mov    %edx,-0x8(%ebp)
47697a:	89 4d fc             	mov    %ecx,-0x4(%ebp)
47697d:	7d 09                	jge    0x476988
47697f:	c7 46 24 01 00 00 00 	movl   $0x1,0x24(%esi)
476986:	eb 1a                	jmp    0x4769a2
476988:	ff 76 08             	push   0x8(%esi)
47698b:	83 e7 f7             	and    $0xfffffff7,%edi
47698e:	8d 4e 3c             	lea    0x3c(%esi),%ecx
476991:	ff 76 24             	push   0x24(%esi)
476994:	89 7e 1c             	mov    %edi,0x1c(%esi)
476997:	e8 bf ee ff ff       	call   0x47585b
47699c:	8b 4d fc             	mov    -0x4(%ebp),%ecx
47699f:	8b 55 f8             	mov    -0x8(%ebp),%edx
4769a2:	8b c1                	mov    %ecx,%eax
4769a4:	0b c2                	or     %edx,%eax
4769a6:	75 04                	jne    0x4769ac
4769a8:	83 66 1c df          	andl   $0xffffffdf,0x1c(%esi)
4769ac:	83 7d f4 08          	cmpl   $0x8,-0xc(%ebp)
4769b0:	ff 75 08             	push   0x8(%ebp)
4769b3:	88 5e 38             	mov    %bl,0x38(%esi)
4769b6:	75 0b                	jne    0x4769c3
4769b8:	52                   	push   %edx
4769b9:	51                   	push   %ecx
4769ba:	8b ce                	mov    %esi,%ecx
4769bc:	e8 2b 07 00 00       	call   0x4770ec
4769c1:	eb 08                	jmp    0x4769cb
4769c3:	51                   	push   %ecx
4769c4:	8b ce                	mov    %esi,%ecx
4769c6:	e8 b7 03 00 00       	call   0x476d82
4769cb:	8b 46 1c             	mov    0x1c(%esi),%eax
4769ce:	c1 e8 07             	shr    $0x7,%eax
4769d1:	a8 01                	test   $0x1,%al
4769d3:	74 19                	je     0x4769ee
4769d5:	39 5e 34             	cmp    %ebx,0x34(%esi)
4769d8:	74 08                	je     0x4769e2
4769da:	8b 46 30             	mov    0x30(%esi),%eax
4769dd:	80 38 30             	cmpb   $0x30,(%eax)
4769e0:	74 0c                	je     0x4769ee
4769e2:	ff 4e 30             	decl   0x30(%esi)
4769e5:	8b 4e 30             	mov    0x30(%esi),%ecx
4769e8:	c6 01 30             	movb   $0x30,(%ecx)
4769eb:	ff 46 34             	incl   0x34(%esi)
4769ee:	b0 01                	mov    $0x1,%al
4769f0:	5f                   	pop    %edi
4769f1:	5e                   	pop    %esi
4769f2:	5b                   	pop    %ebx
4769f3:	c9                   	leave
4769f4:	c2 04 00             	ret    $0x4
4769f7:	8b ff                	mov    %edi,%edi
4769f9:	55                   	push   %ebp
4769fa:	8b ec                	mov    %esp,%ebp
4769fc:	83 ec 0c             	sub    $0xc,%esp
4769ff:	53                   	push   %ebx
476a00:	56                   	push   %esi
476a01:	8b f1                	mov    %ecx,%esi
476a03:	57                   	push   %edi
476a04:	ff 76 28             	push   0x28(%esi)
476a07:	e8 f0 1e 00 00       	call   0x4788fc
476a0c:	59                   	pop    %ecx
476a0d:	8b c8                	mov    %eax,%ecx
476a0f:	89 45 f4             	mov    %eax,-0xc(%ebp)
476a12:	6a 00                	push   $0x0
476a14:	5b                   	pop    %ebx
476a15:	83 e9 01             	sub    $0x1,%ecx
476a18:	0f 84 99 00 00 00    	je     0x476ab7
476a1e:	83 e9 01             	sub    $0x1,%ecx
476a21:	74 75                	je     0x476a98
476a23:	49                   	dec    %ecx
476a24:	83 e9 01             	sub    $0x1,%ecx
476a27:	74 46                	je     0x476a6f
476a29:	83 e9 04             	sub    $0x4,%ecx
476a2c:	74 27                	je     0x476a55
476a2e:	8b 46 08             	mov    0x8(%esi),%eax
476a31:	83 c0 18             	add    $0x18,%eax
476a34:	c6 40 04 01          	movb   $0x1,0x4(%eax)
476a38:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
476a3e:	ff 76 08             	push   0x8(%esi)
476a41:	53                   	push   %ebx
476a42:	53                   	push   %ebx
476a43:	53                   	push   %ebx
476a44:	53                   	push   %ebx
476a45:	53                   	push   %ebx
476a46:	e8 59 2b 00 00       	call   0x4795a4
476a4b:	83 c4 18             	add    $0x18,%esp
476a4e:	32 c0                	xor    %al,%al
476a50:	e9 2d 01 00 00       	jmp    0x476b82
476a55:	8b 4e 10             	mov    0x10(%esi),%ecx
476a58:	8b 7e 1c             	mov    0x1c(%esi),%edi
476a5b:	8b c7                	mov    %edi,%eax
476a5d:	c1 e8 04             	shr    $0x4,%eax
476a60:	a8 01                	test   $0x1,%al
476a62:	8d 41 08             	lea    0x8(%ecx),%eax
476a65:	89 46 10             	mov    %eax,0x10(%esi)
476a68:	8b 01                	mov    (%ecx),%eax
476a6a:	8b 51 04             	mov    0x4(%ecx),%edx
476a6d:	eb 66                	jmp    0x476ad5
476a6f:	8b 7e 1c             	mov    0x1c(%esi),%edi
476a72:	8b c7                	mov    %edi,%eax
476a74:	c1 e8 04             	shr    $0x4,%eax
476a77:	a8 01                	test   $0x1,%al
476a79:	74 0d                	je     0x476a88
476a7b:	8b 46 10             	mov    0x10(%esi),%eax
476a7e:	8d 48 04             	lea    0x4(%eax),%ecx
476a81:	89 4e 10             	mov    %ecx,0x10(%esi)
476a84:	8b 00                	mov    (%eax),%eax
476a86:	eb 4c                	jmp    0x476ad4
476a88:	8b 4e 10             	mov    0x10(%esi),%ecx
476a8b:	89 5d f8             	mov    %ebx,-0x8(%ebp)
476a8e:	8d 41 04             	lea    0x4(%ecx),%eax
476a91:	89 46 10             	mov    %eax,0x10(%esi)
476a94:	8b 01                	mov    (%ecx),%eax
476a96:	eb 40                	jmp    0x476ad8
476a98:	8b 7e 1c             	mov    0x1c(%esi),%edi
476a9b:	8b c7                	mov    %edi,%eax
476a9d:	8b 4e 10             	mov    0x10(%esi),%ecx
476aa0:	c1 e8 04             	shr    $0x4,%eax
476aa3:	a8 01                	test   $0x1,%al
476aa5:	8d 41 04             	lea    0x4(%ecx),%eax
476aa8:	89 46 10             	mov    %eax,0x10(%esi)
476aab:	74 05                	je     0x476ab2
476aad:	0f bf 01             	movswl (%ecx),%eax
476ab0:	eb 22                	jmp    0x476ad4
476ab2:	0f b7 01             	movzwl (%ecx),%eax
476ab5:	eb 1d                	jmp    0x476ad4
476ab7:	8b 7e 1c             	mov    0x1c(%esi),%edi
476aba:	8b c7                	mov    %edi,%eax
476abc:	8b 4e 10             	mov    0x10(%esi),%ecx
476abf:	c1 e8 04             	shr    $0x4,%eax
476ac2:	a8 01                	test   $0x1,%al
476ac4:	8d 41 04             	lea    0x4(%ecx),%eax
476ac7:	89 46 10             	mov    %eax,0x10(%esi)
476aca:	74 05                	je     0x476ad1
476acc:	0f be 01             	movsbl (%ecx),%eax
476acf:	eb 03                	jmp    0x476ad4
476ad1:	0f b6 01             	movzbl (%ecx),%eax
476ad4:	99                   	cltd
476ad5:	89 55 f8             	mov    %edx,-0x8(%ebp)
476ad8:	8b 55 f8             	mov    -0x8(%ebp),%edx
476adb:	89 45 fc             	mov    %eax,-0x4(%ebp)
476ade:	8b c7                	mov    %edi,%eax
476ae0:	8b 4d fc             	mov    -0x4(%ebp),%ecx
476ae3:	c1 e8 04             	shr    $0x4,%eax
476ae6:	a8 01                	test   $0x1,%al
476ae8:	74 16                	je     0x476b00
476aea:	3b d3                	cmp    %ebx,%edx
476aec:	7f 12                	jg     0x476b00
476aee:	7c 04                	jl     0x476af4
476af0:	3b cb                	cmp    %ebx,%ecx