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

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

{
  uint uVar1;
  uchar *puVar2;
  Should_include SVar3;
  ulong uVar4;
  uint *puVar5;
  uint *puVar6;
  char *tmpbuf;
  size_t tmpbuflen;
  Symbol *symbol;
  
  tmpbuf = (char *)0x0;
  tmpbuflen = 0;
  puVar2 = sd->symbol_names->data_;
  puVar6 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);
  uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4;
  puVar5 = puVar6 + uVar4 * 4;
  if (uVar4 != 0) {
    do {
      if (*(short *)((long)puVar6 + 0xe) != 0) {
        uVar1 = *puVar6;
        SVar3 = Library_base::should_include_member
                          (symtab,layout,
                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |
                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,
                           &tmpbuf,&tmpbuflen);
        if (SVar3 == SHOULD_INCLUDE_YES) {
          if (tmpbuf == (char *)0x0) {
            return SHOULD_INCLUDE_YES;
          }
          free(tmpbuf);
          return SHOULD_INCLUDE_YES;
        }
      }
      puVar6 = puVar6 + 4;
    } while (puVar6 != puVar5);
    if (tmpbuf != (char *)0x0) {
      free(tmpbuf);
    }
  }
  return SHOULD_INCLUDE_UNKNOWN;
}



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

