416983:	84 c3                	test   %al,%bl
416985:	74 18                	je     0x41699f
416987:	8b 45 08             	mov    0x8(%ebp),%eax
41698a:	8b 40 0c             	mov    0xc(%eax),%eax
41698d:	90                   	nop
41698e:	c1 e8 08             	shr    $0x8,%eax
416991:	84 c3                	test   %al,%bl
416993:	75 0a                	jne    0x41699f
416995:	8b 45 08             	mov    0x8(%ebp),%eax
416998:	c7 40 18 00 10 00 00 	movl   $0x1000,0x18(%eax)
41699f:	8b 45 08             	mov    0x8(%ebp),%eax
4169a2:	8b 08                	mov    (%eax),%ecx
4169a4:	ff 48 08             	decl   0x8(%eax)
4169a7:	8a 11                	mov    (%ecx),%dl
4169a9:	41                   	inc    %ecx
4169aa:	89 08                	mov    %ecx,(%eax)
4169ac:	0f b6 c2             	movzbl %dl,%eax
4169af:	eb 1e                	jmp    0x4169cf
4169b1:	33 c9                	xor    %ecx,%ecx
4169b3:	85 d2                	test   %edx,%edx
4169b5:	0f 95 c1             	setne  %cl
4169b8:	83 c0 0c             	add    $0xc,%eax
4169bb:	8d 0c cd 08 00 00 00 	lea    0x8(,%ecx,8),%ecx
4169c2:	f0 09 08             	lock or %ecx,(%eax)
4169c5:	8b 4d 08             	mov    0x8(%ebp),%ecx
4169c8:	83 61 08 00          	andl   $0x0,0x8(%ecx)
4169cc:	83 c8 ff             	or     $0xffffffff,%eax
4169cf:	5b                   	pop    %ebx
4169d0:	5e                   	pop    %esi
4169d1:	5d                   	pop    %ebp
4169d2:	c3                   	ret
4169d3:	8b ff                	mov    %edi,%edi
4169d5:	55                   	push   %ebp
4169d6:	8b ec                	mov    %esp,%ebp
4169d8:	5d                   	pop    %ebp
4169d9:	e9 6b fe ff ff       	jmp    0x416849
4169de:	6a 10                	push   $0x10
4169e0:	68 b8 18 43 00       	push   $0x4318b8
4169e5:	e8 d6 15 ff ff       	call   0x407fc0
4169ea:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
4169ee:	75 17                	jne    0x416a07
4169f0:	e8 06 84 ff ff       	call   0x40edfb
4169f5:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
4169fb:	e8 81 66 ff ff       	call   0x40d081
416a00:	83 ca ff             	or     $0xffffffff,%edx
416a03:	8b c2                	mov    %edx,%eax
416a05:	eb 37                	jmp    0x416a3e
416a07:	33 f6                	xor    %esi,%esi
416a09:	89 75 e0             	mov    %esi,-0x20(%ebp)
416a0c:	89 75 e4             	mov    %esi,-0x1c(%ebp)
416a0f:	ff 75 08             	push   0x8(%ebp)
416a12:	e8 6f 4d ff ff       	call   0x40b786
416a17:	59                   	pop    %ecx
416a18:	89 75 fc             	mov    %esi,-0x4(%ebp)
416a1b:	ff 75 08             	push   0x8(%ebp)
416a1e:	e8 3b 00 00 00       	call   0x416a5e
416a23:	59                   	pop    %ecx
416a24:	8b f0                	mov    %eax,%esi
416a26:	89 75 e0             	mov    %esi,-0x20(%ebp)
416a29:	8b fa                	mov    %edx,%edi
416a2b:	89 7d e4             	mov    %edi,-0x1c(%ebp)
416a2e:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
416a35:	e8 1a 00 00 00       	call   0x416a54
416a3a:	8b c6                	mov    %esi,%eax
416a3c:	8b d7                	mov    %edi,%edx
416a3e:	8b 4d f0             	mov    -0x10(%ebp),%ecx
416a41:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
416a48:	59                   	pop    %ecx
416a49:	5f                   	pop    %edi
416a4a:	5e                   	pop    %esi
416a4b:	5b                   	pop    %ebx
416a4c:	c9                   	leave
416a4d:	c3                   	ret
416a4e:	8b 7d e4             	mov    -0x1c(%ebp),%edi
416a51:	8b 75 e0             	mov    -0x20(%ebp),%esi
416a54:	ff 75 08             	push   0x8(%ebp)
416a57:	e8 3e 4d ff ff       	call   0x40b79a
416a5c:	59                   	pop    %ecx
416a5d:	c3                   	ret
416a5e:	8b ff                	mov    %edi,%edi
416a60:	55                   	push   %ebp
416a61:	8b ec                	mov    %esp,%ebp
416a63:	83 ec 14             	sub    $0x14,%esp
416a66:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
416a6a:	75 17                	jne    0x416a83
416a6c:	e8 8a 83 ff ff       	call   0x40edfb
416a71:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
416a77:	e8 05 66 ff ff       	call   0x40d081
416a7c:	83 c8 ff             	or     $0xffffffff,%eax
416a7f:	0b d0                	or     %eax,%edx
416a81:	c9                   	leave
416a82:	c3                   	ret
416a83:	53                   	push   %ebx
416a84:	57                   	push   %edi
416a85:	ff 75 08             	push   0x8(%ebp)
416a88:	e8 01 e5 ff ff       	call   0x414f8e
416a8d:	59                   	pop    %ecx
416a8e:	8b 4d 08             	mov    0x8(%ebp),%ecx
416a91:	33 db                	xor    %ebx,%ebx
416a93:	8b f8                	mov    %eax,%edi
416a95:	39 59 08             	cmp    %ebx,0x8(%ecx)
416a98:	7d 03                	jge    0x416a9d
416a9a:	89 59 08             	mov    %ebx,0x8(%ecx)
416a9d:	56                   	push   %esi
416a9e:	6a 01                	push   $0x1
416aa0:	53                   	push   %ebx
416aa1:	53                   	push   %ebx
416aa2:	57                   	push   %edi
416aa3:	e8 8a 12 00 00       	call   0x417d32
416aa8:	8b ca                	mov    %edx,%ecx
416aaa:	83 c4 10             	add    $0x10,%esp
416aad:	89 4d f8             	mov    %ecx,-0x8(%ebp)
416ab0:	8b f0                	mov    %eax,%esi
416ab2:	89 75 ec             	mov    %esi,-0x14(%ebp)
416ab5:	3b cb                	cmp    %ebx,%ecx
416ab7:	7f 0e                	jg     0x416ac7
416ab9:	0f 8c ca 00 00 00    	jl     0x416b89
416abf:	3b f3                	cmp    %ebx,%esi
416ac1:	0f 82 c2 00 00 00    	jb     0x416b89
416ac7:	8b 45 08             	mov    0x8(%ebp),%eax
416aca:	8b 40 0c             	mov    0xc(%eax),%eax
416acd:	90                   	nop
416ace:	a8 c0                	test   $0xc0,%al
416ad0:	75 14                	jne    0x416ae6
416ad2:	8b 45 08             	mov    0x8(%ebp),%eax
416ad5:	8b 40 08             	mov    0x8(%eax),%eax
416ad8:	99                   	cltd
416ad9:	2b f0                	sub    %eax,%esi
416adb:	8b c6                	mov    %esi,%eax
416add:	1b ca                	sbb    %edx,%ecx
416adf:	8b d1                	mov    %ecx,%edx
416ae1:	e9 f7 00 00 00       	jmp    0x416bdd
416ae6:	8b c7                	mov    %edi,%eax
416ae8:	83 e7 3f             	and    $0x3f,%edi
416aeb:	c1 f8 06             	sar    $0x6,%eax
416aee:	6b cf 38             	imul   $0x38,%edi,%ecx
416af1:	89 45 f4             	mov    %eax,-0xc(%ebp)
416af4:	8b 04 85 c0 4a 43 00 	mov    0x434ac0(,%eax,4),%eax
416afb:	89 4d f0             	mov    %ecx,-0x10(%ebp)
416afe:	8a 44 01 29          	mov    0x29(%ecx,%eax,1),%al
416b02:	8b 4d 08             	mov    0x8(%ebp),%ecx
416b05:	88 45 fc             	mov    %al,-0x4(%ebp)
416b08:	8b 01                	mov    (%ecx),%eax
416b0a:	2b 41 04             	sub    0x4(%ecx),%eax
416b0d:	8b 49 0c             	mov    0xc(%ecx),%ecx
416b10:	99                   	cltd
416b11:	8b f8                	mov    %eax,%edi
416b13:	8b da                	mov    %edx,%ebx
416b15:	90                   	nop
416b16:	f6 c1 03             	test   $0x3,%cl
416b19:	74 55                	je     0x416b70
416b1b:	80 7d fc 01          	cmpb   $0x1,-0x4(%ebp)
416b1f:	8b 4d f4             	mov    -0xc(%ebp),%ecx
416b22:	8b 55 f0             	mov    -0x10(%ebp),%edx
416b25:	75 22                	jne    0x416b49
416b27:	8b 04 8d c0 4a 43 00 	mov    0x434ac0(,%ecx,4),%eax
416b2e:	f6 44 02 2d 02       	testb  $0x2,0x2d(%edx,%eax,1)
416b33:	74 14                	je     0x416b49
416b35:	ff 75 f8             	push   -0x8(%ebp)
416b38:	56                   	push   %esi
416b39:	ff 75 08             	push   0x8(%ebp)
416b3c:	e8 5a 02 00 00       	call   0x416d9b
416b41:	83 c4 0c             	add    $0xc,%esp
416b44:	e9 94 00 00 00       	jmp    0x416bdd
416b49:	8b 04 8d c0 4a 43 00 	mov    0x434ac0(,%ecx,4),%eax
416b50:	80 7c 02 28 00       	cmpb   $0x0,0x28(%edx,%eax,1)
416b55:	7d 39                	jge    0x416b90
416b57:	8b 75 08             	mov    0x8(%ebp),%esi
416b5a:	ff 75 fc             	push   -0x4(%ebp)
416b5d:	ff 36                	push   (%esi)
416b5f:	ff 76 04             	push   0x4(%esi)
416b62:	e8 ca 03 00 00       	call   0x416f31
416b67:	83 c4 0c             	add    $0xc,%esp
416b6a:	03 f8                	add    %eax,%edi
416b6c:	13 da                	adc    %edx,%ebx
416b6e:	eb 23                	jmp    0x416b93
416b70:	8b 45 08             	mov    0x8(%ebp),%eax
416b73:	8b 40 0c             	mov    0xc(%eax),%eax
416b76:	90                   	nop
416b77:	c1 e8 02             	shr    $0x2,%eax
416b7a:	a8 01                	test   $0x1,%al
416b7c:	75 12                	jne    0x416b90
416b7e:	e8 78 82 ff ff       	call   0x40edfb
416b83:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
416b89:	83 c8 ff             	or     $0xffffffff,%eax
416b8c:	0b d0                	or     %eax,%edx
416b8e:	eb 4d                	jmp    0x416bdd
416b90:	8b 75 08             	mov    0x8(%ebp),%esi
416b93:	8b 4d ec             	mov    -0x14(%ebp),%ecx
416b96:	8b c1                	mov    %ecx,%eax
416b98:	8b 55 f8             	mov    -0x8(%ebp),%edx
416b9b:	0b c2                	or     %edx,%eax
416b9d:	75 04                	jne    0x416ba3
416b9f:	8b d3                	mov    %ebx,%edx
416ba1:	eb 38                	jmp    0x416bdb
416ba3:	8b 46 0c             	mov    0xc(%esi),%eax
416ba6:	90                   	nop
416ba7:	a8 01                	test   $0x1,%al
416ba9:	74 11                	je     0x416bbc
416bab:	53                   	push   %ebx
416bac:	57                   	push   %edi
416bad:	52                   	push   %edx
416bae:	51                   	push   %ecx
416baf:	ff 75 08             	push   0x8(%ebp)
416bb2:	e8 2b 00 00 00       	call   0x416be2
416bb7:	83 c4 14             	add    $0x14,%esp
416bba:	eb 21                	jmp    0x416bdd
416bbc:	80 7d fc 01          	cmpb   $0x1,-0x4(%ebp)
416bc0:	75 15                	jne    0x416bd7
416bc2:	6a 00                	push   $0x0
416bc4:	6a 02                	push   $0x2
416bc6:	53                   	push   %ebx
416bc7:	57                   	push   %edi
416bc8:	e8 e3 ba 00 00       	call   0x4226b0
416bcd:	8b 4d ec             	mov    -0x14(%ebp),%ecx
416bd0:	8b da                	mov    %edx,%ebx
416bd2:	8b 55 f8             	mov    -0x8(%ebp),%edx
416bd5:	8b f8                	mov    %eax,%edi
416bd7:	03 f9                	add    %ecx,%edi
416bd9:	13 d3                	adc    %ebx,%edx
416bdb:	8b c7                	mov    %edi,%eax
416bdd:	5e                   	pop    %esi
416bde:	5f                   	pop    %edi
416bdf:	5b                   	pop    %ebx
416be0:	c9                   	leave
416be1:	c3                   	ret
416be2:	8b ff                	mov    %edi,%edi
416be4:	55                   	push   %ebp
416be5:	8b ec                	mov    %esp,%ebp
416be7:	83 ec 20             	sub    $0x20,%esp
416bea:	53                   	push   %ebx
416beb:	56                   	push   %esi
416bec:	57                   	push   %edi
416bed:	ff 75 08             	push   0x8(%ebp)
416bf0:	e8 99 e3 ff ff       	call   0x414f8e
416bf5:	8b f0                	mov    %eax,%esi
416bf7:	c7 45 ec 02 00 00 00 	movl   $0x2,-0x14(%ebp)
416bfe:	59                   	pop    %ecx
416bff:	c1 f8 06             	sar    $0x6,%eax
416c02:	8b ce                	mov    %esi,%ecx
416c04:	83 e1 3f             	and    $0x3f,%ecx
416c07:	89 45 e0             	mov    %eax,-0x20(%ebp)
416c0a:	6b c9 38             	imul   $0x38,%ecx,%ecx
416c0d:	33 db                	xor    %ebx,%ebx
416c0f:	43                   	inc    %ebx
416c10:	33 ff                	xor    %edi,%edi
416c12:	8b 04 85 c0 4a 43 00 	mov    0x434ac0(,%eax,4),%eax
416c19:	89 45 e4             	mov    %eax,-0x1c(%ebp)
416c1c:	89 7d fc             	mov    %edi,-0x4(%ebp)
416c1f:	89 4d e8             	mov    %ecx,-0x18(%ebp)
416c22:	8a 44 01 29          	mov    0x29(%ecx,%eax,1),%al
416c26:	88 45 f0             	mov    %al,-0x10(%ebp)
416c29:	3a c3                	cmp    %bl,%al
416c2b:	74 03                	je     0x416c30
416c2d:	89 5d ec             	mov    %ebx,-0x14(%ebp)
416c30:	8b 45 08             	mov    0x8(%ebp),%eax
416c33:	8b 48 08             	mov    0x8(%eax),%ecx
416c36:	89 4d f4             	mov    %ecx,-0xc(%ebp)
416c39:	85 c9                	test   %ecx,%ecx
416c3b:	75 0b                	jne    0x416c48
416c3d:	8b 45 0c             	mov    0xc(%ebp),%eax
416c40:	8b 55 10             	mov    0x10(%ebp),%edx
416c43:	e9 4e 01 00 00       	jmp    0x416d96
416c48:	8b 08                	mov    (%eax),%ecx
416c4a:	2b 48 04             	sub    0x4(%eax),%ecx
416c4d:	8b c1                	mov    %ecx,%eax
416c4f:	99                   	cltd
416c50:	8b c8                	mov    %eax,%ecx
416c52:	89 55 f8             	mov    %edx,-0x8(%ebp)
416c55:	8b 45 f4             	mov    -0xc(%ebp),%eax
416c58:	99                   	cltd
416c59:	03 c8                	add    %eax,%ecx
416c5b:	8b 45 f8             	mov    -0x8(%ebp),%eax
416c5e:	89 4d f4             	mov    %ecx,-0xc(%ebp)
416c61:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
416c64:	13 c2                	adc    %edx,%eax
416c66:	8b 55 e8             	mov    -0x18(%ebp),%edx
416c69:	89 45 f8             	mov    %eax,-0x8(%ebp)
416c6c:	80 7c 0a 28 00       	cmpb   $0x0,0x28(%edx,%ecx,1)
416c71:	8b 4d f4             	mov    -0xc(%ebp),%ecx
416c74:	7c 0d                	jl     0x416c83
416c76:	ff 75 fc             	push   -0x4(%ebp)
416c79:	8b 5d ec             	mov    -0x14(%ebp),%ebx
416c7c:	53                   	push   %ebx
416c7d:	50                   	push   %eax
416c7e:	e9 f0 00 00 00       	jmp    0x416d73
416c83:	6a 02                	push   $0x2
416c85:	57                   	push   %edi
416c86:	57                   	push   %edi
416c87:	56                   	push   %esi
416c88:	e8 a5 10 00 00       	call   0x417d32
416c8d:	83 c4 10             	add    $0x10,%esp
416c90:	3b 45 0c             	cmp    0xc(%ebp),%eax
416c93:	75 4b                	jne    0x416ce0
416c95:	3b 55 10             	cmp    0x10(%ebp),%edx
416c98:	75 46                	jne    0x416ce0
416c9a:	8b 75 08             	mov    0x8(%ebp),%esi
416c9d:	ff 75 f0             	push   -0x10(%ebp)
416ca0:	8b 45 f4             	mov    -0xc(%ebp),%eax
416ca3:	8b 4e 04             	mov    0x4(%esi),%ecx
416ca6:	03 c1                	add    %ecx,%eax
416ca8:	50                   	push   %eax
416ca9:	51                   	push   %ecx
416caa:	e8 82 02 00 00       	call   0x416f31
416caf:	8b c8                	mov    %eax,%ecx
416cb1:	83 c4 0c             	add    $0xc,%esp
416cb4:	03 4d f4             	add    -0xc(%ebp),%ecx
416cb7:	8b 46 0c             	mov    0xc(%esi),%eax
416cba:	13 55 f8             	adc    -0x8(%ebp),%edx
416cbd:	90                   	nop
416cbe:	c1 e8 05             	shr    $0x5,%eax
416cc1:	84 c3                	test   %al,%bl
416cc3:	0f 84 a2 00 00 00    	je     0x416d6b
416cc9:	8a 45 f0             	mov    -0x10(%ebp),%al
416ccc:	3a c3                	cmp    %bl,%al
416cce:	74 04                	je     0x416cd4
416cd0:	3c 02                	cmp    $0x2,%al
416cd2:	75 03                	jne    0x416cd7
416cd4:	6a 02                	push   $0x2
416cd6:	5b                   	pop    %ebx
416cd7:	03 cb                	add    %ebx,%ecx
416cd9:	13 d7                	adc    %edi,%edx
416cdb:	e9 8b 00 00 00       	jmp    0x416d6b
416ce0:	57                   	push   %edi
416ce1:	ff 75 10             	push   0x10(%ebp)
416ce4:	ff 75 0c             	push   0xc(%ebp)
416ce7:	56                   	push   %esi
416ce8:	e8 45 10 00 00       	call   0x417d32
416ced:	23 c2                	and    %edx,%eax
416cef:	83 c4 10             	add    $0x10,%esp
416cf2:	83 ca ff             	or     $0xffffffff,%edx
416cf5:	3b c2                	cmp    %edx,%eax
416cf7:	75 07                	jne    0x416d00
416cf9:	8b c2                	mov    %edx,%eax
416cfb:	e9 96 00 00 00       	jmp    0x416d96
416d00:	39 7d f8             	cmp    %edi,-0x8(%ebp)
416d03:	7f 2f                	jg     0x416d34
416d05:	b8 00 02 00 00       	mov    $0x200,%eax
416d0a:	89 45 f8             	mov    %eax,-0x8(%ebp)
416d0d:	7c 05                	jl     0x416d14
416d0f:	39 45 f4             	cmp    %eax,-0xc(%ebp)
416d12:	77 20                	ja     0x416d34
416d14:	8b 45 08             	mov    0x8(%ebp),%eax
416d17:	8b 40 0c             	mov    0xc(%eax),%eax
416d1a:	90                   	nop
416d1b:	c1 e8 06             	shr    $0x6,%eax
416d1e:	84 c3                	test   %al,%bl
416d20:	74 12                	je     0x416d34
416d22:	8b 45 08             	mov    0x8(%ebp),%eax
416d25:	8b 40 0c             	mov    0xc(%eax),%eax