
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Should_include do_should_include_member(Sized_relobj_file<32,_false> *
   this, Symbol_table * symtab, Layout * layout, Read_symbols_data * sd, string * why) */

Should_include __thiscall
gold::Sized_relobj_file<32,_false>::do_should_include_member
          (Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,
          Read_symbols_data *sd,string *why)

{
  uchar *puVar1;
  Should_include SVar2;
  ulong uVar3;
  uint *puVar4;
  uint *puVar5;
  char *tmpbuf;
  size_t tmpbuflen;
  Symbol *symbol;
  
  tmpbuf = (char *)0x0;
  tmpbuflen = 0;
  puVar1 = sd->symbol_names->data_;
  puVar5 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);
  uVar3 = sd->symbols_size - sd->external_symbols_offset >> 4;
  puVar4 = puVar5 + uVar3 * 4;
  if (uVar3 != 0) {
    do {
      if ((*(short *)((long)puVar5 + 0xe) != 0) &&
         (SVar2 = Library_base::should_include_member
                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen
                            ), SVar2 == SHOULD_INCLUDE_YES)) {
        if (tmpbuf == (char *)0x0) {
          return SHOULD_INCLUDE_YES;
        }
        free(tmpbuf);
        return SHOULD_INCLUDE_YES;
      }
      puVar5 = puVar5 + 4;
    } while (puVar5 != puVar4);
    if (tmpbuf != (char *)0x0) {
      free(tmpbuf);
    }
  }
  return SHOULD_INCLUDE_UNKNOWN;
}



ulong FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,
                  undefined8 param_5)

{
  long lVar1;
  ulong uVar2;
  uint *puVar3;
  uint *puVar4;
  void *local_50;
  undefined8 local_48;
  undefined1 local_40 [16];
  
  local_50 = (void *)0x0;
  local_48 = 0;
  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);
  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));
  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;
  puVar3 = puVar4 + uVar2 * 4;
  if (uVar2 != 0) {
    do {
      if ((*(short *)((long)puVar4 + 0xe) != 0) &&
         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,
                               &local_48), (int)uVar2 == 1)) {
        if (local_50 == (void *)0x0) {
          return uVar2;
        }
        free(local_50);
        return uVar2 & 0xffffffff;
      }
      puVar4 = puVar4 + 4;
    } while (puVar4 != puVar3);
    if (local_50 != (void *)0x0) {
      free(local_50);
    }
  }
  return 2;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x48
