40e626:	c1 ea 07             	shr    $0x7,%edx
40e629:	83 e0 01             	and    $0x1,%eax
40e62c:	83 e2 01             	and    $0x1,%edx
40e62f:	50                   	push   %eax
40e630:	52                   	push   %edx
40e631:	ba 70 2a 07 01       	mov    $0x1072a70,%edx
40e636:	e8 cb 13 00 00       	call   0x40fa06
40e63b:	5e                   	pop    %esi
40e63c:	c9                   	leave
40e63d:	c2 0c 00             	ret    $0xc
40e640:	8b ff                	mov    %edi,%edi
40e642:	55                   	push   %ebp
40e643:	8b ec                	mov    %esp,%ebp
40e645:	83 ec 1c             	sub    $0x1c,%esp
40e648:	56                   	push   %esi
40e649:	8b 75 08             	mov    0x8(%ebp),%esi
40e64c:	57                   	push   %edi
40e64d:	8b f9                	mov    %ecx,%edi
40e64f:	8b 07                	mov    (%edi),%eax
40e651:	89 06                	mov    %eax,(%esi)
40e653:	83 e0 03             	and    $0x3,%eax
40e656:	3c 03                	cmp    $0x3,%al
40e658:	0f 84 c6 00 00 00    	je     0x40e724
40e65e:	53                   	push   %ebx
40e65f:	e8 38 bb ff ff       	call   0x40a19c
40e664:	89 45 f4             	mov    %eax,-0xc(%ebp)
40e667:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e66a:	50                   	push   %eax
40e66b:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40e66e:	50                   	push   %eax
40e66f:	e8 a7 08 00 00       	call   0x40ef1b
40e674:	8b 06                	mov    (%esi),%eax
40e676:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e679:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
40e67d:	8b d8                	mov    %eax,%ebx
40e67f:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40e682:	8b c8                	mov    %eax,%ecx
40e684:	89 06                	mov    %eax,(%esi)
40e686:	74 13                	je     0x40e69b
40e688:	a8 01                	test   $0x1,%al
40e68a:	75 0f                	jne    0x40e69b
40e68c:	33 ca                	xor    %edx,%ecx
40e68e:	81 e1 18 01 00 00    	and    $0x118,%ecx
40e694:	33 c8                	xor    %eax,%ecx
40e696:	83 c9 01             	or     $0x1,%ecx
40e699:	89 0e                	mov    %ecx,(%esi)
40e69b:	83 e3 02             	and    $0x2,%ebx
40e69e:	75 10                	jne    0x40e6b0
40e6a0:	8b c1                	mov    %ecx,%eax
40e6a2:	33 c2                	xor    %edx,%eax
40e6a4:	25 80 00 00 00       	and    $0x80,%eax
40e6a9:	33 c8                	xor    %eax,%ecx
40e6ab:	83 c9 02             	or     $0x2,%ecx
40e6ae:	89 0e                	mov    %ecx,(%esi)
40e6b0:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e6b3:	f0 0f b1 0f          	lock cmpxchg %ecx,(%edi)
40e6b7:	3b 45 fc             	cmp    -0x4(%ebp),%eax
40e6ba:	75 bd                	jne    0x40e679
40e6bc:	85 db                	test   %ebx,%ebx
40e6be:	75 52                	jne    0x40e712
40e6c0:	38 1d 84 48 42 00    	cmp    %bl,0x424884
40e6c6:	74 4a                	je     0x40e712
40e6c8:	bb 88 48 42 00       	mov    $0x424888,%ebx
40e6cd:	53                   	push   %ebx
40e6ce:	ff 15 60 61 42 00    	call   *0x426160
40e6d4:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40e6d7:	a1 94 48 42 00       	mov    0x424894,%eax
40e6dc:	85 c9                	test   %ecx,%ecx
40e6de:	74 22                	je     0x40e702
40e6e0:	3b c8                	cmp    %eax,%ecx
40e6e2:	75 1e                	jne    0x40e702
40e6e4:	6a 08                	push   $0x8
40e6e6:	8d 45 ec             	lea    -0x14(%ebp),%eax
40e6e9:	c7 45 ec 01 00 00 00 	movl   $0x1,-0x14(%ebp)
40e6f0:	50                   	push   %eax
40e6f1:	b9 b0 48 42 00       	mov    $0x4248b0,%ecx
40e6f6:	89 7d f0             	mov    %edi,-0x10(%ebp)
40e6f9:	e8 7b 9c ff ff       	call   0x408379
40e6fe:	84 c0                	test   %al,%al
40e700:	75 06                	jne    0x40e708
40e702:	6a fd                	push   $0xfffffffd
40e704:	58                   	pop    %eax
40e705:	f0 21 07             	lock and %eax,(%edi)
40e708:	53                   	push   %ebx
40e709:	ff 15 6c 61 42 00    	call   *0x42616c
40e70f:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e712:	f6 06 01             	testb  $0x1,(%esi)
40e715:	5b                   	pop    %ebx
40e716:	75 0c                	jne    0x40e724
40e718:	8b 0e                	mov    (%esi),%ecx
40e71a:	33 ca                	xor    %edx,%ecx
40e71c:	81 e1 18 01 00 00    	and    $0x118,%ecx
40e722:	31 0e                	xor    %ecx,(%esi)
40e724:	5f                   	pop    %edi
40e725:	8b c6                	mov    %esi,%eax
40e727:	5e                   	pop    %esi
40e728:	c9                   	leave
40e729:	c2 04 00             	ret    $0x4
40e72c:	8b ff                	mov    %edi,%edi
40e72e:	55                   	push   %ebp
40e72f:	8b ec                	mov    %esp,%ebp
40e731:	83 ec 10             	sub    $0x10,%esp
40e734:	56                   	push   %esi
40e735:	8b f1                	mov    %ecx,%esi
40e737:	8b 16                	mov    (%esi),%edx
40e739:	f6 c2 02             	test   $0x2,%dl
40e73c:	75 0b                	jne    0x40e749
40e73e:	8d 45 f0             	lea    -0x10(%ebp),%eax
40e741:	50                   	push   %eax
40e742:	e8 f9 fe ff ff       	call   0x40e640
40e747:	8b 10                	mov    (%eax),%edx
40e749:	33 c0                	xor    %eax,%eax
40e74b:	c6 45 fc 03          	movb   $0x3,-0x4(%ebp)
40e74f:	51                   	push   %ecx
40e750:	89 45 f8             	mov    %eax,-0x8(%ebp)
40e753:	0f b6 45 08          	movzbl 0x8(%ebp),%eax
40e757:	51                   	push   %ecx
40e758:	50                   	push   %eax
40e759:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e75c:	50                   	push   %eax
40e75d:	8b c2                	mov    %edx,%eax
40e75f:	8d 4e 08             	lea    0x8(%esi),%ecx
40e762:	c1 e8 08             	shr    $0x8,%eax
40e765:	c1 ea 07             	shr    $0x7,%edx
40e768:	83 e0 01             	and    $0x1,%eax
40e76b:	83 e2 01             	and    $0x1,%edx
40e76e:	50                   	push   %eax
40e76f:	52                   	push   %edx
40e770:	ba c4 66 27 01       	mov    $0x12766c4,%edx
40e775:	e8 8c 12 00 00       	call   0x40fa06
40e77a:	5e                   	pop    %esi
40e77b:	c9                   	leave
40e77c:	c2 0c 00             	ret    $0xc
40e77f:	8b ff                	mov    %edi,%edi
40e781:	55                   	push   %ebp
40e782:	8b ec                	mov    %esp,%ebp
40e784:	83 ec 1c             	sub    $0x1c,%esp
40e787:	56                   	push   %esi
40e788:	8b 75 08             	mov    0x8(%ebp),%esi
40e78b:	57                   	push   %edi
40e78c:	8b f9                	mov    %ecx,%edi
40e78e:	8b 07                	mov    (%edi),%eax
40e790:	89 06                	mov    %eax,(%esi)
40e792:	83 e0 03             	and    $0x3,%eax
40e795:	3c 03                	cmp    $0x3,%al
40e797:	0f 84 c6 00 00 00    	je     0x40e863
40e79d:	53                   	push   %ebx
40e79e:	e8 f9 b9 ff ff       	call   0x40a19c
40e7a3:	89 45 f4             	mov    %eax,-0xc(%ebp)
40e7a6:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e7a9:	50                   	push   %eax
40e7aa:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40e7ad:	50                   	push   %eax
40e7ae:	e8 d3 07 00 00       	call   0x40ef86
40e7b3:	8b 06                	mov    (%esi),%eax
40e7b5:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e7b8:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
40e7bc:	8b d8                	mov    %eax,%ebx
40e7be:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40e7c1:	8b c8                	mov    %eax,%ecx
40e7c3:	89 06                	mov    %eax,(%esi)
40e7c5:	74 13                	je     0x40e7da
40e7c7:	a8 01                	test   $0x1,%al
40e7c9:	75 0f                	jne    0x40e7da
40e7cb:	33 ca                	xor    %edx,%ecx
40e7cd:	81 e1 18 01 00 00    	and    $0x118,%ecx
40e7d3:	33 c8                	xor    %eax,%ecx
40e7d5:	83 c9 01             	or     $0x1,%ecx
40e7d8:	89 0e                	mov    %ecx,(%esi)
40e7da:	83 e3 02             	and    $0x2,%ebx
40e7dd:	75 10                	jne    0x40e7ef
40e7df:	8b c1                	mov    %ecx,%eax
40e7e1:	33 c2                	xor    %edx,%eax
40e7e3:	25 80 00 00 00       	and    $0x80,%eax
40e7e8:	33 c8                	xor    %eax,%ecx
40e7ea:	83 c9 02             	or     $0x2,%ecx
40e7ed:	89 0e                	mov    %ecx,(%esi)
40e7ef:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e7f2:	f0 0f b1 0f          	lock cmpxchg %ecx,(%edi)
40e7f6:	3b 45 fc             	cmp    -0x4(%ebp),%eax
40e7f9:	75 bd                	jne    0x40e7b8
40e7fb:	85 db                	test   %ebx,%ebx
40e7fd:	75 52                	jne    0x40e851
40e7ff:	38 1d 84 48 42 00    	cmp    %bl,0x424884
40e805:	74 4a                	je     0x40e851
40e807:	bb 88 48 42 00       	mov    $0x424888,%ebx
40e80c:	53                   	push   %ebx
40e80d:	ff 15 60 61 42 00    	call   *0x426160
40e813:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40e816:	a1 94 48 42 00       	mov    0x424894,%eax
40e81b:	85 c9                	test   %ecx,%ecx
40e81d:	74 22                	je     0x40e841
40e81f:	3b c8                	cmp    %eax,%ecx
40e821:	75 1e                	jne    0x40e841
40e823:	6a 08                	push   $0x8
40e825:	8d 45 ec             	lea    -0x14(%ebp),%eax
40e828:	c7 45 ec 01 00 00 00 	movl   $0x1,-0x14(%ebp)
40e82f:	50                   	push   %eax
40e830:	b9 b0 48 42 00       	mov    $0x4248b0,%ecx
40e835:	89 7d f0             	mov    %edi,-0x10(%ebp)
40e838:	e8 3c 9b ff ff       	call   0x408379
40e83d:	84 c0                	test   %al,%al
40e83f:	75 06                	jne    0x40e847
40e841:	6a fd                	push   $0xfffffffd
40e843:	58                   	pop    %eax
40e844:	f0 21 07             	lock and %eax,(%edi)
40e847:	53                   	push   %ebx
40e848:	ff 15 6c 61 42 00    	call   *0x42616c
40e84e:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e851:	f6 06 01             	testb  $0x1,(%esi)
40e854:	5b                   	pop    %ebx
40e855:	75 0c                	jne    0x40e863
40e857:	8b 0e                	mov    (%esi),%ecx
40e859:	33 ca                	xor    %edx,%ecx
40e85b:	81 e1 18 01 00 00    	and    $0x118,%ecx
40e861:	31 0e                	xor    %ecx,(%esi)
40e863:	5f                   	pop    %edi
40e864:	8b c6                	mov    %esi,%eax
40e866:	5e                   	pop    %esi
40e867:	c9                   	leave
40e868:	c2 04 00             	ret    $0x4
40e86b:	8b ff                	mov    %edi,%edi
40e86d:	51                   	push   %ecx
40e86e:	51                   	push   %ecx
40e86f:	6a 01                	push   $0x1
40e871:	e8 05 00 00 00       	call   0x40e87b
40e876:	b0 01                	mov    $0x1,%al
40e878:	c2 04 00             	ret    $0x4
40e87b:	8b ff                	mov    %edi,%edi
40e87d:	55                   	push   %ebp
40e87e:	8b ec                	mov    %esp,%ebp
40e880:	83 ec 10             	sub    $0x10,%esp
40e883:	56                   	push   %esi
40e884:	8b f1                	mov    %ecx,%esi
40e886:	8b 16                	mov    (%esi),%edx
40e888:	f6 c2 02             	test   $0x2,%dl
40e88b:	75 0b                	jne    0x40e898
40e88d:	8d 45 f0             	lea    -0x10(%ebp),%eax
40e890:	50                   	push   %eax
40e891:	e8 e9 fe ff ff       	call   0x40e77f
40e896:	8b 10                	mov    (%eax),%edx
40e898:	33 c0                	xor    %eax,%eax
40e89a:	c6 45 fc 03          	movb   $0x3,-0x4(%ebp)
40e89e:	51                   	push   %ecx
40e89f:	89 45 f8             	mov    %eax,-0x8(%ebp)
40e8a2:	0f b6 45 08          	movzbl 0x8(%ebp),%eax
40e8a6:	51                   	push   %ecx
40e8a7:	50                   	push   %eax
40e8a8:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e8ab:	50                   	push   %eax
40e8ac:	8b c2                	mov    %edx,%eax
40e8ae:	8d 4e 08             	lea    0x8(%esi),%ecx
40e8b1:	c1 e8 08             	shr    $0x8,%eax
40e8b4:	c1 ea 07             	shr    $0x7,%edx
40e8b7:	83 e0 01             	and    $0x1,%eax
40e8ba:	83 e2 01             	and    $0x1,%edx
40e8bd:	50                   	push   %eax
40e8be:	52                   	push   %edx
40e8bf:	ba 03 81 22 01       	mov    $0x1228103,%edx
40e8c4:	e8 3d 11 00 00       	call   0x40fa06
40e8c9:	5e                   	pop    %esi
40e8ca:	c9                   	leave
40e8cb:	c2 0c 00             	ret    $0xc
40e8ce:	8b ff                	mov    %edi,%edi
40e8d0:	55                   	push   %ebp
40e8d1:	8b ec                	mov    %esp,%ebp
40e8d3:	83 ec 1c             	sub    $0x1c,%esp
40e8d6:	56                   	push   %esi
40e8d7:	8b 75 08             	mov    0x8(%ebp),%esi
40e8da:	57                   	push   %edi
40e8db:	8b f9                	mov    %ecx,%edi
40e8dd:	8b 07                	mov    (%edi),%eax
40e8df:	89 06                	mov    %eax,(%esi)
40e8e1:	83 e0 03             	and    $0x3,%eax
40e8e4:	3c 03                	cmp    $0x3,%al
40e8e6:	0f 84 c6 00 00 00    	je     0x40e9b2
40e8ec:	53                   	push   %ebx
40e8ed:	e8 aa b8 ff ff       	call   0x40a19c
40e8f2:	89 45 f4             	mov    %eax,-0xc(%ebp)
40e8f5:	8d 45 f8             	lea    -0x8(%ebp),%eax
40e8f8:	50                   	push   %eax
40e8f9:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40e8fc:	50                   	push   %eax
40e8fd:	e8 ef 06 00 00       	call   0x40eff1
40e902:	8b 06                	mov    (%esi),%eax
40e904:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e907:	83 7d f8 00          	cmpl   $0x0,-0x8(%ebp)
40e90b:	8b d8                	mov    %eax,%ebx
40e90d:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40e910:	8b c8                	mov    %eax,%ecx
40e912:	89 06                	mov    %eax,(%esi)
40e914:	74 13                	je     0x40e929
40e916:	a8 01                	test   $0x1,%al
40e918:	75 0f                	jne    0x40e929
40e91a:	33 ca                	xor    %edx,%ecx
40e91c:	81 e1 18 01 00 00    	and    $0x118,%ecx
40e922:	33 c8                	xor    %eax,%ecx
40e924:	83 c9 01             	or     $0x1,%ecx
40e927:	89 0e                	mov    %ecx,(%esi)
40e929:	83 e3 02             	and    $0x2,%ebx
40e92c:	75 10                	jne    0x40e93e
40e92e:	8b c1                	mov    %ecx,%eax
40e930:	33 c2                	xor    %edx,%eax
40e932:	25 80 00 00 00       	and    $0x80,%eax
40e937:	33 c8                	xor    %eax,%ecx
40e939:	83 c9 02             	or     $0x2,%ecx
40e93c:	89 0e                	mov    %ecx,(%esi)
40e93e:	8b 45 fc             	mov    -0x4(%ebp),%eax
40e941:	f0 0f b1 0f          	lock cmpxchg %ecx,(%edi)
40e945:	3b 45 fc             	cmp    -0x4(%ebp),%eax
40e948:	75 bd                	jne    0x40e907
40e94a:	85 db                	test   %ebx,%ebx
40e94c:	75 52                	jne    0x40e9a0
40e94e:	38 1d 84 48 42 00    	cmp    %bl,0x424884
40e954:	74 4a                	je     0x40e9a0
40e956:	bb 88 48 42 00       	mov    $0x424888,%ebx
40e95b:	53                   	push   %ebx
40e95c:	ff 15 60 61 42 00    	call   *0x426160
40e962:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40e965:	a1 94 48 42 00       	mov    0x424894,%eax
40e96a:	85 c9                	test   %ecx,%ecx
40e96c:	74 22                	je     0x40e990
40e96e:	3b c8                	cmp    %eax,%ecx
40e970:	75 1e                	jne    0x40e990
40e972:	6a 08                	push   $0x8
40e974:	8d 45 ec             	lea    -0x14(%ebp),%eax
40e977:	c7 45 ec 01 00 00 00 	movl   $0x1,-0x14(%ebp)
40e97e:	50                   	push   %eax
40e97f:	b9 b0 48 42 00       	mov    $0x4248b0,%ecx
40e984:	89 7d f0             	mov    %edi,-0x10(%ebp)
40e987:	e8 ed 99 ff ff       	call   0x408379
40e98c:	84 c0                	test   %al,%al
40e98e:	75 06                	jne    0x40e996
40e990:	6a fd                	push   $0xfffffffd
40e992:	58                   	pop    %eax
40e993:	f0 21 07             	lock and %eax,(%edi)
40e996:	53                   	push   %ebx
40e997:	ff 15 6c 61 42 00    	call   *0x42616c
40e99d:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e9a0:	f6 06 01             	testb  $0x1,(%esi)
40e9a3:	5b                   	pop    %ebx
40e9a4:	75 0c                	jne    0x40e9b2
40e9a6:	8b 0e                	mov    (%esi),%ecx
40e9a8:	33 ca                	xor    %edx,%ecx
40e9aa:	81 e1 18 01 00 00    	and    $0x118,%ecx
40e9b0:	31 0e                	xor    %ecx,(%esi)
40e9b2:	5f                   	pop    %edi
40e9b3:	8b c6                	mov    %esi,%eax
40e9b5:	5e                   	pop    %esi
40e9b6:	c9                   	leave