40aa6e:	8b 45 f4             	mov    -0xc(%ebp),%eax
40aa71:	e8 9e fb ff ff       	call   0x40a614
40aa76:	59                   	pop    %ecx
40aa77:	8b 45 d8             	mov    -0x28(%ebp),%eax
40aa7a:	e8 89 fa ff ff       	call   0x40a508
40aa7f:	59                   	pop    %ecx
40aa80:	e9 78 05 00 00       	jmp    0x40affd
40aa85:	55                   	push   %ebp
40aa86:	e8 e5 fa ff ff       	call   0x40a570
40aa8b:	59                   	pop    %ecx
40aa8c:	55                   	push   %ebp
40aa8d:	e8 0a fb ff ff       	call   0x40a59c
40aa92:	59                   	pop    %ecx
40aa93:	8b 45 08             	mov    0x8(%ebp),%eax
40aa96:	50                   	push   %eax
40aa97:	55                   	push   %ebp
40aa98:	8d 55 d4             	lea    -0x2c(%ebp),%edx
40aa9b:	8b 45 f4             	mov    -0xc(%ebp),%eax
40aa9e:	e8 ed fc ff ff       	call   0x40a790
40aaa3:	59                   	pop    %ecx
40aaa4:	8b 45 d4             	mov    -0x2c(%ebp),%eax
40aaa7:	e8 5c fa ff ff       	call   0x40a508
40aaac:	59                   	pop    %ecx
40aaad:	e9 4b 05 00 00       	jmp    0x40affd
40aab2:	55                   	push   %ebp
40aab3:	e8 b8 fa ff ff       	call   0x40a570
40aab8:	59                   	pop    %ecx
40aab9:	55                   	push   %ebp
40aaba:	e8 dd fa ff ff       	call   0x40a59c
40aabf:	59                   	pop    %ecx
40aac0:	8b 45 f4             	mov    -0xc(%ebp),%eax
40aac3:	48                   	dec    %eax
40aac4:	83 e8 02             	sub    $0x2,%eax
40aac7:	72 04                	jb     0x40aacd
40aac9:	74 18                	je     0x40aae3
40aacb:	eb 30                	jmp    0x40aafd
40aacd:	8b 45 08             	mov    0x8(%ebp),%eax
40aad0:	50                   	push   %eax
40aad1:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40aad5:	8b 55 f4             	mov    -0xc(%ebp),%edx
40aad8:	e8 47 fa ff ff       	call   0x40a524
40aadd:	59                   	pop    %ecx
40aade:	e9 1a 05 00 00       	jmp    0x40affd
40aae3:	8b 45 08             	mov    0x8(%ebp),%eax
40aae6:	50                   	push   %eax
40aae7:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40aaeb:	8b 04 85 2c 08 47 00 	mov    0x47082c(,%eax,4),%eax
40aaf2:	e8 11 fa ff ff       	call   0x40a508
40aaf7:	59                   	pop    %ecx
40aaf8:	e9 00 05 00 00       	jmp    0x40affd
40aafd:	8b 45 08             	mov    0x8(%ebp),%eax
40ab00:	50                   	push   %eax
40ab01:	0f b7 45 f0          	movzwl -0x10(%ebp),%eax
40ab05:	8b 04 85 5c 08 47 00 	mov    0x47085c(,%eax,4),%eax
40ab0c:	e8 f7 f9 ff ff       	call   0x40a508
40ab11:	59                   	pop    %ecx
40ab12:	e9 e6 04 00 00       	jmp    0x40affd
40ab17:	55                   	push   %ebp
40ab18:	e8 53 fa ff ff       	call   0x40a570
40ab1d:	59                   	pop    %ecx
40ab1e:	8b 45 f4             	mov    -0xc(%ebp),%eax
40ab21:	48                   	dec    %eax
40ab22:	83 e8 02             	sub    $0x2,%eax
40ab25:	72 0a                	jb     0x40ab31
40ab27:	74 25                	je     0x40ab4e
40ab29:	48                   	dec    %eax
40ab2a:	74 49                	je     0x40ab75
40ab2c:	48                   	dec    %eax
40ab2d:	74 6d                	je     0x40ab9c
40ab2f:	eb 7f                	jmp    0x40abb0
40ab31:	55                   	push   %ebp
40ab32:	e8 65 fa ff ff       	call   0x40a59c
40ab37:	59                   	pop    %ecx
40ab38:	8b 45 08             	mov    0x8(%ebp),%eax
40ab3b:	50                   	push   %eax
40ab3c:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
40ab40:	8b 55 f4             	mov    -0xc(%ebp),%edx
40ab43:	e8 dc f9 ff ff       	call   0x40a524
40ab48:	59                   	pop    %ecx
40ab49:	e9 af 04 00 00       	jmp    0x40affd
40ab4e:	8b 45 08             	mov    0x8(%ebp),%eax
40ab51:	50                   	push   %eax
40ab52:	8b 45 08             	mov    0x8(%ebp),%eax
40ab55:	ff 70 0c             	push   0xc(%eax)
40ab58:	ff 70 08             	push   0x8(%eax)
40ab5b:	e8 28 f9 ff ff       	call   0x40a488
40ab60:	0f b7 c0             	movzwl %ax,%eax
40ab63:	8b 04 85 8c 08 47 00 	mov    0x47088c(,%eax,4),%eax
40ab6a:	e8 99 f9 ff ff       	call   0x40a508
40ab6f:	59                   	pop    %ecx
40ab70:	e9 88 04 00 00       	jmp    0x40affd
40ab75:	8b 45 08             	mov    0x8(%ebp),%eax
40ab78:	50                   	push   %eax
40ab79:	8b 45 08             	mov    0x8(%ebp),%eax
40ab7c:	ff 70 0c             	push   0xc(%eax)
40ab7f:	ff 70 08             	push   0x8(%eax)
40ab82:	e8 01 f9 ff ff       	call   0x40a488
40ab87:	0f b7 c0             	movzwl %ax,%eax
40ab8a:	8b 04 85 a8 08 47 00 	mov    0x4708a8(,%eax,4),%eax
40ab91:	e8 72 f9 ff ff       	call   0x40a508
40ab96:	59                   	pop    %ecx
40ab97:	e9 61 04 00 00       	jmp    0x40affd
40ab9c:	8b 45 08             	mov    0x8(%ebp),%eax
40ab9f:	50                   	push   %eax
40aba0:	a1 14 08 47 00       	mov    0x470814,%eax
40aba5:	e8 fe fc ff ff       	call   0x40a8a8
40abaa:	59                   	pop    %ecx
40abab:	e9 4d 04 00 00       	jmp    0x40affd
40abb0:	8b 45 08             	mov    0x8(%ebp),%eax
40abb3:	50                   	push   %eax
40abb4:	a1 18 08 47 00       	mov    0x470818,%eax
40abb9:	e8 ea fc ff ff       	call   0x40a8a8
40abbe:	59                   	pop    %ecx
40abbf:	e9 39 04 00 00       	jmp    0x40affd
40abc4:	55                   	push   %ebp
40abc5:	e8 a6 f9 ff ff       	call   0x40a570
40abca:	59                   	pop    %ecx
40abcb:	55                   	push   %ebp
40abcc:	e8 03 fa ff ff       	call   0x40a5d4
40abd1:	59                   	pop    %ecx
40abd2:	c6 45 e0 00          	movb   $0x0,-0x20(%ebp)
40abd6:	8b 37                	mov    (%edi),%esi
40abd8:	e9 96 00 00 00       	jmp    0x40ac73
40abdd:	0f b6 06             	movzbl (%esi),%eax
40abe0:	0f b6 c0             	movzbl %al,%eax
40abe3:	0f a3 05 0c 08 46 00 	bt     %eax,0x46080c
40abea:	73 0b                	jae    0x40abf7
40abec:	8b c6                	mov    %esi,%eax
40abee:	e8 a5 22 00 00       	call   0x40ce98
40abf3:	8b f0                	mov    %eax,%esi
40abf5:	eb 7c                	jmp    0x40ac73
40abf7:	0f b6 06             	movzbl (%esi),%eax
40abfa:	83 f8 48             	cmp    $0x48,%eax
40abfd:	7f 13                	jg     0x40ac12
40abff:	74 7b                	je     0x40ac7c
40ac01:	83 e8 22             	sub    $0x22,%eax
40ac04:	74 63                	je     0x40ac69
40ac06:	83 e8 05             	sub    $0x5,%eax
40ac09:	74 5e                	je     0x40ac69
40ac0b:	83 e8 1a             	sub    $0x1a,%eax
40ac0e:	74 0e                	je     0x40ac1e
40ac10:	eb 60                	jmp    0x40ac72
40ac12:	83 e8 61             	sub    $0x61,%eax
40ac15:	74 07                	je     0x40ac1e
40ac17:	83 e8 07             	sub    $0x7,%eax
40ac1a:	74 60                	je     0x40ac7c
40ac1c:	eb 54                	jmp    0x40ac72
40ac1e:	80 7d e0 00          	cmpb   $0x0,-0x20(%ebp)
40ac22:	75 4e                	jne    0x40ac72
40ac24:	ba 3c b0 40 00       	mov    $0x40b03c,%edx
40ac29:	b9 05 00 00 00       	mov    $0x5,%ecx
40ac2e:	8b c6                	mov    %esi,%eax
40ac30:	e8 0f e7 ff ff       	call   0x409344
40ac35:	85 c0                	test   %eax,%eax
40ac37:	74 2a                	je     0x40ac63
40ac39:	ba 44 b0 40 00       	mov    $0x40b044,%edx
40ac3e:	b9 03 00 00 00       	mov    $0x3,%ecx
40ac43:	8b c6                	mov    %esi,%eax
40ac45:	e8 fa e6 ff ff       	call   0x409344
40ac4a:	85 c0                	test   %eax,%eax
40ac4c:	74 15                	je     0x40ac63
40ac4e:	ba 48 b0 40 00       	mov    $0x40b048,%edx
40ac53:	b9 04 00 00 00       	mov    $0x4,%ecx
40ac58:	8b c6                	mov    %esi,%eax
40ac5a:	e8 e5 e6 ff ff       	call   0x409344
40ac5f:	85 c0                	test   %eax,%eax
40ac61:	75 19                	jne    0x40ac7c
40ac63:	c6 45 e1 01          	movb   $0x1,-0x1f(%ebp)
40ac67:	eb 13                	jmp    0x40ac7c
40ac69:	0f b6 45 e0          	movzbl -0x20(%ebp),%eax
40ac6d:	34 01                	xor    $0x1,%al
40ac6f:	88 45 e0             	mov    %al,-0x20(%ebp)
40ac72:	46                   	inc    %esi
40ac73:	80 3e 00             	cmpb   $0x0,(%esi)
40ac76:	0f 85 61 ff ff ff    	jne    0x40abdd
40ac7c:	0f b7 45 ea          	movzwl -0x16(%ebp),%eax
40ac80:	66 89 45 de          	mov    %ax,-0x22(%ebp)
40ac84:	80 7d e1 00          	cmpb   $0x0,-0x1f(%ebp)
40ac88:	74 1b                	je     0x40aca5
40ac8a:	66 83 7d de 00       	cmpw   $0x0,-0x22(%ebp)
40ac8f:	75 08                	jne    0x40ac99
40ac91:	66 c7 45 de 0c 00    	movw   $0xc,-0x22(%ebp)
40ac97:	eb 0c                	jmp    0x40aca5
40ac99:	66 83 7d de 0c       	cmpw   $0xc,-0x22(%ebp)
40ac9e:	76 05                	jbe    0x40aca5
40aca0:	66 83 6d de 0c       	subw   $0xc,-0x22(%ebp)
40aca5:	83 7d f4 02          	cmpl   $0x2,-0xc(%ebp)
40aca9:	7e 07                	jle    0x40acb2
40acab:	c7 45 f4 02 00 00 00 	movl   $0x2,-0xc(%ebp)
40acb2:	8b 45 08             	mov    0x8(%ebp),%eax
40acb5:	50                   	push   %eax
40acb6:	0f b7 45 de          	movzwl -0x22(%ebp),%eax
40acba:	8b 55 f4             	mov    -0xc(%ebp),%edx
40acbd:	e8 62 f8 ff ff       	call   0x40a524
40acc2:	59                   	pop    %ecx
40acc3:	e9 35 03 00 00       	jmp    0x40affd
40acc8:	55                   	push   %ebp
40acc9:	e8 a2 f8 ff ff       	call   0x40a570
40acce:	59                   	pop    %ecx
40accf:	55                   	push   %ebp
40acd0:	e8 ff f8 ff ff       	call   0x40a5d4
40acd5:	59                   	pop    %ecx
40acd6:	83 7d f4 02          	cmpl   $0x2,-0xc(%ebp)
40acda:	7e 07                	jle    0x40ace3
40acdc:	c7 45 f4 02 00 00 00 	movl   $0x2,-0xc(%ebp)
40ace3:	8b 45 08             	mov    0x8(%ebp),%eax
40ace6:	50                   	push   %eax
40ace7:	0f b7 45 e8          	movzwl -0x18(%ebp),%eax
40aceb:	8b 55 f4             	mov    -0xc(%ebp),%edx
40acee:	e8 31 f8 ff ff       	call   0x40a524
40acf3:	59                   	pop    %ecx
40acf4:	e9 04 03 00 00       	jmp    0x40affd
40acf9:	55                   	push   %ebp
40acfa:	e8 71 f8 ff ff       	call   0x40a570
40acff:	59                   	pop    %ecx
40ad00:	55                   	push   %ebp
40ad01:	e8 ce f8 ff ff       	call   0x40a5d4
40ad06:	59                   	pop    %ecx
40ad07:	83 7d f4 02          	cmpl   $0x2,-0xc(%ebp)
40ad0b:	7e 07                	jle    0x40ad14
40ad0d:	c7 45 f4 02 00 00 00 	movl   $0x2,-0xc(%ebp)
40ad14:	8b 45 08             	mov    0x8(%ebp),%eax
40ad17:	50                   	push   %eax
40ad18:	0f b7 45 e6          	movzwl -0x1a(%ebp),%eax
40ad1c:	8b 55 f4             	mov    -0xc(%ebp),%edx
40ad1f:	e8 00 f8 ff ff       	call   0x40a524
40ad24:	59                   	pop    %ecx
40ad25:	e9 d3 02 00 00       	jmp    0x40affd
40ad2a:	55                   	push   %ebp
40ad2b:	e8 40 f8 ff ff       	call   0x40a570
40ad30:	59                   	pop    %ecx
40ad31:	83 7d f4 01          	cmpl   $0x1,-0xc(%ebp)
40ad35:	75 14                	jne    0x40ad4b
40ad37:	8b 45 08             	mov    0x8(%ebp),%eax
40ad3a:	50                   	push   %eax
40ad3b:	a1 28 08 47 00       	mov    0x470828,%eax
40ad40:	e8 63 fb ff ff       	call   0x40a8a8
40ad45:	59                   	pop    %ecx
40ad46:	e9 b2 02 00 00       	jmp    0x40affd
40ad4b:	8b 45 08             	mov    0x8(%ebp),%eax
40ad4e:	50                   	push   %eax
40ad4f:	a1 2c 08 47 00       	mov    0x47082c,%eax
40ad54:	e8 4f fb ff ff       	call   0x40a8a8
40ad59:	59                   	pop    %ecx
40ad5a:	e9 9e 02 00 00       	jmp    0x40affd
40ad5f:	55                   	push   %ebp
40ad60:	e8 0b f8 ff ff       	call   0x40a570
40ad65:	59                   	pop    %ecx
40ad66:	55                   	push   %ebp
40ad67:	e8 68 f8 ff ff       	call   0x40a5d4
40ad6c:	59                   	pop    %ecx
40ad6d:	83 7d f4 03          	cmpl   $0x3,-0xc(%ebp)
40ad71:	7e 07                	jle    0x40ad7a
40ad73:	c7 45 f4 03 00 00 00 	movl   $0x3,-0xc(%ebp)
40ad7a:	8b 45 08             	mov    0x8(%ebp),%eax
40ad7d:	50                   	push   %eax
40ad7e:	0f b7 45 e4          	movzwl -0x1c(%ebp),%eax
40ad82:	8b 55 f4             	mov    -0xc(%ebp),%edx
40ad85:	e8 9a f7 ff ff       	call   0x40a524
40ad8a:	59                   	pop    %ecx
40ad8b:	e9 6d 02 00 00       	jmp    0x40affd
40ad90:	55                   	push   %ebp
40ad91:	e8 3e f8 ff ff       	call   0x40a5d4
40ad96:	59                   	pop    %ecx
40ad97:	8b 37                	mov    (%edi),%esi
40ad99:	4e                   	dec    %esi
40ad9a:	ba 3c b0 40 00       	mov    $0x40b03c,%edx
40ad9f:	b9 05 00 00 00       	mov    $0x5,%ecx
40ada4:	8b c6                	mov    %esi,%eax
40ada6:	e8 99 e5 ff ff       	call   0x409344
40adab:	85 c0                	test   %eax,%eax
40adad:	75 27                	jne    0x40add6
40adaf:	66 83 7d ea 0c       	cmpw   $0xc,-0x16(%ebp)
40adb4:	72 03                	jb     0x40adb9
40adb6:	83 c6 03             	add    $0x3,%esi
40adb9:	8b 45 08             	mov    0x8(%ebp),%eax
40adbc:	50                   	push   %eax
40adbd:	ba 02 00 00 00       	mov    $0x2,%edx
40adc2:	8b c6                	mov    %esi,%eax
40adc4:	e8 fb f6 ff ff       	call   0x40a4c4
40adc9:	59                   	pop    %ecx
40adca:	83 07 04             	addl   $0x4,(%edi)
40adcd:	c6 45 e1 01          	movb   $0x1,-0x1f(%ebp)
40add1:	e9 27 02 00 00       	jmp    0x40affd
40add6:	ba 44 b0 40 00       	mov    $0x40b044,%edx
40addb:	b9 03 00 00 00       	mov    $0x3,%ecx
40ade0:	8b c6                	mov    %esi,%eax
40ade2:	e8 5d e5 ff ff       	call   0x409344
40ade7:	85 c0                	test   %eax,%eax
40ade9:	75 27                	jne    0x40ae12
40adeb:	66 83 7d ea 0c       	cmpw   $0xc,-0x16(%ebp)
40adf0:	72 03                	jb     0x40adf5
40adf2:	83 c6 02             	add    $0x2,%esi
40adf5:	8b 45 08             	mov    0x8(%ebp),%eax
40adf8:	50                   	push   %eax
40adf9:	ba 01 00 00 00       	mov    $0x1,%edx
40adfe:	8b c6                	mov    %esi,%eax
40ae00:	e8 bf f6 ff ff       	call   0x40a4c4
40ae05:	59                   	pop    %ecx
40ae06:	83 07 02             	addl   $0x2,(%edi)
40ae09:	c6 45 e1 01          	movb   $0x1,-0x1f(%ebp)
40ae0d:	e9 eb 01 00 00       	jmp    0x40affd
40ae12:	ba 48 b0 40 00       	mov    $0x40b048,%edx
40ae17:	b9 04 00 00 00       	mov    $0x4,%ecx
40ae1c:	8b c6                	mov    %esi,%eax
40ae1e:	e8 21 e5 ff ff       	call   0x409344
40ae23:	85 c0                	test   %eax,%eax
40ae25:	75 33                	jne    0x40ae5a
40ae27:	66 83 7d ea 0c       	cmpw   $0xc,-0x16(%ebp)
40ae2c:	73 11                	jae    0x40ae3f
40ae2e:	8b 45 08             	mov    0x8(%ebp),%eax
40ae31:	50                   	push   %eax
40ae32:	a1 20 08 47 00       	mov    0x470820,%eax
40ae37:	e8 cc f6 ff ff       	call   0x40a508
40ae3c:	59                   	pop    %ecx
40ae3d:	eb 0f                	jmp    0x40ae4e
40ae3f:	8b 45 08             	mov    0x8(%ebp),%eax
40ae42:	50                   	push   %eax
40ae43:	a1 24 08 47 00       	mov    0x470824,%eax
40ae48:	e8 bb f6 ff ff       	call   0x40a508
40ae4d:	59                   	pop    %ecx
40ae4e:	83 07 03             	addl   $0x3,(%edi)
40ae51:	c6 45 e1 01          	movb   $0x1,-0x1f(%ebp)
40ae55:	e9 a3 01 00 00       	jmp    0x40affd
40ae5a:	ba 50 b0 40 00       	mov    $0x40b050,%edx
40ae5f:	b9 04 00 00 00       	mov    $0x4,%ecx
40ae64:	8b c6                	mov    %esi,%eax
40ae66:	e8 d9 e4 ff ff       	call   0x409344
40ae6b:	85 c0                	test   %eax,%eax
40ae6d:	75 31                	jne    0x40aea0
40ae6f:	55                   	push   %ebp
40ae70:	e8 27 f7 ff ff       	call   0x40a59c
40ae75:	59                   	pop    %ecx
40ae76:	8b 45 08             	mov    0x8(%ebp),%eax
40ae79:	50                   	push   %eax
40ae7a:	8b 45 08             	mov    0x8(%ebp),%eax
40ae7d:	ff 70 0c             	push   0xc(%eax)
40ae80:	ff 70 08             	push   0x8(%eax)
40ae83:	e8 00 f6 ff ff       	call   0x40a488
40ae88:	0f b7 c0             	movzwl %ax,%eax
40ae8b:	8b 04 85 a8 08 47 00 	mov    0x4708a8(,%eax,4),%eax
40ae92:	e8 71 f6 ff ff       	call   0x40a508
40ae97:	59                   	pop    %ecx
40ae98:	83 07 03             	addl   $0x3,(%edi)
40ae9b:	e9 5d 01 00 00       	jmp    0x40affd
40aea0:	ba 58 b0 40 00       	mov    $0x40b058,%edx
40aea5:	b9 03 00 00 00       	mov    $0x3,%ecx
40aeaa:	8b c6                	mov    %esi,%eax
40aeac:	e8 93 e4 ff ff       	call   0x409344
40aeb1:	85 c0                	test   %eax,%eax