
void __regparm3 heightOfSelect(Select *pSelect,int *pnHeight)

{
  int iVar1;
  Select *p;
  
  if (pSelect == (Select *)0x0) {
    return;
  }
  do {
    if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {
      *pnHeight = iVar1;
    }
    if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))
    {
      *pnHeight = iVar1;
    }
    if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {
      *pnHeight = iVar1;
    }
    if (pSelect->pEList != (ExprList *)0x0) {
      heightOfExprList(pSelect->pEList,pnHeight);
    }
    if (pSelect->pGroupBy != (ExprList *)0x0) {
      heightOfExprList(pSelect->pGroupBy,pnHeight);
    }
    if (pSelect->pOrderBy != (ExprList *)0x0) {
      heightOfExprList(pSelect->pOrderBy,pnHeight);
    }
    pSelect = pSelect->pPrior;
  } while (pSelect != (Select *)0x0);
  return;
}



void __regparm3 FUN_0004ace0(int *param_1,int *param_2)

{
  int iVar1;
  
  if (param_1 == (int *)0x0) {
    return;
  }
  do {
    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {
      *param_2 = iVar1;
    }
    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {
      *param_2 = iVar1;
    }
    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {
      *param_2 = iVar1;
    }
    if (*param_1 != 0) {
      FUN_0004aca0();
    }
    if (param_1[10] != 0) {
      FUN_0004aca0();
    }
    if (param_1[0xc] != 0) {
      FUN_0004aca0();
    }
    param_1 = (int *)param_1[0xd];
  } while (param_1 != (int *)0x0);
  return;
}


