// File: /workspace/github_cpp_makefile_star2_O2/nompelis[P]INTecplotLib/intecplot.cpp
// Function: inTec_Zone::HandleKeyword(char*)
int inTec_Zone::HandleKeyword( char *buf )
{
#ifdef _DEBUG_
   printf("\n i Handling keyword \n");
#endif
#ifdef _DEBUG2_
   printf(" --- keyword -->|%s|<-- \n", buf );
#endif

   // shift start of buffer to beginning of the keyword
   char *s = buf;
   while( s[0] == ' ' || s[0] == ',' ) s++;
#ifdef _DEBUG_
   printf(" --- start keyword -->|%s|<-- \n", s );
#endif

   // size to equal sign
   size_t i=0,key_size=0;
   while( s[ i ] != '=' ) {
      // nullify spaces as you go
      if( s[ i ] != ' ' ) {
         ++key_size;
      } else {
         s[key_size] = '\0';
      }
      ++i;
   }
#ifdef _DEBUG_
   printf(" --- Equal sign at character %ld \n", i );
#endif
   s[i] = '\0';
#ifdef _DEBUG_
   printf(" --- Cleaned keyword: --->|%s|<--- \n", s );
#endif

   // need to "shift" past the equal sign and to the beginning of the payload
   char *p = &( s[ i+1] );
   while( p[0] == ' ' && p[0] != '\0' ) p++;
#ifdef _DEBUG_
   printf(" --- Payload: --->|%s|<--- \n", p );
#endif

   // trials to match keyword
   // (determine size of keyword and do per-size compar.)
   int iret=1;
   if( key_size == 1 ) {
      if( strncasecmp( s, "T", 1 ) == 0 ) {
         keywords["T"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "I", 1 ) == 0 ) {
         keywords["I"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "J", 1 ) == 0 ) {
         keywords["J"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "K", 1 ) == 0 ) {
         keywords["K"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "E", 1 ) == 0 ) {   // old keyword
         keywords["E"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "N", 1 ) == 0 ) {   // old keyword
         keywords["N"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "F", 1 ) == 0 ) {   // old keyword
         keywords["F"] = p;
         iret = 0;
      }
   }

   if( key_size == 2 ) {
      if( strncasecmp( s, "ET", 2 ) == 0 ) {   // old keyword
         keywords["ET"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "DT", 2 ) == 0 ) {
         keywords["DT"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "NV", 2 ) == 0 ) {
         keywords["NV"] = p;
         iret = 0;
      }
   }

   if( key_size == 5 ) {
      if( strncasecmp( s, "NODES", 5 ) == 0 ) {
         keywords["NODES"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "FACES", 5 ) == 0 ) {
         keywords["FACES"] = p;
         iret = 0;
      }
   }

   if( key_size == 8 ) {
      if( strncasecmp( s, "ELEMENTS", 8 ) == 0 ) {
         keywords["ELEMENTS"] = p;
         iret = 0;
      }
      if( strncasecmp( s, "ZONETYPE", 8 ) == 0 ) {
         keywords["ZONETYPE"] = p;
         iret = 0;
      }
   }

   if( key_size == 11 ) {
      if( strncasecmp( s, "DATAPACKING", 11 ) == 0 ) {
         keywords["DATAPACKING"] = p;
         iret = 0;
      }

      if( strncasecmp( s, "VARLOCATION", 11 ) == 0 ) {
         keywords["VARLOCATION"] = p;
         iret = 0;
      }
   }

   if( key_size == 12 ) {
      if( strncasecmp( s, "VARSHARELIST", 11 ) == 0 ) {
         keywords["VARSHARELIST"] = p;
         iret = 0;
      }
   }

   return( iret );
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r15
movq %rdi, %r14
leaq 0x75b2(%rip), %rdi      # 0x10171
callq 0x77b0
movzbl (%r15), %eax
cmpl $0x2c, %eax
je 0x8bd2
cmpl $0x20, %eax
jne 0x8bd7
incq %r15
jmp 0x8bc4
leaq 0x6935(%rip), %rdi      # 0xf513
xorl %r12d, %r12d
movq %r15, %rsi
xorl %eax, %eax
callq 0x7060
xorl %r13d, %r13d
movzbl (%r15,%r12), %eax
cmpl $0x20, %eax
je 0x8c02
cmpl $0x3d, %eax
je 0x8c0c
incq %r13
jmp 0x8c07
movb $0x0, (%r15,%r13)
incq %r12
jmp 0x8bee
leaq (%r15,%r12), %rbx
leaq 0x691c(%rip), %rdi      # 0xf533
movq %r12, %rsi
xorl %eax, %eax
callq 0x7060
movb $0x0, (%r15,%r12)
leaq 0x6929(%rip), %rdi      # 0xf556
movq %r15, %rsi
xorl %eax, %eax
callq 0x7060
cmpb $0x20, 0x1(%rbx)
leaq 0x1(%rbx), %rbx
je 0x8c37
leaq 0x6933(%rip), %rdi      # 0xf57b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x7060
pushq $0x1
popq %rbp
decq %r13
cmpq $0xb, %r13
ja 0x9245
leaq 0x643b(%rip), %rax      # 0xf0a4
movslq (%rax,%r13,4), %rcx
addq %rax, %rcx
jmpq *%rcx
leaq 0x662c(%rip), %rsi      # 0xf2a5
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
je 0x8e02
pushq $0x1
popq %rbp
jmp 0x8e40
leaq 0x6909(%rip), %rsi      # 0xf5a4
pushq $0x5
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
je 0x8d70
pushq $0x1
popq %rbp
jmp 0x8dae
leaq 0x68fc(%rip), %rsi      # 0xf5b9
pushq $0xb
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9245
leaq 0x68e2(%rip), %rsi      # 0xf5b9
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
addq $0xe8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
jmp 0x9239
leaq 0x688d(%rip), %rsi      # 0xf59e
pushq $0x2
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
je 0x9038
pushq $0x1
popq %rbp
jmp 0x9076
leaq 0x687d(%rip), %rsi      # 0xf5b0
pushq $0x8
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
je 0x911e
pushq $0x1
popq %rbp
jmp 0x915c
leaq 0x6558(%rip), %rsi      # 0xf2ad
pushq $0xb
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
je 0x91b0
pushq $0x1
popq %rbp
jmp 0x91ee
leaq 0x682d(%rip), %rsi      # 0xf5a4
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x67f5(%rip), %rsi      # 0xf5aa
pushq $0x5
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9245
leaq 0x67db(%rip), %rsi      # 0xf5aa
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
addq $0xe8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
jmp 0x9239
leaq 0x649c(%rip), %rsi      # 0xf2a5
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x6751(%rip), %rsi      # 0xf598
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x8e94
leaq 0x673b(%rip), %rsi      # 0xf598
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x66ff(%rip), %rsi      # 0xf59a
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x8ee8
leaq 0x66e9(%rip), %rsi      # 0xf59a
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x6864(%rip), %rsi      # 0xf753
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x8f3c
leaq 0x684e(%rip), %rsi      # 0xf753
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x682f(%rip), %rsi      # 0xf772
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x8f90
leaq 0x6819(%rip), %rsi      # 0xf772
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x67d0(%rip), %rsi      # 0xf767
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x8fe4
leaq 0x67ba(%rip), %rsi      # 0xf767
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x65b1(%rip), %rsi      # 0xf59c
pushq $0x1
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9245
leaq 0x6597(%rip), %rsi      # 0xf59c
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
addq $0xe8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
jmp 0x9239
leaq 0x655f(%rip), %rsi      # 0xf59e
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x6227(%rip), %rsi      # 0xf2a4
pushq $0x2
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x90ca
leaq 0x6211(%rip), %rsi      # 0xf2a4
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x64d0(%rip), %rsi      # 0xf5a1
pushq $0x2
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9245
leaq 0x64b6(%rip), %rsi      # 0xf5a1
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
addq $0xe8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
jmp 0x9239
leaq 0x648b(%rip), %rsi      # 0xf5b0
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x6131(%rip), %rsi      # 0xf294
pushq $0x8
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9245
leaq 0x6117(%rip), %rsi      # 0xf294
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
addq $0xe8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
jmp 0x9239
leaq 0x60f6(%rip), %rsi      # 0xf2ad
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
leaq 0xe8(%r14), %rdi
leaq 0x8(%rsp), %rsi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
leaq 0x60cc(%rip), %rsi      # 0xf2c1
pushq $0xb
popq %rdx
movq %r15, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9245
leaq 0x60b6(%rip), %rsi      # 0xf2c1
leaq 0x8(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x7890
addq $0xe8, %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
callq 0x7950
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7990
leaq 0x8(%rsp), %rdi
callq 0x7200
xorl %ebp, %ebp
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
jmp 0x9276
movq %rax, %rbx
jmp 0x92a8
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
jmp 0x929b
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x7200
movq %rbx, %rdi
callq 0x78d0