// File: /workspace/github_c_makefile_star2_O0/cbouilla[P]AES-attacks-finder/Equation.c
// Function: VarsDedans
int * VarsDedans(Equation a, int *taille)
{
	int i,l,*tmp,*tmp1,**L,*t,n,n1;
	l=a->nS+1;
	L=malloc(l*sizeof(int *));
	t=malloc(l*sizeof(int));
	for (i = 0; i < a->nS; i++) L[i]=VarsDedans(a->S[i],t+i);
	L[a->nS]=malloc(a->nV*sizeof(int));
	for (i = 0; i < a->nV; i++) L[a->nS][i]=a->var[i];
	t[a->nS]=a->nV;
	Tri(L[a->nS],a->nV);
	n=0;
	tmp=malloc(n*sizeof(int));
	for (i = 0; i < l; i++)
	{
		tmp1=UnionListesTriees(tmp,n,L[i],t[i],&n1);
		free(tmp);
		tmp=tmp1;
		n=n1;
	}
	for (i = 0; i < l; i++) free(L[i]);
	free(L);
	*taille=n;
	return tmp;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x18(%rax), %eax
addl $0x1, %eax
movl %eax, -0x18(%rbp)
movslq -0x18(%rbp), %rdi
shlq $0x3, %rdi
callq 0x21c0
movq %rax, -0x30(%rbp)
movslq -0x18(%rbp), %rdi
shlq $0x2, %rdi
callq 0x21c0
movq %rax, -0x38(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x18(%rcx), %eax
jge 0x7bc0
movq -0x8(%rbp), %rax
movq 0x20(%rax), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
movq -0x38(%rbp), %rsi
movslq -0x14(%rbp), %rax
shlq $0x2, %rax
addq %rax, %rsi
callq 0x7b30
movq %rax, %rdx
movq -0x30(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x7b76
movq -0x8(%rbp), %rax
movslq (%rax), %rdi
shlq $0x2, %rdi
callq 0x21c0
movq %rax, %rdx
movq -0x30(%rbp), %rax
movq -0x8(%rbp), %rcx
movslq 0x18(%rcx), %rcx
movq %rdx, (%rax,%rcx,8)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl (%rcx), %eax
jge 0x7c26
movq -0x8(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -0x30(%rbp), %rax
movq -0x8(%rbp), %rcx
movslq 0x18(%rcx), %rcx
movq (%rax,%rcx,8), %rax
movslq -0x14(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x7bea
movq -0x8(%rbp), %rax
movl (%rax), %edx
movq -0x38(%rbp), %rax
movq -0x8(%rbp), %rcx
movslq 0x18(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -0x30(%rbp), %rax
movq -0x8(%rbp), %rcx
movslq 0x18(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
movq -0x8(%rbp), %rax
movl (%rax), %esi
callq 0x2e10
movl $0x0, -0x3c(%rbp)
movslq -0x3c(%rbp), %rdi
shlq $0x2, %rdi
callq 0x21c0
movq %rax, -0x20(%rbp)
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x7cca
movq -0x20(%rbp), %rdi
movl -0x3c(%rbp), %esi
movq -0x30(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
movq -0x38(%rbp), %rax
movslq -0x14(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
leaq -0x40(%rbp), %r8
callq 0x24e0
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
callq 0x2030
movq -0x28(%rbp), %rax
movq %rax, -0x20(%rbp)
movl -0x40(%rbp), %eax
movl %eax, -0x3c(%rbp)
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x7c75
movl $0x0, -0x14(%rbp)
movl -0x14(%rbp), %eax
cmpl -0x18(%rbp), %eax
jge 0x7cf5
movq -0x30(%rbp), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq 0x2030
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x7cd1
movq -0x30(%rbp), %rdi
callq 0x2030
movl -0x3c(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, (%rax)
movq -0x20(%rbp), %rax
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)