// File: /workspace/github_c_makefile_star2_O0/cbouilla[P]AES-attacks-finder/SysEqLin.c
// Function: TailleE_Borne
int TailleE_Borne(int * __restrict const X, const int N, SysEqLin E, const int borne) // Renvoi N - dim(E(X)),  N = |X|
{
	//return TailleE(X,N,E);
	/* Beaucoup de variables */
	static int AlloueN = 0;
	static LigneCreuse * __restrict L = NULL;
	static int * __restrict nombre_nnz_colonne = NULL;
	static int AlloueCOL = 0;
	static int AlloueNCOL = 0;
	static int AlloueLIGNE_mat = 0;
	static unsigned char ** __restrict m = NULL;
	static int * __restrict nouvelle_colonne = NULL;
	static int * __restrict colonne_changer = NULL;
	//static int compteur1 = 0, compteur2 = 0, compteur3 = 0, compteur4 = 0;

	if (!E->initialise) InitialiseSousMat(E);
	
	if (N*E->gen>AlloueN)
	{
		free(L);
		AlloueN=N*E->gen;
		//printf("AlloueN : %d\n",AlloueN);
		L=malloc(AlloueN*sizeof(LigneCreuse));
	}
	
	if (E->col_max>AlloueCOL)
	{
		nouvelle_colonne=realloc(nouvelle_colonne,E->col_max*sizeof(int));
		int i;
		for (i = AlloueCOL; i < E->col_max; i++) nouvelle_colonne[i]=-1;
		free(nombre_nnz_colonne);
		AlloueCOL=E->col_max;
		//printf("AlloueCOL : %d\n",AlloueCOL);
		nombre_nnz_colonne=calloc(AlloueCOL,sizeof(int));
	}

	int NombreDeLignes =  0;
	int taille=0,i;
	for (i = 0; i < N; i++)
	{
		if (E->lignevar[X[i]]*E->gen<E->a)
		{
			int j;
			for (j = 0; j < E->sousmat[X[i]]->nombre_de_lignes; j++) L[NombreDeLignes++]=E->sousmat[X[i]]->ligne[j];
			taille++;
		}
	}
	TriLignesCreusesByNNZ(L,NombreDeLignes);
	
	/* 
	 * On compte le nombre d'éléments non-nuls sur chaque colonne
	 */
	int dim = (1-E->gen)*taille;
	int NombreDeColonnes = 0;
	for (i = 0; i < NombreDeLignes; i++)
	{
		unsigned char pivot_present = 0;
		int j;
		for (j = 0; j < L[i]->nnz; j++)
		{
			if (!nombre_nnz_colonne[L[i]->elements[j].colonne])
			{
				pivot_present = 1;
				NombreDeColonnes++;
			}
			nombre_nnz_colonne[L[i]->elements[j].colonne]++;
		}
		if (pivot_present)
		{
			dim++;
			if (dim>borne) // on est sur que la sortie sera plus grande que borne
			{
				for (j = 0; j <= i ; j++) // on remet le tableau à zero
				{
					int k;
					for (k = 0; k < L[j]->nnz; k++) nombre_nnz_colonne[L[j]->elements[k].colonne]=0;
				}
				//compteur1++;
				//printf("cpt1 = %d, cpt2 = %d, cpt3 = %d, cpt4 = %d\n",compteur1,compteur2,compteur3,compteur4);
				return dim;
			}
		}
	}
	
	dim = (1-E->gen)*taille;
	int ligne = 0;
	while (ligne < NombreDeLignes)
	{
		int nombre_element_ligne = 0;
		int colonne_a_enlever;
		int j;
		for (j = 0; j < L[ligne]->nnz; j++)
		{
			if (nombre_nnz_colonne[L[ligne]->elements[j].colonne])
			{
				if (nombre_nnz_colonne[L[ligne]->elements[j].colonne]==1) // 1 seul élément non nul sur la colonne -> très bon pivot pour matrice creuse
				{
					int l;
					for (l = 0; l < L[ligne]->nnz; l++)
					{
						if (nombre_nnz_colonne[L[ligne]->elements[l].colonne])
						{
							if (nombre_nnz_colonne[L[ligne]->elements[l].colonne] == 1) NombreDeColonnes--;
							nombre_nnz_colonne[L[ligne]->elements[l].colonne]--; // On met à jour le nombre d'éléments dans les colonnes
						}
					}
					goto suppr_ligne;
				}
				else
				{
					nombre_element_ligne++;
					colonne_a_enlever = j;
				}
			}
		}
		if (nombre_element_ligne<=1)
		{
			if (nombre_element_ligne==1) // 1 seul élément sur la ligne
			{
				nombre_nnz_colonne[L[ligne]->elements[colonne_a_enlever].colonne] = 0; // on supprime la colonne
				NombreDeColonnes--;
				suppr_ligne: // on met à jour la dim et on supprime la ligne
				dim++;
				if (dim>borne) goto remise_a_zero;
			}
			NombreDeLignes--;
			L[ligne]=L[NombreDeLignes];
		}
		else ligne++;
	}

	{

		if (NombreDeColonnes>AlloueNCOL)
		{
			AlloueNCOL=NombreDeColonnes;
			for (i = 0; i < AlloueLIGNE_mat; i++)
			{
				free(m[i]);
				m[i]=malloc(AlloueNCOL*sizeof(unsigned char));
			}
			free(colonne_changer);
			colonne_changer=malloc((AlloueNCOL+1)*sizeof(int));
		}
		
		if (NombreDeLignes>AlloueLIGNE_mat)
		{
			m = realloc(m,NombreDeLignes*sizeof(unsigned char *));
			for (i = AlloueLIGNE_mat; i < NombreDeLignes; i++) m[i] = malloc(AlloueNCOL*sizeof(unsigned char));
			AlloueLIGNE_mat = NombreDeLignes;
			//printf("AlloueLIGNE_mat : %d\n",AlloueLIGNE_mat);
		}
		
		int pos=0;
		int DerniereColonne = NombreDeColonnes-1;
		int Ncol = 0;
		const int new_borne = borne - dim + 1;
		for (i = 0; i < NombreDeLignes; i++)
		{
			int k;
			unsigned char * __restrict ligne_matrice = m[i];
			for (k = 0; k < NombreDeColonnes; k++) ligne_matrice[k]=0;
			int premier = 1;
			for (k = 0; k < L[i]->nnz; k++)
			{
				if (nombre_nnz_colonne[L[i]->elements[k].colonne])
				{
					nombre_nnz_colonne[L[i]->elements[k].colonne]--;
					int colonne;
					colonne_changer[pos]=L[i]->elements[k].colonne;
					if (nouvelle_colonne[colonne_changer[pos]]>=0) colonne=nouvelle_colonne[colonne_changer[pos]];
					else
					{
						if (!premier)
						{
							nouvelle_colonne[colonne_changer[pos++]]=DerniereColonne;
							colonne=DerniereColonne--;
						}
						else
						{
							nouvelle_colonne[colonne_changer[pos++]]=Ncol;
							colonne=Ncol++;
							if (Ncol != new_borne) premier=0;
							else // on est sur que la sortie sera plus grande que borne
							{
								for (i = i; i < NombreDeLignes; i++)
								{
									for (k = 0; k < L[i]->nnz; k++)	nombre_nnz_colonne[L[i]->elements[k].colonne]=0;								
								}
								for (i = 0; i < pos; i++) nouvelle_colonne[colonne_changer[i]]=-1;
								return borne+1;
							}
						}
					}
					ligne_matrice[colonne]=L[i]->elements[k].coeff;								
				}
			}
		}
				
		for (i = 0; i < pos; i++) nouvelle_colonne[colonne_changer[i]]=-1; // on remet le tableau à zero pour la prochaine execution

		//compteur4++;
		//printf("cpt1 = %d, cpt2 = %d, cpt3 = %d, cpt4 = %d\n",compteur1,compteur2,compteur3,compteur4);
																
		return dim+DimensionBorne_tmp(m,NombreDeLignes,NombreDeColonnes,borne-dim);

	}

	remise_a_zero :
		
	for (ligne = 0; ligne < NombreDeLignes; ligne++)
	{
		int k;
		for (k = 0; k < L[ligne]->nnz; k++) nombre_nnz_colonne[L[ligne]->elements[k].colonne]=0;
	}
	return dim;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq -0x20(%rbp), %rax
cmpb $0x0, 0x28(%rax)
jne 0xf67c
movq -0x20(%rbp), %rdi
callq 0xece0
movl -0x14(%rbp), %eax
movq -0x20(%rbp), %rcx
imull 0x10(%rcx), %eax
cmpl 0x2dcb3(%rip), %eax     # 0x3d340
jle 0xf6c3
movq 0x2dcb2(%rip), %rdi     # 0x3d348
callq 0x2030
movl -0x14(%rbp), %eax
movq -0x20(%rbp), %rcx
imull 0x10(%rcx), %eax
movl %eax, 0x2dc94(%rip)     # 0x3d340
movslq 0x2dc8d(%rip), %rdi     # 0x3d340
shlq $0x3, %rdi
callq 0x21c0
movq %rax, 0x2dc85(%rip)     # 0x3d348
movq -0x20(%rbp), %rax
movl 0x38(%rax), %eax
cmpl 0x2dc88(%rip), %eax     # 0x3d358
jle 0xf758
movq 0x2dc93(%rip), %rdi     # 0x3d370
movq -0x20(%rbp), %rax
movslq 0x38(%rax), %rsi
shlq $0x2, %rsi
callq 0x21f0
movq %rax, 0x2dc7b(%rip)     # 0x3d370
movl 0x2dc5d(%rip), %eax     # 0x3d358
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq -0x20(%rbp), %rcx
cmpl 0x38(%rcx), %eax
jge 0xf727
movq 0x2dc5f(%rip), %rax     # 0x3d370
movslq -0x28(%rbp), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0xf6fe
movq 0x2dc22(%rip), %rdi     # 0x3d350
callq 0x2030
movq -0x20(%rbp), %rax
movl 0x38(%rax), %eax
movl %eax, 0x2dc18(%rip)     # 0x3d358
movslq 0x2dc11(%rip), %rdi     # 0x3d358
movl $0x4, %esi
callq 0x2150
movq %rax, 0x2dbf8(%rip)     # 0x3d350
movl $0x0, -0x2c(%rbp)
movl $0x0, -0x30(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x14(%rbp), %eax
jge 0xf828
movq -0x20(%rbp), %rax
movq 0x18(%rax), %rax
movq -0x10(%rbp), %rcx
movslq -0x34(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl (%rax,%rcx,4), %eax
movq -0x20(%rbp), %rcx
imull 0x10(%rcx), %eax
movq -0x20(%rbp), %rcx
cmpl 0x8(%rcx), %eax
jge 0xf818
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
movq -0x20(%rbp), %rcx
movq 0x30(%rcx), %rcx
movq -0x10(%rbp), %rdx
movslq -0x34(%rbp), %rsi
movslq (%rdx,%rsi,4), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xf80f
movq -0x20(%rbp), %rax
movq 0x30(%rax), %rax
movq -0x10(%rbp), %rcx
movslq -0x34(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movslq -0x38(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x2db56(%rip), %rax     # 0x3d348
movl -0x2c(%rbp), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, -0x2c(%rbp)
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0xf7a8
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0xf81a
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xf76d
movq 0x2db19(%rip), %rdi     # 0x3d348
movl -0x2c(%rbp), %esi
callq 0xed10
movq -0x20(%rbp), %rcx
movl $0x1, %eax
subl 0x10(%rcx), %eax
imull -0x30(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl $0x0, -0x40(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xf99b
movb $0x0, -0x41(%rbp)
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
movq 0x2dacf(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xf8f5
movq 0x2dac4(%rip), %rax     # 0x3d350
movq 0x2dab5(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x48(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
cmpl $0x0, (%rax,%rcx,4)
jne 0xf8bb
movb $0x1, -0x41(%rbp)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
movq 0x2da8e(%rip), %rax     # 0x3d350
movq 0x2da7f(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x48(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl (%rax,%rcx,4), %edx
addl $0x1, %edx
movl %edx, (%rax,%rcx,4)
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0xf86f
cmpb $0x0, -0x41(%rbp)
je 0xf98b
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jle 0xf989
movl $0x0, -0x48(%rbp)
movl -0x48(%rbp), %eax
cmpl -0x34(%rbp), %eax
jg 0xf97e
movl $0x0, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
movq 0x2da18(%rip), %rcx     # 0x3d348
movslq -0x48(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xf971
movq 0x2da0d(%rip), %rax     # 0x3d350
movq 0x2d9fe(%rip), %rcx     # 0x3d348
movslq -0x48(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x4c(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xf926
jmp 0xf973
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0xf917
movl -0x3c(%rbp), %eax
movl %eax, -0x4(%rbp)
jmp 0x10086
jmp 0xf98b
jmp 0xf98d
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xf858
movq -0x20(%rbp), %rcx
movl $0x1, %eax
subl 0x10(%rcx), %eax
imull -0x30(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl $0x0, -0x50(%rbp)
movl -0x50(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xfbac
movl $0x0, -0x54(%rbp)
movl $0x0, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
movq 0x2d96f(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xfb1e
movq 0x2d960(%rip), %rax     # 0x3d350
movq 0x2d951(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x5c(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0xfb0e
movq 0x2d933(%rip), %rax     # 0x3d350
movq 0x2d924(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x5c(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
cmpl $0x1, (%rax,%rcx,4)
jne 0xfafd
movl $0x0, -0x60(%rbp)
movl -0x60(%rbp), %eax
movq 0x2d8f4(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xfafb
movq 0x2d8e5(%rip), %rax     # 0x3d350
movq 0x2d8d6(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x60(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0xfaeb
movq 0x2d8bc(%rip), %rax     # 0x3d350
movq 0x2d8ad(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x60(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
cmpl $0x1, (%rax,%rcx,4)
jne 0xfabf
movl -0x40(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x40(%rbp)
movq 0x2d88a(%rip), %rax     # 0x3d350
movq 0x2d87b(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x60(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl (%rax,%rcx,4), %edx
addl $-0x1, %edx
movl %edx, (%rax,%rcx,4)
jmp 0xfaed
movl -0x60(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x60(%rbp)
jmp 0xfa4a
jmp 0xfb5d
movl -0x54(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x54(%rbp)
movl -0x5c(%rbp), %eax
movl %eax, -0x58(%rbp)
jmp 0xfb0e
jmp 0xfb10
movl -0x5c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x5c(%rbp)
jmp 0xf9cf
cmpl $0x1, -0x54(%rbp)
jg 0xfb9e
cmpl $0x1, -0x54(%rbp)
jne 0xfb75
movq 0x2d81f(%rip), %rax     # 0x3d350
movq 0x2d810(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x58(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x40(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x40(%rbp)
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x24(%rbp), %eax
jle 0xfb73
jmp 0x10003
jmp 0xfb75
movl -0x2c(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x2c(%rbp)
movq 0x2d7c3(%rip), %rax     # 0x3d348
movslq -0x2c(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq 0x2d7b4(%rip), %rax     # 0x3d348
movslq -0x50(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
jmp 0xfba7
movl -0x50(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x50(%rbp)
jmp 0xf9b5
movl -0x40(%rbp), %eax
cmpl 0x2d7a7(%rip), %eax     # 0x3d35c
jle 0xfc3f
movl -0x40(%rbp), %eax
movl %eax, 0x2d798(%rip)     # 0x3d35c
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl 0x2d78c(%rip), %eax     # 0x3d360
jge 0xfc17
movq 0x2d78b(%rip), %rax     # 0x3d368
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2030
movslq 0x2d76b(%rip), %rdi     # 0x3d35c
shlq $0x0, %rdi
callq 0x21c0
movq %rax, %rdx
movq 0x2d764(%rip), %rax     # 0x3d368
movslq -0x34(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xfbcb
movq 0x2d75a(%rip), %rdi     # 0x3d378
callq 0x2030
movl 0x2d733(%rip), %eax     # 0x3d35c
addl $0x1, %eax
movslq %eax, %rdi
shlq $0x2, %rdi
callq 0x21c0
movq %rax, 0x2d739(%rip)     # 0x3d378
movl -0x2c(%rbp), %eax
cmpl 0x2d718(%rip), %eax     # 0x3d360
jle 0xfcac
movq 0x2d717(%rip), %rdi     # 0x3d368
movslq -0x2c(%rbp), %rsi
shlq $0x3, %rsi
callq 0x21f0
movq %rax, 0x2d703(%rip)     # 0x3d368
movl 0x2d6f5(%rip), %eax     # 0x3d360
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xfca3
movslq 0x2d6df(%rip), %rdi     # 0x3d35c
shlq $0x0, %rdi
callq 0x21c0
movq %rax, %rdx
movq 0x2d6d8(%rip), %rax     # 0x3d368
movslq -0x34(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xfc6e
movl -0x2c(%rbp), %eax
movl %eax, 0x2d6b4(%rip)     # 0x3d360
movl $0x0, -0x64(%rbp)
movl -0x40(%rbp), %eax
subl $0x1, %eax
movl %eax, -0x68(%rbp)
movl $0x0, -0x6c(%rbp)
movl -0x24(%rbp), %eax
subl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x70(%rbp)
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xff99
movq 0x2d67f(%rip), %rax     # 0x3d368
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x80(%rbp)
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
cmpl -0x40(%rbp), %eax
jge 0xfd1b
movq -0x80(%rbp), %rax
movslq -0x74(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0xfcfc
movl $0x1, -0x84(%rbp)
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
movq 0x2d612(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xff89
movq 0x2d603(%rip), %rax     # 0x3d350
movq 0x2d5f4(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x74(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
cmpl $0x0, (%rax,%rcx,4)
je 0xff79
movq 0x2d5d6(%rip), %rax     # 0x3d350
movq 0x2d5c7(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x74(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl (%rax,%rcx,4), %edx
addl $-0x1, %edx
movl %edx, (%rax,%rcx,4)
movq 0x2d5a2(%rip), %rax     # 0x3d348
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movslq -0x74(%rbp), %rcx
movl 0x4(%rax,%rcx,8), %edx
movq 0x2d5b7(%rip), %rax     # 0x3d378
movslq -0x64(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movq 0x2d5a1(%rip), %rax     # 0x3d370
movq 0x2d5a2(%rip), %rcx     # 0x3d378
movslq -0x64(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
cmpl $0x0, (%rax,%rcx,4)
jl 0xfe08
movq 0x2d585(%rip), %rax     # 0x3d370
movq 0x2d586(%rip), %rcx     # 0x3d378
movslq -0x64(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x88(%rbp)
jmp 0xff51
cmpl $0x0, -0x84(%rbp)
jne 0xfe4d
movl -0x68(%rbp), %edx
movq 0x2d555(%rip), %rax     # 0x3d370
movq 0x2d556(%rip), %rcx     # 0x3d378
movl -0x64(%rbp), %esi
movl %esi, %edi
addl $0x1, %edi
movl %edi, -0x64(%rbp)
movslq %esi, %rsi
movslq (%rcx,%rsi,4), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x68(%rbp), %eax
movl %eax, %ecx
addl $-0x1, %ecx
movl %ecx, -0x68(%rbp)
movl %eax, -0x88(%rbp)
jmp 0xff4f
movl -0x6c(%rbp), %edx
movq 0x2d519(%rip), %rax     # 0x3d370
movq 0x2d51a(%rip), %rcx     # 0x3d378
movl -0x64(%rbp), %esi
movl %esi, %edi
addl $0x1, %edi
movl %edi, -0x64(%rbp)
movslq %esi, %rsi
movslq (%rcx,%rsi,4), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x6c(%rbp), %eax
movl %eax, %ecx
addl $0x1, %ecx
movl %ecx, -0x6c(%rbp)
movl %eax, -0x88(%rbp)
movl -0x6c(%rbp), %eax
cmpl -0x70(%rbp), %eax
je 0xfe9b
movl $0x0, -0x84(%rbp)
jmp 0xff4d
movl -0x34(%rbp), %eax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xff08
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
movq 0x2d48e(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0xfefb
movq 0x2d483(%rip), %rax     # 0x3d350
movq 0x2d474(%rip), %rcx     # 0x3d348
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x74(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0xfeb0
jmp 0xfefd
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xfea1
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0xff3f
movq 0x2d452(%rip), %rax     # 0x3d370
movq 0x2d453(%rip), %rcx     # 0x3d378
movslq -0x34(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xff0f
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x10086
jmp 0xff4f
jmp 0xff51
movq 0x2d3f0(%rip), %rax     # 0x3d348
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movslq -0x74(%rbp), %rcx
movb (%rax,%rcx,8), %dl
movq -0x80(%rbp), %rax
movslq -0x88(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp 0xff7b
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0xfd2c
jmp 0xff8b
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xfcd6
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x64(%rbp), %eax
jge 0xffd0
movq 0x2d3c1(%rip), %rax     # 0x3d370
movq 0x2d3c2(%rip), %rcx     # 0x3d378
movslq -0x34(%rbp), %rdx
movslq (%rcx,%rdx,4), %rcx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xffa0
movl -0x3c(%rbp), %eax
movl %eax, -0x90(%rbp)
movq 0x2d388(%rip), %rdi     # 0x3d368
movl -0x2c(%rbp), %esi
movl -0x40(%rbp), %edx
movl -0x24(%rbp), %ecx
subl -0x3c(%rbp), %ecx
callq 0x3730
movl %eax, %ecx
movl -0x90(%rbp), %eax
addl %ecx, %eax
movl %eax, -0x4(%rbp)
jmp 0x10086
movl $0x0, -0x50(%rbp)
movl -0x50(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0x10080
movl $0x0, -0x8c(%rbp)
movl -0x8c(%rbp), %eax
movq 0x2d31f(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
cmpl (%rcx), %eax
jge 0x10073
movq 0x2d314(%rip), %rax     # 0x3d350
movq 0x2d305(%rip), %rcx     # 0x3d348
movslq -0x50(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movq 0x8(%rcx), %rcx
movslq -0x8c(%rbp), %rdx
movslq 0x4(%rcx,%rdx,8), %rcx
movl $0x0, (%rax,%rcx,4)
movl -0x8c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8c(%rbp)
jmp 0x1001c
jmp 0x10075
movl -0x50(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x50(%rbp)
jmp 0x1000a
movl -0x3c(%rbp), %eax
movl %eax, -0x4(%rbp)
movl -0x4(%rbp), %eax
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)