
/* DWARF original prototype: int advance(Track_relocs<64,_true> * this, off_t offset) */

int __thiscall gold::Track_relocs<64,_true>::advance(Track_relocs<64,_true> *this,off_t offset)

{
  ulong uVar1;
  int iVar2;
  ulong uVar3;
  
  uVar3 = this->pos_;
  if (uVar3 < this->len_) {
    uVar1 = *(ulong *)(this->prelocs_ + uVar3);
    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18
               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |
               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset) {
      iVar2 = 0;
      do {
        uVar3 = uVar3 + (long)this->reloc_size_;
        iVar2 = iVar2 + 1;
        if (this->len_ <= uVar3) break;
        uVar1 = *(ulong *)(this->prelocs_ + uVar3);
      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |
                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |
                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |
                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);
      this->pos_ = uVar3;
      return iVar2;
    }
  }
  return 0;
}



int FUN_00245ad0(long *param_1,long param_2)

{
  ulong uVar1;
  int iVar2;
  ulong uVar3;
  
  uVar3 = param_1[2];
  if (uVar3 < (ulong)param_1[1]) {
    uVar1 = *(ulong *)(*param_1 + uVar3);
    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18
               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |
               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {
      iVar2 = 0;
      do {
        uVar3 = uVar3 + (long)(int)param_1[3];
        iVar2 = iVar2 + 1;
        if ((ulong)param_1[1] <= uVar3) break;
        uVar1 = *(ulong *)(*param_1 + uVar3);
      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |
                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |
                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |
                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);
      param_1[2] = uVar3;
      return iVar2;
    }
  }
  return 0;
}


