
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int fts3auxBestIndexMethod(sqlite3_vtab *pVTab,sqlite3_index_info *pInfo)

{
  uchar uVar1;
  float fVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  sqlite3_index_constraint *psVar6;
  int iVar7;
  int iVar8;
  int local_24;
  int local_1c;
  int local_18;
  
  if (((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')
     ) {
    pInfo->orderByConsumed = 1;
  }
  if (0 < pInfo->nConstraint) {
    psVar6 = pInfo->aConstraint;
    iVar8 = -1;
    local_1c = -1;
    iVar7 = 0;
    local_24 = -1;
    local_18 = -1;
    do {
      iVar3 = local_24;
      iVar4 = local_1c;
      iVar5 = local_18;
      if (psVar6->usable != '\0') {
        uVar1 = psVar6->op;
        if (psVar6->iColumn == 0) {
          iVar5 = iVar7;
          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&
             ((uVar1 != '\b' &&
              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')
               ))))) {
            iVar3 = iVar7;
          }
        }
        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {
          iVar8 = iVar7;
        }
      }
      local_18 = iVar5;
      local_1c = iVar4;
      local_24 = iVar3;
      psVar6 = psVar6 + 1;
      iVar7 = iVar7 + 1;
    } while (iVar7 != pInfo->nConstraint);
    if (local_18 == -1) {
      pInfo->idxNum = 0;
      pInfo->estimatedCost = (double)DAT_00131a94;
      fVar2 = DAT_00131a98;
      if (local_24 == -1) {
        iVar7 = 1;
      }
      else {
        iVar7 = 2;
        pInfo->idxNum = 2;
        pInfo->aConstraintUsage[local_24].argvIndex = 1;
        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);
      }
      if (local_1c != -1) {
        pInfo->idxNum = pInfo->idxNum + 4;
        fVar2 = DAT_00131a98;
        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;
        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);
        iVar7 = iVar7 + 1;
      }
    }
    else {
      pInfo->idxNum = 1;
      pInfo->aConstraintUsage[local_18].argvIndex = 1;
      pInfo->estimatedCost = (double)DAT_00131a90;
      iVar7 = 2;
    }
    if (iVar8 != -1) {
      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;
      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;
    }
    return 0;
  }
  pInfo->idxNum = 0;
  pInfo->estimatedCost = (double)DAT_00131a94;
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_0003bda0(undefined4 param_1,int *param_2)

{
  char cVar1;
  float fVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int iVar7;
  int iVar8;
  int local_24;
  int local_1c;
  int local_18;
  
  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {
    param_2[8] = 1;
  }
  if (0 < *param_2) {
    piVar6 = (int *)param_2[1];
    iVar8 = -1;
    local_1c = -1;
    iVar7 = 0;
    local_24 = -1;
    local_18 = -1;
    do {
      iVar3 = local_24;
      iVar4 = local_1c;
      iVar5 = local_18;
      if (*(char *)((int)piVar6 + 5) != '\0') {
        cVar1 = (char)piVar6[1];
        if (*piVar6 == 0) {
          iVar5 = iVar7;
          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&
             ((cVar1 != '\b' &&
              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')
               ))))) {
            iVar3 = iVar7;
          }
        }
        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {
          iVar8 = iVar7;
        }
      }
      local_18 = iVar5;
      local_1c = iVar4;
      local_24 = iVar3;
      piVar6 = piVar6 + 3;
      iVar7 = iVar7 + 1;
    } while (iVar7 != *param_2);
    if (local_18 == -1) {
      param_2[5] = 0;
      *(double *)(param_2 + 9) = (double)DAT_00131a94;
      fVar2 = DAT_00131a98;
      if (local_24 == -1) {
        iVar7 = 1;
      }
      else {
        iVar7 = 2;
        param_2[5] = 2;
        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;
        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));
      }
      if (local_1c != -1) {
        param_2[5] = param_2[5] + 4;
        fVar2 = DAT_00131a98;
        *(int *)(param_2[4] + local_1c * 8) = iVar7;
        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));
        iVar7 = iVar7 + 1;
      }
    }
    else {
      param_2[5] = 1;
      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;
      *(double *)(param_2 + 9) = (double)DAT_00131a90;
      iVar7 = 2;
    }
    if (iVar8 != -1) {
      *(int *)(param_2[4] + iVar8 * 8) = iVar7;
      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;
    }
    return 0;
  }
  param_2[5] = 0;
  *(double *)(param_2 + 9) = (double)DAT_00131a94;
  return 0;
}


