// File: /workspace/github_cpp_makefile_star2_O2/nompelis[P]INTecplotLib/intecplot.cpp
// Function: inTec_Zone::HandleKeyword_Zonetype(char const*)
int inTec_Zone::HandleKeyword_Zonetype( const char *string )
{
#ifdef _DEBUG_
   printf(" i Inside HandleKeyword_Zonetype() \n");
#endif
   int iret=1;

   size_t is=0;
   while( string[is] != '\0' && string[is] != '\n' ) ++is;
   if( is < 7 ) return(1);

   if( is == 7 ) {
      if( strncasecmp( string, "ORDERED", 7 ) == 0 ) {
         ietype = ORDERED;
         iret = 0;
      }
      if( strncasecmp( string, "FEBRICK", 7 ) == 0 ) {
         ietype = FEBRICK;
         iret = 0;
      }
   }

   if( is == 9 ) {
      if( strncasecmp( string, "FELINESEG", 9 ) == 0 ) {
         ietype = FELINESEG;
         iret = 0;
      }
      if( strncasecmp( string, "FEPOLYGON", 9 ) == 0 ) {
         ietype = FEPOLYGON;
         iret = 0;
      }
   }

   if( is == 10 ) {
      if( strncasecmp( string, "FETRIANGLE", 10 ) == 0 ) {
         ietype = FETRIANGLE;
         iret = 0;
      }
   }

   if( is == 12 ) {
      if( strncasecmp( string, "FEPOLYHEDRAL", 12 ) == 0 ) {
         ietype = FEPOLYHEDRAL;
         iret = 0;
      }
   }

   if( is == 13 ) {
      if( strncasecmp( string, "FETETRAHEDRON", 13 ) == 0 ) {
         ietype = FETETRAHEDRON;
         iret = 0;
      }
   }

   if( is == 15 ) {
      if( strncasecmp( string, "FEQUADRILATERAL", 15 ) == 0 ) {
         ietype = FEQUADRILATERAL;
         iret = 0;
      }
   }

#ifdef _DEBUG_
   printf(" i Exiting HandleKeyword_Zonetype() (return %d) \n",iret);
#endif
   return( iret );
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x6dae(%rip), %rdi      # 0x10187
callq 0x77b0
xorl %eax, %eax
movzbl (%r14,%rax), %ecx
testl %ecx, %ecx
je 0x93f3
cmpl $0xa, %ecx
je 0x93f3
incq %rax
jmp 0x93e0
pushq $0x1
popq %rbp
cmpq $0x7, %rax
jb 0x9528
addq $-0x7, %rax
cmpq $0x8, %rax
ja 0x9518
leaq 0x5ce3(%rip), %rcx      # 0xf0f8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x5e67(%rip), %rsi      # 0xf28c
pushq $0x7
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
je 0x94d1
pushq $0x1
popq %rbp
jmp 0x94d7
leaq 0x6322(%rip), %rsi      # 0xf769
pushq $0xa
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9518
pushq $0x2
jmp 0x9512
leaq 0x6327(%rip), %rsi      # 0xf78f
pushq $0xf
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9518
pushq $0x3
jmp 0x9512
leaq 0x62cc(%rip), %rsi      # 0xf755
pushq $0x9
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
je 0x94f1
pushq $0x1
popq %rbp
jmp 0x94fa
leaq 0x62d0(%rip), %rsi      # 0xf774
pushq $0xc
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9518
pushq $0x7
jmp 0x9512
leaq 0x62c3(%rip), %rsi      # 0xf781
pushq $0xd
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9518
pushq $0x5
jmp 0x9512
andl $0x0, 0x18(%rbx)
xorl %ebp, %ebp
leaq 0x626f(%rip), %rsi      # 0xf74d
pushq $0x7
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9518
pushq $0x6
jmp 0x9512
movl $0x1, 0x18(%rbx)
xorl %ebp, %ebp
leaq 0x625e(%rip), %rsi      # 0xf75f
pushq $0x9
popq %rdx
movq %r14, %rdi
callq 0x7650
testl %eax, %eax
jne 0x9518
pushq $0x4
popq %rax
movl %eax, 0x18(%rbx)
xorl %ebp, %ebp
leaq 0x6280(%rip), %rdi      # 0xf79f
movl %ebp, %esi
xorl %eax, %eax
callq 0x7060
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop