
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void free_abbrevs(void)

{
  abbrev_entry *paVar1;
  abbrev_attr *paVar2;
  abbrev_attr *__ptr;
  abbrev_entry *__ptr_00;
  
  __ptr_00 = first_abbrev;
  if (first_abbrev != (abbrev_entry *)0x0) {
    do {
      paVar1 = __ptr_00->next;
      __ptr = __ptr_00->first_attr;
      while (__ptr != (abbrev_attr *)0x0) {
        paVar2 = __ptr->next;
        free(__ptr);
        __ptr = paVar2;
      }
      free(__ptr_00);
      __ptr_00 = paVar1;
    } while (paVar1 != (abbrev_entry *)0x0);
  }
  first_abbrev = (abbrev_entry *)0x0;
  last_abbrev = (abbrev_entry *)0x0;
  return;
}



void FUN_0010eec0(void)

{
  void *pvVar1;
  void *pvVar2;
  void *__ptr;
  void *__ptr_00;
  
  __ptr_00 = DAT_00159b38;
  if (DAT_00159b38 != (void *)0x0) {
    do {
      pvVar1 = *(void **)((long)__ptr_00 + 0x28);
      __ptr = *(void **)((long)__ptr_00 + 0x18);
      while (__ptr != (void *)0x0) {
        pvVar2 = *(void **)((long)__ptr + 0x18);
        free(__ptr);
        __ptr = pvVar2;
      }
      free(__ptr_00);
      __ptr_00 = pvVar1;
    } while (pvVar1 != (void *)0x0);
  }
  DAT_00159b38 = (void *)0x0;
  DAT_00159b30 = 0;
  return;
}


PUSH R12
PUSH RBP
MOV RBP,qword ptr [0x00159b38]
PUSH RBX
TEST RBP,RBP
JZ 0x0010ef01
MOV RDI,qword ptr [RBP + 0x18]
MOV R12,qword ptr [RBP + 0x28]
TEST RDI,RDI
JZ 0x0010eef1
NOP dword ptr [RAX]
MOV RBX,qword ptr [RDI + 0x18]
CALL 0x00107070
MOV RDI,RBX
TEST RBX,RBX
JNZ 0x0010eee0
MOV RDI,RBP
MOV RBP,R12
CALL 0x00107070
TEST R12,R12
JNZ 0x0010eed0
MOV qword ptr [0x00159b38],0x0
POP RBX
MOV qword ptr [0x00159b30],0x0
POP RBP
POP R12
RET
(translation_unit "void FUN_0010eec0(void)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}\n\n" (function_definition "void FUN_0010eec0(void)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0010eec0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr_00 = DAT_00159b38;" (assignment_expression "__ptr_00 = DAT_00159b38" identifier = identifier) ;) (if_statement "if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }" if (parenthesized_expression "(DAT_00159b38 != (void *)0x0)" ( (binary_expression "DAT_00159b38 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }" { (do_statement "do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);" do (compound_statement "{\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    }" { (expression_statement "pvVar1 = *(void **)((long)__ptr_00 + 0x28);" (assignment_expression "pvVar1 = *(void **)((long)__ptr_00 + 0x28)" identifier = (pointer_expression "*(void **)((long)__ptr_00 + 0x28)" * (cast_expression "(void **)((long)__ptr_00 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr_00 + 0x28)" ( (binary_expression "(long)__ptr_00 + 0x28" (cast_expression "(long)__ptr_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "__ptr = *(void **)((long)__ptr_00 + 0x18);" (assignment_expression "__ptr = *(void **)((long)__ptr_00 + 0x18)" identifier = (pointer_expression "*(void **)((long)__ptr_00 + 0x18)" * (cast_expression "(void **)((long)__ptr_00 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr_00 + 0x18)" ( (binary_expression "(long)__ptr_00 + 0x18" (cast_expression "(long)__ptr_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (while_statement "while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }" while (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }" { (expression_statement "pvVar2 = *(void **)((long)__ptr + 0x18);" (assignment_expression "pvVar2 = *(void **)((long)__ptr + 0x18)" identifier = (pointer_expression "*(void **)((long)__ptr + 0x18)" * (cast_expression "(void **)((long)__ptr + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + 0x18)" ( (binary_expression "(long)__ptr + 0x18" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = pvVar2;" (assignment_expression "__ptr = pvVar2" identifier = identifier) ;) })) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "__ptr_00 = pvVar1;" (assignment_expression "__ptr_00 = pvVar1" identifier = 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)) )) ;) })) (expression_statement "DAT_00159b38 = (void *)0x0;" (assignment_expression "DAT_00159b38 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00159b30 = 0;" (assignment_expression "DAT_00159b30 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid free_abbrevs(void)\n\n{\n  abbrev_entry *paVar1;\n  abbrev_attr *paVar2;\n  abbrev_attr *__ptr;\n  abbrev_entry *__ptr_00;\n  \n  __ptr_00 = first_abbrev;\n  if (first_abbrev != (abbrev_entry *)0x0) {\n    do {\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    } while (paVar1 != (abbrev_entry *)0x0);\n  }\n  first_abbrev = (abbrev_entry *)0x0;\n  last_abbrev = (abbrev_entry *)0x0;\n  return;\n}\n\n" comment (function_definition "void free_abbrevs(void)\n\n{\n  abbrev_entry *paVar1;\n  abbrev_attr *paVar2;\n  abbrev_attr *__ptr;\n  abbrev_entry *__ptr_00;\n  \n  __ptr_00 = first_abbrev;\n  if (first_abbrev != (abbrev_entry *)0x0) {\n    do {\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    } while (paVar1 != (abbrev_entry *)0x0);\n  }\n  first_abbrev = (abbrev_entry *)0x0;\n  last_abbrev = (abbrev_entry *)0x0;\n  return;\n}" primitive_type (function_declarator "free_abbrevs(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  abbrev_entry *paVar1;\n  abbrev_attr *paVar2;\n  abbrev_attr *__ptr;\n  abbrev_entry *__ptr_00;\n  \n  __ptr_00 = first_abbrev;\n  if (first_abbrev != (abbrev_entry *)0x0) {\n    do {\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    } while (paVar1 != (abbrev_entry *)0x0);\n  }\n  first_abbrev = (abbrev_entry *)0x0;\n  last_abbrev = (abbrev_entry *)0x0;\n  return;\n}" { (declaration "abbrev_entry *paVar1;" type_identifier (pointer_declarator "*paVar1" * identifier) ;) (declaration "abbrev_attr *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (declaration "abbrev_attr *__ptr;" type_identifier (pointer_declarator "*__ptr" * identifier) ;) (declaration "abbrev_entry *__ptr_00;" type_identifier (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr_00 = first_abbrev;" (assignment_expression "__ptr_00 = first_abbrev" identifier = identifier) ;) (if_statement "if (first_abbrev != (abbrev_entry *)0x0) {\n    do {\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    } while (paVar1 != (abbrev_entry *)0x0);\n  }" if (parenthesized_expression "(first_abbrev != (abbrev_entry *)0x0)" ( (binary_expression "first_abbrev != (abbrev_entry *)0x0" identifier != (cast_expression "(abbrev_entry *)0x0" ( (type_descriptor "abbrev_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    } while (paVar1 != (abbrev_entry *)0x0);\n  }" { (do_statement "do {\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    } while (paVar1 != (abbrev_entry *)0x0);" do (compound_statement "{\n      paVar1 = __ptr_00->next;\n      __ptr = __ptr_00->first_attr;\n      while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = paVar1;\n    }" { (expression_statement "paVar1 = __ptr_00->next;" (assignment_expression "paVar1 = __ptr_00->next" identifier = (field_expression "__ptr_00->next" identifier -> field_identifier)) ;) (expression_statement "__ptr = __ptr_00->first_attr;" (assignment_expression "__ptr = __ptr_00->first_attr" identifier = (field_expression "__ptr_00->first_attr" identifier -> field_identifier)) ;) (while_statement "while (__ptr != (abbrev_attr *)0x0) {\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }" while (parenthesized_expression "(__ptr != (abbrev_attr *)0x0)" ( (binary_expression "__ptr != (abbrev_attr *)0x0" identifier != (cast_expression "(abbrev_attr *)0x0" ( (type_descriptor "abbrev_attr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        paVar2 = __ptr->next;\n        free(__ptr);\n        __ptr = paVar2;\n      }" { (expression_statement "paVar2 = __ptr->next;" (assignment_expression "paVar2 = __ptr->next" identifier = (field_expression "__ptr->next" identifier -> field_identifier)) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = paVar2;" (assignment_expression "__ptr = paVar2" identifier = identifier) ;) })) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "__ptr_00 = paVar1;" (assignment_expression "__ptr_00 = paVar1" identifier = identifier) ;) }) while (parenthesized_expression "(paVar1 != (abbrev_entry *)0x0)" ( (binary_expression "paVar1 != (abbrev_entry *)0x0" identifier != (cast_expression "(abbrev_entry *)0x0" ( (type_descriptor "abbrev_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "first_abbrev = (abbrev_entry *)0x0;" (assignment_expression "first_abbrev = (abbrev_entry *)0x0" identifier = (cast_expression "(abbrev_entry *)0x0" ( (type_descriptor "abbrev_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "last_abbrev = (abbrev_entry *)0x0;" (assignment_expression "last_abbrev = (abbrev_entry *)0x0" identifier = (cast_expression "(abbrev_entry *)0x0" ( (type_descriptor "abbrev_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010eec0(void)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}\n\n" (function_definition "void FUN_0010eec0(void)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0010eec0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "void *__ptr_00;" primitive_type (pointer_declarator "*__ptr_00" * identifier) ;) (expression_statement "__ptr_00 = DAT_00159b38;" (assignment_expression "__ptr_00 = DAT_00159b38" identifier = identifier) ;) (if_statement "if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }" if (parenthesized_expression "(DAT_00159b38 != (void *)0x0)" ( (binary_expression "DAT_00159b38 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }" { (do_statement "do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);" do (compound_statement "{\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    }" { (expression_statement "pvVar1 = *(void **)((long)__ptr_00 + 0x28);" (assignment_expression "pvVar1 = *(void **)((long)__ptr_00 + 0x28)" identifier = (pointer_expression "*(void **)((long)__ptr_00 + 0x28)" * (cast_expression "(void **)((long)__ptr_00 + 0x28)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr_00 + 0x28)" ( (binary_expression "(long)__ptr_00 + 0x28" (cast_expression "(long)__ptr_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "__ptr = *(void **)((long)__ptr_00 + 0x18);" (assignment_expression "__ptr = *(void **)((long)__ptr_00 + 0x18)" identifier = (pointer_expression "*(void **)((long)__ptr_00 + 0x18)" * (cast_expression "(void **)((long)__ptr_00 + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr_00 + 0x18)" ( (binary_expression "(long)__ptr_00 + 0x18" (cast_expression "(long)__ptr_00" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (while_statement "while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }" while (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }" { (expression_statement "pvVar2 = *(void **)((long)__ptr + 0x18);" (assignment_expression "pvVar2 = *(void **)((long)__ptr + 0x18)" identifier = (pointer_expression "*(void **)((long)__ptr + 0x18)" * (cast_expression "(void **)((long)__ptr + 0x18)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)__ptr + 0x18)" ( (binary_expression "(long)__ptr + 0x18" (cast_expression "(long)__ptr" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) (expression_statement "__ptr = pvVar2;" (assignment_expression "__ptr = pvVar2" identifier = identifier) ;) })) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" identifier (argument_list "(__ptr_00)" ( identifier ))) ;) (expression_statement "__ptr_00 = pvVar1;" (assignment_expression "__ptr_00 = pvVar1" identifier = 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)) )) ;) })) (expression_statement "DAT_00159b38 = (void *)0x0;" (assignment_expression "DAT_00159b38 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "DAT_00159b30 = 0;" (assignment_expression "DAT_00159b30 = 0" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0010eec0(void)\n\n{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010eec0(void)" (identifier "FUN_0010eec0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  void *pvVar1;\n  void *pvVar2;\n  void *__ptr;\n  void *__ptr_00;\n  \n  __ptr_00 = DAT_00159b38;\n  if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }\n  DAT_00159b38 = (void *)0x0;\n  DAT_00159b30 = 0;\n  return;\n}" ({ "{") (declaration "void *pvVar1;" (primitive_type "void") (pointer_declarator "*pvVar1" (* "*") (identifier "pvVar1")) (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "void *__ptr_00;" (primitive_type "void") (pointer_declarator "*__ptr_00" (* "*") (identifier "__ptr_00")) (; ";")) (expression_statement "__ptr_00 = DAT_00159b38;" (assignment_expression "__ptr_00 = DAT_00159b38" (identifier "__ptr_00") (= "=") (identifier "DAT_00159b38")) (; ";")) (if_statement "if (DAT_00159b38 != (void *)0x0) {\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }" (if "if") (parenthesized_expression "(DAT_00159b38 != (void *)0x0)" (( "(") (binary_expression "DAT_00159b38 != (void *)0x0" (identifier "DAT_00159b38") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);\n  }" ({ "{") (do_statement "do {\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    } while (pvVar1 != (void *)0x0);" (do "do") (compound_statement "{\n      pvVar1 = *(void **)((long)__ptr_00 + 0x28);\n      __ptr = *(void **)((long)__ptr_00 + 0x18);\n      while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }\n      free(__ptr_00);\n      __ptr_00 = pvVar1;\n    }" ({ "{") (expression_statement "pvVar1 = *(void **)((long)__ptr_00 + 0x28);" (assignment_expression "pvVar1 = *(void **)((long)__ptr_00 + 0x28)" (identifier "pvVar1") (= "=") (pointer_expression "*(void **)((long)__ptr_00 + 0x28)" (* "*") (cast_expression "(void **)((long)__ptr_00 + 0x28)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)__ptr_00 + 0x28)" (( "(") (binary_expression "(long)__ptr_00 + 0x28" (cast_expression "(long)__ptr_00" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__ptr_00")) (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "__ptr = *(void **)((long)__ptr_00 + 0x18);" (assignment_expression "__ptr = *(void **)((long)__ptr_00 + 0x18)" (identifier "__ptr") (= "=") (pointer_expression "*(void **)((long)__ptr_00 + 0x18)" (* "*") (cast_expression "(void **)((long)__ptr_00 + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)__ptr_00 + 0x18)" (( "(") (binary_expression "(long)__ptr_00 + 0x18" (cast_expression "(long)__ptr_00" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__ptr_00")) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (while_statement "while (__ptr != (void *)0x0) {\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }" (while "while") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        pvVar2 = *(void **)((long)__ptr + 0x18);\n        free(__ptr);\n        __ptr = pvVar2;\n      }" ({ "{") (expression_statement "pvVar2 = *(void **)((long)__ptr + 0x18);" (assignment_expression "pvVar2 = *(void **)((long)__ptr + 0x18)" (identifier "pvVar2") (= "=") (pointer_expression "*(void **)((long)__ptr + 0x18)" (* "*") (cast_expression "(void **)((long)__ptr + 0x18)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)__ptr + 0x18)" (( "(") (binary_expression "(long)__ptr + 0x18" (cast_expression "(long)__ptr" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__ptr")) (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (expression_statement "__ptr = pvVar2;" (assignment_expression "__ptr = pvVar2" (identifier "__ptr") (= "=") (identifier "pvVar2")) (; ";")) (} "}"))) (expression_statement "free(__ptr_00);" (call_expression "free(__ptr_00)" (identifier "free") (argument_list "(__ptr_00)" (( "(") (identifier "__ptr_00") () ")"))) (; ";")) (expression_statement "__ptr_00 = pvVar1;" (assignment_expression "__ptr_00 = pvVar1" (identifier "__ptr_00") (= "=") (identifier "pvVar1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pvVar1 != (void *)0x0)" (( "(") (binary_expression "pvVar1 != (void *)0x0" (identifier "pvVar1") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "DAT_00159b38 = (void *)0x0;" (assignment_expression "DAT_00159b38 = (void *)0x0" (identifier "DAT_00159b38") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "DAT_00159b30 = 0;" (assignment_expression "DAT_00159b30 = 0" (identifier "DAT_00159b30") (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *var_4;
  type_2 *paVar2;
  type_2 *var_2;
  type_1 *__ptr_00;
  
  __ptr_00 = var_1;
  if (var_1 != (type_1 *)0x0) {
    do {
      var_4 = __ptr_00->next;
      var_2 = __ptr_00->first_attr;
      while (var_2 != (type_2 *)0x0) {
        paVar2 = var_2->next;
        var_3(var_2);
        var_2 = paVar2;
      }
      var_3(__ptr_00);
      __ptr_00 = var_4;
    } while (var_4 != (type_1 *)0x0);
  }
  var_1 = (type_1 *)0x0;
  last_abbrev = (type_1 *)0x0;
  return;
}


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

void MASKED(void)

{
  void *pvVar1;
  void *pvVar2;
  void *__ptr;
  void *__ptr_00;
  
  __ptr_00 = DAT_00159b38;
  if (DAT_00159b38 != (void *)0x0) {
    do {
      pvVar1 = *(void **)((long)__ptr_00 + 0x28);
      __ptr = *(void **)((long)__ptr_00 + 0x18);
      while (__ptr != (void *)0x0) {
        pvVar2 = *(void **)((long)__ptr + 0x18);
        free(__ptr);
        __ptr = pvVar2;
      }
      free(__ptr_00);
      __ptr_00 = pvVar1;
    } while (pvVar1 != (void *)0x0);
  }
  DAT_00159b38 = (void *)0x0;
  DAT_00159b30 = 0;
  return;
}

