40e616:	99                   	cltd
40e617:	8b c8                	mov    %eax,%ecx
40e619:	57                   	push   %edi
40e61a:	8b 7e 20             	mov    0x20(%esi),%edi
40e61d:	8b c7                	mov    %edi,%eax
40e61f:	c1 e8 04             	shr    $0x4,%eax
40e622:	a8 01                	test   $0x1,%al
40e624:	74 17                	je     0x40e63d
40e626:	85 d2                	test   %edx,%edx
40e628:	7f 13                	jg     0x40e63d
40e62a:	7c 04                	jl     0x40e630
40e62c:	85 c9                	test   %ecx,%ecx
40e62e:	73 0d                	jae    0x40e63d
40e630:	f7 d9                	neg    %ecx
40e632:	83 d2 00             	adc    $0x0,%edx
40e635:	f7 da                	neg    %edx
40e637:	83 cf 40             	or     $0x40,%edi
40e63a:	89 7e 20             	mov    %edi,0x20(%esi)
40e63d:	83 7e 28 00          	cmpl   $0x0,0x28(%esi)
40e641:	5f                   	pop    %edi
40e642:	7d 09                	jge    0x40e64d
40e644:	c7 46 28 01 00 00 00 	movl   $0x1,0x28(%esi)
40e64b:	eb 11                	jmp    0x40e65e
40e64d:	83 66 20 f7          	andl   $0xfffffff7,0x20(%esi)
40e651:	b8 00 02 00 00       	mov    $0x200,%eax
40e656:	39 46 28             	cmp    %eax,0x28(%esi)
40e659:	7e 03                	jle    0x40e65e
40e65b:	89 46 28             	mov    %eax,0x28(%esi)
40e65e:	8b c1                	mov    %ecx,%eax
40e660:	0b c2                	or     %edx,%eax
40e662:	75 04                	jne    0x40e668
40e664:	83 66 20 df          	andl   $0xffffffdf,0x20(%esi)
40e668:	ff 75 0c             	push   0xc(%ebp)
40e66b:	ff 75 08             	push   0x8(%ebp)
40e66e:	83 fb 08             	cmp    $0x8,%ebx
40e671:	75 0b                	jne    0x40e67e
40e673:	52                   	push   %edx
40e674:	51                   	push   %ecx
40e675:	8b ce                	mov    %esi,%ecx
40e677:	e8 45 dd ff ff       	call   0x40c3c1
40e67c:	eb 08                	jmp    0x40e686
40e67e:	51                   	push   %ecx
40e67f:	8b ce                	mov    %esi,%ecx
40e681:	e8 dc db ff ff       	call   0x40c262
40e686:	8b 46 20             	mov    0x20(%esi),%eax
40e689:	c1 e8 07             	shr    $0x7,%eax
40e68c:	a8 01                	test   $0x1,%al
40e68e:	74 1a                	je     0x40e6aa
40e690:	83 7e 38 00          	cmpl   $0x0,0x38(%esi)
40e694:	74 08                	je     0x40e69e
40e696:	8b 46 34             	mov    0x34(%esi),%eax
40e699:	80 38 30             	cmpb   $0x30,(%eax)
40e69c:	74 0c                	je     0x40e6aa
40e69e:	ff 4e 34             	decl   0x34(%esi)
40e6a1:	8b 4e 34             	mov    0x34(%esi),%ecx
40e6a4:	c6 01 30             	movb   $0x30,(%ecx)
40e6a7:	ff 46 38             	incl   0x38(%esi)
40e6aa:	b0 01                	mov    $0x1,%al
40e6ac:	5e                   	pop    %esi
40e6ad:	5b                   	pop    %ebx
40e6ae:	5d                   	pop    %ebp
40e6af:	c2 08 00             	ret    $0x8
40e6b2:	8b ff                	mov    %edi,%edi
40e6b4:	55                   	push   %ebp
40e6b5:	8b ec                	mov    %esp,%ebp
40e6b7:	53                   	push   %ebx
40e6b8:	56                   	push   %esi
40e6b9:	8b f1                	mov    %ecx,%esi
40e6bb:	ff 76 2c             	push   0x2c(%esi)
40e6be:	e8 42 f7 ff ff       	call   0x40de05
40e6c3:	59                   	pop    %ecx
40e6c4:	8b d8                	mov    %eax,%ebx
40e6c6:	8b cb                	mov    %ebx,%ecx
40e6c8:	83 e9 01             	sub    $0x1,%ecx
40e6cb:	74 78                	je     0x40e745
40e6cd:	83 e9 01             	sub    $0x1,%ecx
40e6d0:	74 56                	je     0x40e728
40e6d2:	49                   	dec    %ecx
40e6d3:	83 e9 01             	sub    $0x1,%ecx
40e6d6:	74 33                	je     0x40e70b
40e6d8:	83 e9 04             	sub    $0x4,%ecx
40e6db:	74 17                	je     0x40e6f4
40e6dd:	e8 89 63 00 00       	call   0x414a6b
40e6e2:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40e6e8:	e8 f5 d5 ff ff       	call   0x40bce2
40e6ed:	32 c0                	xor    %al,%al
40e6ef:	e9 02 01 00 00       	jmp    0x40e7f6
40e6f4:	8b 46 20             	mov    0x20(%esi),%eax
40e6f7:	83 46 14 08          	addl   $0x8,0x14(%esi)
40e6fb:	c1 e8 04             	shr    $0x4,%eax
40e6fe:	a8 01                	test   $0x1,%al
40e700:	8b 46 14             	mov    0x14(%esi),%eax
40e703:	8b 48 f8             	mov    -0x8(%eax),%ecx
40e706:	8b 50 fc             	mov    -0x4(%eax),%edx
40e709:	eb 58                	jmp    0x40e763
40e70b:	8b 46 20             	mov    0x20(%esi),%eax
40e70e:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e712:	c1 e8 04             	shr    $0x4,%eax
40e715:	a8 01                	test   $0x1,%al
40e717:	8b 46 14             	mov    0x14(%esi),%eax
40e71a:	74 05                	je     0x40e721
40e71c:	8b 40 fc             	mov    -0x4(%eax),%eax
40e71f:	eb 3f                	jmp    0x40e760
40e721:	8b 48 fc             	mov    -0x4(%eax),%ecx
40e724:	33 d2                	xor    %edx,%edx
40e726:	eb 3b                	jmp    0x40e763
40e728:	8b 46 20             	mov    0x20(%esi),%eax
40e72b:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e72f:	c1 e8 04             	shr    $0x4,%eax
40e732:	a8 01                	test   $0x1,%al
40e734:	8b 46 14             	mov    0x14(%esi),%eax
40e737:	74 06                	je     0x40e73f
40e739:	0f bf 40 fc          	movswl -0x4(%eax),%eax
40e73d:	eb 21                	jmp    0x40e760
40e73f:	0f b7 40 fc          	movzwl -0x4(%eax),%eax
40e743:	eb 1b                	jmp    0x40e760
40e745:	8b 46 20             	mov    0x20(%esi),%eax
40e748:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e74c:	c1 e8 04             	shr    $0x4,%eax
40e74f:	a8 01                	test   $0x1,%al
40e751:	8b 46 14             	mov    0x14(%esi),%eax
40e754:	74 06                	je     0x40e75c
40e756:	0f be 40 fc          	movsbl -0x4(%eax),%eax
40e75a:	eb 04                	jmp    0x40e760
40e75c:	0f b6 40 fc          	movzbl -0x4(%eax),%eax
40e760:	99                   	cltd
40e761:	8b c8                	mov    %eax,%ecx
40e763:	57                   	push   %edi
40e764:	8b 7e 20             	mov    0x20(%esi),%edi
40e767:	8b c7                	mov    %edi,%eax
40e769:	c1 e8 04             	shr    $0x4,%eax
40e76c:	a8 01                	test   $0x1,%al
40e76e:	74 17                	je     0x40e787
40e770:	85 d2                	test   %edx,%edx
40e772:	7f 13                	jg     0x40e787
40e774:	7c 04                	jl     0x40e77a
40e776:	85 c9                	test   %ecx,%ecx
40e778:	73 0d                	jae    0x40e787
40e77a:	f7 d9                	neg    %ecx
40e77c:	83 d2 00             	adc    $0x0,%edx
40e77f:	f7 da                	neg    %edx
40e781:	83 cf 40             	or     $0x40,%edi
40e784:	89 7e 20             	mov    %edi,0x20(%esi)
40e787:	83 7e 28 00          	cmpl   $0x0,0x28(%esi)
40e78b:	5f                   	pop    %edi
40e78c:	7d 09                	jge    0x40e797
40e78e:	c7 46 28 01 00 00 00 	movl   $0x1,0x28(%esi)
40e795:	eb 11                	jmp    0x40e7a8
40e797:	83 66 20 f7          	andl   $0xfffffff7,0x20(%esi)
40e79b:	b8 00 02 00 00       	mov    $0x200,%eax
40e7a0:	39 46 28             	cmp    %eax,0x28(%esi)
40e7a3:	7e 03                	jle    0x40e7a8
40e7a5:	89 46 28             	mov    %eax,0x28(%esi)
40e7a8:	8b c1                	mov    %ecx,%eax
40e7aa:	0b c2                	or     %edx,%eax
40e7ac:	75 04                	jne    0x40e7b2
40e7ae:	83 66 20 df          	andl   $0xffffffdf,0x20(%esi)
40e7b2:	ff 75 0c             	push   0xc(%ebp)
40e7b5:	ff 75 08             	push   0x8(%ebp)
40e7b8:	83 fb 08             	cmp    $0x8,%ebx
40e7bb:	75 0b                	jne    0x40e7c8
40e7bd:	52                   	push   %edx
40e7be:	51                   	push   %ecx
40e7bf:	8b ce                	mov    %esi,%ecx
40e7c1:	e8 83 dc ff ff       	call   0x40c449
40e7c6:	eb 08                	jmp    0x40e7d0
40e7c8:	51                   	push   %ecx
40e7c9:	8b ce                	mov    %esi,%ecx
40e7cb:	e8 07 db ff ff       	call   0x40c2d7
40e7d0:	8b 46 20             	mov    0x20(%esi),%eax
40e7d3:	c1 e8 07             	shr    $0x7,%eax
40e7d6:	a8 01                	test   $0x1,%al
40e7d8:	74 1a                	je     0x40e7f4
40e7da:	83 7e 38 00          	cmpl   $0x0,0x38(%esi)
40e7de:	74 08                	je     0x40e7e8
40e7e0:	8b 46 34             	mov    0x34(%esi),%eax
40e7e3:	80 38 30             	cmpb   $0x30,(%eax)
40e7e6:	74 0c                	je     0x40e7f4
40e7e8:	ff 4e 34             	decl   0x34(%esi)
40e7eb:	8b 4e 34             	mov    0x34(%esi),%ecx
40e7ee:	c6 01 30             	movb   $0x30,(%ecx)
40e7f1:	ff 46 38             	incl   0x38(%esi)
40e7f4:	b0 01                	mov    $0x1,%al
40e7f6:	5e                   	pop    %esi
40e7f7:	5b                   	pop    %ebx
40e7f8:	5d                   	pop    %ebp
40e7f9:	c2 08 00             	ret    $0x8
40e7fc:	8b ff                	mov    %edi,%edi
40e7fe:	55                   	push   %ebp
40e7ff:	8b ec                	mov    %esp,%ebp
40e801:	53                   	push   %ebx
40e802:	56                   	push   %esi
40e803:	8b f1                	mov    %ecx,%esi
40e805:	ff 76 2c             	push   0x2c(%esi)
40e808:	e8 f8 f5 ff ff       	call   0x40de05
40e80d:	59                   	pop    %ecx
40e80e:	8b d8                	mov    %eax,%ebx
40e810:	8b cb                	mov    %ebx,%ecx
40e812:	83 e9 01             	sub    $0x1,%ecx
40e815:	74 78                	je     0x40e88f
40e817:	83 e9 01             	sub    $0x1,%ecx
40e81a:	74 56                	je     0x40e872
40e81c:	49                   	dec    %ecx
40e81d:	83 e9 01             	sub    $0x1,%ecx
40e820:	74 33                	je     0x40e855
40e822:	83 e9 04             	sub    $0x4,%ecx
40e825:	74 17                	je     0x40e83e
40e827:	e8 3f 62 00 00       	call   0x414a6b
40e82c:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40e832:	e8 ab d4 ff ff       	call   0x40bce2
40e837:	32 c0                	xor    %al,%al
40e839:	e9 02 01 00 00       	jmp    0x40e940
40e83e:	8b 46 20             	mov    0x20(%esi),%eax
40e841:	83 46 14 08          	addl   $0x8,0x14(%esi)
40e845:	c1 e8 04             	shr    $0x4,%eax
40e848:	a8 01                	test   $0x1,%al
40e84a:	8b 46 14             	mov    0x14(%esi),%eax
40e84d:	8b 48 f8             	mov    -0x8(%eax),%ecx
40e850:	8b 50 fc             	mov    -0x4(%eax),%edx
40e853:	eb 58                	jmp    0x40e8ad
40e855:	8b 46 20             	mov    0x20(%esi),%eax
40e858:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e85c:	c1 e8 04             	shr    $0x4,%eax
40e85f:	a8 01                	test   $0x1,%al
40e861:	8b 46 14             	mov    0x14(%esi),%eax
40e864:	74 05                	je     0x40e86b
40e866:	8b 40 fc             	mov    -0x4(%eax),%eax
40e869:	eb 3f                	jmp    0x40e8aa
40e86b:	8b 48 fc             	mov    -0x4(%eax),%ecx
40e86e:	33 d2                	xor    %edx,%edx
40e870:	eb 3b                	jmp    0x40e8ad
40e872:	8b 46 20             	mov    0x20(%esi),%eax
40e875:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e879:	c1 e8 04             	shr    $0x4,%eax
40e87c:	a8 01                	test   $0x1,%al
40e87e:	8b 46 14             	mov    0x14(%esi),%eax
40e881:	74 06                	je     0x40e889
40e883:	0f bf 40 fc          	movswl -0x4(%eax),%eax
40e887:	eb 21                	jmp    0x40e8aa
40e889:	0f b7 40 fc          	movzwl -0x4(%eax),%eax
40e88d:	eb 1b                	jmp    0x40e8aa
40e88f:	8b 46 20             	mov    0x20(%esi),%eax
40e892:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e896:	c1 e8 04             	shr    $0x4,%eax
40e899:	a8 01                	test   $0x1,%al
40e89b:	8b 46 14             	mov    0x14(%esi),%eax
40e89e:	74 06                	je     0x40e8a6
40e8a0:	0f be 40 fc          	movsbl -0x4(%eax),%eax
40e8a4:	eb 04                	jmp    0x40e8aa
40e8a6:	0f b6 40 fc          	movzbl -0x4(%eax),%eax
40e8aa:	99                   	cltd
40e8ab:	8b c8                	mov    %eax,%ecx
40e8ad:	57                   	push   %edi
40e8ae:	8b 7e 20             	mov    0x20(%esi),%edi
40e8b1:	8b c7                	mov    %edi,%eax
40e8b3:	c1 e8 04             	shr    $0x4,%eax
40e8b6:	a8 01                	test   $0x1,%al
40e8b8:	74 17                	je     0x40e8d1
40e8ba:	85 d2                	test   %edx,%edx
40e8bc:	7f 13                	jg     0x40e8d1
40e8be:	7c 04                	jl     0x40e8c4
40e8c0:	85 c9                	test   %ecx,%ecx
40e8c2:	73 0d                	jae    0x40e8d1
40e8c4:	f7 d9                	neg    %ecx
40e8c6:	83 d2 00             	adc    $0x0,%edx
40e8c9:	f7 da                	neg    %edx
40e8cb:	83 cf 40             	or     $0x40,%edi
40e8ce:	89 7e 20             	mov    %edi,0x20(%esi)
40e8d1:	83 7e 28 00          	cmpl   $0x0,0x28(%esi)
40e8d5:	5f                   	pop    %edi
40e8d6:	7d 09                	jge    0x40e8e1
40e8d8:	c7 46 28 01 00 00 00 	movl   $0x1,0x28(%esi)
40e8df:	eb 11                	jmp    0x40e8f2
40e8e1:	83 66 20 f7          	andl   $0xfffffff7,0x20(%esi)
40e8e5:	b8 00 02 00 00       	mov    $0x200,%eax
40e8ea:	39 46 28             	cmp    %eax,0x28(%esi)
40e8ed:	7e 03                	jle    0x40e8f2
40e8ef:	89 46 28             	mov    %eax,0x28(%esi)
40e8f2:	8b c1                	mov    %ecx,%eax
40e8f4:	0b c2                	or     %edx,%eax
40e8f6:	75 04                	jne    0x40e8fc
40e8f8:	83 66 20 df          	andl   $0xffffffdf,0x20(%esi)
40e8fc:	ff 75 0c             	push   0xc(%ebp)
40e8ff:	ff 75 08             	push   0x8(%ebp)
40e902:	83 fb 08             	cmp    $0x8,%ebx
40e905:	75 0b                	jne    0x40e912
40e907:	52                   	push   %edx
40e908:	51                   	push   %ecx
40e909:	8b ce                	mov    %esi,%ecx
40e90b:	e8 c1 db ff ff       	call   0x40c4d1
40e910:	eb 08                	jmp    0x40e91a
40e912:	51                   	push   %ecx
40e913:	8b ce                	mov    %esi,%ecx
40e915:	e8 32 da ff ff       	call   0x40c34c
40e91a:	8b 46 20             	mov    0x20(%esi),%eax
40e91d:	c1 e8 07             	shr    $0x7,%eax
40e920:	a8 01                	test   $0x1,%al
40e922:	74 1a                	je     0x40e93e
40e924:	83 7e 38 00          	cmpl   $0x0,0x38(%esi)
40e928:	74 08                	je     0x40e932
40e92a:	8b 46 34             	mov    0x34(%esi),%eax
40e92d:	80 38 30             	cmpb   $0x30,(%eax)
40e930:	74 0c                	je     0x40e93e
40e932:	ff 4e 34             	decl   0x34(%esi)
40e935:	8b 4e 34             	mov    0x34(%esi),%ecx
40e938:	c6 01 30             	movb   $0x30,(%ecx)
40e93b:	ff 46 38             	incl   0x38(%esi)
40e93e:	b0 01                	mov    $0x1,%al
40e940:	5e                   	pop    %esi
40e941:	5b                   	pop    %ebx
40e942:	5d                   	pop    %ebp
40e943:	c2 08 00             	ret    $0x8
40e946:	8b ff                	mov    %edi,%edi
40e948:	56                   	push   %esi
40e949:	8b f1                	mov    %ecx,%esi
40e94b:	57                   	push   %edi
40e94c:	83 46 14 04          	addl   $0x4,0x14(%esi)
40e950:	8b 46 14             	mov    0x14(%esi),%eax
40e953:	8b 78 fc             	mov    -0x4(%eax),%edi
40e956:	e8 73 be 00 00       	call   0x41a7ce
40e95b:	85 c0                	test   %eax,%eax
40e95d:	75 14                	jne    0x40e973
40e95f:	e8 07 61 00 00       	call   0x414a6b
40e964:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40e96a:	e8 73 d3 ff ff       	call   0x40bce2
40e96f:	32 c0                	xor    %al,%al
40e971:	eb 44                	jmp    0x40e9b7
40e973:	ff 76 2c             	push   0x2c(%esi)
40e976:	e8 8a f4 ff ff       	call   0x40de05
40e97b:	59                   	pop    %ecx
40e97c:	83 e8 01             	sub    $0x1,%eax
40e97f:	74 2b                	je     0x40e9ac
40e981:	83 e8 01             	sub    $0x1,%eax
40e984:	74 1d                	je     0x40e9a3
40e986:	48                   	dec    %eax
40e987:	83 e8 01             	sub    $0x1,%eax
40e98a:	74 10                	je     0x40e99c
40e98c:	83 e8 04             	sub    $0x4,%eax
40e98f:	75 ce                	jne    0x40e95f
40e991:	8b 46 18             	mov    0x18(%esi),%eax
40e994:	99                   	cltd
40e995:	89 07                	mov    %eax,(%edi)
40e997:	89 57 04             	mov    %edx,0x4(%edi)
40e99a:	eb 15                	jmp    0x40e9b1
40e99c:	8b 46 18             	mov    0x18(%esi),%eax
40e99f:	89 07                	mov    %eax,(%edi)
40e9a1:	eb 0e                	jmp    0x40e9b1
40e9a3:	66 8b 46 18          	mov    0x18(%esi),%ax
40e9a7:	66 89 07             	mov    %ax,(%edi)
40e9aa:	eb 05                	jmp    0x40e9b1