// File: /workspace/github_cpp_makefile_star2_O1/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 0x852a(%rip), %rax      # 0x12fc8
addq $0x10, %rax
movq %rax, (%rdi)
leaq 0xc(%rdi), %rsi
leaq 0x40cd(%rip), %rdi      # 0xeb7d
xorl %eax, %eax
callq 0x5060
movq 0x180(%rbx), %rsi
subq 0x178(%rbx), %rsi
shrq $0x3, %rsi
leaq 0x40d1(%rip), %rdi      # 0xeba1
xorl %eax, %eax
callq 0x5060
movq 0x178(%rbx), %rax
movq 0x180(%rbx), %rcx
cmpq %rax, %rcx
je 0xab3d
leaq 0x40d4(%rip), %r14      # 0xebc5
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 0xab1a
movq (%rdi), %rax
callq *0x8(%rax)
incl %r15d
movq 0x178(%rbx), %rax
movq 0x180(%rbx), %rcx
movq %rcx, %rdx
subq %rax, %rdx
sarq $0x3, %rdx
movq %r15, %r12
cmpq %r15, %rdx
ja 0xaaf7
cmpq %rax, %rcx
je 0xab49
movq %rax, 0x180(%rbx)
movq 0x168(%rbx), %rsi
subq 0x160(%rbx), %rsi
sarq $0x5, %rsi
leaq 0x407b(%rip), %rdi      # 0xebdd
xorl %eax, %eax
callq 0x5060
movq 0x160(%rbx), %rax
cmpq %rax, 0x168(%rbx)
je 0xabba
leaq 0x4086(%rip), %r14      # 0xec06
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 0xab85
leaq 0x160(%rbx), %rax
movq %rax, 0x8(%rsp)
leaq 0x130(%rbx), %rax
movq %rax, 0x10(%rsp)
movq 0x158(%rbx), %rsi
leaq 0x4032(%rip), %rdi      # 0xec12
xorl %eax, %eax
callq 0x5060
leaq 0x4a74(%rip), %rdi      # 0xf662
callq 0x5580
movq 0x148(%rbx), %r12
leaq 0x138(%rbx), %r14
cmpq %r14, %r12
je 0xac4b
leaq 0x353f(%rip), %r13      # 0xe14c
leaq 0x4020(%rip), %rbp      # 0xec34
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 0xac16
movq 0x160(%rbx), %rsi
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x52d0
movq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x56e0
movq 0x168(%rbx), %rsi
subq 0x160(%rbx), %rsi
sarq $0x5, %rsi
leaq 0x3fbe(%rip), %rdi      # 0xec43
xorl %eax, %eax
callq 0x5060
movq 0x158(%rbx), %rsi
leaq 0x3fd2(%rip), %rdi      # 0xec6c
xorl %eax, %eax
callq 0x5060
movq 0x178(%rbx), %rdi
testq %rdi, %rdi
je 0xacbc
movq 0x188(%rbx), %rsi
subq %rdi, %rsi
callq 0x5390
movq %r15, %rdi
callq 0x5230
movq %r14, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x5360