
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Tls_optimization optimize_tls_ie(Target_powerpc<64,_false> * this, bool
   is_final) */

Tls_optimization __thiscall
anon_unknown.dwarf_2af53c::Target_powerpc<64,_false>::optimize_tls_ie
          (Target_powerpc<64,_false> *this,bool is_final)

{
  General_options *pGVar1;
  char in_AL;
  Stub_table<64,_false> *in_stack_fffffff4;
  
  if (in_AL != '\0') {
    pGVar1 = gold::parameters->options_;
    if (pGVar1 == (General_options *)0x0) {
                    /* WARNING: Subroutine does not return */
      Stub_table<64,_false>::stub_align(in_stack_fffffff4);
    }
    if ((pGVar1->shared_).value == false) {
      return (uint)((pGVar1->tls_optimize_).value != false) * 2;
    }
  }
  return TLSOPT_NONE;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

char __regparm3 FUN_00055220(char param_1)

{
  int iVar1;
  
  if (param_1 != '\0') {
    iVar1 = *(int *)(DAT_004144e8 + 8);
    if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00052750();
    }
    if (*(char *)(iVar1 + 0x1a25) == '\0') {
      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';
    }
  }
  return '\0';
}


CALL 0x0003a345
ADD EDX,0x3beddb
TEST AL,AL
JZ 0x00055260
LEA EAX,[EDX + 0x4e8]
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JZ 0x00055263
XOR EAX,EAX
CMP byte ptr [EDX + 0x1a25],0x0
JNZ 0x00055262
XOR EAX,EAX
CMP byte ptr [EDX + 0x3ef5],0x0
SETNZ AL
ADD EAX,EAX
RET
XOR EAX,EAX
RET
SUB ESP,0xc
CALL 0x00052750
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nchar __regparm3 FUN_00055220(char param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}\n\n" comment (function_definition "char __regparm3 FUN_00055220(char param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00055220(char param_1)" identifier (parameter_list "(char param_1)" ( (parameter_declaration "char param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }" if (parenthesized_expression "(param_1 != '\0')" ( (binary_expression "param_1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }" { (expression_statement "iVar1 = *(int *)(DAT_004144e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_004144e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_00052750();\n    }" { comment (expression_statement "FUN_00052750();" (call_expression "FUN_00052750()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }" if (parenthesized_expression "(*(char *)(iVar1 + 0x1a25) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x1a25) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x1a25)" * (cast_expression "(char *)(iVar1 + 0x1a25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1a25)" ( (binary_expression "iVar1 + 0x1a25" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }" { (return_statement "return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';" return (binary_expression "(*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02'" (parenthesized_expression "(*(char *)(iVar1 + 0x3ef5) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0x3ef5) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x3ef5)" * (cast_expression "(char *)(iVar1 + 0x3ef5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3ef5)" ( (binary_expression "iVar1 + 0x3ef5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) * (char_literal "'\x02'" ' escape_sequence ')) ;) })) })) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: Tls_optimization optimize_tls_ie(Target_powerpc<64,_false> * this, bool\n   is_final) */\n\nTls_optimization __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<64,_false>::optimize_tls_ie\n          (Target_powerpc<64,_false> *this,bool is_final)\n\n{\n  General_options *pGVar1;\n  char in_AL;\n  Stub_table<64,_false> *in_stack_fffffff4;\n  \n  if (in_AL != '\0') {\n    pGVar1 = gold::parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n    }\n    if ((pGVar1->shared_).value == false) {\n      return (uint)((pGVar1->tls_optimize_).value != false) * 2;\n    }\n  }\n  return TLSOPT_NONE;\n}\n\n" comment comment comment comment (declaration "Tls_optimization __thiscall\nanon_unknown.dwarf_2af53c::Target_powerpc<64,_false>::optimize_tls_ie\n          (Target_powerpc<64,_false> *this,bool is_final)\n\n{\n  General_options *pGVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2af53c::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_false>::optimize_tls_ie\n          (Target_powerpc<64,_false> *this,bool is_final)\n\n{\n  General_options" identifier > : : (function_declarator "optimize_tls_ie\n          (Target_powerpc<64,_false> *this,bool is_final)" identifier (parameter_list "(Target_powerpc<64,_false> *this,bool is_final)" ( (parameter_declaration "Target_powerpc" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "bool is_final" primitive_type identifier) ))) { identifier) (pointer_declarator "*pGVar1" * identifier) ;) (declaration "char in_AL;" primitive_type identifier ;) (expression_statement "Stub_table<64,_false> *in_stack_fffffff4;" (update_expression "Stub_table<64,_false> *in_stack_fffffff4" (binary_expression "Stub_table<64,_false> *in_stack_fffffff4" (binary_expression "Stub_table<64" identifier < number_literal) (ERROR ",_false" , identifier) > (pointer_expression "*in_stack_fffffff4" * identifier)) --) ;) (if_statement "if (in_AL != '\0') {\n    pGVar1 = gold::parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n    }\n    if ((pGVar1->shared_).value == false) {\n      return (uint)((pGVar1->tls_optimize_).value != false) * 2;\n    }\n  }" if (parenthesized_expression "(in_AL != '\0')" ( (binary_expression "in_AL != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pGVar1 = gold::parameters->options_;\n    if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n    }\n    if ((pGVar1->shared_).value == false) {\n      return (uint)((pGVar1->tls_optimize_).value != false) * 2;\n    }\n  }" { (expression_statement "pGVar1 = gold::parameters->options_;" (field_expression "pGVar1 = gold::parameters->options_" (assignment_expression "pGVar1 = gold" identifier = identifier) (ERROR "::parameters" : : identifier) -> field_identifier) ;) (if_statement "if (pGVar1 == (General_options *)0x0) {\n                    /* WARNING: Subroutine does not return */\n      Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n    }" if (parenthesized_expression "(pGVar1 == (General_options *)0x0)" ( (binary_expression "pGVar1 == (General_options *)0x0" identifier == (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      Stub_table<64,_false>::stub_align(in_stack_fffffff4);\n    }" { comment (expression_statement "Stub_table<64,_false>::stub_align(in_stack_fffffff4);" (comma_expression "Stub_table<64,_false>::stub_align(in_stack_fffffff4)" (binary_expression "Stub_table<64" identifier < number_literal) , (binary_expression "_false>::stub_align(in_stack_fffffff4)" identifier > (ERROR "::" : :) (call_expression "stub_align(in_stack_fffffff4)" identifier (argument_list "(in_stack_fffffff4)" ( identifier ))))) ;) })) (if_statement "if ((pGVar1->shared_).value == false) {\n      return (uint)((pGVar1->tls_optimize_).value != false) * 2;\n    }" if (parenthesized_expression "((pGVar1->shared_).value == false)" ( (binary_expression "(pGVar1->shared_).value == false" (field_expression "(pGVar1->shared_).value" (parenthesized_expression "(pGVar1->shared_)" ( (field_expression "pGVar1->shared_" identifier -> field_identifier) )) . field_identifier) == false) )) (compound_statement "{\n      return (uint)((pGVar1->tls_optimize_).value != false) * 2;\n    }" { (return_statement "return (uint)((pGVar1->tls_optimize_).value != false) * 2;" return (binary_expression "(uint)((pGVar1->tls_optimize_).value != false) * 2" (call_expression "(uint)((pGVar1->tls_optimize_).value != false)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((pGVar1->tls_optimize_).value != false)" ( (binary_expression "(pGVar1->tls_optimize_).value != false" (field_expression "(pGVar1->tls_optimize_).value" (parenthesized_expression "(pGVar1->tls_optimize_)" ( (field_expression "pGVar1->tls_optimize_" identifier -> field_identifier) )) . field_identifier) != false) ))) * number_literal) ;) })) })) (return_statement "return TLSOPT_NONE;" return identifier ;) (ERROR "}" }))
(translation_unit "char __regparm3 FUN_00055220(char param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}\n\n" (function_definition "char __regparm3 FUN_00055220(char param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00055220(char param_1)" identifier (parameter_list "(char param_1)" ( (parameter_declaration "char param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }" if (parenthesized_expression "(param_1 != '\0')" ( (binary_expression "param_1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }" { (expression_statement "iVar1 = *(int *)(DAT_004144e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_004144e8 + 8)" identifier = (pointer_expression "*(int *)(DAT_004144e8 + 8)" * (cast_expression "(int *)(DAT_004144e8 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_004144e8 + 8)" ( (binary_expression "DAT_004144e8 + 8" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n      FUN_00052750();\n    }" { (expression_statement "FUN_00052750();" (call_expression "FUN_00052750()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }" if (parenthesized_expression "(*(char *)(iVar1 + 0x1a25) == '\0')" ( (binary_expression "*(char *)(iVar1 + 0x1a25) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x1a25)" * (cast_expression "(char *)(iVar1 + 0x1a25)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1a25)" ( (binary_expression "iVar1 + 0x1a25" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }" { (return_statement "return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';" return (binary_expression "(*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02'" (parenthesized_expression "(*(char *)(iVar1 + 0x3ef5) != '\0')" ( (binary_expression "*(char *)(iVar1 + 0x3ef5) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x3ef5)" * (cast_expression "(char *)(iVar1 + 0x3ef5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x3ef5)" ( (binary_expression "iVar1 + 0x3ef5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) * (char_literal "'\x02'" ' escape_sequence ')) ;) })) })) (return_statement "return '\0';" return (char_literal "'\0'" ' escape_sequence ') ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) * (char_literal ' escape_sequence ')) ;) })) })) (return_statement return (char_literal ' escape_sequence ') ;) })))
(function_definition "char __regparm3 FUN_00055220(char param_1)\n\n{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}" (primitive_type "char") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00055220(char param_1)" (identifier "FUN_00055220") (parameter_list "(char param_1)" (( "(") (parameter_declaration "char param_1" (primitive_type "char") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }\n  return '\0';\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 != '\0') {\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }" (if "if") (parenthesized_expression "(param_1 != '\0')" (( "(") (binary_expression "param_1 != '\0'" (identifier "param_1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar1 = *(int *)(DAT_004144e8 + 8);\n    if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }\n    if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(DAT_004144e8 + 8);" (assignment_expression "iVar1 = *(int *)(DAT_004144e8 + 8)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(DAT_004144e8 + 8)" (* "*") (cast_expression "(int *)(DAT_004144e8 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_004144e8 + 8)" (( "(") (binary_expression "DAT_004144e8 + 8" (identifier "DAT_004144e8") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n                    \n      FUN_00052750();\n    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n      FUN_00052750();\n    }" ({ "{") (expression_statement "FUN_00052750();" (call_expression "FUN_00052750()" (identifier "FUN_00052750") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (*(char *)(iVar1 + 0x1a25) == '\0') {\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }" (if "if") (parenthesized_expression "(*(char *)(iVar1 + 0x1a25) == '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x1a25) == '\0'" (pointer_expression "*(char *)(iVar1 + 0x1a25)" (* "*") (cast_expression "(char *)(iVar1 + 0x1a25)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1a25)" (( "(") (binary_expression "iVar1 + 0x1a25" (identifier "iVar1") (+ "+") (number_literal "0x1a25")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';\n    }" ({ "{") (return_statement "return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';" (return "return") (binary_expression "(*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02'" (parenthesized_expression "(*(char *)(iVar1 + 0x3ef5) != '\0')" (( "(") (binary_expression "*(char *)(iVar1 + 0x3ef5) != '\0'" (pointer_expression "*(char *)(iVar1 + 0x3ef5)" (* "*") (cast_expression "(char *)(iVar1 + 0x3ef5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x3ef5)" (( "(") (binary_expression "iVar1 + 0x3ef5" (identifier "iVar1") (+ "+") (number_literal "0x3ef5")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (* "*") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return '\0';" (return "return") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Tls_optimization optimize_tls_ie(Target_powerpc<64,_false> * this, bool
   is_final) */

type_1 __thiscall
anon_unknown.dwarf_2af53c::Target_powerpc<64,var_4>::optimize_tls_ie
          (Target_powerpc<64,var_4> *this,bool is_final)

{
  type_2 *var_3;
  char var_2;
  var_1<64,var_4> *in_stack_fffffff4;
  
  if (var_2 != '\0') {
    var_3 = gold::parameters->options_;
    if (var_3 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
      var_1<64,var_4>::var_5(in_stack_fffffff4);
    }
    if ((var_3->shared_).value == false) {
      return (uint)((var_3->tls_optimize_).value != false) * 2;
    }
  }
  return TLSOPT_NONE;
}


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

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

char __regparm3 MASKED(char param_1)

{
  int iVar1;
  
  if (param_1 != '\0') {
    iVar1 = *(int *)(DAT_004144e8 + 8);
    if (iVar1 == 0) {
                    /* WARNING: Subroutine does not return */
      FUN_00052750();
    }
    if (*(char *)(iVar1 + 0x1a25) == '\0') {
      return (*(char *)(iVar1 + 0x3ef5) != '\0') * '\x02';
    }
  }
  return '\0';
}

