
int hol_entry_short_iterate
              (hol_entry *entry,_func_int_argp_option_ptr_argp_option_ptr_char_ptr_void_ptr *func,
              char *domain,void *cookie)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  ushort **ppuVar4;
  argp_option *paVar5;
  uint uVar6;
  char *pcVar7;
  argp_option *local_58;
  
  paVar5 = entry->opt;
  pcVar7 = entry->short_options;
  uVar6 = entry->num;
  local_58 = paVar5;
  if (uVar6 == 0) {
    iVar3 = 0;
  }
  else {
    do {
      uVar1 = paVar5->flags;
      if ((uVar1 & 8) == 0) {
        iVar2 = paVar5->key;
        iVar3 = 0;
        if (((iVar2 - 1U < 0xff) &&
            (ppuVar4 = __ctype_b_loc(),
            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {
          if ((uVar1 & 4) == 0) {
            local_58 = paVar5;
          }
          if ((uVar1 & 2) == 0) {
            iVar3 = (*func)(paVar5,local_58,domain,cookie);
          }
          pcVar7 = pcVar7 + 1;
        }
      }
      else {
        iVar3 = 0;
      }
      paVar5 = paVar5 + 1;
      uVar6 = uVar6 - 1;
    } while ((uVar6 != 0) && (iVar3 == 0));
  }
  return iVar3;
}



int FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  ushort **ppuVar4;
  long lVar5;
  int iVar6;
  char *pcVar7;
  long local_58;
  
  lVar5 = *param_1;
  pcVar7 = (char *)param_1[2];
  iVar6 = (int)param_1[1];
  local_58 = lVar5;
  if (iVar6 == 0) {
    iVar3 = 0;
  }
  else {
    do {
      uVar1 = *(uint *)(lVar5 + 0x18);
      if ((uVar1 & 8) == 0) {
        iVar2 = *(int *)(lVar5 + 8);
        iVar3 = 0;
        if (((iVar2 - 1U < 0xff) &&
            (ppuVar4 = __ctype_b_loc(),
            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {
          if ((uVar1 & 4) == 0) {
            local_58 = lVar5;
          }
          if ((uVar1 & 2) == 0) {
            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);
          }
          pcVar7 = pcVar7 + 1;
        }
      }
      else {
        iVar3 = 0;
      }
      lVar5 = lVar5 + 0x30;
      iVar6 = iVar6 + -1;
    } while ((iVar6 != 0) && (iVar3 == 0));
  }
  return iVar3;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x28
MOV RBX,qword ptr [RDI]
MOV R15,qword ptr [RDI + 0x10]
MOV R12D,dword ptr [RDI + 0x8]
TEST R12D,R12D
JZ 0x0010caa3
MOV qword ptr [RSP + 0x18],RCX
MOV qword ptr [RSP + 0x10],RDX
MOV qword ptr [RSP + 0x8],RSI
MOV qword ptr [RSP],RBX
JMP 0x0010ca36
MOV R13D,0x0
ADD RBX,0x30
SUB R12D,0x1
JZ 0x0010caa9
TEST R13D,R13D
JNZ 0x0010caa9
MOV EBP,dword ptr [RBX + 0x18]
MOV R13D,EBP
AND R13D,0x8
JNZ 0x0010ca21
MOV R14D,dword ptr [RBX + 0x8]
LEA EAX,[R14 + -0x1]
CMP EAX,0xfe
JA 0x0010ca27
CALL 0x00105470
MOVSXD RDX,R14D
MOV RAX,qword ptr [RAX]
TEST byte ptr [RAX + RDX*0x2 + 0x1],0x40
JZ 0x0010ca27
MOVSX EAX,byte ptr [R15]
CMP EAX,R14D
JNZ 0x0010ca27
MOV EAX,EBP
AND EAX,0x4
MOV RAX,qword ptr [RSP]
CMOVZ RAX,RBX
MOV qword ptr [RSP],RAX
TEST BPL,0x2
JNZ 0x0010ca9d
MOV RCX,qword ptr [RSP + 0x18]
MOV RDX,qword ptr [RSP + 0x10]
MOV RSI,RAX
MOV RDI,RBX
MOV RAX,qword ptr [RSP + 0x8]
CALL RAX
MOV R13D,EAX
ADD R15,0x1
JMP 0x0010ca27
MOV R13D,0x0
MOV EAX,R13D
ADD RSP,0x28
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "int FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)" identifier (parameter_list "(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "long local_58;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar5 = *param_1;" (assignment_expression "lVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pcVar7 = (char *)param_1[2];" (assignment_expression "pcVar7 = (char *)param_1[2]" identifier = (cast_expression "(char *)param_1[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = (int)param_1[1];" (assignment_expression "iVar6 = (int)param_1[1]" identifier = (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_58 = lVar5;" (assignment_expression "local_58 = lVar5" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 0;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" else (compound_statement "{\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" { (do_statement "do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));" do (compound_statement "{\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    }" { (expression_statement "uVar1 = *(uint *)(lVar5 + 0x18);" (assignment_expression "uVar1 = *(uint *)(lVar5 + 0x18)" identifier = (pointer_expression "*(uint *)(lVar5 + 0x18)" * (cast_expression "(uint *)(lVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x18)" ( (binary_expression "lVar5 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }" if (parenthesized_expression "((uVar1 & 8) == 0)" ( (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" ( (binary_expression "uVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }" { (expression_statement "iVar2 = *(int *)(lVar5 + 8);" (assignment_expression "iVar2 = *(int *)(lVar5 + 8)" identifier = (pointer_expression "*(int *)(lVar5 + 8)" * (cast_expression "(int *)(lVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 8)" ( (binary_expression "lVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" if (parenthesized_expression "(((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2))" ( (binary_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)" (parenthesized_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0))" ( (binary_expression "(iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" (parenthesized_expression "(iVar2 - 1U < 0xff)" ( (binary_expression "iVar2 - 1U < 0xff" (binary_expression "iVar2 - 1U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" ( (comma_expression "ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) , (binary_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" * (cast_expression "(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*ppuVar4 + (long)iVar2 * 2 + 1)" ( (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2 + 1" (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2" (cast_expression "(long)*ppuVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal)) ))) )) && (parenthesized_expression "(*pcVar7 == iVar2)" ( (binary_expression "*pcVar7 == iVar2" (pointer_expression "*pcVar7" * identifier) == identifier) ))) )) (compound_statement "{\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" { (if_statement "if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }" if (parenthesized_expression "((uVar1 & 4) == 0)" ( (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            local_58 = lVar5;\n          }" { (expression_statement "local_58 = lVar5;" (assignment_expression "local_58 = lVar5" identifier = identifier) ;) })) (if_statement "if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }" if (parenthesized_expression "((uVar1 & 2) == 0)" ( (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }" { (expression_statement "iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);" (assignment_expression "iVar3 = (*param_2)(lVar5,local_58,param_3,param_4)" identifier = (call_expression "(*param_2)(lVar5,local_58,param_3,param_4)" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(lVar5,local_58,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) })) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar3 = 0;\n      }" else (compound_statement "{\n        iVar3 = 0;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }))) (expression_statement "lVar5 = lVar5 + 0x30;" (assignment_expression "lVar5 = lVar5 + 0x30" identifier = (binary_expression "lVar5 + 0x30" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "((iVar6 != 0) && (iVar3 == 0))" ( (binary_expression "(iVar6 != 0) && (iVar3 == 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) ))) )) ;) }))) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int hol_entry_short_iterate\n              (hol_entry *entry,_func_int_argp_option_ptr_argp_option_ptr_char_ptr_void_ptr *func,\n              char *domain,void *cookie)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  argp_option *paVar5;\n  uint uVar6;\n  char *pcVar7;\n  argp_option *local_58;\n  \n  paVar5 = entry->opt;\n  pcVar7 = entry->short_options;\n  uVar6 = entry->num;\n  local_58 = paVar5;\n  if (uVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}\n\n" (function_definition "int hol_entry_short_iterate\n              (hol_entry *entry,_func_int_argp_option_ptr_argp_option_ptr_char_ptr_void_ptr *func,\n              char *domain,void *cookie)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  argp_option *paVar5;\n  uint uVar6;\n  char *pcVar7;\n  argp_option *local_58;\n  \n  paVar5 = entry->opt;\n  pcVar7 = entry->short_options;\n  uVar6 = entry->num;\n  local_58 = paVar5;\n  if (uVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" primitive_type (function_declarator "hol_entry_short_iterate\n              (hol_entry *entry,_func_int_argp_option_ptr_argp_option_ptr_char_ptr_void_ptr *func,\n              char *domain,void *cookie)" identifier (parameter_list "(hol_entry *entry,_func_int_argp_option_ptr_argp_option_ptr_char_ptr_void_ptr *func,\n              char *domain,void *cookie)" ( (parameter_declaration "hol_entry *entry" type_identifier (pointer_declarator "*entry" * identifier)) , (parameter_declaration "_func_int_argp_option_ptr_argp_option_ptr_char_ptr_void_ptr *func" type_identifier (pointer_declarator "*func" * identifier)) , (parameter_declaration "char *domain" primitive_type (pointer_declarator "*domain" * identifier)) , (parameter_declaration "void *cookie" primitive_type (pointer_declarator "*cookie" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  argp_option *paVar5;\n  uint uVar6;\n  char *pcVar7;\n  argp_option *local_58;\n  \n  paVar5 = entry->opt;\n  pcVar7 = entry->short_options;\n  uVar6 = entry->num;\n  local_58 = paVar5;\n  if (uVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "argp_option *paVar5;" type_identifier (pointer_declarator "*paVar5" * identifier) ;) (declaration "uint uVar6;" type_identifier identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "argp_option *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (expression_statement "paVar5 = entry->opt;" (assignment_expression "paVar5 = entry->opt" identifier = (field_expression "entry->opt" identifier -> field_identifier)) ;) (expression_statement "pcVar7 = entry->short_options;" (assignment_expression "pcVar7 = entry->short_options" identifier = (field_expression "entry->short_options" identifier -> field_identifier)) ;) (expression_statement "uVar6 = entry->num;" (assignment_expression "uVar6 = entry->num" identifier = (field_expression "entry->num" identifier -> field_identifier)) ;) (expression_statement "local_58 = paVar5;" (assignment_expression "local_58 = paVar5" identifier = identifier) ;) (if_statement "if (uVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));\n  }" if (parenthesized_expression "(uVar6 == 0)" ( (binary_expression "uVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 0;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));\n  }" else (compound_statement "{\n    do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));\n  }" { (do_statement "do {\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    } while ((uVar6 != 0) && (iVar3 == 0));" do (compound_statement "{\n      uVar1 = paVar5->flags;\n      if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      paVar5 = paVar5 + 1;\n      uVar6 = uVar6 - 1;\n    }" { (expression_statement "uVar1 = paVar5->flags;" (assignment_expression "uVar1 = paVar5->flags" identifier = (field_expression "paVar5->flags" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 & 8) == 0) {\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }" if (parenthesized_expression "((uVar1 & 8) == 0)" ( (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" ( (binary_expression "uVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar2 = paVar5->key;\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }" { (expression_statement "iVar2 = paVar5->key;" (assignment_expression "iVar2 = paVar5->key" identifier = (field_expression "paVar5->key" identifier -> field_identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" if (parenthesized_expression "(((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2))" ( (binary_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)" (parenthesized_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0))" ( (binary_expression "(iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" (parenthesized_expression "(iVar2 - 1U < 0xff)" ( (binary_expression "iVar2 - 1U < 0xff" (binary_expression "iVar2 - 1U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" ( (comma_expression "ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) , (binary_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" * (cast_expression "(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*ppuVar4 + (long)iVar2 * 2 + 1)" ( (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2 + 1" (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2" (cast_expression "(long)*ppuVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal)) ))) )) && (parenthesized_expression "(*pcVar7 == iVar2)" ( (binary_expression "*pcVar7 == iVar2" (pointer_expression "*pcVar7" * identifier) == identifier) ))) )) (compound_statement "{\n          if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" { (if_statement "if ((uVar1 & 4) == 0) {\n            local_58 = paVar5;\n          }" if (parenthesized_expression "((uVar1 & 4) == 0)" ( (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            local_58 = paVar5;\n          }" { (expression_statement "local_58 = paVar5;" (assignment_expression "local_58 = paVar5" identifier = identifier) ;) })) (if_statement "if ((uVar1 & 2) == 0) {\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }" if (parenthesized_expression "((uVar1 & 2) == 0)" ( (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            iVar3 = (*func)(paVar5,local_58,domain,cookie);\n          }" { (expression_statement "iVar3 = (*func)(paVar5,local_58,domain,cookie);" (assignment_expression "iVar3 = (*func)(paVar5,local_58,domain,cookie)" identifier = (call_expression "(*func)(paVar5,local_58,domain,cookie)" (parenthesized_expression "(*func)" ( (pointer_expression "*func" * identifier) )) (argument_list "(paVar5,local_58,domain,cookie)" ( identifier , identifier , identifier , identifier )))) ;) })) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar3 = 0;\n      }" else (compound_statement "{\n        iVar3 = 0;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }))) (expression_statement "paVar5 = paVar5 + 1;" (assignment_expression "paVar5 = paVar5 + 1" identifier = (binary_expression "paVar5 + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = uVar6 - 1;" (assignment_expression "uVar6 = uVar6 - 1" identifier = (binary_expression "uVar6 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "((uVar6 != 0) && (iVar3 == 0))" ( (binary_expression "(uVar6 != 0) && (iVar3 == 0)" (parenthesized_expression "(uVar6 != 0)" ( (binary_expression "uVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) ))) )) ;) }))) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit "int FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}\n\n" (function_definition "int FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" primitive_type (function_declarator "FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)" identifier (parameter_list "(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "code *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "long local_58;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar5 = *param_1;" (assignment_expression "lVar5 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "pcVar7 = (char *)param_1[2];" (assignment_expression "pcVar7 = (char *)param_1[2]" identifier = (cast_expression "(char *)param_1[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = (int)param_1[1];" (assignment_expression "iVar6 = (int)param_1[1]" identifier = (cast_expression "(int)param_1[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_58 = lVar5;" (assignment_expression "local_58 = lVar5" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar3 = 0;\n  }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" else (compound_statement "{\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" { (do_statement "do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));" do (compound_statement "{\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    }" { (expression_statement "uVar1 = *(uint *)(lVar5 + 0x18);" (assignment_expression "uVar1 = *(uint *)(lVar5 + 0x18)" identifier = (pointer_expression "*(uint *)(lVar5 + 0x18)" * (cast_expression "(uint *)(lVar5 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 0x18)" ( (binary_expression "lVar5 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }" if (parenthesized_expression "((uVar1 & 8) == 0)" ( (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" ( (binary_expression "uVar1 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }" { (expression_statement "iVar2 = *(int *)(lVar5 + 8);" (assignment_expression "iVar2 = *(int *)(lVar5 + 8)" identifier = (pointer_expression "*(int *)(lVar5 + 8)" * (cast_expression "(int *)(lVar5 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 8)" ( (binary_expression "lVar5 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" if (parenthesized_expression "(((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2))" ( (binary_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)" (parenthesized_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0))" ( (binary_expression "(iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" (parenthesized_expression "(iVar2 - 1U < 0xff)" ( (binary_expression "iVar2 - 1U < 0xff" (binary_expression "iVar2 - 1U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" ( (comma_expression "ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) , (binary_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40)" ( (binary_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" * (cast_expression "(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)*ppuVar4 + (long)iVar2 * 2 + 1)" ( (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2 + 1" (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2" (cast_expression "(long)*ppuVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "*ppuVar4" * identifier)) + (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) )))) & number_literal) )) != number_literal)) ))) )) && (parenthesized_expression "(*pcVar7 == iVar2)" ( (binary_expression "*pcVar7 == iVar2" (pointer_expression "*pcVar7" * identifier) == identifier) ))) )) (compound_statement "{\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" { (if_statement "if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }" if (parenthesized_expression "((uVar1 & 4) == 0)" ( (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" ( (binary_expression "uVar1 & 4" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            local_58 = lVar5;\n          }" { (expression_statement "local_58 = lVar5;" (assignment_expression "local_58 = lVar5" identifier = identifier) ;) })) (if_statement "if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }" if (parenthesized_expression "((uVar1 & 2) == 0)" ( (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" ( (binary_expression "uVar1 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }" { (expression_statement "iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);" (assignment_expression "iVar3 = (*param_2)(lVar5,local_58,param_3,param_4)" identifier = (call_expression "(*param_2)(lVar5,local_58,param_3,param_4)" (parenthesized_expression "(*param_2)" ( (pointer_expression "*param_2" * identifier) )) (argument_list "(lVar5,local_58,param_3,param_4)" ( identifier , identifier , identifier , identifier )))) ;) })) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar3 = 0;\n      }" else (compound_statement "{\n        iVar3 = 0;\n      }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) }))) (expression_statement "lVar5 = lVar5 + 0x30;" (assignment_expression "lVar5 = lVar5 + 0x30" identifier = (binary_expression "lVar5 + 0x30" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "((iVar6 != 0) && (iVar3 == 0))" ( (binary_expression "(iVar6 != 0) && (iVar3 == 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) ))) )) ;) }))) (return_statement "return iVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression * IDENT)) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) + LIT) )))) & LIT) )) != LIT)) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == IDENT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" (primitive_type "int") (function_declarator "FUN_0010c9ea(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)" (identifier "FUN_0010c9ea") (parameter_list "(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "code *param_2" (type_identifier "code") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  ushort **ppuVar4;\n  long lVar5;\n  int iVar6;\n  char *pcVar7;\n  long local_58;\n  \n  lVar5 = *param_1;\n  pcVar7 = (char *)param_1[2];\n  iVar6 = (int)param_1[1];\n  local_58 = lVar5;\n  if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }\n  return iVar3;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "ushort **ppuVar4;" (type_identifier "ushort") (pointer_declarator "**ppuVar4" (* "*") (pointer_declarator "*ppuVar4" (* "*") (identifier "ppuVar4"))) (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "long local_58;" (sized_type_specifier "long" (long "long")) (identifier "local_58") (; ";")) (expression_statement "lVar5 = *param_1;" (assignment_expression "lVar5 = *param_1" (identifier "lVar5") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "pcVar7 = (char *)param_1[2];" (assignment_expression "pcVar7 = (char *)param_1[2]" (identifier "pcVar7") (= "=") (cast_expression "(char *)param_1[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar6 = (int)param_1[1];" (assignment_expression "iVar6 = (int)param_1[1]" (identifier "iVar6") (= "=") (cast_expression "(int)param_1[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "local_58 = lVar5;" (assignment_expression "local_58 = lVar5" (identifier "local_58") (= "=") (identifier "lVar5")) (; ";")) (if_statement "if (iVar6 == 0) {\n    iVar3 = 0;\n  }\n  else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = 0;\n  }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" (else "else") (compound_statement "{\n    do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));\n  }" ({ "{") (do_statement "do {\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    } while ((iVar6 != 0) && (iVar3 == 0));" (do "do") (compound_statement "{\n      uVar1 = *(uint *)(lVar5 + 0x18);\n      if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }\n      lVar5 = lVar5 + 0x30;\n      iVar6 = iVar6 + -1;\n    }" ({ "{") (expression_statement "uVar1 = *(uint *)(lVar5 + 0x18);" (assignment_expression "uVar1 = *(uint *)(lVar5 + 0x18)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(lVar5 + 0x18)" (* "*") (cast_expression "(uint *)(lVar5 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 0x18)" (( "(") (binary_expression "lVar5 + 0x18" (identifier "lVar5") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if ((uVar1 & 8) == 0) {\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }\n      else {\n        iVar3 = 0;\n      }" (if "if") (parenthesized_expression "((uVar1 & 8) == 0)" (( "(") (binary_expression "(uVar1 & 8) == 0" (parenthesized_expression "(uVar1 & 8)" (( "(") (binary_expression "uVar1 & 8" (identifier "uVar1") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = *(int *)(lVar5 + 8);\n        iVar3 = 0;\n        if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n      }" ({ "{") (expression_statement "iVar2 = *(int *)(lVar5 + 8);" (assignment_expression "iVar2 = *(int *)(lVar5 + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(lVar5 + 8)" (* "*") (cast_expression "(int *)(lVar5 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + 8)" (( "(") (binary_expression "lVar5 + 8" (identifier "lVar5") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" (if "if") (parenthesized_expression "(((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2))" (( "(") (binary_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)" (parenthesized_expression "((iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0))" (( "(") (binary_expression "(iVar2 - 1U < 0xff) &&\n            (ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" (parenthesized_expression "(iVar2 - 1U < 0xff)" (( "(") (binary_expression "iVar2 - 1U < 0xff" (binary_expression "iVar2 - 1U" (identifier "iVar2") (- "-") (number_literal "1U")) (< "<") (number_literal "0xff")) () ")")) (&& "&&") (parenthesized_expression "(ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)" (( "(") (comma_expression "ppuVar4 = __ctype_b_loc(),\n            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (assignment_expression "ppuVar4 = __ctype_b_loc()" (identifier "ppuVar4") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0" (parenthesized_expression "(*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40)" (( "(") (binary_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40" (pointer_expression "*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" (* "*") (cast_expression "(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)*ppuVar4 + (long)iVar2 * 2 + 1)" (( "(") (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2 + 1" (binary_expression "(long)*ppuVar4 + (long)iVar2 * 2" (cast_expression "(long)*ppuVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "*ppuVar4" (* "*") (identifier "ppuVar4"))) (+ "+") (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar2")) (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (& "&") (number_literal "0x40")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar7 == iVar2)" (( "(") (binary_expression "*pcVar7 == iVar2" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (== "==") (identifier "iVar2")) () ")"))) () ")")) (compound_statement "{\n          if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }\n          if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }\n          pcVar7 = pcVar7 + 1;\n        }" ({ "{") (if_statement "if ((uVar1 & 4) == 0) {\n            local_58 = lVar5;\n          }" (if "if") (parenthesized_expression "((uVar1 & 4) == 0)" (( "(") (binary_expression "(uVar1 & 4) == 0" (parenthesized_expression "(uVar1 & 4)" (( "(") (binary_expression "uVar1 & 4" (identifier "uVar1") (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            local_58 = lVar5;\n          }" ({ "{") (expression_statement "local_58 = lVar5;" (assignment_expression "local_58 = lVar5" (identifier "local_58") (= "=") (identifier "lVar5")) (; ";")) (} "}"))) (if_statement "if ((uVar1 & 2) == 0) {\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }" (if "if") (parenthesized_expression "((uVar1 & 2) == 0)" (( "(") (binary_expression "(uVar1 & 2) == 0" (parenthesized_expression "(uVar1 & 2)" (( "(") (binary_expression "uVar1 & 2" (identifier "uVar1") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);\n          }" ({ "{") (expression_statement "iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);" (assignment_expression "iVar3 = (*param_2)(lVar5,local_58,param_3,param_4)" (identifier "iVar3") (= "=") (call_expression "(*param_2)(lVar5,local_58,param_3,param_4)" (parenthesized_expression "(*param_2)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")")) (argument_list "(lVar5,local_58,param_3,param_4)" (( "(") (identifier "lVar5") (, ",") (identifier "local_58") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")")))) (; ";")) (} "}"))) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar3 = 0;\n      }" (else "else") (compound_statement "{\n        iVar3 = 0;\n      }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "lVar5 = lVar5 + 0x30;" (assignment_expression "lVar5 = lVar5 + 0x30" (identifier "lVar5") (= "=") (binary_expression "lVar5 + 0x30" (identifier "lVar5") (+ "+") (number_literal "0x30"))) (; ";")) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((iVar6 != 0) && (iVar3 == 0))" (( "(") (binary_expression "(iVar6 != 0) && (iVar3 == 0)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")"))) () ")")) (; ";")) (} "}")))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))

int function_1
              (type_1 *entry,type_2 *func,
              char *domain,void *cookie)

{
  type_3 var_2;
  int var_3;
  int var_7;
  type_4 **ppuVar4;
  type_5 *var_6;
  type_3 var_1;
  char *var_5;
  type_5 *local_58;
  
  var_6 = entry->opt;
  var_5 = entry->short_options;
  var_1 = entry->num;
  local_58 = var_6;
  if (var_1 == 0) {
    var_7 = 0;
  }
  else {
    do {
      var_2 = var_6->flags;
      if ((var_2 & 8) == 0) {
        var_3 = var_6->key;
        var_7 = 0;
        if (((var_3 - 1U < 0xff) &&
            (ppuVar4 = var_4(),
            (*(type_6 *)((long)*ppuVar4 + (long)var_3 * 2 + 1) & 0x40) != 0)) && (*var_5 == var_3)) {
          if ((var_2 & 4) == 0) {
            local_58 = var_6;
          }
          if ((var_2 & 2) == 0) {
            var_7 = (*func)(var_6,local_58,domain,cookie);
          }
          var_5 = var_5 + 1;
        }
      }
      else {
        var_7 = 0;
      }
      var_6 = var_6 + 1;
      var_1 = var_1 - 1;
    } while ((var_1 != 0) && (var_7 == 0));
  }
  return var_7;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (pointer_expression argument: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement (identifier)))))

int MASKED(long *param_1,code *param_2,undefined8 param_3,undefined8 param_4)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  ushort **ppuVar4;
  long lVar5;
  int iVar6;
  char *pcVar7;
  long local_58;
  
  lVar5 = *param_1;
  pcVar7 = (char *)param_1[2];
  iVar6 = (int)param_1[1];
  local_58 = lVar5;
  if (iVar6 == 0) {
    iVar3 = 0;
  }
  else {
    do {
      uVar1 = *(uint *)(lVar5 + 0x18);
      if ((uVar1 & 8) == 0) {
        iVar2 = *(int *)(lVar5 + 8);
        iVar3 = 0;
        if (((iVar2 - 1U < 0xff) &&
            (ppuVar4 = __ctype_b_loc(),
            (*(byte *)((long)*ppuVar4 + (long)iVar2 * 2 + 1) & 0x40) != 0)) && (*pcVar7 == iVar2)) {
          if ((uVar1 & 4) == 0) {
            local_58 = lVar5;
          }
          if ((uVar1 & 2) == 0) {
            iVar3 = (*param_2)(lVar5,local_58,param_3,param_4);
          }
          pcVar7 = pcVar7 + 1;
        }
      }
      else {
        iVar3 = 0;
      }
      lVar5 = lVar5 + 0x30;
      iVar6 = iVar6 + -1;
    } while ((iVar6 != 0) && (iVar3 == 0));
  }
  return iVar3;
}

