
void * xrealloc(void *ptr,uint size)

{
  void *pvVar1;
  undefined4 uVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  undefined *puVar8;
  
  pvVar1 = (void *)(*(code *)PTR_realloc_00035720)();
  if (pvVar1 != (void *)0x0) {
    return pvVar1;
  }
  uVar5 = *(undefined4 *)PTR_stderr_00035758;
  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);
  uVar4 = 1;
  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);
  uVar5 = 5;
  puVar8 = PTR_do_exit_00035654;
  do_exit(5);
  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);
  uVar7 = *puVar6;
  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);
  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);
  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);
  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);
  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();
  if (*piVar3 != 0) goto LAB_0001a458;
  do {
    do_exit(4);
LAB_0001a458:
    puVar6 = (undefined4 *)*puVar6;
    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);
    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);
    (**(code **)(puVar8 + 0x1b394))(0);
  } while( true );
}



void xrealloc(void)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  undefined *puVar8;
  
  iVar1 = (*(code *)PTR_realloc_00035720)();
  if (iVar1 != 0) {
    return;
  }
  uVar5 = *(undefined4 *)PTR_stderr_00035758;
  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);
  uVar4 = 1;
  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);
  uVar5 = 5;
  puVar8 = PTR_do_exit_00035654;
  do_exit(5);
  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);
  uVar7 = *puVar6;
  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);
  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);
  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);
  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);
  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();
  if (*piVar3 != 0) goto LAB_0001a458;
  do {
    do_exit(4);
LAB_0001a458:
    puVar6 = (undefined4 *)*puVar6;
    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);
    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);
    (**(code **)(puVar8 + 0x1b394))(0);
  } while( true );
}


