
/* DWARF original prototype: int addToSavepointBitvecs(Pager * pPager, Pgno pgno, Pager * pPager) */

int addToSavepointBitvecs(Pager *pPager,Pgno pgno,Pager *pPager_1)

{
  uint uVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  uint uVar5;
  
  iVar2 = *(int *)pgno;
  if (iVar2 < 1) {
    return 0;
  }
  uVar5 = 0;
  iVar3 = 0;
  iVar4 = 0;
  do {
    while( true ) {
      iVar3 = iVar3 + 1;
      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;
      iVar4 = iVar4 + 0x30;
      if (iVar2 <= iVar3) {
        return uVar5;
      }
    }
    uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);
    iVar2 = *(int *)pgno;
    uVar5 = uVar5 | uVar1;
    iVar4 = iVar4 + 0x30;
  } while (iVar3 < iVar2);
  return uVar5;
}



uint FUN_0006ab88(int *param_1,int *param_2,uint param_3)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  
  iVar3 = *param_2;
  if (iVar3 < 1) {
    return 0;
  }
  iVar5 = 0;
  uVar6 = 0;
  iVar4 = 0;
  do {
    while( true ) {
      iVar4 = iVar4 + 1;
      iVar1 = *param_1 + iVar5;
      iVar5 = iVar5 + 0x30;
      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;
      if (iVar3 <= iVar4) {
        return uVar6;
      }
    }
    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);
    iVar3 = *param_2;
    uVar6 = uVar6 | uVar2;
  } while (iVar4 < iVar3);
  return uVar6;
}


lui gp,0x13
addiu gp,gp,-0x2268
addu gp,gp,t9
addiu sp,sp,-0x38
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
lw a3,0x0(a1)
blez a3,0x0006ac5c
_lw s3,-0x7d68(gp)
or s4,a2,zero
or s5,a0,zero
or s2,a1,zero
or s1,zero,zero
or s6,zero,zero
or s0,zero,zero
b 0x0006abf4
_addiu s3,s3,-0x5808
slt v0,s0,a3
beq v0,zero,0x0006ac34
_lw ra,0x34(sp)
lw v0,0x0(s5)
addiu s0,s0,0x1
addu v0,v0,s1
lw v1,0x14(v0)
sltu v1,v1,s4
bne v1,zero,0x0006abe8
_addiu s1,s1,0x30
lw a0,0x10(v0)
or t9,s3,zero
bal 0x0006a7f8
_or a1,s4,zero
lw a3,0x0(s2)
or s6,s6,v0
slt v0,s0,a3
bne v0,zero,0x0006abf4
_lw ra,0x34(sp)
or v0,s6,zero
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
lw ra,0x34(sp)
or s6,zero,zero
lw s5,0x2c(sp)
or v0,s6,zero
lw s4,0x28(sp)
lw s6,0x30(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "uint FUN_0006ab88(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}\n\n" (function_definition "uint FUN_0006ab88(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}" type_identifier (function_declarator "FUN_0006ab88(int *param_1,int *param_2,uint param_3)" identifier (parameter_list "(int *param_1,int *param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar3 < 1) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);" do (compound_statement "{\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  }" { (while_statement "while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *param_1 + iVar5;" (assignment_expression "iVar1 = *param_1 + iVar5" identifier = (binary_expression "*param_1 + iVar5" (pointer_expression "*param_1" * identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 0x30;" (assignment_expression "iVar5 = iVar5 + 0x30" identifier = (binary_expression "iVar5 + 0x30" identifier + number_literal)) ;) (if_statement "if (param_3 <= *(uint *)(iVar1 + 0x14)) break;" if (parenthesized_expression "(param_3 <= *(uint *)(iVar1 + 0x14))" ( (binary_expression "param_3 <= *(uint *)(iVar1 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) )) (break_statement "break;" break ;)) (if_statement "if (iVar3 <= iVar4) {\n        return uVar6;\n      }" if (parenthesized_expression "(iVar3 <= iVar4)" ( (binary_expression "iVar3 <= iVar4" identifier <= identifier) )) (compound_statement "{\n        return uVar6;\n      }" { (return_statement "return uVar6;" return identifier ;) })) })) (expression_statement "uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);" (assignment_expression "uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3)" identifier = (call_expression "FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3)" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10),param_3)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = uVar6 | uVar2;" (assignment_expression "uVar6 = uVar6 | uVar2" identifier = (binary_expression "uVar6 | uVar2" identifier | identifier)) ;) }) while (parenthesized_expression "(iVar4 < iVar3)" ( (binary_expression "iVar4 < iVar3" identifier < identifier) )) ;) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit "/* DWARF original prototype: int addToSavepointBitvecs(Pager * pPager, Pgno pgno, Pager * pPager) */\n\nint addToSavepointBitvecs(Pager *pPager,Pgno pgno,Pager *pPager_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar2 = *(int *)pgno;\n  if (iVar2 < 1) {\n    return 0;\n  }\n  uVar5 = 0;\n  iVar3 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }\n    uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);\n    iVar2 = *(int *)pgno;\n    uVar5 = uVar5 | uVar1;\n    iVar4 = iVar4 + 0x30;\n  } while (iVar3 < iVar2);\n  return uVar5;\n}\n\n" comment (function_definition "int addToSavepointBitvecs(Pager *pPager,Pgno pgno,Pager *pPager_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar2 = *(int *)pgno;\n  if (iVar2 < 1) {\n    return 0;\n  }\n  uVar5 = 0;\n  iVar3 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }\n    uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);\n    iVar2 = *(int *)pgno;\n    uVar5 = uVar5 | uVar1;\n    iVar4 = iVar4 + 0x30;\n  } while (iVar3 < iVar2);\n  return uVar5;\n}" primitive_type (function_declarator "addToSavepointBitvecs(Pager *pPager,Pgno pgno,Pager *pPager_1)" identifier (parameter_list "(Pager *pPager,Pgno pgno,Pager *pPager_1)" ( (parameter_declaration "Pager *pPager" type_identifier (pointer_declarator "*pPager" * identifier)) , (parameter_declaration "Pgno pgno" type_identifier identifier) , (parameter_declaration "Pager *pPager_1" type_identifier (pointer_declarator "*pPager_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  uint uVar5;\n  \n  iVar2 = *(int *)pgno;\n  if (iVar2 < 1) {\n    return 0;\n  }\n  uVar5 = 0;\n  iVar3 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }\n    uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);\n    iVar2 = *(int *)pgno;\n    uVar5 = uVar5 | uVar1;\n    iVar4 = iVar4 + 0x30;\n  } while (iVar3 < iVar2);\n  return uVar5;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "iVar2 = *(int *)pgno;" (assignment_expression "iVar2 = *(int *)pgno" identifier = (pointer_expression "*(int *)pgno" * (cast_expression "(int *)pgno" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (iVar2 < 1) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }\n    uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);\n    iVar2 = *(int *)pgno;\n    uVar5 = uVar5 | uVar1;\n    iVar4 = iVar4 + 0x30;\n  } while (iVar3 < iVar2);" do (compound_statement "{\n    while( true ) {\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }\n    uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);\n    iVar2 = *(int *)pgno;\n    uVar5 = uVar5 | uVar1;\n    iVar4 = iVar4 + 0x30;\n  }" { (while_statement "while( true ) {\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar3 = iVar3 + 1;\n      if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;\n      iVar4 = iVar4 + 0x30;\n      if (iVar2 <= iVar3) {\n        return uVar5;\n      }\n    }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)) break;" if (parenthesized_expression "(pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4))" ( (binary_expression "pPager_1 <= *(Pager **)((int)&pPager->pVfs->pAppData + iVar4)" identifier <= (pointer_expression "*(Pager **)((int)&pPager->pVfs->pAppData + iVar4)" * (cast_expression "(Pager **)((int)&pPager->pVfs->pAppData + iVar4)" ( (type_descriptor "Pager **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&pPager->pVfs->pAppData + iVar4)" ( (binary_expression "(int)&pPager->pVfs->pAppData + iVar4" (cast_expression "(int)&pPager->pVfs->pAppData" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPager->pVfs->pAppData" & (field_expression "pPager->pVfs->pAppData" (field_expression "pPager->pVfs" identifier -> field_identifier) -> field_identifier))) + identifier) ))))) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 0x30;" (assignment_expression "iVar4 = iVar4 + 0x30" identifier = (binary_expression "iVar4 + 0x30" identifier + number_literal)) ;) (if_statement "if (iVar2 <= iVar3) {\n        return uVar5;\n      }" if (parenthesized_expression "(iVar2 <= iVar3)" ( (binary_expression "iVar2 <= iVar3" identifier <= identifier) )) (compound_statement "{\n        return uVar5;\n      }" { (return_statement "return uVar5;" return identifier ;) })) })) (expression_statement "uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1);" (assignment_expression "uVar1 = sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1)" identifier = (call_expression "sqlite3BitvecSet(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1)" identifier (argument_list "(*(Bitvec **)((int)&pPager->pVfs->zName + iVar4),(u32)pPager_1)" ( (pointer_expression "*(Bitvec **)((int)&pPager->pVfs->zName + iVar4)" * (cast_expression "(Bitvec **)((int)&pPager->pVfs->zName + iVar4)" ( (type_descriptor "Bitvec **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&pPager->pVfs->zName + iVar4)" ( (binary_expression "(int)&pPager->pVfs->zName + iVar4" (cast_expression "(int)&pPager->pVfs->zName" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPager->pVfs->zName" & (field_expression "pPager->pVfs->zName" (field_expression "pPager->pVfs" identifier -> field_identifier) -> field_identifier))) + identifier) )))) , (cast_expression "(u32)pPager_1" ( (type_descriptor "u32" type_identifier) ) identifier) )))) ;) (expression_statement "iVar2 = *(int *)pgno;" (assignment_expression "iVar2 = *(int *)pgno" identifier = (pointer_expression "*(int *)pgno" * (cast_expression "(int *)pgno" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "uVar5 = uVar5 | uVar1;" (assignment_expression "uVar5 = uVar5 | uVar1" identifier = (binary_expression "uVar5 | uVar1" identifier | identifier)) ;) (expression_statement "iVar4 = iVar4 + 0x30;" (assignment_expression "iVar4 = iVar4 + 0x30" identifier = (binary_expression "iVar4 + 0x30" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) ;) (return_statement "return uVar5;" return identifier ;) })))
(translation_unit "uint FUN_0006ab88(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}\n\n" (function_definition "uint FUN_0006ab88(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}" type_identifier (function_declarator "FUN_0006ab88(int *param_1,int *param_2,uint param_3)" identifier (parameter_list "(int *param_1,int *param_2,uint param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "uint uVar6;" type_identifier identifier ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar3 < 1) {\n    return 0;\n  }" if (parenthesized_expression "(iVar3 < 1)" ( (binary_expression "iVar3 < 1" identifier < number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (do_statement "do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);" do (compound_statement "{\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  }" { (while_statement "while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "iVar1 = *param_1 + iVar5;" (assignment_expression "iVar1 = *param_1 + iVar5" identifier = (binary_expression "*param_1 + iVar5" (pointer_expression "*param_1" * identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + 0x30;" (assignment_expression "iVar5 = iVar5 + 0x30" identifier = (binary_expression "iVar5 + 0x30" identifier + number_literal)) ;) (if_statement "if (param_3 <= *(uint *)(iVar1 + 0x14)) break;" if (parenthesized_expression "(param_3 <= *(uint *)(iVar1 + 0x14))" ( (binary_expression "param_3 <= *(uint *)(iVar1 + 0x14)" identifier <= (pointer_expression "*(uint *)(iVar1 + 0x14)" * (cast_expression "(uint *)(iVar1 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) ))))) )) (break_statement "break;" break ;)) (if_statement "if (iVar3 <= iVar4) {\n        return uVar6;\n      }" if (parenthesized_expression "(iVar3 <= iVar4)" ( (binary_expression "iVar3 <= iVar4" identifier <= identifier) )) (compound_statement "{\n        return uVar6;\n      }" { (return_statement "return uVar6;" return identifier ;) })) })) (expression_statement "uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);" (assignment_expression "uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3)" identifier = (call_expression "FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3)" identifier (argument_list "(*(undefined4 *)(iVar1 + 0x10),param_3)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier )))) ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar6 = uVar6 | uVar2;" (assignment_expression "uVar6 = uVar6 | uVar2" identifier = (binary_expression "uVar6 | uVar2" identifier | identifier)) ;) }) while (parenthesized_expression "(iVar4 < iVar3)" ( (binary_expression "iVar4 < iVar3" identifier < identifier) )) ;) (return_statement "return uVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0006ab88(int *param_1,int *param_2,uint param_3)\n\n{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}" (type_identifier "uint") (function_declarator "FUN_0006ab88(int *param_1,int *param_2,uint param_3)" (identifier "FUN_0006ab88") (parameter_list "(int *param_1,int *param_2,uint param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  uint uVar6;\n  \n  iVar3 = *param_2;\n  if (iVar3 < 1) {\n    return 0;\n  }\n  iVar5 = 0;\n  uVar6 = 0;\n  iVar4 = 0;\n  do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);\n  return uVar6;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "uint uVar6;" (type_identifier "uint") (identifier "uVar6") (; ";")) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" (identifier "iVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar3 < 1) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar3 < 1)" (( "(") (binary_expression "iVar3 < 1" (identifier "iVar3") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = 0;" (assignment_expression "uVar6 = 0" (identifier "uVar6") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  } while (iVar4 < iVar3);" (do "do") (compound_statement "{\n    while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }\n    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);\n    iVar3 = *param_2;\n    uVar6 = uVar6 | uVar2;\n  }" ({ "{") (while_statement "while( true ) {\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      iVar4 = iVar4 + 1;\n      iVar1 = *param_1 + iVar5;\n      iVar5 = iVar5 + 0x30;\n      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;\n      if (iVar3 <= iVar4) {\n        return uVar6;\n      }\n    }" ({ "{") (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar1 = *param_1 + iVar5;" (assignment_expression "iVar1 = *param_1 + iVar5" (identifier "iVar1") (= "=") (binary_expression "*param_1 + iVar5" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = iVar5 + 0x30;" (assignment_expression "iVar5 = iVar5 + 0x30" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 0x30" (identifier "iVar5") (+ "+") (number_literal "0x30"))) (; ";")) (if_statement "if (param_3 <= *(uint *)(iVar1 + 0x14)) break;" (if "if") (parenthesized_expression "(param_3 <= *(uint *)(iVar1 + 0x14))" (( "(") (binary_expression "param_3 <= *(uint *)(iVar1 + 0x14)" (identifier "param_3") (<= "<=") (pointer_expression "*(uint *)(iVar1 + 0x14)" (* "*") (cast_expression "(uint *)(iVar1 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (iVar3 <= iVar4) {\n        return uVar6;\n      }" (if "if") (parenthesized_expression "(iVar3 <= iVar4)" (( "(") (binary_expression "iVar3 <= iVar4" (identifier "iVar3") (<= "<=") (identifier "iVar4")) () ")")) (compound_statement "{\n        return uVar6;\n      }" ({ "{") (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);" (assignment_expression "uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3)" (identifier "uVar2") (= "=") (call_expression "FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3)" (identifier "FUN_0006a7f8") (argument_list "(*(undefined4 *)(iVar1 + 0x10),param_3)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" (identifier "iVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar6 = uVar6 | uVar2;" (assignment_expression "uVar6 = uVar6 | uVar2" (identifier "uVar6") (= "=") (binary_expression "uVar6 | uVar2" (identifier "uVar6") (| "|") (identifier "uVar2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar4 < iVar3)" (( "(") (binary_expression "iVar4 < iVar3" (identifier "iVar4") (< "<") (identifier "iVar3")) () ")")) (; ";")) (return_statement "return uVar6;" (return "return") (identifier "uVar6") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (return_statement (identifier)))))

uint MASKED(int *param_1,int *param_2,uint param_3)

{
  int iVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  uint uVar6;
  
  iVar3 = *param_2;
  if (iVar3 < 1) {
    return 0;
  }
  iVar5 = 0;
  uVar6 = 0;
  iVar4 = 0;
  do {
    while( true ) {
      iVar4 = iVar4 + 1;
      iVar1 = *param_1 + iVar5;
      iVar5 = iVar5 + 0x30;
      if (param_3 <= *(uint *)(iVar1 + 0x14)) break;
      if (iVar3 <= iVar4) {
        return uVar6;
      }
    }
    uVar2 = FUN_0006a7f8(*(undefined4 *)(iVar1 + 0x10),param_3);
    iVar3 = *param_2;
    uVar6 = uVar6 | uVar2;
  } while (iVar4 < iVar3);
  return uVar6;
}

