40e4e5:	7f 12                	jg     0x40e4f9
40e4e7:	7c 04                	jl     0x40e4ed
40e4e9:	3b cb                	cmp    %ebx,%ecx
40e4eb:	73 0c                	jae    0x40e4f9
40e4ed:	f7 d9                	neg    %ecx
40e4ef:	13 d3                	adc    %ebx,%edx
40e4f1:	f7 da                	neg    %edx
40e4f3:	83 cf 40             	or     $0x40,%edi
40e4f6:	89 7e 1c             	mov    %edi,0x1c(%esi)
40e4f9:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
40e4fd:	89 55 f8             	mov    %edx,-0x8(%ebp)
40e500:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40e503:	7d 09                	jge    0x40e50e
40e505:	c7 46 24 01 00 00 00 	movl   $0x1,0x24(%esi)
40e50c:	eb 1a                	jmp    0x40e528
40e50e:	ff 76 08             	push   0x8(%esi)
40e511:	83 e7 f7             	and    $0xfffffff7,%edi
40e514:	8d 4e 3c             	lea    0x3c(%esi),%ecx
40e517:	ff 76 24             	push   0x24(%esi)
40e51a:	89 7e 1c             	mov    %edi,0x1c(%esi)
40e51d:	e8 fd f4 ff ff       	call   0x40da1f
40e522:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e525:	8b 55 f8             	mov    -0x8(%ebp),%edx
40e528:	8b c1                	mov    %ecx,%eax
40e52a:	0b c2                	or     %edx,%eax
40e52c:	75 04                	jne    0x40e532
40e52e:	83 66 1c df          	andl   $0xffffffdf,0x1c(%esi)
40e532:	83 7d f4 08          	cmpl   $0x8,-0xc(%ebp)
40e536:	ff 75 08             	push   0x8(%ebp)
40e539:	88 5e 38             	mov    %bl,0x38(%esi)
40e53c:	75 0b                	jne    0x40e549
40e53e:	52                   	push   %edx
40e53f:	51                   	push   %ecx
40e540:	8b ce                	mov    %esi,%ecx
40e542:	e8 06 0b 00 00       	call   0x40f04d
40e547:	eb 08                	jmp    0x40e551
40e549:	51                   	push   %ecx
40e54a:	8b ce                	mov    %esi,%ecx
40e54c:	e8 fc 07 00 00       	call   0x40ed4d
40e551:	8b 46 1c             	mov    0x1c(%esi),%eax
40e554:	c1 e8 07             	shr    $0x7,%eax
40e557:	a8 01                	test   $0x1,%al
40e559:	74 19                	je     0x40e574
40e55b:	39 5e 34             	cmp    %ebx,0x34(%esi)
40e55e:	74 08                	je     0x40e568
40e560:	8b 46 30             	mov    0x30(%esi),%eax
40e563:	80 38 30             	cmpb   $0x30,(%eax)
40e566:	74 0c                	je     0x40e574
40e568:	ff 4e 30             	decl   0x30(%esi)
40e56b:	8b 4e 30             	mov    0x30(%esi),%ecx
40e56e:	c6 01 30             	movb   $0x30,(%ecx)
40e571:	ff 46 34             	incl   0x34(%esi)
40e574:	b0 01                	mov    $0x1,%al
40e576:	5f                   	pop    %edi
40e577:	5e                   	pop    %esi
40e578:	5b                   	pop    %ebx
40e579:	c9                   	leave
40e57a:	c2 04 00             	ret    $0x4
40e57d:	8b ff                	mov    %edi,%edi
40e57f:	55                   	push   %ebp
40e580:	8b ec                	mov    %esp,%ebp
40e582:	83 ec 0c             	sub    $0xc,%esp
40e585:	53                   	push   %ebx
40e586:	56                   	push   %esi
40e587:	8b f1                	mov    %ecx,%esi
40e589:	57                   	push   %edi
40e58a:	ff 76 28             	push   0x28(%esi)
40e58d:	e8 1b 2b 00 00       	call   0x4110ad
40e592:	59                   	pop    %ecx
40e593:	8b c8                	mov    %eax,%ecx
40e595:	89 45 f4             	mov    %eax,-0xc(%ebp)
40e598:	6a 00                	push   $0x0
40e59a:	5b                   	pop    %ebx
40e59b:	83 e9 01             	sub    $0x1,%ecx
40e59e:	0f 84 99 00 00 00    	je     0x40e63d
40e5a4:	83 e9 01             	sub    $0x1,%ecx
40e5a7:	74 75                	je     0x40e61e
40e5a9:	49                   	dec    %ecx
40e5aa:	83 e9 01             	sub    $0x1,%ecx
40e5ad:	74 46                	je     0x40e5f5
40e5af:	83 e9 04             	sub    $0x4,%ecx
40e5b2:	74 27                	je     0x40e5db
40e5b4:	8b 46 08             	mov    0x8(%esi),%eax
40e5b7:	83 c0 18             	add    $0x18,%eax
40e5ba:	c6 40 04 01          	movb   $0x1,0x4(%eax)
40e5be:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40e5c4:	ff 76 08             	push   0x8(%esi)
40e5c7:	53                   	push   %ebx
40e5c8:	53                   	push   %ebx
40e5c9:	53                   	push   %ebx
40e5ca:	53                   	push   %ebx
40e5cb:	53                   	push   %ebx
40e5cc:	e8 a0 ed ff ff       	call   0x40d371
40e5d1:	83 c4 18             	add    $0x18,%esp
40e5d4:	32 c0                	xor    %al,%al
40e5d6:	e9 2d 01 00 00       	jmp    0x40e708
40e5db:	8b 4e 10             	mov    0x10(%esi),%ecx
40e5de:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e5e1:	8b c7                	mov    %edi,%eax
40e5e3:	c1 e8 04             	shr    $0x4,%eax
40e5e6:	a8 01                	test   $0x1,%al
40e5e8:	8d 41 08             	lea    0x8(%ecx),%eax
40e5eb:	89 46 10             	mov    %eax,0x10(%esi)
40e5ee:	8b 01                	mov    (%ecx),%eax
40e5f0:	8b 51 04             	mov    0x4(%ecx),%edx
40e5f3:	eb 66                	jmp    0x40e65b
40e5f5:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e5f8:	8b c7                	mov    %edi,%eax
40e5fa:	c1 e8 04             	shr    $0x4,%eax
40e5fd:	a8 01                	test   $0x1,%al
40e5ff:	74 0d                	je     0x40e60e
40e601:	8b 46 10             	mov    0x10(%esi),%eax
40e604:	8d 48 04             	lea    0x4(%eax),%ecx
40e607:	89 4e 10             	mov    %ecx,0x10(%esi)
40e60a:	8b 00                	mov    (%eax),%eax
40e60c:	eb 4c                	jmp    0x40e65a
40e60e:	8b 4e 10             	mov    0x10(%esi),%ecx
40e611:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40e614:	8d 41 04             	lea    0x4(%ecx),%eax
40e617:	89 46 10             	mov    %eax,0x10(%esi)
40e61a:	8b 01                	mov    (%ecx),%eax
40e61c:	eb 40                	jmp    0x40e65e
40e61e:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e621:	8b c7                	mov    %edi,%eax
40e623:	8b 4e 10             	mov    0x10(%esi),%ecx
40e626:	c1 e8 04             	shr    $0x4,%eax
40e629:	a8 01                	test   $0x1,%al
40e62b:	8d 41 04             	lea    0x4(%ecx),%eax
40e62e:	89 46 10             	mov    %eax,0x10(%esi)
40e631:	74 05                	je     0x40e638
40e633:	0f bf 01             	movswl (%ecx),%eax
40e636:	eb 22                	jmp    0x40e65a
40e638:	0f b7 01             	movzwl (%ecx),%eax
40e63b:	eb 1d                	jmp    0x40e65a
40e63d:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e640:	8b c7                	mov    %edi,%eax
40e642:	8b 4e 10             	mov    0x10(%esi),%ecx
40e645:	c1 e8 04             	shr    $0x4,%eax
40e648:	a8 01                	test   $0x1,%al
40e64a:	8d 41 04             	lea    0x4(%ecx),%eax
40e64d:	89 46 10             	mov    %eax,0x10(%esi)
40e650:	74 05                	je     0x40e657
40e652:	0f be 01             	movsbl (%ecx),%eax
40e655:	eb 03                	jmp    0x40e65a
40e657:	0f b6 01             	movzbl (%ecx),%eax
40e65a:	99                   	cltd
40e65b:	89 55 f8             	mov    %edx,-0x8(%ebp)
40e65e:	8b 55 f8             	mov    -0x8(%ebp),%edx
40e661:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e664:	8b c7                	mov    %edi,%eax
40e666:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e669:	c1 e8 04             	shr    $0x4,%eax
40e66c:	a8 01                	test   $0x1,%al
40e66e:	74 16                	je     0x40e686
40e670:	3b d3                	cmp    %ebx,%edx
40e672:	7f 12                	jg     0x40e686
40e674:	7c 04                	jl     0x40e67a
40e676:	3b cb                	cmp    %ebx,%ecx
40e678:	73 0c                	jae    0x40e686
40e67a:	f7 d9                	neg    %ecx
40e67c:	13 d3                	adc    %ebx,%edx
40e67e:	f7 da                	neg    %edx
40e680:	83 cf 40             	or     $0x40,%edi
40e683:	89 7e 1c             	mov    %edi,0x1c(%esi)
40e686:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
40e68a:	89 55 f8             	mov    %edx,-0x8(%ebp)
40e68d:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40e690:	7d 09                	jge    0x40e69b
40e692:	c7 46 24 01 00 00 00 	movl   $0x1,0x24(%esi)
40e699:	eb 1a                	jmp    0x40e6b5
40e69b:	ff 76 08             	push   0x8(%esi)
40e69e:	83 e7 f7             	and    $0xfffffff7,%edi
40e6a1:	8d 4e 3c             	lea    0x3c(%esi),%ecx
40e6a4:	ff 76 24             	push   0x24(%esi)
40e6a7:	89 7e 1c             	mov    %edi,0x1c(%esi)
40e6aa:	e8 f1 f3 ff ff       	call   0x40daa0
40e6af:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e6b2:	8b 55 f8             	mov    -0x8(%ebp),%edx
40e6b5:	8b c1                	mov    %ecx,%eax
40e6b7:	0b c2                	or     %edx,%eax
40e6b9:	75 04                	jne    0x40e6bf
40e6bb:	83 66 1c df          	andl   $0xffffffdf,0x1c(%esi)
40e6bf:	83 7d f4 08          	cmpl   $0x8,-0xc(%ebp)
40e6c3:	ff 75 08             	push   0x8(%ebp)
40e6c6:	c6 46 38 01          	movb   $0x1,0x38(%esi)
40e6ca:	75 0b                	jne    0x40e6d7
40e6cc:	52                   	push   %edx
40e6cd:	51                   	push   %ecx
40e6ce:	8b ce                	mov    %esi,%ecx
40e6d0:	e8 f0 09 00 00       	call   0x40f0c5
40e6d5:	eb 08                	jmp    0x40e6df
40e6d7:	51                   	push   %ecx
40e6d8:	8b ce                	mov    %esi,%ecx
40e6da:	e8 d1 06 00 00       	call   0x40edb0
40e6df:	8b 46 1c             	mov    0x1c(%esi),%eax
40e6e2:	c1 e8 07             	shr    $0x7,%eax
40e6e5:	a8 01                	test   $0x1,%al
40e6e7:	74 1d                	je     0x40e706
40e6e9:	6a 30                	push   $0x30
40e6eb:	5a                   	pop    %edx
40e6ec:	39 5e 34             	cmp    %ebx,0x34(%esi)
40e6ef:	74 08                	je     0x40e6f9
40e6f1:	8b 46 30             	mov    0x30(%esi),%eax
40e6f4:	66 39 10             	cmp    %dx,(%eax)
40e6f7:	74 0d                	je     0x40e706
40e6f9:	83 46 30 fe          	addl   $0xfffffffe,0x30(%esi)
40e6fd:	8b 4e 30             	mov    0x30(%esi),%ecx
40e700:	66 89 11             	mov    %dx,(%ecx)
40e703:	ff 46 34             	incl   0x34(%esi)
40e706:	b0 01                	mov    $0x1,%al
40e708:	5f                   	pop    %edi
40e709:	5e                   	pop    %esi
40e70a:	5b                   	pop    %ebx
40e70b:	c9                   	leave
40e70c:	c2 04 00             	ret    $0x4
40e70f:	8b ff                	mov    %edi,%edi
40e711:	55                   	push   %ebp
40e712:	8b ec                	mov    %esp,%ebp
40e714:	83 ec 0c             	sub    $0xc,%esp
40e717:	53                   	push   %ebx
40e718:	56                   	push   %esi
40e719:	8b f1                	mov    %ecx,%esi
40e71b:	57                   	push   %edi
40e71c:	ff 76 28             	push   0x28(%esi)
40e71f:	e8 89 29 00 00       	call   0x4110ad
40e724:	59                   	pop    %ecx
40e725:	8b c8                	mov    %eax,%ecx
40e727:	89 45 f4             	mov    %eax,-0xc(%ebp)
40e72a:	6a 00                	push   $0x0
40e72c:	5b                   	pop    %ebx
40e72d:	83 e9 01             	sub    $0x1,%ecx
40e730:	0f 84 99 00 00 00    	je     0x40e7cf
40e736:	83 e9 01             	sub    $0x1,%ecx
40e739:	74 75                	je     0x40e7b0
40e73b:	49                   	dec    %ecx
40e73c:	83 e9 01             	sub    $0x1,%ecx
40e73f:	74 46                	je     0x40e787
40e741:	83 e9 04             	sub    $0x4,%ecx
40e744:	74 27                	je     0x40e76d
40e746:	8b 46 08             	mov    0x8(%esi),%eax
40e749:	83 c0 18             	add    $0x18,%eax
40e74c:	c6 40 04 01          	movb   $0x1,0x4(%eax)
40e750:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40e756:	ff 76 08             	push   0x8(%esi)
40e759:	53                   	push   %ebx
40e75a:	53                   	push   %ebx
40e75b:	53                   	push   %ebx
40e75c:	53                   	push   %ebx
40e75d:	53                   	push   %ebx
40e75e:	e8 0e ec ff ff       	call   0x40d371
40e763:	83 c4 18             	add    $0x18,%esp
40e766:	32 c0                	xor    %al,%al
40e768:	e9 28 01 00 00       	jmp    0x40e895
40e76d:	8b 4e 10             	mov    0x10(%esi),%ecx
40e770:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e773:	8b c7                	mov    %edi,%eax
40e775:	c1 e8 04             	shr    $0x4,%eax
40e778:	a8 01                	test   $0x1,%al
40e77a:	8d 41 08             	lea    0x8(%ecx),%eax
40e77d:	89 46 10             	mov    %eax,0x10(%esi)
40e780:	8b 01                	mov    (%ecx),%eax
40e782:	8b 51 04             	mov    0x4(%ecx),%edx
40e785:	eb 66                	jmp    0x40e7ed
40e787:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e78a:	8b c7                	mov    %edi,%eax
40e78c:	c1 e8 04             	shr    $0x4,%eax
40e78f:	a8 01                	test   $0x1,%al
40e791:	74 0d                	je     0x40e7a0
40e793:	8b 46 10             	mov    0x10(%esi),%eax
40e796:	8d 48 04             	lea    0x4(%eax),%ecx
40e799:	89 4e 10             	mov    %ecx,0x10(%esi)
40e79c:	8b 00                	mov    (%eax),%eax
40e79e:	eb 4c                	jmp    0x40e7ec
40e7a0:	8b 4e 10             	mov    0x10(%esi),%ecx
40e7a3:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40e7a6:	8d 41 04             	lea    0x4(%ecx),%eax
40e7a9:	89 46 10             	mov    %eax,0x10(%esi)
40e7ac:	8b 01                	mov    (%ecx),%eax
40e7ae:	eb 40                	jmp    0x40e7f0
40e7b0:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e7b3:	8b c7                	mov    %edi,%eax
40e7b5:	8b 4e 10             	mov    0x10(%esi),%ecx
40e7b8:	c1 e8 04             	shr    $0x4,%eax
40e7bb:	a8 01                	test   $0x1,%al
40e7bd:	8d 41 04             	lea    0x4(%ecx),%eax
40e7c0:	89 46 10             	mov    %eax,0x10(%esi)
40e7c3:	74 05                	je     0x40e7ca
40e7c5:	0f bf 01             	movswl (%ecx),%eax
40e7c8:	eb 22                	jmp    0x40e7ec
40e7ca:	0f b7 01             	movzwl (%ecx),%eax
40e7cd:	eb 1d                	jmp    0x40e7ec
40e7cf:	8b 7e 1c             	mov    0x1c(%esi),%edi
40e7d2:	8b c7                	mov    %edi,%eax
40e7d4:	8b 4e 10             	mov    0x10(%esi),%ecx
40e7d7:	c1 e8 04             	shr    $0x4,%eax
40e7da:	a8 01                	test   $0x1,%al
40e7dc:	8d 41 04             	lea    0x4(%ecx),%eax
40e7df:	89 46 10             	mov    %eax,0x10(%esi)
40e7e2:	74 05                	je     0x40e7e9
40e7e4:	0f be 01             	movsbl (%ecx),%eax
40e7e7:	eb 03                	jmp    0x40e7ec
40e7e9:	0f b6 01             	movzbl (%ecx),%eax
40e7ec:	99                   	cltd
40e7ed:	89 55 f8             	mov    %edx,-0x8(%ebp)
40e7f0:	8b 55 f8             	mov    -0x8(%ebp),%edx
40e7f3:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e7f6:	8b c7                	mov    %edi,%eax
40e7f8:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e7fb:	c1 e8 04             	shr    $0x4,%eax
40e7fe:	a8 01                	test   $0x1,%al
40e800:	74 16                	je     0x40e818
40e802:	3b d3                	cmp    %ebx,%edx
40e804:	7f 12                	jg     0x40e818
40e806:	7c 04                	jl     0x40e80c
40e808:	3b cb                	cmp    %ebx,%ecx
40e80a:	73 0c                	jae    0x40e818
40e80c:	f7 d9                	neg    %ecx
40e80e:	13 d3                	adc    %ebx,%edx
40e810:	f7 da                	neg    %edx
40e812:	83 cf 40             	or     $0x40,%edi
40e815:	89 7e 1c             	mov    %edi,0x1c(%esi)
40e818:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
40e81c:	89 55 f8             	mov    %edx,-0x8(%ebp)
40e81f:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40e822:	7d 09                	jge    0x40e82d
40e824:	c7 46 24 01 00 00 00 	movl   $0x1,0x24(%esi)
40e82b:	eb 1a                	jmp    0x40e847
40e82d:	ff 76 08             	push   0x8(%esi)
40e830:	83 e7 f7             	and    $0xfffffff7,%edi
40e833:	8d 4e 3c             	lea    0x3c(%esi),%ecx
40e836:	ff 76 24             	push   0x24(%esi)
40e839:	89 7e 1c             	mov    %edi,0x1c(%esi)
40e83c:	e8 de f1 ff ff       	call   0x40da1f
40e841:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e844:	8b 55 f8             	mov    -0x8(%ebp),%edx
40e847:	8b c1                	mov    %ecx,%eax
40e849:	0b c2                	or     %edx,%eax
40e84b:	75 04                	jne    0x40e851
40e84d:	83 66 1c df          	andl   $0xffffffdf,0x1c(%esi)
40e851:	83 7d f4 08          	cmpl   $0x8,-0xc(%ebp)
40e855:	ff 75 08             	push   0x8(%ebp)
40e858:	88 5e 38             	mov    %bl,0x38(%esi)
40e85b:	75 0b                	jne    0x40e868
40e85d:	52                   	push   %edx
40e85e:	51                   	push   %ecx
40e85f:	8b ce                	mov    %esi,%ecx
40e861:	e8 e6 08 00 00       	call   0x40f14c
40e866:	eb 08                	jmp    0x40e870
40e868:	51                   	push   %ecx
40e869:	8b ce                	mov    %esi,%ecx