lui gp,0x2
addiu gp,gp,0x319c
addu gp,gp,t9
addiu sp,sp,-0x20
lw t9,-0x7d90(gp)
sw gp,0x10(sp)
sw ra,0x1c(sp)
jalr t9
_sw s0,0x18(sp)
beq v0,zero,0x0001a350
_lw gp,0x10(sp)
lw ra,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x20
lw a1,-0x7fc8(gp)
li a2,0x5
lw v0,-0x7d58(gp)
or a0,zero,zero
lw t9,-0x7d78(gp)
addiu a1,a1,0x3144
jalr t9
_lw s0,0x0(v0)
li a1,0x1
lw gp,0x10(sp)
or a2,v0,zero
lw t9,-0x7de0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x10(sp)
lw t9,-0x7e5c(gp)
bal 0x0001a240
_li a0,0x5
(translation_unit "void xrealloc(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}\n\n" (function_definition "void xrealloc(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" primitive_type (function_declarator "xrealloc(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_realloc_00035720)();" (assignment_expression "iVar1 = (*(code *)PTR_realloc_00035720)()" identifier = (call_expression "(*(code *)PTR_realloc_00035720)()" (parenthesized_expression "(*(code *)PTR_realloc_00035720)" ( (pointer_expression "*(code *)PTR_realloc_00035720" * (cast_expression "(code *)PTR_realloc_00035720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar5 = *(undefined4 *)PTR_stderr_00035758;" (assignment_expression "uVar5 = *(undefined4 *)PTR_stderr_00035758" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00035758" * (cast_expression "(undefined4 *)PTR_stderr_00035758" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00035738)" ( (pointer_expression "*(code *)PTR_dcgettext_00035738" * (cast_expression "(code *)PTR_dcgettext_00035738" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_000354e8 + 0x3144,5)" ( number_literal , (binary_expression "PTR_LAB_000354e8 + 0x3144" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000356d0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000356d0" * (cast_expression "(code *)PTR___fprintf_chk_000356d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "uVar5 = 5;" (assignment_expression "uVar5 = 5" identifier = number_literal) ;) (expression_statement "puVar8 = PTR_do_exit_00035654;" (assignment_expression "puVar8 = PTR_do_exit_00035654" identifier = identifier) ;) (expression_statement "do_exit(5);" (call_expression "do_exit(5)" identifier (argument_list "(5)" ( number_literal ))) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);" (assignment_expression "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0)" identifier = (pointer_expression "*(undefined4 **)(puVar8 + 0x1b3c0)" * (cast_expression "(undefined4 **)(puVar8 + 0x1b3c0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3c0)" ( (binary_expression "puVar8 + 0x1b3c0" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *puVar6;" (assignment_expression "uVar7 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" identifier = (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" ( (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" * (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" * (cast_expression "(code **)(puVar8 + 0x1b3a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3a0)" ( (binary_expression "puVar8 + 0x1b3a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" ( number_literal , (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3168" (pointer_expression "*(int *)(puVar8 + 0x1b150)" * (cast_expression "(int *)(puVar8 + 0x1b150)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1b150)" ( (binary_expression "puVar8 + 0x1b150" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(uVar7,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);" (call_expression "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(*puVar6,1,uVar5,uVar4)" ( (pointer_expression "*puVar6" * identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b344))(10,*puVar6);" (call_expression "(**(code **)(puVar8 + 0x1b344))(10,*puVar6)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b344))" ( (pointer_expression "**(code **)(puVar8 + 0x1b344)" * (pointer_expression "*(code **)(puVar8 + 0x1b344)" * (cast_expression "(code **)(puVar8 + 0x1b344)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b344)" ( (binary_expression "puVar8 + 0x1b344" identifier + number_literal) ))))) )) (argument_list "(10,*puVar6)" ( number_literal , (pointer_expression "*puVar6" * identifier) ))) ;) (expression_statement "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();" (assignment_expression "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))()" identifier = (cast_expression "(int *)(**(code **)(puVar8 + 0x1b364))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0x1b364))()" (parenthesized_expression "(**(code **)(puVar8 + 0x1b364))" ( (pointer_expression "**(code **)(puVar8 + 0x1b364)" * (pointer_expression "*(code **)(puVar8 + 0x1b364)" * (cast_expression "(code **)(puVar8 + 0x1b364)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b364)" ( (binary_expression "puVar8 + 0x1b364" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar3 != 0) goto LAB_0001a458;" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (goto_statement "goto LAB_0001a458;" goto statement_identifier ;)) (do_statement "do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );" do (compound_statement "{\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  }" { (expression_statement "do_exit(4);" (call_expression "do_exit(4)" identifier (argument_list "(4)" ( number_literal ))) ;) (labeled_statement "LAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;" statement_identifier : (expression_statement "puVar6 = (undefined4 *)*puVar6;" (assignment_expression "puVar6 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;)) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" identifier = (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" ( (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" * (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" * (cast_expression "(code **)(puVar8 + 0x1b3a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3a0)" ( (binary_expression "puVar8 + 0x1b3a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" ( number_literal , (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3180" (pointer_expression "*(int *)(puVar8 + 0x1b150)" * (cast_expression "(int *)(puVar8 + 0x1b150)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1b150)" ( (binary_expression "puVar8 + 0x1b150" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(puVar6,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b394))(0);" (call_expression "(**(code **)(puVar8 + 0x1b394))(0)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b394))" ( (pointer_expression "**(code **)(puVar8 + 0x1b394)" * (pointer_expression "*(code **)(puVar8 + 0x1b394)" * (cast_expression "(code **)(puVar8 + 0x1b394)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b394)" ( (binary_expression "puVar8 + 0x1b394" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void * xrealloc(void *ptr,uint size)\n\n{\n  void *pvVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  pvVar1 = (void *)(*(code *)PTR_realloc_00035720)();\n  if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}\n\n" (function_definition "void * xrealloc(void *ptr,uint size)\n\n{\n  void *pvVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  pvVar1 = (void *)(*(code *)PTR_realloc_00035720)();\n  if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" primitive_type (pointer_declarator "* xrealloc(void *ptr,uint size)" * (function_declarator "xrealloc(void *ptr,uint size)" identifier (parameter_list "(void *ptr,uint size)" ( (parameter_declaration "void *ptr" primitive_type (pointer_declarator "*ptr" * identifier)) , (parameter_declaration "uint size" type_identifier identifier) )))) (compound_statement "{\n  void *pvVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  pvVar1 = (void *)(*(code *)PTR_realloc_00035720)();\n  if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "pvVar1 = (void *)(*(code *)PTR_realloc_00035720)();" (assignment_expression "pvVar1 = (void *)(*(code *)PTR_realloc_00035720)()" identifier = (cast_expression "(void *)(*(code *)PTR_realloc_00035720)()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_realloc_00035720)()" (parenthesized_expression "(*(code *)PTR_realloc_00035720)" ( (pointer_expression "*(code *)PTR_realloc_00035720" * (cast_expression "(code *)PTR_realloc_00035720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (if_statement "if (pvVar1 != (void *)0x0) {\n    return pvVar1;\n  }" if (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)) )) (compound_statement "{\n    return pvVar1;\n  }" { (return_statement "return pvVar1;" return identifier ;) })) (expression_statement "uVar5 = *(undefined4 *)PTR_stderr_00035758;" (assignment_expression "uVar5 = *(undefined4 *)PTR_stderr_00035758" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00035758" * (cast_expression "(undefined4 *)PTR_stderr_00035758" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00035738)" ( (pointer_expression "*(code *)PTR_dcgettext_00035738" * (cast_expression "(code *)PTR_dcgettext_00035738" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_000354e8 + 0x3144,5)" ( number_literal , (binary_expression "PTR_LAB_000354e8 + 0x3144" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000356d0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000356d0" * (cast_expression "(code *)PTR___fprintf_chk_000356d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "uVar5 = 5;" (assignment_expression "uVar5 = 5" identifier = number_literal) ;) (expression_statement "puVar8 = PTR_do_exit_00035654;" (assignment_expression "puVar8 = PTR_do_exit_00035654" identifier = identifier) ;) (expression_statement "do_exit(5);" (call_expression "do_exit(5)" identifier (argument_list "(5)" ( number_literal ))) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);" (assignment_expression "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0)" identifier = (pointer_expression "*(undefined4 **)(puVar8 + 0x1b3c0)" * (cast_expression "(undefined4 **)(puVar8 + 0x1b3c0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3c0)" ( (binary_expression "puVar8 + 0x1b3c0" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *puVar6;" (assignment_expression "uVar7 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" identifier = (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" ( (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" * (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" * (cast_expression "(code **)(puVar8 + 0x1b3a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3a0)" ( (binary_expression "puVar8 + 0x1b3a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" ( number_literal , (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3168" (pointer_expression "*(int *)(puVar8 + 0x1b150)" * (cast_expression "(int *)(puVar8 + 0x1b150)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1b150)" ( (binary_expression "puVar8 + 0x1b150" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(uVar7,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);" (call_expression "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(*puVar6,1,uVar5,uVar4)" ( (pointer_expression "*puVar6" * identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b344))(10,*puVar6);" (call_expression "(**(code **)(puVar8 + 0x1b344))(10,*puVar6)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b344))" ( (pointer_expression "**(code **)(puVar8 + 0x1b344)" * (pointer_expression "*(code **)(puVar8 + 0x1b344)" * (cast_expression "(code **)(puVar8 + 0x1b344)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b344)" ( (binary_expression "puVar8 + 0x1b344" identifier + number_literal) ))))) )) (argument_list "(10,*puVar6)" ( number_literal , (pointer_expression "*puVar6" * identifier) ))) ;) (expression_statement "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();" (assignment_expression "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))()" identifier = (cast_expression "(int *)(**(code **)(puVar8 + 0x1b364))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0x1b364))()" (parenthesized_expression "(**(code **)(puVar8 + 0x1b364))" ( (pointer_expression "**(code **)(puVar8 + 0x1b364)" * (pointer_expression "*(code **)(puVar8 + 0x1b364)" * (cast_expression "(code **)(puVar8 + 0x1b364)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b364)" ( (binary_expression "puVar8 + 0x1b364" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar3 != 0) goto LAB_0001a458;" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (goto_statement "goto LAB_0001a458;" goto statement_identifier ;)) (do_statement "do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );" do (compound_statement "{\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  }" { (expression_statement "do_exit(4);" (call_expression "do_exit(4)" identifier (argument_list "(4)" ( number_literal ))) ;) (labeled_statement "LAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;" statement_identifier : (expression_statement "puVar6 = (undefined4 *)*puVar6;" (assignment_expression "puVar6 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;)) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" identifier = (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" ( (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" * (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" * (cast_expression "(code **)(puVar8 + 0x1b3a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3a0)" ( (binary_expression "puVar8 + 0x1b3a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" ( number_literal , (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3180" (pointer_expression "*(int *)(puVar8 + 0x1b150)" * (cast_expression "(int *)(puVar8 + 0x1b150)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1b150)" ( (binary_expression "puVar8 + 0x1b150" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(puVar6,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b394))(0);" (call_expression "(**(code **)(puVar8 + 0x1b394))(0)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b394))" ( (pointer_expression "**(code **)(puVar8 + 0x1b394)" * (pointer_expression "*(code **)(puVar8 + 0x1b394)" * (cast_expression "(code **)(puVar8 + 0x1b394)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b394)" ( (binary_expression "puVar8 + 0x1b394" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void xrealloc(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}\n\n" (function_definition "void xrealloc(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" primitive_type (function_declarator "xrealloc(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "iVar1 = (*(code *)PTR_realloc_00035720)();" (assignment_expression "iVar1 = (*(code *)PTR_realloc_00035720)()" identifier = (call_expression "(*(code *)PTR_realloc_00035720)()" (parenthesized_expression "(*(code *)PTR_realloc_00035720)" ( (pointer_expression "*(code *)PTR_realloc_00035720" * (cast_expression "(code *)PTR_realloc_00035720" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar5 = *(undefined4 *)PTR_stderr_00035758;" (assignment_expression "uVar5 = *(undefined4 *)PTR_stderr_00035758" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00035758" * (cast_expression "(undefined4 *)PTR_stderr_00035758" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" identifier = (call_expression "(*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00035738)" ( (pointer_expression "*(code *)PTR_dcgettext_00035738" * (cast_expression "(code *)PTR_dcgettext_00035738" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,PTR_LAB_000354e8 + 0x3144,5)" ( number_literal , (binary_expression "PTR_LAB_000354e8 + 0x3144" identifier + number_literal) , number_literal )))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000356d0)" ( (pointer_expression "*(code *)PTR___fprintf_chk_000356d0" * (cast_expression "(code *)PTR___fprintf_chk_000356d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "uVar5 = 5;" (assignment_expression "uVar5 = 5" identifier = number_literal) ;) (expression_statement "puVar8 = PTR_do_exit_00035654;" (assignment_expression "puVar8 = PTR_do_exit_00035654" identifier = identifier) ;) (expression_statement "do_exit(5);" (call_expression "do_exit(5)" identifier (argument_list "(5)" ( number_literal ))) ;) (expression_statement "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);" (assignment_expression "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0)" identifier = (pointer_expression "*(undefined4 **)(puVar8 + 0x1b3c0)" * (cast_expression "(undefined4 **)(puVar8 + 0x1b3c0)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3c0)" ( (binary_expression "puVar8 + 0x1b3c0" identifier + number_literal) ))))) ;) (expression_statement "uVar7 = *puVar6;" (assignment_expression "uVar7 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" identifier = (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" ( (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" * (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" * (cast_expression "(code **)(puVar8 + 0x1b3a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3a0)" ( (binary_expression "puVar8 + 0x1b3a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" ( number_literal , (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3168" (pointer_expression "*(int *)(puVar8 + 0x1b150)" * (cast_expression "(int *)(puVar8 + 0x1b150)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1b150)" ( (binary_expression "puVar8 + 0x1b150" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(uVar7,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);" (call_expression "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(*puVar6,1,uVar5,uVar4)" ( (pointer_expression "*puVar6" * identifier) , number_literal , identifier , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b344))(10,*puVar6);" (call_expression "(**(code **)(puVar8 + 0x1b344))(10,*puVar6)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b344))" ( (pointer_expression "**(code **)(puVar8 + 0x1b344)" * (pointer_expression "*(code **)(puVar8 + 0x1b344)" * (cast_expression "(code **)(puVar8 + 0x1b344)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b344)" ( (binary_expression "puVar8 + 0x1b344" identifier + number_literal) ))))) )) (argument_list "(10,*puVar6)" ( number_literal , (pointer_expression "*puVar6" * identifier) ))) ;) (expression_statement "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();" (assignment_expression "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))()" identifier = (cast_expression "(int *)(**(code **)(puVar8 + 0x1b364))()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(puVar8 + 0x1b364))()" (parenthesized_expression "(**(code **)(puVar8 + 0x1b364))" ( (pointer_expression "**(code **)(puVar8 + 0x1b364)" * (pointer_expression "*(code **)(puVar8 + 0x1b364)" * (cast_expression "(code **)(puVar8 + 0x1b364)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b364)" ( (binary_expression "puVar8 + 0x1b364" identifier + number_literal) ))))) )) (argument_list "()" ( ))))) ;) (if_statement "if (*piVar3 != 0) goto LAB_0001a458;" if (parenthesized_expression "(*piVar3 != 0)" ( (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" * identifier) != number_literal) )) (goto_statement "goto LAB_0001a458;" goto statement_identifier ;)) (do_statement "do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );" do (compound_statement "{\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  }" { (expression_statement "do_exit(4);" (call_expression "do_exit(4)" identifier (argument_list "(4)" ( number_literal ))) ;) (labeled_statement "LAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;" statement_identifier : (expression_statement "puVar6 = (undefined4 *)*puVar6;" (assignment_expression "puVar6 = (undefined4 *)*puVar6" identifier = (cast_expression "(undefined4 *)*puVar6" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar6" * identifier))) ;)) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" identifier = (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" ( (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" * (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" * (cast_expression "(code **)(puVar8 + 0x1b3a0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b3a0)" ( (binary_expression "puVar8 + 0x1b3a0" identifier + number_literal) ))))) )) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" ( number_literal , (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3180" (pointer_expression "*(int *)(puVar8 + 0x1b150)" * (cast_expression "(int *)(puVar8 + 0x1b150)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + 0x1b150)" ( (binary_expression "puVar8 + 0x1b150" identifier + number_literal) )))) + number_literal) , number_literal )))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" ( (pointer_expression "**(code **)(puVar8 + 0x1b338)" * (pointer_expression "*(code **)(puVar8 + 0x1b338)" * (cast_expression "(code **)(puVar8 + 0x1b338)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b338)" ( (binary_expression "puVar8 + 0x1b338" identifier + number_literal) ))))) )) (argument_list "(puVar6,1,uVar2)" ( identifier , number_literal , identifier ))) ;) (expression_statement "(**(code **)(puVar8 + 0x1b394))(0);" (call_expression "(**(code **)(puVar8 + 0x1b394))(0)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b394))" ( (pointer_expression "**(code **)(puVar8 + 0x1b394)" * (pointer_expression "*(code **)(puVar8 + 0x1b394)" * (cast_expression "(code **)(puVar8 + 0x1b394)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + 0x1b394)" ( (binary_expression "puVar8 + 0x1b394" identifier + number_literal) ))))) )) (argument_list "(0)" ( number_literal ))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) , LIT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) , LIT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( LIT ))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void xrealloc(void)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" (primitive_type "void") (function_declarator "xrealloc(void)" (identifier "xrealloc") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  undefined *puVar8;\n  \n  iVar1 = (*(code *)PTR_realloc_00035720)();\n  if (iVar1 != 0) {\n    return;\n  }\n  uVar5 = *(undefined4 *)PTR_stderr_00035758;\n  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);\n  uVar4 = 1;\n  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);\n  uVar5 = 5;\n  puVar8 = PTR_do_exit_00035654;\n  do_exit(5);\n  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);\n  uVar7 = *puVar6;\n  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);\n  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);\n  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);\n  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);\n  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();\n  if (*piVar3 != 0) goto LAB_0001a458;\n  do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined *puVar8;" (type_identifier "undefined") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (expression_statement "iVar1 = (*(code *)PTR_realloc_00035720)();" (assignment_expression "iVar1 = (*(code *)PTR_realloc_00035720)()" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_realloc_00035720)()" (parenthesized_expression "(*(code *)PTR_realloc_00035720)" (( "(") (pointer_expression "*(code *)PTR_realloc_00035720" (* "*") (cast_expression "(code *)PTR_realloc_00035720" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_realloc_00035720"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar5 = *(undefined4 *)PTR_stderr_00035758;" (assignment_expression "uVar5 = *(undefined4 *)PTR_stderr_00035758" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_00035758" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00035758" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00035758")))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);" (assignment_expression "uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5)" (parenthesized_expression "(*(code *)PTR_dcgettext_00035738)" (( "(") (pointer_expression "*(code *)PTR_dcgettext_00035738" (* "*") (cast_expression "(code *)PTR_dcgettext_00035738" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_dcgettext_00035738"))) () ")")) (argument_list "(0,PTR_LAB_000354e8 + 0x3144,5)" (( "(") (number_literal "0") (, ",") (binary_expression "PTR_LAB_000354e8 + 0x3144" (identifier "PTR_LAB_000354e8") (+ "+") (number_literal "0x3144")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);" (call_expression "(*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_000356d0)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_000356d0" (* "*") (cast_expression "(code *)PTR___fprintf_chk_000356d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_000356d0"))) () ")")) (argument_list "(uVar5,1,uVar2)" (( "(") (identifier "uVar5") (, ",") (number_literal "1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar5 = 5;" (assignment_expression "uVar5 = 5" (identifier "uVar5") (= "=") (number_literal "5")) (; ";")) (expression_statement "puVar8 = PTR_do_exit_00035654;" (assignment_expression "puVar8 = PTR_do_exit_00035654" (identifier "puVar8") (= "=") (identifier "PTR_do_exit_00035654")) (; ";")) (expression_statement "do_exit(5);" (call_expression "do_exit(5)" (identifier "do_exit") (argument_list "(5)" (( "(") (number_literal "5") () ")"))) (; ";")) (expression_statement "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);" (assignment_expression "puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0)" (identifier "puVar6") (= "=") (pointer_expression "*(undefined4 **)(puVar8 + 0x1b3c0)" (* "*") (cast_expression "(undefined4 **)(puVar8 + 0x1b3c0)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b3c0)" (( "(") (binary_expression "puVar8 + 0x1b3c0" (identifier "puVar8") (+ "+") (number_literal "0x1b3c0")) () ")"))))) (; ";")) (expression_statement "uVar7 = *puVar6;" (assignment_expression "uVar7 = *puVar6" (identifier "uVar7") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b3a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b3a0)" (( "(") (binary_expression "puVar8 + 0x1b3a0" (identifier "puVar8") (+ "+") (number_literal "0x1b3a0")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3168" (pointer_expression "*(int *)(puVar8 + 0x1b150)" (* "*") (cast_expression "(int *)(puVar8 + 0x1b150)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x1b150)" (( "(") (binary_expression "puVar8 + 0x1b150" (identifier "puVar8") (+ "+") (number_literal "0x1b150")) () ")")))) (+ "+") (number_literal "0x3168")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b338)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b338)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b338)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b338)" (( "(") (binary_expression "puVar8 + 0x1b338" (identifier "puVar8") (+ "+") (number_literal "0x1b338")) () ")"))))) () ")")) (argument_list "(uVar7,1,uVar2)" (( "(") (identifier "uVar7") (, ",") (number_literal "1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);" (call_expression "(**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b338)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b338)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b338)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b338)" (( "(") (binary_expression "puVar8 + 0x1b338" (identifier "puVar8") (+ "+") (number_literal "0x1b338")) () ")"))))) () ")")) (argument_list "(*puVar6,1,uVar5,uVar4)" (( "(") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) (, ",") (number_literal "1") (, ",") (identifier "uVar5") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar8 + 0x1b344))(10,*puVar6);" (call_expression "(**(code **)(puVar8 + 0x1b344))(10,*puVar6)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b344))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b344)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b344)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b344)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b344)" (( "(") (binary_expression "puVar8 + 0x1b344" (identifier "puVar8") (+ "+") (number_literal "0x1b344")) () ")"))))) () ")")) (argument_list "(10,*puVar6)" (( "(") (number_literal "10") (, ",") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")) () ")"))) (; ";")) (expression_statement "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();" (assignment_expression "piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))()" (identifier "piVar3") (= "=") (cast_expression "(int *)(**(code **)(puVar8 + 0x1b364))()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(puVar8 + 0x1b364))()" (parenthesized_expression "(**(code **)(puVar8 + 0x1b364))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b364)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b364)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b364)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b364)" (( "(") (binary_expression "puVar8 + 0x1b364" (identifier "puVar8") (+ "+") (number_literal "0x1b364")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (*piVar3 != 0) goto LAB_0001a458;" (if "if") (parenthesized_expression "(*piVar3 != 0)" (( "(") (binary_expression "*piVar3 != 0" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001a458;" (goto "goto") (statement_identifier "LAB_0001a458") (; ";"))) (do_statement "do {\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  } while( true );" (do "do") (compound_statement "{\n    do_exit(4);\nLAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;\n    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);\n    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);\n    (**(code **)(puVar8 + 0x1b394))(0);\n  }" ({ "{") (expression_statement "do_exit(4);" (call_expression "do_exit(4)" (identifier "do_exit") (argument_list "(4)" (( "(") (number_literal "4") () ")"))) (; ";")) (labeled_statement "LAB_0001a458:\n    puVar6 = (undefined4 *)*puVar6;" (statement_identifier "LAB_0001a458") (: ":") (expression_statement "puVar6 = (undefined4 *)*puVar6;" (assignment_expression "puVar6 = (undefined4 *)*puVar6" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)*puVar6" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar6" (* "*") (identifier "puVar6")))) (; ";"))) (expression_statement "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);" (assignment_expression "uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" (identifier "uVar2") (= "=") (call_expression "(**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b3a0))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b3a0)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b3a0)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b3a0)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b3a0)" (( "(") (binary_expression "puVar8 + 0x1b3a0" (identifier "puVar8") (+ "+") (number_literal "0x1b3a0")) () ")"))))) () ")")) (argument_list "(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5)" (( "(") (number_literal "0") (, ",") (binary_expression "*(int *)(puVar8 + 0x1b150) + 0x3180" (pointer_expression "*(int *)(puVar8 + 0x1b150)" (* "*") (cast_expression "(int *)(puVar8 + 0x1b150)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + 0x1b150)" (( "(") (binary_expression "puVar8 + 0x1b150" (identifier "puVar8") (+ "+") (number_literal "0x1b150")) () ")")))) (+ "+") (number_literal "0x3180")) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);" (call_expression "(**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b338))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b338)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b338)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b338)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b338)" (( "(") (binary_expression "puVar8 + 0x1b338" (identifier "puVar8") (+ "+") (number_literal "0x1b338")) () ")"))))) () ")")) (argument_list "(puVar6,1,uVar2)" (( "(") (identifier "puVar6") (, ",") (number_literal "1") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "(**(code **)(puVar8 + 0x1b394))(0);" (call_expression "(**(code **)(puVar8 + 0x1b394))(0)" (parenthesized_expression "(**(code **)(puVar8 + 0x1b394))" (( "(") (pointer_expression "**(code **)(puVar8 + 0x1b394)" (* "*") (pointer_expression "*(code **)(puVar8 + 0x1b394)" (* "*") (cast_expression "(code **)(puVar8 + 0x1b394)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + 0x1b394)" (( "(") (binary_expression "puVar8 + 0x1b394" (identifier "puVar8") (+ "+") (number_literal "0x1b394")) () ")"))))) () ")")) (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

void * function_1(void *ptr,type_1 size)

{
  void *var_1;
  type_2 uVar2;
  int *piVar3;
  type_2 uVar4;
  type_2 uVar5;
  type_2 *puVar6;
  type_2 uVar7;
  type_3 *var_4;
  
  var_1 = (void *)(*(type_4 *)PTR_realloc_00035720)();
  if (var_1 != (void *)0x0) {
    return var_1;
  }
  uVar5 = *(type_2 *)PTR_stderr_00035758;
  uVar2 = (*(type_4 *)PTR_dcgettext_00035738)(0,var_2 + 0x3144,5);
  uVar4 = 1;
  (*(type_4 *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);
  uVar5 = 5;
  var_4 = PTR_do_exit_00035654;
  var_3(5);
  puVar6 = *(type_2 **)(var_4 + 0x1b3c0);
  uVar7 = *puVar6;
  uVar2 = (**(type_4 **)(var_4 + 0x1b3a0))(0,*(int *)(var_4 + 0x1b150) + 0x3168,5);
  (**(type_4 **)(var_4 + 0x1b338))(uVar7,1,uVar2);
  (**(type_4 **)(var_4 + 0x1b338))(*puVar6,1,uVar5,uVar4);
  (**(type_4 **)(var_4 + 0x1b344))(10,*puVar6);
  piVar3 = (int *)(**(type_4 **)(var_4 + 0x1b364))();
  if (*piVar3 != 0) goto LAB_0001a458;
  do {
    var_3(4);
LAB_0001a458:
    puVar6 = (type_2 *)*puVar6;
    uVar2 = (**(type_4 **)(var_4 + 0x1b3a0))(0,*(int *)(var_4 + 0x1b150) + 0x3180,5);
    (**(type_4 **)(var_4 + 0x1b338))(puVar6,1,uVar2);
    (**(type_4 **)(var_4 + 0x1b394))(0);
  } while( true );
}


(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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (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 (number_literal) (binary_expression left: (identifier) right: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (identifier) (number_literal) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (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))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal) (binary_expression left: (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))))) right: (number_literal)) (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (identifier) (number_literal) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (number_literal))))) condition: (parenthesized_expression (true))))))