MOV RDX,qword ptr [RDI + 0x10]
MOV R9,qword ptr [RDI + 0x8]
CMP RDX,R9
JNC 0x00245b20
MOV R10,qword ptr [RDI]
MOV RAX,qword ptr [R10 + RDX*0x1]
BSWAP RAX
CMP RSI,RAX
JLE 0x00245b20
MOVSXD R11,dword ptr [RDI + 0x18]
XOR EAX,EAX
ADD RDX,R11
JMP 0x00245b13
MOV RCX,qword ptr [R10 + RDX*0x1]
LEA R8,[RDX + R11*0x1]
BSWAP RCX
CMP RCX,RSI
JGE 0x00245b1b
MOV RDX,R8
ADD EAX,0x1
CMP RDX,R9
JC 0x00245b00
MOV qword ptr [RDI + 0x10],RDX
RET
XOR EAX,EAX
RET
(translation_unit "int FUN_00245ad0(long *param_1,long param_2)\n\n{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_00245ad0(long *param_1,long param_2)\n\n{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_00245ad0(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = param_1[2];" (assignment_expression "uVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }" if (parenthesized_expression "(uVar3 < (ulong)param_1[1])" ( (binary_expression "uVar3 < (ulong)param_1[1]" identifier < (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }" { (expression_statement "uVar1 = *(ulong *)(*param_1 + uVar3);" (assignment_expression "uVar1 = *(ulong *)(*param_1 + uVar3)" identifier = (pointer_expression "*(ulong *)(*param_1 + uVar3)" * (cast_expression "(ulong *)(*param_1 + uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + uVar3)" ( (binary_expression "*param_1 + uVar3" (pointer_expression "*param_1" * identifier) + identifier) ))))) ;) (if_statement "if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }" if (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2)" ( (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" ( (binary_expression "uVar1 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" ( (binary_expression "uVar1 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" ( (binary_expression "uVar1 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) ))) < identifier) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);" do (compound_statement "{\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      }" { (expression_statement "uVar3 = uVar3 + (long)(int)param_1[3];" (assignment_expression "uVar3 = uVar3 + (long)(int)param_1[3]" identifier = (binary_expression "uVar3 + (long)(int)param_1[3]" identifier + (cast_expression "(long)(int)param_1[3]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((ulong)param_1[1] <= uVar3) break;" if (parenthesized_expression "((ulong)param_1[1] <= uVar3)" ( (binary_expression "(ulong)param_1[1] <= uVar3" (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = *(ulong *)(*param_1 + uVar3);" (assignment_expression "uVar1 = *(ulong *)(*param_1 + uVar3)" identifier = (pointer_expression "*(ulong *)(*param_1 + uVar3)" * (cast_expression "(ulong *)(*param_1 + uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + uVar3)" ( (binary_expression "*param_1 + uVar3" (pointer_expression "*param_1" * identifier) + identifier) ))))) ;) }) while (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2)" ( (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" ( (binary_expression "uVar1 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" ( (binary_expression "uVar1 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" ( (binary_expression "uVar1 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) ))) < identifier) )) ;) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: int advance(Track_relocs<64,_true> * this, off_t offset) */\n\nint __thiscall gold::Track_relocs<64,_true>::advance(Track_relocs<64,_true> *this,off_t offset)\n\n{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = this->pos_;\n  if (uVar3 < this->len_) {\n    uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);\n      this->pos_ = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}\n\n" comment (declaration "int __thiscall gold::Track_relocs<64,_true>::advance(Track_relocs<64,_true> *this,off_t offset)\n\n{\n  ulong uVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::" identifier : :) identifier (ERROR "<64" < number_literal) , (ERROR "_true>::advance(Track_relocs<64,_true> *this,off_t offset)\n\n{\n  ulong" identifier > : : (function_declarator "advance(Track_relocs<64,_true> *this,off_t offset)" identifier (parameter_list "(Track_relocs<64,_true> *this,off_t offset)" ( (parameter_declaration "Track_relocs" type_identifier) (ERROR "<64" < number_literal) , (parameter_declaration "_true> *this" type_identifier (ERROR ">" >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "off_t offset" type_identifier identifier) ))) { identifier) identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = this->pos_;" (assignment_expression "uVar3 = this->pos_" identifier = (field_expression "this->pos_" identifier -> field_identifier)) ;) (if_statement "if (uVar3 < this->len_) {\n    uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);\n      this->pos_ = uVar3;\n      return iVar2;\n    }\n  }" if (parenthesized_expression "(uVar3 < this->len_)" ( (binary_expression "uVar3 < this->len_" identifier < (field_expression "this->len_" identifier -> field_identifier)) )) (compound_statement "{\n    uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);\n      this->pos_ = uVar3;\n      return iVar2;\n    }\n  }" { (expression_statement "uVar1 = *(ulong *)(this->prelocs_ + uVar3);" (assignment_expression "uVar1 = *(ulong *)(this->prelocs_ + uVar3)" identifier = (pointer_expression "*(ulong *)(this->prelocs_ + uVar3)" * (cast_expression "(ulong *)(this->prelocs_ + uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->prelocs_ + uVar3)" ( (binary_expression "this->prelocs_ + uVar3" (field_expression "this->prelocs_" identifier -> field_identifier) + identifier) ))))) ;) (if_statement "if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);\n      this->pos_ = uVar3;\n      return iVar2;\n    }" if (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset)" ( (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" ( (binary_expression "uVar1 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" ( (binary_expression "uVar1 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" ( (binary_expression "uVar1 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) ))) < identifier) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);\n      this->pos_ = uVar3;\n      return iVar2;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset);" do (compound_statement "{\n        uVar3 = uVar3 + (long)this->reloc_size_;\n        iVar2 = iVar2 + 1;\n        if (this->len_ <= uVar3) break;\n        uVar1 = *(ulong *)(this->prelocs_ + uVar3);\n      }" { (expression_statement "uVar3 = uVar3 + (long)this->reloc_size_;" (assignment_expression "uVar3 = uVar3 + (long)this->reloc_size_" identifier = (binary_expression "uVar3 + (long)this->reloc_size_" identifier + (cast_expression "(long)this->reloc_size_" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "this->reloc_size_" identifier -> field_identifier)))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (this->len_ <= uVar3) break;" if (parenthesized_expression "(this->len_ <= uVar3)" ( (binary_expression "this->len_ <= uVar3" (field_expression "this->len_" identifier -> field_identifier) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = *(ulong *)(this->prelocs_ + uVar3);" (assignment_expression "uVar1 = *(ulong *)(this->prelocs_ + uVar3)" identifier = (pointer_expression "*(ulong *)(this->prelocs_ + uVar3)" * (cast_expression "(ulong *)(this->prelocs_ + uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this->prelocs_ + uVar3)" ( (binary_expression "this->prelocs_ + uVar3" (field_expression "this->prelocs_" identifier -> field_identifier) + identifier) ))))) ;) }) while (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset)" ( (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < offset" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" ( (binary_expression "uVar1 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" ( (binary_expression "uVar1 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" ( (binary_expression "uVar1 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) ))) < identifier) )) ;) (expression_statement "this->pos_ = uVar3;" (assignment_expression "this->pos_ = uVar3" (field_expression "this->pos_" identifier -> field_identifier) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) (ERROR "}" }))
(translation_unit "int FUN_00245ad0(long *param_1,long param_2)\n\n{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_00245ad0(long *param_1,long param_2)\n\n{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_00245ad0(long *param_1,long param_2)" identifier (parameter_list "(long *param_1,long param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "ulong uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = param_1[2];" (assignment_expression "uVar3 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (if_statement "if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }" if (parenthesized_expression "(uVar3 < (ulong)param_1[1])" ( (binary_expression "uVar3 < (ulong)param_1[1]" identifier < (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }" { (expression_statement "uVar1 = *(ulong *)(*param_1 + uVar3);" (assignment_expression "uVar1 = *(ulong *)(*param_1 + uVar3)" identifier = (pointer_expression "*(ulong *)(*param_1 + uVar3)" * (cast_expression "(ulong *)(*param_1 + uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + uVar3)" ( (binary_expression "*param_1 + uVar3" (pointer_expression "*param_1" * identifier) + identifier) ))))) ;) (if_statement "if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }" if (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2)" ( (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" ( (binary_expression "uVar1 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" ( (binary_expression "uVar1 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" ( (binary_expression "uVar1 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) ))) < identifier) )) (compound_statement "{\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);" do (compound_statement "{\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      }" { (expression_statement "uVar3 = uVar3 + (long)(int)param_1[3];" (assignment_expression "uVar3 = uVar3 + (long)(int)param_1[3]" identifier = (binary_expression "uVar3 + (long)(int)param_1[3]" identifier + (cast_expression "(long)(int)param_1[3]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)param_1[3]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))))) ;) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if ((ulong)param_1[1] <= uVar3) break;" if (parenthesized_expression "((ulong)param_1[1] <= uVar3)" ( (binary_expression "(ulong)param_1[1] <= uVar3" (cast_expression "(ulong)param_1[1]" ( (type_descriptor "ulong" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) <= identifier) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = *(ulong *)(*param_1 + uVar3);" (assignment_expression "uVar1 = *(ulong *)(*param_1 + uVar3)" identifier = (pointer_expression "*(ulong *)(*param_1 + uVar3)" * (cast_expression "(ulong *)(*param_1 + uVar3)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + uVar3)" ( (binary_expression "*param_1 + uVar3" (pointer_expression "*param_1" * identifier) + identifier) ))))) ;) }) while (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2)" ( (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" ( (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" ( (binary_expression "uVar1 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" ( (binary_expression "uVar1 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" ( (binary_expression "uVar1 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" ( (binary_expression "uVar1 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x38" identifier << number_literal)) ))) < identifier) )) ;) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (return_statement "return iVar2;" return identifier ;) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + IDENT) ))))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) ))) < IDENT) )) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })))
(function_definition "int FUN_00245ad0(long *param_1,long param_2)\n\n{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_00245ad0(long *param_1,long param_2)" (identifier "FUN_00245ad0") (parameter_list "(long *param_1,long param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  int iVar2;\n  ulong uVar3;\n  \n  uVar3 = param_1[2];\n  if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (expression_statement "uVar3 = param_1[2];" (assignment_expression "uVar3 = param_1[2]" (identifier "uVar3") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (uVar3 < (ulong)param_1[1]) {\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }" (if "if") (parenthesized_expression "(uVar3 < (ulong)param_1[1])" (( "(") (binary_expression "uVar3 < (ulong)param_1[1]" (identifier "uVar3") (< "<") (cast_expression "(ulong)param_1[1]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    uVar1 = *(ulong *)(*param_1 + uVar3);\n    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(ulong *)(*param_1 + uVar3);" (assignment_expression "uVar1 = *(ulong *)(*param_1 + uVar3)" (identifier "uVar1") (= "=") (pointer_expression "*(ulong *)(*param_1 + uVar3)" (* "*") (cast_expression "(ulong *)(*param_1 + uVar3)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + uVar3)" (( "(") (binary_expression "*param_1 + uVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "uVar3")) () ")"))))) (; ";")) (if_statement "if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }" (if "if") (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2)" (( "(") (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" (( "(") (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |\n               (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18\n               | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" (identifier "uVar1") (>> ">>") (number_literal "0x38")) (| "|") (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" (( "(") (binary_expression "uVar1 & 0xff000000000000" (identifier "uVar1") (& "&") (number_literal "0xff000000000000")) () ")")) (>> ">>") (number_literal "0x28"))) (| "|") (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" (( "(") (binary_expression "uVar1 & 0xff0000000000" (identifier "uVar1") (& "&") (number_literal "0xff0000000000")) () ")")) (>> ">>") (number_literal "0x18"))) (| "|") (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" (( "(") (binary_expression "uVar1 & 0xff00000000" (identifier "uVar1") (& "&") (number_literal "0xff00000000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" (( "(") (binary_expression "uVar1 & 0xff000000" (identifier "uVar1") (& "&") (number_literal "0xff000000")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (<< "<<") (number_literal "0x18"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "0x28"))) (| "|") (binary_expression "uVar1 << 0x38" (identifier "uVar1") (<< "<<") (number_literal "0x38"))) () ")"))) (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n      iVar2 = 0;\n      do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);\n      param_1[2] = uVar3;\n      return iVar2;\n    }" ({ "{") (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);" (do "do") (compound_statement "{\n        uVar3 = uVar3 + (long)(int)param_1[3];\n        iVar2 = iVar2 + 1;\n        if ((ulong)param_1[1] <= uVar3) break;\n        uVar1 = *(ulong *)(*param_1 + uVar3);\n      }" ({ "{") (expression_statement "uVar3 = uVar3 + (long)(int)param_1[3];" (assignment_expression "uVar3 = uVar3 + (long)(int)param_1[3]" (identifier "uVar3") (= "=") (binary_expression "uVar3 + (long)(int)param_1[3]" (identifier "uVar3") (+ "+") (cast_expression "(long)(int)param_1[3]" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)param_1[3]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))))) (; ";")) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((ulong)param_1[1] <= uVar3) break;" (if "if") (parenthesized_expression "((ulong)param_1[1] <= uVar3)" (( "(") (binary_expression "(ulong)param_1[1] <= uVar3" (cast_expression "(ulong)param_1[1]" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (<= "<=") (identifier "uVar3")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar1 = *(ulong *)(*param_1 + uVar3);" (assignment_expression "uVar1 = *(ulong *)(*param_1 + uVar3)" (identifier "uVar1") (= "=") (pointer_expression "*(ulong *)(*param_1 + uVar3)" (* "*") (cast_expression "(ulong *)(*param_1 + uVar3)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + uVar3)" (( "(") (binary_expression "*param_1 + uVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "uVar3")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2)" (( "(") (binary_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2" (cast_expression "(long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38)" (( "(") (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |\n                      (uVar1 & 0xff00) << 0x28" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |\n                      (uVar1 & 0xff000000) << 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |\n                      (uVar1 & 0xff0000000000) >> 0x18" (binary_expression "uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28" (binary_expression "uVar1 >> 0x38" (identifier "uVar1") (>> ">>") (number_literal "0x38")) (| "|") (binary_expression "(uVar1 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar1 & 0xff000000000000)" (( "(") (binary_expression "uVar1 & 0xff000000000000" (identifier "uVar1") (& "&") (number_literal "0xff000000000000")) () ")")) (>> ">>") (number_literal "0x28"))) (| "|") (binary_expression "(uVar1 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar1 & 0xff0000000000)" (( "(") (binary_expression "uVar1 & 0xff0000000000" (identifier "uVar1") (& "&") (number_literal "0xff0000000000")) () ")")) (>> ">>") (number_literal "0x18"))) (| "|") (binary_expression "(uVar1 & 0xff00000000) >> 8" (parenthesized_expression "(uVar1 & 0xff00000000)" (( "(") (binary_expression "uVar1 & 0xff00000000" (identifier "uVar1") (& "&") (number_literal "0xff00000000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff000000) << 8" (parenthesized_expression "(uVar1 & 0xff000000)" (( "(") (binary_expression "uVar1 & 0xff000000" (identifier "uVar1") (& "&") (number_literal "0xff000000")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff0000) << 0x18" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (<< "<<") (number_literal "0x18"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 0x28" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "0x28"))) (| "|") (binary_expression "uVar1 << 0x38" (identifier "uVar1") (<< "<<") (number_literal "0x38"))) () ")"))) (< "<") (identifier "param_2")) () ")")) (; ";")) (expression_statement "param_1[2] = uVar3;" (assignment_expression "param_1[2] = uVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* DWARF original prototype: int advance(Track_relocs<64,_true> * this, off_t offset) */

int __thiscall gold::Track_relocs<64,_true>::advance(Track_relocs<64,_true> *this,off_t var_3)

{
  type_1 var_2;
  int var_4;
  type_1 var_1;
  
  var_1 = this->pos_;
  if (var_1 < this->len_) {
    var_2 = *(type_1 *)(this->prelocs_ + var_1);
    if ((long)(var_2 >> 0x38 | (var_2 & 0xff000000000000) >> 0x28 | (var_2 & 0xff0000000000) >> 0x18
               | (var_2 & 0xff00000000) >> 8 | (var_2 & 0xff000000) << 8 |
               (var_2 & 0xff0000) << 0x18 | (var_2 & 0xff00) << 0x28 | var_2 << 0x38) < var_3) {
      var_4 = 0;
      do {
        var_1 = var_1 + (long)this->reloc_size_;
        var_4 = var_4 + 1;
        if (this->len_ <= var_1) break;
        var_2 = *(type_1 *)(this->prelocs_ + var_1);
      } while ((long)(var_2 >> 0x38 | (var_2 & 0xff000000000000) >> 0x28 |
                      (var_2 & 0xff0000000000) >> 0x18 | (var_2 & 0xff00000000) >> 8 |
                      (var_2 & 0xff000000) << 8 | (var_2 & 0xff0000) << 0x18 |
                      (var_2 & 0xff00) << 0x28 | var_2 << 0x38) < var_3);
      this->pos_ = var_1;
      return var_4;
    }
  }
  return 0;
}


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

int MASKED(long *param_1,long param_2)

{
  ulong uVar1;
  int iVar2;
  ulong uVar3;
  
  uVar3 = param_1[2];
  if (uVar3 < (ulong)param_1[1]) {
    uVar1 = *(ulong *)(*param_1 + uVar3);
    if ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 | (uVar1 & 0xff0000000000) >> 0x18
               | (uVar1 & 0xff00000000) >> 8 | (uVar1 & 0xff000000) << 8 |
               (uVar1 & 0xff0000) << 0x18 | (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2) {
      iVar2 = 0;
      do {
        uVar3 = uVar3 + (long)(int)param_1[3];
        iVar2 = iVar2 + 1;
        if ((ulong)param_1[1] <= uVar3) break;
        uVar1 = *(ulong *)(*param_1 + uVar3);
      } while ((long)(uVar1 >> 0x38 | (uVar1 & 0xff000000000000) >> 0x28 |
                      (uVar1 & 0xff0000000000) >> 0x18 | (uVar1 & 0xff00000000) >> 8 |
                      (uVar1 & 0xff000000) << 8 | (uVar1 & 0xff0000) << 0x18 |
                      (uVar1 & 0xff00) << 0x28 | uVar1 << 0x38) < param_2);
      param_1[2] = uVar3;
      return iVar2;
    }
  }
  return 0;
}

