
void record_file(Hash_table *ht,char *file,stat *stats)

{
  __ino64_t _Var1;
  undefined4 *entry;
  char *pcVar2;
  undefined4 *puVar3;
  ulong uVar4;
  undefined4 uVar5;
  
  if (ht == (Hash_table *)0x0) {
    return;
  }
  entry = (undefined4 *)xmalloc(0x18);
  pcVar2 = xstrdup(file);
  _Var1 = stats->st_ino;
  uVar5 = *(undefined4 *)&stats->st_ino;
  uVar4 = stats->st_dev;
  *entry = pcVar2;
  entry[3] = (int)_Var1;
  entry[2] = uVar5;
  entry[5] = uVar4;
  entry[4] = 0;
  puVar3 = (undefined4 *)hash_insert(ht,entry);
  if (puVar3 != (undefined4 *)0x0) {
    if (entry != puVar3) {
      triple_free(entry);
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  xalloc_die();
}



void record_file(int param_1,undefined4 param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  if (param_1 == 0) {
    return;
  }
  puVar1 = (undefined4 *)xmalloc(0x18);
  uVar2 = xstrdup(param_2);
  uVar6 = param_3[5];
  uVar5 = param_3[4];
  uVar4 = *param_3;
  *puVar1 = uVar2;
  puVar1[3] = uVar6;
  puVar1[2] = uVar5;
  puVar1[5] = uVar4;
  puVar1[4] = 0;
  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);
  if (puVar3 != (undefined4 *)0x0) {
    if (puVar1 != puVar3) {
      triple_free(puVar1);
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  xalloc_die();
}


lui gp,0x3
addiu gp,gp,-0x1cf0
addu gp,gp,t9
beq a0,zero,0x0001fec8
_lw t9,-0x7ea0(gp)
addiu sp,sp,-0x28
sw s1,0x1c(sp)
or s1,a0,zero
li a0,0x18
sw ra,0x24(sp)
sw gp,0x10(sp)
sw s2,0x20(sp)
or s2,a2,zero
sw s0,0x18(sp)
bal 0x00028650
_or s0,a1,zero
or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7f5c(gp)
bal 0x00028a1c
_or s0,v0,zero
or a1,s0,zero
lw gp,0x10(sp)
or a0,s1,zero
lw a3,0x14(s2)
lw a2,0x10(s2)
lw v1,0x0(s2)
lw t9,-0x7e74(gp)
sw v0,0x0(s0)
sw a3,0xc(s0)
sw a2,0x8(s0)
sw v1,0x14(s0)
bal 0x0002190c
_sw zero,0x10(s0)
beq v0,zero,0x0001fed0
_lw gp,0x10(sp)
beq s0,v0,0x0001feb4
_lw ra,0x24(sp)
or a0,s0,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x7f0c(gp)
b 0x00021d84
_addiu sp,sp,0x28
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
jr ra
_nop
lw t9,-0x7e70(gp)
bal 0x00028a70
_nop
(translation_unit "void record_file(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}\n\n" (function_definition "void record_file(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" primitive_type (function_declarator "record_file(int param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "uVar2 = xstrdup(param_2);" (assignment_expression "uVar2 = xstrdup(param_2)" identifier = (call_expression "xstrdup(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar6 = param_3[5];" (assignment_expression "uVar6 = param_3[5]" identifier = (subscript_expression "param_3[5]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = param_3[4];" (assignment_expression "uVar5 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[3] = uVar6;" (assignment_expression "puVar1[3] = uVar6" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar5;" (assignment_expression "puVar1[2] = uVar5" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = uVar4;" (assignment_expression "puVar1[5] = uVar4" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)hash_insert(param_1,puVar1);" (assignment_expression "puVar3 = (undefined4 *)hash_insert(param_1,puVar1)" identifier = (cast_expression "(undefined4 *)hash_insert(param_1,puVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_insert(param_1,puVar1)" identifier (argument_list "(param_1,puVar1)" ( identifier , identifier ))))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }" { (if_statement "if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }" if (parenthesized_expression "(puVar1 != puVar3)" ( (binary_expression "puVar1 != puVar3" identifier != identifier) )) (compound_statement "{\n      triple_free(puVar1);\n      return;\n    }" { (expression_statement "triple_free(puVar1);" (call_expression "triple_free(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void record_file(Hash_table *ht,char *file,stat *stats)\n\n{\n  __ino64_t _Var1;\n  undefined4 *entry;\n  char *pcVar2;\n  undefined4 *puVar3;\n  ulong uVar4;\n  undefined4 uVar5;\n  \n  if (ht == (Hash_table *)0x0) {\n    return;\n  }\n  entry = (undefined4 *)xmalloc(0x18);\n  pcVar2 = xstrdup(file);\n  _Var1 = stats->st_ino;\n  uVar5 = *(undefined4 *)&stats->st_ino;\n  uVar4 = stats->st_dev;\n  *entry = pcVar2;\n  entry[3] = (int)_Var1;\n  entry[2] = uVar5;\n  entry[5] = uVar4;\n  entry[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(ht,entry);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (entry != puVar3) {\n      triple_free(entry);\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}\n\n" (function_definition "void record_file(Hash_table *ht,char *file,stat *stats)\n\n{\n  __ino64_t _Var1;\n  undefined4 *entry;\n  char *pcVar2;\n  undefined4 *puVar3;\n  ulong uVar4;\n  undefined4 uVar5;\n  \n  if (ht == (Hash_table *)0x0) {\n    return;\n  }\n  entry = (undefined4 *)xmalloc(0x18);\n  pcVar2 = xstrdup(file);\n  _Var1 = stats->st_ino;\n  uVar5 = *(undefined4 *)&stats->st_ino;\n  uVar4 = stats->st_dev;\n  *entry = pcVar2;\n  entry[3] = (int)_Var1;\n  entry[2] = uVar5;\n  entry[5] = uVar4;\n  entry[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(ht,entry);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (entry != puVar3) {\n      triple_free(entry);\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" primitive_type (function_declarator "record_file(Hash_table *ht,char *file,stat *stats)" identifier (parameter_list "(Hash_table *ht,char *file,stat *stats)" ( (parameter_declaration "Hash_table *ht" type_identifier (pointer_declarator "*ht" * identifier)) , (parameter_declaration "char *file" primitive_type (pointer_declarator "*file" * identifier)) , (parameter_declaration "stat *stats" type_identifier (pointer_declarator "*stats" * identifier)) ))) (compound_statement "{\n  __ino64_t _Var1;\n  undefined4 *entry;\n  char *pcVar2;\n  undefined4 *puVar3;\n  ulong uVar4;\n  undefined4 uVar5;\n  \n  if (ht == (Hash_table *)0x0) {\n    return;\n  }\n  entry = (undefined4 *)xmalloc(0x18);\n  pcVar2 = xstrdup(file);\n  _Var1 = stats->st_ino;\n  uVar5 = *(undefined4 *)&stats->st_ino;\n  uVar4 = stats->st_dev;\n  *entry = pcVar2;\n  entry[3] = (int)_Var1;\n  entry[2] = uVar5;\n  entry[5] = uVar4;\n  entry[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(ht,entry);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (entry != puVar3) {\n      triple_free(entry);\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  xalloc_die();\n}" { (declaration "__ino64_t _Var1;" type_identifier identifier ;) (declaration "undefined4 *entry;" type_identifier (pointer_declarator "*entry" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (if_statement "if (ht == (Hash_table *)0x0) {\n    return;\n  }" if (parenthesized_expression "(ht == (Hash_table *)0x0)" ( (binary_expression "ht == (Hash_table *)0x0" identifier == (cast_expression "(Hash_table *)0x0" ( (type_descriptor "Hash_table *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "entry = (undefined4 *)xmalloc(0x18);" (assignment_expression "entry = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "pcVar2 = xstrdup(file);" (assignment_expression "pcVar2 = xstrdup(file)" identifier = (call_expression "xstrdup(file)" identifier (argument_list "(file)" ( identifier )))) ;) (expression_statement "_Var1 = stats->st_ino;" (assignment_expression "_Var1 = stats->st_ino" identifier = (field_expression "stats->st_ino" identifier -> field_identifier)) ;) (expression_statement "uVar5 = *(undefined4 *)&stats->st_ino;" (assignment_expression "uVar5 = *(undefined4 *)&stats->st_ino" identifier = (pointer_expression "*(undefined4 *)&stats->st_ino" * (cast_expression "(undefined4 *)&stats->st_ino" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&stats->st_ino" & (field_expression "stats->st_ino" identifier -> field_identifier))))) ;) (expression_statement "uVar4 = stats->st_dev;" (assignment_expression "uVar4 = stats->st_dev" identifier = (field_expression "stats->st_dev" identifier -> field_identifier)) ;) (expression_statement "*entry = pcVar2;" (assignment_expression "*entry = pcVar2" (pointer_expression "*entry" * identifier) = identifier) ;) (expression_statement "entry[3] = (int)_Var1;" (assignment_expression "entry[3] = (int)_Var1" (subscript_expression "entry[3]" identifier [ number_literal ]) = (cast_expression "(int)_Var1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "entry[2] = uVar5;" (assignment_expression "entry[2] = uVar5" (subscript_expression "entry[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "entry[5] = uVar4;" (assignment_expression "entry[5] = uVar4" (subscript_expression "entry[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "entry[4] = 0;" (assignment_expression "entry[4] = 0" (subscript_expression "entry[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)hash_insert(ht,entry);" (assignment_expression "puVar3 = (undefined4 *)hash_insert(ht,entry)" identifier = (cast_expression "(undefined4 *)hash_insert(ht,entry)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_insert(ht,entry)" identifier (argument_list "(ht,entry)" ( identifier , identifier ))))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    if (entry != puVar3) {\n      triple_free(entry);\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (entry != puVar3) {\n      triple_free(entry);\n      return;\n    }\n    return;\n  }" { (if_statement "if (entry != puVar3) {\n      triple_free(entry);\n      return;\n    }" if (parenthesized_expression "(entry != puVar3)" ( (binary_expression "entry != puVar3" identifier != identifier) )) (compound_statement "{\n      triple_free(entry);\n      return;\n    }" { (expression_statement "triple_free(entry);" (call_expression "triple_free(entry)" identifier (argument_list "(entry)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) comment (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void record_file(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    \n  xalloc_die();\n}\n\n" (function_definition "void record_file(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    \n  xalloc_die();\n}" primitive_type (function_declarator "record_file(int param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    \n  xalloc_die();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x18)" identifier = (cast_expression "(undefined4 *)xmalloc(0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "uVar2 = xstrdup(param_2);" (assignment_expression "uVar2 = xstrdup(param_2)" identifier = (call_expression "xstrdup(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "uVar6 = param_3[5];" (assignment_expression "uVar6 = param_3[5]" identifier = (subscript_expression "param_3[5]" identifier [ number_literal ])) ;) (expression_statement "uVar5 = param_3[4];" (assignment_expression "uVar5 = param_3[4]" identifier = (subscript_expression "param_3[4]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "puVar1[3] = uVar6;" (assignment_expression "puVar1[3] = uVar6" (subscript_expression "puVar1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[2] = uVar5;" (assignment_expression "puVar1[2] = uVar5" (subscript_expression "puVar1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[5] = uVar4;" (assignment_expression "puVar1[5] = uVar4" (subscript_expression "puVar1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)hash_insert(param_1,puVar1);" (assignment_expression "puVar3 = (undefined4 *)hash_insert(param_1,puVar1)" identifier = (cast_expression "(undefined4 *)hash_insert(param_1,puVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "hash_insert(param_1,puVar1)" identifier (argument_list "(param_1,puVar1)" ( identifier , identifier ))))) ;) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" ( (binary_expression "puVar3 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }" { (if_statement "if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }" if (parenthesized_expression "(puVar1 != puVar3)" ( (binary_expression "puVar1 != puVar3" identifier != identifier) )) (compound_statement "{\n      triple_free(puVar1);\n      return;\n    }" { (expression_statement "triple_free(puVar1);" (call_expression "triple_free(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "xalloc_die();" (call_expression "xalloc_die()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void record_file(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    \n  xalloc_die();\n}" (primitive_type "void") (function_declarator "record_file(int param_1,undefined4 param_2,undefined4 *param_3)" (identifier "record_file") (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return;\n  }\n  puVar1 = (undefined4 *)xmalloc(0x18);\n  uVar2 = xstrdup(param_2);\n  uVar6 = param_3[5];\n  uVar5 = param_3[4];\n  uVar4 = *param_3;\n  *puVar1 = uVar2;\n  puVar1[3] = uVar6;\n  puVar1[2] = uVar5;\n  puVar1[5] = uVar4;\n  puVar1[4] = 0;\n  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);\n  if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }\n                    \n  xalloc_die();\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (if_statement "if (param_1 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar1 = (undefined4 *)xmalloc(0x18);" (assignment_expression "puVar1 = (undefined4 *)xmalloc(0x18)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)xmalloc(0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x18)" (identifier "xmalloc") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (expression_statement "uVar2 = xstrdup(param_2);" (assignment_expression "uVar2 = xstrdup(param_2)" (identifier "uVar2") (= "=") (call_expression "xstrdup(param_2)" (identifier "xstrdup") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "uVar6 = param_3[5];" (assignment_expression "uVar6 = param_3[5]" (identifier "uVar6") (= "=") (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "uVar5 = param_3[4];" (assignment_expression "uVar5 = param_3[4]" (identifier "uVar5") (= "=") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "uVar4 = *param_3;" (assignment_expression "uVar4 = *param_3" (identifier "uVar4") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar1[3] = uVar6;" (assignment_expression "puVar1[3] = uVar6" (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar1[2] = uVar5;" (assignment_expression "puVar1[2] = uVar5" (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "puVar1[5] = uVar4;" (assignment_expression "puVar1[5] = uVar4" (subscript_expression "puVar1[5]" (identifier "puVar1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "puVar1[4] = 0;" (assignment_expression "puVar1[4] = 0" (subscript_expression "puVar1[4]" (identifier "puVar1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = (undefined4 *)hash_insert(param_1,puVar1);" (assignment_expression "puVar3 = (undefined4 *)hash_insert(param_1,puVar1)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)hash_insert(param_1,puVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "hash_insert(param_1,puVar1)" (identifier "hash_insert") (argument_list "(param_1,puVar1)" (( "(") (identifier "param_1") (, ",") (identifier "puVar1") () ")"))))) (; ";")) (if_statement "if (puVar3 != (undefined4 *)0x0) {\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(puVar3 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar3 != (undefined4 *)0x0" (identifier "puVar3") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }\n    return;\n  }" ({ "{") (if_statement "if (puVar1 != puVar3) {\n      triple_free(puVar1);\n      return;\n    }" (if "if") (parenthesized_expression "(puVar1 != puVar3)" (( "(") (binary_expression "puVar1 != puVar3" (identifier "puVar1") (!= "!=") (identifier "puVar3")) () ")")) (compound_statement "{\n      triple_free(puVar1);\n      return;\n    }" ({ "{") (expression_statement "triple_free(puVar1);" (call_expression "triple_free(puVar1)" (identifier "triple_free") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "xalloc_die();" (call_expression "xalloc_die()" (identifier "xalloc_die") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

void function_1(type_1 *var_1,char *file,type_2 *stats)

{
  type_3 _Var1;
  type_4 *var_6;
  char *pcVar2;
  type_4 *var_5;
  type_5 uVar4;
  type_4 uVar5;
  
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  var_6 = (type_4 *)var_2(0x18);
  pcVar2 = var_3(file);
  _Var1 = stats->st_ino;
  uVar5 = *(type_4 *)&stats->st_ino;
  uVar4 = stats->st_dev;
  *var_6 = pcVar2;
  var_6[3] = (int)_Var1;
  var_6[2] = uVar5;
  var_6[5] = uVar4;
  var_6[4] = 0;
  var_5 = (type_4 *)var_4(var_1,var_6);
  if (var_5 != (type_4 *)0x0) {
    if (var_6 != var_5) {
      var_7(var_6);
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_8();
}


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

void MASKED(int param_1,undefined4 param_2,undefined4 *param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  if (param_1 == 0) {
    return;
  }
  puVar1 = (undefined4 *)xmalloc(0x18);
  uVar2 = xstrdup(param_2);
  uVar6 = param_3[5];
  uVar5 = param_3[4];
  uVar4 = *param_3;
  *puVar1 = uVar2;
  puVar1[3] = uVar6;
  puVar1[2] = uVar5;
  puVar1[5] = uVar4;
  puVar1[4] = 0;
  puVar3 = (undefined4 *)hash_insert(param_1,puVar1);
  if (puVar3 != (undefined4 *)0x0) {
    if (puVar1 != puVar3) {
      triple_free(puVar1);
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  xalloc_die();
}

