// File: /workspace/github_cpp_makefile_star2_O3/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:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movq 0x8684(%rip), %rax      # 0x12fc8
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0xc(%rdi), %rsi
leaq 0x42bf(%rip), %rdi      # 0xec15
xorl %eax, %eax
callq 0x5060
movq 0x180(%rbx), %rsi
subq 0x178(%rbx), %rsi
shrq $0x3, %rsi
leaq 0x42c3(%rip), %rdi      # 0xec39
xorl %eax, %eax
callq 0x5060
movq 0x178(%rbx), %rax
movq 0x180(%rbx), %rcx
cmpq %rax, %rcx
je 0xa9e3
leaq 0x42c6(%rip), %r14      # 0xec5d
xorl %r12d, %r12d
xorl %r15d, %r15d
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x5060
movq 0x178(%rbx), %rax
movq (%rax,%r12,8), %rdi
testq %rdi, %rdi
je 0xa9c7
movq (%rdi), %rax
callq *0x8(%rax)
movq 0x178(%rbx), %rax
incl %r15d
movq 0x180(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movq %r15, %r12
cmpq %r15, %rdx
ja 0xa99d
cmpq %rax, %rcx
je 0xa9ef
movq %rax, 0x180(%rbx)
movq 0x168(%rbx), %rsi
subq 0x160(%rbx), %rsi
sarq $0x5, %rsi
leaq 0x426d(%rip), %rdi      # 0xec75
xorl %eax, %eax
callq 0x5060
movq 0x160(%rbx), %rax
cmpq %rax, 0x168(%rbx)
je 0xaa60
leaq 0x4278(%rip), %r14      # 0xec9e
xorl %ecx, %ecx
xorl %r15d, %r15d
shlq $0x5, %rcx
movq (%rax,%rcx), %rdx
movq %r14, %rdi
movl %r15d, %esi
xorl %eax, %eax
callq 0x5060
incl %r15d
movq 0x160(%rbx), %rax
movq 0x168(%rbx), %rdx
subq %rax, %rdx
sarq $0x5, %rdx
movq %r15, %rcx
cmpq %r15, %rdx
ja 0xaa2b
leaq 0x160(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x130(%rbx), %rax
movq %rax, 0x10(%rsp)
movq 0x158(%rbx), %rsi
leaq 0x4224(%rip), %rdi      # 0xecaa
xorl %eax, %eax
callq 0x5060
leaq 0x4c66(%rip), %rdi      # 0xf6fa
callq 0x5570
movq 0x148(%rbx), %r12
leaq 0x138(%rbx), %r14
cmpq %r14, %r12
je 0xaaf1
leaq 0x3731(%rip), %r13      # 0xe1e4
leaq 0x4212(%rip), %rbp      # 0xeccc
xorl %esi, %esi
leal 0x1(%rsi), %r15d
movq %r13, %rdi
xorl %eax, %eax
callq 0x5060
movq 0x20(%r12), %rsi
movq 0x28(%r12), %rdx
movq %rbp, %rdi
xorl %eax, %eax
callq 0x5060
movq %r12, %rdi
callq 0x5200
movq %rax, %r12
movl %r15d, %esi
cmpq %r14, %rax
jne 0xaabc
movq 0x160(%rbx), %rsi
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x52c0
movq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x56d0
movq 0x168(%rbx), %rsi
subq 0x160(%rbx), %rsi
sarq $0x5, %rsi
leaq 0x41b0(%rip), %rdi      # 0xecdb
xorl %eax, %eax
callq 0x5060
movq 0x158(%rbx), %rsi
leaq 0x41c4(%rip), %rdi      # 0xed04
xorl %eax, %eax
callq 0x5060
movq 0x178(%rbx), %rdi
testq %rdi, %rdi
je 0xab62
movq 0x188(%rbx), %rsi
subq %rdi, %rsi
callq 0x5380
movq %r15, %rdi
callq 0x5230
movq %r14, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5350