422876:	c1 e6 06             	shl    $0x6,%esi
422879:	57                   	push   %edi
42287a:	8b 3c 9d 40 09 4c 00 	mov    0x4c0940(,%ebx,4),%edi
422881:	8a 4c 37 04          	mov    0x4(%edi,%esi,1),%cl
422885:	0f b6 c1             	movzbl %cl,%eax
422888:	25 80 00 00 00       	and    $0x80,%eax
42288d:	89 45 08             	mov    %eax,0x8(%ebp)
422890:	8a 44 37 24          	mov    0x24(%edi,%esi,1),%al
422894:	02 c0                	add    %al,%al
422896:	0f be d0             	movsbl %al,%edx
422899:	8b 45 0c             	mov    0xc(%ebp),%eax
42289c:	d1 fa                	sar    $1,%edx
42289e:	3d 00 40 00 00       	cmp    $0x4000,%eax
4228a3:	74 59                	je     0x4228fe
4228a5:	3d 00 80 00 00       	cmp    $0x8000,%eax
4228aa:	74 49                	je     0x4228f5
4228ac:	3d 00 00 01 00       	cmp    $0x10000,%eax
4228b1:	74 2a                	je     0x4228dd
4228b3:	3d 00 00 02 00       	cmp    $0x20000,%eax
4228b8:	74 23                	je     0x4228dd
4228ba:	3d 00 00 04 00       	cmp    $0x40000,%eax
4228bf:	75 50                	jne    0x422911
4228c1:	80 c9 80             	or     $0x80,%cl
4228c4:	88 4c 37 04          	mov    %cl,0x4(%edi,%esi,1)
4228c8:	8b 0c 9d 40 09 4c 00 	mov    0x4c0940(,%ebx,4),%ecx
4228cf:	8a 44 31 24          	mov    0x24(%ecx,%esi,1),%al
4228d3:	24 81                	and    $0x81,%al
4228d5:	0c 01                	or     $0x1,%al
4228d7:	88 44 31 24          	mov    %al,0x24(%ecx,%esi,1)
4228db:	eb 34                	jmp    0x422911
4228dd:	80 c9 80             	or     $0x80,%cl
4228e0:	88 4c 37 04          	mov    %cl,0x4(%edi,%esi,1)
4228e4:	8b 0c 9d 40 09 4c 00 	mov    0x4c0940(,%ebx,4),%ecx
4228eb:	8a 44 31 24          	mov    0x24(%ecx,%esi,1),%al
4228ef:	24 82                	and    $0x82,%al
4228f1:	0c 02                	or     $0x2,%al
4228f3:	eb e2                	jmp    0x4228d7
4228f5:	80 e1 7f             	and    $0x7f,%cl
4228f8:	88 4c 37 04          	mov    %cl,0x4(%edi,%esi,1)
4228fc:	eb 13                	jmp    0x422911
4228fe:	80 c9 80             	or     $0x80,%cl
422901:	88 4c 37 04          	mov    %cl,0x4(%edi,%esi,1)
422905:	8b 04 9d 40 09 4c 00 	mov    0x4c0940(,%ebx,4),%eax
42290c:	80 64 30 24 80       	andb   $0x80,0x24(%eax,%esi,1)
422911:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
422915:	5f                   	pop    %edi
422916:	5e                   	pop    %esi
422917:	5b                   	pop    %ebx
422918:	75 07                	jne    0x422921
42291a:	b8 00 80 00 00       	mov    $0x8000,%eax
42291f:	5d                   	pop    %ebp
422920:	c3                   	ret
422921:	f7 da                	neg    %edx
422923:	1b d2                	sbb    %edx,%edx
422925:	81 e2 00 c0 00 00    	and    $0xc000,%edx
42292b:	8d 82 00 40 00 00    	lea    0x4000(%edx),%eax
422931:	5d                   	pop    %ebp
422932:	c3                   	ret
422933:	55                   	push   %ebp
422934:	8b ec                	mov    %esp,%ebp
422936:	8b 45 08             	mov    0x8(%ebp),%eax
422939:	85 c0                	test   %eax,%eax
42293b:	75 15                	jne    0x422952
42293d:	e8 cc 52 00 00       	call   0x427c0e
422942:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
422948:	e8 c3 44 00 00       	call   0x426e10
42294d:	83 c8 ff             	or     $0xffffffff,%eax
422950:	5d                   	pop    %ebp
422951:	c3                   	ret
422952:	8b 40 10             	mov    0x10(%eax),%eax
422955:	5d                   	pop    %ebp
422956:	c3                   	ret
422957:	55                   	push   %ebp
422958:	8b ec                	mov    %esp,%ebp
42295a:	51                   	push   %ecx
42295b:	51                   	push   %ecx
42295c:	8b 4d 0c             	mov    0xc(%ebp),%ecx
42295f:	53                   	push   %ebx
422960:	56                   	push   %esi
422961:	57                   	push   %edi
422962:	85 c9                	test   %ecx,%ecx
422964:	74 1e                	je     0x422984
422966:	8b 5d 10             	mov    0x10(%ebp),%ebx
422969:	85 db                	test   %ebx,%ebx
42296b:	74 17                	je     0x422984
42296d:	8b 75 14             	mov    0x14(%ebp),%esi
422970:	85 f6                	test   %esi,%esi
422972:	75 17                	jne    0x42298b
422974:	e8 95 52 00 00       	call   0x427c0e
422979:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
42297f:	e8 8c 44 00 00       	call   0x426e10
422984:	33 c0                	xor    %eax,%eax
422986:	5f                   	pop    %edi
422987:	5e                   	pop    %esi
422988:	5b                   	pop    %ebx
422989:	c9                   	leave
42298a:	c3                   	ret
42298b:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
42298f:	74 e3                	je     0x422974
422991:	83 c8 ff             	or     $0xffffffff,%eax
422994:	33 d2                	xor    %edx,%edx
422996:	f7 f1                	div    %ecx
422998:	3b d8                	cmp    %eax,%ebx
42299a:	77 d8                	ja     0x422974
42299c:	8b f9                	mov    %ecx,%edi
42299e:	0f af fb             	imul   %ebx,%edi
4229a1:	f7 46 0c 0c 01 00 00 	testl  $0x10c,0xc(%esi)
4229a8:	8b df                	mov    %edi,%ebx
4229aa:	74 05                	je     0x4229b1
4229ac:	8b 4e 18             	mov    0x18(%esi),%ecx
4229af:	eb 05                	jmp    0x4229b6
4229b1:	b9 00 10 00 00       	mov    $0x1000,%ecx
4229b6:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4229b9:	85 ff                	test   %edi,%edi
4229bb:	0f 84 d3 00 00 00    	je     0x422a94
4229c1:	8b 56 0c             	mov    0xc(%esi),%edx
4229c4:	81 e2 08 01 00 00    	and    $0x108,%edx
4229ca:	74 36                	je     0x422a02
4229cc:	8b 46 04             	mov    0x4(%esi),%eax
4229cf:	89 45 f8             	mov    %eax,-0x8(%ebp)
4229d2:	85 c0                	test   %eax,%eax
4229d4:	74 2c                	je     0x422a02
4229d6:	0f 88 c0 00 00 00    	js     0x422a9c
4229dc:	3b d8                	cmp    %eax,%ebx
4229de:	73 05                	jae    0x4229e5
4229e0:	8b c3                	mov    %ebx,%eax
4229e2:	89 5d f8             	mov    %ebx,-0x8(%ebp)
4229e5:	50                   	push   %eax
4229e6:	ff 75 08             	push   0x8(%ebp)
4229e9:	ff 36                	push   (%esi)
4229eb:	e8 90 c4 ff ff       	call   0x41ee80
4229f0:	8b 45 f8             	mov    -0x8(%ebp),%eax
4229f3:	29 46 04             	sub    %eax,0x4(%esi)
4229f6:	01 06                	add    %eax,(%esi)
4229f8:	83 c4 0c             	add    $0xc,%esp
4229fb:	2b d8                	sub    %eax,%ebx
4229fd:	01 45 08             	add    %eax,0x8(%ebp)
422a00:	eb 5d                	jmp    0x422a5f
422a02:	3b d9                	cmp    %ecx,%ebx
422a04:	72 5e                	jb     0x422a64
422a06:	85 d2                	test   %edx,%edx
422a08:	74 12                	je     0x422a1c
422a0a:	56                   	push   %esi
422a0b:	e8 74 02 00 00       	call   0x422c84
422a10:	59                   	pop    %ecx
422a11:	85 c0                	test   %eax,%eax
422a13:	0f 85 87 00 00 00    	jne    0x422aa0
422a19:	8b 4d fc             	mov    -0x4(%ebp),%ecx
422a1c:	8b c3                	mov    %ebx,%eax
422a1e:	85 c9                	test   %ecx,%ecx
422a20:	74 0d                	je     0x422a2f
422a22:	33 d2                	xor    %edx,%edx
422a24:	f7 f1                	div    %ecx
422a26:	8b c3                	mov    %ebx,%eax
422a28:	2b c2                	sub    %edx,%eax
422a2a:	89 45 f8             	mov    %eax,-0x8(%ebp)
422a2d:	eb 03                	jmp    0x422a32
422a2f:	89 5d f8             	mov    %ebx,-0x8(%ebp)
422a32:	50                   	push   %eax
422a33:	ff 75 08             	push   0x8(%ebp)
422a36:	56                   	push   %esi
422a37:	e8 f7 fe ff ff       	call   0x422933
422a3c:	59                   	pop    %ecx
422a3d:	50                   	push   %eax
422a3e:	e8 1e 85 00 00       	call   0x42af61
422a43:	83 c4 0c             	add    $0xc,%esp
422a46:	83 f8 ff             	cmp    $0xffffffff,%eax
422a49:	74 51                	je     0x422a9c
422a4b:	8b 4d f8             	mov    -0x8(%ebp),%ecx
422a4e:	8b d1                	mov    %ecx,%edx
422a50:	3b c1                	cmp    %ecx,%eax
422a52:	77 02                	ja     0x422a56
422a54:	8b d0                	mov    %eax,%edx
422a56:	01 55 08             	add    %edx,0x8(%ebp)
422a59:	2b da                	sub    %edx,%ebx
422a5b:	3b c1                	cmp    %ecx,%eax
422a5d:	72 3d                	jb     0x422a9c
422a5f:	8b 4d fc             	mov    -0x4(%ebp),%ecx
422a62:	eb 28                	jmp    0x422a8c
422a64:	8b 45 08             	mov    0x8(%ebp),%eax
422a67:	56                   	push   %esi
422a68:	0f be 00             	movsbl (%eax),%eax
422a6b:	50                   	push   %eax
422a6c:	e8 f2 63 00 00       	call   0x428e63
422a71:	59                   	pop    %ecx
422a72:	59                   	pop    %ecx
422a73:	83 f8 ff             	cmp    $0xffffffff,%eax
422a76:	74 28                	je     0x422aa0
422a78:	ff 45 08             	incl   0x8(%ebp)
422a7b:	8b 4e 18             	mov    0x18(%esi),%ecx
422a7e:	4b                   	dec    %ebx
422a7f:	89 4d fc             	mov    %ecx,-0x4(%ebp)
422a82:	85 c9                	test   %ecx,%ecx
422a84:	7f 06                	jg     0x422a8c
422a86:	33 c9                	xor    %ecx,%ecx
422a88:	41                   	inc    %ecx
422a89:	89 4d fc             	mov    %ecx,-0x4(%ebp)
422a8c:	85 db                	test   %ebx,%ebx
422a8e:	0f 85 2d ff ff ff    	jne    0x4229c1
422a94:	8b 45 10             	mov    0x10(%ebp),%eax
422a97:	e9 ea fe ff ff       	jmp    0x422986
422a9c:	83 4e 0c 20          	orl    $0x20,0xc(%esi)
422aa0:	2b fb                	sub    %ebx,%edi
422aa2:	8b c7                	mov    %edi,%eax
422aa4:	33 d2                	xor    %edx,%edx
422aa6:	f7 75 0c             	divl   0xc(%ebp)
422aa9:	e9 d8 fe ff ff       	jmp    0x422986
422aae:	6a 0c                	push   $0xc
422ab0:	68 28 6b 4b 00       	push   $0x4b6b28
422ab5:	e8 06 40 00 00       	call   0x426ac0
422aba:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
422abe:	74 24                	je     0x422ae4
422ac0:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)
422ac4:	74 1e                	je     0x422ae4
422ac6:	33 c0                	xor    %eax,%eax
422ac8:	8b 75 14             	mov    0x14(%ebp),%esi
422acb:	85 f6                	test   %esi,%esi
422acd:	0f 95 c0             	setne  %al
422ad0:	85 c0                	test   %eax,%eax
422ad2:	75 18                	jne    0x422aec
422ad4:	e8 35 51 00 00       	call   0x427c0e
422ad9:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
422adf:	e8 2c 43 00 00       	call   0x426e10
422ae4:	33 c0                	xor    %eax,%eax
422ae6:	e8 1a 40 00 00       	call   0x426b05
422aeb:	c3                   	ret
422aec:	56                   	push   %esi
422aed:	e8 2a 23 00 00       	call   0x424e1c
422af2:	59                   	pop    %ecx
422af3:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
422af7:	56                   	push   %esi
422af8:	ff 75 10             	push   0x10(%ebp)
422afb:	ff 75 0c             	push   0xc(%ebp)
422afe:	ff 75 08             	push   0x8(%ebp)
422b01:	e8 51 fe ff ff       	call   0x422957
422b06:	83 c4 10             	add    $0x10,%esp
422b09:	8b f8                	mov    %eax,%edi
422b0b:	89 7d e4             	mov    %edi,-0x1c(%ebp)
422b0e:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
422b15:	e8 0a 00 00 00       	call   0x422b24
422b1a:	8b c7                	mov    %edi,%eax
422b1c:	eb c8                	jmp    0x422ae6
422b1e:	8b 75 14             	mov    0x14(%ebp),%esi
422b21:	8b 7d e4             	mov    -0x1c(%ebp),%edi
422b24:	56                   	push   %esi
422b25:	e8 61 23 00 00       	call   0x424e8b
422b2a:	59                   	pop    %ecx
422b2b:	c3                   	ret
422b2c:	6a 0c                	push   $0xc
422b2e:	68 48 6b 4b 00       	push   $0x4b6b48
422b33:	e8 88 3f 00 00       	call   0x426ac0
422b38:	33 db                	xor    %ebx,%ebx
422b3a:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
422b3d:	33 c0                	xor    %eax,%eax
422b3f:	8b 7d 08             	mov    0x8(%ebp),%edi
422b42:	85 ff                	test   %edi,%edi
422b44:	0f 95 c0             	setne  %al
422b47:	85 c0                	test   %eax,%eax
422b49:	75 18                	jne    0x422b63
422b4b:	e8 be 50 00 00       	call   0x427c0e
422b50:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
422b56:	e8 b5 42 00 00       	call   0x426e10
422b5b:	83 c8 ff             	or     $0xffffffff,%eax
422b5e:	e9 c7 00 00 00       	jmp    0x422c2a
422b63:	33 c0                	xor    %eax,%eax
422b65:	39 45 0c             	cmp    %eax,0xc(%ebp)
422b68:	0f 95 c0             	setne  %al
422b6b:	85 c0                	test   %eax,%eax
422b6d:	74 dc                	je     0x422b4b
422b6f:	89 7d 08             	mov    %edi,0x8(%ebp)
422b72:	57                   	push   %edi
422b73:	e8 a4 22 00 00       	call   0x424e1c
422b78:	59                   	pop    %ecx
422b79:	21 5d fc             	and    %ebx,-0x4(%ebp)
422b7c:	f6 47 0c 40          	testb  $0x40,0xc(%edi)
422b80:	75 71                	jne    0x422bf3
422b82:	57                   	push   %edi
422b83:	e8 ab fd ff ff       	call   0x422933
422b88:	59                   	pop    %ecx
422b89:	8b d0                	mov    %eax,%edx
422b8b:	83 fa ff             	cmp    $0xffffffff,%edx
422b8e:	74 19                	je     0x422ba9
422b90:	83 fa fe             	cmp    $0xfffffffe,%edx
422b93:	74 14                	je     0x422ba9
422b95:	8b ca                	mov    %edx,%ecx
422b97:	c1 f9 05             	sar    $0x5,%ecx
422b9a:	83 e0 1f             	and    $0x1f,%eax
422b9d:	c1 e0 06             	shl    $0x6,%eax
422ba0:	03 04 8d 40 09 4c 00 	add    0x4c0940(,%ecx,4),%eax
422ba7:	eb 05                	jmp    0x422bae
422ba9:	b8 d0 ad 4b 00       	mov    $0x4badd0,%eax
422bae:	f6 40 24 7f          	testb  $0x7f,0x24(%eax)
422bb2:	75 29                	jne    0x422bdd
422bb4:	83 fa ff             	cmp    $0xffffffff,%edx
422bb7:	74 19                	je     0x422bd2
422bb9:	83 fa fe             	cmp    $0xfffffffe,%edx
422bbc:	74 14                	je     0x422bd2
422bbe:	8b c2                	mov    %edx,%eax
422bc0:	c1 f8 05             	sar    $0x5,%eax
422bc3:	83 e2 1f             	and    $0x1f,%edx
422bc6:	c1 e2 06             	shl    $0x6,%edx
422bc9:	03 14 85 40 09 4c 00 	add    0x4c0940(,%eax,4),%edx
422bd0:	eb 05                	jmp    0x422bd7
422bd2:	ba d0 ad 4b 00       	mov    $0x4badd0,%edx
422bd7:	f6 42 24 80          	testb  $0x80,0x24(%edx)
422bdb:	74 16                	je     0x422bf3
422bdd:	e8 2c 50 00 00       	call   0x427c0e
422be2:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
422be8:	e8 23 42 00 00       	call   0x426e10
422bed:	83 cb ff             	or     $0xffffffff,%ebx
422bf0:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
422bf3:	85 db                	test   %ebx,%ebx
422bf5:	75 25                	jne    0x422c1c
422bf7:	57                   	push   %edi
422bf8:	e8 ed 5b 00 00       	call   0x4287ea
422bfd:	8b f0                	mov    %eax,%esi
422bff:	8d 45 10             	lea    0x10(%ebp),%eax
422c02:	50                   	push   %eax
422c03:	53                   	push   %ebx
422c04:	ff 75 0c             	push   0xc(%ebp)
422c07:	57                   	push   %edi
422c08:	e8 60 8c 00 00       	call   0x42b86d
422c0d:	8b d8                	mov    %eax,%ebx
422c0f:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
422c12:	57                   	push   %edi
422c13:	56                   	push   %esi
422c14:	e8 a0 5b 00 00       	call   0x4287b9
422c19:	83 c4 1c             	add    $0x1c,%esp
422c1c:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
422c23:	e8 0e 00 00 00       	call   0x422c36
422c28:	8b c3                	mov    %ebx,%eax
422c2a:	e8 d6 3e 00 00       	call   0x426b05
422c2f:	c3                   	ret
422c30:	8b 5d e4             	mov    -0x1c(%ebp),%ebx
422c33:	8b 7d 08             	mov    0x8(%ebp),%edi
422c36:	57                   	push   %edi
422c37:	e8 4f 22 00 00       	call   0x424e8b
422c3c:	59                   	pop    %ecx
422c3d:	c3                   	ret
422c3e:	55                   	push   %ebp
422c3f:	8b ec                	mov    %esp,%ebp
422c41:	56                   	push   %esi
422c42:	8b 75 08             	mov    0x8(%ebp),%esi
422c45:	85 f6                	test   %esi,%esi
422c47:	75 09                	jne    0x422c52
422c49:	56                   	push   %esi
422c4a:	e8 f7 00 00 00       	call   0x422d46
422c4f:	59                   	pop    %ecx
422c50:	eb 2f                	jmp    0x422c81
422c52:	56                   	push   %esi