
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint64_t address_for_global(Output_data_plt_tilegx<64,_true> * this,
   Symbol * gsym) */

uint64_t __thiscall
anon_unknown.dwarf_b97484::Output_data_plt_tilegx<64,_true>::address_for_global
          (Output_data_plt_tilegx<64,_true> *this,Symbol *gsym)

{
}



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

undefined8 __regparm3 FUN_00158290(int param_1,int param_2)

{
  uint uVar1;
  char cVar2;
  uint uVar3;
  uint uVar4;
  
  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {
    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {
      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&
         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {
LAB_001582ff:
        cVar2 = FUN_00071a80(param_2);
        if (cVar2 == '\0') {
          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;
          goto LAB_001582b5;
        }
      }
    }
    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;
  }
  uVar3 = 0;
LAB_001582b5:
  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.h",0xc5,"address",0);
  }
  uVar1 = *(uint *)(param_2 + 0x18);
  if (uVar1 == 0xffffffff) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);
  }
  uVar4 = uVar1 + *(uint *)(param_1 + 4);
  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +
                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00050b50
ADD EBX,0x491d63
SUB ESP,0xc
MOVZX EAX,byte ptr [EDX + 0x28]
AND EAX,0xf
CMP AL,0xa
JZ 0x001582e0
XOR EAX,EAX
XOR EDX,EDX
TEST byte ptr [ESI + 0x1c],0x1
JZ 0x0015833f
MOV ECX,dword ptr [EBP + 0x18]
MOV EDI,dword ptr [ESI + 0x8]
MOV ESI,dword ptr [ESI + 0x4]
CMP ECX,-0x1
JZ 0x00158326
XOR EBX,EBX
ADD ECX,ESI
ADC EBX,EDI
ADD EAX,ECX
ADC EDX,EBX
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOVZX EAX,byte ptr [EDX + 0x2a]
AND EAX,0x7
JNZ 0x00158320
MOV EAX,dword ptr [EDX + 0x8]
TEST byte ptr [EAX + 0x2c],0x1
JNZ 0x001582b1
MOV ECX,dword ptr [EDX + 0xc]
TEST ECX,ECX
JNZ 0x001582ff
TEST byte ptr [EDX + 0x2b],0x20
JNZ 0x001582b1
SUB ESP,0xc
PUSH EBP
CALL 0x00071a80
ADD ESP,0x10
TEST AL,AL
JNZ 0x001582b1
MOV EAX,dword ptr [ESI + 0x44]
XOR EDX,EDX
LEA EAX,[EAX + EAX*0x4 + 0x5]
SHL EAX,0x3
JMP 0x001582b5
CMP AL,0x4
JZ 0x001582b1
JMP 0x001582ff
PUSH EAX
LEA EAX,[EBX + 0xffe85d00]
PUSH EAX
LEA EAX,[EBX + 0xffe633e0]
PUSH 0x1ce
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBX + 0xffe86078]
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffe6335d]
PUSH 0xc5
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 __regparm3 FUN_00158290(int param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}\n\n" comment (function_definition "undefined8 __regparm3 FUN_00158290(int param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00158290(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x28) & 0xf) == 10)" ( (binary_expression "(*(byte *)(param_2 + 0x28) & 0xf) == 10" (parenthesized_expression "(*(byte *)(param_2 + 0x28) & 0xf)" ( (binary_expression "*(byte *)(param_2 + 0x28) & 0xf" (pointer_expression "*(byte *)(param_2 + 0x28)" * (cast_expression "(byte *)(param_2 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }" { (if_statement "if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" if (parenthesized_expression "((*(byte *)(param_2 + 0x2a) & 7) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x2a) & 7) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(param_2 + 0x2a) & 7" (pointer_expression "*(byte *)(param_2 + 0x2a)" * (cast_expression "(byte *)(param_2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2a)" ( (binary_expression "param_2 + 0x2a" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }" { (if_statement "if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }" if (parenthesized_expression "(((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0))))" ( (binary_expression "((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))" (parenthesized_expression "((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0)" ( (binary_expression "(*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0" (parenthesized_expression "(*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1)" ( (binary_expression "*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1" (pointer_expression "*(byte *)(*(int *)(param_2 + 8) + 0x2c)" * (cast_expression "(byte *)(*(int *)(param_2 + 8) + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + 0x2c)" ( (binary_expression "*(int *)(param_2 + 8) + 0x2c" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0))" ( (binary_expression "*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)" (binary_expression "*(int *)(param_2 + 0xc) != 0" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "((*(byte *)(param_2 + 0x2b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x2b) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x2b) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x2b)" * (cast_expression "(byte *)(param_2 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2b)" ( (binary_expression "param_2 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }" { (labeled_statement "LAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);" statement_identifier : (expression_statement "cVar2 = FUN_00071a80(param_2);" (assignment_expression "cVar2 = FUN_00071a80(param_2)" identifier = (call_expression "FUN_00071a80(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;)) (if_statement "if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }" { (expression_statement "uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;" (assignment_expression "uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8" identifier = (binary_expression "(*(int *)(param_1 + 0x44) * 5 + 5) * 8" (parenthesized_expression "(*(int *)(param_1 + 0x44) * 5 + 5)" ( (binary_expression "*(int *)(param_1 + 0x44) * 5 + 5" (binary_expression "*(int *)(param_1 + 0x44) * 5" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) * number_literal) + number_literal) )) * number_literal)) ;) (goto_statement "goto LAB_001582b5;" goto statement_identifier ;) })) })) }) (else_clause "else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" else (if_statement "if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" if (parenthesized_expression "((*(byte *)(param_2 + 0x2a) & 7) != 4)" ( (binary_expression "(*(byte *)(param_2 + 0x2a) & 7) != 4" (parenthesized_expression "(*(byte *)(param_2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(param_2 + 0x2a) & 7" (pointer_expression "*(byte *)(param_2 + 0x2a)" * (cast_expression "(byte *)(param_2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2a)" ( (binary_expression "param_2 + 0x2a" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_001582ff;" goto statement_identifier ;)))) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" statement_identifier : (if_statement "if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 1" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/output.h",0xc5,"address",0);" (call_expression "FUN_002446e0("../../gold/output.h",0xc5,"address",0)" identifier (argument_list "("../../gold/output.h",0xc5,"address",0)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") , number_literal ))) ;) }))) (expression_statement "uVar1 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x18)" identifier = (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0xffffffff) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);" (call_expression "FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3)" identifier (argument_list "("../../gold/symtab.h",0x1ce,"plt_offset",uVar3)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""plt_offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = uVar1 + *(uint *)(param_1 + 4);" (assignment_expression "uVar4 = uVar1 + *(uint *)(param_1 + 4)" identifier = (binary_expression "uVar1 + *(uint *)(param_1 + 4)" identifier + (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) ;) (return_statement "return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);" return (call_expression "CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4)" identifier (argument_list "(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4)" ( (binary_expression "*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4)" (binary_expression "*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4))" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(uVar1,*(uint *)(param_1 + 4))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar1,*(uint *)(param_1 + 4))" identifier (argument_list "(uVar1,*(uint *)(param_1 + 4))" ( identifier , (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ))))) + (cast_expression "(uint)CARRY4(uVar3,uVar4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier ))))) , (binary_expression "uVar3 + uVar4" identifier + identifier) ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: uint64_t address_for_global(Output_data_plt_tilegx<64,_true> * this,\n   Symbol * gsym) */\n\nuint64_t __thiscall\nanon_unknown.dwarf_b97484::Output_data_plt_tilegx<64,_true>::address_for_global\n          (Output_data_plt_tilegx<64,_true> *this,Symbol *gsym)\n\n{\n}\n\n" comment comment comment (ERROR "uint64_t __thiscall\nanon_unknown.dwarf_b97484::Output_data_plt_tilegx<64,_true>::address_for_global\n          (Output_data_plt_tilegx<64,_true> *this,Symbol *gsym)" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_b97484::" identifier . identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::" identifier > : :) (function_declarator "address_for_global\n          (Output_data_plt_tilegx<64,_true> *this,Symbol *gsym)" identifier (parameter_list "(Output_data_plt_tilegx<64,_true> *this,Symbol *gsym)" ( (parameter_declaration "Output_data_plt_tilegx" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol *gsym" type_identifier (pointer_declarator "*gsym" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "undefined8 __regparm3 FUN_00158290(int param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}\n\n" (function_definition "undefined8 __regparm3 FUN_00158290(int param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00158290(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (if_statement "if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x28) & 0xf) == 10)" ( (binary_expression "(*(byte *)(param_2 + 0x28) & 0xf) == 10" (parenthesized_expression "(*(byte *)(param_2 + 0x28) & 0xf)" ( (binary_expression "*(byte *)(param_2 + 0x28) & 0xf" (pointer_expression "*(byte *)(param_2 + 0x28)" * (cast_expression "(byte *)(param_2 + 0x28)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }" { (if_statement "if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" if (parenthesized_expression "((*(byte *)(param_2 + 0x2a) & 7) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x2a) & 7) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(param_2 + 0x2a) & 7" (pointer_expression "*(byte *)(param_2 + 0x2a)" * (cast_expression "(byte *)(param_2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2a)" ( (binary_expression "param_2 + 0x2a" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }" { (if_statement "if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }" if (parenthesized_expression "(((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0))))" ( (binary_expression "((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))" (parenthesized_expression "((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0)" ( (binary_expression "(*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0" (parenthesized_expression "(*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1)" ( (binary_expression "*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1" (pointer_expression "*(byte *)(*(int *)(param_2 + 8) + 0x2c)" * (cast_expression "(byte *)(*(int *)(param_2 + 8) + 0x2c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 8) + 0x2c)" ( (binary_expression "*(int *)(param_2 + 8) + 0x2c" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) + number_literal) )))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))" ( (parenthesized_expression "(*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0))" ( (binary_expression "*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)" (binary_expression "*(int *)(param_2 + 0xc) != 0" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) != number_literal) || (parenthesized_expression "((*(byte *)(param_2 + 0x2b) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x2b) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x2b) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x2b)" * (cast_expression "(byte *)(param_2 + 0x2b)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2b)" ( (binary_expression "param_2 + 0x2b" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) (compound_statement "{\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }" { (labeled_statement "LAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);" statement_identifier : (expression_statement "cVar2 = FUN_00071a80(param_2);" (assignment_expression "cVar2 = FUN_00071a80(param_2)" identifier = (call_expression "FUN_00071a80(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;)) (if_statement "if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }" { (expression_statement "uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;" (assignment_expression "uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8" identifier = (binary_expression "(*(int *)(param_1 + 0x44) * 5 + 5) * 8" (parenthesized_expression "(*(int *)(param_1 + 0x44) * 5 + 5)" ( (binary_expression "*(int *)(param_1 + 0x44) * 5 + 5" (binary_expression "*(int *)(param_1 + 0x44) * 5" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) * number_literal) + number_literal) )) * number_literal)) ;) (goto_statement "goto LAB_001582b5;" goto statement_identifier ;) })) })) }) (else_clause "else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" else (if_statement "if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" if (parenthesized_expression "((*(byte *)(param_2 + 0x2a) & 7) != 4)" ( (binary_expression "(*(byte *)(param_2 + 0x2a) & 7) != 4" (parenthesized_expression "(*(byte *)(param_2 + 0x2a) & 7)" ( (binary_expression "*(byte *)(param_2 + 0x2a) & 7" (pointer_expression "*(byte *)(param_2 + 0x2a)" * (cast_expression "(byte *)(param_2 + 0x2a)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x2a)" ( (binary_expression "param_2 + 0x2a" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_001582ff;" goto statement_identifier ;)))) })) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" statement_identifier : (if_statement "if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 1) == 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 1)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 1" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" { (expression_statement "FUN_002446e0("../../gold/output.h",0xc5,"address",0);" (call_expression "FUN_002446e0("../../gold/output.h",0xc5,"address",0)" identifier (argument_list "("../../gold/output.h",0xc5,"address",0)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""address"" " string_content ") , number_literal ))) ;) }))) (expression_statement "uVar1 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x18)" identifier = (pointer_expression "*(uint *)(param_2 + 0x18)" * (cast_expression "(uint *)(param_2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18)" ( (binary_expression "param_2 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }" if (parenthesized_expression "(uVar1 == 0xffffffff)" ( (binary_expression "uVar1 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }" { (expression_statement "FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);" (call_expression "FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3)" identifier (argument_list "("../../gold/symtab.h",0x1ce,"plt_offset",uVar3)" ( (string_literal ""../../gold/symtab.h"" " string_content ") , number_literal , (string_literal ""plt_offset"" " string_content ") , identifier ))) ;) })) (expression_statement "uVar4 = uVar1 + *(uint *)(param_1 + 4);" (assignment_expression "uVar4 = uVar1 + *(uint *)(param_1 + 4)" identifier = (binary_expression "uVar1 + *(uint *)(param_1 + 4)" identifier + (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) ;) (return_statement "return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);" return (call_expression "CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4)" identifier (argument_list "(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4)" ( (binary_expression "*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4)" (binary_expression "*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4))" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + (cast_expression "(uint)CARRY4(uVar1,*(uint *)(param_1 + 4))" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar1,*(uint *)(param_1 + 4))" identifier (argument_list "(uVar1,*(uint *)(param_1 + 4))" ( identifier , (pointer_expression "*(uint *)(param_1 + 4)" * (cast_expression "(uint *)(param_1 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ))))) + (cast_expression "(uint)CARRY4(uVar3,uVar4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CARRY4(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier ))))) , (binary_expression "uVar3 + uVar4" identifier + identifier) ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) & LIT) )) == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + LIT) )) * LIT)) ;) (goto_statement goto statement_identifier ;) })) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)))) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) }))) (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 ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (return_statement return (call_expression IDENT (argument_list ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))))) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) , (binary_expression IDENT + IDENT) ))) ;) })))
(function_definition "undefined8 __regparm3 FUN_00158290(int param_1,int param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}" (type_identifier "undefined8") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00158290(int param_1,int param_2)" (identifier "FUN_00158290") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  uint uVar3;\n  uint uVar4;\n  \n  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }\n  uVar3 = 0;\nLAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }\n  uVar1 = *(uint *)(param_2 + 0x18);\n  if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }\n  uVar4 = uVar1 + *(uint *)(param_1 + 4);\n  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x28) & 0xf) == 10)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x28) & 0xf) == 10" (parenthesized_expression "(*(byte *)(param_2 + 0x28) & 0xf)" (( "(") (binary_expression "*(byte *)(param_2 + 0x28) & 0xf" (pointer_expression "*(byte *)(param_2 + 0x28)" (* "*") (cast_expression "(byte *)(param_2 + 0x28)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")")))) (& "&") (number_literal "0xf")) () ")")) (== "==") (number_literal "10")) () ")")) (compound_statement "{\n    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;\n  }" ({ "{") (if_statement "if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }\n    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x2a) & 7) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x2a) & 7) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x2a) & 7)" (( "(") (binary_expression "*(byte *)(param_2 + 0x2a) & 7" (pointer_expression "*(byte *)(param_2 + 0x2a)" (* "*") (cast_expression "(byte *)(param_2 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2a)" (( "(") (binary_expression "param_2 + 0x2a" (identifier "param_2") (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "7")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }\n    }" ({ "{") (if_statement "if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }" (if "if") (parenthesized_expression "(((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0))))" (( "(") (binary_expression "((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&\n         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))" (parenthesized_expression "((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0" (parenthesized_expression "(*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1)" (( "(") (binary_expression "*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1" (pointer_expression "*(byte *)(*(int *)(param_2 + 8) + 0x2c)" (* "*") (cast_expression "(byte *)(*(int *)(param_2 + 8) + 0x2c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 8) + 0x2c)" (( "(") (binary_expression "*(int *)(param_2 + 8) + 0x2c" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x2c")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))" (( "(") (parenthesized_expression "(*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0))" (( "(") (binary_expression "*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)" (binary_expression "*(int *)(param_2 + 0xc) != 0" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "((*(byte *)(param_2 + 0x2b) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x2b) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x2b) & 0x20)" (( "(") (binary_expression "*(byte *)(param_2 + 0x2b) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x2b)" (* "*") (cast_expression "(byte *)(param_2 + 0x2b)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2b)" (( "(") (binary_expression "param_2 + 0x2b" (identifier "param_2") (+ "+") (number_literal "0x2b")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\nLAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);\n        if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }\n      }" ({ "{") (labeled_statement "LAB_001582ff:\n        cVar2 = FUN_00071a80(param_2);" (statement_identifier "LAB_001582ff") (: ":") (expression_statement "cVar2 = FUN_00071a80(param_2);" (assignment_expression "cVar2 = FUN_00071a80(param_2)" (identifier "cVar2") (= "=") (call_expression "FUN_00071a80(param_2)" (identifier "FUN_00071a80") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";"))) (if_statement "if (cVar2 == '\0') {\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;\n          goto LAB_001582b5;\n        }" ({ "{") (expression_statement "uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;" (assignment_expression "uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8" (identifier "uVar3") (= "=") (binary_expression "(*(int *)(param_1 + 0x44) * 5 + 5) * 8" (parenthesized_expression "(*(int *)(param_1 + 0x44) * 5 + 5)" (( "(") (binary_expression "*(int *)(param_1 + 0x44) * 5 + 5" (binary_expression "*(int *)(param_1 + 0x44) * 5" (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (* "*") (number_literal "5")) (+ "+") (number_literal "5")) () ")")) (* "*") (number_literal "8"))) (; ";")) (goto_statement "goto LAB_001582b5;" (goto "goto") (statement_identifier "LAB_001582b5") (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" (else "else") (if_statement "if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x2a) & 7) != 4)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x2a) & 7) != 4" (parenthesized_expression "(*(byte *)(param_2 + 0x2a) & 7)" (( "(") (binary_expression "*(byte *)(param_2 + 0x2a) & 7" (pointer_expression "*(byte *)(param_2 + 0x2a)" (* "*") (cast_expression "(byte *)(param_2 + 0x2a)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x2a)" (( "(") (binary_expression "param_2 + 0x2a" (identifier "param_2") (+ "+") (number_literal "0x2a")) () ")")))) (& "&") (number_literal "7")) () ")")) (!= "!=") (number_literal "4")) () ")")) (goto_statement "goto LAB_001582ff;" (goto "goto") (statement_identifier "LAB_001582ff") (; ";"))))) (} "}"))) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_001582b5:\n  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" (statement_identifier "LAB_001582b5") (: ":") (if_statement "if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x1c) & 1) == 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 1)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1c) & 1" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/output.h",0xc5,"address",0);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/output.h",0xc5,"address",0);" (call_expression "FUN_002446e0("../../gold/output.h",0xc5,"address",0)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0xc5,"address",0)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xc5") (, ",") (string_literal ""address"" (" """) (string_content "address") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))) (expression_statement "uVar1 = *(uint *)(param_2 + 0x18);" (assignment_expression "uVar1 = *(uint *)(param_2 + 0x18)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_2 + 0x18)" (* "*") (cast_expression "(uint *)(param_2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18)" (( "(") (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (uVar1 == 0xffffffff) {\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }" (if "if") (parenthesized_expression "(uVar1 == 0xffffffff)" (( "(") (binary_expression "uVar1 == 0xffffffff" (identifier "uVar1") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);" (call_expression "FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3)" (identifier "FUN_002446e0") (argument_list "("../../gold/symtab.h",0x1ce,"plt_offset",uVar3)" (( "(") (string_literal ""../../gold/symtab.h"" (" """) (string_content "../../gold/symtab.h") (" """)) (, ",") (number_literal "0x1ce") (, ",") (string_literal ""plt_offset"" (" """) (string_content "plt_offset") (" """)) (, ",") (identifier "uVar3") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar1 + *(uint *)(param_1 + 4);" (assignment_expression "uVar4 = uVar1 + *(uint *)(param_1 + 4)" (identifier "uVar4") (= "=") (binary_expression "uVar1 + *(uint *)(param_1 + 4)" (identifier "uVar1") (+ "+") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (return_statement "return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);" (return "return") (call_expression "CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4)" (identifier "CONCAT44") (argument_list "(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4)" (( "(") (binary_expression "*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +\n                  (uint)CARRY4(uVar3,uVar4)" (binary_expression "*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4))" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (cast_expression "(uint)CARRY4(uVar1,*(uint *)(param_1 + 4))" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar1,*(uint *)(param_1 + 4))" (identifier "CARRY4") (argument_list "(uVar1,*(uint *)(param_1 + 4))" (( "(") (identifier "uVar1") (, ",") (pointer_expression "*(uint *)(param_1 + 4)" (* "*") (cast_expression "(uint *)(param_1 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")"))))) (+ "+") (cast_expression "(uint)CARRY4(uVar3,uVar4)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CARRY4(uVar3,uVar4)" (identifier "CARRY4") (argument_list "(uVar3,uVar4)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar4") () ")"))))) (, ",") (binary_expression "uVar3 + uVar4" (identifier "uVar3") (+ "+") (identifier "uVar4")) () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: uint64_t address_for_global(Output_data_plt_tilegx<64,_true> * this,
   Symbol * gsym) */

uint64_t __thiscall
anon_unknown.dwarf_b97484::Output_data_plt_tilegx<64,_true>::address_for_global
          (Output_data_plt_tilegx<64,_true> *this,Symbol *gsym)

{
}


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

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

undefined8 __regparm3 MASKED(int param_1,int param_2)

{
  uint uVar1;
  char cVar2;
  uint uVar3;
  uint uVar4;
  
  if ((*(byte *)(param_2 + 0x28) & 0xf) == 10) {
    if ((*(byte *)(param_2 + 0x2a) & 7) == 0) {
      if (((*(byte *)(*(int *)(param_2 + 8) + 0x2c) & 1) == 0) &&
         ((*(int *)(param_2 + 0xc) != 0 || ((*(byte *)(param_2 + 0x2b) & 0x20) == 0)))) {
LAB_001582ff:
        cVar2 = FUN_00071a80(param_2);
        if (cVar2 == '\0') {
          uVar3 = (*(int *)(param_1 + 0x44) * 5 + 5) * 8;
          goto LAB_001582b5;
        }
      }
    }
    else if ((*(byte *)(param_2 + 0x2a) & 7) != 4) goto LAB_001582ff;
  }
  uVar3 = 0;
LAB_001582b5:
  if ((*(byte *)(param_1 + 0x1c) & 1) == 0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/output.h",0xc5,"address",0);
  }
  uVar1 = *(uint *)(param_2 + 0x18);
  if (uVar1 == 0xffffffff) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/symtab.h",0x1ce,"plt_offset",uVar3);
  }
  uVar4 = uVar1 + *(uint *)(param_1 + 4);
  return CONCAT44(*(int *)(param_1 + 8) + (uint)CARRY4(uVar1,*(uint *)(param_1 + 4)) +
                  (uint)CARRY4(uVar3,uVar4),uVar3 + uVar4);
}

