
void fts5ExprNodeZeroPoslist(Fts5ExprNode *pNode)

{
  Fts5ExprNode *pNode_00;
  Fts5ExprPhrase **ppFVar1;
  Fts5ExprNearset *pFVar2;
  int iVar3;
  Fts5ExprNode **ppFVar4;
  
  if ((pNode->eType == 9) || (pNode->eType == 4)) {
    pFVar2 = pNode->pNear;
    if (0 < pFVar2->nPhrase) {
      ppFVar1 = pFVar2->apPhrase;
      iVar3 = 0;
      do {
        iVar3 = iVar3 + 1;
        ((*ppFVar1)->poslist).n = 0;
        ppFVar1 = ppFVar1 + 1;
      } while (iVar3 < pFVar2->nPhrase);
      return;
    }
  }
  else if (0 < pNode->nChild) {
    ppFVar4 = pNode->apChild;
    iVar3 = 0;
    do {
      pNode_00 = *ppFVar4;
      iVar3 = iVar3 + 1;
      ppFVar4 = ppFVar4 + 1;
      fts5ExprNodeZeroPoslist(pNode_00);
    } while (iVar3 < pNode->nChild);
    return;
  }
  return;
}



void FUN_0003f330(int *param_1)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  
  if ((*param_1 == 9) || (*param_1 == 4)) {
    iVar3 = param_1[6];
    if (0 < *(int *)(iVar3 + 8)) {
      piVar2 = (int *)(iVar3 + 0xc);
      iVar1 = 0;
      do {
        iVar1 = iVar1 + 1;
        *(undefined4 *)(*piVar2 + 8) = 0;
        piVar2 = piVar2 + 1;
      } while (iVar1 < *(int *)(iVar3 + 8));
      return;
    }
  }
  else if (0 < param_1[7]) {
    piVar2 = param_1 + 8;
    iVar3 = 0;
    do {
      iVar1 = *piVar2;
      iVar3 = iVar3 + 1;
      piVar2 = piVar2 + 1;
      FUN_0003f330(iVar1);
    } while (iVar3 < param_1[7]);
    return;
  }
  return;
}


