// File: /workspace/github_c_makefile_star2_O0/cbouilla[P]AES-attacks-finder/SysEqLin.c
// Function: InitialiseSousMat_tmp
void InitialiseSousMat_tmp(SysEqLin E) // initialise E->sousmat
{

	/*	
	 *	 | * * * * | *          |		 | * * * * | * * * * * * |
	 * 	 | * * * * |   *        |		 |   * * * | * * * * * * |
	 *	 | * * * * |     *      | 		 |     * * | * * * * * * | 
	 *	 | * * * * |       *    |  - >   |       * | * * * * * * |
	 *	 | * * * * |         *  |	     |         | *   * * * * | | -> Sousmat
	 *	 | * * * * |           *|        |         |   * * * * * | | ->
	 * 												 ___.___.___	
	 *									variable:     0   1   2		
	 */

	/* Initialisation Big Matrice */
	const int nombre_ligne_big_matrix = E->a;
	const int nombre_colone_big_matrix = E->a+E->b;
	unsigned char ** __restrict big_matrix=malloc(nombre_ligne_big_matrix*sizeof(unsigned char *));
	unsigned char * __restrict espace_big_matrix=malloc(nombre_colone_big_matrix*nombre_ligne_big_matrix*sizeof(unsigned char));

	int i;
	for (i = 0; i < nombre_ligne_big_matrix; i++) big_matrix[i]=espace_big_matrix + i*nombre_colone_big_matrix;
	for (i = 0; i < nombre_ligne_big_matrix; i++)
	{
		int j;
		for (j = 0; j < E->b; j++) big_matrix[i][j]=E->mat[i][j];
		for (j = E->b; j < nombre_colone_big_matrix; j++) big_matrix[i][j]=0;
	}
	const int nombre_de_variables = E->a/E->gen;
	for (i = 0; i < nombre_de_variables; i++)
	{
		int j;
		for (j = 0; j < E->gen; j++) big_matrix[E->gen*i+j][E->b+E->gen*i+j]=1;
	}
	
	//printf(" Big matrice \n");
	//PrintMat(big_matrix,nombre_ligne_big_matrix,nombre_colone_big_matrix);
	//getchar();

	/* Pivot sur le block gauche de taille E->a x E->b  (E->mat) */
	int dim = 0;
	const int colonne_max_pour_pivot = E->b;
	int pivot_c;
	for (pivot_c = 0; pivot_c < colonne_max_pour_pivot; pivot_c++)
	{
		int new_pivot_l;
		for (new_pivot_l = dim; new_pivot_l < nombre_ligne_big_matrix; new_pivot_l++)
		{
			if (big_matrix[new_pivot_l][pivot_c])
			{
				if (new_pivot_l!=dim)
				{
					unsigned char *tmp = big_matrix[dim];
					big_matrix[dim]=big_matrix[new_pivot_l];
					big_matrix[new_pivot_l]=tmp;
				}
				int ligne;
				for (ligne = new_pivot_l+1; ligne < nombre_ligne_big_matrix; ligne++)
				{
					if (big_matrix[ligne][pivot_c])
					{
						int colonne;
						for (colonne = pivot_c+1; colonne < nombre_colone_big_matrix; colonne++)
						{
							big_matrix[ligne][colonne]=Multiply(big_matrix[dim][pivot_c],big_matrix[ligne][colonne]) ^ Multiply(big_matrix[ligne][pivot_c],big_matrix[dim][colonne]);
						}
						//big_matrix[ligne][pivot_c]=0;
					}
				}
				dim++;
				break;
			}
		}
	}
	//printf(" Big matrice - après premier pivot\n");
	//PrintMat(big_matrix,nombre_ligne_big_matrix,nombre_colone_big_matrix);
	//getchar();
	
	/* Partie sur block en bas à droite de taille (E->a - dim) x E->a */
	const int dim_save = dim;
	for (pivot_c = colonne_max_pour_pivot; pivot_c < nombre_colone_big_matrix; pivot_c++)
	{
		int new_pivot_l;
		for (new_pivot_l = dim; new_pivot_l < nombre_ligne_big_matrix; new_pivot_l++)
		{
			if (big_matrix[new_pivot_l][pivot_c])
			{
				if (new_pivot_l!=dim)
				{
					unsigned char *tmp = big_matrix[dim];
					big_matrix[dim]=big_matrix[new_pivot_l];
					big_matrix[new_pivot_l]=tmp;
				}
				const unsigned char inv = Inverse(big_matrix[dim][pivot_c]);
				int colonne;
				for (colonne = pivot_c; colonne < nombre_colone_big_matrix; colonne++) big_matrix[dim][colonne]=Multiply(inv,big_matrix[dim][colonne]);
				int ligne;
				for (ligne = dim_save; ligne < dim; ligne++)
				{
					if (big_matrix[ligne][pivot_c])
					{
						for (colonne = pivot_c+1; colonne < nombre_colone_big_matrix; colonne++)
						{
							big_matrix[ligne][colonne]^=Multiply(big_matrix[ligne][pivot_c],big_matrix[dim][colonne]);
						}
						big_matrix[ligne][pivot_c]=0;
					}
				}
				for (ligne = new_pivot_l+1; ligne < nombre_ligne_big_matrix; ligne++)
				{
					if (big_matrix[ligne][pivot_c])
					{
						for (colonne = pivot_c+1; colonne < nombre_colone_big_matrix; colonne++)
						{
							big_matrix[ligne][colonne]^=Multiply(big_matrix[ligne][pivot_c],big_matrix[dim][colonne]);
						}
						big_matrix[ligne][pivot_c]=0;
					}
				}
				dim++;
				break;
			}
		}
	}
	//printf(" Big matrice - après second pivot\n");
	//PrintMat(big_matrix,nombre_ligne_big_matrix,nombre_colone_big_matrix);
	//getchar();

	#if 0
	/* On remplit les sous-matrices */
	E->sousmat = malloc(VARIABLES*sizeof(MatriceCreuse));
	for (i = 0; i < nombre_de_variables; i++)
	{
		const int var = E->varligne[i];
		E->sousmat[var] = NouvelleMatriceCreuse();
		/* on compte le nombre d'éléments non nuls */
		E->sousmat[var]->nnz = 0;
		int ligne;
		for (ligne = dim_save; ligne < dim; ligne++)
		{
			int colonne;
			for (colonne = 0; colonne < E->gen ; colonne++) if (big_matrix[ligne][colonne_max_pour_pivot+E->gen*i+colonne]) E->sousmat[var]->nnz++;
		}
		E->sousmat[var]->IA=malloc((E->gen+1)*sizeof(int));
		E->sousmat[var]->A=malloc(E->sousmat[var]->nnz*sizeof(unsigned char));
		E->sousmat[var]->JA=malloc(E->sousmat[var]->nnz*sizeof(int));
		E->sousmat[var]->ligne=0;
		E->sousmat[var]->IA[0]=0;
		int nnz = 0;
		int colonne;
		for (colonne = 0; colonne < E->gen ; colonne++)
		{
			const int nnz_save = nnz;
			for (ligne = dim_save; ligne < dim; ligne++)
			{
				if (big_matrix[ligne][colonne_max_pour_pivot+E->gen*i+colonne])
				{
					E->sousmat[var]->A[nnz]=big_matrix[ligne][colonne_max_pour_pivot+E->gen*i+colonne];
					E->sousmat[var]->JA[nnz]=ligne-dim_save;
					nnz++;
				}
			}
			if (nnz!=nnz_save)
			{
				E->sousmat[var]->ligne++;
				E->sousmat[var]->IA[E->sousmat[var]->ligne] = nnz;
			}
		}
		//printf("Sous-mat %d : \n",i);
		//PrintMat2(E->sousmat[var]);
	}
	#else

	/* On remplit les sous-matrices */
	E->sousmat = malloc(VARIABLES*sizeof(MatriceCreuse));
	for (i = 0; i < nombre_de_variables; i++)
	{
		const int var = E->varligne[i];
		E->sousmat[var] = NouvelleMatriceCreuse();
		E->sousmat[var]->ligne=malloc(E->gen*sizeof(LigneCreuse));
		E->sousmat[var]->nombre_de_lignes = 0;
		int colonne;
		for (colonne = 0; colonne < E->gen ; colonne++)
		{
			int nnz=0;
			/* on compte le nombre d'éléments non nuls */
			int ligne;
			for (ligne = dim_save; ligne < dim; ligne++)
			{
				if (big_matrix[ligne][colonne_max_pour_pivot+E->gen*i+colonne]) nnz++;
			}
			if (nnz)
			{
				E->sousmat[var]->ligne[E->sousmat[var]->nombre_de_lignes]=NouvelleLigneCreuse();
				E->sousmat[var]->ligne[E->sousmat[var]->nombre_de_lignes]->elements=malloc(nnz*sizeof(COL_COEFF));
				nnz=0;
				for (ligne = dim_save; ligne < dim; ligne++)
				{
					if (big_matrix[ligne][colonne_max_pour_pivot+E->gen*i+colonne])
					{
						E->sousmat[var]->ligne[E->sousmat[var]->nombre_de_lignes]->elements[nnz].coeff=big_matrix[ligne][colonne_max_pour_pivot+E->gen*i+colonne];
						E->sousmat[var]->ligne[E->sousmat[var]->nombre_de_lignes]->elements[nnz].colonne=ligne-dim_save;
						nnz++;
					}
				}
				E->sousmat[var]->ligne[E->sousmat[var]->nombre_de_lignes]->nnz=nnz;
				E->sousmat[var]->nombre_de_lignes++;
			}
		}
	}
	#endif
	E->col_max = dim-dim_save;
	//printf("E->col_max = %d",E->col_max);
	//getchar();
	/* Liberation de la memoire */

	free(big_matrix);
	free(espace_big_matrix);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movq -0x8(%rbp), %rcx
addl 0xc(%rcx), %eax
movl %eax, -0x10(%rbp)
movslq -0xc(%rbp), %rdi
shlq $0x3, %rdi
callq 0x21c0
movq %rax, -0x18(%rbp)
movl -0x10(%rbp), %eax
imull -0xc(%rbp), %eax
movslq %eax, %rdi
shlq $0x0, %rdi
callq 0x21c0
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xe468
movq -0x20(%rbp), %rdx
movl -0x24(%rbp), %eax
imull -0x10(%rbp), %eax
cltq
addq %rax, %rdx
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xe439
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xe503
movl $0x0, -0x28(%rbp)
movl -0x28(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jge 0xe4c2
movq -0x8(%rbp), %rax
movq (%rax), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x28(%rbp), %rcx
movb (%rax,%rcx), %dl
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x28(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0xe482
movq -0x8(%rbp), %rax
movl 0xc(%rax), %eax
movl %eax, -0x28(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0xe4f3
movq -0x18(%rbp), %rax
movslq -0x24(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x28(%rbp), %rcx
movb $0x0, (%rax,%rcx)
movl -0x28(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x28(%rbp)
jmp 0xe4cc
jmp 0xe4f5
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xe46f
movq -0x8(%rbp), %rax
movl 0x8(%rax), %eax
movq -0x8(%rbp), %rcx
cltd
idivl 0x10(%rcx)
movl %eax, -0x2c(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xe586
movl $0x0, -0x30(%rbp)
movl -0x30(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x10(%rcx), %eax
jge 0xe579
movq -0x18(%rbp), %rax
movq -0x8(%rbp), %rcx
movl 0x10(%rcx), %ecx
imull -0x24(%rbp), %ecx
addl -0x30(%rbp), %ecx
movslq %ecx, %rcx
movq (%rax,%rcx,8), %rax
movq -0x8(%rbp), %rcx
movl 0xc(%rcx), %ecx
movq -0x8(%rbp), %rdx
movl 0x10(%rdx), %edx
imull -0x24(%rbp), %edx
addl %edx, %ecx
addl -0x30(%rbp), %ecx
movslq %ecx, %rcx
movb $0x1, (%rax,%rcx)
movl -0x30(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x30(%rbp)
jmp 0xe52b
jmp 0xe57b
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xe51c
movl $0x0, -0x34(%rbp)
movq -0x8(%rbp), %rax
movl 0xc(%rax), %eax
movl %eax, -0x38(%rbp)
movl $0x0, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x38(%rbp), %eax
jge 0xe734
movl -0x34(%rbp), %eax
movl %eax, -0x40(%rbp)
movl -0x40(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xe724
movq -0x18(%rbp), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0xe714
movl -0x40(%rbp), %eax
cmpl -0x34(%rbp), %eax
je 0xe616
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x48(%rbp)
movq -0x18(%rbp), %rax
movslq -0x40(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x48(%rbp), %rdx
movq -0x18(%rbp), %rax
movslq -0x40(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
movl -0x4c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xe709
movq -0x18(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0xe6f9
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x50(%rbp)
movl -0x50(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0xe6f7
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x16999(%rip), %rax     # 0x25010
shlq $0x8, %rcx
addq %rcx, %rax
movq -0x18(%rbp), %rcx
movslq -0x4c(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x50(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movzbl (%rax,%rcx), %eax
movq -0x18(%rbp), %rcx
movslq -0x4c(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x3c(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movl %ecx, %edx
leaq 0x1695d(%rip), %rcx     # 0x25010
shlq $0x8, %rdx
addq %rdx, %rcx
movq -0x18(%rbp), %rdx
movslq -0x34(%rbp), %rsi
movq (%rdx,%rsi,8), %rdx
movslq -0x50(%rbp), %rsi
movzbl (%rdx,%rsi), %edx
movzbl (%rcx,%rdx), %ecx
xorl %ecx, %eax
movb %al, %dl
movq -0x18(%rbp), %rax
movslq -0x4c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x50(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x50(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x50(%rbp)
jmp 0xe64e
jmp 0xe6f9
jmp 0xe6fb
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0xe61f
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xe724
jmp 0xe716
movl -0x40(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x40(%rbp)
jmp 0xe5b0
jmp 0xe726
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0xe59e
movl -0x34(%rbp), %eax
movl %eax, -0x54(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0x3c(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0xe9db
movl -0x34(%rbp), %eax
movl %eax, -0x58(%rbp)
movl -0x58(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xe9cb
movq -0x18(%rbp), %rax
movslq -0x58(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0xe9bb
movl -0x58(%rbp), %eax
cmpl -0x34(%rbp), %eax
je 0xe7b8
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rax
movslq -0x58(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x60(%rbp), %rdx
movq -0x18(%rbp), %rax
movslq -0x58(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
movzbl (%rax,%rcx), %edi
callq 0x24c0
movb %al, -0x61(%rbp)
movl -0x3c(%rbp), %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0xe82b
movzbl -0x61(%rbp), %eax
movl %eax, %ecx
leaq 0x16821(%rip), %rax     # 0x25010
shlq $0x8, %rcx
addq %rcx, %rax
movq -0x18(%rbp), %rcx
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x68(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movb (%rax,%rcx), %dl
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x68(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0xe7da
movl -0x54(%rbp), %eax
movl %eax, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0xe8ec
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0xe8dc
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0xe8c8
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x1678b(%rip), %rax     # 0x25010
shlq $0x8, %rcx
addq %rcx, %rax
movq -0x18(%rbp), %rcx
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x68(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movzbl (%rax,%rcx), %esi
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x68(%rbp), %rcx
movzbl (%rax,%rcx), %edx
xorl %esi, %edx
movb %dl, (%rax,%rcx)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0xe860
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
movb $0x0, (%rax,%rcx)
jmp 0xe8de
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0xe831
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
movl -0x6c(%rbp), %eax
cmpl -0xc(%rbp), %eax
jge 0xe9b0
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
cmpb $0x0, (%rax,%rcx)
je 0xe9a0
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
movl -0x68(%rbp), %eax
cmpl -0x10(%rbp), %eax
jge 0xe98c
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
movzbl (%rax,%rcx), %eax
movl %eax, %ecx
leaq 0x166c7(%rip), %rax     # 0x25010
shlq $0x8, %rcx
addq %rcx, %rax
movq -0x18(%rbp), %rcx
movslq -0x34(%rbp), %rdx
movq (%rcx,%rdx,8), %rcx
movslq -0x68(%rbp), %rdx
movzbl (%rcx,%rdx), %ecx
movzbl (%rax,%rcx), %esi
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x68(%rbp), %rcx
movzbl (%rax,%rcx), %edx
xorl %esi, %edx
movb %dl, (%rax,%rcx)
movl -0x68(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x68(%rbp)
jmp 0xe924
movq -0x18(%rbp), %rax
movslq -0x6c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x3c(%rbp), %rcx
movb $0x0, (%rax,%rcx)
jmp 0xe9a2
movl -0x6c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x6c(%rbp)
jmp 0xe8f5
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0xe9cb
jmp 0xe9bd
movl -0x58(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x58(%rbp)
jmp 0xe752
jmp 0xe9cd
movl -0x3c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x3c(%rbp)
jmp 0xe740
leaq 0x2e8e6(%rip), %rax     # 0x3d2c8
movslq (%rax), %rdi
shlq $0x3, %rdi
callq 0x21c0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x30(%rax)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jge 0xecb7
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -0x70(%rbp)
callq 0xe1c0
movq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq -0x8(%rbp), %rax
movslq 0x10(%rax), %rdi
shlq $0x3, %rdi
callq 0x21c0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl $0x0, (%rax)
movl $0x0, -0x74(%rbp)
movl -0x74(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x10(%rcx), %eax
jge 0xeca7
movl $0x0, -0x78(%rbp)
movl -0x54(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl -0x7c(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0xeade
movq -0x18(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x38(%rbp), %ecx
movq -0x8(%rbp), %rdx
movl 0x10(%rdx), %edx
imull -0x24(%rbp), %edx
addl %edx, %ecx
addl -0x74(%rbp), %ecx
movslq %ecx, %rcx
cmpb $0x0, (%rax,%rcx)
je 0xead1
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0xead3
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0xea98
cmpl $0x0, -0x78(%rbp)
je 0xec97
callq 0xdfe0
movq %rax, %rdx
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x30(%rcx), %rcx
movslq -0x70(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq (%rcx), %rcx
movq %rdx, (%rax,%rcx,8)
movslq -0x78(%rbp), %rdi
shlq $0x3, %rdi
callq 0x21c0
movq %rax, %rcx
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rdx
movq 0x30(%rdx), %rdx
movslq -0x70(%rbp), %rsi
movq (%rdx,%rsi,8), %rdx
movslq (%rdx), %rdx
movq (%rax,%rdx,8), %rax
movq %rcx, 0x8(%rax)
movl $0x0, -0x78(%rbp)
movl -0x54(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl -0x7c(%rbp), %eax
cmpl -0x34(%rbp), %eax
jge 0xec50
movq -0x18(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x38(%rbp), %ecx
movq -0x8(%rbp), %rdx
movl 0x10(%rdx), %edx
imull -0x24(%rbp), %edx
addl %edx, %ecx
addl -0x74(%rbp), %ecx
movslq %ecx, %rcx
cmpb $0x0, (%rax,%rcx)
je 0xec40
movq -0x18(%rbp), %rax
movslq -0x7c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl -0x38(%rbp), %ecx
movq -0x8(%rbp), %rdx
movl 0x10(%rdx), %edx
imull -0x24(%rbp), %edx
addl %edx, %ecx
addl -0x74(%rbp), %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x30(%rcx), %rcx
movslq -0x70(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movslq -0x78(%rbp), %rcx
movb %dl, (%rax,%rcx,8)
movl -0x7c(%rbp), %edx
subl -0x54(%rbp), %edx
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rcx
movq 0x30(%rcx), %rcx
movslq -0x70(%rbp), %rsi
movq (%rcx,%rsi,8), %rcx
movslq (%rcx), %rcx
movq (%rax,%rcx,8), %rax
movq 0x8(%rax), %rax
movslq -0x78(%rbp), %rcx
movl %edx, 0x4(%rax,%rcx,8)
movl -0x78(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x78(%rbp)
jmp 0xec42
movl -0x7c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x7c(%rbp)
jmp 0xeb67
movl -0x78(%rbp), %ecx
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rdx
movq (%rax,%rdx,8), %rax
movq 0x8(%rax), %rax
movq -0x8(%rbp), %rdx
movq 0x30(%rdx), %rdx
movslq -0x70(%rbp), %rsi
movq (%rdx,%rsi,8), %rdx
movslq (%rdx), %rdx
movq (%rax,%rdx,8), %rax
movl %ecx, (%rax)
movq -0x8(%rbp), %rax
movq 0x30(%rax), %rax
movslq -0x70(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movl (%rax), %ecx
addl $0x1, %ecx
movl %ecx, (%rax)
jmp 0xec99
movl -0x74(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x74(%rbp)
jmp 0xea7b
jmp 0xeca9
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0xea00
movl -0x34(%rbp), %ecx
subl -0x54(%rbp), %ecx
movq -0x8(%rbp), %rax
movl %ecx, 0x38(%rax)
movq -0x18(%rbp), %rdi
callq 0x2030
movq -0x20(%rbp), %rdi
callq 0x2030
addq $0x80, %rsp
popq %rbp
retq
nop