
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 lex_warn_invalid(char *where,char *what)

{
  byte bVar1;
  uint uVar2;
  char *pcVar3;
  char *fmt;
  char buf [5];
  
  if (ldfile_assumed_script == 0) {
    uVar2 = (uint)(byte)*what;
    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];
  }
  else {
    bfd_set_error(0xc);
    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];
    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);
    einfo(fmt,pcVar3);
    uVar2 = (uint)(byte)*what;
    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];
  }
  if ((bVar1 & 0x10) == 0) {
    what = buf;
    sprintf(what,"\\%03o",uVar2);
  }
  pcVar3 = (char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);
  einfo(pcVar3,0,what,where);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 FUN_00018680(undefined4 param_1,byte *param_2)

{
  byte bVar1;
  uint uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  byte local_21 [13];
  undefined4 uStack_14;
  
  uStack_14 = 0x1868d;
  if (DAT_0009195c == 0) {
    uVar2 = (uint)*param_2;
    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];
  }
  else {
    bfd_set_error(0xc);
    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);
    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);
    FUN_00031760(uVar4,uVar3);
    uVar2 = (uint)*param_2;
    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];
  }
  if ((bVar1 & 0x10) == 0) {
    param_2 = local_21;
    sprintf((char *)param_2,"\\%03o",uVar2);
  }
  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);
  FUN_00031760(uVar3,0,param_2,param_1);
  return;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00015a80