{
  uint uVar1;
  long lVar2;
  ulong uVar3;
  uint *puVar4;
  uint *puVar5;
  void *local_50;
  undefined8 local_48;
  undefined1 local_40 [16];
  
  local_50 = (void *)0x0;
  local_48 = 0;
  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);
  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));
  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;
  puVar4 = puVar5 + uVar3 * 4;
  if (uVar3 != 0) {
    do {
      if (*(short *)((long)puVar5 + 0xe) != 0) {
        uVar1 = *puVar5;
        uVar3 = FUN_0028dda0(param_2,param_3,
                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8
                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);
        if ((int)uVar3 == 1) {
          if (local_50 == (void *)0x0) {
            return uVar3;
          }
          free(local_50);
          return uVar3 & 0xffffffff;
        }
      }
      puVar5 = puVar5 + 4;
    } while (puVar5 != puVar4);
    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 0x001bee78
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 0x001bee60
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]
BSWAP EDX
MOV EDX,EDX
ADD RDX,R14
CALL 0x0028dda0
POP RDX
POP RCX
CMP EAX,0x1
JZ 0x001bee90
ADD RBP,0x10
CMP RBP,RBX
JNZ 0x001bee28
MOV RDI,qword ptr [RSP + 0x28]
TEST RDI,RDI
JZ 0x001bee78
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 0x001bee7d
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_001bedb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}\n\n" (function_definition "ulong FUN_001bedb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_001bedb0(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  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) 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 "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 "lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);" (assignment_expression "lVar2 = *(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 "puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));" (assignment_expression "puVar5 = (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 "uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;" (assignment_expression "uVar3 = (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 "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        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\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        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" { (do_statement "do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);" do (compound_statement "{\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    }" { (if_statement "if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }" if (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) )) (compound_statement "{\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }" { (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);" (assignment_expression "uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" identifier = (call_expression "FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" identifier (argument_list "(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" ( identifier , identifier , (binary_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2" (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) + identifier) , identifier , identifier , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (if_statement "if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }" if (parenthesized_expression "((int)uVar3 == 1)" ( (binary_expression "(int)uVar3 == 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }" { (if_statement "if (local_50 == (void *)0x0) {\n            return uVar3;\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 uVar3;\n          }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "free(local_50);" (call_expression "free(local_50)" identifier (argument_list "(local_50)" ( identifier ))) ;) (return_statement "return uVar3 & 0xffffffff;" return (binary_expression "uVar3 & 0xffffffff" identifier & number_literal) ;) })) })) (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 (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,_true> *\n   this, Symbol_table * symtab, Layout * layout, Read_symbols_data * sd, string * why) */\n\nShould_include __thiscall\ngold::Sized_relobj_file<32,_true>::do_should_include_member\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)\n\n{\n  uint uVar1;\n  uchar *puVar2;\n  Should_include SVar3;\n  ulong uVar4;\n  uint *puVar5;\n  uint *puVar6;\n  char *tmpbuf;\n  size_t tmpbuflen;\n  Symbol *symbol;\n  \n  tmpbuf = (char *)0x0;\n  tmpbuflen = 0;\n  puVar2 = sd->symbol_names->data_;\n  puVar6 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);\n  uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4;\n  puVar5 = puVar6 + uVar4 * 4;\n  if (uVar4 != 0) {\n    do {\n      if (*(short *)((long)puVar6 + 0xe) != 0) {\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }\n      puVar6 = puVar6 + 4;\n    } while (puVar6 != puVar5);\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,_true>::do_should_include_member\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)\n\n{\n  uint uVar1;" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<32" < number_literal) , (ERROR "_true>::do_should_include_member\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)\n\n{\n  uint" identifier > : : (function_declarator "do_should_include_member\n          (Sized_relobj_file<32,_true> *this,Symbol_table *symtab,Layout *layout,\n          Read_symbols_data *sd,string *why)" identifier (parameter_list "(Sized_relobj_file<32,_true> *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 "_true> *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) identifier ;) (declaration "uchar *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "Should_include SVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "uint *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * 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 "puVar2 = sd->symbol_names->data_;" (assignment_expression "puVar2 = sd->symbol_names->data_" identifier = (field_expression "sd->symbol_names->data_" (field_expression "sd->symbol_names" identifier -> field_identifier) -> field_identifier)) ;) (expression_statement "puVar6 = (uint *)(sd->symbols->data_ + sd->external_symbols_offset);" (assignment_expression "puVar6 = (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 "uVar4 = sd->symbols_size - sd->external_symbols_offset >> 4;" (assignment_expression "uVar4 = 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 "puVar5 = puVar6 + uVar4 * 4;" (assignment_expression "puVar5 = puVar6 + uVar4 * 4" identifier = (binary_expression "puVar6 + uVar4 * 4" identifier + (binary_expression "uVar4 * 4" identifier * number_literal))) ;) (if_statement "if (uVar4 != 0) {\n    do {\n      if (*(short *)((long)puVar6 + 0xe) != 0) {\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }\n      puVar6 = puVar6 + 4;\n    } while (puVar6 != puVar5);\n    if (tmpbuf != (char *)0x0) {\n      free(tmpbuf);\n    }\n  }" if (parenthesized_expression "(uVar4 != 0)" ( (binary_expression "uVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    do {\n      if (*(short *)((long)puVar6 + 0xe) != 0) {\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }\n      puVar6 = puVar6 + 4;\n    } while (puVar6 != puVar5);\n    if (tmpbuf != (char *)0x0) {\n      free(tmpbuf);\n    }\n  }" { (do_statement "do {\n      if (*(short *)((long)puVar6 + 0xe) != 0) {\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }\n      puVar6 = puVar6 + 4;\n    } while (puVar6 != puVar5);" do (compound_statement "{\n      if (*(short *)((long)puVar6 + 0xe) != 0) {\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }\n      puVar6 = puVar6 + 4;\n    }" { (if_statement "if (*(short *)((long)puVar6 + 0xe) != 0) {\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }" if (parenthesized_expression "(*(short *)((long)puVar6 + 0xe) != 0)" ( (binary_expression "*(short *)((long)puVar6 + 0xe) != 0" (pointer_expression "*(short *)((long)puVar6 + 0xe)" * (cast_expression "(short *)((long)puVar6 + 0xe)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar6 + 0xe)" ( (binary_expression "(long)puVar6 + 0xe" (cast_expression "(long)puVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar1 = *puVar6;\n        SVar3 = Library_base::should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);\n        if (SVar3 == SHOULD_INCLUDE_YES) {\n          if (tmpbuf == (char *)0x0) {\n            return SHOULD_INCLUDE_YES;\n          }\n          free(tmpbuf);\n          return SHOULD_INCLUDE_YES;\n        }\n      }" { (expression_statement "uVar1 = *puVar6;" (assignment_expression "uVar1 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (ERROR "SVar3 = Library_base::" (assignment_expression "SVar3 = Library_base" identifier = identifier) : :) (expression_statement "should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen);" (call_expression "should_include_member\n                          (symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen)" identifier (argument_list "(symtab,layout,\n                           (char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)),&symbol,why,\n                           &tmpbuf,&tmpbuflen)" ( identifier , identifier , (cast_expression "(char *)(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18))" ( (binary_expression "puVar2 + (uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" identifier + (parenthesized_expression "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 |\n                                              (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) ))) , (pointer_expression "&symbol" & identifier) , identifier , (pointer_expression "&tmpbuf" & identifier) , (pointer_expression "&tmpbuflen" & identifier) ))) ;) (if_statement "if (SVar3 == 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 "(SVar3 == SHOULD_INCLUDE_YES)" ( (binary_expression "SVar3 == 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 "puVar6 = puVar6 + 4;" (assignment_expression "puVar6 = puVar6 + 4" identifier = (binary_expression "puVar6 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar6 != puVar5)" ( (binary_expression "puVar6 != puVar5" 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_001bedb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}\n\n" (function_definition "ulong FUN_001bedb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" type_identifier (function_declarator "FUN_001bedb0(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  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) 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 "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 "lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);" (assignment_expression "lVar2 = *(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 "puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));" (assignment_expression "puVar5 = (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 "uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;" (assignment_expression "uVar3 = (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 "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        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\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        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" { (do_statement "do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);" do (compound_statement "{\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    }" { (if_statement "if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }" if (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) )) (compound_statement "{\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }" { (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" identifier = (pointer_expression "*puVar5" * identifier)) ;) (expression_statement "uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);" (assignment_expression "uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" identifier = (call_expression "FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" identifier (argument_list "(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" ( identifier , identifier , (binary_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2" (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18)" ( (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal)) ))) + identifier) , identifier , identifier , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (if_statement "if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }" if (parenthesized_expression "((int)uVar3 == 1)" ( (binary_expression "(int)uVar3 == 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }" { (if_statement "if (local_50 == (void *)0x0) {\n            return uVar3;\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 uVar3;\n          }" { (return_statement "return uVar3;" return identifier ;) })) (expression_statement "free(local_50);" (call_expression "free(local_50)" identifier (argument_list "(local_50)" ( identifier ))) ;) (return_statement "return uVar3 & 0xffffffff;" return (binary_expression "uVar3 & 0xffffffff" identifier & number_literal) ;) })) })) (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 (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 TYPE IDENT ;) (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 (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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) + IDENT) , IDENT , IDENT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (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_001bedb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)\n\n{\n  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" (type_identifier "ulong") (function_declarator "FUN_001bedb0(undefined8 param_1,undefined8 param_2,undefined8 param_3,long param_4,\n                  undefined8 param_5)" (identifier "FUN_001bedb0") (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  uint uVar1;\n  long lVar2;\n  ulong uVar3;\n  uint *puVar4;\n  uint *puVar5;\n  void *local_50;\n  undefined8 local_48;\n  undefined1 local_40 [16];\n  \n  local_50 = (void *)0x0;\n  local_48 = 0;\n  lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);\n  puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));\n  uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;\n  puVar4 = puVar5 + uVar3 * 4;\n  if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }\n  return 2;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "uint *puVar4;" (type_identifier "uint") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "uint *puVar5;" (type_identifier "uint") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (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 "lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_4 + 0x30) + 0x10)" (identifier "lVar2") (= "=") (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 "puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28));" (assignment_expression "puVar5 = (uint *)(*(long *)(*(long *)(param_4 + 0x18) + 0x10) + *(long *)(param_4 + 0x28))" (identifier "puVar5") (= "=") (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 "uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4;" (assignment_expression "uVar3 = (ulong)(*(long *)(param_4 + 0x20) - *(long *)(param_4 + 0x28)) >> 4" (identifier "uVar3") (= "=") (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 "puVar4 = puVar5 + uVar3 * 4;" (assignment_expression "puVar4 = puVar5 + uVar3 * 4" (identifier "puVar4") (= "=") (binary_expression "puVar5 + uVar3 * 4" (identifier "puVar5") (+ "+") (binary_expression "uVar3 * 4" (identifier "uVar3") (* "*") (number_literal "4")))) (; ";")) (if_statement "if (uVar3 != 0) {\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 != 0)" (( "(") (binary_expression "uVar3 != 0" (identifier "uVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);\n    if (local_50 != (void *)0x0) {\n      free(local_50);\n    }\n  }" ({ "{") (do_statement "do {\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    } while (puVar5 != puVar4);" (do "do") (compound_statement "{\n      if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }\n      puVar5 = puVar5 + 4;\n    }" ({ "{") (if_statement "if (*(short *)((long)puVar5 + 0xe) != 0) {\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }" (if "if") (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 "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 "long"))) () ")") (identifier "puVar5")) (+ "+") (number_literal "0xe")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar1 = *puVar5;\n        uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);\n        if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }\n      }" ({ "{") (expression_statement "uVar1 = *puVar5;" (assignment_expression "uVar1 = *puVar5" (identifier "uVar1") (= "=") (pointer_expression "*puVar5" (* "*") (identifier "puVar5"))) (; ";")) (expression_statement "uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48);" (assignment_expression "uVar3 = FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" (identifier "uVar3") (= "=") (call_expression "FUN_0028dda0(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" (identifier "FUN_0028dda0") (argument_list "(param_2,param_3,\n                             (ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2,local_40,param_5,&local_50,&local_48)" (( "(") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (binary_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18) + lVar2" (call_expression "(ulong)(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18)" (( "(") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8\n                                    | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18"))) () ")"))) (+ "+") (identifier "lVar2")) (, ",") (identifier "local_40") (, ",") (identifier "param_5") (, ",") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (if_statement "if ((int)uVar3 == 1) {\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }" (if "if") (parenthesized_expression "((int)uVar3 == 1)" (( "(") (binary_expression "(int)uVar3 == 1" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          if (local_50 == (void *)0x0) {\n            return uVar3;\n          }\n          free(local_50);\n          return uVar3 & 0xffffffff;\n        }" ({ "{") (if_statement "if (local_50 == (void *)0x0) {\n            return uVar3;\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 uVar3;\n          }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (expression_statement "free(local_50);" (call_expression "free(local_50)" (identifier "free") (argument_list "(local_50)" (( "(") (identifier "local_50") () ")"))) (; ";")) (return_statement "return uVar3 & 0xffffffff;" (return "return") (binary_expression "uVar3 & 0xffffffff" (identifier "uVar3") (& "&") (number_literal "0xffffffff")) (; ";")) (} "}"))) (} "}"))) (expression_statement "puVar5 = puVar5 + 4;" (assignment_expression "puVar5 = puVar5 + 4" (identifier "puVar5") (= "=") (binary_expression "puVar5 + 4" (identifier "puVar5") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar5 != puVar4)" (( "(") (binary_expression "puVar5 != puVar4" (identifier "puVar5") (!= "!=") (identifier "puVar4")) () ")")) (; ";")) (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,_true> *
   this, Symbol_table * symtab, Layout * layout, Read_symbols_data * sd, string * why) */

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

{
  type_4 var_5;
  type_2 *var_4;
  type_1 var_6;
  type_3 var_2;
  type_4 *var_10;
  type_4 *var_1;
  char *var_8;
  size_t tmpbuflen;
  type_5 *symbol;
  
  var_8 = (char *)0x0;
  tmpbuflen = 0;
  var_4 = sd->symbol_names->data_;
  var_1 = (type_4 *)(sd->symbols->data_ + sd->external_symbols_offset);
  var_2 = sd->symbols_size - sd->external_symbols_offset >> 4;
  var_10 = var_1 + var_2 * 4;
  if (var_2 != 0) {
    do {
      if (*(short *)((long)var_1 + 0xe) != 0) {
        var_5 = *var_1;
        var_6 = Library_base::var_3
                          (symtab,layout,
                           (char *)(var_4 + (var_5 >> 0x18 | (var_5 & 0xff0000) >> 8 |
                                              (var_5 & 0xff00) << 8 | var_5 << 0x18)),&symbol,why,
                           &var_8,&tmpbuflen);
        if (var_6 == var_7) {
          if (var_8 == (char *)0x0) {
            return var_7;
          }
          var_9(var_8);
          return var_7;
        }
      }
      var_1 = var_1 + 4;
    } while (var_1 != var_10);
    if (var_8 != (char *)0x0) {
      var_9(var_8);
    }
  }
  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: (type_identifier) declarator: (identifier)) (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: (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))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)) (identifier) (identifier) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (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)

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

