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

void clear_hostname_list(void)

{
  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {
    if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {
      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));
      return;
    }
    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;
    *(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;
  }
  return;
}



void clear_hostname_list(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  puVar1 = PTR_DAT_0015656c;
  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {
    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);
    iVar3 = 0;
    if (0 < iVar4) {
      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);
      do {
        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));
        iVar3 = iVar3 + 1;
        iVar2 = *(int *)(puVar1 + -0x49d8);
      } while (iVar3 != iVar4);
    }
    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;
    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;
  }
  return;
}


lui gp,0xb
addiu gp,gp,0x5594
addu gp,gp,t9
addiu sp,sp,-0x28
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
lw v0,-0x75c8(gp)
lw v0,0x0(v0)
beq v0,zero,0x000a902c
_lw v0,-0x7fd4(gp)
lw s1,-0x49e0(v0)
blez s1,0x000a901c
_or s0,zero,zero
lw s2,-0x7fd4(gp)
lw v0,-0x49d8(s2)
sll v1,s0,0x2
addu v0,v0,v1
lw a0,0x0(v0)
lw t9,-0x5f94(gp)
jalr t9
_nop
lw gp,0x10(sp)
addiu s0,s0,0x1
bne s0,s1,0x000a8ff4
_lw v0,-0x49d8(s2)
lw v0,-0x75c8(gp)
sw zero,0x0(v0)
lw v0,-0x7fd4(gp)
sw zero,-0x49e0(v0)
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
(translation_unit "void clear_hostname_list(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}\n\n" (function_definition "void clear_hostname_list(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "clear_hostname_list(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0015656c;" (assignment_expression "puVar1 = PTR_DAT_0015656c" identifier = identifier) ;) (if_statement "if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_hostname_list_initialized_00156f78 != 0)" ( (binary_expression "*(int *)PTR_hostname_list_initialized_00156f78 != 0" (pointer_expression "*(int *)PTR_hostname_list_initialized_00156f78" * (cast_expression "(int *)PTR_hostname_list_initialized_00156f78" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }" { (expression_statement "iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x49e0)" * (cast_expression "(int *)(PTR_DAT_0015656c + -0x49e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x49e0)" ( (binary_expression "PTR_DAT_0015656c + -0x49e0" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }" { (expression_statement "iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x49d8)" * (cast_expression "(int *)(PTR_DAT_0015656c + -0x49d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x49d8)" ( (binary_expression "PTR_DAT_0015656c + -0x49d8" identifier + number_literal) ))))) ;) (do_statement "do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);" do (compound_statement "{\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      }" { (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + iVar3 * 4))" ( (pointer_expression "*(undefined4 *)(iVar2 + iVar3 * 4)" * (cast_expression "(undefined4 *)(iVar2 + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = *(int *)(puVar1 + -0x49d8);" (assignment_expression "iVar2 = *(int *)(puVar1 + -0x49d8)" identifier = (pointer_expression "*(int *)(puVar1 + -0x49d8)" * (cast_expression "(int *)(puVar1 + -0x49d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x49d8)" ( (binary_expression "puVar1 + -0x49d8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) )) ;) })) (expression_statement "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;" (assignment_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0" (pointer_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78" * (cast_expression "(undefined4 *)PTR_hostname_list_initialized_00156f78" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x49e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x49e0)" ( (binary_expression "PTR_DAT_0015656c + -0x49e0" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid clear_hostname_list(void)\n\n{\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;\n  }\n  return;\n}\n\n" comment (function_definition "void clear_hostname_list(void)\n\n{\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "clear_hostname_list(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;\n  }\n  return;\n}" { (if_statement "if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_hostname_list_initialized_00156f78 != 0)" ( (binary_expression "*(int *)PTR_hostname_list_initialized_00156f78 != 0" (pointer_expression "*(int *)PTR_hostname_list_initialized_00156f78" * (cast_expression "(int *)PTR_hostname_list_initialized_00156f78" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;\n  }" { (if_statement "if (0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)) {\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }" if (parenthesized_expression "(0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0))" ( (binary_expression "0 < *(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)" number_literal < (pointer_expression "*(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)" * (cast_expression "(int *)(PTR_pidstat_table_3077__0015656c + -0x49e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x49e0)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x49e0" identifier + number_literal) ))))) )) (compound_statement "{\n      (*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));\n      return;\n    }" { (expression_statement "(*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8));" (call_expression "(*(code *)PTR_free_001585ac)(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8))" ( (pointer_expression "**(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8)" * (pointer_expression "*(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8)" * (cast_expression "(undefined4 **)(PTR_pidstat_table_3077__0015656c + -0x49d8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x49d8)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x49d8" identifier + number_literal) ))))) ))) ;) (return_statement "return;" return ;) })) (expression_statement "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;" (assignment_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0" (pointer_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78" * (cast_expression "(undefined4 *)PTR_hostname_list_initialized_00156f78" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0;" (assignment_expression "*(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0) = 0" (pointer_expression "*(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0)" * (cast_expression "(undefined4 *)(PTR_pidstat_table_3077__0015656c + -0x49e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_pidstat_table_3077__0015656c + -0x49e0)" ( (binary_expression "PTR_pidstat_table_3077__0015656c + -0x49e0" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void clear_hostname_list(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}\n\n" (function_definition "void clear_hostname_list(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}" primitive_type (function_declarator "clear_hostname_list(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_DAT_0015656c;" (assignment_expression "puVar1 = PTR_DAT_0015656c" identifier = identifier) ;) (if_statement "if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }" if (parenthesized_expression "(*(int *)PTR_hostname_list_initialized_00156f78 != 0)" ( (binary_expression "*(int *)PTR_hostname_list_initialized_00156f78 != 0" (pointer_expression "*(int *)PTR_hostname_list_initialized_00156f78" * (cast_expression "(int *)PTR_hostname_list_initialized_00156f78" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) (compound_statement "{\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }" { (expression_statement "iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0)" identifier = (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x49e0)" * (cast_expression "(int *)(PTR_DAT_0015656c + -0x49e0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x49e0)" ( (binary_expression "PTR_DAT_0015656c + -0x49e0" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }" if (parenthesized_expression "(0 < iVar4)" ( (binary_expression "0 < iVar4" number_literal < identifier) )) (compound_statement "{\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }" { (expression_statement "iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8)" identifier = (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x49d8)" * (cast_expression "(int *)(PTR_DAT_0015656c + -0x49d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x49d8)" ( (binary_expression "PTR_DAT_0015656c + -0x49d8" identifier + number_literal) ))))) ;) (do_statement "do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);" do (compound_statement "{\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      }" { (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" ( (pointer_expression "*(code *)PTR_free_001585ac" * (cast_expression "(code *)PTR_free_001585ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(iVar2 + iVar3 * 4))" ( (pointer_expression "*(undefined4 *)(iVar2 + iVar3 * 4)" * (cast_expression "(undefined4 *)(iVar2 + iVar3 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar3 * 4)" ( (binary_expression "iVar2 + iVar3 * 4" identifier + (binary_expression "iVar3 * 4" identifier * number_literal)) )))) ))) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = *(int *)(puVar1 + -0x49d8);" (assignment_expression "iVar2 = *(int *)(puVar1 + -0x49d8)" identifier = (pointer_expression "*(int *)(puVar1 + -0x49d8)" * (cast_expression "(int *)(puVar1 + -0x49d8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x49d8)" ( (binary_expression "puVar1 + -0x49d8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != iVar4)" ( (binary_expression "iVar3 != iVar4" identifier != identifier) )) ;) })) (expression_statement "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;" (assignment_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0" (pointer_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78" * (cast_expression "(undefined4 *)PTR_hostname_list_initialized_00156f78" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0)" * (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x49e0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_0015656c + -0x49e0)" ( (binary_expression "PTR_DAT_0015656c + -0x49e0" identifier + number_literal) )))) = 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 IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) != 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 LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void clear_hostname_list(void)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "clear_hostname_list(void)" (identifier "clear_hostname_list") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  \n  puVar1 = PTR_DAT_0015656c;\n  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "puVar1 = PTR_DAT_0015656c;" (assignment_expression "puVar1 = PTR_DAT_0015656c" (identifier "puVar1") (= "=") (identifier "PTR_DAT_0015656c")) (; ";")) (if_statement "if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }" (if "if") (parenthesized_expression "(*(int *)PTR_hostname_list_initialized_00156f78 != 0)" (( "(") (binary_expression "*(int *)PTR_hostname_list_initialized_00156f78 != 0" (pointer_expression "*(int *)PTR_hostname_list_initialized_00156f78" (* "*") (cast_expression "(int *)PTR_hostname_list_initialized_00156f78" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_hostname_list_initialized_00156f78"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);\n    iVar3 = 0;\n    if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }\n    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;\n    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;\n  }" ({ "{") (expression_statement "iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);" (assignment_expression "iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x49e0)" (* "*") (cast_expression "(int *)(PTR_DAT_0015656c + -0x49e0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x49e0)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x49e0" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x49e0")) () ")"))))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar4) {\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }" (if "if") (parenthesized_expression "(0 < iVar4)" (( "(") (binary_expression "0 < iVar4" (number_literal "0") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);\n      do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);" (assignment_expression "iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(PTR_DAT_0015656c + -0x49d8)" (* "*") (cast_expression "(int *)(PTR_DAT_0015656c + -0x49d8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x49d8)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x49d8" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x49d8")) () ")"))))) (; ";")) (do_statement "do {\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      } while (iVar3 != iVar4);" (do "do") (compound_statement "{\n        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));\n        iVar3 = iVar3 + 1;\n        iVar2 = *(int *)(puVar1 + -0x49d8);\n      }" ({ "{") (expression_statement "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));" (call_expression "(*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4))" (parenthesized_expression "(*(code *)PTR_free_001585ac)" (( "(") (pointer_expression "*(code *)PTR_free_001585ac" (* "*") (cast_expression "(code *)PTR_free_001585ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_001585ac"))) () ")")) (argument_list "(*(undefined4 *)(iVar2 + iVar3 * 4))" (( "(") (pointer_expression "*(undefined4 *)(iVar2 + iVar3 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar2 + iVar3 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar3 * 4)" (( "(") (binary_expression "iVar2 + iVar3 * 4" (identifier "iVar2") (+ "+") (binary_expression "iVar3 * 4" (identifier "iVar3") (* "*") (number_literal "4"))) () ")")))) () ")"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = *(int *)(puVar1 + -0x49d8);" (assignment_expression "iVar2 = *(int *)(puVar1 + -0x49d8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(puVar1 + -0x49d8)" (* "*") (cast_expression "(int *)(puVar1 + -0x49d8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x49d8)" (( "(") (binary_expression "puVar1 + -0x49d8" (identifier "puVar1") (+ "+") (number_literal "-0x49d8")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != iVar4)" (( "(") (binary_expression "iVar3 != iVar4" (identifier "iVar3") (!= "!=") (identifier "iVar4")) () ")")) (; ";")) (} "}"))) (expression_statement "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;" (assignment_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0" (pointer_expression "*(undefined4 *)PTR_hostname_list_initialized_00156f78" (* "*") (cast_expression "(undefined4 *)PTR_hostname_list_initialized_00156f78" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_hostname_list_initialized_00156f78"))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;" (assignment_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0" (pointer_expression "*(undefined4 *)(PTR_DAT_0015656c + -0x49e0)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_0015656c + -0x49e0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_0015656c + -0x49e0)" (( "(") (binary_expression "PTR_DAT_0015656c + -0x49e0" (identifier "PTR_DAT_0015656c") (+ "+") (number_literal "-0x49e0")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {
    if (0 < *(int *)(var_1 + -0x49e0)) {
      (*(type_1 *)PTR_free_001585ac)(**(type_2 **)(var_1 + -0x49d8));
      return;
    }
    *(type_2 *)PTR_hostname_list_initialized_00156f78 = 0;
    *(type_2 *)(var_1 + -0x49e0) = 0;
  }
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) 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: (number_literal) right: (identifier))) 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))))))) (do_statement body: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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)))) (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)))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))) (expression_statement (assignment_expression left: (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))))) right: (number_literal))))) (return_statement))))

void MASKED(void)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  
  puVar1 = PTR_DAT_0015656c;
  if (*(int *)PTR_hostname_list_initialized_00156f78 != 0) {
    iVar4 = *(int *)(PTR_DAT_0015656c + -0x49e0);
    iVar3 = 0;
    if (0 < iVar4) {
      iVar2 = *(int *)(PTR_DAT_0015656c + -0x49d8);
      do {
        (*(code *)PTR_free_001585ac)(*(undefined4 *)(iVar2 + iVar3 * 4));
        iVar3 = iVar3 + 1;
        iVar2 = *(int *)(puVar1 + -0x49d8);
      } while (iVar3 != iVar4);
    }
    *(undefined4 *)PTR_hostname_list_initialized_00156f78 = 0;
    *(undefined4 *)(PTR_DAT_0015656c + -0x49e0) = 0;
  }
  return;
}