TEST EAX,EAX
JZ 0x0004ad58
PUSH ESI
MOV ESI,EDX
PUSH EBX
MOV EBX,EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [EBX + 0x24]
TEST EAX,EAX
JZ 0x0004ad00
MOV EAX,dword ptr [EAX + 0x18]
CMP EAX,dword ptr [ESI]
JLE 0x0004ad00
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX + 0x2c]
TEST EAX,EAX
JZ 0x0004ad10
MOV EAX,dword ptr [EAX + 0x18]
CMP EAX,dword ptr [ESI]
JLE 0x0004ad10
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX + 0x3c]
TEST EAX,EAX
JZ 0x0004ad20
MOV EAX,dword ptr [EAX + 0x18]
CMP EAX,dword ptr [ESI]
JLE 0x0004ad20
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX]
TEST EAX,EAX
JZ 0x0004ad2d
MOV EDX,ESI
CALL 0x0004aca0
MOV EAX,dword ptr [EBX + 0x28]
TEST EAX,EAX
JZ 0x0004ad3b
MOV EDX,ESI
CALL 0x0004aca0
MOV EAX,dword ptr [EBX + 0x30]
TEST EAX,EAX
JZ 0x0004ad49
MOV EDX,ESI
CALL 0x0004aca0
MOV EBX,dword ptr [EBX + 0x34]
TEST EBX,EBX
JNZ 0x0004acf0
POP EBX
POP ESI
RET
RET
(translation_unit "void __regparm3 FUN_0004ace0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0004ace0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004ace0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);" do (compound_statement "{\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  }" { (if_statement "if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" if (parenthesized_expression "((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1))" ( (binary_expression "(param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[9] != 0)" ( (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[9] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[9] + 0x18)" * (cast_expression "(int *)(param_1[9] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[9] + 0x18)" ( (binary_expression "param_1[9] + 0x18" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" * identifier) < identifier)) ))) )) (compound_statement "{\n      *param_2 = iVar1;\n    }" { (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" if (parenthesized_expression "((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1))" ( (binary_expression "(param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[0xb] != 0)" ( (binary_expression "param_1[0xb] != 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[0xb] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[0xb] + 0x18)" * (cast_expression "(int *)(param_1[0xb] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xb] + 0x18)" ( (binary_expression "param_1[0xb] + 0x18" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" * identifier) < identifier)) ))) )) (compound_statement "{\n      *param_2 = iVar1;\n    }" { (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" if (parenthesized_expression "((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1))" ( (binary_expression "(param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[0xf] != 0)" ( (binary_expression "param_1[0xf] != 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[0xf] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[0xf] + 0x18)" * (cast_expression "(int *)(param_1[0xf] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xf] + 0x18)" ( (binary_expression "param_1[0xf] + 0x18" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" * identifier) < identifier)) ))) )) (compound_statement "{\n      *param_2 = iVar1;\n    }" { (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if (*param_1 != 0) {\n      FUN_0004aca0();\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      FUN_0004aca0();\n    }" { (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }" if (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_0004aca0();\n    }" { (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_0004aca0();\n    }" { (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = (int *)param_1[0xd];" (assignment_expression "param_1 = (int *)param_1[0xd]" identifier = (cast_expression "(int *)param_1[0xd]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0xd]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 heightOfSelect(Select *pSelect,int *pnHeight)\n\n{\n  int iVar1;\n  Select *p;\n  \n  if (pSelect == (Select *)0x0) {\n    return;\n  }\n  do {\n    if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))\n    {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if (pSelect->pEList != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }\n    if (pSelect->pGroupBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }\n    if (pSelect->pOrderBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }\n    pSelect = pSelect->pPrior;\n  } while (pSelect != (Select *)0x0);\n  return;\n}\n\n" (function_definition "void __regparm3 heightOfSelect(Select *pSelect,int *pnHeight)\n\n{\n  int iVar1;\n  Select *p;\n  \n  if (pSelect == (Select *)0x0) {\n    return;\n  }\n  do {\n    if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))\n    {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if (pSelect->pEList != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }\n    if (pSelect->pGroupBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }\n    if (pSelect->pOrderBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }\n    pSelect = pSelect->pPrior;\n  } while (pSelect != (Select *)0x0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "heightOfSelect(Select *pSelect,int *pnHeight)" identifier (parameter_list "(Select *pSelect,int *pnHeight)" ( (parameter_declaration "Select *pSelect" type_identifier (pointer_declarator "*pSelect" * identifier)) , (parameter_declaration "int *pnHeight" primitive_type (pointer_declarator "*pnHeight" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  Select *p;\n  \n  if (pSelect == (Select *)0x0) {\n    return;\n  }\n  do {\n    if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))\n    {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if (pSelect->pEList != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }\n    if (pSelect->pGroupBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }\n    if (pSelect->pOrderBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }\n    pSelect = pSelect->pPrior;\n  } while (pSelect != (Select *)0x0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Select *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (if_statement "if (pSelect == (Select *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pSelect == (Select *)0x0)" ( (binary_expression "pSelect == (Select *)0x0" identifier == (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))\n    {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if (pSelect->pEList != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }\n    if (pSelect->pGroupBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }\n    if (pSelect->pOrderBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }\n    pSelect = pSelect->pPrior;\n  } while (pSelect != (Select *)0x0);" do (compound_statement "{\n    if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))\n    {\n      *pnHeight = iVar1;\n    }\n    if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }\n    if (pSelect->pEList != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }\n    if (pSelect->pGroupBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }\n    if (pSelect->pOrderBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }\n    pSelect = pSelect->pPrior;\n  }" { (if_statement "if ((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }" if (parenthesized_expression "((pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1))" ( (binary_expression "(pSelect->pWhere != (Expr *)0x0) && (iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)" (parenthesized_expression "(pSelect->pWhere != (Expr *)0x0)" ( (binary_expression "pSelect->pWhere != (Expr *)0x0" (field_expression "pSelect->pWhere" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1)" ( (comma_expression "iVar1 = pSelect->pWhere->nHeight, *pnHeight < iVar1" (assignment_expression "iVar1 = pSelect->pWhere->nHeight" identifier = (field_expression "pSelect->pWhere->nHeight" (field_expression "pSelect->pWhere" identifier -> field_identifier) -> field_identifier)) , (binary_expression "*pnHeight < iVar1" (pointer_expression "*pnHeight" * identifier) < identifier)) ))) )) (compound_statement "{\n      *pnHeight = iVar1;\n    }" { (expression_statement "*pnHeight = iVar1;" (assignment_expression "*pnHeight = iVar1" (pointer_expression "*pnHeight" * identifier) = identifier) ;) })) (if_statement "if ((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))\n    {\n      *pnHeight = iVar1;\n    }" if (parenthesized_expression "((pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1))" ( (binary_expression "(pSelect->pHaving != (Expr *)0x0) && (iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1)" (parenthesized_expression "(pSelect->pHaving != (Expr *)0x0)" ( (binary_expression "pSelect->pHaving != (Expr *)0x0" (field_expression "pSelect->pHaving" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1)" ( (comma_expression "iVar1 = pSelect->pHaving->nHeight, *pnHeight < iVar1" (assignment_expression "iVar1 = pSelect->pHaving->nHeight" identifier = (field_expression "pSelect->pHaving->nHeight" (field_expression "pSelect->pHaving" identifier -> field_identifier) -> field_identifier)) , (binary_expression "*pnHeight < iVar1" (pointer_expression "*pnHeight" * identifier) < identifier)) ))) )) (compound_statement "{\n      *pnHeight = iVar1;\n    }" { (expression_statement "*pnHeight = iVar1;" (assignment_expression "*pnHeight = iVar1" (pointer_expression "*pnHeight" * identifier) = identifier) ;) })) (if_statement "if ((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)) {\n      *pnHeight = iVar1;\n    }" if (parenthesized_expression "((pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1))" ( (binary_expression "(pSelect->pLimit != (Expr *)0x0) && (iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)" (parenthesized_expression "(pSelect->pLimit != (Expr *)0x0)" ( (binary_expression "pSelect->pLimit != (Expr *)0x0" (field_expression "pSelect->pLimit" identifier -> field_identifier) != (cast_expression "(Expr *)0x0" ( (type_descriptor "Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1)" ( (comma_expression "iVar1 = pSelect->pLimit->nHeight, *pnHeight < iVar1" (assignment_expression "iVar1 = pSelect->pLimit->nHeight" identifier = (field_expression "pSelect->pLimit->nHeight" (field_expression "pSelect->pLimit" identifier -> field_identifier) -> field_identifier)) , (binary_expression "*pnHeight < iVar1" (pointer_expression "*pnHeight" * identifier) < identifier)) ))) )) (compound_statement "{\n      *pnHeight = iVar1;\n    }" { (expression_statement "*pnHeight = iVar1;" (assignment_expression "*pnHeight = iVar1" (pointer_expression "*pnHeight" * identifier) = identifier) ;) })) (if_statement "if (pSelect->pEList != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }" if (parenthesized_expression "(pSelect->pEList != (ExprList *)0x0)" ( (binary_expression "pSelect->pEList != (ExprList *)0x0" (field_expression "pSelect->pEList" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      heightOfExprList(pSelect->pEList,pnHeight);\n    }" { (expression_statement "heightOfExprList(pSelect->pEList,pnHeight);" (call_expression "heightOfExprList(pSelect->pEList,pnHeight)" identifier (argument_list "(pSelect->pEList,pnHeight)" ( (field_expression "pSelect->pEList" identifier -> field_identifier) , identifier ))) ;) })) (if_statement "if (pSelect->pGroupBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }" if (parenthesized_expression "(pSelect->pGroupBy != (ExprList *)0x0)" ( (binary_expression "pSelect->pGroupBy != (ExprList *)0x0" (field_expression "pSelect->pGroupBy" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      heightOfExprList(pSelect->pGroupBy,pnHeight);\n    }" { (expression_statement "heightOfExprList(pSelect->pGroupBy,pnHeight);" (call_expression "heightOfExprList(pSelect->pGroupBy,pnHeight)" identifier (argument_list "(pSelect->pGroupBy,pnHeight)" ( (field_expression "pSelect->pGroupBy" identifier -> field_identifier) , identifier ))) ;) })) (if_statement "if (pSelect->pOrderBy != (ExprList *)0x0) {\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }" if (parenthesized_expression "(pSelect->pOrderBy != (ExprList *)0x0)" ( (binary_expression "pSelect->pOrderBy != (ExprList *)0x0" (field_expression "pSelect->pOrderBy" identifier -> field_identifier) != (cast_expression "(ExprList *)0x0" ( (type_descriptor "ExprList *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      heightOfExprList(pSelect->pOrderBy,pnHeight);\n    }" { (expression_statement "heightOfExprList(pSelect->pOrderBy,pnHeight);" (call_expression "heightOfExprList(pSelect->pOrderBy,pnHeight)" identifier (argument_list "(pSelect->pOrderBy,pnHeight)" ( (field_expression "pSelect->pOrderBy" identifier -> field_identifier) , identifier ))) ;) })) (expression_statement "pSelect = pSelect->pPrior;" (assignment_expression "pSelect = pSelect->pPrior" identifier = (field_expression "pSelect->pPrior" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(pSelect != (Select *)0x0)" ( (binary_expression "pSelect != (Select *)0x0" identifier != (cast_expression "(Select *)0x0" ( (type_descriptor "Select *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0004ace0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0004ace0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004ace0(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" if (parenthesized_expression "(param_1 == (int *)0x0)" ( (binary_expression "param_1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (do_statement "do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);" do (compound_statement "{\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  }" { (if_statement "if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" if (parenthesized_expression "((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1))" ( (binary_expression "(param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[9] != 0)" ( (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[9] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[9] + 0x18)" * (cast_expression "(int *)(param_1[9] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[9] + 0x18)" ( (binary_expression "param_1[9] + 0x18" (subscript_expression "param_1[9]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" * identifier) < identifier)) ))) )) (compound_statement "{\n      *param_2 = iVar1;\n    }" { (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" if (parenthesized_expression "((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1))" ( (binary_expression "(param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[0xb] != 0)" ( (binary_expression "param_1[0xb] != 0" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[0xb] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[0xb] + 0x18)" * (cast_expression "(int *)(param_1[0xb] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xb] + 0x18)" ( (binary_expression "param_1[0xb] + 0x18" (subscript_expression "param_1[0xb]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" * identifier) < identifier)) ))) )) (compound_statement "{\n      *param_2 = iVar1;\n    }" { (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" if (parenthesized_expression "((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1))" ( (binary_expression "(param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[0xf] != 0)" ( (binary_expression "param_1[0xf] != 0" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)" ( (comma_expression "iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[0xf] + 0x18)" identifier = (pointer_expression "*(int *)(param_1[0xf] + 0x18)" * (cast_expression "(int *)(param_1[0xf] + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xf] + 0x18)" ( (binary_expression "param_1[0xf] + 0x18" (subscript_expression "param_1[0xf]" identifier [ number_literal ]) + number_literal) ))))) , (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" * identifier) < identifier)) ))) )) (compound_statement "{\n      *param_2 = iVar1;\n    }" { (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (if_statement "if (*param_1 != 0) {\n      FUN_0004aca0();\n    }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n      FUN_0004aca0();\n    }" { (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }" if (parenthesized_expression "(param_1[10] != 0)" ( (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_0004aca0();\n    }" { (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" identifier (argument_list "()" ( ))) ;) })) (if_statement "if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }" if (parenthesized_expression "(param_1[0xc] != 0)" ( (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n      FUN_0004aca0();\n    }" { (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = (int *)param_1[0xd];" (assignment_expression "param_1 = (int *)param_1[0xd]" identifier = (cast_expression "(int *)param_1[0xd]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0xd]" identifier [ number_literal ]))) ;) }) while (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return ;) })) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) , (binary_expression (pointer_expression * IDENT) < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) , (binary_expression (pointer_expression * IDENT) < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) , (binary_expression (pointer_expression * IDENT) < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0004ace0(int *param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004ace0(int *param_1,int *param_2)" (identifier "FUN_0004ace0") (parameter_list "(int *param_1,int *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  if (param_1 == (int *)0x0) {\n    return;\n  }\n  do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (if_statement "if (param_1 == (int *)0x0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 == (int *)0x0)" (( "(") (binary_expression "param_1 == (int *)0x0" (identifier "param_1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (do_statement "do {\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  } while (param_1 != (int *)0x0);" (do "do") (compound_statement "{\n    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }\n    if (*param_1 != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }\n    if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }\n    param_1 = (int *)param_1[0xd];\n  }" ({ "{") (if_statement "if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" (if "if") (parenthesized_expression "((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1))" (( "(") (binary_expression "(param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[9] != 0)" (( "(") (binary_expression "param_1[9] != 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)" (( "(") (comma_expression "iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[9] + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[9] + 0x18)" (* "*") (cast_expression "(int *)(param_1[9] + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[9] + 0x18)" (( "(") (binary_expression "param_1[9] + 0x18" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (< "<") (identifier "iVar1"))) () ")"))) () ")")) (compound_statement "{\n      *param_2 = iVar1;\n    }" ({ "{") (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" (if "if") (parenthesized_expression "((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1))" (( "(") (binary_expression "(param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[0xb] != 0)" (( "(") (binary_expression "param_1[0xb] != 0" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)" (( "(") (comma_expression "iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[0xb] + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[0xb] + 0x18)" (* "*") (cast_expression "(int *)(param_1[0xb] + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xb] + 0x18)" (( "(") (binary_expression "param_1[0xb] + 0x18" (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (< "<") (identifier "iVar1"))) () ")"))) () ")")) (compound_statement "{\n      *param_2 = iVar1;\n    }" ({ "{") (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {\n      *param_2 = iVar1;\n    }" (if "if") (parenthesized_expression "((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1))" (( "(") (binary_expression "(param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)" (parenthesized_expression "(param_1[0xf] != 0)" (( "(") (binary_expression "param_1[0xf] != 0" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)" (( "(") (comma_expression "iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1" (assignment_expression "iVar1 = *(int *)(param_1[0xf] + 0x18)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1[0xf] + 0x18)" (* "*") (cast_expression "(int *)(param_1[0xf] + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xf] + 0x18)" (( "(") (binary_expression "param_1[0xf] + 0x18" (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (+ "+") (number_literal "0x18")) () ")"))))) (, ",") (binary_expression "*param_2 < iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (< "<") (identifier "iVar1"))) () ")"))) () ")")) (compound_statement "{\n      *param_2 = iVar1;\n    }" ({ "{") (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if (*param_1 != 0) {\n      FUN_0004aca0();\n    }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0004aca0();\n    }" ({ "{") (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" (identifier "FUN_0004aca0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[10] != 0) {\n      FUN_0004aca0();\n    }" (if "if") (parenthesized_expression "(param_1[10] != 0)" (( "(") (binary_expression "param_1[10] != 0" (subscript_expression "param_1[10]" (identifier "param_1") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0004aca0();\n    }" ({ "{") (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" (identifier "FUN_0004aca0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0xc] != 0) {\n      FUN_0004aca0();\n    }" (if "if") (parenthesized_expression "(param_1[0xc] != 0)" (( "(") (binary_expression "param_1[0xc] != 0" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0004aca0();\n    }" ({ "{") (expression_statement "FUN_0004aca0();" (call_expression "FUN_0004aca0()" (identifier "FUN_0004aca0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = (int *)param_1[0xd];" (assignment_expression "param_1 = (int *)param_1[0xd]" (identifier "param_1") (= "=") (cast_expression "(int *)param_1[0xd]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *var_1,int *pnHeight)

{
  int var_2;
  type_1 *p;
  
  if (var_1 == (type_1 *)0x0) {
    return;
  }
  do {
    if ((var_1->pWhere != (type_2 *)0x0) && (var_2 = var_1->pWhere->nHeight, *pnHeight < var_2)) {
      *pnHeight = var_2;
    }
    if ((var_1->pHaving != (type_2 *)0x0) && (var_2 = var_1->pHaving->nHeight, *pnHeight < var_2))
    {
      *pnHeight = var_2;
    }
    if ((var_1->pLimit != (type_2 *)0x0) && (var_2 = var_1->pLimit->nHeight, *pnHeight < var_2)) {
      *pnHeight = var_2;
    }
    if (var_1->pEList != (type_3 *)0x0) {
      var_3(var_1->pEList,pnHeight);
    }
    if (var_1->pGroupBy != (type_3 *)0x0) {
      var_3(var_1->pGroupBy,pnHeight);
    }
    if (var_1->pOrderBy != (type_3 *)0x0) {
      var_3(var_1->pOrderBy,pnHeight);
    }
    var_1 = var_1->pPrior;
  } while (var_1 != (type_1 *)0x0);
  return;
}


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

void __regparm3 MASKED(int *param_1,int *param_2)

{
  int iVar1;
  
  if (param_1 == (int *)0x0) {
    return;
  }
  do {
    if ((param_1[9] != 0) && (iVar1 = *(int *)(param_1[9] + 0x18), *param_2 < iVar1)) {
      *param_2 = iVar1;
    }
    if ((param_1[0xb] != 0) && (iVar1 = *(int *)(param_1[0xb] + 0x18), *param_2 < iVar1)) {
      *param_2 = iVar1;
    }
    if ((param_1[0xf] != 0) && (iVar1 = *(int *)(param_1[0xf] + 0x18), *param_2 < iVar1)) {
      *param_2 = iVar1;
    }
    if (*param_1 != 0) {
      FUN_0004aca0();
    }
    if (param_1[10] != 0) {
      FUN_0004aca0();
    }
    if (param_1[0xc] != 0) {
      FUN_0004aca0();
    }
    param_1 = (int *)param_1[0xd];
  } while (param_1 != (int *)0x0);
  return;
}

