// File: /workspace/github_cpp_makefile_star2_O1/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 %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x7a2d(%rip), %rdi      # 0xf0ef
callq 0x5580
xorl %r15d, %r15d
movzbl (%r14,%r15), %eax
testl %eax, %eax
je 0x76dd
cmpl $0xa, %eax
je 0x76dd
incq %r15
jmp 0x76ca
movl $0x1, %ebp
cmpq $0x7, %r15
jb 0x7829
jne 0x7735
leaq 0x6aff(%rip), %rsi      # 0xe1f4
movl $0x7, %edx
movq %r14, %rdi
callq 0x54a0
movl $0x1, %ebp
testl %eax, %eax
jne 0x7714
movl $0x0, 0x18(%rbx)
xorl %ebp, %ebp
leaq 0x6f9a(%rip), %rsi      # 0xe6b5
movl $0x7, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x7735
movl $0x6, 0x18(%rbx)
xorl %ebp, %ebp
cmpq $0x9, %r15
jne 0x777d
leaq 0x6f7b(%rip), %rsi      # 0xe6bd
movl $0x9, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x775c
movl $0x1, 0x18(%rbx)
xorl %ebp, %ebp
leaq 0x6f64(%rip), %rsi      # 0xe6c7
movl $0x9, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x777d
movl $0x4, 0x18(%rbx)
xorl %ebp, %ebp
cmpq $0xa, %r15
jne 0x77a4
leaq 0x6f47(%rip), %rsi      # 0xe6d1
movl $0xa, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x77a4
movl $0x2, 0x18(%rbx)
xorl %ebp, %ebp
cmpq $0xc, %r15
jne 0x77cb
leaq 0x6f2b(%rip), %rsi      # 0xe6dc
movl $0xc, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x77cb
movl $0x7, 0x18(%rbx)
xorl %ebp, %ebp
cmpq $0xd, %r15
jne 0x77f2
leaq 0x6f11(%rip), %rsi      # 0xe6e9
movl $0xd, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x77f2
movl $0x5, 0x18(%rbx)
xorl %ebp, %ebp
cmpq $0xf, %r15
jne 0x7819
leaq 0x6ef8(%rip), %rsi      # 0xe6f7
movl $0xf, %edx
movq %r14, %rdi
callq 0x54a0
testl %eax, %eax
jne 0x7819
movl $0x3, 0x18(%rbx)
xorl %ebp, %ebp
leaq 0x6ee7(%rip), %rdi      # 0xe707
movl %ebp, %esi
xorl %eax, %eax
callq 0x5060
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq