56891c:	0f 8c 1d 02 00 00    	jl     0x568b3f
568922:	f7 06 ff 50 00 00    	testl  $0x50ff,(%esi)
568928:	0f 85 11 02 00 00    	jne    0x568b3f
56892e:	8b 55 d4             	mov    -0x2c(%ebp),%edx
568931:	c1 e2 02             	shl    $0x2,%edx
568934:	03 f2                	add    %edx,%esi
568936:	8b 0e                	mov    (%esi),%ecx
568938:	81 e1 ff 50 00 00    	and    $0x50ff,%ecx
56893e:	83 f9 01             	cmp    $0x1,%ecx
568941:	1b c0                	sbb    %eax,%eax
568943:	f7 d8                	neg    %eax
568945:	85 c0                	test   %eax,%eax
568947:	0f 84 f2 01 00 00    	je     0x568b3f
56894d:	8b 55 d4             	mov    -0x2c(%ebp),%edx
568950:	c1 e2 02             	shl    $0x2,%edx
568953:	03 f2                	add    %edx,%esi
568955:	8b 0e                	mov    (%esi),%ecx
568957:	81 e1 ff 50 00 00    	and    $0x50ff,%ecx
56895d:	83 f9 01             	cmp    $0x1,%ecx
568960:	1b c0                	sbb    %eax,%eax
568962:	f7 d8                	neg    %eax
568964:	85 c0                	test   %eax,%eax
568966:	0f 84 d3 01 00 00    	je     0x568b3f
56896c:	8b 55 d4             	mov    -0x2c(%ebp),%edx
56896f:	c1 e2 02             	shl    $0x2,%edx
568972:	03 f2                	add    %edx,%esi
568974:	8b 0e                	mov    (%esi),%ecx
568976:	81 e1 ff 50 00 00    	and    $0x50ff,%ecx
56897c:	83 f9 01             	cmp    $0x1,%ecx
56897f:	1b c0                	sbb    %eax,%eax
568981:	f7 d8                	neg    %eax
568983:	85 c0                	test   %eax,%eax
568985:	0f 84 b4 01 00 00    	je     0x568b3f
56898b:	8b 7d b8             	mov    -0x48(%ebp),%edi
56898e:	33 c0                	xor    %eax,%eax
568990:	89 45 ec             	mov    %eax,-0x14(%ebp)
568993:	8b 55 ec             	mov    -0x14(%ebp),%edx
568996:	8b 4d e8             	mov    -0x18(%ebp),%ecx
568999:	3b d1                	cmp    %ecx,%edx
56899b:	7d 30                	jge    0x5689cd
56899d:	8b 07                	mov    (%edi),%eax
56899f:	99                   	cltd
5689a0:	33 c2                	xor    %edx,%eax
5689a2:	2b c2                	sub    %edx,%eax
5689a4:	8b 4d d8             	mov    -0x28(%ebp),%ecx
5689a7:	23 c1                	and    %ecx,%eax
5689a9:	74 07                	je     0x5689b2
5689ab:	b8 01 00 00 00       	mov    $0x1,%eax
5689b0:	eb 02                	jmp    0x5689b4
5689b2:	33 c0                	xor    %eax,%eax
5689b4:	85 c0                	test   %eax,%eax
5689b6:	75 15                	jne    0x5689cd
5689b8:	8b 55 d0             	mov    -0x30(%ebp),%edx
5689bb:	ff 45 ec             	incl   -0x14(%ebp)
5689be:	c1 e2 02             	shl    $0x2,%edx
5689c1:	8b 4d ec             	mov    -0x14(%ebp),%ecx
5689c4:	03 fa                	add    %edx,%edi
5689c6:	8b 45 e8             	mov    -0x18(%ebp),%eax
5689c9:	3b c8                	cmp    %eax,%ecx
5689cb:	7c d0                	jl     0x56899d
5689cd:	8b 55 ec             	mov    -0x14(%ebp),%edx
5689d0:	89 55 e4             	mov    %edx,-0x1c(%ebp)
5689d3:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
5689d6:	83 f9 04             	cmp    $0x4,%ecx
5689d9:	7c 4c                	jl     0x568a27
5689db:	8b 43 10             	mov    0x10(%ebx),%eax
5689de:	89 43 14             	mov    %eax,0x14(%ebx)
5689e1:	8b 53 14             	mov    0x14(%ebx),%edx
5689e4:	8b 0a                	mov    (%edx),%ecx
5689e6:	66 83 79 02 00       	cmpw   $0x0,0x2(%ecx)
5689eb:	75 2e                	jne    0x568a1b
5689ed:	8b 43 14             	mov    0x14(%ebx),%eax
5689f0:	8b 10                	mov    (%eax),%edx
5689f2:	0f b7 0a             	movzwl (%edx),%ecx
5689f5:	29 4b 04             	sub    %ecx,0x4(%ebx)
5689f8:	f6 43 05 80          	testb  $0x80,0x5(%ebx)
5689fc:	75 0c                	jne    0x568a0a
5689fe:	8b c3                	mov    %ebx,%eax
568a00:	e8 47 9a 00 00       	call   0x57244c
568a05:	e9 30 0a 00 00       	jmp    0x56943a
568a0a:	8b 53 14             	mov    0x14(%ebx),%edx
568a0d:	8b 0a                	mov    (%edx),%ecx
568a0f:	0f b7 01             	movzwl (%ecx),%eax
568a12:	01 03                	add    %eax,(%ebx)
568a14:	8b 03                	mov    (%ebx),%eax
568a16:	e9 1f 0a 00 00       	jmp    0x56943a
568a1b:	8b c3                	mov    %ebx,%eax
568a1d:	e8 0a 9d 00 00       	call   0x57272c
568a22:	e9 13 0a 00 00       	jmp    0x56943a
568a27:	8b 53 10             	mov    0x10(%ebx),%edx
568a2a:	89 53 14             	mov    %edx,0x14(%ebx)
568a2d:	8b 4b 14             	mov    0x14(%ebx),%ecx
568a30:	8b 01                	mov    (%ecx),%eax
568a32:	66 83 78 02 01       	cmpw   $0x1,0x2(%eax)
568a37:	75 28                	jne    0x568a61
568a39:	8b 53 14             	mov    0x14(%ebx),%edx
568a3c:	8b 0a                	mov    (%edx),%ecx
568a3e:	0f b7 01             	movzwl (%ecx),%eax
568a41:	29 43 04             	sub    %eax,0x4(%ebx)
568a44:	f6 43 05 80          	testb  $0x80,0x5(%ebx)
568a48:	75 09                	jne    0x568a53
568a4a:	8b c3                	mov    %ebx,%eax
568a4c:	e8 fb 99 00 00       	call   0x57244c
568a51:	eb 15                	jmp    0x568a68
568a53:	8b 53 14             	mov    0x14(%ebx),%edx
568a56:	8b 0a                	mov    (%edx),%ecx
568a58:	0f b7 01             	movzwl (%ecx),%eax
568a5b:	01 03                	add    %eax,(%ebx)
568a5d:	8b 03                	mov    (%ebx),%eax
568a5f:	eb 07                	jmp    0x568a68
568a61:	8b c3                	mov    %ebx,%eax
568a63:	e8 c4 9c 00 00       	call   0x57272c
568a68:	8b 53 10             	mov    0x10(%ebx),%edx
568a6b:	83 c2 48             	add    $0x48,%edx
568a6e:	89 53 14             	mov    %edx,0x14(%ebx)
568a71:	8b 4b 14             	mov    0x14(%ebx),%ecx
568a74:	8b 01                	mov    (%ecx),%eax
568a76:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
568a79:	d1 f9                	sar    $1,%ecx
568a7b:	0f b7 50 02          	movzwl 0x2(%eax),%edx
568a7f:	3b d1                	cmp    %ecx,%edx
568a81:	75 28                	jne    0x568aab
568a83:	8b 43 14             	mov    0x14(%ebx),%eax
568a86:	8b 10                	mov    (%eax),%edx
568a88:	0f b7 0a             	movzwl (%edx),%ecx
568a8b:	29 4b 04             	sub    %ecx,0x4(%ebx)
568a8e:	f6 43 05 80          	testb  $0x80,0x5(%ebx)
568a92:	75 09                	jne    0x568a9d
568a94:	8b c3                	mov    %ebx,%eax
568a96:	e8 b1 99 00 00       	call   0x57244c
568a9b:	eb 15                	jmp    0x568ab2
568a9d:	8b 53 14             	mov    0x14(%ebx),%edx
568aa0:	8b 0a                	mov    (%edx),%ecx
568aa2:	0f b7 01             	movzwl (%ecx),%eax
568aa5:	01 03                	add    %eax,(%ebx)
568aa7:	8b 03                	mov    (%ebx),%eax
568aa9:	eb 07                	jmp    0x568ab2
568aab:	8b c3                	mov    %ebx,%eax
568aad:	e8 7a 9c 00 00       	call   0x57272c
568ab2:	8b 53 14             	mov    0x14(%ebx),%edx
568ab5:	8b 0a                	mov    (%edx),%ecx
568ab7:	8b 55 e4             	mov    -0x1c(%ebp),%edx
568aba:	83 e2 01             	and    $0x1,%edx
568abd:	0f b7 41 02          	movzwl 0x2(%ecx),%eax
568ac1:	3b c2                	cmp    %edx,%eax
568ac3:	75 28                	jne    0x568aed
568ac5:	8b 4b 14             	mov    0x14(%ebx),%ecx
568ac8:	8b 01                	mov    (%ecx),%eax
568aca:	0f b7 10             	movzwl (%eax),%edx
568acd:	29 53 04             	sub    %edx,0x4(%ebx)
568ad0:	f6 43 05 80          	testb  $0x80,0x5(%ebx)
568ad4:	75 09                	jne    0x568adf
568ad6:	8b c3                	mov    %ebx,%eax
568ad8:	e8 6f 99 00 00       	call   0x57244c
568add:	eb 15                	jmp    0x568af4
568adf:	8b 53 14             	mov    0x14(%ebx),%edx
568ae2:	8b 0a                	mov    (%edx),%ecx
568ae4:	0f b7 01             	movzwl (%ecx),%eax
568ae7:	01 03                	add    %eax,(%ebx)
568ae9:	8b 03                	mov    (%ebx),%eax
568aeb:	eb 07                	jmp    0x568af4
568aed:	8b c3                	mov    %ebx,%eax
568aef:	e8 38 9c 00 00       	call   0x57272c
568af4:	8b 75 d4             	mov    -0x2c(%ebp),%esi
568af7:	8b 7d d0             	mov    -0x30(%ebp),%edi
568afa:	0f af 75 e4          	imul   -0x1c(%ebp),%esi
568afe:	0f af 7d e4          	imul   -0x1c(%ebp),%edi
568b02:	c1 e6 02             	shl    $0x2,%esi
568b05:	8b 45 bc             	mov    -0x44(%ebp),%eax
568b08:	03 f0                	add    %eax,%esi
568b0a:	8b 55 e8             	mov    -0x18(%ebp),%edx
568b0d:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
568b10:	8b 45 b8             	mov    -0x48(%ebp),%eax
568b13:	c1 e7 02             	shl    $0x2,%edi
568b16:	2b d1                	sub    %ecx,%edx
568b18:	03 f8                	add    %eax,%edi
568b1a:	89 55 ec             	mov    %edx,-0x14(%ebp)
568b1d:	8b 45 e4             	mov    -0x1c(%ebp),%eax
568b20:	83 e8 01             	sub    $0x1,%eax
568b23:	0f 82 b7 00 00 00    	jb     0x568be0
568b29:	0f 84 f9 02 00 00    	je     0x568e28
568b2f:	48                   	dec    %eax
568b30:	0f 84 34 05 00 00    	je     0x56906a
568b36:	48                   	dec    %eax
568b37:	0f 84 6f 07 00 00    	je     0x5692ac
568b3d:	eb 0c                	jmp    0x568b4b
568b3f:	8b 75 bc             	mov    -0x44(%ebp),%esi
568b42:	8b 7d b8             	mov    -0x48(%ebp),%edi
568b45:	8b 45 e8             	mov    -0x18(%ebp),%eax
568b48:	89 45 ec             	mov    %eax,-0x14(%ebp)
568b4b:	8b 16                	mov    (%esi),%edx
568b4d:	89 55 b4             	mov    %edx,-0x4c(%ebp)
568b50:	f6 45 b5 50          	testb  $0x50,-0x4b(%ebp)
568b54:	0f 85 15 02 00 00    	jne    0x568d6f
568b5a:	8b 4d f8             	mov    -0x8(%ebp),%ecx
568b5d:	8b 45 b4             	mov    -0x4c(%ebp),%eax
568b60:	c1 e1 08             	shl    $0x8,%ecx
568b63:	25 ff 00 00 00       	and    $0xff,%eax
568b68:	0b c8                	or     %eax,%ecx
568b6a:	8b 14 8d 10 b4 6a 00 	mov    0x6ab410(,%ecx,4),%edx
568b71:	8b 4b 10             	mov    0x10(%ebx),%ecx
568b74:	c1 e2 02             	shl    $0x2,%edx
568b77:	03 d1                	add    %ecx,%edx
568b79:	89 53 14             	mov    %edx,0x14(%ebx)
568b7c:	8b 07                	mov    (%edi),%eax
568b7e:	8b 4d d8             	mov    -0x28(%ebp),%ecx
568b81:	99                   	cltd
568b82:	33 c2                	xor    %edx,%eax
568b84:	2b c2                	sub    %edx,%eax
568b86:	23 c1                	and    %ecx,%eax
568b88:	74 07                	je     0x568b91
568b8a:	b8 01 00 00 00       	mov    $0x1,%eax
568b8f:	eb 02                	jmp    0x568b93
568b91:	33 c0                	xor    %eax,%eax
568b93:	89 45 b0             	mov    %eax,-0x50(%ebp)
568b96:	8b 53 14             	mov    0x14(%ebx),%edx
568b99:	8b 0a                	mov    (%edx),%ecx
568b9b:	8b 55 b0             	mov    -0x50(%ebp),%edx
568b9e:	0f b7 41 02          	movzwl 0x2(%ecx),%eax
568ba2:	3b c2                	cmp    %edx,%eax
568ba4:	75 28                	jne    0x568bce
568ba6:	8b 4b 14             	mov    0x14(%ebx),%ecx
568ba9:	8b 01                	mov    (%ecx),%eax
568bab:	0f b7 10             	movzwl (%eax),%edx
568bae:	29 53 04             	sub    %edx,0x4(%ebx)
568bb1:	f6 43 05 80          	testb  $0x80,0x5(%ebx)
568bb5:	75 09                	jne    0x568bc0
568bb7:	8b c3                	mov    %ebx,%eax
568bb9:	e8 8e 98 00 00       	call   0x57244c
568bbe:	eb 15                	jmp    0x568bd5
568bc0:	8b 53 14             	mov    0x14(%ebx),%edx
568bc3:	8b 0a                	mov    (%edx),%ecx
568bc5:	0f b7 01             	movzwl (%ecx),%eax
568bc8:	01 03                	add    %eax,(%ebx)
568bca:	8b 03                	mov    (%ebx),%eax
568bcc:	eb 07                	jmp    0x568bd5
568bce:	8b c3                	mov    %ebx,%eax
568bd0:	e8 57 9b 00 00       	call   0x57272c
568bd5:	8b 55 b0             	mov    -0x50(%ebp),%edx
568bd8:	85 d2                	test   %edx,%edx
568bda:	0f 84 8f 01 00 00    	je     0x568d6f
568be0:	8b 0e                	mov    (%esi),%ecx
568be2:	89 4d b4             	mov    %ecx,-0x4c(%ebp)
568be5:	8b 45 fc             	mov    -0x4(%ebp),%eax
568be8:	83 c0 06             	add    $0x6,%eax
568beb:	83 f8 06             	cmp    $0x6,%eax
568bee:	7e 2f                	jle    0x568c1f
568bf0:	8b 55 fc             	mov    -0x4(%ebp),%edx
568bf3:	85 d2                	test   %edx,%edx
568bf5:	7c 0e                	jl     0x568c05
568bf7:	8b 4d fc             	mov    -0x4(%ebp),%ecx
568bfa:	8b 07                	mov    (%edi),%eax
568bfc:	99                   	cltd
568bfd:	33 c2                	xor    %edx,%eax
568bff:	2b c2                	sub    %edx,%eax
568c01:	d3 f8                	sar    %cl,%eax
568c03:	eb 0e                	jmp    0x568c13
568c05:	8b 07                	mov    (%edi),%eax
568c07:	8b 4d fc             	mov    -0x4(%ebp),%ecx
568c0a:	99                   	cltd
568c0b:	33 c2                	xor    %edx,%eax
568c0d:	f7 d9                	neg    %ecx
568c0f:	2b c2                	sub    %edx,%eax
568c11:	d3 e0                	shl    %cl,%eax
568c13:	83 e0 7f             	and    $0x7f,%eax
568c16:	8b 0c 85 20 0c 6b 00 	mov    0x6b0c20(,%eax,4),%ecx
568c1d:	eb 2d                	jmp    0x568c4c
568c1f:	8b 45 fc             	mov    -0x4(%ebp),%eax
568c22:	85 c0                	test   %eax,%eax
568c24:	7c 0e                	jl     0x568c34
568c26:	8b 4d fc             	mov    -0x4(%ebp),%ecx
568c29:	8b 07                	mov    (%edi),%eax
568c2b:	99                   	cltd
568c2c:	33 c2                	xor    %edx,%eax
568c2e:	2b c2                	sub    %edx,%eax
568c30:	d3 f8                	sar    %cl,%eax
568c32:	eb 0e                	jmp    0x568c42
568c34:	8b 07                	mov    (%edi),%eax
568c36:	8b 4d fc             	mov    -0x4(%ebp),%ecx
568c39:	99                   	cltd
568c3a:	33 c2                	xor    %edx,%eax
568c3c:	f7 d9                	neg    %ecx
568c3e:	2b c2                	sub    %edx,%eax
568c40:	d3 e0                	shl    %cl,%eax
568c42:	83 e0 7f             	and    $0x7f,%eax
568c45:	8b 0c 85 28 10 6b 00 	mov    0x6b1028(,%eax,4),%ecx
568c4c:	8b 45 08             	mov    0x8(%ebp),%eax
568c4f:	01 08                	add    %ecx,(%eax)
568c51:	8b 55 b4             	mov    -0x4c(%ebp),%edx
568c54:	81 e2 f0 0f 00 00    	and    $0xff0,%edx
568c5a:	c1 fa 04             	sar    $0x4,%edx
568c5d:	8b 0c 95 18 c8 6a 00 	mov    0x6ac818(,%edx,4),%ecx
568c64:	c1 e1 02             	shl    $0x2,%ecx
568c67:	8b 43 10             	mov    0x10(%ebx),%eax
568c6a:	03 c8                	add    %eax,%ecx
568c6c:	89 4b 14             	mov    %ecx,0x14(%ebx)
568c6f:	8b 17                	mov    (%edi),%edx
568c71:	85 d2                	test   %edx,%edx
568c73:	7d 07                	jge    0x568c7c
568c75:	b9 01 00 00 00       	mov    $0x1,%ecx
568c7a:	eb 02                	jmp    0x568c7e
568c7c:	33 c9                	xor    %ecx,%ecx
568c7e:	89 4d b0             	mov    %ecx,-0x50(%ebp)
568c81:	8b 43 14             	mov    0x14(%ebx),%eax
568c84:	8b 10                	mov    (%eax),%edx
568c86:	0f b7 42 02          	movzwl 0x2(%edx),%eax
568c8a:	8b 55 b4             	mov    -0x4c(%ebp),%edx
568c8d:	81 e2 f0 0f 00 00    	and    $0xff0,%edx
568c93:	c1 fa 04             	sar    $0x4,%edx
568c96:	8b 0c 95 14 c4 6a 00 	mov    0x6ac414(,%edx,4),%ecx
568c9d:	8b 55 b0             	mov    -0x50(%ebp),%edx
568ca0:	33 ca                	xor    %edx,%ecx
568ca2:	3b c1                	cmp    %ecx,%eax
568ca4:	75 28                	jne    0x568cce
568ca6:	8b 43 14             	mov    0x14(%ebx),%eax
568ca9:	8b 08                	mov    (%eax),%ecx
568cab:	0f b7 01             	movzwl (%ecx),%eax
568cae:	29 43 04             	sub    %eax,0x4(%ebx)
568cb1:	f6 43 05 80          	testb  $0x80,0x5(%ebx)
568cb5:	75 09                	jne    0x568cc0
568cb7:	8b c3                	mov    %ebx,%eax
568cb9:	e8 8e 97 00 00       	call   0x57244c
568cbe:	eb 15                	jmp    0x568cd5
568cc0:	8b 53 14             	mov    0x14(%ebx),%edx
568cc3:	8b 0a                	mov    (%edx),%ecx
568cc5:	0f b7 01             	movzwl (%ecx),%eax
568cc8:	01 03                	add    %eax,(%ebx)
568cca:	8b 03                	mov    (%ebx),%eax
568ccc:	eb 07                	jmp    0x568cd5
568cce:	8b c3                	mov    %ebx,%eax
568cd0:	e8 57 9a 00 00       	call   0x57272c
568cd5:	8b 55 d4             	mov    -0x2c(%ebp),%edx
568cd8:	c1 e2 02             	shl    $0x2,%edx
568cdb:	52                   	push   %edx
568cdc:	8b d6                	mov    %esi,%edx
568cde:	58                   	pop    %eax
568cdf:	2b d0                	sub    %eax,%edx
568ce1:	8b 45 d4             	mov    -0x2c(%ebp),%eax
568ce4:	c1 e0 02             	shl    $0x2,%eax
568ce7:	03 c6                	add    %esi,%eax
568ce9:	8b 4d 1c             	mov    0x1c(%ebp),%ecx
568cec:	85 c9                	test   %ecx,%ecx
568cee:	74 35                	je     0x568d25
568cf0:	83 48 fc 01          	orl    $0x1,-0x4(%eax)
568cf4:	83 48 04 08          	orl    $0x8,0x4(%eax)
568cf8:	8b 55 b0             	mov    -0x50(%ebp),%edx
568cfb:	85 d2                	test   %edx,%edx
568cfd:	74 16                	je     0x568d15
568cff:	81 08 10 01 00 00    	orl    $0x110,(%eax)
568d05:	81 4e fc 20 02 00 00 	orl    $0x220,-0x4(%esi)