
void debug_script(change *sp)

{
  undefined *puVar1;
  undefined *puVar2;
  
  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);
  puVar1 = PTR_stderr_0005b5b4;
  if (sp != (change *)0x0) {
    puVar2 = PTR_LAB_0005b128 + 0x7c74;
    do {
      (*(code *)PTR___fprintf_chk_0005b448)
                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);
      sp = sp->link;
    } while (sp != (change *)0x0);
  }
                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);
  return;
}



void FUN_00020880(int *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  
  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);
  puVar1 = PTR_stderr_0005b5b4;
  if (param_1 != (int *)0x0) {
    puVar2 = PTR_LAB_0005b128 + 0x7c74;
    do {
      (*(code *)PTR___fprintf_chk_0005b448)
                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);
      param_1 = (int *)*param_1;
    } while (param_1 != (int *)0x0);
  }
                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);
  return;
}


lui gp,0x4
addiu gp,gp,0x2870
addu gp,gp,t9
lw v0,-0x7c54(gp)
addiu sp,sp,-0x38
lw t9,-0x7b98(gp)
sw s0,0x28(sp)
or s0,a0,zero
sw gp,0x20(sp)
sw s2,0x30(sp)
sw ra,0x34(sp)
sw s1,0x2c(sp)
jalr t9
_lw a0,0x0(v0)
lw gp,0x20(sp)
beq s0,zero,0x00020908
_lw s2,-0x7b3c(gp)
lw s1,-0x7fc8(gp)
addiu s1,s1,0x7c74
lw v0,0x4(s0)
li a1,0x1
lw a3,0xc(s0)
or a2,s1,zero
lw t9,-0x7ca8(gp)
sw v0,0x18(sp)
lw v0,0x8(s0)
lw a0,0x0(s2)
sw v0,0x14(sp)
lw v0,0x10(s0)
jalr t9
_sw v0,0x10(sp)
lw s0,0x0(s0)
bne s0,zero,0x000208cc
_lw gp,0x20(sp)
lw a0,0x0(s2)
lw ra,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
lw t9,-0x7b98(gp)
jr t9
_addiu sp,sp,0x38
(translation_unit "void FUN_00020880(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}\n\n" (function_definition "void FUN_00020880(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00020880(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" ( (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" * (cast_expression "(code *)PTR_fflush_unlocked_0005b558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stdout_0005b49c)" ( (pointer_expression "*(undefined4 *)PTR_stdout_0005b49c" * (cast_expression "(undefined4 *)PTR_stdout_0005b49c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "puVar1 = PTR_stderr_0005b5b4;" (assignment_expression "puVar1 = PTR_stderr_0005b5b4" identifier = identifier) ;) (if_statement "if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }" { (expression_statement "puVar2 = PTR_LAB_0005b128 + 0x7c74;" (assignment_expression "puVar2 = PTR_LAB_0005b128 + 0x7c74" identifier = (binary_expression "PTR_LAB_0005b128 + 0x7c74" identifier + number_literal)) ;) (do_statement "do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);" do (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);" (call_expression "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1])" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0005b448)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0005b448" * (cast_expression "(code *)PTR___fprintf_chk_0005b448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1])" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (subscript_expression "param_1[3]" identifier [ number_literal ]) , (subscript_expression "param_1[4]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) while (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) comment comment (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" ( (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" * (cast_expression "(code *)PTR_fflush_unlocked_0005b558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void debug_script(change *sp)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (sp != (change *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    } while (sp != (change *)0x0);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}\n\n" (function_definition "void debug_script(change *sp)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (sp != (change *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    } while (sp != (change *)0x0);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" primitive_type (function_declarator "debug_script(change *sp)" identifier (parameter_list "(change *sp)" ( (parameter_declaration "change *sp" type_identifier (pointer_declarator "*sp" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (sp != (change *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    } while (sp != (change *)0x0);\n  }\n                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" ( (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" * (cast_expression "(code *)PTR_fflush_unlocked_0005b558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stdout_0005b49c)" ( (pointer_expression "*(undefined4 *)PTR_stdout_0005b49c" * (cast_expression "(undefined4 *)PTR_stdout_0005b49c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "puVar1 = PTR_stderr_0005b5b4;" (assignment_expression "puVar1 = PTR_stderr_0005b5b4" identifier = identifier) ;) (if_statement "if (sp != (change *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    } while (sp != (change *)0x0);\n  }" if (parenthesized_expression "(sp != (change *)0x0)" ( (binary_expression "sp != (change *)0x0" identifier != (cast_expression "(change *)0x0" ( (type_descriptor "change *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    } while (sp != (change *)0x0);\n  }" { (expression_statement "puVar2 = PTR_LAB_0005b128 + 0x7c74;" (assignment_expression "puVar2 = PTR_LAB_0005b128 + 0x7c74" identifier = (binary_expression "PTR_LAB_0005b128 + 0x7c74" identifier + number_literal)) ;) (do_statement "do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    } while (sp != (change *)0x0);" do (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);\n      sp = sp->link;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted);" (call_expression "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted)" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0005b448)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0005b448" * (cast_expression "(code *)PTR___fprintf_chk_0005b448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1,1,puVar2,sp->line0,sp->line1,sp->deleted,sp->inserted)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (field_expression "sp->line0" identifier -> field_identifier) , (field_expression "sp->line1" identifier -> field_identifier) , (field_expression "sp->deleted" identifier -> field_identifier) , (field_expression "sp->inserted" identifier -> field_identifier) ))) ;) (expression_statement "sp = sp->link;" (assignment_expression "sp = sp->link" identifier = (field_expression "sp->link" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(sp != (change *)0x0)" ( (binary_expression "sp != (change *)0x0" identifier != (cast_expression "(change *)0x0" ( (type_descriptor "change *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) comment comment (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" ( (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" * (cast_expression "(code *)PTR_fflush_unlocked_0005b558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00020880(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    \n                    \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}\n\n" (function_definition "void FUN_00020880(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    \n                    \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" primitive_type (function_declarator "FUN_00020880(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    \n                    \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" ( (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" * (cast_expression "(code *)PTR_fflush_unlocked_0005b558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)PTR_stdout_0005b49c)" ( (pointer_expression "*(undefined4 *)PTR_stdout_0005b49c" * (cast_expression "(undefined4 *)PTR_stdout_0005b49c" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (expression_statement "puVar1 = PTR_stderr_0005b5b4;" (assignment_expression "puVar1 = PTR_stderr_0005b5b4" identifier = identifier) ;) (if_statement "if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }" { (expression_statement "puVar2 = PTR_LAB_0005b128 + 0x7c74;" (assignment_expression "puVar2 = PTR_LAB_0005b128 + 0x7c74" identifier = (binary_expression "PTR_LAB_0005b128 + 0x7c74" identifier + number_literal)) ;) (do_statement "do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);" do (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    }" { (expression_statement "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);" (call_expression "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1])" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0005b448)" ( (pointer_expression "*(code *)PTR___fprintf_chk_0005b448" * (cast_expression "(code *)PTR___fprintf_chk_0005b448" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1])" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) , number_literal , identifier , (subscript_expression "param_1[3]" identifier [ number_literal ]) , (subscript_expression "param_1[4]" identifier [ number_literal ]) , (subscript_expression "param_1[2]" identifier [ number_literal ]) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) }) while (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" ( (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" * (cast_expression "(code *)PTR_fflush_unlocked_0005b558" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)puVar1)" ( (pointer_expression "*(undefined4 *)puVar1" * (cast_expression "(undefined4 *)puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) , LIT , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00020880(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    \n                    \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00020880(int *param_1)" (identifier "FUN_00020880") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);\n  puVar1 = PTR_stderr_0005b5b4;\n  if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }\n                    \n                    \n  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" (( "(") (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" (* "*") (cast_expression "(code *)PTR_fflush_unlocked_0005b558" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_unlocked_0005b558"))) () ")")) (argument_list "(*(undefined4 *)PTR_stdout_0005b49c)" (( "(") (pointer_expression "*(undefined4 *)PTR_stdout_0005b49c" (* "*") (cast_expression "(undefined4 *)PTR_stdout_0005b49c" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdout_0005b49c"))) () ")"))) (; ";")) (expression_statement "puVar1 = PTR_stderr_0005b5b4;" (assignment_expression "puVar1 = PTR_stderr_0005b5b4" (identifier "puVar1") (= "=") (identifier "PTR_stderr_0005b5b4")) (; ";")) (if_statement "if (param_1 != (int *)0x0) {\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar2 = PTR_LAB_0005b128 + 0x7c74;\n    do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);\n  }" ({ "{") (expression_statement "puVar2 = PTR_LAB_0005b128 + 0x7c74;" (assignment_expression "puVar2 = PTR_LAB_0005b128 + 0x7c74" (identifier "puVar2") (= "=") (binary_expression "PTR_LAB_0005b128 + 0x7c74" (identifier "PTR_LAB_0005b128") (+ "+") (number_literal "0x7c74"))) (; ";")) (do_statement "do {\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    } while (param_1 != (int *)0x0);" (do "do") (compound_statement "{\n      (*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);\n      param_1 = (int *)*param_1;\n    }" ({ "{") (expression_statement "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);" (call_expression "(*(code *)PTR___fprintf_chk_0005b448)\n                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1])" (parenthesized_expression "(*(code *)PTR___fprintf_chk_0005b448)" (( "(") (pointer_expression "*(code *)PTR___fprintf_chk_0005b448" (* "*") (cast_expression "(code *)PTR___fprintf_chk_0005b448" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___fprintf_chk_0005b448"))) () ")")) (argument_list "(*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1])" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (, ",") (number_literal "1") (, ",") (identifier "puVar2") (, ",") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "param_1 = (int *)*param_1;" (assignment_expression "param_1 = (int *)*param_1" (identifier "param_1") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);" (call_expression "(*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1)" (parenthesized_expression "(*(code *)PTR_fflush_unlocked_0005b558)" (( "(") (pointer_expression "*(code *)PTR_fflush_unlocked_0005b558" (* "*") (cast_expression "(code *)PTR_fflush_unlocked_0005b558" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_unlocked_0005b558"))) () ")")) (argument_list "(*(undefined4 *)puVar1)" (( "(") (pointer_expression "*(undefined4 *)puVar1" (* "*") (cast_expression "(undefined4 *)puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1)

{
  type_2 *puVar1;
  type_2 *puVar2;
  
  (*(type_3 *)PTR_fflush_unlocked_0005b558)(*(type_4 *)PTR_stdout_0005b49c);
  puVar1 = PTR_stderr_0005b5b4;
  if (var_1 != (type_1 *)0x0) {
    puVar2 = var_2 + 0x7c74;
    do {
      (*(type_3 *)PTR___fprintf_chk_0005b448)
                (*(type_4 *)puVar1,1,puVar2,var_1->line0,var_1->line1,var_1->deleted,var_1->inserted);
      var_1 = var_1->link;
    } while (var_1 != (type_1 *)0x0);
  }
                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(type_3 *)PTR_fflush_unlocked_0005b558)(*(type_4 *)puVar1);
  return;
}


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

void MASKED(int *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  
  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)PTR_stdout_0005b49c);
  puVar1 = PTR_stderr_0005b5b4;
  if (param_1 != (int *)0x0) {
    puVar2 = PTR_LAB_0005b128 + 0x7c74;
    do {
      (*(code *)PTR___fprintf_chk_0005b448)
                (*(undefined4 *)puVar1,1,puVar2,param_1[3],param_1[4],param_1[2],param_1[1]);
      param_1 = (int *)*param_1;
    } while (param_1 != (int *)0x0);
  }
                    /* WARNING: Could not recover jumptable at 0x00020920. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (*(code *)PTR_fflush_unlocked_0005b558)(*(undefined4 *)puVar1);
  return;
}

