409fcf:	8b 75 10             	mov    0x10(%ebp),%esi
409fd2:	c1 fe 04             	sar    $0x4,%esi
409fd5:	4e                   	dec    %esi
409fd6:	89 5d 0c             	mov    %ebx,0xc(%ebp)
409fd9:	89 4b fc             	mov    %ecx,-0x4(%ebx)
409fdc:	83 fe 3f             	cmp    $0x3f,%esi
409fdf:	76 03                	jbe    0x409fe4
409fe1:	6a 3f                	push   $0x3f
409fe3:	5e                   	pop    %esi
409fe4:	f6 45 fc 01          	testb  $0x1,-0x4(%ebp)
409fe8:	0f 85 80 00 00 00    	jne    0x40a06e
409fee:	8b 75 fc             	mov    -0x4(%ebp),%esi
409ff1:	c1 fe 04             	sar    $0x4,%esi
409ff4:	4e                   	dec    %esi
409ff5:	83 fe 3f             	cmp    $0x3f,%esi
409ff8:	76 03                	jbe    0x409ffd
409ffa:	6a 3f                	push   $0x3f
409ffc:	5e                   	pop    %esi
409ffd:	8b 4f 04             	mov    0x4(%edi),%ecx
40a000:	3b 4f 08             	cmp    0x8(%edi),%ecx
40a003:	75 42                	jne    0x40a047
40a005:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40a00a:	83 fe 20             	cmp    $0x20,%esi
40a00d:	73 19                	jae    0x40a028
40a00f:	8b ce                	mov    %esi,%ecx
40a011:	d3 eb                	shr    %cl,%ebx
40a013:	8d 74 06 04          	lea    0x4(%esi,%eax,1),%esi
40a017:	f7 d3                	not    %ebx
40a019:	21 5c 90 44          	and    %ebx,0x44(%eax,%edx,4)
40a01d:	fe 0e                	decb   (%esi)
40a01f:	75 23                	jne    0x40a044
40a021:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a024:	21 19                	and    %ebx,(%ecx)
40a026:	eb 1c                	jmp    0x40a044
40a028:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a02b:	d3 eb                	shr    %cl,%ebx
40a02d:	8d 4c 06 04          	lea    0x4(%esi,%eax,1),%ecx
40a031:	f7 d3                	not    %ebx
40a033:	21 9c 90 c4 00 00 00 	and    %ebx,0xc4(%eax,%edx,4)
40a03a:	fe 09                	decb   (%ecx)
40a03c:	75 06                	jne    0x40a044
40a03e:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a041:	21 59 04             	and    %ebx,0x4(%ecx)
40a044:	8b 5d 0c             	mov    0xc(%ebp),%ebx
40a047:	8b 4f 08             	mov    0x8(%edi),%ecx
40a04a:	8b 77 04             	mov    0x4(%edi),%esi
40a04d:	89 71 04             	mov    %esi,0x4(%ecx)
40a050:	8b 77 08             	mov    0x8(%edi),%esi
40a053:	8b 4f 04             	mov    0x4(%edi),%ecx
40a056:	89 71 08             	mov    %esi,0x8(%ecx)
40a059:	8b 75 10             	mov    0x10(%ebp),%esi
40a05c:	03 75 fc             	add    -0x4(%ebp),%esi
40a05f:	89 75 10             	mov    %esi,0x10(%ebp)
40a062:	c1 fe 04             	sar    $0x4,%esi
40a065:	4e                   	dec    %esi
40a066:	83 fe 3f             	cmp    $0x3f,%esi
40a069:	76 03                	jbe    0x40a06e
40a06b:	6a 3f                	push   $0x3f
40a06d:	5e                   	pop    %esi
40a06e:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a071:	8d 0c f1             	lea    (%ecx,%esi,8),%ecx
40a074:	8b 79 04             	mov    0x4(%ecx),%edi
40a077:	89 4b 08             	mov    %ecx,0x8(%ebx)
40a07a:	89 7b 04             	mov    %edi,0x4(%ebx)
40a07d:	89 59 04             	mov    %ebx,0x4(%ecx)
40a080:	8b 4b 04             	mov    0x4(%ebx),%ecx
40a083:	89 59 08             	mov    %ebx,0x8(%ecx)
40a086:	8b 4b 04             	mov    0x4(%ebx),%ecx
40a089:	3b 4b 08             	cmp    0x8(%ebx),%ecx
40a08c:	75 57                	jne    0x40a0e5
40a08e:	8a 4c 06 04          	mov    0x4(%esi,%eax,1),%cl
40a092:	88 4d 0f             	mov    %cl,0xf(%ebp)
40a095:	fe c1                	inc    %cl
40a097:	88 4c 06 04          	mov    %cl,0x4(%esi,%eax,1)
40a09b:	83 fe 20             	cmp    $0x20,%esi
40a09e:	73 1c                	jae    0x40a0bc
40a0a0:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
40a0a4:	75 0e                	jne    0x40a0b4
40a0a6:	8b ce                	mov    %esi,%ecx
40a0a8:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a0ad:	d3 ef                	shr    %cl,%edi
40a0af:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a0b2:	09 39                	or     %edi,(%ecx)
40a0b4:	8d 44 90 44          	lea    0x44(%eax,%edx,4),%eax
40a0b8:	8b ce                	mov    %esi,%ecx
40a0ba:	eb 20                	jmp    0x40a0dc
40a0bc:	80 7d 0f 00          	cmpb   $0x0,0xf(%ebp)
40a0c0:	75 10                	jne    0x40a0d2
40a0c2:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a0c5:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a0ca:	d3 ef                	shr    %cl,%edi
40a0cc:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a0cf:	09 79 04             	or     %edi,0x4(%ecx)
40a0d2:	8d 84 90 c4 00 00 00 	lea    0xc4(%eax,%edx,4),%eax
40a0d9:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a0dc:	ba 00 00 00 80       	mov    $0x80000000,%edx
40a0e1:	d3 ea                	shr    %cl,%edx
40a0e3:	09 10                	or     %edx,(%eax)
40a0e5:	8b 45 10             	mov    0x10(%ebp),%eax
40a0e8:	89 03                	mov    %eax,(%ebx)
40a0ea:	89 44 18 fc          	mov    %eax,-0x4(%eax,%ebx,1)
40a0ee:	33 c0                	xor    %eax,%eax
40a0f0:	40                   	inc    %eax
40a0f1:	5f                   	pop    %edi
40a0f2:	5e                   	pop    %esi
40a0f3:	5b                   	pop    %ebx
40a0f4:	c9                   	leave
40a0f5:	c3                   	ret
40a0f6:	8b ff                	mov    %edi,%edi
40a0f8:	55                   	push   %ebp
40a0f9:	8b ec                	mov    %esp,%ebp
40a0fb:	83 ec 14             	sub    $0x14,%esp
40a0fe:	a1 88 23 c7 00       	mov    0xc72388,%eax
40a103:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a106:	6b c0 14             	imul   $0x14,%eax,%eax
40a109:	03 05 8c 23 c7 00    	add    0xc7238c,%eax
40a10f:	83 c1 17             	add    $0x17,%ecx
40a112:	83 e1 f0             	and    $0xfffffff0,%ecx
40a115:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40a118:	c1 f9 04             	sar    $0x4,%ecx
40a11b:	53                   	push   %ebx
40a11c:	49                   	dec    %ecx
40a11d:	83 f9 20             	cmp    $0x20,%ecx
40a120:	56                   	push   %esi
40a121:	57                   	push   %edi
40a122:	7d 0b                	jge    0x40a12f
40a124:	83 ce ff             	or     $0xffffffff,%esi
40a127:	d3 ee                	shr    %cl,%esi
40a129:	83 4d f8 ff          	orl    $0xffffffff,-0x8(%ebp)
40a12d:	eb 0d                	jmp    0x40a13c
40a12f:	83 c1 e0             	add    $0xffffffe0,%ecx
40a132:	83 ca ff             	or     $0xffffffff,%edx
40a135:	33 f6                	xor    %esi,%esi
40a137:	d3 ea                	shr    %cl,%edx
40a139:	89 55 f8             	mov    %edx,-0x8(%ebp)
40a13c:	8b 0d 94 23 c7 00    	mov    0xc72394,%ecx
40a142:	8b d9                	mov    %ecx,%ebx
40a144:	eb 11                	jmp    0x40a157
40a146:	8b 53 04             	mov    0x4(%ebx),%edx
40a149:	8b 3b                	mov    (%ebx),%edi
40a14b:	23 55 f8             	and    -0x8(%ebp),%edx
40a14e:	23 fe                	and    %esi,%edi
40a150:	0b d7                	or     %edi,%edx
40a152:	75 0a                	jne    0x40a15e
40a154:	83 c3 14             	add    $0x14,%ebx
40a157:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a15a:	3b d8                	cmp    %eax,%ebx
40a15c:	72 e8                	jb     0x40a146
40a15e:	3b d8                	cmp    %eax,%ebx
40a160:	75 7f                	jne    0x40a1e1
40a162:	8b 1d 8c 23 c7 00    	mov    0xc7238c,%ebx
40a168:	eb 11                	jmp    0x40a17b
40a16a:	8b 53 04             	mov    0x4(%ebx),%edx
40a16d:	8b 3b                	mov    (%ebx),%edi
40a16f:	23 55 f8             	and    -0x8(%ebp),%edx
40a172:	23 fe                	and    %esi,%edi
40a174:	0b d7                	or     %edi,%edx
40a176:	75 0a                	jne    0x40a182
40a178:	83 c3 14             	add    $0x14,%ebx
40a17b:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a17e:	3b d9                	cmp    %ecx,%ebx
40a180:	72 e8                	jb     0x40a16a
40a182:	3b d9                	cmp    %ecx,%ebx
40a184:	75 5b                	jne    0x40a1e1
40a186:	eb 0c                	jmp    0x40a194
40a188:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)
40a18c:	75 0a                	jne    0x40a198
40a18e:	83 c3 14             	add    $0x14,%ebx
40a191:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a194:	3b d8                	cmp    %eax,%ebx
40a196:	72 f0                	jb     0x40a188
40a198:	3b d8                	cmp    %eax,%ebx
40a19a:	75 31                	jne    0x40a1cd
40a19c:	8b 1d 8c 23 c7 00    	mov    0xc7238c,%ebx
40a1a2:	eb 09                	jmp    0x40a1ad
40a1a4:	83 7b 08 00          	cmpl   $0x0,0x8(%ebx)
40a1a8:	75 0a                	jne    0x40a1b4
40a1aa:	83 c3 14             	add    $0x14,%ebx
40a1ad:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a1b0:	3b d9                	cmp    %ecx,%ebx
40a1b2:	72 f0                	jb     0x40a1a4
40a1b4:	3b d9                	cmp    %ecx,%ebx
40a1b6:	75 15                	jne    0x40a1cd
40a1b8:	e8 a0 fa ff ff       	call   0x409c5d
40a1bd:	8b d8                	mov    %eax,%ebx
40a1bf:	89 5d 08             	mov    %ebx,0x8(%ebp)
40a1c2:	85 db                	test   %ebx,%ebx
40a1c4:	75 07                	jne    0x40a1cd
40a1c6:	33 c0                	xor    %eax,%eax
40a1c8:	e9 09 02 00 00       	jmp    0x40a3d6
40a1cd:	53                   	push   %ebx
40a1ce:	e8 3a fb ff ff       	call   0x409d0d
40a1d3:	59                   	pop    %ecx
40a1d4:	8b 4b 10             	mov    0x10(%ebx),%ecx
40a1d7:	89 01                	mov    %eax,(%ecx)
40a1d9:	8b 43 10             	mov    0x10(%ebx),%eax
40a1dc:	83 38 ff             	cmpl   $0xffffffff,(%eax)
40a1df:	74 e5                	je     0x40a1c6
40a1e1:	89 1d 94 23 c7 00    	mov    %ebx,0xc72394
40a1e7:	8b 43 10             	mov    0x10(%ebx),%eax
40a1ea:	8b 10                	mov    (%eax),%edx
40a1ec:	89 55 fc             	mov    %edx,-0x4(%ebp)
40a1ef:	83 fa ff             	cmp    $0xffffffff,%edx
40a1f2:	74 14                	je     0x40a208
40a1f4:	8b 8c 90 c4 00 00 00 	mov    0xc4(%eax,%edx,4),%ecx
40a1fb:	8b 7c 90 44          	mov    0x44(%eax,%edx,4),%edi
40a1ff:	23 4d f8             	and    -0x8(%ebp),%ecx
40a202:	23 fe                	and    %esi,%edi
40a204:	0b cf                	or     %edi,%ecx
40a206:	75 29                	jne    0x40a231
40a208:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40a20c:	8b 90 c4 00 00 00    	mov    0xc4(%eax),%edx
40a212:	8d 48 44             	lea    0x44(%eax),%ecx
40a215:	8b 39                	mov    (%ecx),%edi
40a217:	23 55 f8             	and    -0x8(%ebp),%edx
40a21a:	23 fe                	and    %esi,%edi
40a21c:	0b d7                	or     %edi,%edx
40a21e:	75 0e                	jne    0x40a22e
40a220:	ff 45 fc             	incl   -0x4(%ebp)
40a223:	8b 91 84 00 00 00    	mov    0x84(%ecx),%edx
40a229:	83 c1 04             	add    $0x4,%ecx
40a22c:	eb e7                	jmp    0x40a215
40a22e:	8b 55 fc             	mov    -0x4(%ebp),%edx
40a231:	8b ca                	mov    %edx,%ecx
40a233:	69 c9 04 02 00 00    	imul   $0x204,%ecx,%ecx
40a239:	8d 8c 01 44 01 00 00 	lea    0x144(%ecx,%eax,1),%ecx
40a240:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40a243:	8b 4c 90 44          	mov    0x44(%eax,%edx,4),%ecx
40a247:	33 ff                	xor    %edi,%edi
40a249:	23 ce                	and    %esi,%ecx
40a24b:	75 12                	jne    0x40a25f
40a24d:	8b 8c 90 c4 00 00 00 	mov    0xc4(%eax,%edx,4),%ecx
40a254:	23 4d f8             	and    -0x8(%ebp),%ecx
40a257:	6a 20                	push   $0x20
40a259:	5f                   	pop    %edi
40a25a:	eb 03                	jmp    0x40a25f
40a25c:	03 c9                	add    %ecx,%ecx
40a25e:	47                   	inc    %edi
40a25f:	85 c9                	test   %ecx,%ecx
40a261:	7d f9                	jge    0x40a25c
40a263:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a266:	8b 54 f9 04          	mov    0x4(%ecx,%edi,8),%edx
40a26a:	8b 0a                	mov    (%edx),%ecx
40a26c:	2b 4d f0             	sub    -0x10(%ebp),%ecx
40a26f:	8b f1                	mov    %ecx,%esi
40a271:	c1 fe 04             	sar    $0x4,%esi
40a274:	4e                   	dec    %esi
40a275:	83 fe 3f             	cmp    $0x3f,%esi
40a278:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40a27b:	7e 03                	jle    0x40a280
40a27d:	6a 3f                	push   $0x3f
40a27f:	5e                   	pop    %esi
40a280:	3b f7                	cmp    %edi,%esi
40a282:	0f 84 01 01 00 00    	je     0x40a389
40a288:	8b 4a 04             	mov    0x4(%edx),%ecx
40a28b:	3b 4a 08             	cmp    0x8(%edx),%ecx
40a28e:	75 5c                	jne    0x40a2ec
40a290:	83 ff 20             	cmp    $0x20,%edi
40a293:	bb 00 00 00 80       	mov    $0x80000000,%ebx
40a298:	7d 26                	jge    0x40a2c0
40a29a:	8b cf                	mov    %edi,%ecx
40a29c:	d3 eb                	shr    %cl,%ebx
40a29e:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a2a1:	8d 7c 38 04          	lea    0x4(%eax,%edi,1),%edi
40a2a5:	f7 d3                	not    %ebx
40a2a7:	89 5d ec             	mov    %ebx,-0x14(%ebp)
40a2aa:	23 5c 88 44          	and    0x44(%eax,%ecx,4),%ebx
40a2ae:	89 5c 88 44          	mov    %ebx,0x44(%eax,%ecx,4)
40a2b2:	fe 0f                	decb   (%edi)
40a2b4:	75 33                	jne    0x40a2e9
40a2b6:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40a2b9:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a2bc:	21 0b                	and    %ecx,(%ebx)
40a2be:	eb 2c                	jmp    0x40a2ec
40a2c0:	8d 4f e0             	lea    -0x20(%edi),%ecx
40a2c3:	d3 eb                	shr    %cl,%ebx
40a2c5:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a2c8:	8d 8c 88 c4 00 00 00 	lea    0xc4(%eax,%ecx,4),%ecx
40a2cf:	8d 7c 38 04          	lea    0x4(%eax,%edi,1),%edi
40a2d3:	f7 d3                	not    %ebx
40a2d5:	21 19                	and    %ebx,(%ecx)
40a2d7:	fe 0f                	decb   (%edi)
40a2d9:	89 5d ec             	mov    %ebx,-0x14(%ebp)
40a2dc:	75 0b                	jne    0x40a2e9
40a2de:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a2e1:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40a2e4:	21 4b 04             	and    %ecx,0x4(%ebx)
40a2e7:	eb 03                	jmp    0x40a2ec
40a2e9:	8b 5d 08             	mov    0x8(%ebp),%ebx
40a2ec:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
40a2f0:	8b 4a 08             	mov    0x8(%edx),%ecx
40a2f3:	8b 7a 04             	mov    0x4(%edx),%edi
40a2f6:	89 79 04             	mov    %edi,0x4(%ecx)
40a2f9:	8b 4a 04             	mov    0x4(%edx),%ecx
40a2fc:	8b 7a 08             	mov    0x8(%edx),%edi
40a2ff:	89 79 08             	mov    %edi,0x8(%ecx)
40a302:	0f 84 8d 00 00 00    	je     0x40a395
40a308:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40a30b:	8d 0c f1             	lea    (%ecx,%esi,8),%ecx
40a30e:	8b 79 04             	mov    0x4(%ecx),%edi
40a311:	89 4a 08             	mov    %ecx,0x8(%edx)
40a314:	89 7a 04             	mov    %edi,0x4(%edx)
40a317:	89 51 04             	mov    %edx,0x4(%ecx)
40a31a:	8b 4a 04             	mov    0x4(%edx),%ecx
40a31d:	89 51 08             	mov    %edx,0x8(%ecx)
40a320:	8b 4a 04             	mov    0x4(%edx),%ecx
40a323:	3b 4a 08             	cmp    0x8(%edx),%ecx
40a326:	75 5e                	jne    0x40a386
40a328:	8a 4c 06 04          	mov    0x4(%esi,%eax,1),%cl
40a32c:	88 4d 0b             	mov    %cl,0xb(%ebp)
40a32f:	fe c1                	inc    %cl
40a331:	83 fe 20             	cmp    $0x20,%esi
40a334:	88 4c 06 04          	mov    %cl,0x4(%esi,%eax,1)
40a338:	7d 23                	jge    0x40a35d
40a33a:	80 7d 0b 00          	cmpb   $0x0,0xb(%ebp)
40a33e:	75 0b                	jne    0x40a34b
40a340:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a345:	8b ce                	mov    %esi,%ecx
40a347:	d3 ef                	shr    %cl,%edi
40a349:	09 3b                	or     %edi,(%ebx)
40a34b:	8b ce                	mov    %esi,%ecx
40a34d:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a352:	d3 ef                	shr    %cl,%edi
40a354:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a357:	09 7c 88 44          	or     %edi,0x44(%eax,%ecx,4)
40a35b:	eb 29                	jmp    0x40a386
40a35d:	80 7d 0b 00          	cmpb   $0x0,0xb(%ebp)
40a361:	75 0d                	jne    0x40a370
40a363:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a366:	bf 00 00 00 80       	mov    $0x80000000,%edi
40a36b:	d3 ef                	shr    %cl,%edi
40a36d:	09 7b 04             	or     %edi,0x4(%ebx)
40a370:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40a373:	8d bc 88 c4 00 00 00 	lea    0xc4(%eax,%ecx,4),%edi
40a37a:	8d 4e e0             	lea    -0x20(%esi),%ecx
40a37d:	be 00 00 00 80       	mov    $0x80000000,%esi
40a382:	d3 ee                	shr    %cl,%esi
40a384:	09 37                	or     %esi,(%edi)
40a386:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40a389:	85 c9                	test   %ecx,%ecx
40a38b:	74 0b                	je     0x40a398
40a38d:	89 0a                	mov    %ecx,(%edx)
40a38f:	89 4c 11 fc          	mov    %ecx,-0x4(%ecx,%edx,1)
40a393:	eb 03                	jmp    0x40a398
40a395:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40a398:	8b 75 f0             	mov    -0x10(%ebp),%esi
40a39b:	03 d1                	add    %ecx,%edx
40a39d:	8d 4e 01             	lea    0x1(%esi),%ecx
40a3a0:	89 0a                	mov    %ecx,(%edx)
40a3a2:	89 4c 32 fc          	mov    %ecx,-0x4(%edx,%esi,1)