CALL 0x00036abd
ADD EAX,0x140083
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x14
MOV EBX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0x4],EAX
CMP dword ptr [EBX + 0x8],0x1
JZ 0x0003bec0
MOV ESI,dword ptr [EBX]
TEST ESI,ESI
JLE 0x0003bf58
MOV EAX,dword ptr [EBX + 0x4]
MOV EBP,0xffffffff
MOV dword ptr [ESP + 0x8],0xffffffff
XOR EDX,EDX
MOV dword ptr [ESP],0xffffffff
MOV dword ptr [ESP + 0xc],0xffffffff
JMP 0x0003be1a
CMP ECX,0x2
JZ 0x0003bea0
CMP ECX,0x10
JZ 0x0003be07
CMP ECX,0x8
JNZ 0x0003be8d
MOV dword ptr [ESP + 0x8],EDX
LEA ESI,[ESI]
NOP
ADD EDX,0x1
ADD EAX,0xc
CMP EDX,ESI
JZ 0x0003be40
CMP byte ptr [EAX + 0x5],0x0
JZ 0x0003be10
MOV EDI,dword ptr [EAX]
MOVZX ECX,byte ptr [EAX + 0x4]
TEST EDI,EDI
JZ 0x0003bdf0
CMP ECX,0x2
JNZ 0x0003be10
CMP EDI,0x4
CMOVZ EBP,EDX
ADD EDX,0x1
ADD EAX,0xc
CMP EDX,ESI
JNZ 0x0003be1a
NOP
MOV EDI,dword ptr [ESP + 0xc]
CMP EDI,-0x1
JZ 0x0003bee8
MOV EAX,dword ptr [EBX + 0x10]
MOV dword ptr [EBX + 0x14],0x1
MOV dword ptr [EAX + EDI*0x8],0x1
MOV EAX,dword ptr [ESP + 0x4]
FLD dword ptr [EAX + 0xfffb5c68]
MOV EAX,0x2
FSTP qword ptr [EBX + 0x24]
CMP EBP,-0x1
JZ 0x0003be83
MOV EDX,dword ptr [EBX + 0x10]
FLD1
MOV dword ptr [EDX + EBP*0x8],EAX
FSUBR qword ptr [EBX + 0x24]
FSTP qword ptr [EBX + 0x24]
ADD ESP,0x14
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP ECX,0x4
JNZ 0x0003bea9
MOV dword ptr [ESP],EDX
JMP 0x0003be10
MOV dword ptr [ESP + 0xc],EDX
JMP 0x0003be10
CMP ECX,0x20
MOV ECX,dword ptr [ESP]
CMOVZ ECX,EDX
MOV dword ptr [ESP],ECX
JMP 0x0003be10
MOV EAX,dword ptr [EBX + 0xc]
MOV EDX,dword ptr [EAX]
TEST EDX,EDX
JNZ 0x0003bdc3
CMP byte ptr [EAX + 0x4],0x0
JNZ 0x0003bdc3
MOV dword ptr [EBX + 0x20],0x1
JMP 0x0003bdc3
MOV ESI,dword ptr [ESP + 0x4]
MOV ECX,dword ptr [ESP]
MOV dword ptr [EBX + 0x14],0x0
FLD dword ptr [ESI + 0xfffb5c6c]
FSTP qword ptr [EBX + 0x24]
CMP ECX,-0x1
JZ 0x0003bf76
MOV EAX,dword ptr [EBX + 0x10]
FLD dword ptr [ESI + 0xfffb5c70]
MOV EDX,0x2
MOV dword ptr [EBX + 0x14],0x2
MOV dword ptr [EAX + ECX*0x8],0x1
FMUL qword ptr [EBX + 0x24]
FSTP qword ptr [EBX + 0x24]
MOV ESI,dword ptr [ESP + 0x8]
CMP ESI,-0x1
JZ 0x0003bf7d
MOV ECX,dword ptr [EBX + 0x10]
MOV EDI,dword ptr [ESP + 0x4]
LEA EAX,[EDX + 0x1]
ADD dword ptr [EBX + 0x14],0x4
FLD dword ptr [EDI + 0xfffb5c70]
MOV dword ptr [ECX + ESI*0x8],EDX
FMUL qword ptr [EBX + 0x24]
FSTP qword ptr [EBX + 0x24]
JMP 0x0003be70
MOV EAX,dword ptr [ESP + 0x4]
MOV dword ptr [EBX + 0x14],0x0
FLD dword ptr [EAX + 0xfffb5c6c]
XOR EAX,EAX
FSTP qword ptr [EBX + 0x24]
ADD ESP,0x14
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,0x1
JMP 0x0003bf26
MOV EAX,EDX
JMP 0x0003be70
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_0003bda0(undefined4 param_1,int *param_2)\n\n{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_0003bda0(undefined4 param_1,int *param_2)\n\n{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}" type_identifier (function_declarator "FUN_0003bda0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (if_statement "if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }" if (parenthesized_expression "(((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0'))" ( (binary_expression "((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')" (parenthesized_expression "((param_2[2] == 1) && (*(int *)param_2[3] == 0))" ( (binary_expression "(param_2[2] == 1) && (*(int *)param_2[3] == 0)" (parenthesized_expression "(param_2[2] == 1)" ( (binary_expression "param_2[2] == 1" (subscript_expression "param_2[2]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(int *)param_2[3] == 0)" ( (binary_expression "*(int *)param_2[3] == 0" (pointer_expression "*(int *)param_2[3]" * (cast_expression "(int *)param_2[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) == number_literal) ))) )) && (parenthesized_expression "((char)((int *)param_2[3])[1] == '\0')" ( (binary_expression "(char)((int *)param_2[3])[1] == '\0'" (cast_expression "(char)((int *)param_2[3])[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "((int *)param_2[3])[1]" (parenthesized_expression "((int *)param_2[3])" ( (cast_expression "(int *)param_2[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) )) [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_2[8] = 1;\n  }" { (expression_statement "param_2[8] = 1;" (assignment_expression "param_2[8] = 1" (subscript_expression "param_2[8]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }" if (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }" { (expression_statement "piVar6 = (int *)param_2[1];" (assignment_expression "piVar6 = (int *)param_2[1]" identifier = (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar8 = -1;" (assignment_expression "iVar8 = -1" identifier = number_literal) ;) (expression_statement "local_1c = -1;" (assignment_expression "local_1c = -1" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "local_24 = -1;" (assignment_expression "local_24 = -1" identifier = number_literal) ;) (expression_statement "local_18 = -1;" (assignment_expression "local_18 = -1" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);" do (compound_statement "{\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    }" { (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "iVar4 = local_1c;" (assignment_expression "iVar4 = local_1c" identifier = identifier) ;) (expression_statement "iVar5 = local_18;" (assignment_expression "iVar5 = local_18" identifier = identifier) ;) (if_statement "if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }" if (parenthesized_expression "(*(char *)((int)piVar6 + 5) != '\0')" ( (binary_expression "*(char *)((int)piVar6 + 5) != '\0'" (pointer_expression "*(char *)((int)piVar6 + 5)" * (cast_expression "(char *)((int)piVar6 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 5)" ( (binary_expression "(int)piVar6 + 5" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }" { (expression_statement "cVar1 = (char)piVar6[1];" (assignment_expression "cVar1 = (char)piVar6[1]" identifier = (cast_expression "(char)piVar6[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "(*piVar6 == 0)" ( (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" * identifier) == number_literal) )) (compound_statement "{\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }" { (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) (if_statement "if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }" if (parenthesized_expression "(((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )))))" ( (binary_expression "((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))" (parenthesized_expression "((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10'))" ( (binary_expression "(cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')" (parenthesized_expression "(cVar1 != '\x02')" ( (binary_expression "cVar1 != '\x02'" identifier != (char_literal "'\x02'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')" ( (comma_expression "iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10'" (assignment_expression "iVar4 = iVar7" identifier = identifier) , (comma_expression "iVar5 = local_18, cVar1 != '\x10'" (assignment_expression "iVar5 = local_18" identifier = identifier) , (binary_expression "cVar1 != '\x10'" identifier != (char_literal "'\x10'" ' escape_sequence ')))) ))) )) && (parenthesized_expression "((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))" ( (parenthesized_expression "(cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )))" ( (binary_expression "cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))" (binary_expression "cVar1 != '\b'" identifier != (char_literal "'\b'" ' escape_sequence ')) && (parenthesized_expression "((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))" ( (parenthesized_expression "(iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )" ( (comma_expression "iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (assignment_expression "iVar3 = iVar7" identifier = identifier) , (comma_expression "iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (assignment_expression "iVar4 = local_1c" identifier = identifier) , (binary_expression "cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (binary_expression "cVar1 != '\x04'" identifier != (char_literal "'\x04'" ' escape_sequence ')) && (parenthesized_expression "(iVar3 = local_24, cVar1 == ' ')" ( (comma_expression "iVar3 = local_24, cVar1 == ' '" (assignment_expression "iVar3 = local_24" identifier = identifier) , (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character '))) ))))) )) ))) )) ))) )) (compound_statement "{\n            iVar3 = iVar7;\n          }" { (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" identifier = identifier) ;) })) }) (else_clause "else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" else (if_statement "if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "((cVar1 == '\x02') && (*piVar6 == 4))" ( (binary_expression "(cVar1 == '\x02') && (*piVar6 == 4)" (parenthesized_expression "(cVar1 == '\x02')" ( (binary_expression "cVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) && (parenthesized_expression "(*piVar6 == 4)" ( (binary_expression "*piVar6 == 4" (pointer_expression "*piVar6" * identifier) == number_literal) ))) )) (compound_statement "{\n          iVar8 = iVar7;\n        }" { (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) })))) })) (expression_statement "local_18 = iVar5;" (assignment_expression "local_18 = iVar5" identifier = identifier) ;) (expression_statement "local_1c = iVar4;" (assignment_expression "local_1c = iVar4" identifier = identifier) ;) (expression_statement "local_24 = iVar3;" (assignment_expression "local_24 = iVar3" identifier = identifier) ;) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != *param_2)" ( (binary_expression "iVar7 != *param_2" identifier != (pointer_expression "*param_2" * identifier)) )) ;) (if_statement "if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (compound_statement "{\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }" { (expression_statement "param_2[5] = 0;" (assignment_expression "param_2[5] = 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a94;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a94" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)DAT_00131a94" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" identifier = identifier) ;) (if_statement "if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" if (parenthesized_expression "(local_24 == -1)" ( (binary_expression "local_24 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 1;\n      }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" else (compound_statement "{\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "param_2[5] = 2;" (assignment_expression "param_2[5] = 2" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2[4] + local_24 * 8) = 1;" (assignment_expression "*(undefined4 *)(param_2[4] + local_24 * 8) = 1" (pointer_expression "*(undefined4 *)(param_2[4] + local_24 * 8)" * (cast_expression "(undefined4 *)(param_2[4] + local_24 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + local_24 * 8)" ( (binary_expression "param_2[4] + local_24 * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "local_24 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));" (assignment_expression "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9))" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)(fVar2 * (float)*(double *)(param_2 + 9))" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 * (float)*(double *)(param_2 + 9))" ( (binary_expression "fVar2 * (float)*(double *)(param_2 + 9)" identifier * (cast_expression "(float)*(double *)(param_2 + 9)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))))) )))) ;) }))) (if_statement "if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }" if (parenthesized_expression "(local_1c != -1)" ( (binary_expression "local_1c != -1" identifier != number_literal) )) (compound_statement "{\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "param_2[5] = param_2[5] + 4;" (assignment_expression "param_2[5] = param_2[5] + 4" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (binary_expression "param_2[5] + 4" (subscript_expression "param_2[5]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" identifier = identifier) ;) (expression_statement "*(int *)(param_2[4] + local_1c * 8) = iVar7;" (assignment_expression "*(int *)(param_2[4] + local_1c * 8) = iVar7" (pointer_expression "*(int *)(param_2[4] + local_1c * 8)" * (cast_expression "(int *)(param_2[4] + local_1c * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + local_1c * 8)" ( (binary_expression "param_2[4] + local_1c * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "local_1c * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));" (assignment_expression "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9))" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)(fVar2 * (float)*(double *)(param_2 + 9))" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 * (float)*(double *)(param_2 + 9))" ( (binary_expression "fVar2 * (float)*(double *)(param_2 + 9)" identifier * (cast_expression "(float)*(double *)(param_2 + 9)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))))) )))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" else (compound_statement "{\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" { (expression_statement "param_2[5] = 1;" (assignment_expression "param_2[5] = 1" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2[4] + local_18 * 8) = 1;" (assignment_expression "*(undefined4 *)(param_2[4] + local_18 * 8) = 1" (pointer_expression "*(undefined4 *)(param_2[4] + local_18 * 8)" * (cast_expression "(undefined4 *)(param_2[4] + local_18 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + local_18 * 8)" ( (binary_expression "param_2[4] + local_18 * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "local_18 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a90;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a90" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)DAT_00131a90" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }))) (if_statement "if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }" if (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) (compound_statement "{\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }" { (expression_statement "*(int *)(param_2[4] + iVar8 * 8) = iVar7;" (assignment_expression "*(int *)(param_2[4] + iVar8 * 8) = iVar7" (pointer_expression "*(int *)(param_2[4] + iVar8 * 8)" * (cast_expression "(int *)(param_2[4] + iVar8 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + iVar8 * 8)" ( (binary_expression "param_2[4] + iVar8 * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "iVar8 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;" (assignment_expression "*(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (binary_expression "*(double *)(param_2 + 9) - 1.0" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) - number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_2[5] = 0;" (assignment_expression "param_2[5] = 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a94;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a94" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)DAT_00131a94" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nint fts3auxBestIndexMethod(sqlite3_vtab *pVTab,sqlite3_index_info *pInfo)\n\n{\n  uchar uVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  sqlite3_index_constraint *psVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')\n     ) {\n    pInfo->orderByConsumed = 1;\n  }\n  if (0 < pInfo->nConstraint) {\n    psVar6 = pInfo->aConstraint;\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != pInfo->nConstraint);\n    if (local_18 == -1) {\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }\n    return 0;\n  }\n  pInfo->idxNum = 0;\n  pInfo->estimatedCost = (double)DAT_00131a94;\n  return 0;\n}\n\n" comment comment (function_definition "int fts3auxBestIndexMethod(sqlite3_vtab *pVTab,sqlite3_index_info *pInfo)\n\n{\n  uchar uVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  sqlite3_index_constraint *psVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')\n     ) {\n    pInfo->orderByConsumed = 1;\n  }\n  if (0 < pInfo->nConstraint) {\n    psVar6 = pInfo->aConstraint;\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != pInfo->nConstraint);\n    if (local_18 == -1) {\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }\n    return 0;\n  }\n  pInfo->idxNum = 0;\n  pInfo->estimatedCost = (double)DAT_00131a94;\n  return 0;\n}" primitive_type (function_declarator "fts3auxBestIndexMethod(sqlite3_vtab *pVTab,sqlite3_index_info *pInfo)" identifier (parameter_list "(sqlite3_vtab *pVTab,sqlite3_index_info *pInfo)" ( (parameter_declaration "sqlite3_vtab *pVTab" type_identifier (pointer_declarator "*pVTab" * identifier)) , (parameter_declaration "sqlite3_index_info *pInfo" type_identifier (pointer_declarator "*pInfo" * identifier)) ))) (compound_statement "{\n  uchar uVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  sqlite3_index_constraint *psVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')\n     ) {\n    pInfo->orderByConsumed = 1;\n  }\n  if (0 < pInfo->nConstraint) {\n    psVar6 = pInfo->aConstraint;\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != pInfo->nConstraint);\n    if (local_18 == -1) {\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }\n    return 0;\n  }\n  pInfo->idxNum = 0;\n  pInfo->estimatedCost = (double)DAT_00131a94;\n  return 0;\n}" { (declaration "uchar uVar1;" type_identifier identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "sqlite3_index_constraint *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (if_statement "if (((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')\n     ) {\n    pInfo->orderByConsumed = 1;\n  }" if (parenthesized_expression "(((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')\n     )" ( (binary_expression "((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')" (parenthesized_expression "((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0))" ( (binary_expression "(pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)" (parenthesized_expression "(pInfo->nOrderBy == 1)" ( (binary_expression "pInfo->nOrderBy == 1" (field_expression "pInfo->nOrderBy" identifier -> field_identifier) == number_literal) )) && (parenthesized_expression "(pInfo->aOrderBy->iColumn == 0)" ( (binary_expression "pInfo->aOrderBy->iColumn == 0" (field_expression "pInfo->aOrderBy->iColumn" (field_expression "pInfo->aOrderBy" identifier -> field_identifier) -> field_identifier) == number_literal) ))) )) && (parenthesized_expression "(pInfo->aOrderBy->desc == '\0')" ( (binary_expression "pInfo->aOrderBy->desc == '\0'" (field_expression "pInfo->aOrderBy->desc" (field_expression "pInfo->aOrderBy" identifier -> field_identifier) -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    pInfo->orderByConsumed = 1;\n  }" { (expression_statement "pInfo->orderByConsumed = 1;" (assignment_expression "pInfo->orderByConsumed = 1" (field_expression "pInfo->orderByConsumed" identifier -> field_identifier) = number_literal) ;) })) (if_statement "if (0 < pInfo->nConstraint) {\n    psVar6 = pInfo->aConstraint;\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != pInfo->nConstraint);\n    if (local_18 == -1) {\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }\n    return 0;\n  }" if (parenthesized_expression "(0 < pInfo->nConstraint)" ( (binary_expression "0 < pInfo->nConstraint" number_literal < (field_expression "pInfo->nConstraint" identifier -> field_identifier)) )) (compound_statement "{\n    psVar6 = pInfo->aConstraint;\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != pInfo->nConstraint);\n    if (local_18 == -1) {\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }\n    return 0;\n  }" { (expression_statement "psVar6 = pInfo->aConstraint;" (assignment_expression "psVar6 = pInfo->aConstraint" identifier = (field_expression "pInfo->aConstraint" identifier -> field_identifier)) ;) (expression_statement "iVar8 = -1;" (assignment_expression "iVar8 = -1" identifier = number_literal) ;) (expression_statement "local_1c = -1;" (assignment_expression "local_1c = -1" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "local_24 = -1;" (assignment_expression "local_24 = -1" identifier = number_literal) ;) (expression_statement "local_18 = -1;" (assignment_expression "local_18 = -1" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != pInfo->nConstraint);" do (compound_statement "{\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      psVar6 = psVar6 + 1;\n      iVar7 = iVar7 + 1;\n    }" { (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "iVar4 = local_1c;" (assignment_expression "iVar4 = local_1c" identifier = identifier) ;) (expression_statement "iVar5 = local_18;" (assignment_expression "iVar5 = local_18" identifier = identifier) ;) (if_statement "if (psVar6->usable != '\0') {\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }" if (parenthesized_expression "(psVar6->usable != '\0')" ( (binary_expression "psVar6->usable != '\0'" (field_expression "psVar6->usable" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar1 = psVar6->op;\n        if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }\n      }" { (expression_statement "uVar1 = psVar6->op;" (assignment_expression "uVar1 = psVar6->op" identifier = (field_expression "psVar6->op" identifier -> field_identifier)) ;) (if_statement "if (psVar6->iColumn == 0) {\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "(psVar6->iColumn == 0)" ( (binary_expression "psVar6->iColumn == 0" (field_expression "psVar6->iColumn" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          iVar5 = iVar7;\n          if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }" { (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) (if_statement "if (((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }" if (parenthesized_expression "(((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               )))))" ( (binary_expression "((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')) &&\n             ((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))" (parenthesized_expression "((uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10'))" ( (binary_expression "(uVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')" (parenthesized_expression "(uVar1 != '\x02')" ( (binary_expression "uVar1 != '\x02'" identifier != (char_literal "'\x02'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10')" ( (comma_expression "iVar4 = iVar7, iVar5 = local_18, uVar1 != '\x10'" (assignment_expression "iVar4 = iVar7" identifier = identifier) , (comma_expression "iVar5 = local_18, uVar1 != '\x10'" (assignment_expression "iVar5 = local_18" identifier = identifier) , (binary_expression "uVar1 != '\x10'" identifier != (char_literal "'\x10'" ' escape_sequence ')))) ))) )) && (parenthesized_expression "((uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))))" ( (parenthesized_expression "(uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               )))" ( (binary_expression "uVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))" (binary_expression "uVar1 != '\b'" identifier != (char_literal "'\b'" ' escape_sequence ')) && (parenthesized_expression "((iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               ))" ( (parenthesized_expression "(iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')\n               )" ( (comma_expression "iVar3 = iVar7, iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')" (assignment_expression "iVar3 = iVar7" identifier = identifier) , (comma_expression "iVar4 = local_1c, uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')" (assignment_expression "iVar4 = local_1c" identifier = identifier) , (binary_expression "uVar1 != '\x04' && (iVar3 = local_24, uVar1 == ' ')" (binary_expression "uVar1 != '\x04'" identifier != (char_literal "'\x04'" ' escape_sequence ')) && (parenthesized_expression "(iVar3 = local_24, uVar1 == ' ')" ( (comma_expression "iVar3 = local_24, uVar1 == ' '" (assignment_expression "iVar3 = local_24" identifier = identifier) , (binary_expression "uVar1 == ' '" identifier == (char_literal "' '" ' character '))) ))))) )) ))) )) ))) )) (compound_statement "{\n            iVar3 = iVar7;\n          }" { (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" identifier = identifier) ;) })) }) (else_clause "else if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }" else (if_statement "if ((uVar1 == '\x02') && (psVar6->iColumn == 4)) {\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "((uVar1 == '\x02') && (psVar6->iColumn == 4))" ( (binary_expression "(uVar1 == '\x02') && (psVar6->iColumn == 4)" (parenthesized_expression "(uVar1 == '\x02')" ( (binary_expression "uVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) && (parenthesized_expression "(psVar6->iColumn == 4)" ( (binary_expression "psVar6->iColumn == 4" (field_expression "psVar6->iColumn" identifier -> field_identifier) == number_literal) ))) )) (compound_statement "{\n          iVar8 = iVar7;\n        }" { (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) })))) })) (expression_statement "local_18 = iVar5;" (assignment_expression "local_18 = iVar5" identifier = identifier) ;) (expression_statement "local_1c = iVar4;" (assignment_expression "local_1c = iVar4" identifier = identifier) ;) (expression_statement "local_24 = iVar3;" (assignment_expression "local_24 = iVar3" identifier = identifier) ;) (expression_statement "psVar6 = psVar6 + 1;" (assignment_expression "psVar6 = psVar6 + 1" identifier = (binary_expression "psVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != pInfo->nConstraint)" ( (binary_expression "iVar7 != pInfo->nConstraint" identifier != (field_expression "pInfo->nConstraint" identifier -> field_identifier)) )) ;) (if_statement "if (local_18 == -1) {\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (compound_statement "{\n      pInfo->idxNum = 0;\n      pInfo->estimatedCost = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }\n      if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }\n    }" { (expression_statement "pInfo->idxNum = 0;" (assignment_expression "pInfo->idxNum = 0" (field_expression "pInfo->idxNum" identifier -> field_identifier) = number_literal) ;) (expression_statement "pInfo->estimatedCost = (double)DAT_00131a94;" (assignment_expression "pInfo->estimatedCost = (double)DAT_00131a94" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) = (cast_expression "(double)DAT_00131a94" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" identifier = identifier) ;) (if_statement "if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }" if (parenthesized_expression "(local_24 == -1)" ( (binary_expression "local_24 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 1;\n      }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }" else (compound_statement "{\n        iVar7 = 2;\n        pInfo->idxNum = 2;\n        pInfo->aConstraintUsage[local_24].argvIndex = 1;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "pInfo->idxNum = 2;" (assignment_expression "pInfo->idxNum = 2" (field_expression "pInfo->idxNum" identifier -> field_identifier) = number_literal) ;) (expression_statement "pInfo->aConstraintUsage[local_24].argvIndex = 1;" (assignment_expression "pInfo->aConstraintUsage[local_24].argvIndex = 1" (field_expression "pInfo->aConstraintUsage[local_24].argvIndex" (subscript_expression "pInfo->aConstraintUsage[local_24]" (field_expression "pInfo->aConstraintUsage" identifier -> field_identifier) [ identifier ]) . field_identifier) = number_literal) ;) (expression_statement "pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);" (assignment_expression "pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost)" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) = (cast_expression "(double)(fVar2 * (float)pInfo->estimatedCost)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 * (float)pInfo->estimatedCost)" ( (binary_expression "fVar2 * (float)pInfo->estimatedCost" identifier * (cast_expression "(float)pInfo->estimatedCost" ( (type_descriptor "float" primitive_type) ) (field_expression "pInfo->estimatedCost" identifier -> field_identifier))) )))) ;) }))) (if_statement "if (local_1c != -1) {\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }" if (parenthesized_expression "(local_1c != -1)" ( (binary_expression "local_1c != -1" identifier != number_literal) )) (compound_statement "{\n        pInfo->idxNum = pInfo->idxNum + 4;\n        fVar2 = DAT_00131a98;\n        pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;\n        pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "pInfo->idxNum = pInfo->idxNum + 4;" (assignment_expression "pInfo->idxNum = pInfo->idxNum + 4" (field_expression "pInfo->idxNum" identifier -> field_identifier) = (binary_expression "pInfo->idxNum + 4" (field_expression "pInfo->idxNum" identifier -> field_identifier) + number_literal)) ;) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" identifier = identifier) ;) (expression_statement "pInfo->aConstraintUsage[local_1c].argvIndex = iVar7;" (assignment_expression "pInfo->aConstraintUsage[local_1c].argvIndex = iVar7" (field_expression "pInfo->aConstraintUsage[local_1c].argvIndex" (subscript_expression "pInfo->aConstraintUsage[local_1c]" (field_expression "pInfo->aConstraintUsage" identifier -> field_identifier) [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost);" (assignment_expression "pInfo->estimatedCost = (double)(fVar2 * (float)pInfo->estimatedCost)" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) = (cast_expression "(double)(fVar2 * (float)pInfo->estimatedCost)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 * (float)pInfo->estimatedCost)" ( (binary_expression "fVar2 * (float)pInfo->estimatedCost" identifier * (cast_expression "(float)pInfo->estimatedCost" ( (type_descriptor "float" primitive_type) ) (field_expression "pInfo->estimatedCost" identifier -> field_identifier))) )))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" else (compound_statement "{\n      pInfo->idxNum = 1;\n      pInfo->aConstraintUsage[local_18].argvIndex = 1;\n      pInfo->estimatedCost = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" { (expression_statement "pInfo->idxNum = 1;" (assignment_expression "pInfo->idxNum = 1" (field_expression "pInfo->idxNum" identifier -> field_identifier) = number_literal) ;) (expression_statement "pInfo->aConstraintUsage[local_18].argvIndex = 1;" (assignment_expression "pInfo->aConstraintUsage[local_18].argvIndex = 1" (field_expression "pInfo->aConstraintUsage[local_18].argvIndex" (subscript_expression "pInfo->aConstraintUsage[local_18]" (field_expression "pInfo->aConstraintUsage" identifier -> field_identifier) [ identifier ]) . field_identifier) = number_literal) ;) (expression_statement "pInfo->estimatedCost = (double)DAT_00131a90;" (assignment_expression "pInfo->estimatedCost = (double)DAT_00131a90" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) = (cast_expression "(double)DAT_00131a90" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }))) (if_statement "if (iVar8 != -1) {\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }" if (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) (compound_statement "{\n      pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;\n      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;\n    }" { (expression_statement "pInfo->aConstraintUsage[iVar8].argvIndex = iVar7;" (assignment_expression "pInfo->aConstraintUsage[iVar8].argvIndex = iVar7" (field_expression "pInfo->aConstraintUsage[iVar8].argvIndex" (subscript_expression "pInfo->aConstraintUsage[iVar8]" (field_expression "pInfo->aConstraintUsage" identifier -> field_identifier) [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "pInfo->estimatedCost = pInfo->estimatedCost - 1.0;" (assignment_expression "pInfo->estimatedCost = pInfo->estimatedCost - 1.0" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) = (binary_expression "pInfo->estimatedCost - 1.0" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) - number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "pInfo->idxNum = 0;" (assignment_expression "pInfo->idxNum = 0" (field_expression "pInfo->idxNum" identifier -> field_identifier) = number_literal) ;) (expression_statement "pInfo->estimatedCost = (double)DAT_00131a94;" (assignment_expression "pInfo->estimatedCost = (double)DAT_00131a94" (field_expression "pInfo->estimatedCost" identifier -> field_identifier) = (cast_expression "(double)DAT_00131a94" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_0003bda0(undefined4 param_1,int *param_2)\n\n{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_0003bda0(undefined4 param_1,int *param_2)\n\n{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}" type_identifier (function_declarator "FUN_0003bda0(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_1c;" primitive_type identifier ;) (declaration "int local_18;" primitive_type identifier ;) (if_statement "if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }" if (parenthesized_expression "(((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0'))" ( (binary_expression "((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')" (parenthesized_expression "((param_2[2] == 1) && (*(int *)param_2[3] == 0))" ( (binary_expression "(param_2[2] == 1) && (*(int *)param_2[3] == 0)" (parenthesized_expression "(param_2[2] == 1)" ( (binary_expression "param_2[2] == 1" (subscript_expression "param_2[2]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(*(int *)param_2[3] == 0)" ( (binary_expression "*(int *)param_2[3] == 0" (pointer_expression "*(int *)param_2[3]" * (cast_expression "(int *)param_2[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ]))) == number_literal) ))) )) && (parenthesized_expression "((char)((int *)param_2[3])[1] == '\0')" ( (binary_expression "(char)((int *)param_2[3])[1] == '\0'" (cast_expression "(char)((int *)param_2[3])[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "((int *)param_2[3])[1]" (parenthesized_expression "((int *)param_2[3])" ( (cast_expression "(int *)param_2[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[3]" identifier [ number_literal ])) )) [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_2[8] = 1;\n  }" { (expression_statement "param_2[8] = 1;" (assignment_expression "param_2[8] = 1" (subscript_expression "param_2[8]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }" if (parenthesized_expression "(0 < *param_2)" ( (binary_expression "0 < *param_2" number_literal < (pointer_expression "*param_2" * identifier)) )) (compound_statement "{\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }" { (expression_statement "piVar6 = (int *)param_2[1];" (assignment_expression "piVar6 = (int *)param_2[1]" identifier = (cast_expression "(int *)param_2[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar8 = -1;" (assignment_expression "iVar8 = -1" identifier = number_literal) ;) (expression_statement "local_1c = -1;" (assignment_expression "local_1c = -1" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "local_24 = -1;" (assignment_expression "local_24 = -1" identifier = number_literal) ;) (expression_statement "local_18 = -1;" (assignment_expression "local_18 = -1" identifier = number_literal) ;) (do_statement "do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);" do (compound_statement "{\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    }" { (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" identifier = identifier) ;) (expression_statement "iVar4 = local_1c;" (assignment_expression "iVar4 = local_1c" identifier = identifier) ;) (expression_statement "iVar5 = local_18;" (assignment_expression "iVar5 = local_18" identifier = identifier) ;) (if_statement "if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }" if (parenthesized_expression "(*(char *)((int)piVar6 + 5) != '\0')" ( (binary_expression "*(char *)((int)piVar6 + 5) != '\0'" (pointer_expression "*(char *)((int)piVar6 + 5)" * (cast_expression "(char *)((int)piVar6 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar6 + 5)" ( (binary_expression "(int)piVar6 + 5" (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }" { (expression_statement "cVar1 = (char)piVar6[1];" (assignment_expression "cVar1 = (char)piVar6[1]" identifier = (cast_expression "(char)piVar6[1]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) ;) (if_statement "if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "(*piVar6 == 0)" ( (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" * identifier) == number_literal) )) (compound_statement "{\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }" { (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" identifier = identifier) ;) (if_statement "if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }" if (parenthesized_expression "(((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )))))" ( (binary_expression "((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))" (parenthesized_expression "((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10'))" ( (binary_expression "(cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')" (parenthesized_expression "(cVar1 != '\x02')" ( (binary_expression "cVar1 != '\x02'" identifier != (char_literal "'\x02'" ' escape_sequence ')) )) && (parenthesized_expression "(iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')" ( (comma_expression "iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10'" (assignment_expression "iVar4 = iVar7" identifier = identifier) , (comma_expression "iVar5 = local_18, cVar1 != '\x10'" (assignment_expression "iVar5 = local_18" identifier = identifier) , (binary_expression "cVar1 != '\x10'" identifier != (char_literal "'\x10'" ' escape_sequence ')))) ))) )) && (parenthesized_expression "((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))" ( (parenthesized_expression "(cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )))" ( (binary_expression "cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))" (binary_expression "cVar1 != '\b'" identifier != (char_literal "'\b'" ' escape_sequence ')) && (parenthesized_expression "((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))" ( (parenthesized_expression "(iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )" ( (comma_expression "iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (assignment_expression "iVar3 = iVar7" identifier = identifier) , (comma_expression "iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (assignment_expression "iVar4 = local_1c" identifier = identifier) , (binary_expression "cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (binary_expression "cVar1 != '\x04'" identifier != (char_literal "'\x04'" ' escape_sequence ')) && (parenthesized_expression "(iVar3 = local_24, cVar1 == ' ')" ( (comma_expression "iVar3 = local_24, cVar1 == ' '" (assignment_expression "iVar3 = local_24" identifier = identifier) , (binary_expression "cVar1 == ' '" identifier == (char_literal "' '" ' character '))) ))))) )) ))) )) ))) )) (compound_statement "{\n            iVar3 = iVar7;\n          }" { (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" identifier = identifier) ;) })) }) (else_clause "else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" else (if_statement "if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" if (parenthesized_expression "((cVar1 == '\x02') && (*piVar6 == 4))" ( (binary_expression "(cVar1 == '\x02') && (*piVar6 == 4)" (parenthesized_expression "(cVar1 == '\x02')" ( (binary_expression "cVar1 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) && (parenthesized_expression "(*piVar6 == 4)" ( (binary_expression "*piVar6 == 4" (pointer_expression "*piVar6" * identifier) == number_literal) ))) )) (compound_statement "{\n          iVar8 = iVar7;\n        }" { (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" identifier = identifier) ;) })))) })) (expression_statement "local_18 = iVar5;" (assignment_expression "local_18 = iVar5" identifier = identifier) ;) (expression_statement "local_1c = iVar4;" (assignment_expression "local_1c = iVar4" identifier = identifier) ;) (expression_statement "local_24 = iVar3;" (assignment_expression "local_24 = iVar3" identifier = identifier) ;) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" identifier = (binary_expression "piVar6 + 3" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != *param_2)" ( (binary_expression "iVar7 != *param_2" identifier != (pointer_expression "*param_2" * identifier)) )) ;) (if_statement "if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" if (parenthesized_expression "(local_18 == -1)" ( (binary_expression "local_18 == -1" identifier == number_literal) )) (compound_statement "{\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }" { (expression_statement "param_2[5] = 0;" (assignment_expression "param_2[5] = 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a94;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a94" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)DAT_00131a94" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" identifier = identifier) ;) (if_statement "if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" if (parenthesized_expression "(local_24 == -1)" ( (binary_expression "local_24 == -1" identifier == number_literal) )) (compound_statement "{\n        iVar7 = 1;\n      }" { (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" else (compound_statement "{\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" { (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) (expression_statement "param_2[5] = 2;" (assignment_expression "param_2[5] = 2" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2[4] + local_24 * 8) = 1;" (assignment_expression "*(undefined4 *)(param_2[4] + local_24 * 8) = 1" (pointer_expression "*(undefined4 *)(param_2[4] + local_24 * 8)" * (cast_expression "(undefined4 *)(param_2[4] + local_24 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + local_24 * 8)" ( (binary_expression "param_2[4] + local_24 * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "local_24 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));" (assignment_expression "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9))" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)(fVar2 * (float)*(double *)(param_2 + 9))" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 * (float)*(double *)(param_2 + 9))" ( (binary_expression "fVar2 * (float)*(double *)(param_2 + 9)" identifier * (cast_expression "(float)*(double *)(param_2 + 9)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))))) )))) ;) }))) (if_statement "if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }" if (parenthesized_expression "(local_1c != -1)" ( (binary_expression "local_1c != -1" identifier != number_literal) )) (compound_statement "{\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "param_2[5] = param_2[5] + 4;" (assignment_expression "param_2[5] = param_2[5] + 4" (subscript_expression "param_2[5]" identifier [ number_literal ]) = (binary_expression "param_2[5] + 4" (subscript_expression "param_2[5]" identifier [ number_literal ]) + number_literal)) ;) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" identifier = identifier) ;) (expression_statement "*(int *)(param_2[4] + local_1c * 8) = iVar7;" (assignment_expression "*(int *)(param_2[4] + local_1c * 8) = iVar7" (pointer_expression "*(int *)(param_2[4] + local_1c * 8)" * (cast_expression "(int *)(param_2[4] + local_1c * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + local_1c * 8)" ( (binary_expression "param_2[4] + local_1c * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "local_1c * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));" (assignment_expression "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9))" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)(fVar2 * (float)*(double *)(param_2 + 9))" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(fVar2 * (float)*(double *)(param_2 + 9))" ( (binary_expression "fVar2 * (float)*(double *)(param_2 + 9)" identifier * (cast_expression "(float)*(double *)(param_2 + 9)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))))) )))) ;) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) }) (else_clause "else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" else (compound_statement "{\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" { (expression_statement "param_2[5] = 1;" (assignment_expression "param_2[5] = 1" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined4 *)(param_2[4] + local_18 * 8) = 1;" (assignment_expression "*(undefined4 *)(param_2[4] + local_18 * 8) = 1" (pointer_expression "*(undefined4 *)(param_2[4] + local_18 * 8)" * (cast_expression "(undefined4 *)(param_2[4] + local_18 * 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + local_18 * 8)" ( (binary_expression "param_2[4] + local_18 * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "local_18 * 8" identifier * number_literal)) )))) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a90;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a90" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)DAT_00131a90" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" identifier = number_literal) ;) }))) (if_statement "if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }" if (parenthesized_expression "(iVar8 != -1)" ( (binary_expression "iVar8 != -1" identifier != number_literal) )) (compound_statement "{\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }" { (expression_statement "*(int *)(param_2[4] + iVar8 * 8) = iVar7;" (assignment_expression "*(int *)(param_2[4] + iVar8 * 8) = iVar7" (pointer_expression "*(int *)(param_2[4] + iVar8 * 8)" * (cast_expression "(int *)(param_2[4] + iVar8 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[4] + iVar8 * 8)" ( (binary_expression "param_2[4] + iVar8 * 8" (subscript_expression "param_2[4]" identifier [ number_literal ]) + (binary_expression "iVar8 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "*(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;" (assignment_expression "*(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (binary_expression "*(double *)(param_2 + 9) - 1.0" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) - number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_2[5] = 0;" (assignment_expression "param_2[5] = 0" (subscript_expression "param_2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a94;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a94" (pointer_expression "*(double *)(param_2 + 9)" * (cast_expression "(double *)(param_2 + 9)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 9)" ( (binary_expression "param_2 + 9" identifier + number_literal) )))) = (cast_expression "(double)DAT_00131a94" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == LIT) ))) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ])) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != (char_literal ' escape_sequence ')))) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression IDENT != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == (char_literal ' character '))) ))))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * IDENT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT * (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT * (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - LIT)) ;) })) (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_0003bda0(undefined4 param_1,int *param_2)\n\n{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0003bda0(undefined4 param_1,int *param_2)" (identifier "FUN_0003bda0") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char cVar1;\n  float fVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int *piVar6;\n  int iVar7;\n  int iVar8;\n  int local_24;\n  int local_1c;\n  int local_18;\n  \n  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }\n  if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }\n  param_2[5] = 0;\n  *(double *)(param_2 + 9) = (double)DAT_00131a94;\n  return 0;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "float fVar2;" (primitive_type "float") (identifier "fVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_1c;" (primitive_type "int") (identifier "local_1c") (; ";")) (declaration "int local_18;" (primitive_type "int") (identifier "local_18") (; ";")) (if_statement "if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {\n    param_2[8] = 1;\n  }" (if "if") (parenthesized_expression "(((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0'))" (( "(") (binary_expression "((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')" (parenthesized_expression "((param_2[2] == 1) && (*(int *)param_2[3] == 0))" (( "(") (binary_expression "(param_2[2] == 1) && (*(int *)param_2[3] == 0)" (parenthesized_expression "(param_2[2] == 1)" (( "(") (binary_expression "param_2[2] == 1" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)param_2[3] == 0)" (( "(") (binary_expression "*(int *)param_2[3] == 0" (pointer_expression "*(int *)param_2[3]" (* "*") (cast_expression "(int *)param_2[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")))) (== "==") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((char)((int *)param_2[3])[1] == '\0')" (( "(") (binary_expression "(char)((int *)param_2[3])[1] == '\0'" (cast_expression "(char)((int *)param_2[3])[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "((int *)param_2[3])[1]" (parenthesized_expression "((int *)param_2[3])" (( "(") (cast_expression "(int *)param_2[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    param_2[8] = 1;\n  }" ({ "{") (expression_statement "param_2[8] = 1;" (assignment_expression "param_2[8] = 1" (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}"))) (if_statement "if (0 < *param_2) {\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }" (if "if") (parenthesized_expression "(0 < *param_2)" (( "(") (binary_expression "0 < *param_2" (number_literal "0") (< "<") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (compound_statement "{\n    piVar6 = (int *)param_2[1];\n    iVar8 = -1;\n    local_1c = -1;\n    iVar7 = 0;\n    local_24 = -1;\n    local_18 = -1;\n    do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);\n    if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }\n    if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }\n    return 0;\n  }" ({ "{") (expression_statement "piVar6 = (int *)param_2[1];" (assignment_expression "piVar6 = (int *)param_2[1]" (identifier "piVar6") (= "=") (cast_expression "(int *)param_2[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar8 = -1;" (assignment_expression "iVar8 = -1" (identifier "iVar8") (= "=") (number_literal "-1")) (; ";")) (expression_statement "local_1c = -1;" (assignment_expression "local_1c = -1" (identifier "local_1c") (= "=") (number_literal "-1")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = -1;" (assignment_expression "local_24 = -1" (identifier "local_24") (= "=") (number_literal "-1")) (; ";")) (expression_statement "local_18 = -1;" (assignment_expression "local_18 = -1" (identifier "local_18") (= "=") (number_literal "-1")) (; ";")) (do_statement "do {\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != *param_2);" (do "do") (compound_statement "{\n      iVar3 = local_24;\n      iVar4 = local_1c;\n      iVar5 = local_18;\n      if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }\n      local_18 = iVar5;\n      local_1c = iVar4;\n      local_24 = iVar3;\n      piVar6 = piVar6 + 3;\n      iVar7 = iVar7 + 1;\n    }" ({ "{") (expression_statement "iVar3 = local_24;" (assignment_expression "iVar3 = local_24" (identifier "iVar3") (= "=") (identifier "local_24")) (; ";")) (expression_statement "iVar4 = local_1c;" (assignment_expression "iVar4 = local_1c" (identifier "iVar4") (= "=") (identifier "local_1c")) (; ";")) (expression_statement "iVar5 = local_18;" (assignment_expression "iVar5 = local_18" (identifier "iVar5") (= "=") (identifier "local_18")) (; ";")) (if_statement "if (*(char *)((int)piVar6 + 5) != '\0') {\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }" (if "if") (parenthesized_expression "(*(char *)((int)piVar6 + 5) != '\0')" (( "(") (binary_expression "*(char *)((int)piVar6 + 5) != '\0'" (pointer_expression "*(char *)((int)piVar6 + 5)" (* "*") (cast_expression "(char *)((int)piVar6 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar6 + 5)" (( "(") (binary_expression "(int)piVar6 + 5" (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6")) (+ "+") (number_literal "5")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        cVar1 = (char)piVar6[1];\n        if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }\n      }" ({ "{") (expression_statement "cVar1 = (char)piVar6[1];" (assignment_expression "cVar1 = (char)piVar6[1]" (identifier "cVar1") (= "=") (cast_expression "(char)piVar6[1]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")))) (; ";")) (if_statement "if (*piVar6 == 0) {\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }\n        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" (if "if") (parenthesized_expression "(*piVar6 == 0)" (( "(") (binary_expression "*piVar6 == 0" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar5 = iVar7;\n          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }\n        }" ({ "{") (expression_statement "iVar5 = iVar7;" (assignment_expression "iVar5 = iVar7" (identifier "iVar5") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))) {\n            iVar3 = iVar7;\n          }" (if "if") (parenthesized_expression "(((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )))))" (( "(") (binary_expression "((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&\n             ((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))" (parenthesized_expression "((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10'))" (( "(") (binary_expression "(cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')" (parenthesized_expression "(cVar1 != '\x02')" (( "(") (binary_expression "cVar1 != '\x02'" (identifier "cVar1") (!= "!=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')" (( "(") (comma_expression "iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10'" (assignment_expression "iVar4 = iVar7" (identifier "iVar4") (= "=") (identifier "iVar7")) (, ",") (comma_expression "iVar5 = local_18, cVar1 != '\x10'" (assignment_expression "iVar5 = local_18" (identifier "iVar5") (= "=") (identifier "local_18")) (, ",") (binary_expression "cVar1 != '\x10'" (identifier "cVar1") (!= "!=") (char_literal "'\x10'" (' "'") (escape_sequence "\x10") (' "'"))))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))))" (( "(") (parenthesized_expression "(cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )))" (( "(") (binary_expression "cVar1 != '\b' &&\n              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))" (binary_expression "cVar1 != '\b'" (identifier "cVar1") (!= "!=") (char_literal "'\b'" (' "'") (escape_sequence "\b") (' "'"))) (&& "&&") (parenthesized_expression "((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               ))" (( "(") (parenthesized_expression "(iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')\n               )" (( "(") (comma_expression "iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (assignment_expression "iVar3 = iVar7" (identifier "iVar3") (= "=") (identifier "iVar7")) (, ",") (comma_expression "iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (assignment_expression "iVar4 = local_1c" (identifier "iVar4") (= "=") (identifier "local_1c")) (, ",") (binary_expression "cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')" (binary_expression "cVar1 != '\x04'" (identifier "cVar1") (!= "!=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) (&& "&&") (parenthesized_expression "(iVar3 = local_24, cVar1 == ' ')" (( "(") (comma_expression "iVar3 = local_24, cVar1 == ' '" (assignment_expression "iVar3 = local_24" (identifier "iVar3") (= "=") (identifier "local_24")) (, ",") (binary_expression "cVar1 == ' '" (identifier "cVar1") (== "==") (char_literal "' '" (' "'") (character " ") (' "'")))) () ")"))))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n            iVar3 = iVar7;\n          }" ({ "{") (expression_statement "iVar3 = iVar7;" (assignment_expression "iVar3 = iVar7" (identifier "iVar3") (= "=") (identifier "iVar7")) (; ";")) (} "}"))) (} "}")) (else_clause "else if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" (else "else") (if_statement "if ((cVar1 == '\x02') && (*piVar6 == 4)) {\n          iVar8 = iVar7;\n        }" (if "if") (parenthesized_expression "((cVar1 == '\x02') && (*piVar6 == 4))" (( "(") (binary_expression "(cVar1 == '\x02') && (*piVar6 == 4)" (parenthesized_expression "(cVar1 == '\x02')" (( "(") (binary_expression "cVar1 == '\x02'" (identifier "cVar1") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*piVar6 == 4)" (( "(") (binary_expression "*piVar6 == 4" (pointer_expression "*piVar6" (* "*") (identifier "piVar6")) (== "==") (number_literal "4")) () ")"))) () ")")) (compound_statement "{\n          iVar8 = iVar7;\n        }" ({ "{") (expression_statement "iVar8 = iVar7;" (assignment_expression "iVar8 = iVar7" (identifier "iVar8") (= "=") (identifier "iVar7")) (; ";")) (} "}"))))) (} "}"))) (expression_statement "local_18 = iVar5;" (assignment_expression "local_18 = iVar5" (identifier "local_18") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "local_1c = iVar4;" (assignment_expression "local_1c = iVar4" (identifier "local_1c") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "local_24 = iVar3;" (assignment_expression "local_24 = iVar3" (identifier "local_24") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "piVar6 = piVar6 + 3;" (assignment_expression "piVar6 = piVar6 + 3" (identifier "piVar6") (= "=") (binary_expression "piVar6 + 3" (identifier "piVar6") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != *param_2)" (( "(") (binary_expression "iVar7 != *param_2" (identifier "iVar7") (!= "!=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")) (; ";")) (if_statement "if (local_18 == -1) {\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }\n    else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" (if "if") (parenthesized_expression "(local_18 == -1)" (( "(") (binary_expression "local_18 == -1" (identifier "local_18") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      param_2[5] = 0;\n      *(double *)(param_2 + 9) = (double)DAT_00131a94;\n      fVar2 = DAT_00131a98;\n      if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }\n      if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }\n    }" ({ "{") (expression_statement "param_2[5] = 0;" (assignment_expression "param_2[5] = 0" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a94;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a94" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (= "=") (cast_expression "(double)DAT_00131a94" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_00131a94"))) (; ";")) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" (identifier "fVar2") (= "=") (identifier "DAT_00131a98")) (; ";")) (if_statement "if (local_24 == -1) {\n        iVar7 = 1;\n      }\n      else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" (if "if") (parenthesized_expression "(local_24 == -1)" (( "(") (binary_expression "local_24 == -1" (identifier "local_24") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        iVar7 = 1;\n      }" ({ "{") (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" (identifier "iVar7") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" (else "else") (compound_statement "{\n        iVar7 = 2;\n        param_2[5] = 2;\n        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n      }" ({ "{") (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" (identifier "iVar7") (= "=") (number_literal "2")) (; ";")) (expression_statement "param_2[5] = 2;" (assignment_expression "param_2[5] = 2" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "*(undefined4 *)(param_2[4] + local_24 * 8) = 1;" (assignment_expression "*(undefined4 *)(param_2[4] + local_24 * 8) = 1" (pointer_expression "*(undefined4 *)(param_2[4] + local_24 * 8)" (* "*") (cast_expression "(undefined4 *)(param_2[4] + local_24 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[4] + local_24 * 8)" (( "(") (binary_expression "param_2[4] + local_24 * 8" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "local_24 * 8" (identifier "local_24") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));" (assignment_expression "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9))" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (= "=") (cast_expression "(double)(fVar2 * (float)*(double *)(param_2 + 9))" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(fVar2 * (float)*(double *)(param_2 + 9))" (( "(") (binary_expression "fVar2 * (float)*(double *)(param_2 + 9)" (identifier "fVar2") (* "*") (cast_expression "(float)*(double *)(param_2 + 9)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))))) () ")")))) (; ";")) (} "}")))) (if_statement "if (local_1c != -1) {\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }" (if "if") (parenthesized_expression "(local_1c != -1)" (( "(") (binary_expression "local_1c != -1" (identifier "local_1c") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        param_2[5] = param_2[5] + 4;\n        fVar2 = DAT_00131a98;\n        *(int *)(param_2[4] + local_1c * 8) = iVar7;\n        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));\n        iVar7 = iVar7 + 1;\n      }" ({ "{") (expression_statement "param_2[5] = param_2[5] + 4;" (assignment_expression "param_2[5] = param_2[5] + 4" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (binary_expression "param_2[5] + 4" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "4"))) (; ";")) (expression_statement "fVar2 = DAT_00131a98;" (assignment_expression "fVar2 = DAT_00131a98" (identifier "fVar2") (= "=") (identifier "DAT_00131a98")) (; ";")) (expression_statement "*(int *)(param_2[4] + local_1c * 8) = iVar7;" (assignment_expression "*(int *)(param_2[4] + local_1c * 8) = iVar7" (pointer_expression "*(int *)(param_2[4] + local_1c * 8)" (* "*") (cast_expression "(int *)(param_2[4] + local_1c * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[4] + local_1c * 8)" (( "(") (binary_expression "param_2[4] + local_1c * 8" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "local_1c * 8" (identifier "local_1c") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));" (assignment_expression "*(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9))" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (= "=") (cast_expression "(double)(fVar2 * (float)*(double *)(param_2 + 9))" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(fVar2 * (float)*(double *)(param_2 + 9))" (( "(") (binary_expression "fVar2 * (float)*(double *)(param_2 + 9)" (identifier "fVar2") (* "*") (cast_expression "(float)*(double *)(param_2 + 9)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))))) () ")")))) (; ";")) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" (else "else") (compound_statement "{\n      param_2[5] = 1;\n      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;\n      *(double *)(param_2 + 9) = (double)DAT_00131a90;\n      iVar7 = 2;\n    }" ({ "{") (expression_statement "param_2[5] = 1;" (assignment_expression "param_2[5] = 1" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(param_2[4] + local_18 * 8) = 1;" (assignment_expression "*(undefined4 *)(param_2[4] + local_18 * 8) = 1" (pointer_expression "*(undefined4 *)(param_2[4] + local_18 * 8)" (* "*") (cast_expression "(undefined4 *)(param_2[4] + local_18 * 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[4] + local_18 * 8)" (( "(") (binary_expression "param_2[4] + local_18 * 8" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "local_18 * 8" (identifier "local_18") (* "*") (number_literal "8"))) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a90;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a90" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (= "=") (cast_expression "(double)DAT_00131a90" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_00131a90"))) (; ";")) (expression_statement "iVar7 = 2;" (assignment_expression "iVar7 = 2" (identifier "iVar7") (= "=") (number_literal "2")) (; ";")) (} "}")))) (if_statement "if (iVar8 != -1) {\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }" (if "if") (parenthesized_expression "(iVar8 != -1)" (( "(") (binary_expression "iVar8 != -1" (identifier "iVar8") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      *(int *)(param_2[4] + iVar8 * 8) = iVar7;\n      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;\n    }" ({ "{") (expression_statement "*(int *)(param_2[4] + iVar8 * 8) = iVar7;" (assignment_expression "*(int *)(param_2[4] + iVar8 * 8) = iVar7" (pointer_expression "*(int *)(param_2[4] + iVar8 * 8)" (* "*") (cast_expression "(int *)(param_2[4] + iVar8 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[4] + iVar8 * 8)" (( "(") (binary_expression "param_2[4] + iVar8 * 8" (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]")) (+ "+") (binary_expression "iVar8 * 8" (identifier "iVar8") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "iVar7")) (; ";")) (expression_statement "*(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;" (assignment_expression "*(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (= "=") (binary_expression "*(double *)(param_2 + 9) - 1.0" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (- "-") (number_literal "1.0"))) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "param_2[5] = 0;" (assignment_expression "param_2[5] = 0" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(double *)(param_2 + 9) = (double)DAT_00131a94;" (assignment_expression "*(double *)(param_2 + 9) = (double)DAT_00131a94" (pointer_expression "*(double *)(param_2 + 9)" (* "*") (cast_expression "(double *)(param_2 + 9)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 9)" (( "(") (binary_expression "param_2 + 9" (identifier "param_2") (+ "+") (number_literal "9")) () ")")))) (= "=") (cast_expression "(double)DAT_00131a94" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_00131a94"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int function_1(type_1 *pVTab,type_2 *pInfo)

{
  type_3 var_1;
  float var_6;
  int iVar3;
  int iVar4;
  int iVar5;
  type_4 *var_2;
  int var_3;
  int var_8;
  int var_5;
  int var_7;
  int var_4;
  
  if (((pInfo->nOrderBy == 1) && (pInfo->aOrderBy->iColumn == 0)) && (pInfo->aOrderBy->desc == '\0')
     ) {
    pInfo->orderByConsumed = 1;
  }
  if (0 < pInfo->nConstraint) {
    var_2 = pInfo->aConstraint;
    var_8 = -1;
    var_7 = -1;
    var_3 = 0;
    var_5 = -1;
    var_4 = -1;
    do {
      iVar3 = var_5;
      iVar4 = var_7;
      iVar5 = var_4;
      if (var_2->usable != '\0') {
        var_1 = var_2->op;
        if (var_2->iColumn == 0) {
          iVar5 = var_3;
          if (((var_1 != '\x02') && (iVar4 = var_3, iVar5 = var_4, var_1 != '\x10')) &&
             ((var_1 != '\b' &&
              ((iVar3 = var_3, iVar4 = var_7, var_1 != '\x04' && (iVar3 = var_5, var_1 == ' ')
               ))))) {
            iVar3 = var_3;
          }
        }
        else if ((var_1 == '\x02') && (var_2->iColumn == 4)) {
          var_8 = var_3;
        }
      }
      var_4 = iVar5;
      var_7 = iVar4;
      var_5 = iVar3;
      var_2 = var_2 + 1;
      var_3 = var_3 + 1;
    } while (var_3 != pInfo->nConstraint);
    if (var_4 == -1) {
      pInfo->idxNum = 0;
      pInfo->estimatedCost = (double)DAT_00131a94;
      var_6 = DAT_00131a98;
      if (var_5 == -1) {
        var_3 = 1;
      }
      else {
        var_3 = 2;
        pInfo->idxNum = 2;
        pInfo->aConstraintUsage[var_5].argvIndex = 1;
        pInfo->estimatedCost = (double)(var_6 * (float)pInfo->estimatedCost);
      }
      if (var_7 != -1) {
        pInfo->idxNum = pInfo->idxNum + 4;
        var_6 = DAT_00131a98;
        pInfo->aConstraintUsage[var_7].argvIndex = var_3;
        pInfo->estimatedCost = (double)(var_6 * (float)pInfo->estimatedCost);
        var_3 = var_3 + 1;
      }
    }
    else {
      pInfo->idxNum = 1;
      pInfo->aConstraintUsage[var_4].argvIndex = 1;
      pInfo->estimatedCost = (double)DAT_00131a90;
      var_3 = 2;
    }
    if (var_8 != -1) {
      pInfo->aConstraintUsage[var_8].argvIndex = var_3;
      pInfo->estimatedCost = pInfo->estimatedCost - 1.0;
    }
    return 0;
  }
  pInfo->idxNum = 0;
  pInfo->estimatedCost = (double)DAT_00131a94;
  return 0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(undefined4 param_1,int *param_2)

{
  char cVar1;
  float fVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int *piVar6;
  int iVar7;
  int iVar8;
  int local_24;
  int local_1c;
  int local_18;
  
  if (((param_2[2] == 1) && (*(int *)param_2[3] == 0)) && ((char)((int *)param_2[3])[1] == '\0')) {
    param_2[8] = 1;
  }
  if (0 < *param_2) {
    piVar6 = (int *)param_2[1];
    iVar8 = -1;
    local_1c = -1;
    iVar7 = 0;
    local_24 = -1;
    local_18 = -1;
    do {
      iVar3 = local_24;
      iVar4 = local_1c;
      iVar5 = local_18;
      if (*(char *)((int)piVar6 + 5) != '\0') {
        cVar1 = (char)piVar6[1];
        if (*piVar6 == 0) {
          iVar5 = iVar7;
          if (((cVar1 != '\x02') && (iVar4 = iVar7, iVar5 = local_18, cVar1 != '\x10')) &&
             ((cVar1 != '\b' &&
              ((iVar3 = iVar7, iVar4 = local_1c, cVar1 != '\x04' && (iVar3 = local_24, cVar1 == ' ')
               ))))) {
            iVar3 = iVar7;
          }
        }
        else if ((cVar1 == '\x02') && (*piVar6 == 4)) {
          iVar8 = iVar7;
        }
      }
      local_18 = iVar5;
      local_1c = iVar4;
      local_24 = iVar3;
      piVar6 = piVar6 + 3;
      iVar7 = iVar7 + 1;
    } while (iVar7 != *param_2);
    if (local_18 == -1) {
      param_2[5] = 0;
      *(double *)(param_2 + 9) = (double)DAT_00131a94;
      fVar2 = DAT_00131a98;
      if (local_24 == -1) {
        iVar7 = 1;
      }
      else {
        iVar7 = 2;
        param_2[5] = 2;
        *(undefined4 *)(param_2[4] + local_24 * 8) = 1;
        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));
      }
      if (local_1c != -1) {
        param_2[5] = param_2[5] + 4;
        fVar2 = DAT_00131a98;
        *(int *)(param_2[4] + local_1c * 8) = iVar7;
        *(double *)(param_2 + 9) = (double)(fVar2 * (float)*(double *)(param_2 + 9));
        iVar7 = iVar7 + 1;
      }
    }
    else {
      param_2[5] = 1;
      *(undefined4 *)(param_2[4] + local_18 * 8) = 1;
      *(double *)(param_2 + 9) = (double)DAT_00131a90;
      iVar7 = 2;
    }
    if (iVar8 != -1) {
      *(int *)(param_2[4] + iVar8 * 8) = iVar7;
      *(double *)(param_2 + 9) = *(double *)(param_2 + 9) - 1.0;
    }
    return 0;
  }
  param_2[5] = 0;
  *(double *)(param_2 + 9) = (double)DAT_00131a94;
  return 0;
}