void MASKED(void)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  undefined *puVar8;
  
  iVar1 = (*(code *)PTR_realloc_00035720)();
  if (iVar1 != 0) {
    return;
  }
  uVar5 = *(undefined4 *)PTR_stderr_00035758;
  uVar2 = (*(code *)PTR_dcgettext_00035738)(0,PTR_LAB_000354e8 + 0x3144,5);
  uVar4 = 1;
  (*(code *)PTR___fprintf_chk_000356d0)(uVar5,1,uVar2);
  uVar5 = 5;
  puVar8 = PTR_do_exit_00035654;
  do_exit(5);
  puVar6 = *(undefined4 **)(puVar8 + 0x1b3c0);
  uVar7 = *puVar6;
  uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3168,5);
  (**(code **)(puVar8 + 0x1b338))(uVar7,1,uVar2);
  (**(code **)(puVar8 + 0x1b338))(*puVar6,1,uVar5,uVar4);
  (**(code **)(puVar8 + 0x1b344))(10,*puVar6);
  piVar3 = (int *)(**(code **)(puVar8 + 0x1b364))();
  if (*piVar3 != 0) goto LAB_0001a458;
  do {
    do_exit(4);
LAB_0001a458:
    puVar6 = (undefined4 *)*puVar6;
    uVar2 = (**(code **)(puVar8 + 0x1b3a0))(0,*(int *)(puVar8 + 0x1b150) + 0x3180,5);
    (**(code **)(puVar8 + 0x1b338))(puVar6,1,uVar2);
    (**(code **)(puVar8 + 0x1b394))(0);
  } while( true );
}

