// File: nompelis[P]INTecplotLib/intecplot.cpp
// Function: inTec_File::~inTec_File()
inTec_File::~inTec_File()
{
#ifdef _DEBUG_
   printf(" i File object deconstructing \"%s\"\n", name);
#endif

   // drop all contents of all zones attached to this file
#ifdef _DEBUG_
      printf(" --- Number of zones to clear: %d \n", (int) zones.size() );
#endif
   for(unsigned int n=0;n<zones.size();++n) {
#ifdef _DEBUG_
      printf(" --- Clearing zone %d \n", n );
#endif
      delete zones[n];
   }
   zones.clear();

#ifdef _DEBUG_
   printf(" i Variable names in file (%ld) follow \n", variables.size());
   for(unsigned int n=0;n<variables.size();++n) {
      printf("   %d \"%s\"\n", n, variables[n].c_str() );
   }

   printf(" i Strings in file (%ld) follow \n", strings.size());
   printf("   Index  Line  String \n");
   std::map< unsigned long, std::string > :: iterator im;
   int i=0;
   for( im = strings.begin(); im != strings.end(); ++im ) {
      printf("   %d  ", i++ );
      printf("   [%ld]   |%s", (*im).first, (*im).second.c_str() );
   }
#endif
   variables.clear();
   strings.clear();

#ifdef _DEBUG_
   printf(" i Number of variables after clear %ld \n", variables.size());
   printf(" i Number of strings after clear %ld \n", strings.size());
#endif
}

// Assembly:
subq $0x78, %rsp
movq %rdi, 0x70(%rsp)
movq 0x70(%rsp), %rsi
movq %rsi, 0x40(%rsp)
movq 0x1199e(%rip), %rax     # 0x2ffc8
addq $0x10, %rax
movq %rax, (%rsi)
addq $0xc, %rsi
leaq 0xab4d(%rip), %rdi      # 0x29189
xorl %eax, %eax
callq 0x13070
jmp 0x1e645
movq 0x40(%rsp), %rdi
addq $0x178, %rdi            # imm = 0x178
callq 0x142c0
movl %eax, %esi
leaq 0xab4e(%rip), %rdi      # 0x291ad
xorl %eax, %eax
callq 0x13070
jmp 0x1e668
movl $0x0, 0x6c(%rsp)
movq 0x40(%rsp), %rdi
movl 0x6c(%rsp), %eax
movq %rax, 0x38(%rsp)
addq $0x178, %rdi            # imm = 0x178
callq 0x142c0
movq %rax, %rcx
movq 0x38(%rsp), %rax
cmpq %rcx, %rax
jae 0x1e6ea
movl 0x6c(%rsp), %esi
leaq 0xab2f(%rip), %rdi      # 0x291d1
xorl %eax, %eax
callq 0x13070
jmp 0x1e6ab
movq 0x40(%rsp), %rdi
addq $0x178, %rdi            # imm = 0x178
movl 0x6c(%rsp), %eax
movl %eax, %esi
callq 0x13e10
movq (%rax), %rax
movq %rax, 0x30(%rsp)
cmpq $0x0, %rax
je 0x1e6db
movq 0x30(%rsp), %rdi
movq (%rdi), %rax
callq *0x8(%rax)
jmp 0x1e6dd
movl 0x6c(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x6c(%rsp)
jmp 0x1e670
movq 0x40(%rsp), %rdi
addq $0x178, %rdi            # imm = 0x178
callq 0x137a0
movq 0x40(%rsp), %rdi
addq $0x160, %rdi            # imm = 0x160
callq 0x14e70
movq %rax, %rsi
leaq 0xaad3(%rip), %rdi      # 0x291e9
xorl %eax, %eax
callq 0x13070
jmp 0x1e71f
movl $0x0, 0x68(%rsp)
movq 0x40(%rsp), %rdi
movl 0x68(%rsp), %eax
movq %rax, 0x28(%rsp)
addq $0x160, %rdi            # imm = 0x160
callq 0x14e70
movq %rax, %rcx
movq 0x28(%rsp), %rax
cmpq %rcx, %rax
jae 0x1e797
movq 0x40(%rsp), %rdi
movl 0x68(%rsp), %eax
movl %eax, 0x24(%rsp)
addq $0x160, %rdi            # imm = 0x160
movl %eax, %esi
callq 0x14ea0
movq %rax, %rdi
callq 0x134f0
movl 0x24(%rsp), %esi
movq %rax, %rdx
leaq 0xaa93(%rip), %rdi      # 0x29212
xorl %eax, %eax
callq 0x13070
jmp 0x1e788
jmp 0x1e78a
movl 0x68(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x68(%rsp)
jmp 0x1e727
movq 0x40(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
callq 0x13230
movq %rax, %rsi
leaq 0xaa6c(%rip), %rdi      # 0x2921e
xorl %eax, %eax
callq 0x13070
jmp 0x1e7bb
leaq 0xaa7e(%rip), %rdi      # 0x29240
xorl %eax, %eax
callq 0x13070
jmp 0x1e7cb
leaq 0x60(%rsp), %rdi
callq 0x14510
movq 0x40(%rsp), %rdi
movl $0x0, 0x5c(%rsp)
addq $0x130, %rdi            # imm = 0x130
callq 0x14fd0
movq %rax, 0x50(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x60(%rsp)
movq 0x40(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
callq 0x13e20
movq %rax, 0x48(%rsp)
leaq 0x60(%rsp), %rdi
leaq 0x48(%rsp), %rsi
callq 0x13200
testb $0x1, %al
jne 0x1e828
jmp 0x1e89a
movl 0x5c(%rsp), %esi
movl %esi, %eax
incl %eax
movl %eax, 0x5c(%rsp)
leaq 0x9858(%rip), %rdi      # 0x28093
xorl %eax, %eax
callq 0x13070
jmp 0x1e844
leaq 0x60(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x15010
movq 0x10(%rsp), %rdi
movq (%rax), %rax
movq %rax, 0x18(%rsp)
callq 0x15010
movq %rax, %rdi
addq $0x8, %rdi
callq 0x134f0
movq 0x18(%rsp), %rsi
movq %rax, %rdx
leaq 0xa9d9(%rip), %rdi      # 0x29259
xorl %eax, %eax
callq 0x13070
jmp 0x1e889
jmp 0x1e88b
leaq 0x60(%rsp), %rdi
callq 0x139b0
jmp 0x1e7fd
movq 0x40(%rsp), %rdi
addq $0x160, %rdi            # imm = 0x160
movq %rdi, 0x8(%rsp)
callq 0x13ee0
movq 0x40(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
callq 0x137d0
movq 0x8(%rsp), %rdi
callq 0x14e70
movq %rax, %rsi
leaq 0xa993(%rip), %rdi      # 0x29268
xorl %eax, %eax
callq 0x13070
jmp 0x1e8de
movq 0x40(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
callq 0x13230
movq %rax, %rsi
leaq 0xa998(%rip), %rdi      # 0x29291
xorl %eax, %eax
callq 0x13070
jmp 0x1e902
movq 0x40(%rsp), %rdi
addq $0x178, %rdi            # imm = 0x178
callq 0x13440
movq 0x40(%rsp), %rdi
addq $0x160, %rdi            # imm = 0x160
callq 0x13a40
movq 0x40(%rsp), %rdi
addq $0x130, %rdi            # imm = 0x130
callq 0x14280
addq $0x78, %rsp
retq
movq %rax, %rdi
callq 0x20720
nopw %cs:(%rax,%rax)