lui gp,0x12
addiu gp,gp,0x4280
addu gp,gp,t9
lw v0,0x0(a0)
li v1,0x9
beq v0,v1,0x0003f3cc
_li v1,0x4
beq v0,v1,0x0003f3cc
_nop
lw v0,0x1c(a0)
blez v0,0x0003f408
_nop
addiu sp,sp,-0x30
sw s3,0x28(sp)
sw s2,0x24(sp)
addiu s2,a0,0x20
sw s1,0x20(sp)
or s1,zero,zero
sw s0,0x1c(sp)
or s0,a0,zero
sw gp,0x10(sp)
sw ra,0x2c(sp)
lw s3,-0x7ef0(gp)
addiu s3,s3,-0xcd0
lw a0,0x0(s2)
or t9,s3,zero
addiu s1,s1,0x1
bal 0x0003f330
_addiu s2,s2,0x4
lw v0,0x1c(s0)
slt v0,s1,v0
bne v0,zero,0x0003f390
_lw ra,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x30
lw a1,0x18(a0)
lw v0,0x8(a1)
blez v0,0x0003f408
_nop
addiu a0,a1,0xc
or v1,zero,zero
lw v0,0x0(a0)
addiu v1,v1,0x1
sw zero,0x8(v0)
lw v0,0x8(a1)
slt v0,v1,v0
bne v0,zero,0x0003f3e4
_addiu a0,a0,0x4
jr ra
_nop
jr ra
_nop
(translation_unit "void FUN_0003f330(int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003f330(int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003f330(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" if (parenthesized_expression "((*param_1 == 9) || (*param_1 == 4))" ( (binary_expression "(*param_1 == 9) || (*param_1 == 4)" (parenthesized_expression "(*param_1 == 9)" ( (binary_expression "*param_1 == 9" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 4)" ( (binary_expression "*param_1 == 4" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }" { (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (if_statement "if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }" if (parenthesized_expression "(0 < *(int *)(iVar3 + 8))" ( (binary_expression "0 < *(int *)(iVar3 + 8)" number_literal < (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }" { (expression_statement "piVar2 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(*piVar2 + 8) = 0;" (assignment_expression "*(undefined4 *)(*piVar2 + 8) = 0" (pointer_expression "*(undefined4 *)(*piVar2 + 8)" * (cast_expression "(undefined4 *)(*piVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *(int *)(iVar3 + 8))" ( (binary_expression "iVar1 < *(int *)(iVar3 + 8)" identifier < (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" else (if_statement "if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" if (parenthesized_expression "(0 < param_1[7])" ( (binary_expression "0 < param_1[7]" number_literal < (subscript_expression "param_1[7]" identifier [ number_literal ])) )) (compound_statement "{\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" { (expression_statement "piVar2 = param_1 + 8;" (assignment_expression "piVar2 = param_1 + 8" identifier = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);" do (compound_statement "{\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0003f330(iVar1);" (call_expression "FUN_0003f330(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar3 < param_1[7])" ( (binary_expression "iVar3 < param_1[7]" identifier < (subscript_expression "param_1[7]" identifier [ number_literal ])) )) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void fts5ExprNodeZeroPoslist(Fts5ExprNode *pNode)\n\n{\n  Fts5ExprNode *pNode_00;\n  Fts5ExprPhrase **ppFVar1;\n  Fts5ExprNearset *pFVar2;\n  int iVar3;\n  Fts5ExprNode **ppFVar4;\n  \n  if ((pNode->eType == 9) || (pNode->eType == 4)) {\n    pFVar2 = pNode->pNear;\n    if (0 < pFVar2->nPhrase) {\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }\n  }\n  else if (0 < pNode->nChild) {\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void fts5ExprNodeZeroPoslist(Fts5ExprNode *pNode)\n\n{\n  Fts5ExprNode *pNode_00;\n  Fts5ExprPhrase **ppFVar1;\n  Fts5ExprNearset *pFVar2;\n  int iVar3;\n  Fts5ExprNode **ppFVar4;\n  \n  if ((pNode->eType == 9) || (pNode->eType == 4)) {\n    pFVar2 = pNode->pNear;\n    if (0 < pFVar2->nPhrase) {\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }\n  }\n  else if (0 < pNode->nChild) {\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "fts5ExprNodeZeroPoslist(Fts5ExprNode *pNode)" identifier (parameter_list "(Fts5ExprNode *pNode)" ( (parameter_declaration "Fts5ExprNode *pNode" type_identifier (pointer_declarator "*pNode" * identifier)) ))) (compound_statement "{\n  Fts5ExprNode *pNode_00;\n  Fts5ExprPhrase **ppFVar1;\n  Fts5ExprNearset *pFVar2;\n  int iVar3;\n  Fts5ExprNode **ppFVar4;\n  \n  if ((pNode->eType == 9) || (pNode->eType == 4)) {\n    pFVar2 = pNode->pNear;\n    if (0 < pFVar2->nPhrase) {\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }\n  }\n  else if (0 < pNode->nChild) {\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }\n  return;\n}" { (declaration "Fts5ExprNode *pNode_00;" type_identifier (pointer_declarator "*pNode_00" * identifier) ;) (declaration "Fts5ExprPhrase **ppFVar1;" type_identifier (pointer_declarator "**ppFVar1" * (pointer_declarator "*ppFVar1" * identifier)) ;) (declaration "Fts5ExprNearset *pFVar2;" type_identifier (pointer_declarator "*pFVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Fts5ExprNode **ppFVar4;" type_identifier (pointer_declarator "**ppFVar4" * (pointer_declarator "*ppFVar4" * identifier)) ;) (if_statement "if ((pNode->eType == 9) || (pNode->eType == 4)) {\n    pFVar2 = pNode->pNear;\n    if (0 < pFVar2->nPhrase) {\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }\n  }\n  else if (0 < pNode->nChild) {\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }" if (parenthesized_expression "((pNode->eType == 9) || (pNode->eType == 4))" ( (binary_expression "(pNode->eType == 9) || (pNode->eType == 4)" (parenthesized_expression "(pNode->eType == 9)" ( (binary_expression "pNode->eType == 9" (field_expression "pNode->eType" identifier -> field_identifier) == number_literal) )) || (parenthesized_expression "(pNode->eType == 4)" ( (binary_expression "pNode->eType == 4" (field_expression "pNode->eType" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n    pFVar2 = pNode->pNear;\n    if (0 < pFVar2->nPhrase) {\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }\n  }" { (expression_statement "pFVar2 = pNode->pNear;" (assignment_expression "pFVar2 = pNode->pNear" identifier = (field_expression "pNode->pNear" identifier -> field_identifier)) ;) (if_statement "if (0 < pFVar2->nPhrase) {\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }" if (parenthesized_expression "(0 < pFVar2->nPhrase)" ( (binary_expression "0 < pFVar2->nPhrase" number_literal < (field_expression "pFVar2->nPhrase" identifier -> field_identifier)) )) (compound_statement "{\n      ppFVar1 = pFVar2->apPhrase;\n      iVar3 = 0;\n      do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);\n      return;\n    }" { (expression_statement "ppFVar1 = pFVar2->apPhrase;" (assignment_expression "ppFVar1 = pFVar2->apPhrase" identifier = (field_expression "pFVar2->apPhrase" identifier -> field_identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      } while (iVar3 < pFVar2->nPhrase);" do (compound_statement "{\n        iVar3 = iVar3 + 1;\n        ((*ppFVar1)->poslist).n = 0;\n        ppFVar1 = ppFVar1 + 1;\n      }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "((*ppFVar1)->poslist).n = 0;" (assignment_expression "((*ppFVar1)->poslist).n = 0" (field_expression "((*ppFVar1)->poslist).n" (parenthesized_expression "((*ppFVar1)->poslist)" ( (field_expression "(*ppFVar1)->poslist" (parenthesized_expression "(*ppFVar1)" ( (pointer_expression "*ppFVar1" * identifier) )) -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "ppFVar1 = ppFVar1 + 1;" (assignment_expression "ppFVar1 = ppFVar1 + 1" identifier = (binary_expression "ppFVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar3 < pFVar2->nPhrase)" ( (binary_expression "iVar3 < pFVar2->nPhrase" identifier < (field_expression "pFVar2->nPhrase" identifier -> field_identifier)) )) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (0 < pNode->nChild) {\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }" else (if_statement "if (0 < pNode->nChild) {\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }" if (parenthesized_expression "(0 < pNode->nChild)" ( (binary_expression "0 < pNode->nChild" number_literal < (field_expression "pNode->nChild" identifier -> field_identifier)) )) (compound_statement "{\n    ppFVar4 = pNode->apChild;\n    iVar3 = 0;\n    do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);\n    return;\n  }" { (expression_statement "ppFVar4 = pNode->apChild;" (assignment_expression "ppFVar4 = pNode->apChild" identifier = (field_expression "pNode->apChild" identifier -> field_identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    } while (iVar3 < pNode->nChild);" do (compound_statement "{\n      pNode_00 = *ppFVar4;\n      iVar3 = iVar3 + 1;\n      ppFVar4 = ppFVar4 + 1;\n      fts5ExprNodeZeroPoslist(pNode_00);\n    }" { (expression_statement "pNode_00 = *ppFVar4;" (assignment_expression "pNode_00 = *ppFVar4" identifier = (pointer_expression "*ppFVar4" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "ppFVar4 = ppFVar4 + 1;" (assignment_expression "ppFVar4 = ppFVar4 + 1" identifier = (binary_expression "ppFVar4 + 1" identifier + number_literal)) ;) (expression_statement "fts5ExprNodeZeroPoslist(pNode_00);" (call_expression "fts5ExprNodeZeroPoslist(pNode_00)" identifier (argument_list "(pNode_00)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar3 < pNode->nChild)" ( (binary_expression "iVar3 < pNode->nChild" identifier < (field_expression "pNode->nChild" identifier -> field_identifier)) )) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003f330(int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_0003f330(int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0003f330(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" if (parenthesized_expression "((*param_1 == 9) || (*param_1 == 4))" ( (binary_expression "(*param_1 == 9) || (*param_1 == 4)" (parenthesized_expression "(*param_1 == 9)" ( (binary_expression "*param_1 == 9" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 4)" ( (binary_expression "*param_1 == 4" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }" { (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" identifier = (subscript_expression "param_1[6]" identifier [ number_literal ])) ;) (if_statement "if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }" if (parenthesized_expression "(0 < *(int *)(iVar3 + 8))" ( (binary_expression "0 < *(int *)(iVar3 + 8)" number_literal < (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }" { (expression_statement "piVar2 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar3 + 0xc)" identifier = (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));" do (compound_statement "{\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      }" { (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(*piVar2 + 8) = 0;" (assignment_expression "*(undefined4 *)(*piVar2 + 8) = 0" (pointer_expression "*(undefined4 *)(*piVar2 + 8)" * (cast_expression "(undefined4 *)(*piVar2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar2 + 8)" ( (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar1 < *(int *)(iVar3 + 8))" ( (binary_expression "iVar1 < *(int *)(iVar3 + 8)" identifier < (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) ))))) )) ;) (return_statement "return;" return ;) })) }) (else_clause "else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" else (if_statement "if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" if (parenthesized_expression "(0 < param_1[7])" ( (binary_expression "0 < param_1[7]" number_literal < (subscript_expression "param_1[7]" identifier [ number_literal ])) )) (compound_statement "{\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" { (expression_statement "piVar2 = param_1 + 8;" (assignment_expression "piVar2 = param_1 + 8" identifier = (binary_expression "param_1 + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);" do (compound_statement "{\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0003f330(iVar1);" (call_expression "FUN_0003f330(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar3 < param_1[7])" ( (binary_expression "iVar3 < param_1[7]" identifier < (subscript_expression "param_1[7]" identifier [ number_literal ])) )) ;) (return_statement "return;" return ;) })))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) (return_statement return ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) (return_statement return ;) })))) (return_statement return ;) })))
(function_definition "void FUN_0003f330(int *param_1)\n\n{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003f330(int *param_1)" (identifier "FUN_0003f330") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int iVar3;\n  \n  if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (if_statement "if ((*param_1 == 9) || (*param_1 == 4)) {\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }\n  else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" (if "if") (parenthesized_expression "((*param_1 == 9) || (*param_1 == 4))" (( "(") (binary_expression "(*param_1 == 9) || (*param_1 == 4)" (parenthesized_expression "(*param_1 == 9)" (( "(") (binary_expression "*param_1 == 9" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "9")) () ")")) (|| "||") (parenthesized_expression "(*param_1 == 4)" (( "(") (binary_expression "*param_1 == 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "4")) () ")"))) () ")")) (compound_statement "{\n    iVar3 = param_1[6];\n    if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }\n  }" ({ "{") (expression_statement "iVar3 = param_1[6];" (assignment_expression "iVar3 = param_1[6]" (identifier "iVar3") (= "=") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (; ";")) (if_statement "if (0 < *(int *)(iVar3 + 8)) {\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar3 + 8))" (( "(") (binary_expression "0 < *(int *)(iVar3 + 8)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n      piVar2 = (int *)(iVar3 + 0xc);\n      iVar1 = 0;\n      do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));\n      return;\n    }" ({ "{") (expression_statement "piVar2 = (int *)(iVar3 + 0xc);" (assignment_expression "piVar2 = (int *)(iVar3 + 0xc)" (identifier "piVar2") (= "=") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      } while (iVar1 < *(int *)(iVar3 + 8));" (do "do") (compound_statement "{\n        iVar1 = iVar1 + 1;\n        *(undefined4 *)(*piVar2 + 8) = 0;\n        piVar2 = piVar2 + 1;\n      }" ({ "{") (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(*piVar2 + 8) = 0;" (assignment_expression "*(undefined4 *)(*piVar2 + 8) = 0" (pointer_expression "*(undefined4 *)(*piVar2 + 8)" (* "*") (cast_expression "(undefined4 *)(*piVar2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar2 + 8)" (( "(") (binary_expression "*piVar2 + 8" (pointer_expression "*piVar2" (* "*") (identifier "piVar2")) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar1 < *(int *)(iVar3 + 8))" (( "(") (binary_expression "iVar1 < *(int *)(iVar3 + 8)" (identifier "iVar1") (< "<") (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")"))))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (else_clause "else if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" (else "else") (if_statement "if (0 < param_1[7]) {\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" (if "if") (parenthesized_expression "(0 < param_1[7])" (( "(") (binary_expression "0 < param_1[7]" (number_literal "0") (< "<") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n    piVar2 = param_1 + 8;\n    iVar3 = 0;\n    do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);\n    return;\n  }" ({ "{") (expression_statement "piVar2 = param_1 + 8;" (assignment_expression "piVar2 = param_1 + 8" (identifier "piVar2") (= "=") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    } while (iVar3 < param_1[7]);" (do "do") (compound_statement "{\n      iVar1 = *piVar2;\n      iVar3 = iVar3 + 1;\n      piVar2 = piVar2 + 1;\n      FUN_0003f330(iVar1);\n    }" ({ "{") (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" (identifier "iVar3") (= "=") (binary_expression "iVar3 + 1" (identifier "iVar3") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0003f330(iVar1);" (call_expression "FUN_0003f330(iVar1)" (identifier "FUN_0003f330") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 < param_1[7])" (( "(") (binary_expression "iVar3 < param_1[7]" (identifier "iVar3") (< "<") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pNode)

{
  type_1 *pNode_00;
  type_2 **var_2;
  type_3 *pFVar2;
  int var_1;
  type_1 **var_3;
  
  if ((pNode->eType == 9) || (pNode->eType == 4)) {
    pFVar2 = pNode->pNear;
    if (0 < pFVar2->nPhrase) {
      var_2 = pFVar2->apPhrase;
      var_1 = 0;
      do {
        var_1 = var_1 + 1;
        ((*var_2)->poslist).n = 0;
        var_2 = var_2 + 1;
      } while (var_1 < pFVar2->nPhrase);
      return;
    }
  }
  else if (0 < pNode->nChild) {
    var_3 = pNode->apChild;
    var_1 = 0;
    do {
      pNode_00 = *var_3;
      var_1 = var_1 + 1;
      var_3 = var_3 + 1;
      function_1(pNode_00);
    } while (var_1 < pNode->nChild);
    return;
  }
  return;
}


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

void MASKED(int *param_1)

{
  int iVar1;
  int *piVar2;
  int iVar3;
  
  if ((*param_1 == 9) || (*param_1 == 4)) {
    iVar3 = param_1[6];
    if (0 < *(int *)(iVar3 + 8)) {
      piVar2 = (int *)(iVar3 + 0xc);
      iVar1 = 0;
      do {
        iVar1 = iVar1 + 1;
        *(undefined4 *)(*piVar2 + 8) = 0;
        piVar2 = piVar2 + 1;
      } while (iVar1 < *(int *)(iVar3 + 8));
      return;
    }
  }
  else if (0 < param_1[7]) {
    piVar2 = param_1 + 8;
    iVar3 = 0;
    do {
      iVar1 = *piVar2;
      iVar3 = iVar3 + 1;
      piVar2 = piVar2 + 1;
      MASKED(iVar1);
    } while (iVar3 < param_1[7]);
    return;
  }
  return;
}