MOV RAX,qword ptr [RCX + 0x30]
MOV RDI,qword ptr [RCX + 0x28]
MOV qword ptr [RSP + 0x28],0x0
MOV qword ptr [RSP + 0x30],0x0
MOV R14,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RCX + 0x18]
MOV RBP,qword ptr [RAX + 0x10]
MOV RAX,qword ptr [RCX + 0x20]
SUB RAX,RDI
ADD RBP,RDI
SHR RAX,0x4
MOV RBX,RAX
SHL RBX,0x4
ADD RBX,RBP
TEST RAX,RAX
JZ 0x001bf0b4
LEA RAX,[RSP + 0x28]
MOV qword ptr [RSP + 0x18],RSI
MOV R13,R8
MOV R12,RDX
MOV qword ptr [RSP + 0x8],RAX
LEA RAX,[RSP + 0x38]
LEA R15,[RSP + 0x30]
MOV qword ptr [RSP + 0x10],RAX
NOP dword ptr [RAX]
CMP word ptr [RBP + 0xe],0x0
JZ 0x001bf09c
SUB RSP,0x8
MOV EDX,dword ptr [RBP]
MOV R8,R13
MOV RSI,R12
PUSH R15
MOV R9,qword ptr [RSP + 0x18]
MOV RCX,qword ptr [RSP + 0x20]
MOV RDI,qword ptr [RSP + 0x28]
ADD RDX,R14
CALL 0x0028dda0
POP RDX
POP RCX
CMP EAX,0x1
JZ 0x001bf0d0
ADD RBP,0x10
CMP RBP,RBX
JNZ 0x001bf068
MOV RDI,qword ptr [RSP + 0x28]
TEST RDI,RDI
JZ 0x001bf0b4
CALL 0x00147470
MOV EAX,0x2
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,qword ptr [RSP + 0x28]
TEST RDI,RDI
JZ 0x001bf0b9
MOV dword ptr [RSP + 0x8],EAX
CALL 0x00147470
MOV EAX,dword ptr [RSP + 0x8]
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "ulong FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}\n\n" (function_definition "ulong FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "void *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined1 local_40 [16];" type_identifier (array_declarator "local_40 [16]" identifier [ number_literal ]) ;) (expression_statement "local_50 = (void *)0x0;" (assignment_expression "local_50 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10)" identifier = (pointer_expression "*(long *)(*(long *)(param_4 + 0x30) + 0x10)" * (cast_expression "(long *)(*(long *)(param_4 + 0x30) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_4 + 0x30) + 0x10)" ( (binary_expression "*(long *)(param_4 + 0x30) + 0x10" (pointer_expression "*(long *)(param_4 + 0x30)" * (cast_expression "(long *)(param_4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x30)" ( (binary_expression "param_4 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));" (assignment_expression "puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" identifier = (cast_expression "(uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" ( (binary_expression "*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28)" (pointer_expression "*(long *)(*(long *)(param_4 + 0x18) + 0x10)" * (cast_expression "(long *)(*(long *)(param_4 + 0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_4 + 0x18) + 0x10)" ( (binary_expression "*(long *)(param_4 + 0x18) + 0x10" (pointer_expression "*(long *)(param_4 + 0x18)" * (cast_expression "(long *)(param_4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) )))) + number_literal) )))) + (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) ))))) )))) ;) (expression_statement "uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;" (assignment_expression "uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" identifier = (binary_expression "(ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" (call_expression "(ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28))" ( (binary_expression "*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)" (pointer_expression "*(long *)(param_4 + 0x20)" * (cast_expression "(long *)(param_4 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x20)" ( (binary_expression "param_4 + 0x20" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) ))))) ))) >> number_literal)) ;) (expression_statement "puVar3 = puVar4 + uVar2 * 4;" (assignment_expression "puVar3 = puVar4 + uVar2 * 4" identifier = (binary_expression "puVar4 + uVar2 * 4" identifier + (binary_expression "uVar2 * 4" identifier * number_literal))) ;) (if_statement "if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" { (do_statement "do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);" do (compound_statement "{\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    }" { (if_statement "if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }" if (parenthesized_expression "((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1))" ( (binary_expression "(*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)" (parenthesized_expression "(*(short *)((long)puVar4 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar4 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar4 + 0xe)" * (cast_expression "(short *)((long)puVar4 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar4 + 0xe)" ( (binary_expression "(long)puVar4 + 0xe" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)" ( (comma_expression "uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1" (assignment_expression "uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" identifier = (call_expression "FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" identifier (argument_list "(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" ( identifier , identifier , (binary_expression "(ulong)*puVar4 + lVar1" (binary_expression "(ulong)*puVar4" (parenthesized_expression "(ulong)" ( identifier )) * identifier) + identifier) , identifier , identifier , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) , (binary_expression "(int)uVar2 == 1" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal)) ))) )) (compound_statement "{\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }" { (if_statement "if (local_50 == (void *)0x0) {\n          return uVar2;\n        }" if (parenthesized_expression "(local_50 == (void *)0x0)" ( (binary_expression "local_50 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return uVar2;\n        }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "free(local_50);" (call_expression "free(local_50)" identifier (argument_list "(local_50)" ( identifier ))) ;) (return_statement "return uVar2 & 0xffffffff;" return (binary_expression "uVar2 & 0xffffffff" identifier & number_literal) ;) })) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar3)" ( (binary_expression "puVar4 != puVar3" identifier != identifier) )) ;) (if_statement "if (local_50 != (void *)0x0) {\n      free(local_50);\n    }" if (parenthesized_expression "(local_50 != (void *)0x0)" ( (binary_expression "local_50 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(local_50);\n    }" { (expression_statement "free(local_50);" (call_expression "free(local_50)" identifier (argument_list "(local_50)" ( identifier ))) ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Should_include do_should_include_member(Sized_relobj_file<32,_false> *\n   this, Symbol_table * symtab, Layout * layout, Read_symbols_data * sd, string * why) */\n\nShould_include __thiscall\ngold::Sized_relobj_file<32,_false>::do_should_include_member\n          (Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)\n\n{\n  uchar *puVar1;\n  Should_include SVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  char *tmpbuf;\n  size_t tmpbuflen;\n  Symbol *symbol;\n  \n  tmpbuf = (char *)0x0;\n  tmpbuflen = 0;\n  puVar1 = sd->symbol_names->data_;\n  puVar5 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);\n  uVar3 = sd->symbols_size - sd->external_symbols_offset >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if ((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)) {\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (tmpbuf != (char *)0x0) {\n      free(tmpbuf);\n    }\n  }\n  return SHOULD_INCLUDE_UNKNOWN;\n}\n\n" comment comment (declaration "Should_include __thiscall\ngold::Sized_relobj_file<32,_false>::do_should_include_member\n          (Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)\n\n{\n  uchar *puVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_false>::do_should_include_member\n          (Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)\n\n{\n  uchar" identifier > : : (function_declarator "do_should_include_member\n          (Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)" identifier (parameter_list "(Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)" ( (parameter_declaration "Sized_relobj_file" type_identifier) (ERROR "<32" < number_literal) , (parameter_declaration "_false> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) , (parameter_declaration "Read_symbols_data *sd" type_identifier (pointer_declarator "*sd" * identifier)) , (parameter_declaration "string *why" type_identifier (pointer_declarator "*why" * identifier)) ))) { identifier) (pointer_declarator "*puVar1" * identifier) ;) (declaration "Should_include SVar2;" type_identifier identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "char *tmpbuf;" primitive_type (pointer_declarator "*tmpbuf" * identifier) ;) (declaration "size_t tmpbuflen;" primitive_type identifier ;) (declaration "Symbol *symbol;" type_identifier (pointer_declarator "*symbol" * identifier) ;) (expression_statement "tmpbuf = (char *)0x0;" (assignment_expression "tmpbuf = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "tmpbuflen = 0;" (assignment_expression "tmpbuflen = 0" identifier = number_literal) ;) (expression_statement "puVar1 = sd->symbol_names->data_;" (assignment_expression "puVar1 = sd->symbol_names->data_" identifier = (field_expression "sd->symbol_names->data_" (field_expression "sd->symbol_names" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "puVar5 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);" (assignment_expression "puVar5 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset)" identifier = (cast_expression "(uint *)(sd->symbols->data_ + sd->external_symbols_offset)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sd->symbols->data_ + sd->external_symbols_offset)" ( (binary_expression "sd->symbols->data_ + sd->external_symbols_offset" (field_expression "sd->symbols->data_" (field_expression "sd->symbols" identifier -> field_identifier) -> field_identifier) + (field_expression "sd->external_symbols_offset" identifier -> field_identifier)) )))) ;) (expression_statement "uVar3 = sd->symbols_size - sd->external_symbols_offset >> 4;" (assignment_expression "uVar3 = sd->symbols_size - sd->external_symbols_offset >> 4" identifier = (binary_expression "sd->symbols_size - sd->external_symbols_offset >> 4" (binary_expression "sd->symbols_size - sd->external_symbols_offset" (field_expression "sd->symbols_size" identifier -> field_identifier) - (field_expression "sd->external_symbols_offset" identifier -> field_identifier)) >> number_literal)) ;) (expression_statement "puVar4 = puVar5 + uVar3 * 4;" (assignment_expression "puVar4 = puVar5 + uVar3 * 4" identifier = (binary_expression "puVar5 + uVar3 * 4" identifier + (binary_expression "uVar3 * 4" identifier * number_literal))) ;) (if_statement "if (uVar3 != 0) {\n    do {\n      if ((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)) {\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (tmpbuf != (char *)0x0) {\n      free(tmpbuf);\n    }\n  }" if (parenthesized_expression "(uVar3 != 0)" ( (binary_expression "uVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      if ((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)) {\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (tmpbuf != (char *)0x0) {\n      free(tmpbuf);\n    }\n  }" { (do_statement "do {\n      if ((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)) {\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);" do (compound_statement "{\n      if ((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)) {\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }\n      puVar5 = puVar5 + 4;\n    }" { (if_statement "if ((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)) {\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }" if (parenthesized_expression "((*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES))" ( (binary_expression "(*(short *)((long)puVar5 + 0xe) != 0) &&\n         (SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)" (parenthesized_expression "(*(short *)((long)puVar5 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar5 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar5 + 0xe)" * (cast_expression "(short *)((long)puVar5 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar5 + 0xe)" ( (binary_expression "(long)puVar5 + 0xe" (cast_expression "(long)puVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(SVar2 = Library_base::should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES)" ( (ERROR "SVar2 = Library_base::" (assignment_expression "SVar2 = Library_base" identifier = identifier) : :) (comma_expression "should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            ), SVar2 == SHOULD_INCLUDE_YES" (call_expression "should_include_member\n                            (symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            )" identifier (argument_list "(symtab,layout,(char *)(puVar1 + *puVar5),&symbol,why,&tmpbuf,&tmpbuflen\n                            )" ( identifier , identifier , (cast_expression "(char *)(puVar1 + *puVar5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + *puVar5)" ( (binary_expression "puVar1 + *puVar5" identifier + (pointer_expression "*puVar5" * identifier)) ))) , (pointer_expression "&symbol" & identifier) , identifier , (pointer_expression "&tmpbuf" & identifier) , (pointer_expression "&tmpbuflen" & identifier) ))) , (binary_expression "SVar2 == SHOULD_INCLUDE_YES" identifier == identifier)) ))) )) (compound_statement "{\n        if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }\n        free(tmpbuf);\n        return SHOULD_INCLUDE_YES;\n      }" { (if_statement "if (tmpbuf == (char *)0x0) {\n          return SHOULD_INCLUDE_YES;\n        }" if (parenthesized_expression "(tmpbuf == (char *)0x0)" ( (binary_expression "tmpbuf == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return SHOULD_INCLUDE_YES;\n        }" { (return_statement "return SHOULD_INCLUDE_YES;" return identifier ;) })) (expression_statement "free(tmpbuf);" (call_expression "free(tmpbuf)" identifier (argument_list "(tmpbuf)" ( identifier ))) ;) (return_statement "return SHOULD_INCLUDE_YES;" return identifier ;) })) (expression_statement "puVar5 = puVar5 + 4;" (assignment_expression "puVar5 = puVar5 + 4" identifier = (binary_expression "puVar5 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar5 != puVar4)" ( (binary_expression "puVar5 != puVar4" identifier != identifier) )) ;) (if_statement "if (tmpbuf != (char *)0x0) {\n      free(tmpbuf);\n    }" if (parenthesized_expression "(tmpbuf != (char *)0x0)" ( (binary_expression "tmpbuf != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(tmpbuf);\n    }" { (expression_statement "free(tmpbuf);" (call_expression "free(tmpbuf)" identifier (argument_list "(tmpbuf)" ( identifier ))) ;) })) })) (return_statement "return SHOULD_INCLUDE_UNKNOWN;" return identifier ;) (ERROR "}" }))
(translation_unit "ulong FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}\n\n" (function_definition "ulong FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" identifier (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined8 param_3" type_identifier identifier) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_5" type_identifier identifier) ))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "uint *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "uint *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "void *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (declaration "undefined1 local_40 [16];" type_identifier (array_declarator "local_40 [16]" identifier [ number_literal ]) ;) (expression_statement "local_50 = (void *)0x0;" (assignment_expression "local_50 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10)" identifier = (pointer_expression "*(long *)(*(long *)(param_4 + 0x30) + 0x10)" * (cast_expression "(long *)(*(long *)(param_4 + 0x30) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_4 + 0x30) + 0x10)" ( (binary_expression "*(long *)(param_4 + 0x30) + 0x10" (pointer_expression "*(long *)(param_4 + 0x30)" * (cast_expression "(long *)(param_4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x30)" ( (binary_expression "param_4 + 0x30" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));" (assignment_expression "puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" identifier = (cast_expression "(uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" ( (binary_expression "*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28)" (pointer_expression "*(long *)(*(long *)(param_4 + 0x18) + 0x10)" * (cast_expression "(long *)(*(long *)(param_4 + 0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_4 + 0x18) + 0x10)" ( (binary_expression "*(long *)(param_4 + 0x18) + 0x10" (pointer_expression "*(long *)(param_4 + 0x18)" * (cast_expression "(long *)(param_4 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x18)" ( (binary_expression "param_4 + 0x18" identifier + number_literal) )))) + number_literal) )))) + (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) ))))) )))) ;) (expression_statement "uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;" (assignment_expression "uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" identifier = (binary_expression "(ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" (call_expression "(ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28))" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28))" ( (binary_expression "*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)" (pointer_expression "*(long *)(param_4 + 0x20)" * (cast_expression "(long *)(param_4 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x20)" ( (binary_expression "param_4 + 0x20" identifier + number_literal) )))) - (pointer_expression "*(long *)(param_4 + 0x28)" * (cast_expression "(long *)(param_4 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + 0x28)" ( (binary_expression "param_4 + 0x28" identifier + number_literal) ))))) ))) >> number_literal)) ;) (expression_statement "puVar3 = puVar4 + uVar2 * 4;" (assignment_expression "puVar3 = puVar4 + uVar2 * 4" identifier = (binary_expression "puVar4 + uVar2 * 4" identifier + (binary_expression "uVar2 * 4" identifier * number_literal))) ;) (if_statement "if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" if (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" { (do_statement "do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);" do (compound_statement "{\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    }" { (if_statement "if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }" if (parenthesized_expression "((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1))" ( (binary_expression "(*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)" (parenthesized_expression "(*(short *)((long)puVar4 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar4 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar4 + 0xe)" * (cast_expression "(short *)((long)puVar4 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar4 + 0xe)" ( (binary_expression "(long)puVar4 + 0xe" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) && (parenthesized_expression "(uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)" ( (comma_expression "uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1" (assignment_expression "uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" identifier = (call_expression "FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" identifier (argument_list "(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" ( identifier , identifier , (binary_expression "(ulong)*puVar4 + lVar1" (binary_expression "(ulong)*puVar4" (parenthesized_expression "(ulong)" ( identifier )) * identifier) + identifier) , identifier , identifier , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) , (binary_expression "(int)uVar2 == 1" (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal)) ))) )) (compound_statement "{\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }" { (if_statement "if (local_50 == (void *)0x0) {\n          return uVar2;\n        }" if (parenthesized_expression "(local_50 == (void *)0x0)" ( (binary_expression "local_50 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          return uVar2;\n        }" { (return_statement "return uVar2;" return identifier ;) })) (expression_statement "free(local_50);" (call_expression "free(local_50)" identifier (argument_list "(local_50)" ( identifier ))) ;) (return_statement "return uVar2 & 0xffffffff;" return (binary_expression "uVar2 & 0xffffffff" identifier & number_literal) ;) })) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" identifier = (binary_expression "puVar4 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar4 != puVar3)" ( (binary_expression "puVar4 != puVar3" identifier != identifier) )) ;) (if_statement "if (local_50 != (void *)0x0) {\n      free(local_50);\n    }" if (parenthesized_expression "(local_50 != (void *)0x0)" ( (binary_expression "local_50 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      free(local_50);\n    }" { (expression_statement "free(local_50);" (call_expression "free(local_50)" identifier (argument_list "(local_50)" ( identifier ))) ;) })) })) (return_statement "return 2;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) + IDENT) , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return (binary_expression IDENT & LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) })) (return_statement return LIT ;) })))
(function_definition "ulong FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" (type_identifier "ulong") (function_declarator "FUN_001beff0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" (identifier "FUN_001beff0") (parameter_list "(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined8 param_3" (type_identifier "undefined8") (identifier "param_3")) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "undefined8 param_5" (type_identifier "undefined8") (identifier "param_5")) () ")"))) (compound_statement "{\n  long lVar1;\n  ulong uVar2;\n  uint *puVar3;\n  uint *puVar4;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar3 = puVar4 + uVar2 * 4;\n  if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "uint *puVar3;" (type_identifier "uint") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "void *local_50;" (primitive_type "void") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "undefined8 local_48;" (type_identifier "undefined8") (identifier "local_48") (; ";")) (declaration "undefined1 local_40 [16];" (type_identifier "undefined1") (array_declarator "local_40 [16]" (identifier "local_40") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "local_50 = (void *)0x0;" (assignment_expression "local_50 = (void *)0x0" (identifier "local_50") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);" (assignment_expression "lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10)" (identifier "lVar1") (= "=") (pointer_expression "*(long *)(*(long *)(param_4 + 0x30) + 0x10)" (* "*") (cast_expression "(long *)(*(long *)(param_4 + 0x30) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_4 + 0x30) + 0x10)" (( "(") (binary_expression "*(long *)(param_4 + 0x30) + 0x10" (pointer_expression "*(long *)(param_4 + 0x30)" (* "*") (cast_expression "(long *)(param_4 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x30)" (( "(") (binary_expression "param_4 + 0x30" (identifier "param_4") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));" (assignment_expression "puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" (identifier "puVar4") (= "=") (cast_expression "(uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" (( "(") (binary_expression "*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28)" (pointer_expression "*(long *)(*(long *)(param_4 + 0x18) + 0x10)" (* "*") (cast_expression "(long *)(*(long *)(param_4 + 0x18) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_4 + 0x18) + 0x10)" (( "(") (binary_expression "*(long *)(param_4 + 0x18) + 0x10" (pointer_expression "*(long *)(param_4 + 0x18)" (* "*") (cast_expression "(long *)(param_4 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x18)" (( "(") (binary_expression "param_4 + 0x18" (identifier "param_4") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))) (+ "+") (pointer_expression "*(long *)(param_4 + 0x28)" (* "*") (cast_expression "(long *)(param_4 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x28)" (( "(") (binary_expression "param_4 + 0x28" (identifier "param_4") (+ "+") (number_literal "0x28")) () ")"))))) () ")")))) (; ";")) (expression_statement "uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;" (assignment_expression "uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" (identifier "uVar2") (= "=") (binary_expression "(ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" (call_expression "(ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28))" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28))" (( "(") (binary_expression "*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)" (pointer_expression "*(long *)(param_4 + 0x20)" (* "*") (cast_expression "(long *)(param_4 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x20)" (( "(") (binary_expression "param_4 + 0x20" (identifier "param_4") (+ "+") (number_literal "0x20")) () ")")))) (- "-") (pointer_expression "*(long *)(param_4 + 0x28)" (* "*") (cast_expression "(long *)(param_4 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + 0x28)" (( "(") (binary_expression "param_4 + 0x28" (identifier "param_4") (+ "+") (number_literal "0x28")) () ")"))))) () ")"))) (>> ">>") (number_literal "4"))) (; ";")) (expression_statement "puVar3 = puVar4 + uVar2 * 4;" (assignment_expression "puVar3 = puVar4 + uVar2 * 4" (identifier "puVar3") (= "=") (binary_expression "puVar4 + uVar2 * 4" (identifier "puVar4") (+ "+") (binary_expression "uVar2 * 4" (identifier "uVar2") (* "*") (number_literal "4")))) (; ";")) (if_statement "if (uVar2 != 0) {\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" (if "if") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" ({ "{") (do_statement "do {\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    } while (puVar4 != puVar3);" (do "do") (compound_statement "{\n      if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }\n      puVar4 = puVar4 + 4;\n    }" ({ "{") (if_statement "if ((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)) {\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }" (if "if") (parenthesized_expression "((*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1))" (( "(") (binary_expression "(*(short *)((long)puVar4 + 0xe) != 0) &&\n         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)" (parenthesized_expression "(*(short *)((long)puVar4 + 0xe) != 0)" (( "(") (binary_expression "*(short *)((long)puVar4 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar4 + 0xe)" (* "*") (cast_expression "(short *)((long)puVar4 + 0xe)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar4 + 0xe)" (( "(") (binary_expression "(long)puVar4 + 0xe" (cast_expression "(long)puVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar4")) (+ "+") (number_literal "0xe")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1)" (( "(") (comma_expression "uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48), (int)uVar2 == 1" (assignment_expression "uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" (identifier "uVar2") (= "=") (call_expression "FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" (identifier "FUN_0028dda0") (argument_list "(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,\n                               &local_48)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (binary_expression "(ulong)*puVar4 + lVar1" (binary_expression "(ulong)*puVar4" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "puVar4")) (+ "+") (identifier "lVar1")) (, ",") (identifier "local_40") (, ",") (identifier "param_5") (, ",") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (, ",") (binary_expression "(int)uVar2 == 1" (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2")) (== "==") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n        if (local_50 == (void *)0x0) {\n          return uVar2;\n        }\n        free(local_50);\n        return uVar2 & 0xffffffff;\n      }" ({ "{") (if_statement "if (local_50 == (void *)0x0) {\n          return uVar2;\n        }" (if "if") (parenthesized_expression "(local_50 == (void *)0x0)" (( "(") (binary_expression "local_50 == (void *)0x0" (identifier "local_50") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          return uVar2;\n        }" ({ "{") (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}"))) (expression_statement "free(local_50);" (call_expression "free(local_50)" (identifier "free") (argument_list "(local_50)" (( "(") (identifier "local_50") () ")"))) (; ";")) (return_statement "return uVar2 & 0xffffffff;" (return "return") (binary_expression "uVar2 & 0xffffffff" (identifier "uVar2") (& "&") (number_literal "0xffffffff")) (; ";")) (} "}"))) (expression_statement "puVar4 = puVar4 + 4;" (assignment_expression "puVar4 = puVar4 + 4" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 4" (identifier "puVar4") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar4 != puVar3)" (( "(") (binary_expression "puVar4 != puVar3" (identifier "puVar4") (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (if_statement "if (local_50 != (void *)0x0) {\n      free(local_50);\n    }" (if "if") (parenthesized_expression "(local_50 != (void *)0x0)" (( "(") (binary_expression "local_50 != (void *)0x0" (identifier "local_50") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      free(local_50);\n    }" ({ "{") (expression_statement "free(local_50);" (call_expression "free(local_50)" (identifier "free") (argument_list "(local_50)" (( "(") (identifier "local_50") () ")"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Should_include do_should_include_member(Sized_relobj_file<32,_false> *
   this, Symbol_table * symtab, Layout * layout, Read_symbols_data * sd, string * why) */

type_1 __thiscall
gold::Sized_relobj_file<32,_false>::do_should_include_member
          (Sized_relobj_file<32,_false> *this,Symbol_table *symtab,Layout *layout,
          Read_symbols_data *sd,string *why)

{
  uchar *var_4;
  type_1 var_5;
  type_2 var_2;
  type_3 *var_9;
  type_3 *var_1;
  char *var_7;
  size_t tmpbuflen;
  type_4 *symbol;
  
  var_7 = (char *)0x0;
  tmpbuflen = 0;
  var_4 = sd->symbol_names->data_;
  var_1 = (type_3 *)(sd->symbols->data_ + sd->external_symbols_offset);
  var_2 = sd->symbols_size - sd->external_symbols_offset >> 4;
  var_9 = var_1 + var_2 * 4;
  if (var_2 != 0) {
    do {
      if ((*(short *)((long)var_1 + 0xe) != 0) &&
         (var_5 = Library_base::var_3
                            (symtab,layout,(char *)(var_4 + *var_1),&symbol,why,&var_7,&tmpbuflen
                            ), var_5 == var_6)) {
        if (var_7 == (char *)0x0) {
          return var_6;
        }
        var_8(var_7);
        return var_6;
      }
      var_1 = var_1 + 4;
    } while (var_1 != var_9);
    if (var_7 != (char *)0x0) {
      var_8(var_7);
    }
  }
  return SHOULD_INCLUDE_UNKNOWN;
}


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

ulong MASKED(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,
                  undefined8 param_5)

{
  long lVar1;
  ulong uVar2;
  uint *puVar3;
  uint *puVar4;
  void *local_50;
  undefined8 local_48;
  undefined1 local_40 [16];
  
  local_50 = (void *)0x0;
  local_48 = 0;
  lVar1 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);
  puVar4 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));
  uVar2 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;
  puVar3 = puVar4 + uVar2 * 4;
  if (uVar2 != 0) {
    do {
      if ((*(short *)((long)puVar4 + 0xe) != 0) &&
         (uVar2 = FUN_0028dda0(param_2,param_3,(ulong)*puVar4 + lVar1,local_40,param_5,&local_50,
                               &local_48), (int)uVar2 == 1)) {
        if (local_50 == (void *)0x0) {
          return uVar2;
        }
        free(local_50);
        return uVar2 & 0xffffffff;
      }
      puVar4 = puVar4 + 4;
    } while (puVar4 != puVar3);
    if (local_50 != (void *)0x0) {
      free(local_50);
    }
  }
  return 2;
}

