
/* DWARF original prototype: bool reloc_needs_plt_for_ifunc(Scan * this,
   Sized_relobj_file<32,_false> * object, uint r_type) */

bool __thiscall
anon_unknown.dwarf_2342e3::Target_i386::Scan::reloc_needs_plt_for_ifunc
          (Scan *this,Sized_relobj_file<32,_false> *object,uint r_type)

{
  undefined8 uVar1;
  uint uVar2;
  char *format;
  bool bVar3;
  
  uVar2 = (int)object - 1;
  bVar3 = false;
  if ((uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)) {
    uVar1 = *(undefined8 *)(this + 8);
    format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");
    gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);
  }
  return bVar3;
}



bool FUN_001994e0(long param_1,int param_2)

{
  undefined8 uVar1;
  undefined8 uVar2;
  bool bVar3;
  
  bVar3 = false;
  if ((param_2 - 1U < 0x2b) &&
     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {
    uVar1 = *(undefined8 *)(param_1 + 8);
    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");
    FUN_0034a750(uVar2,uVar1,param_2);
  }
  return bVar3;
}


LEA EAX,[RSI + -0x1]
PUSH R12
PUSH RBP
XOR EBP,EBP
PUSH RBX
CMP EAX,0x2a
JA 0x00199524
LEA RDX,[0x534ec0]
MOVZX EAX,byte ptr [RDX + RAX*0x1]
TEST AL,AL
SETNZ BPL
TEST AL,0x4
JZ 0x00199524
MOV R12,qword ptr [RDI + 0x8]
LEA RDI,[0x533798]
MOV EBX,ESI
CALL 0x00177320
MOV EDX,EBX
MOV RDI,RAX
MOV RSI,R12
XOR EAX,EAX
CALL 0x0034a750
MOV EAX,EBP
POP RBX
POP RBP
POP R12
RET
(translation_unit "bool FUN_001994e0(long param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}\n\n" (function_definition "bool FUN_001994e0(long param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}" primitive_type (function_declarator "FUN_001994e0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }" if (parenthesized_expression "((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0))" ( (binary_expression "(param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)" (parenthesized_expression "(param_2 - 1U < 0x2b)" ( (binary_expression "param_2 - 1U < 0x2b" (binary_expression "param_2 - 1U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)" ( (comma_expression "bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0" (assignment_expression "bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0" identifier = (binary_expression "(&DAT_00534ec0)[param_2 - 1U] != 0" (subscript_expression "(&DAT_00534ec0)[param_2 - 1U]" (parenthesized_expression "(&DAT_00534ec0)" ( (pointer_expression "&DAT_00534ec0" & identifier) )) [ (binary_expression "param_2 - 1U" identifier - number_literal) ]) != number_literal)) , (binary_expression "((&DAT_00534ec0)[param_2 - 1U] & 4) != 0" (parenthesized_expression "((&DAT_00534ec0)[param_2 - 1U] & 4)" ( (binary_expression "(&DAT_00534ec0)[param_2 - 1U] & 4" (subscript_expression "(&DAT_00534ec0)[param_2 - 1U]" (parenthesized_expression "(&DAT_00534ec0)" ( (pointer_expression "&DAT_00534ec0" & identifier) )) [ (binary_expression "param_2 - 1U" identifier - number_literal) ]) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");" (assignment_expression "uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" identifier = (call_expression "gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" identifier (argument_list "("%s: unsupported TLS reloc %u for IFUNC symbol")" ( (string_literal ""%s: unsupported TLS reloc %u for IFUNC symbol"" " string_content ") )))) ;) (expression_statement "FUN_0034a750(uVar2,uVar1,param_2);" (call_expression "FUN_0034a750(uVar2,uVar1,param_2)" identifier (argument_list "(uVar2,uVar1,param_2)" ( identifier , identifier , identifier ))) ;) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: bool reloc_needs_plt_for_ifunc(Scan * this,\n   Sized_relobj_file<32,_false> * object, uint r_type) */\n\nbool __thiscall\nanon_unknown.dwarf_2342e3::Target_i386::Scan::reloc_needs_plt_for_ifunc\n          (Scan *this,Sized_relobj_file<32,_false> *object,uint r_type)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *format;\n  bool bVar3;\n  \n  uVar2 = (int)object - 1;\n  bVar3 = false;\n  if ((uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(this + 8);\n    format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);\n  }\n  return bVar3;\n}\n\n" comment (function_definition "bool __thiscall\nanon_unknown.dwarf_2342e3::Target_i386::Scan::reloc_needs_plt_for_ifunc\n          (Scan *this,Sized_relobj_file<32,_false> *object,uint r_type)\n\n{\n  undefined8 uVar1;\n  uint uVar2;\n  char *format;\n  bool bVar3;\n  \n  uVar2 = (int)object - 1;\n  bVar3 = false;\n  if ((uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(this + 8);\n    format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);\n  }\n  return bVar3;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_2342e3::Target_i386::Scan::" identifier . identifier : : identifier : : identifier : :) (function_declarator "reloc_needs_plt_for_ifunc\n          (Scan *this,Sized_relobj_file<32,_false> *object,uint r_type)" identifier (parameter_list "(Scan *this,Sized_relobj_file<32,_false> *object,uint r_type)" ( (parameter_declaration "Scan *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *object" type_identifier (ERROR ">" >) (pointer_declarator "*object" * identifier)) , (parameter_declaration "uint r_type" type_identifier identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  uint uVar2;\n  char *format;\n  bool bVar3;\n  \n  uVar2 = (int)object - 1;\n  bVar3 = false;\n  if ((uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(this + 8);\n    format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);\n  }\n  return bVar3;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "uVar2 = (int)object - 1;" (assignment_expression "uVar2 = (int)object - 1" identifier = (binary_expression "(int)object - 1" (cast_expression "(int)object" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(this + 8);\n    format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);\n  }" if (parenthesized_expression "((uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0))" ( (binary_expression "(uVar2 < 0x2b) && (bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)" (parenthesized_expression "(uVar2 < 0x2b)" ( (binary_expression "uVar2 < 0x2b" identifier < number_literal) )) && (parenthesized_expression "(bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0)" ( (comma_expression "bVar3 = (&CSWTCH_631)[uVar2] != 0, ((&CSWTCH_631)[uVar2] & 4) != 0" (assignment_expression "bVar3 = (&CSWTCH_631)[uVar2] != 0" identifier = (binary_expression "(&CSWTCH_631)[uVar2] != 0" (subscript_expression "(&CSWTCH_631)[uVar2]" (parenthesized_expression "(&CSWTCH_631)" ( (pointer_expression "&CSWTCH_631" & identifier) )) [ identifier ]) != number_literal)) , (binary_expression "((&CSWTCH_631)[uVar2] & 4) != 0" (parenthesized_expression "((&CSWTCH_631)[uVar2] & 4)" ( (binary_expression "(&CSWTCH_631)[uVar2] & 4" (subscript_expression "(&CSWTCH_631)[uVar2]" (parenthesized_expression "(&CSWTCH_631)" ( (pointer_expression "&CSWTCH_631" & identifier) )) [ identifier ]) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(this + 8);\n    format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(this + 8);" (assignment_expression "uVar1 = *(undefined8 *)(this + 8)" identifier = (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol");" (assignment_expression "format = (char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" identifier = (cast_expression "(char *)gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" identifier (argument_list "("%s: unsupported TLS reloc %u for IFUNC symbol")" ( (string_literal ""%s: unsupported TLS reloc %u for IFUNC symbol"" " string_content ") ))))) ;) (labeled_statement "gold::gold_error(format,uVar1,(ulong)object & 0xffffffff);" statement_identifier : (ERROR ":" :) (expression_statement "gold_error(format,uVar1,(ulong)object & 0xffffffff);" (call_expression "gold_error(format,uVar1,(ulong)object & 0xffffffff)" identifier (argument_list "(format,uVar1,(ulong)object & 0xffffffff)" ( identifier , identifier , (binary_expression "(ulong)object & 0xffffffff" (cast_expression "(ulong)object" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) ))) ;)) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit "bool FUN_001994e0(long param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}\n\n" (function_definition "bool FUN_001994e0(long param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}" primitive_type (function_declarator "FUN_001994e0(long param_1,int param_2)" identifier (parameter_list "(long param_1,int param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}" { (declaration "undefined8 uVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (if_statement "if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }" if (parenthesized_expression "((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0))" ( (binary_expression "(param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)" (parenthesized_expression "(param_2 - 1U < 0x2b)" ( (binary_expression "param_2 - 1U < 0x2b" (binary_expression "param_2 - 1U" identifier - number_literal) < number_literal) )) && (parenthesized_expression "(bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)" ( (comma_expression "bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0" (assignment_expression "bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0" identifier = (binary_expression "(&DAT_00534ec0)[param_2 - 1U] != 0" (subscript_expression "(&DAT_00534ec0)[param_2 - 1U]" (parenthesized_expression "(&DAT_00534ec0)" ( (pointer_expression "&DAT_00534ec0" & identifier) )) [ (binary_expression "param_2 - 1U" identifier - number_literal) ]) != number_literal)) , (binary_expression "((&DAT_00534ec0)[param_2 - 1U] & 4) != 0" (parenthesized_expression "((&DAT_00534ec0)[param_2 - 1U] & 4)" ( (binary_expression "(&DAT_00534ec0)[param_2 - 1U] & 4" (subscript_expression "(&DAT_00534ec0)[param_2 - 1U]" (parenthesized_expression "(&DAT_00534ec0)" ( (pointer_expression "&DAT_00534ec0" & identifier) )) [ (binary_expression "param_2 - 1U" identifier - number_literal) ]) & number_literal) )) != number_literal)) ))) )) (compound_statement "{\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }" { (expression_statement "uVar1 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");" (assignment_expression "uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" identifier = (call_expression "gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" identifier (argument_list "("%s: unsupported TLS reloc %u for IFUNC symbol")" ( (string_literal ""%s: unsupported TLS reloc %u for IFUNC symbol"" " string_content ") )))) ;) (expression_statement "FUN_0034a750(uVar2,uVar1,param_2);" (call_expression "FUN_0034a750(uVar2,uVar1,param_2)" identifier (argument_list "(uVar2,uVar1,param_2)" ( identifier , identifier , identifier ))) ;) })) (return_statement "return bVar3;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT - LIT) ]) != LIT)) , (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT - LIT) ]) & LIT) )) != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_001994e0(long param_1,int param_2)\n\n{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}" (primitive_type "bool") (function_declarator "FUN_001994e0(long param_1,int param_2)" (identifier "FUN_001994e0") (parameter_list "(long param_1,int param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined8 uVar1;\n  undefined8 uVar2;\n  bool bVar3;\n  \n  bVar3 = false;\n  if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }\n  return bVar3;\n}" ({ "{") (declaration "undefined8 uVar1;" (type_identifier "undefined8") (identifier "uVar1") (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (if_statement "if ((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }" (if "if") (parenthesized_expression "((param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0))" (( "(") (binary_expression "(param_2 - 1U < 0x2b) &&\n     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)" (parenthesized_expression "(param_2 - 1U < 0x2b)" (( "(") (binary_expression "param_2 - 1U < 0x2b" (binary_expression "param_2 - 1U" (identifier "param_2") (- "-") (number_literal "1U")) (< "<") (number_literal "0x2b")) () ")")) (&& "&&") (parenthesized_expression "(bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)" (( "(") (comma_expression "bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0" (assignment_expression "bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0" (identifier "bVar3") (= "=") (binary_expression "(&DAT_00534ec0)[param_2 - 1U] != 0" (subscript_expression "(&DAT_00534ec0)[param_2 - 1U]" (parenthesized_expression "(&DAT_00534ec0)" (( "(") (pointer_expression "&DAT_00534ec0" (& "&") (identifier "DAT_00534ec0")) () ")")) ([ "[") (binary_expression "param_2 - 1U" (identifier "param_2") (- "-") (number_literal "1U")) (] "]")) (!= "!=") (number_literal "0"))) (, ",") (binary_expression "((&DAT_00534ec0)[param_2 - 1U] & 4) != 0" (parenthesized_expression "((&DAT_00534ec0)[param_2 - 1U] & 4)" (( "(") (binary_expression "(&DAT_00534ec0)[param_2 - 1U] & 4" (subscript_expression "(&DAT_00534ec0)[param_2 - 1U]" (parenthesized_expression "(&DAT_00534ec0)" (( "(") (pointer_expression "&DAT_00534ec0" (& "&") (identifier "DAT_00534ec0")) () ")")) ([ "[") (binary_expression "param_2 - 1U" (identifier "param_2") (- "-") (number_literal "1U")) (] "]")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    uVar1 = *(undefined8 *)(param_1 + 8);\n    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");\n    FUN_0034a750(uVar2,uVar1,param_2);\n  }" ({ "{") (expression_statement "uVar1 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar1 = *(undefined8 *)(param_1 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");" (assignment_expression "uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" (identifier "uVar2") (= "=") (call_expression "gettext("%s: unsupported TLS reloc %u for IFUNC symbol")" (identifier "gettext") (argument_list "("%s: unsupported TLS reloc %u for IFUNC symbol")" (( "(") (string_literal ""%s: unsupported TLS reloc %u for IFUNC symbol"" (" """) (string_content "%s: unsupported TLS reloc %u for IFUNC symbol") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0034a750(uVar2,uVar1,param_2);" (call_expression "FUN_0034a750(uVar2,uVar1,param_2)" (identifier "FUN_0034a750") (argument_list "(uVar2,uVar1,param_2)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (return_statement "return bVar3;" (return "return") (identifier "bVar3") (; ";")) (} "}")))

/* DWARF original prototype: bool reloc_needs_plt_for_ifunc(Scan * this,
   Sized_relobj_file<32,_false> * object, uint r_type) */

bool __thiscall
anon_unknown.dwarf_2342e3::Target_i386::type_1::function_1
          (type_1 *var_2,type_2<32,type_3> *object,type_4 r_type)

{
  type_5 uVar1;
  type_4 var_1;
  char *format;
  bool bVar3;
  
  var_1 = (int)object - 1;
  bVar3 = false;
  if ((var_1 < 0x2b) && (bVar3 = (&CSWTCH_631)[var_1] != 0, ((&CSWTCH_631)[var_1] & 4) != 0)) {
    uVar1 = *(type_5 *)(var_2 + 8);
    format = (char *)var_3("%s: unsupported TLS reloc %u for IFUNC symbol");
    gold::var_4(format,uVar1,(type_6)object & 0xffffffff);
  }
  return bVar3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (false))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (number_literal)))))) consequence: (compound_statement (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (return_statement (identifier)))))

bool MASKED(long param_1,int param_2)

{
  undefined8 uVar1;
  undefined8 uVar2;
  bool bVar3;
  
  bVar3 = false;
  if ((param_2 - 1U < 0x2b) &&
     (bVar3 = (&DAT_00534ec0)[param_2 - 1U] != 0, ((&DAT_00534ec0)[param_2 - 1U] & 4) != 0)) {
    uVar1 = *(undefined8 *)(param_1 + 8);
    uVar2 = gettext("%s: unsupported TLS reloc %u for IFUNC symbol");
    FUN_0034a750(uVar2,uVar1,param_2);
  }
  return bVar3;
}

