
void * hash_get_first(Hash_table *table)

{
  void *pvVar1;
  hash_entry *phVar2;
  
  if (table->n_entries == 0) {
    pvVar1 = (void *)0x0;
  }
  else {
    phVar2 = table->bucket;
    if (table->bucket_limit <= phVar2) {
LAB_0010e29d:
                    /* WARNING: Subroutine does not return */
      abort();
    }
    if (phVar2->data != (void *)0x0) {
      return phVar2->data;
    }
    do {
      phVar2 = phVar2 + 1;
      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;
      pvVar1 = phVar2->data;
    } while (pvVar1 == (void *)0x0);
  }
  return pvVar1;
}



long FUN_0010e26f(ulong *param_1)

{
  long lVar1;
  long *plVar2;
  
  if (param_1[4] == 0) {
    lVar1 = 0;
  }
  else {
    plVar2 = (long *)*param_1;
    if ((long *)param_1[1] <= plVar2) {
LAB_0010e29d:
                    /* WARNING: Subroutine does not return */
      abort();
    }
    if (*plVar2 != 0) {
      return *plVar2;
    }
    do {
      plVar2 = plVar2 + 2;
      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;
      lVar1 = *plVar2;
    } while (lVar1 == 0);
  }
  return lVar1;
}


CMP qword ptr [RDI + 0x20],0x0
JZ 0x0010e2a6
MOV RDX,qword ptr [RDI]
MOV RCX,qword ptr [RDI + 0x8]
CMP RDX,RCX
JNC 0x0010e29d
MOV RAX,qword ptr [RDX]
TEST RAX,RAX
JNZ 0x0010e29c
ADD RDX,0x10
CMP RDX,RCX
JNC 0x0010e29d
MOV RAX,qword ptr [RDX]
TEST RAX,RAX
JZ 0x0010e28a
RET
RET
SUB RSP,0x8
CALL 0x00104080
MOV EAX,0x0
JMP 0x0010e29b
(translation_unit "long FUN_0010e26f(ulong *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}\n\n" (function_definition "long FUN_0010e26f(ulong *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0010e26f(ulong *param_1)" identifier (parameter_list "(ulong *param_1)" ( (parameter_declaration "ulong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (if_statement "if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" if (parenthesized_expression "(param_1[4] == 0)" ( (binary_expression "param_1[4] == 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    lVar1 = 0;\n  }" { (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" else (compound_statement "{\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" { (expression_statement "plVar2 = (long *)*param_1;" (assignment_expression "plVar2 = (long *)*param_1" identifier = (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "((long *)param_1[1] <= plVar2)" ( (binary_expression "(long *)param_1[1] <= plVar2" (cast_expression "(long *)param_1[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" { (labeled_statement "LAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (if_statement "if (*plVar2 != 0) {\n      return *plVar2;\n    }" if (parenthesized_expression "(*plVar2 != 0)" ( (binary_expression "*plVar2 != 0" (pointer_expression "*plVar2" * identifier) != number_literal) )) (compound_statement "{\n      return *plVar2;\n    }" { (return_statement "return *plVar2;" return (pointer_expression "*plVar2" * identifier) ;) })) (do_statement "do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);" do (compound_statement "{\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    }" { (expression_statement "plVar2 = plVar2 + 2;" (assignment_expression "plVar2 = plVar2 + 2" identifier = (binary_expression "plVar2 + 2" identifier + number_literal)) ;) (if_statement "if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;" if (parenthesized_expression "((long *)param_1[1] <= plVar2)" ( (binary_expression "(long *)param_1[1] <= plVar2" (cast_expression "(long *)param_1[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_0010e29d;" goto statement_identifier ;)) (expression_statement "lVar1 = *plVar2;" (assignment_expression "lVar1 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ;) }) while (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) ;) }))) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit "void * hash_get_first(Hash_table *table)\n\n{\n  void *pvVar1;\n  hash_entry *phVar2;\n  \n  if (table->n_entries == 0) {\n    pvVar1 = (void *)0x0;\n  }\n  else {\n    phVar2 = table->bucket;\n    if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }\n    do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);\n  }\n  return pvVar1;\n}\n\n" (function_definition "void * hash_get_first(Hash_table *table)\n\n{\n  void *pvVar1;\n  hash_entry *phVar2;\n  \n  if (table->n_entries == 0) {\n    pvVar1 = (void *)0x0;\n  }\n  else {\n    phVar2 = table->bucket;\n    if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }\n    do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);\n  }\n  return pvVar1;\n}" primitive_type (pointer_declarator "* hash_get_first(Hash_table *table)" * (function_declarator "hash_get_first(Hash_table *table)" identifier (parameter_list "(Hash_table *table)" ( (parameter_declaration "Hash_table *table" type_identifier (pointer_declarator "*table" * identifier)) )))) (compound_statement "{\n  void *pvVar1;\n  hash_entry *phVar2;\n  \n  if (table->n_entries == 0) {\n    pvVar1 = (void *)0x0;\n  }\n  else {\n    phVar2 = table->bucket;\n    if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }\n    do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);\n  }\n  return pvVar1;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "hash_entry *phVar2;" type_identifier (pointer_declarator "*phVar2" * identifier) ;) (if_statement "if (table->n_entries == 0) {\n    pvVar1 = (void *)0x0;\n  }\n  else {\n    phVar2 = table->bucket;\n    if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }\n    do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);\n  }" if (parenthesized_expression "(table->n_entries == 0)" ( (binary_expression "table->n_entries == 0" (field_expression "table->n_entries" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    pvVar1 = (void *)0x0;\n  }" { (expression_statement "pvVar1 = (void *)0x0;" (assignment_expression "pvVar1 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    phVar2 = table->bucket;\n    if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }\n    do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);\n  }" else (compound_statement "{\n    phVar2 = table->bucket;\n    if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }\n    do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);\n  }" { (expression_statement "phVar2 = table->bucket;" (assignment_expression "phVar2 = table->bucket" identifier = (field_expression "table->bucket" identifier -> field_identifier)) ;) (if_statement "if (table->bucket_limit <= phVar2) {\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "(table->bucket_limit <= phVar2)" ( (binary_expression "table->bucket_limit <= phVar2" (field_expression "table->bucket_limit" identifier -> field_identifier) <= identifier) )) (compound_statement "{\nLAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" { (labeled_statement "LAB_0010e29d:\n                    /* WARNING: Subroutine does not return */\n      abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (if_statement "if (phVar2->data != (void *)0x0) {\n      return phVar2->data;\n    }" if (parenthesized_expression "(phVar2->data != (void *)0x0)" ( (binary_expression "phVar2->data != (void *)0x0" (field_expression "phVar2->data" identifier -> field_identifier) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return phVar2->data;\n    }" { (return_statement "return phVar2->data;" return (field_expression "phVar2->data" identifier -> field_identifier) ;) })) (do_statement "do {\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    } while (pvVar1 == (void *)0x0);" do (compound_statement "{\n      phVar2 = phVar2 + 1;\n      if (table->bucket_limit <= phVar2) goto LAB_0010e29d;\n      pvVar1 = phVar2->data;\n    }" { (expression_statement "phVar2 = phVar2 + 1;" (assignment_expression "phVar2 = phVar2 + 1" identifier = (binary_expression "phVar2 + 1" identifier + number_literal)) ;) (if_statement "if (table->bucket_limit <= phVar2) goto LAB_0010e29d;" if (parenthesized_expression "(table->bucket_limit <= phVar2)" ( (binary_expression "table->bucket_limit <= phVar2" (field_expression "table->bucket_limit" identifier -> field_identifier) <= identifier) )) (goto_statement "goto LAB_0010e29d;" goto statement_identifier ;)) (expression_statement "pvVar1 = phVar2->data;" (assignment_expression "pvVar1 = phVar2->data" identifier = (field_expression "phVar2->data" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "long FUN_0010e26f(ulong *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}\n\n" (function_definition "long FUN_0010e26f(ulong *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}" (sized_type_specifier "long" long) (function_declarator "FUN_0010e26f(ulong *param_1)" identifier (parameter_list "(ulong *param_1)" ( (parameter_declaration "ulong *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *plVar2;" (sized_type_specifier "long" long) (pointer_declarator "*plVar2" * identifier) ;) (if_statement "if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" if (parenthesized_expression "(param_1[4] == 0)" ( (binary_expression "param_1[4] == 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    lVar1 = 0;\n  }" { (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" else (compound_statement "{\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" { (expression_statement "plVar2 = (long *)*param_1;" (assignment_expression "plVar2 = (long *)*param_1" identifier = (cast_expression "(long *)*param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }" if (parenthesized_expression "((long *)param_1[1] <= plVar2)" ( (binary_expression "(long *)param_1[1] <= plVar2" (cast_expression "(long *)param_1[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= identifier) )) (compound_statement "{\nLAB_0010e29d:\n                    \n      abort();\n    }" { (labeled_statement "LAB_0010e29d:\n                    \n      abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (if_statement "if (*plVar2 != 0) {\n      return *plVar2;\n    }" if (parenthesized_expression "(*plVar2 != 0)" ( (binary_expression "*plVar2 != 0" (pointer_expression "*plVar2" * identifier) != number_literal) )) (compound_statement "{\n      return *plVar2;\n    }" { (return_statement "return *plVar2;" return (pointer_expression "*plVar2" * identifier) ;) })) (do_statement "do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);" do (compound_statement "{\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    }" { (expression_statement "plVar2 = plVar2 + 2;" (assignment_expression "plVar2 = plVar2 + 2" identifier = (binary_expression "plVar2 + 2" identifier + number_literal)) ;) (if_statement "if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;" if (parenthesized_expression "((long *)param_1[1] <= plVar2)" ( (binary_expression "(long *)param_1[1] <= plVar2" (cast_expression "(long *)param_1[1]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_0010e29d;" goto statement_identifier ;)) (expression_statement "lVar1 = *plVar2;" (assignment_expression "lVar1 = *plVar2" identifier = (pointer_expression "*plVar2" * identifier)) ;) }) while (parenthesized_expression "(lVar1 == 0)" ( (binary_expression "lVar1 == 0" identifier == number_literal) )) ;) }))) (return_statement "return lVar1;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (return_statement return (pointer_expression * IDENT) ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) }))) (return_statement return IDENT ;) })))
(function_definition "long FUN_0010e26f(ulong *param_1)\n\n{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}" (sized_type_specifier "long" (long "long")) (function_declarator "FUN_0010e26f(ulong *param_1)" (identifier "FUN_0010e26f") (parameter_list "(ulong *param_1)" (( "(") (parameter_declaration "ulong *param_1" (type_identifier "ulong") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long *plVar2;\n  \n  if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }\n  return lVar1;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long *plVar2;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (if_statement "if (param_1[4] == 0) {\n    lVar1 = 0;\n  }\n  else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" (if "if") (parenthesized_expression "(param_1[4] == 0)" (( "(") (binary_expression "param_1[4] == 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    lVar1 = 0;\n  }" ({ "{") (expression_statement "lVar1 = 0;" (assignment_expression "lVar1 = 0" (identifier "lVar1") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" (else "else") (compound_statement "{\n    plVar2 = (long *)*param_1;\n    if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }\n    if (*plVar2 != 0) {\n      return *plVar2;\n    }\n    do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);\n  }" ({ "{") (expression_statement "plVar2 = (long *)*param_1;" (assignment_expression "plVar2 = (long *)*param_1" (identifier "plVar2") (= "=") (cast_expression "(long *)*param_1" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if ((long *)param_1[1] <= plVar2) {\nLAB_0010e29d:\n                    \n      abort();\n    }" (if "if") (parenthesized_expression "((long *)param_1[1] <= plVar2)" (( "(") (binary_expression "(long *)param_1[1] <= plVar2" (cast_expression "(long *)param_1[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (<= "<=") (identifier "plVar2")) () ")")) (compound_statement "{\nLAB_0010e29d:\n                    \n      abort();\n    }" ({ "{") (labeled_statement "LAB_0010e29d:\n                    \n      abort();" (statement_identifier "LAB_0010e29d") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))) (if_statement "if (*plVar2 != 0) {\n      return *plVar2;\n    }" (if "if") (parenthesized_expression "(*plVar2 != 0)" (( "(") (binary_expression "*plVar2 != 0" (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return *plVar2;\n    }" ({ "{") (return_statement "return *plVar2;" (return "return") (pointer_expression "*plVar2" (* "*") (identifier "plVar2")) (; ";")) (} "}"))) (do_statement "do {\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    } while (lVar1 == 0);" (do "do") (compound_statement "{\n      plVar2 = plVar2 + 2;\n      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;\n      lVar1 = *plVar2;\n    }" ({ "{") (expression_statement "plVar2 = plVar2 + 2;" (assignment_expression "plVar2 = plVar2 + 2" (identifier "plVar2") (= "=") (binary_expression "plVar2 + 2" (identifier "plVar2") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;" (if "if") (parenthesized_expression "((long *)param_1[1] <= plVar2)" (( "(") (binary_expression "(long *)param_1[1] <= plVar2" (cast_expression "(long *)param_1[1]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (<= "<=") (identifier "plVar2")) () ")")) (goto_statement "goto LAB_0010e29d;" (goto "goto") (statement_identifier "LAB_0010e29d") (; ";"))) (expression_statement "lVar1 = *plVar2;" (assignment_expression "lVar1 = *plVar2" (identifier "lVar1") (= "=") (pointer_expression "*plVar2" (* "*") (identifier "plVar2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar1 == 0)" (( "(") (binary_expression "lVar1 == 0" (identifier "lVar1") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}")))) (return_statement "return lVar1;" (return "return") (identifier "lVar1") (; ";")) (} "}")))

void * function_1(type_1 *table)

{
  void *var_3;
  type_2 *var_1;
  
  if (table->n_entries == 0) {
    var_3 = (void *)0x0;
  }
  else {
    var_1 = table->bucket;
    if (table->bucket_limit <= var_1) {
LAB_0010e29d:
                    /* WARNING: Subroutine does not return */
      var_2();
    }
    if (var_1->data != (void *)0x0) {
      return var_1->data;
    }
    do {
      var_1 = var_1 + 1;
      if (table->bucket_limit <= var_1) goto LAB_0010e29d;
      var_3 = var_1->data;
    } while (var_3 == (void *)0x0);
  }
  return var_3;
}


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

long MASKED(ulong *param_1)

{
  long lVar1;
  long *plVar2;
  
  if (param_1[4] == 0) {
    lVar1 = 0;
  }
  else {
    plVar2 = (long *)*param_1;
    if ((long *)param_1[1] <= plVar2) {
LAB_0010e29d:
                    /* WARNING: Subroutine does not return */
      abort();
    }
    if (*plVar2 != 0) {
      return *plVar2;
    }
    do {
      plVar2 = plVar2 + 2;
      if ((long *)param_1[1] <= plVar2) goto LAB_0010e29d;
      lVar1 = *plVar2;
    } while (lVar1 == 0);
  }
  return lVar1;
}