ADD EBX,0x78973
SUB ESP,0x1c
LEA EAX,[EBX + 0x95c]
MOV EBP,dword ptr [EAX]
TEST EBP,EBP
JNZ 0x000186e0
MOVZX EAX,byte ptr [ESI]
MOV EDX,dword ptr [EBX + 0xffffffa8]
TEST byte ptr [EDX + EAX*0x2],0x10
JZ 0x0001872e
SUB ESP,0x4
LEA EAX,[EBX + 0xfffb1024]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142f0
PUSH EDI
PUSH ESI
PUSH 0x0
PUSH EAX
CALL 0x00031760
ADD ESP,0x3c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH 0xc
CALL 0x00014490
MOV EAX,dword ptr [EBX + 0x654]
ADD ESP,0xc
XOR EDX,EDX
PUSH 0x5
TEST EAX,EAX
SETNZ DL
SUB EAX,EDX
MOV EBP,dword ptr [EBX + EAX*0x4 + 0x6e0]
LEA EAX,[EBX + 0xfffb1004]
PUSH EAX
PUSH 0x0
CALL 0x000142f0
POP EDX
POP ECX
PUSH EBP
PUSH EAX
CALL 0x00031760
MOVZX EAX,byte ptr [ESI]
MOV EDX,dword ptr [EBX + 0xffffffa8]
ADD ESP,0x10
TEST byte ptr [EDX + EAX*0x2],0x10
JNZ 0x000186b1
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xfffb1213]
PUSH EAX
LEA ESI,[ESP + 0x17]
PUSH ESI
CALL 0x00014a20
ADD ESP,0x10
JMP 0x000186b1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00018680(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00018680(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018680(undefined4 param_1,byte *param_2)" identifier (parameter_list "(undefined4 param_1,byte *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte local_21 [13];" type_identifier (array_declarator "local_21 [13]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1868d;" (assignment_expression "uStack_14 = 0x1868d" identifier = number_literal) ;) (if_statement "if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" if (parenthesized_expression "(DAT_0009195c == 0)" ( (binary_expression "DAT_0009195c == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" { (expression_statement "uVar2 = (uint)*param_2;" (assignment_expression "uVar2 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" identifier = (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ])) ;) }) (else_clause "else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" else (compound_statement "{\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" { (expression_statement "bfd_set_error(0xc);" (call_expression "bfd_set_error(0xc)" identifier (argument_list "(0xc)" ( number_literal ))) ;) (expression_statement "uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);" (assignment_expression "uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" identifier = (pointer_expression "*(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" * (cast_expression "(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" ( (binary_expression "&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4" (pointer_expression "&DAT_000916e0" & identifier) + (binary_expression "(DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4" (parenthesized_expression "(DAT_00091654 - (uint)(DAT_00091654 != 0))" ( (binary_expression "DAT_00091654 - (uint)(DAT_00091654 != 0)" identifier - (call_expression "(uint)(DAT_00091654 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_00091654 != 0)" ( (binary_expression "DAT_00091654 != 0" identifier != number_literal) )))) )) * number_literal)) ))))) ;) (expression_statement "uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%s: file not recognized: %E\n",5)" identifier (argument_list "(0,"%F%s: file not recognized: %E\n",5)" ( number_literal , (string_literal ""%F%s: file not recognized: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar4,uVar3);" (call_expression "FUN_00031760(uVar4,uVar3)" identifier (argument_list "(uVar4,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = (uint)*param_2;" (assignment_expression "uVar2 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" identifier = (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ])) ;) }))) (if_statement "if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }" if (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }" { (expression_statement "param_2 = local_21;" (assignment_expression "param_2 = local_21" identifier = identifier) ;) (expression_statement "sprintf((char *)param_2,"\\%03o",uVar2);" (call_expression "sprintf((char *)param_2,"\\%03o",uVar2)" identifier (argument_list "((char *)param_2,"\\%03o",uVar2)" ( (cast_expression "(char *)param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\\%03o"" " escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" identifier = (call_expression "dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" identifier (argument_list "(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" ( number_literal , (string_literal ""%P:%pS: ignoring invalid character `%s\'%s\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar3,0,param_2,param_1);" (call_expression "FUN_00031760(uVar3,0,param_2,param_1)" identifier (argument_list "(uVar3,0,param_2,param_1)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 lex_warn_invalid(char *where,char *what)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *fmt;\n  char buf [5];\n  \n  if (ldfile_assumed_script == 0) {\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];\n    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    einfo(fmt,pcVar3);\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    what = buf;\n    sprintf(what,"\\%03o",uVar2);\n  }\n  pcVar3 = (char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  einfo(pcVar3,0,what,where);\n  return;\n}\n\n" comment (function_definition "void __regparm3 lex_warn_invalid(char *where,char *what)\n\n{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *fmt;\n  char buf [5];\n  \n  if (ldfile_assumed_script == 0) {\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];\n    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    einfo(fmt,pcVar3);\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    what = buf;\n    sprintf(what,"\\%03o",uVar2);\n  }\n  pcVar3 = (char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  einfo(pcVar3,0,what,where);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "lex_warn_invalid(char *where,char *what)" identifier (parameter_list "(char *where,char *what)" ( (parameter_declaration "char *where" primitive_type (pointer_declarator "*where" * identifier)) , (parameter_declaration "char *what" primitive_type (pointer_declarator "*what" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *fmt;\n  char buf [5];\n  \n  if (ldfile_assumed_script == 0) {\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];\n    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    einfo(fmt,pcVar3);\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    what = buf;\n    sprintf(what,"\\%03o",uVar2);\n  }\n  pcVar3 = (char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  einfo(pcVar3,0,what,where);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "char buf [5];" primitive_type (array_declarator "buf [5]" identifier [ number_literal ]) ;) (if_statement "if (ldfile_assumed_script == 0) {\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];\n    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    einfo(fmt,pcVar3);\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" if (parenthesized_expression "(ldfile_assumed_script == 0)" ( (binary_expression "ldfile_assumed_script == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" { (expression_statement "uVar2 = (uint)(byte)*what;" (assignment_expression "uVar2 = (uint)(byte)*what" identifier = (binary_expression "(uint)(byte)*what" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" identifier = (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ])) ;) }) (else_clause "else {\n    bfd_set_error(0xc);\n    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];\n    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    einfo(fmt,pcVar3);\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" else (compound_statement "{\n    bfd_set_error(0xc);\n    pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];\n    fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    einfo(fmt,pcVar3);\n    uVar2 = (uint)(byte)*what;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" { (expression_statement "bfd_set_error(0xc);" (call_expression "bfd_set_error(0xc)" identifier (argument_list "(0xc)" ( number_literal ))) ;) (expression_statement "pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)];" (assignment_expression "pcVar3 = file_name_stack[include_stack_ptr - (include_stack_ptr != 0)]" identifier = (subscript_expression "file_name_stack[include_stack_ptr - (include_stack_ptr != 0)]" identifier [ (binary_expression "include_stack_ptr - (include_stack_ptr != 0)" identifier - (parenthesized_expression "(include_stack_ptr != 0)" ( (binary_expression "include_stack_ptr != 0" identifier != number_literal) ))) ])) ;) (expression_statement "fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%F%s: file not recognized: %E\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%F%s: file not recognized: %E\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%F%s: file not recognized: %E\n",5)" identifier (argument_list "(0,"%F%s: file not recognized: %E\n",5)" ( number_literal , (string_literal ""%F%s: file not recognized: %E\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt,pcVar3);" (call_expression "einfo(fmt,pcVar3)" identifier (argument_list "(fmt,pcVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = (uint)(byte)*what;" (assignment_expression "uVar2 = (uint)(byte)*what" identifier = (binary_expression "(uint)(byte)*what" (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier ))) * identifier)) ;) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" identifier = (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ])) ;) }))) (if_statement "if ((bVar1 & 0x10) == 0) {\n    what = buf;\n    sprintf(what,"\\%03o",uVar2);\n  }" if (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    what = buf;\n    sprintf(what,"\\%03o",uVar2);\n  }" { (expression_statement "what = buf;" (assignment_expression "what = buf" identifier = identifier) ;) (expression_statement "sprintf(what,"\\%03o",uVar2);" (call_expression "sprintf(what,"\\%03o",uVar2)" identifier (argument_list "(what,"\\%03o",uVar2)" ( identifier , (string_literal ""\\%03o"" " escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "pcVar3 = (char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);" (assignment_expression "pcVar3 = (char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" identifier (argument_list "(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" ( number_literal , (string_literal ""%P:%pS: ignoring invalid character `%s\'%s\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(pcVar3,0,what,where);" (call_expression "einfo(pcVar3,0,what,where)" identifier (argument_list "(pcVar3,0,what,where)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00018680(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00018680(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00018680(undefined4 param_1,byte *param_2)" identifier (parameter_list "(undefined4 param_1,byte *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "byte local_21 [13];" type_identifier (array_declarator "local_21 [13]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1868d;" (assignment_expression "uStack_14 = 0x1868d" identifier = number_literal) ;) (if_statement "if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" if (parenthesized_expression "(DAT_0009195c == 0)" ( (binary_expression "DAT_0009195c == 0" identifier == number_literal) )) (compound_statement "{\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" { (expression_statement "uVar2 = (uint)*param_2;" (assignment_expression "uVar2 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" identifier = (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ])) ;) }) (else_clause "else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" else (compound_statement "{\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" { (expression_statement "bfd_set_error(0xc);" (call_expression "bfd_set_error(0xc)" identifier (argument_list "(0xc)" ( number_literal ))) ;) (expression_statement "uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);" (assignment_expression "uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" identifier = (pointer_expression "*(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" * (cast_expression "(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" ( (binary_expression "&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4" (pointer_expression "&DAT_000916e0" & identifier) + (binary_expression "(DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4" (parenthesized_expression "(DAT_00091654 - (uint)(DAT_00091654 != 0))" ( (binary_expression "DAT_00091654 - (uint)(DAT_00091654 != 0)" identifier - (call_expression "(uint)(DAT_00091654 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(DAT_00091654 != 0)" ( (binary_expression "DAT_00091654 != 0" identifier != number_literal) )))) )) * number_literal)) ))))) ;) (expression_statement "uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5)" identifier = (call_expression "dcgettext(0,"%F%s: file not recognized: %E\n",5)" identifier (argument_list "(0,"%F%s: file not recognized: %E\n",5)" ( number_literal , (string_literal ""%F%s: file not recognized: %E\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar4,uVar3);" (call_expression "FUN_00031760(uVar4,uVar3)" identifier (argument_list "(uVar4,uVar3)" ( identifier , identifier ))) ;) (expression_statement "uVar2 = (uint)*param_2;" (assignment_expression "uVar2 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" identifier = (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" identifier [ (binary_expression "uVar2 * 2" identifier * number_literal) ])) ;) }))) (if_statement "if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }" if (parenthesized_expression "((bVar1 & 0x10) == 0)" ( (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" ( (binary_expression "bVar1 & 0x10" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }" { (expression_statement "param_2 = local_21;" (assignment_expression "param_2 = local_21" identifier = identifier) ;) (expression_statement "sprintf((char *)param_2,"\\%03o",uVar2);" (call_expression "sprintf((char *)param_2,"\\%03o",uVar2)" identifier (argument_list "((char *)param_2,"\\%03o",uVar2)" ( (cast_expression "(char *)param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""\\%03o"" " escape_sequence string_content ") , identifier ))) ;) })) (expression_statement "uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" identifier = (call_expression "dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" identifier (argument_list "(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" ( number_literal , (string_literal ""%P:%pS: ignoring invalid character `%s\'%s\n"" " string_content escape_sequence string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar3,0,param_2,param_1);" (call_expression "FUN_00031760(uVar3,0,param_2,param_1)" identifier (argument_list "(uVar3,0,param_2,param_1)" ( identifier , number_literal , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT * LIT) ])) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) )) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT * LIT) ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " escape_sequence string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content escape_sequence string_content escape_sequence ") , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00018680(undefined4 param_1,byte *param_2)\n\n{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00018680(undefined4 param_1,byte *param_2)" (identifier "FUN_00018680") (parameter_list "(undefined4 param_1,byte *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  uint uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  byte local_21 [13];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1868d;\n  if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }\n  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);\n  FUN_00031760(uVar3,0,param_2,param_1);\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "byte local_21 [13];" (type_identifier "byte") (array_declarator "local_21 [13]" (identifier "local_21") ([ "[") (number_literal "13") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1868d;" (assignment_expression "uStack_14 = 0x1868d" (identifier "uStack_14") (= "=") (number_literal "0x1868d")) (; ";")) (if_statement "if (DAT_0009195c == 0) {\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }\n  else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" (if "if") (parenthesized_expression "(DAT_0009195c == 0)" (( "(") (binary_expression "DAT_0009195c == 0" (identifier "DAT_0009195c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" ({ "{") (expression_statement "uVar2 = (uint)*param_2;" (assignment_expression "uVar2 = (uint)*param_2" (identifier "uVar2") (= "=") (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2"))) (; ";")) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" (identifier "bVar1") (= "=") (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" (identifier "PTR__sch_istable_00090fa8") ([ "[") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (] "]"))) (; ";")) (} "}")) (else_clause "else {\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" (else "else") (compound_statement "{\n    bfd_set_error(0xc);\n    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);\n    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);\n    FUN_00031760(uVar4,uVar3);\n    uVar2 = (uint)*param_2;\n    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];\n  }" ({ "{") (expression_statement "bfd_set_error(0xc);" (call_expression "bfd_set_error(0xc)" (identifier "bfd_set_error") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")"))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);" (assignment_expression "uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" (* "*") (cast_expression "(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4)" (( "(") (binary_expression "&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4" (pointer_expression "&DAT_000916e0" (& "&") (identifier "DAT_000916e0")) (+ "+") (binary_expression "(DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4" (parenthesized_expression "(DAT_00091654 - (uint)(DAT_00091654 != 0))" (( "(") (binary_expression "DAT_00091654 - (uint)(DAT_00091654 != 0)" (identifier "DAT_00091654") (- "-") (call_expression "(uint)(DAT_00091654 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(DAT_00091654 != 0)" (( "(") (binary_expression "DAT_00091654 != 0" (identifier "DAT_00091654") (!= "!=") (number_literal "0")) () ")")))) () ")")) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);" (assignment_expression "uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5)" (identifier "uVar4") (= "=") (call_expression "dcgettext(0,"%F%s: file not recognized: %E\n",5)" (identifier "dcgettext") (argument_list "(0,"%F%s: file not recognized: %E\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%F%s: file not recognized: %E\n"" (" """) (string_content "%F%s: file not recognized: %E") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031760(uVar4,uVar3);" (call_expression "FUN_00031760(uVar4,uVar3)" (identifier "FUN_00031760") (argument_list "(uVar4,uVar3)" (( "(") (identifier "uVar4") (, ",") (identifier "uVar3") () ")"))) (; ";")) (expression_statement "uVar2 = (uint)*param_2;" (assignment_expression "uVar2 = (uint)*param_2" (identifier "uVar2") (= "=") (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2"))) (; ";")) (expression_statement "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];" (assignment_expression "bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2]" (identifier "bVar1") (= "=") (subscript_expression "PTR__sch_istable_00090fa8[uVar2 * 2]" (identifier "PTR__sch_istable_00090fa8") ([ "[") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (] "]"))) (; ";")) (} "}")))) (if_statement "if ((bVar1 & 0x10) == 0) {\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }" (if "if") (parenthesized_expression "((bVar1 & 0x10) == 0)" (( "(") (binary_expression "(bVar1 & 0x10) == 0" (parenthesized_expression "(bVar1 & 0x10)" (( "(") (binary_expression "bVar1 & 0x10" (identifier "bVar1") (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    param_2 = local_21;\n    sprintf((char *)param_2,"\\%03o",uVar2);\n  }" ({ "{") (expression_statement "param_2 = local_21;" (assignment_expression "param_2 = local_21" (identifier "param_2") (= "=") (identifier "local_21")) (; ";")) (expression_statement "sprintf((char *)param_2,"\\%03o",uVar2);" (call_expression "sprintf((char *)param_2,"\\%03o",uVar2)" (identifier "sprintf") (argument_list "((char *)param_2,"\\%03o",uVar2)" (( "(") (cast_expression "(char *)param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_2")) (, ",") (string_literal ""\\%03o"" (" """) (escape_sequence "\\") (string_content "%03o") (" """)) (, ",") (identifier "uVar2") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);" (assignment_expression "uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" (identifier "uVar3") (= "=") (call_expression "dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" (identifier "dcgettext") (argument_list "(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P:%pS: ignoring invalid character `%s\'%s\n"" (" """) (string_content "%P:%pS: ignoring invalid character `%s") (escape_sequence "\'") (string_content "%s") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031760(uVar3,0,param_2,param_1);" (call_expression "FUN_00031760(uVar3,0,param_2,param_1)" (identifier "FUN_00031760") (argument_list "(uVar3,0,param_2,param_1)" (( "(") (identifier "uVar3") (, ",") (number_literal "0") (, ",") (identifier "param_2") (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 function_1(char *where,char *var_2)

{
  type_1 var_8;
  type_2 var_3;
  char *pcVar3;
  char *fmt;
  char buf [5];
  
  if (var_1 == 0) {
    var_3 = (type_2)(type_1)*var_2;
    var_8 = PTR__sch_istable_00090fa8[var_3 * 2];
  }
  else {
    var_4(0xc);
    pcVar3 = file_name_stack[var_5 - (var_5 != 0)];
    fmt = (char *)var_6(0,"%F%s: file not recognized: %E\n",5);
    var_7(fmt,pcVar3);
    var_3 = (type_2)(type_1)*var_2;
    var_8 = PTR__sch_istable_00090fa8[var_3 * 2];
  }
  if ((var_8 & 0x10) == 0) {
    var_2 = buf;
    var_9(var_2,"\\%03o",var_3);
  }
  pcVar3 = (char *)var_6(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);
  var_7(pcVar3,0,var_2,where);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))))) alternative: (else_clause (compound_statement (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)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)) (string_literal (escape_sequence) (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content) (escape_sequence) (string_content) (escape_sequence)) (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (identifier)))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void __regparm3 MASKED(undefined4 param_1,byte *param_2)

{
  byte bVar1;
  uint uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  byte local_21 [13];
  undefined4 uStack_14;
  
  uStack_14 = 0x1868d;
  if (DAT_0009195c == 0) {
    uVar2 = (uint)*param_2;
    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];
  }
  else {
    bfd_set_error(0xc);
    uVar3 = *(undefined4 *)(&DAT_000916e0 + (DAT_00091654 - (uint)(DAT_00091654 != 0)) * 4);
    uVar4 = dcgettext(0,"%F%s: file not recognized: %E\n",5);
    FUN_00031760(uVar4,uVar3);
    uVar2 = (uint)*param_2;
    bVar1 = PTR__sch_istable_00090fa8[uVar2 * 2];
  }
  if ((bVar1 & 0x10) == 0) {
    param_2 = local_21;
    sprintf((char *)param_2,"\\%03o",uVar2);
  }
  uVar3 = dcgettext(0,"%P:%pS: ignoring invalid character `%s\'%s\n",5);
  FUN_00031760(uVar3,0,param_2,param_1);
  return;
}

