
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void dprint_statement(lang_statement_union_type *s,int n)

{
  lang_output_section_statement_type *os;
  FILE *pFVar1;
  int iVar2;
  
  pFVar1 = config.map_file;
  os = abs_output_section;
  config.map_file = *(FILE **)PTR_stderr_00083f98;
  if (n < 0) {
    if (s != (lang_statement_union_type *)0x0) {
      do {
        print_statement(s,os);
        s = (s->header).next;
      } while (s != (lang_statement_union *)0x0);
      config.map_file = pFVar1;
      return;
    }
  }
  else if (s != (lang_statement_union_type *)0x0) {
    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {
      print_statement(s,abs_output_section);
      s = (s->header).next;
      if (s == (lang_statement_union *)0x0) {
        config.map_file = pFVar1;
        return;
      }
    }
  }
  config.map_file = pFVar1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_00024fa0(int *param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = DAT_00084d10;
  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;
  if (param_2 < 0) {
    if (param_1 != (int *)0x0) {
      do {
        FUN_0001f770();
        param_1 = (int *)*param_1;
      } while (param_1 != (int *)0x0);
      DAT_00084d10 = uVar1;
      return;
    }
  }
  else if (param_1 != (int *)0x0) {
    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {
      FUN_0001f770();
      param_1 = (int *)*param_1;
      if (param_1 == (int *)0x0) {
        DAT_00084d10 = uVar1;
        return;
      }
    }
  }
  DAT_00084d10 = uVar1;
  return;
}


CALL 0x0001b122
ADD EAX,0x5f05b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
LEA EDI,[EAX + 0xcc0]
MOV EDX,dword ptr [EAX + 0xffffff98]
MOV ECX,dword ptr [ESP + 0x34]
MOV EBX,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [EDI + 0x50]
MOV EDX,dword ptr [EDX]
MOV dword ptr [ESP + 0xc],ESI
MOV dword ptr [EDI + 0x50],EDX
TEST ECX,ECX
JS 0x00025020
TEST EBX,EBX
JZ 0x00025007
LEA EBP,[ECX + -0x1]
LEA ESI,[EAX + 0xb6c]
CMP EBP,-0x1
JNZ 0x00024ff8
JMP 0x00025007
SUB EBP,0x1
CMP EBP,-0x1
JZ 0x00025007
MOV EDX,dword ptr [ESI]
MOV EAX,EBX
CALL 0x0001f770
MOV EBX,dword ptr [EBX]
TEST EBX,EBX
JNZ 0x00024ff0
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EDI + 0x50],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[EAX + 0xb6c]
MOV ESI,dword ptr [EAX]
TEST EBX,EBX
JZ 0x00025007
LEA ESI,[ESI]
MOV EAX,EBX
MOV EDX,ESI
CALL 0x0001f770
MOV EBX,dword ptr [EBX]
TEST EBX,EBX
JNZ 0x00025030
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EDI + 0x50],EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00024fa0(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}\n\n" comment (function_definition "void FUN_00024fa0(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00024fa0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = DAT_00084d10;" (assignment_expression "uVar1 = DAT_00084d10" identifier = identifier) ;) (expression_statement "DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;" (assignment_expression "DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00083f98" * (cast_expression "(undefined4 *)PTR_stderr_00083f98" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }" { (if_statement "if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\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      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }" { (do_statement "do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);" do (compound_statement "{\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      }" { (expression_statement "FUN_0001f770();" (call_expression "FUN_0001f770()" identifier (argument_list "()" ( ))) ;) (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 "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" else (if_statement "if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\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    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" { (for_statement "for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }" for ( (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ; (binary_expression "param_2 != -1" identifier != number_literal) ; (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ) (compound_statement "{\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }" { (expression_statement "FUN_0001f770();" (call_expression "FUN_0001f770()" identifier (argument_list "()" ( ))) ;) (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))) ;) (if_statement "if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\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        DAT_00084d10 = uVar1;\n        return;\n      }" { (expression_statement "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) })) })))) (expression_statement "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid dprint_statement(lang_statement_union_type *s,int n)\n\n{\n  lang_output_section_statement_type *os;\n  FILE *pFVar1;\n  int iVar2;\n  \n  pFVar1 = config.map_file;\n  os = abs_output_section;\n  config.map_file = *(FILE **)PTR_stderr_00083f98;\n  if (n < 0) {\n    if (s != (lang_statement_union_type *)0x0) {\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }\n  }\n  else if (s != (lang_statement_union_type *)0x0) {\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }\n  config.map_file = pFVar1;\n  return;\n}\n\n" comment (function_definition "void dprint_statement(lang_statement_union_type *s,int n)\n\n{\n  lang_output_section_statement_type *os;\n  FILE *pFVar1;\n  int iVar2;\n  \n  pFVar1 = config.map_file;\n  os = abs_output_section;\n  config.map_file = *(FILE **)PTR_stderr_00083f98;\n  if (n < 0) {\n    if (s != (lang_statement_union_type *)0x0) {\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }\n  }\n  else if (s != (lang_statement_union_type *)0x0) {\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }\n  config.map_file = pFVar1;\n  return;\n}" primitive_type (function_declarator "dprint_statement(lang_statement_union_type *s,int n)" identifier (parameter_list "(lang_statement_union_type *s,int n)" ( (parameter_declaration "lang_statement_union_type *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "int n" primitive_type identifier) ))) (compound_statement "{\n  lang_output_section_statement_type *os;\n  FILE *pFVar1;\n  int iVar2;\n  \n  pFVar1 = config.map_file;\n  os = abs_output_section;\n  config.map_file = *(FILE **)PTR_stderr_00083f98;\n  if (n < 0) {\n    if (s != (lang_statement_union_type *)0x0) {\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }\n  }\n  else if (s != (lang_statement_union_type *)0x0) {\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }\n  config.map_file = pFVar1;\n  return;\n}" { (declaration "lang_output_section_statement_type *os;" type_identifier (pointer_declarator "*os" * identifier) ;) (declaration "FILE *pFVar1;" type_identifier (pointer_declarator "*pFVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "pFVar1 = config.map_file;" (assignment_expression "pFVar1 = config.map_file" identifier = (field_expression "config.map_file" identifier . field_identifier)) ;) (expression_statement "os = abs_output_section;" (assignment_expression "os = abs_output_section" identifier = identifier) ;) (expression_statement "config.map_file = *(FILE **)PTR_stderr_00083f98;" (assignment_expression "config.map_file = *(FILE **)PTR_stderr_00083f98" (field_expression "config.map_file" identifier . field_identifier) = (pointer_expression "*(FILE **)PTR_stderr_00083f98" * (cast_expression "(FILE **)PTR_stderr_00083f98" ( (type_descriptor "FILE **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (if_statement "if (n < 0) {\n    if (s != (lang_statement_union_type *)0x0) {\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }\n  }\n  else if (s != (lang_statement_union_type *)0x0) {\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(n < 0)" ( (binary_expression "n < 0" identifier < number_literal) )) (compound_statement "{\n    if (s != (lang_statement_union_type *)0x0) {\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }\n  }" { (if_statement "if (s != (lang_statement_union_type *)0x0) {\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }" if (parenthesized_expression "(s != (lang_statement_union_type *)0x0)" ( (binary_expression "s != (lang_statement_union_type *)0x0" identifier != (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);\n      config.map_file = pFVar1;\n      return;\n    }" { (do_statement "do {\n        print_statement(s,os);\n        s = (s->header).next;\n      } while (s != (lang_statement_union *)0x0);" do (compound_statement "{\n        print_statement(s,os);\n        s = (s->header).next;\n      }" { (expression_statement "print_statement(s,os);" (call_expression "print_statement(s,os)" identifier (argument_list "(s,os)" ( identifier , identifier ))) ;) (expression_statement "s = (s->header).next;" (assignment_expression "s = (s->header).next" identifier = (field_expression "(s->header).next" (parenthesized_expression "(s->header)" ( (field_expression "s->header" identifier -> field_identifier) )) . field_identifier)) ;) }) while (parenthesized_expression "(s != (lang_statement_union *)0x0)" ( (binary_expression "s != (lang_statement_union *)0x0" identifier != (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "config.map_file = pFVar1;" (assignment_expression "config.map_file = pFVar1" (field_expression "config.map_file" identifier . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (s != (lang_statement_union_type *)0x0) {\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }" else (if_statement "if (s != (lang_statement_union_type *)0x0) {\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(s != (lang_statement_union_type *)0x0)" ( (binary_expression "s != (lang_statement_union_type *)0x0" identifier != (cast_expression "(lang_statement_union_type *)0x0" ( (type_descriptor "lang_statement_union_type *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }\n  }" { (for_statement "for (iVar2 = n + -1; iVar2 != -1; iVar2 = iVar2 + -1) {\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }" for ( (assignment_expression "iVar2 = n + -1" identifier = (binary_expression "n + -1" identifier + number_literal)) ; (binary_expression "iVar2 != -1" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n      print_statement(s,abs_output_section);\n      s = (s->header).next;\n      if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }\n    }" { (expression_statement "print_statement(s,abs_output_section);" (call_expression "print_statement(s,abs_output_section)" identifier (argument_list "(s,abs_output_section)" ( identifier , identifier ))) ;) (expression_statement "s = (s->header).next;" (assignment_expression "s = (s->header).next" identifier = (field_expression "(s->header).next" (parenthesized_expression "(s->header)" ( (field_expression "s->header" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if (s == (lang_statement_union *)0x0) {\n        config.map_file = pFVar1;\n        return;\n      }" if (parenthesized_expression "(s == (lang_statement_union *)0x0)" ( (binary_expression "s == (lang_statement_union *)0x0" identifier == (cast_expression "(lang_statement_union *)0x0" ( (type_descriptor "lang_statement_union *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        config.map_file = pFVar1;\n        return;\n      }" { (expression_statement "config.map_file = pFVar1;" (assignment_expression "config.map_file = pFVar1" (field_expression "config.map_file" identifier . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) })) })))) (expression_statement "config.map_file = pFVar1;" (assignment_expression "config.map_file = pFVar1" (field_expression "config.map_file" identifier . field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00024fa0(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_00024fa0(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00024fa0(int *param_1,int param_2)" identifier (parameter_list "(int *param_1,int param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = DAT_00084d10;" (assignment_expression "uVar1 = DAT_00084d10" identifier = identifier) ;) (expression_statement "DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;" (assignment_expression "DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98" identifier = (pointer_expression "*(undefined4 *)PTR_stderr_00083f98" * (cast_expression "(undefined4 *)PTR_stderr_00083f98" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }" { (if_statement "if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\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      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }" { (do_statement "do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);" do (compound_statement "{\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      }" { (expression_statement "FUN_0001f770();" (call_expression "FUN_0001f770()" identifier (argument_list "()" ( ))) ;) (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 "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" else (if_statement "if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\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    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" { (for_statement "for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }" for ( (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ; (binary_expression "param_2 != -1" identifier != number_literal) ; (assignment_expression "param_2 = param_2 + -1" identifier = (binary_expression "param_2 + -1" identifier + number_literal)) ) (compound_statement "{\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }" { (expression_statement "FUN_0001f770();" (call_expression "FUN_0001f770()" identifier (argument_list "()" ( ))) ;) (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))) ;) (if_statement "if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\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        DAT_00084d10 = uVar1;\n        return;\n      }" { (expression_statement "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" identifier = identifier) ;) (return_statement "return;" return ;) })) })) })))) (expression_statement "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" identifier = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (binary_expression IDENT + LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * 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 = IDENT) ;) (return_statement return ;) })) })) })))) (expression_statement (assignment_expression IDENT = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00024fa0(int *param_1,int param_2)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024fa0(int *param_1,int param_2)" (identifier "FUN_00024fa0") (parameter_list "(int *param_1,int param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = DAT_00084d10;\n  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;\n  if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }\n  DAT_00084d10 = uVar1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = DAT_00084d10;" (assignment_expression "uVar1 = DAT_00084d10" (identifier "uVar1") (= "=") (identifier "DAT_00084d10")) (; ";")) (expression_statement "DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;" (assignment_expression "DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98" (identifier "DAT_00084d10") (= "=") (pointer_expression "*(undefined4 *)PTR_stderr_00083f98" (* "*") (cast_expression "(undefined4 *)PTR_stderr_00083f98" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stderr_00083f98")))) (; ";")) (if_statement "if (param_2 < 0) {\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }\n  else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }\n  }" ({ "{") (if_statement "if (param_1 != (int *)0x0) {\n      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\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      do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);\n      DAT_00084d10 = uVar1;\n      return;\n    }" ({ "{") (do_statement "do {\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      } while (param_1 != (int *)0x0);" (do "do") (compound_statement "{\n        FUN_0001f770();\n        param_1 = (int *)*param_1;\n      }" ({ "{") (expression_statement "FUN_0001f770();" (call_expression "FUN_0001f770()" (identifier "FUN_0001f770") (argument_list "()" (( "(") () ")"))) (; ";")) (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 "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" (identifier "DAT_00084d10") (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" (else "else") (if_statement "if (param_1 != (int *)0x0) {\n    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\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    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }\n  }" ({ "{") (for_statement "for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }" (for "for") (( "(") (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) (; ";") (binary_expression "param_2 != -1" (identifier "param_2") (!= "!=") (number_literal "-1")) (; ";") (assignment_expression "param_2 = param_2 + -1" (identifier "param_2") (= "=") (binary_expression "param_2 + -1" (identifier "param_2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      FUN_0001f770();\n      param_1 = (int *)*param_1;\n      if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\n      }\n    }" ({ "{") (expression_statement "FUN_0001f770();" (call_expression "FUN_0001f770()" (identifier "FUN_0001f770") (argument_list "()" (( "(") () ")"))) (; ";")) (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")))) (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n        DAT_00084d10 = uVar1;\n        return;\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        DAT_00084d10 = uVar1;\n        return;\n      }" ({ "{") (expression_statement "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" (identifier "DAT_00084d10") (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (} "}"))))) (expression_statement "DAT_00084d10 = uVar1;" (assignment_expression "DAT_00084d10 = uVar1" (identifier "DAT_00084d10") (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void function_1(type_1 *var_2,int var_1)

{
  type_2 *os;
  type_3 *pFVar1;
  int var_4;
  
  pFVar1 = config.map_file;
  os = abs_output_section;
  config.map_file = *(type_3 **)PTR_stderr_00083f98;
  if (var_1 < 0) {
    if (var_2 != (type_1 *)0x0) {
      do {
        var_3(var_2,os);
        var_2 = (var_2->header).next;
      } while (var_2 != (type_4 *)0x0);
      config.map_file = pFVar1;
      return;
    }
  }
  else if (var_2 != (type_1 *)0x0) {
    for (var_4 = var_1 + -1; var_4 != -1; var_4 = var_4 + -1) {
      var_3(var_2,abs_output_section);
      var_2 = (var_2->header).next;
      if (var_2 == (type_4 *)0x0) {
        config.map_file = pFVar1;
        return;
      }
    }
  }
  config.map_file = pFVar1;
  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))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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 (assignment_expression left: (identifier) right: (identifier))) (return_statement)))) alternative: (else_clause (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 (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (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: (identifier))) (return_statement))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(int *param_1,int param_2)

{
  undefined4 uVar1;
  
  uVar1 = DAT_00084d10;
  DAT_00084d10 = *(undefined4 *)PTR_stderr_00083f98;
  if (param_2 < 0) {
    if (param_1 != (int *)0x0) {
      do {
        FUN_0001f770();
        param_1 = (int *)*param_1;
      } while (param_1 != (int *)0x0);
      DAT_00084d10 = uVar1;
      return;
    }
  }
  else if (param_1 != (int *)0x0) {
    for (param_2 = param_2 + -1; param_2 != -1; param_2 = param_2 + -1) {
      FUN_0001f770();
      param_1 = (int *)*param_1;
      if (param_1 == (int *)0x0) {
        DAT_00084d10 = uVar1;
        return;
      }
    }
  }
  DAT_00084d10 = uVar1;
  return;
}

