// File: /workspace/github_c_makefile_star2_O0/ComplexNetworks-DCC-FCUP[P]gtrieScanner/GTrie.cpp
// Function: GTrieNode::cleanConditions()
void GTrieNode::cleanConditions() {
  int a, b;
  list< list<iPair> >::iterator ii;
  list<iPair> ::iterator jj, kk;

  if (cond.size()>0) {
    for (jj=cond.begin()->begin(); jj!=cond.begin()->end();jj++) {
      a=jj->first;
      b=jj->second;
      for (ii=cond.begin(); ii!=cond.end(); ii++) {
	for (kk=ii->begin(); kk!=ii->end(); kk++)
	  if (kk->first==a && kk->second==b) break;
	if (kk==ii->end()) break;
      }
      if (ii==cond.end())  {
	list<GTrieNode *>::iterator ii;
	for(ii=child.begin(); ii!=child.end(); ii++)
	  (*ii)->clean(a, b);	
      }
    }
  }

  list<GTrieNode *>::iterator cc;
  for(cc=child.begin(); cc!=child.end(); cc++)
    (*cc)->cleanConditions();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x15490
leaq -0x20(%rbp), %rdi
callq 0xc9b0
leaq -0x28(%rbp), %rdi
callq 0xc9b0
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x15fa0
cmpq $0x0, %rax
jbe 0x1515c
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x154b0
movq %rax, -0x38(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x16350
movq %rax, %rdi
callq 0x15560
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x154b0
movq %rax, -0x48(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x16350
movq %rax, %rdi
callq 0xd700
movq %rax, -0x40(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x15590
testb $0x1, %al
jne 0x14f5f
jmp 0x1515a
leaq -0x20(%rbp), %rdi
callq 0x155c0
movl (%rax), %eax
movl %eax, -0xc(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x155c0
movq -0xd8(%rbp), %rdi
movl 0x4(%rax), %eax
movl %eax, -0x10(%rbp)
addq $0x18, %rdi
callq 0x154b0
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x15510
movq %rax, -0x58(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x58(%rbp), %rsi
callq 0x154e0
testb $0x1, %al
jne 0x14fc2
jmp 0x1507d
leaq -0x18(%rbp), %rdi
callq 0x16350
movq %rax, %rdi
callq 0x15560
movq %rax, -0x60(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x28(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x16350
movq %rax, %rdi
callq 0xd700
movq %rax, -0x68(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x15590
testb $0x1, %al
jne 0x15007
jmp 0x1503d
leaq -0x28(%rbp), %rdi
callq 0x155c0
movl (%rax), %eax
cmpl -0xc(%rbp), %eax
jne 0x1502a
leaq -0x28(%rbp), %rdi
callq 0x155c0
movl 0x4(%rax), %eax
cmpl -0x10(%rbp), %eax
jne 0x1502a
jmp 0x1503d
jmp 0x1502c
leaq -0x28(%rbp), %rdi
xorl %esi, %esi
callq 0x155e0
movq %rax, -0x70(%rbp)
jmp 0x14fdf
leaq -0x18(%rbp), %rdi
callq 0x16350
movq %rax, %rdi
callq 0xd700
movq %rax, -0x78(%rbp)
leaq -0x28(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x15910
testb $0x1, %al
jne 0x15065
jmp 0x15067
jmp 0x1507d
jmp 0x15069
leaq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x15610
movq %rax, -0x80(%rbp)
jmp 0x14f98
movq -0xd8(%rbp), %rdi
addq $0x18, %rdi
callq 0x15510
movq %rax, -0x88(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x15ca0
testb $0x1, %al
jne 0x150ad
jmp 0x15141
leaq -0x90(%rbp), %rdi
callq 0x15390
movq -0xd8(%rbp), %rdi
addq $0x30, %rdi
callq 0x153b0
movq %rax, -0x98(%rbp)
movq -0x98(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0xd8(%rbp), %rdi
addq $0x30, %rdi
callq 0x15410
movq %rax, -0xa0(%rbp)
leaq -0x90(%rbp), %rdi
leaq -0xa0(%rbp), %rsi
callq 0x153e0
testb $0x1, %al
jne 0x1510e
jmp 0x1513f
leaq -0x90(%rbp), %rdi
callq 0x15440
movq (%rax), %rdi
movl -0xc(%rbp), %esi
movl -0x10(%rbp), %edx
callq 0x14c90
leaq -0x90(%rbp), %rdi
xorl %esi, %esi
callq 0x15460
movq %rax, -0xa8(%rbp)
jmp 0x150de
jmp 0x15141
jmp 0x15143
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x155e0
movq %rax, -0xb0(%rbp)
jmp 0x14f20
jmp 0x1515c
leaq -0xb8(%rbp), %rdi
callq 0x15390
movq -0xd8(%rbp), %rdi
addq $0x30, %rdi
callq 0x153b0
movq %rax, -0xc0(%rbp)
movq -0xc0(%rbp), %rax
movq %rax, -0xb8(%rbp)
movq -0xd8(%rbp), %rdi
addq $0x30, %rdi
callq 0x15410
movq %rax, -0xc8(%rbp)
leaq -0xb8(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x153e0
testb $0x1, %al
jne 0x151bd
jmp 0x151e8
leaq -0xb8(%rbp), %rdi
callq 0x15440
movq (%rax), %rdi
callq 0x14ea0
leaq -0xb8(%rbp), %rdi
xorl %esi, %esi
callq 0x15460
movq %rax, -0xd0(%rbp)
jmp 0x1518d
addq $0xe0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
nopl (%rax,%rax)