
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void hppaelf_after_parse(void)

{
  char *fmt;
  byte bVar1;
  
  bVar1 = link_info._0_1_ & 3;
  if (bVar1 == 2) {
    lang_add_unique(".text");
    bVar1 = link_info._0_1_ & 3;
  }
  if (bVar1 == 1) {
    link_info.flags_1 = link_info.flags_1 | 0x8000000;
  }
  if (((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)) {
    if (link_info.dynamic_undefined_weak < 1) {
      link_info.dynamic_undefined_weak = 0;
    }
    else {
      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);
      einfo(fmt);
      link_info.dynamic_undefined_weak = 0;
    }
  }
  after_parse_default();
  return;
}



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

void FUN_00037bb0(void)

{
  undefined4 uVar1;
  byte bVar2;
  
  bVar2 = (byte)DAT_00091c20 & 3;
  if (bVar2 == 2) {
    FUN_0002a030(".text");
    bVar2 = (byte)DAT_00091c20 & 3;
  }
  if (bVar2 == 1) {
    DAT_00091c94 = DAT_00091c94 | 0x8000000;
  }
  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {
    if (DAT_00091c80 < 1) {
      DAT_00091c80 = 0;
    }
    else {
      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);
      FUN_00031760(uVar1);
      DAT_00091c80 = 0;
    }
  }
  FUN_00030250();
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00015a80
ADD EBX,0x59449
SUB ESP,0x4
LEA ESI,[EBX + 0xc20]
MOVZX EAX,byte ptr [ESI]
MOV EDX,EAX
AND EDX,0x3
CMP DL,0x2
JZ 0x00037c08
CMP DL,0x1
JNZ 0x00037bdf
OR dword ptr [ESI + 0x74],0x8000000
TEST AL,0x2
JNZ 0x00037bf7
TEST byte ptr [ESI + 0x7],0x4
JZ 0x00037bf7
MOV EAX,dword ptr [ESI + 0x60]
TEST EAX,EAX
JG 0x00037c28
MOV dword ptr [ESI + 0x60],0x0
CALL 0x00030250
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfffeeaf2]
PUSH EAX
CALL 0x0002a030
MOVZX EAX,byte ptr [ESI]
ADD ESP,0x10
MOV EDX,EAX
AND EDX,0x3
JMP 0x00037bd3
SUB ESP,0x4
LEA EAX,[EBX + 0xfffee654]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000142f0
MOV dword ptr [ESP],EAX
CALL 0x00031760
ADD ESP,0x10
MOV dword ptr [ESI + 0x60],0x0
JMP 0x00037bf7
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00037bb0(void)\n\n{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}\n\n" comment (function_definition "void FUN_00037bb0(void)\n\n{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}" primitive_type (function_declarator "FUN_00037bb0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "bVar2 = (byte)DAT_00091c20 & 3;" (assignment_expression "bVar2 = (byte)DAT_00091c20 & 3" identifier = (binary_expression "(byte)DAT_00091c20 & 3" (cast_expression "(byte)DAT_00091c20" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (if_statement "if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }" if (parenthesized_expression "(bVar2 == 2)" ( (binary_expression "bVar2 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }" { (expression_statement "FUN_0002a030(".text");" (call_expression "FUN_0002a030(".text")" identifier (argument_list "(".text")" ( (string_literal "".text"" " string_content ") ))) ;) (expression_statement "bVar2 = (byte)DAT_00091c20 & 3;" (assignment_expression "bVar2 = (byte)DAT_00091c20 & 3" identifier = (binary_expression "(byte)DAT_00091c20 & 3" (cast_expression "(byte)DAT_00091c20" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) })) (if_statement "if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }" if (parenthesized_expression "(bVar2 == 1)" ( (binary_expression "bVar2 == 1" identifier == number_literal) )) (compound_statement "{\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }" { (expression_statement "DAT_00091c94 = DAT_00091c94 | 0x8000000;" (assignment_expression "DAT_00091c94 = DAT_00091c94 | 0x8000000" identifier = (binary_expression "DAT_00091c94 | 0x8000000" identifier | number_literal)) ;) })) (if_statement "if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }" if (parenthesized_expression "((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0))" ( (binary_expression "(((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)" (parenthesized_expression "(((byte)DAT_00091c20 & 2) == 0)" ( (binary_expression "((byte)DAT_00091c20 & 2) == 0" (parenthesized_expression "((byte)DAT_00091c20 & 2)" ( (binary_expression "(byte)DAT_00091c20 & 2" (cast_expression "(byte)DAT_00091c20" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((DAT_00091c27 & 4) != 0)" ( (binary_expression "(DAT_00091c27 & 4) != 0" (parenthesized_expression "(DAT_00091c27 & 4)" ( (binary_expression "DAT_00091c27 & 4" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }" { (if_statement "if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" if (parenthesized_expression "(DAT_00091c80 < 1)" ( (binary_expression "DAT_00091c80 < 1" identifier < number_literal) )) (compound_statement "{\n      DAT_00091c80 = 0;\n    }" { (expression_statement "DAT_00091c80 = 0;" (assignment_expression "DAT_00091c80 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" else (compound_statement "{\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" { (expression_statement "uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" identifier = (call_expression "dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" identifier (argument_list "(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" ( number_literal , (string_literal ""%P: warning: -z dynamic-undefined-weak ignored\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar1);" (call_expression "FUN_00031760(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "DAT_00091c80 = 0;" (assignment_expression "DAT_00091c80 = 0" identifier = number_literal) ;) }))) })) (expression_statement "FUN_00030250();" (call_expression "FUN_00030250()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid hppaelf_after_parse(void)\n\n{\n  char *fmt;\n  byte bVar1;\n  \n  bVar1 = link_info._0_1_ & 3;\n  if (bVar1 == 2) {\n    lang_add_unique(".text");\n    bVar1 = link_info._0_1_ & 3;\n  }\n  if (bVar1 == 1) {\n    link_info.flags_1 = link_info.flags_1 | 0x8000000;\n  }\n  if (((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)) {\n    if (link_info.dynamic_undefined_weak < 1) {\n      link_info.dynamic_undefined_weak = 0;\n    }\n    else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }\n  }\n  after_parse_default();\n  return;\n}\n\n" comment comment (function_definition "void hppaelf_after_parse(void)\n\n{\n  char *fmt;\n  byte bVar1;\n  \n  bVar1 = link_info._0_1_ & 3;\n  if (bVar1 == 2) {\n    lang_add_unique(".text");\n    bVar1 = link_info._0_1_ & 3;\n  }\n  if (bVar1 == 1) {\n    link_info.flags_1 = link_info.flags_1 | 0x8000000;\n  }\n  if (((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)) {\n    if (link_info.dynamic_undefined_weak < 1) {\n      link_info.dynamic_undefined_weak = 0;\n    }\n    else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }\n  }\n  after_parse_default();\n  return;\n}" primitive_type (function_declarator "hppaelf_after_parse(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *fmt;\n  byte bVar1;\n  \n  bVar1 = link_info._0_1_ & 3;\n  if (bVar1 == 2) {\n    lang_add_unique(".text");\n    bVar1 = link_info._0_1_ & 3;\n  }\n  if (bVar1 == 1) {\n    link_info.flags_1 = link_info.flags_1 | 0x8000000;\n  }\n  if (((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)) {\n    if (link_info.dynamic_undefined_weak < 1) {\n      link_info.dynamic_undefined_weak = 0;\n    }\n    else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }\n  }\n  after_parse_default();\n  return;\n}" { (declaration "char *fmt;" primitive_type (pointer_declarator "*fmt" * identifier) ;) (declaration "byte bVar1;" type_identifier identifier ;) (expression_statement "bVar1 = link_info._0_1_ & 3;" (assignment_expression "bVar1 = link_info._0_1_ & 3" identifier = (binary_expression "link_info._0_1_ & 3" (field_expression "link_info._0_1_" identifier . field_identifier) & number_literal)) ;) (if_statement "if (bVar1 == 2) {\n    lang_add_unique(".text");\n    bVar1 = link_info._0_1_ & 3;\n  }" if (parenthesized_expression "(bVar1 == 2)" ( (binary_expression "bVar1 == 2" identifier == number_literal) )) (compound_statement "{\n    lang_add_unique(".text");\n    bVar1 = link_info._0_1_ & 3;\n  }" { (expression_statement "lang_add_unique(".text");" (call_expression "lang_add_unique(".text")" identifier (argument_list "(".text")" ( (string_literal "".text"" " string_content ") ))) ;) (expression_statement "bVar1 = link_info._0_1_ & 3;" (assignment_expression "bVar1 = link_info._0_1_ & 3" identifier = (binary_expression "link_info._0_1_ & 3" (field_expression "link_info._0_1_" identifier . field_identifier) & number_literal)) ;) })) (if_statement "if (bVar1 == 1) {\n    link_info.flags_1 = link_info.flags_1 | 0x8000000;\n  }" if (parenthesized_expression "(bVar1 == 1)" ( (binary_expression "bVar1 == 1" identifier == number_literal) )) (compound_statement "{\n    link_info.flags_1 = link_info.flags_1 | 0x8000000;\n  }" { (expression_statement "link_info.flags_1 = link_info.flags_1 | 0x8000000;" (assignment_expression "link_info.flags_1 = link_info.flags_1 | 0x8000000" (field_expression "link_info.flags_1" identifier . field_identifier) = (binary_expression "link_info.flags_1 | 0x8000000" (field_expression "link_info.flags_1" identifier . field_identifier) | number_literal)) ;) })) (if_statement "if (((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)) {\n    if (link_info.dynamic_undefined_weak < 1) {\n      link_info.dynamic_undefined_weak = 0;\n    }\n    else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }\n  }" if (parenthesized_expression "(((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0))" ( (binary_expression "((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)" (parenthesized_expression "((link_info._0_1_ & 2) == 0)" ( (binary_expression "(link_info._0_1_ & 2) == 0" (parenthesized_expression "(link_info._0_1_ & 2)" ( (binary_expression "link_info._0_1_ & 2" (field_expression "link_info._0_1_" identifier . field_identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((link_info._7_1_ & 4) != 0)" ( (binary_expression "(link_info._7_1_ & 4) != 0" (parenthesized_expression "(link_info._7_1_ & 4)" ( (binary_expression "link_info._7_1_ & 4" (field_expression "link_info._7_1_" identifier . field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    if (link_info.dynamic_undefined_weak < 1) {\n      link_info.dynamic_undefined_weak = 0;\n    }\n    else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }\n  }" { (if_statement "if (link_info.dynamic_undefined_weak < 1) {\n      link_info.dynamic_undefined_weak = 0;\n    }\n    else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }" if (parenthesized_expression "(link_info.dynamic_undefined_weak < 1)" ( (binary_expression "link_info.dynamic_undefined_weak < 1" (field_expression "link_info.dynamic_undefined_weak" identifier . field_identifier) < number_literal) )) (compound_statement "{\n      link_info.dynamic_undefined_weak = 0;\n    }" { (expression_statement "link_info.dynamic_undefined_weak = 0;" (assignment_expression "link_info.dynamic_undefined_weak = 0" (field_expression "link_info.dynamic_undefined_weak" identifier . field_identifier) = number_literal) ;) }) (else_clause "else {\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }" else (compound_statement "{\n      fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      einfo(fmt);\n      link_info.dynamic_undefined_weak = 0;\n    }" { (expression_statement "fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);" (assignment_expression "fmt = (char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" identifier = (cast_expression "(char *)dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" identifier (argument_list "(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" ( number_literal , (string_literal ""%P: warning: -z dynamic-undefined-weak ignored\n"" " string_content escape_sequence ") , number_literal ))))) ;) (expression_statement "einfo(fmt);" (call_expression "einfo(fmt)" identifier (argument_list "(fmt)" ( identifier ))) ;) (expression_statement "link_info.dynamic_undefined_weak = 0;" (assignment_expression "link_info.dynamic_undefined_weak = 0" (field_expression "link_info.dynamic_undefined_weak" identifier . field_identifier) = number_literal) ;) }))) })) (expression_statement "after_parse_default();" (call_expression "after_parse_default()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00037bb0(void)\n\n{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}\n\n" (function_definition "void FUN_00037bb0(void)\n\n{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}" primitive_type (function_declarator "FUN_00037bb0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (expression_statement "bVar2 = (byte)DAT_00091c20 & 3;" (assignment_expression "bVar2 = (byte)DAT_00091c20 & 3" identifier = (binary_expression "(byte)DAT_00091c20 & 3" (cast_expression "(byte)DAT_00091c20" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) (if_statement "if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }" if (parenthesized_expression "(bVar2 == 2)" ( (binary_expression "bVar2 == 2" identifier == number_literal) )) (compound_statement "{\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }" { (expression_statement "FUN_0002a030(".text");" (call_expression "FUN_0002a030(".text")" identifier (argument_list "(".text")" ( (string_literal "".text"" " string_content ") ))) ;) (expression_statement "bVar2 = (byte)DAT_00091c20 & 3;" (assignment_expression "bVar2 = (byte)DAT_00091c20 & 3" identifier = (binary_expression "(byte)DAT_00091c20 & 3" (cast_expression "(byte)DAT_00091c20" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal)) ;) })) (if_statement "if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }" if (parenthesized_expression "(bVar2 == 1)" ( (binary_expression "bVar2 == 1" identifier == number_literal) )) (compound_statement "{\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }" { (expression_statement "DAT_00091c94 = DAT_00091c94 | 0x8000000;" (assignment_expression "DAT_00091c94 = DAT_00091c94 | 0x8000000" identifier = (binary_expression "DAT_00091c94 | 0x8000000" identifier | number_literal)) ;) })) (if_statement "if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }" if (parenthesized_expression "((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0))" ( (binary_expression "(((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)" (parenthesized_expression "(((byte)DAT_00091c20 & 2) == 0)" ( (binary_expression "((byte)DAT_00091c20 & 2) == 0" (parenthesized_expression "((byte)DAT_00091c20 & 2)" ( (binary_expression "(byte)DAT_00091c20 & 2" (cast_expression "(byte)DAT_00091c20" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) == number_literal) )) && (parenthesized_expression "((DAT_00091c27 & 4) != 0)" ( (binary_expression "(DAT_00091c27 & 4) != 0" (parenthesized_expression "(DAT_00091c27 & 4)" ( (binary_expression "DAT_00091c27 & 4" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }" { (if_statement "if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" if (parenthesized_expression "(DAT_00091c80 < 1)" ( (binary_expression "DAT_00091c80 < 1" identifier < number_literal) )) (compound_statement "{\n      DAT_00091c80 = 0;\n    }" { (expression_statement "DAT_00091c80 = 0;" (assignment_expression "DAT_00091c80 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" else (compound_statement "{\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" { (expression_statement "uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" identifier = (call_expression "dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" identifier (argument_list "(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" ( number_literal , (string_literal ""%P: warning: -z dynamic-undefined-weak ignored\n"" " string_content escape_sequence ") , number_literal )))) ;) (expression_statement "FUN_00031760(uVar1);" (call_expression "FUN_00031760(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "DAT_00091c80 = 0;" (assignment_expression "DAT_00091c80 = 0" identifier = number_literal) ;) }))) })) (expression_statement "FUN_00030250();" (call_expression "FUN_00030250()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00037bb0(void)\n\n{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00037bb0(void)" (identifier "FUN_00037bb0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  byte bVar2;\n  \n  bVar2 = (byte)DAT_00091c20 & 3;\n  if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }\n  if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }\n  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }\n  FUN_00030250();\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (expression_statement "bVar2 = (byte)DAT_00091c20 & 3;" (assignment_expression "bVar2 = (byte)DAT_00091c20 & 3" (identifier "bVar2") (= "=") (binary_expression "(byte)DAT_00091c20 & 3" (cast_expression "(byte)DAT_00091c20" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_00091c20")) (& "&") (number_literal "3"))) (; ";")) (if_statement "if (bVar2 == 2) {\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }" (if "if") (parenthesized_expression "(bVar2 == 2)" (( "(") (binary_expression "bVar2 == 2" (identifier "bVar2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    FUN_0002a030(".text");\n    bVar2 = (byte)DAT_00091c20 & 3;\n  }" ({ "{") (expression_statement "FUN_0002a030(".text");" (call_expression "FUN_0002a030(".text")" (identifier "FUN_0002a030") (argument_list "(".text")" (( "(") (string_literal "".text"" (" """) (string_content ".text") (" """)) () ")"))) (; ";")) (expression_statement "bVar2 = (byte)DAT_00091c20 & 3;" (assignment_expression "bVar2 = (byte)DAT_00091c20 & 3" (identifier "bVar2") (= "=") (binary_expression "(byte)DAT_00091c20 & 3" (cast_expression "(byte)DAT_00091c20" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_00091c20")) (& "&") (number_literal "3"))) (; ";")) (} "}"))) (if_statement "if (bVar2 == 1) {\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }" (if "if") (parenthesized_expression "(bVar2 == 1)" (( "(") (binary_expression "bVar2 == 1" (identifier "bVar2") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    DAT_00091c94 = DAT_00091c94 | 0x8000000;\n  }" ({ "{") (expression_statement "DAT_00091c94 = DAT_00091c94 | 0x8000000;" (assignment_expression "DAT_00091c94 = DAT_00091c94 | 0x8000000" (identifier "DAT_00091c94") (= "=") (binary_expression "DAT_00091c94 | 0x8000000" (identifier "DAT_00091c94") (| "|") (number_literal "0x8000000"))) (; ";")) (} "}"))) (if_statement "if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }" (if "if") (parenthesized_expression "((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0))" (( "(") (binary_expression "(((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)" (parenthesized_expression "(((byte)DAT_00091c20 & 2) == 0)" (( "(") (binary_expression "((byte)DAT_00091c20 & 2) == 0" (parenthesized_expression "((byte)DAT_00091c20 & 2)" (( "(") (binary_expression "(byte)DAT_00091c20 & 2" (cast_expression "(byte)DAT_00091c20" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "DAT_00091c20")) (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((DAT_00091c27 & 4) != 0)" (( "(") (binary_expression "(DAT_00091c27 & 4) != 0" (parenthesized_expression "(DAT_00091c27 & 4)" (( "(") (binary_expression "DAT_00091c27 & 4" (identifier "DAT_00091c27") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }\n  }" ({ "{") (if_statement "if (DAT_00091c80 < 1) {\n      DAT_00091c80 = 0;\n    }\n    else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" (if "if") (parenthesized_expression "(DAT_00091c80 < 1)" (( "(") (binary_expression "DAT_00091c80 < 1" (identifier "DAT_00091c80") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      DAT_00091c80 = 0;\n    }" ({ "{") (expression_statement "DAT_00091c80 = 0;" (assignment_expression "DAT_00091c80 = 0" (identifier "DAT_00091c80") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" (else "else") (compound_statement "{\n      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);\n      FUN_00031760(uVar1);\n      DAT_00091c80 = 0;\n    }" ({ "{") (expression_statement "uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);" (assignment_expression "uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" (identifier "dcgettext") (argument_list "(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5)" (( "(") (number_literal "0") (, ",") (string_literal ""%P: warning: -z dynamic-undefined-weak ignored\n"" (" """) (string_content "%P: warning: -z dynamic-undefined-weak ignored") (escape_sequence "\n") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "FUN_00031760(uVar1);" (call_expression "FUN_00031760(uVar1)" (identifier "FUN_00031760") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "DAT_00091c80 = 0;" (assignment_expression "DAT_00091c80 = 0" (identifier "DAT_00091c80") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (expression_statement "FUN_00030250();" (call_expression "FUN_00030250()" (identifier "FUN_00030250") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  char *fmt;
  type_1 var_1;
  
  var_1 = link_info._0_1_ & 3;
  if (var_1 == 2) {
    var_2(".text");
    var_1 = link_info._0_1_ & 3;
  }
  if (var_1 == 1) {
    link_info.flags_1 = link_info.flags_1 | 0x8000000;
  }
  if (((link_info._0_1_ & 2) == 0) && ((link_info._7_1_ & 4) != 0)) {
    if (link_info.dynamic_undefined_weak < 1) {
      link_info.dynamic_undefined_weak = 0;
    }
    else {
      fmt = (char *)var_3(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);
      var_4(fmt);
      link_info.dynamic_undefined_weak = 0;
    }
  }
  var_5();
  return;
}


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

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

void MASKED(void)

{
  undefined4 uVar1;
  byte bVar2;
  
  bVar2 = (byte)DAT_00091c20 & 3;
  if (bVar2 == 2) {
    FUN_0002a030(".text");
    bVar2 = (byte)DAT_00091c20 & 3;
  }
  if (bVar2 == 1) {
    DAT_00091c94 = DAT_00091c94 | 0x8000000;
  }
  if ((((byte)DAT_00091c20 & 2) == 0) && ((DAT_00091c27 & 4) != 0)) {
    if (DAT_00091c80 < 1) {
      DAT_00091c80 = 0;
    }
    else {
      uVar1 = dcgettext(0,"%P: warning: -z dynamic-undefined-weak ignored\n",5);
      FUN_00031760(uVar1);
      DAT_00091c80 = 0;
    }
  }
  FUN_00030250();
  return;
}

