
void * add234_internal(tree234 *t,void *e,int index)

{
  int iVar1;
  code *pcVar2;
  node234 *pnVar3;
  int iVar4;
  node234 *pnVar5;
  void *pvVar6;
  node234 *pnVar7;
  node234 **ppnVar8;
  node234_conflict *pnVar9;
  node234_conflict *pnVar10;
  void *pvVar11;
  node234 *local_2c;
  
  if (t->root == (node234_conflict *)0x0) {
    pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);
    t->root = pnVar9;
    pnVar9->elems[2] = (void *)0x0;
    t->root->elems[1] = (void *)0x0;
    t->root->kids[1] = (node234 *)0x0;
    t->root->kids[0] = (node234 *)0x0;
    t->root->kids[3] = (node234 *)0x0;
    t->root->kids[2] = (node234 *)0x0;
    t->root->counts[1] = 0;
    t->root->counts[0] = 0;
    t->root->counts[3] = 0;
    t->root->counts[2] = 0;
    t->root->parent = (node234_conflict *)0x0;
    t->root->elems[0] = e;
  }
  else {
    pnVar5 = t->root;
    pvVar11 = e;
    if (pnVar5 == (node234 *)0x0) {
      iVar1 = 0;
      iVar4 = 0;
      pnVar3 = (node234 *)0x0;
LAB_00087f28:
      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);
      t->root = pnVar9;
      pnVar9->kids[0] = pnVar3;
      t->root->counts[0] = iVar4;
      t->root->elems[0] = pvVar11;
      t->root->kids[1] = pnVar5;
      t->root->counts[1] = iVar1;
      t->root->elems[1] = (void *)0x0;
      t->root->kids[2] = (node234 *)0x0;
      t->root->counts[2] = 0;
      t->root->elems[2] = (void *)0x0;
      t->root->kids[3] = (node234 *)0x0;
      t->root->counts[3] = 0;
      t->root->parent = (node234_conflict *)0x0;
      pnVar9 = t->root;
      if (pnVar9->kids[0] != (node234 *)0x0) {
        pnVar9->kids[0]->parent = pnVar9;
        pnVar9 = t->root;
      }
      if (pnVar9->kids[1] != (node234 *)0x0) {
        pnVar9->kids[1]->parent = pnVar9;
      }
    }
    else {
      do {
        pnVar9 = pnVar5;
        if (index < 0) {
          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);
          iVar4 = 0;
          if (-1 < iVar1) {
            if (iVar1 == 0) {
              return pnVar9->elems[0];
            }
            iVar4 = 1;
            if (pnVar9->elems[1] != (void *)0x0) {
              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);
              iVar4 = 1;
              if (-1 < iVar1) {
                if (iVar1 == 0) {
                  return pnVar9->elems[1];
                }
                iVar4 = 2;
                if (pnVar9->elems[2] != (void *)0x0) {
                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);
                  iVar4 = 2;
                  if (-1 < iVar1) {
                    iVar4 = 3;
                    if (iVar1 == 0) {
                      return pnVar9->elems[2];
                    }
                    iVar1 = 0xc;
                    goto LAB_00087978;
                  }
                }
              }
            }
          }
LAB_00087974:
          iVar1 = iVar4 << 2;
        }
        else {
          iVar4 = index;
          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;
          iVar4 = 0;
          if (index <= pnVar9->counts[0]) goto LAB_00087974;
          index = index - (pnVar9->counts[0] + 1);
          iVar4 = 1;
          if (index <= pnVar9->counts[1]) goto LAB_00087974;
          index = index - (pnVar9->counts[1] + 1);
          if (index <= pnVar9->counts[2]) {
            iVar4 = 2;
            goto LAB_00087974;
          }
          index = index - (pnVar9->counts[2] + 1);
          iVar4 = 3;
          if (pnVar9->counts[3] < index) {
            return (void *)0x0;
          }
          iVar1 = 0xc;
        }
LAB_00087978:
        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);
      } while (pnVar5 != (node234 *)0x0);
      pvVar6 = pnVar9->elems[1];
      ppnVar8 = pnVar9->kids + iVar4;
      if (pvVar6 == (void *)0x0) {
        iVar1 = 0;
        iVar4 = 0;
        pnVar5 = (node234 *)0x0;
        pnVar3 = (node234 *)0x0;
LAB_00087a64:
        if (ppnVar8 == pnVar9->kids) {
          pnVar9->kids[2] = pnVar9->kids[1];
          pnVar9->counts[2] = pnVar9->counts[1];
          pnVar9->elems[1] = pnVar9->elems[0];
          pnVar9->kids[1] = pnVar5;
          pnVar9->counts[1] = iVar1;
          pnVar9->elems[0] = pvVar11;
          pnVar9->kids[0] = pnVar3;
          pnVar9->counts[0] = iVar4;
        }
        else {
          pnVar9->kids[2] = pnVar5;
          pnVar9->counts[2] = iVar1;
          pnVar9->elems[1] = pvVar11;
          pnVar9->kids[1] = pnVar3;
          pnVar9->counts[1] = iVar4;
        }
        if (pnVar9->kids[0] != (node234 *)0x0) {
          pnVar9->kids[0]->parent = pnVar9;
        }
        if (pnVar9->kids[1] != (node234 *)0x0) {
          pnVar9->kids[1]->parent = pnVar9;
        }
        if (pnVar9->kids[2] != (node234 *)0x0) {
          pnVar9->kids[2]->parent = pnVar9;
        }
      }
      else {
        iVar1 = 0;
        if (pnVar9->elems[2] == (void *)0x0) {
          iVar4 = 0;
          pnVar5 = (node234 *)0x0;
          pnVar3 = (node234 *)0x0;
        }
        else {
          iVar4 = 0;
          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);
          pnVar7 = (node234 *)0x0;
          local_2c = pnVar5;
          do {
            pnVar5 = pnVar9;
            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);
            pnVar3->parent = pnVar5->parent;
            if (ppnVar8 == pnVar5->kids) {
              pnVar3->kids[0] = pnVar7;
              pnVar3->counts[0] = iVar4;
              pnVar3->elems[0] = pvVar11;
              pnVar3->kids[1] = local_2c;
              pnVar3->counts[1] = iVar1;
              pnVar3->elems[1] = pnVar5->elems[0];
              pnVar3->kids[2] = pnVar5->kids[1];
              pnVar3->counts[2] = pnVar5->counts[1];
              pvVar11 = pnVar5->elems[1];
              pnVar5->kids[0] = pnVar5->kids[2];
              pnVar5->counts[0] = pnVar5->counts[2];
              pnVar5->elems[0] = pnVar5->elems[2];
              pnVar5->kids[1] = pnVar5->kids[3];
              pnVar5->counts[1] = pnVar5->counts[3];
            }
            else if (ppnVar8 == pnVar5->kids + 1) {
              pnVar3->kids[0] = pnVar5->kids[0];
              pnVar3->counts[0] = pnVar5->counts[0];
              pnVar3->elems[0] = pnVar5->elems[0];
              pnVar3->kids[1] = pnVar7;
              pnVar3->counts[1] = iVar4;
              pnVar3->elems[1] = pvVar11;
              pnVar3->kids[2] = local_2c;
              pnVar3->counts[2] = iVar1;
              pvVar11 = pnVar5->elems[1];
              pnVar5->kids[0] = pnVar5->kids[2];
              pnVar5->counts[0] = pnVar5->counts[2];
              pnVar5->elems[0] = pnVar5->elems[2];
              pnVar5->kids[1] = pnVar5->kids[3];
              pnVar5->counts[1] = pnVar5->counts[3];
            }
            else if (ppnVar8 == pnVar5->kids + 2) {
              pnVar3->kids[0] = pnVar5->kids[0];
              pnVar3->counts[0] = pnVar5->counts[0];
              pnVar3->elems[0] = pnVar5->elems[0];
              pnVar3->kids[1] = pnVar5->kids[1];
              pnVar3->counts[1] = pnVar5->counts[1];
              pnVar3->elems[1] = pnVar5->elems[1];
              pnVar3->kids[2] = pnVar7;
              pnVar3->counts[2] = iVar4;
              pnVar5->kids[0] = local_2c;
              pnVar5->counts[0] = iVar1;
              pnVar5->elems[0] = pnVar5->elems[2];
              pnVar5->kids[1] = pnVar5->kids[3];
              pnVar5->counts[1] = pnVar5->counts[3];
            }
            else {
              pnVar3->kids[0] = pnVar5->kids[0];
              pnVar3->counts[0] = pnVar5->counts[0];
              pnVar3->elems[0] = pnVar5->elems[0];
              pnVar3->kids[1] = pnVar5->kids[1];
              pnVar3->counts[1] = pnVar5->counts[1];
              pnVar3->elems[1] = pnVar5->elems[1];
              pnVar3->kids[2] = pnVar5->kids[2];
              pnVar3->counts[2] = pnVar5->counts[2];
              pnVar5->kids[0] = pnVar7;
              pnVar5->counts[0] = iVar4;
              pnVar5->elems[0] = pvVar11;
              pnVar5->kids[1] = local_2c;
              pnVar5->counts[1] = iVar1;
              pvVar11 = pnVar5->elems[2];
            }
            pnVar5->kids[2] = (node234 *)0x0;
            pnVar5->kids[3] = (node234 *)0x0;
            pnVar3->kids[3] = (node234 *)0x0;
            pnVar5->counts[2] = 0;
            pnVar5->counts[3] = 0;
            pnVar3->counts[3] = 0;
            pnVar5->elems[1] = (void *)0x0;
            pnVar5->elems[2] = (void *)0x0;
            pnVar3->elems[2] = (void *)0x0;
            if (pnVar3->kids[0] != (node234 *)0x0) {
              pnVar3->kids[0]->parent = pnVar3;
            }
            if (pnVar3->kids[1] != (node234 *)0x0) {
              pnVar3->kids[1]->parent = pnVar3;
            }
            if (pnVar3->kids[2] != (node234 *)0x0) {
              pnVar3->kids[2]->parent = pnVar3;
            }
            if (pnVar5->kids[0] != (node234 *)0x0) {
              pnVar5->kids[0]->parent = pnVar5;
            }
            if (pnVar5->kids[1] != (node234 *)0x0) {
              pnVar5->kids[1]->parent = pnVar5;
            }
            iVar4 = (*pcVar2)(pnVar3);
            iVar1 = (*pcVar2)(pnVar5);
            pnVar9 = pnVar5->parent;
            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;
            ppnVar8 = pnVar9->kids;
            if ((pnVar9->kids[0] != pnVar5) &&
               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {
              if (pnVar9->kids[2] == pnVar5) {
                ppnVar8 = pnVar9->kids + 2;
              }
              else {
                ppnVar8 = pnVar9->kids + 3;
              }
            }
            pvVar6 = pnVar9->elems[1];
            if (pvVar6 == (void *)0x0) goto LAB_00087a64;
            pnVar7 = pnVar3;
            local_2c = pnVar5;
          } while (pnVar9->elems[2] != (void *)0x0);
        }
        if (ppnVar8 == pnVar9->kids) {
          pnVar9->kids[3] = pnVar9->kids[2];
          pnVar9->counts[3] = pnVar9->counts[2];
          pnVar9->elems[2] = pvVar6;
          pnVar9->kids[2] = pnVar9->kids[1];
          pnVar9->counts[2] = pnVar9->counts[1];
          pnVar9->elems[1] = pnVar9->elems[0];
          pnVar9->kids[1] = pnVar5;
          pnVar9->counts[1] = iVar1;
          pnVar9->elems[0] = pvVar11;
          pnVar9->kids[0] = pnVar3;
          pnVar9->counts[0] = iVar4;
        }
        else if (ppnVar8 == pnVar9->kids + 1) {
          pnVar9->kids[3] = pnVar9->kids[2];
          pnVar9->counts[3] = pnVar9->counts[2];
          pnVar9->elems[2] = pvVar6;
          pnVar9->kids[2] = pnVar5;
          pnVar9->counts[2] = iVar1;
          pnVar9->elems[1] = pvVar11;
          pnVar9->kids[1] = pnVar3;
          pnVar9->counts[1] = iVar4;
        }
        else {
          pnVar9->kids[3] = pnVar5;
          pnVar9->counts[3] = iVar1;
          pnVar9->elems[2] = pvVar11;
          pnVar9->kids[2] = pnVar3;
          pnVar9->counts[2] = iVar4;
        }
        if (pnVar9->kids[0] != (node234 *)0x0) {
          pnVar9->kids[0]->parent = pnVar9;
        }
        if (pnVar9->kids[1] != (node234 *)0x0) {
          pnVar9->kids[1]->parent = pnVar9;
        }
        if (pnVar9->kids[2] != (node234 *)0x0) {
          pnVar9->kids[2]->parent = pnVar9;
        }
        if (pnVar9->kids[3] != (node234 *)0x0) {
          pnVar9->kids[3]->parent = pnVar9;
        }
      }
      pnVar10 = pnVar9->parent;
      while (pnVar10 != (node234_conflict *)0x0) {
        iVar4 = countnode234(pnVar9);
        iVar1 = 0;
        if (pnVar10->kids[0] != pnVar9) {
          iVar1 = 3;
          if (pnVar10->kids[1] == pnVar9) {
            iVar1 = 1;
          }
          else if (pnVar10->kids[2] == pnVar9) {
            iVar1 = 2;
          }
        }
        pnVar10->counts[iVar1] = iVar4;
        pnVar9 = pnVar9->parent;
        pnVar10 = pnVar9->parent;
      }
    }
  }
  return e;
}



int FUN_000877a0(int *param_1,int param_2,int param_3)

{
  int iVar1;
  code *pcVar2;
  int *piVar3;
  undefined4 uVar4;
  int iVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  int *piVar9;
  int iVar10;
  int iVar11;
  int *local_2c;
  
  if (*param_1 == 0) {
    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);
    *param_1 = iVar11;
    *(undefined4 *)(iVar11 + 0x2c) = 0;
    *(undefined4 *)(*param_1 + 0x28) = 0;
    *(undefined4 *)(*param_1 + 8) = 0;
    *(undefined4 *)(*param_1 + 4) = 0;
    *(undefined4 *)(*param_1 + 0x10) = 0;
    *(undefined4 *)(*param_1 + 0xc) = 0;
    *(undefined4 *)(*param_1 + 0x18) = 0;
    *(undefined4 *)(*param_1 + 0x14) = 0;
    *(undefined4 *)(*param_1 + 0x20) = 0;
    *(undefined4 *)(*param_1 + 0x1c) = 0;
    *(undefined4 *)*param_1 = 0;
    *(int *)(*param_1 + 0x24) = param_2;
  }
  else {
    piVar6 = (int *)*param_1;
    iVar11 = param_2;
    if (piVar6 == (int *)0x0) {
      iVar10 = 0;
      iVar5 = 0;
      piVar3 = (int *)0x0;
LAB_00087f28:
      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);
      *param_1 = iVar1;
      *(int **)(iVar1 + 4) = piVar3;
      *(int *)(*param_1 + 0x14) = iVar5;
      *(int *)(*param_1 + 0x24) = iVar11;
      *(int **)(*param_1 + 8) = piVar6;
      *(int *)(*param_1 + 0x18) = iVar10;
      *(undefined4 *)(*param_1 + 0x28) = 0;
      *(undefined4 *)(*param_1 + 0xc) = 0;
      *(undefined4 *)(*param_1 + 0x1c) = 0;
      *(undefined4 *)(*param_1 + 0x2c) = 0;
      *(undefined4 *)(*param_1 + 0x10) = 0;
      *(undefined4 *)(*param_1 + 0x20) = 0;
      *(undefined4 *)*param_1 = 0;
      iVar11 = *param_1;
      if (*(int **)(iVar11 + 4) != (int *)0x0) {
        **(int **)(iVar11 + 4) = iVar11;
        iVar11 = *param_1;
      }
      if (*(int **)(iVar11 + 8) != (int *)0x0) {
        **(int **)(iVar11 + 8) = iVar11;
      }
    }
    else {
      do {
        piVar9 = piVar6;
        if (param_3 < 0) {
          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);
          iVar5 = 0;
          if (-1 < iVar1) {
            if (iVar1 == 0) {
              return piVar9[9];
            }
            iVar5 = 1;
            if (piVar9[10] != 0) {
              iVar1 = (*(code *)param_1[1])(param_2);
              iVar5 = 1;
              if (-1 < iVar1) {
                if (iVar1 == 0) {
                  return piVar9[10];
                }
                iVar5 = 2;
                if (piVar9[0xb] != 0) {
                  iVar1 = (*(code *)param_1[1])(param_2);
                  iVar5 = 2;
                  if (-1 < iVar1) {
                    iVar5 = 3;
                    if (iVar1 == 0) {
                      return piVar9[0xb];
                    }
                    iVar1 = 0xc;
                    goto LAB_00087978;
                  }
                }
              }
            }
          }
LAB_00087974:
          iVar1 = iVar5 << 2;
        }
        else {
          iVar5 = param_3;
          if (piVar9[1] == 0) goto LAB_00087974;
          iVar5 = 0;
          if (param_3 <= piVar9[5]) goto LAB_00087974;
          param_3 = param_3 - (piVar9[5] + 1);
          iVar5 = 1;
          if (param_3 <= piVar9[6]) goto LAB_00087974;
          param_3 = param_3 - (piVar9[6] + 1);
          if (param_3 <= piVar9[7]) {
            iVar5 = 2;
            goto LAB_00087974;
          }
          param_3 = param_3 - (piVar9[7] + 1);
          iVar5 = 3;
          if (piVar9[8] < param_3) {
            return 0;
          }
          iVar1 = 0xc;
        }
LAB_00087978:
        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);
      } while (piVar6 != (int *)0x0);
      iVar1 = piVar9[10];
      piVar8 = piVar9 + iVar5 + 1;
      if (iVar1 == 0) {
        iVar10 = 0;
        iVar5 = 0;
        piVar6 = (int *)0x0;
        piVar3 = (int *)0x0;
LAB_00087a64:
        if (piVar8 == piVar9 + 1) {
          piVar9[3] = piVar9[2];
          piVar9[7] = piVar9[6];
          piVar9[10] = piVar9[9];
          piVar9[2] = (int)piVar6;
          piVar9[6] = iVar10;
          piVar9[9] = iVar11;
          piVar9[1] = (int)piVar3;
          piVar9[5] = iVar5;
        }
        else {
          piVar9[3] = (int)piVar6;
          piVar9[7] = iVar10;
          piVar9[10] = iVar11;
          piVar9[2] = (int)piVar3;
          piVar9[6] = iVar5;
        }
        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[1] = piVar9;
        }
        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[2] = piVar9;
        }
        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[3] = piVar9;
        }
      }
      else {
        iVar10 = 0;
        if (piVar9[0xb] == 0) {
          iVar5 = 0;
          piVar6 = (int *)0x0;
          piVar3 = (int *)0x0;
        }
        else {
          iVar5 = 0;
          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);
          piVar7 = (int *)0x0;
          local_2c = piVar6;
          do {
            piVar6 = piVar9;
            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);
            *piVar3 = *piVar6;
            if (piVar8 == piVar6 + 1) {
              piVar3[1] = (int)piVar7;
              piVar3[5] = iVar5;
              piVar3[9] = iVar11;
              piVar3[2] = (int)local_2c;
              piVar3[6] = iVar10;
              piVar3[10] = piVar6[9];
              piVar3[3] = piVar6[2];
              piVar3[7] = piVar6[6];
              iVar11 = piVar6[10];
              piVar6[1] = piVar6[3];
              piVar6[5] = piVar6[7];
              piVar6[9] = piVar6[0xb];
              piVar6[2] = piVar6[4];
              piVar6[6] = piVar6[8];
            }
            else if (piVar8 == piVar6 + 2) {
              piVar3[1] = piVar6[1];
              piVar3[5] = piVar6[5];
              piVar3[9] = piVar6[9];
              piVar3[2] = (int)piVar7;
              piVar3[6] = iVar5;
              piVar3[10] = iVar11;
              piVar3[3] = (int)local_2c;
              piVar3[7] = iVar10;
              iVar11 = piVar6[10];
              piVar6[1] = piVar6[3];
              piVar6[5] = piVar6[7];
              piVar6[9] = piVar6[0xb];
              piVar6[2] = piVar6[4];
              piVar6[6] = piVar6[8];
            }
            else if (piVar8 == piVar6 + 3) {
              piVar3[1] = piVar6[1];
              piVar3[5] = piVar6[5];
              piVar3[9] = piVar6[9];
              piVar3[2] = piVar6[2];
              piVar3[6] = piVar6[6];
              piVar3[10] = piVar6[10];
              piVar3[3] = (int)piVar7;
              piVar3[7] = iVar5;
              piVar6[1] = (int)local_2c;
              piVar6[5] = iVar10;
              piVar6[9] = piVar6[0xb];
              piVar6[2] = piVar6[4];
              piVar6[6] = piVar6[8];
            }
            else {
              piVar3[1] = piVar6[1];
              piVar3[5] = piVar6[5];
              piVar3[9] = piVar6[9];
              piVar3[2] = piVar6[2];
              piVar3[6] = piVar6[6];
              piVar3[10] = piVar6[10];
              piVar3[3] = piVar6[3];
              piVar3[7] = piVar6[7];
              piVar6[1] = (int)piVar7;
              piVar6[5] = iVar5;
              piVar6[9] = iVar11;
              piVar6[2] = (int)local_2c;
              piVar6[6] = iVar10;
              iVar11 = piVar6[0xb];
            }
            piVar6[3] = 0;
            piVar6[4] = 0;
            piVar3[4] = 0;
            piVar6[7] = 0;
            piVar6[8] = 0;
            piVar3[8] = 0;
            piVar6[10] = 0;
            piVar6[0xb] = 0;
            piVar3[0xb] = 0;
            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {
              *(undefined4 *)piVar3[1] = piVar3;
            }
            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {
              *(undefined4 *)piVar3[2] = piVar3;
            }
            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {
              *(undefined4 *)piVar3[3] = piVar3;
            }
            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {
              *(undefined4 *)piVar6[1] = piVar6;
            }
            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {
              *(undefined4 *)piVar6[2] = piVar6;
            }
            iVar5 = (*pcVar2)(piVar3);
            iVar10 = (*pcVar2)(piVar6);
            piVar9 = (int *)*piVar6;
            if (piVar9 == (int *)0x0) goto LAB_00087f28;
            piVar8 = piVar9 + 1;
            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {
              if ((int *)piVar9[3] == piVar6) {
                piVar8 = piVar9 + 3;
              }
              else {
                piVar8 = piVar9 + 4;
              }
            }
            iVar1 = piVar9[10];
            if (iVar1 == 0) goto LAB_00087a64;
            piVar7 = piVar3;
            local_2c = piVar6;
          } while (piVar9[0xb] != 0);
        }
        if (piVar8 == piVar9 + 1) {
          piVar9[4] = piVar9[3];
          piVar9[8] = piVar9[7];
          piVar9[0xb] = iVar1;
          piVar9[3] = piVar9[2];
          piVar9[7] = piVar9[6];
          piVar9[10] = piVar9[9];
          piVar9[2] = (int)piVar6;
          piVar9[6] = iVar10;
          piVar9[9] = iVar11;
          piVar9[1] = (int)piVar3;
          piVar9[5] = iVar5;
        }
        else if (piVar8 == piVar9 + 2) {
          piVar9[4] = piVar9[3];
          piVar9[8] = piVar9[7];
          piVar9[0xb] = iVar1;
          piVar9[3] = (int)piVar6;
          piVar9[7] = iVar10;
          piVar9[10] = iVar11;
          piVar9[2] = (int)piVar3;
          piVar9[6] = iVar5;
        }
        else {
          piVar9[4] = (int)piVar6;
          piVar9[8] = iVar10;
          piVar9[0xb] = iVar11;
          piVar9[3] = (int)piVar3;
          piVar9[7] = iVar5;
        }
        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[1] = piVar9;
        }
        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[2] = piVar9;
        }
        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[3] = piVar9;
        }
        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[4] = piVar9;
        }
      }
      iVar11 = *piVar9;
      while (iVar11 != 0) {
        uVar4 = FUN_00087740(piVar9);
        iVar5 = 0;
        if (*(int **)(iVar11 + 4) != piVar9) {
          iVar5 = 3;
          if (*(int **)(iVar11 + 8) == piVar9) {
            iVar5 = 1;
          }
          else if (*(int **)(iVar11 + 0xc) == piVar9) {
            iVar5 = 2;
          }
        }
        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;
        piVar9 = (int *)*piVar9;
        iVar11 = *piVar9;
      }
    }
  }
  return param_2;
}


lui gp,0x4
addiu gp,gp,-0x1430
addu gp,gp,t9
addiu sp,sp,-0x48
sw ra,0x44(sp)
sw s8,0x40(sp)
sw s7,0x3c(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s3,0x2c(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
sw s0,0x20(sp)
sw gp,0x10(sp)
sw a1,0x4c(sp)
lw v0,0x0(a0)
beq v0,zero,0x0008780c
_or s5,a0,zero
lw s0,0x0(a0)
beq s0,zero,0x00087f18
_or s1,a2,zero
or s3,zero,zero
li s4,0x1
li s6,0x2
b 0x0008798c
_li s7,0x3
li a1,0x30
li a0,0x1
lw t9,-0x7f9c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x0(s5)
sw zero,0x2c(v0)
lw v0,0x0(s5)
sw zero,0x28(v0)
lw v0,0x0(s5)
sw zero,0x8(v0)
lw v0,0x0(s5)
sw zero,0x4(v0)
lw v0,0x0(s5)
sw zero,0x10(v0)
lw v0,0x0(s5)
sw zero,0xc(v0)
lw v0,0x0(s5)
sw zero,0x18(v0)
lw v0,0x0(s5)
sw zero,0x14(v0)
lw v0,0x0(s5)
sw zero,0x20(v0)
lw v0,0x0(s5)
sw zero,0x1c(v0)
lw v0,0x0(s5)
sw zero,0x0(v0)
lw v0,0x0(s5)
lw v1,0x4c(sp)
b 0x00087928
_sw v1,0x24(v0)
b 0x00087928
_sw zero,0x4c(sp)
lw t9,0x4(s5)
lw a1,0x24(s0)
jalr t9
_nop
lw gp,0x10(sp)
bltz v0,0x00087974
_or v1,s3,zero
beq v0,zero,0x00087920
_nop
lw a1,0x28(s0)
beq a1,zero,0x00087974
_or v1,s4,zero
lw t9,0x4(s5)
lw a0,0x4c(sp)
jalr t9
_nop
lw gp,0x10(sp)
bltz v0,0x00087974
_or v1,s4,zero
beq v0,zero,0x0008795c
_nop
lw a1,0x2c(s0)
beq a1,zero,0x00087974
_or v1,s6,zero
lw t9,0x4(s5)
lw a0,0x4c(sp)
jalr t9
_nop
lw gp,0x10(sp)
bltz v0,0x00087974
_or v1,s6,zero
beq v0,zero,0x00087968
_or v1,s7,zero
b 0x00087978
_sll v0,v1,0x2
lw v0,0x24(s0)
sw v0,0x4c(sp)
lw v0,0x4c(sp)
lw ra,0x44(sp)
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
lw v0,0x28(s0)
b 0x00087928
_sw v0,0x4c(sp)
lw v0,0x2c(s0)
b 0x00087928
_sw v0,0x4c(sp)
sll v0,v1,0x2
addu v0,s0,v0
lw s2,0x4(v0)
beq s2,zero,0x00087a14
_nop
or s0,s2,zero
bltz s1,0x00087894
_lw a0,0x4c(sp)
lw v0,0x4(s0)
beq v0,zero,0x00087974
_or v1,s1,zero
lw v0,0x14(s0)
slt v1,v0,s1
beq v1,zero,0x00087974
_or v1,s3,zero
addiu v0,v0,0x1
subu s1,s1,v0
lw v0,0x18(s0)
slt v1,v0,s1
beq v1,zero,0x00087974
_or v1,s4,zero
addiu v0,v0,0x1
subu s1,s1,v0
lw v0,0x1c(s0)
slt v1,v0,s1
beq v1,zero,0x000879fc
_addiu v0,v0,0x1
subu s1,s1,v0
lw v0,0x20(s0)
slt v0,v0,s1
bne v0,zero,0x0008788c
_or v1,s7,zero
b 0x00087978
_sll v0,v1,0x2
b 0x00087974
_or v1,s6,zero
addiu s3,v1,0x1
sll s3,s3,0x2
lw s1,0x28(s0)
beq s1,zero,0x00087a50
_addu s3,s0,s3
lw v1,0x2c(s0)
beq v1,zero,0x00087b08
_or s7,zero,zero
sw s2,0x1c(sp)
lw s8,0x4c(sp)
or s6,zero,zero
lw v0,-0x77e4(gp)
addiu v0,v0,0x7740
b 0x00087d38
_sw v0,0x18(sp)
or s4,s0,zero
or s0,s1,zero
lw s8,0x4c(sp)
or s7,zero,zero
or s6,zero,zero
addiu v0,s4,0x4
beq s3,v0,0x00087ad8
_nop
sw s0,0xc(s4)
sw s7,0x1c(s4)
sw s8,0x28(s4)
sw s1,0x8(s4)
sw s6,0x18(s4)
lw v0,0x4(s4)
beq v0,zero,0x00087a94
_nop
sw s4,0x0(v0)
lw v0,0x8(s4)
beq v0,zero,0x00087aa4
_nop
sw s4,0x0(v0)
lw v0,0xc(s4)
beq v0,zero,0x00087ab4
_nop
sw s4,0x0(v0)
lw s6,0x0(s4)
beq s6,zero,0x00087928
_lw s0,-0x77e4(gp)
addiu s0,s0,0x7740
or s3,zero,zero
li s5,0x1
li s2,0x2
b 0x00087ed0
_li s1,0x3
lw v0,0x8(s4)
sw v0,0xc(s4)
lw v0,0x18(s4)
sw v0,0x1c(s4)
lw v0,0x24(s4)
sw v0,0x28(s4)
sw s0,0x8(s4)
sw s7,0x18(s4)
sw s8,0x24(s4)
sw s1,0x4(s4)
b 0x00087a84
_sw s6,0x14(s4)
or s4,s0,zero
or s0,v1,zero
lw s8,0x4c(sp)
or v0,s1,zero
or s1,v1,zero
or s6,zero,zero
addiu v1,s4,0x4
beq s3,v1,0x00087b8c
_addiu v1,s4,0x8
beq s3,v1,0x00087bd0
_nop
sw s0,0x10(s4)
sw s7,0x20(s4)
sw s8,0x2c(s4)
sw s1,0xc(s4)
sw s6,0x1c(s4)
lw v0,0x4(s4)
beq v0,zero,0x00087b58
_nop
sw s4,0x0(v0)
lw v0,0x8(s4)
beq v0,zero,0x00087b68
_nop
sw s4,0x0(v0)
lw v0,0xc(s4)
beq v0,zero,0x00087b78
_nop
sw s4,0x0(v0)
lw v0,0x10(s4)
beq v0,zero,0x00087ab4
_nop
b 0x00087ab4
_sw s4,0x0(v0)
lw v1,0xc(s4)
sw v1,0x10(s4)
lw v1,0x1c(s4)
sw v1,0x20(s4)
sw v0,0x2c(s4)
lw v0,0x8(s4)
sw v0,0xc(s4)
lw v0,0x18(s4)
sw v0,0x1c(s4)
lw v0,0x24(s4)
sw v0,0x28(s4)
sw s0,0x8(s4)
sw s7,0x18(s4)
sw s8,0x24(s4)
sw s1,0x4(s4)
b 0x00087b48
_sw s6,0x14(s4)
lw v1,0xc(s4)
sw v1,0x10(s4)
lw v1,0x1c(s4)
sw v1,0x20(s4)
sw v0,0x2c(s4)
sw s0,0xc(s4)
sw s7,0x1c(s4)
sw s8,0x28(s4)
sw s1,0x8(s4)
b 0x00087b48
_sw s6,0x18(s4)
sw s2,0x4(s1)
sw s6,0x14(s1)
sw s8,0x24(s1)
lw v0,0x1c(sp)
sw v0,0x8(s1)
sw s7,0x18(s1)
lw v0,0x24(s0)
sw v0,0x28(s1)
lw v0,0x8(s0)
sw v0,0xc(s1)
lw v0,0x18(s0)
sw v0,0x1c(s1)
lw s8,0x28(s0)
lw v0,0xc(s0)
sw v0,0x4(s0)
lw v0,0x1c(s0)
sw v0,0x14(s0)
lw v0,0x2c(s0)
sw v0,0x24(s0)
lw v0,0x10(s0)
sw v0,0x8(s0)
lw v0,0x20(s0)
b 0x00087dd4
_sw v0,0x18(s0)
lw v0,0x4(s0)
sw v0,0x4(s1)
lw v0,0x14(s0)
sw v0,0x14(s1)
lw v0,0x24(s0)
sw v0,0x24(s1)
sw s2,0x8(s1)
sw s6,0x18(s1)
sw s8,0x28(s1)
lw v0,0x1c(sp)
sw v0,0xc(s1)
sw s7,0x1c(s1)
lw s8,0x28(s0)
lw v0,0xc(s0)
sw v0,0x4(s0)
lw v0,0x1c(s0)
sw v0,0x14(s0)
lw v0,0x2c(s0)
sw v0,0x24(s0)
lw v0,0x10(s0)
sw v0,0x8(s0)
lw v0,0x20(s0)
b 0x00087dd4
_sw v0,0x18(s0)
lw v0,0x4(s0)
sw v0,0x4(s1)
lw v0,0x14(s0)
sw v0,0x14(s1)
lw v0,0x24(s0)
sw v0,0x24(s1)
lw v0,0x8(s0)
sw v0,0x8(s1)
lw v0,0x18(s0)
sw v0,0x18(s1)
lw v0,0x28(s0)
sw v0,0x28(s1)
sw s2,0xc(s1)
sw s6,0x1c(s1)
lw v0,0x1c(sp)
sw v0,0x4(s0)
sw s7,0x14(s0)
lw v0,0x2c(s0)
sw v0,0x24(s0)
lw v0,0x10(s0)
sw v0,0x8(s0)
lw v0,0x20(s0)
b 0x00087dd4
_sw v0,0x18(s0)
lw v0,0x28(s4)
beq v0,zero,0x00087a64
_or s2,s1,zero
lw v1,0x2c(s4)
beq v1,zero,0x00087b20
_sw s0,0x1c(sp)
or s0,s4,zero
li a1,0x30
li a0,0x1
lw t9,-0x7f9c(gp)
jalr t9
_nop
lw gp,0x10(sp)
or s1,v0,zero
lw v0,0x0(s0)
sw v0,0x0(s1)
addiu v0,s0,0x4
beq s3,v0,0x00087bfc
_addiu v0,s0,0x8
beq s3,v0,0x00087c5c
_addiu v0,s0,0xc
beq s3,v0,0x00087cbc
_nop
lw v0,0x4(s0)
sw v0,0x4(s1)
lw v0,0x14(s0)
sw v0,0x14(s1)
lw v0,0x24(s0)
sw v0,0x24(s1)
lw v0,0x8(s0)
sw v0,0x8(s1)
lw v0,0x18(s0)
sw v0,0x18(s1)
lw v0,0x28(s0)
sw v0,0x28(s1)
lw v0,0xc(s0)
sw v0,0xc(s1)
lw v0,0x1c(s0)
sw v0,0x1c(s1)
sw s2,0x4(s0)
sw s6,0x14(s0)
sw s8,0x24(s0)
lw v0,0x1c(sp)
sw v0,0x8(s0)
sw s7,0x18(s0)
lw s8,0x2c(s0)
sw zero,0xc(s0)
sw zero,0x10(s0)
sw zero,0x10(s1)
sw zero,0x1c(s0)
sw zero,0x20(s0)
sw zero,0x20(s1)
sw zero,0x28(s0)
sw zero,0x2c(s0)
sw zero,0x2c(s1)
lw v0,0x4(s1)
beq v0,zero,0x00087e08
_nop
sw s1,0x0(v0)
lw v0,0x8(s1)
beq v0,zero,0x00087e18
_nop
sw s1,0x0(v0)
lw v0,0xc(s1)
beq v0,zero,0x00087e28
_nop
sw s1,0x0(v0)
lw v0,0x4(s0)
beq v0,zero,0x00087e38
_nop
sw s0,0x0(v0)
lw v0,0x8(s0)
beq v0,zero,0x00087e48
_or a0,s1,zero
sw s0,0x0(v0)
lw t9,0x18(sp)
jalr t9
_nop
lw gp,0x10(sp)
or s6,v0,zero
or a0,s0,zero
lw t9,0x18(sp)
jalr t9
_nop
lw gp,0x10(sp)
lw s4,0x0(s0)
beq s4,zero,0x00087f28
_or s7,v0,zero
lw v0,0x4(s4)
beq v0,s0,0x00087d1c
_addiu s3,s4,0x4
lw v0,0x8(s4)
beq v0,s0,0x00087d1c
_addiu s3,s4,0x8
lw v0,0xc(s4)
beq v0,s0,0x00087ea8
_nop
b 0x00087d1c
_addiu s3,s4,0x10
b 0x00087d1c
_addiu s3,s4,0xc
addiu v1,v1,0x4
sll v1,v1,0x2
addu v1,s6,v1
sw v0,0x4(v1)
lw s4,0x0(s4)
lw s6,0x0(s4)
beq s6,zero,0x0008792c
_lw v0,0x4c(sp)
or a0,s4,zero
or t9,s0,zero
bal 0x00087740
_nop
lw gp,0x10(sp)
lw v1,0x4(s6)
beq v1,s4,0x00087eb0
_or v1,s3,zero
lw v1,0x8(s6)
beq v1,s4,0x00087f10
_or a0,s1,zero
lw v1,0xc(s6)
xor v1,v1,s4
movz a0,s2,v1
b 0x00087eb0
_or v1,a0,zero
b 0x00087eb0
_or v1,s5,zero
or s1,s0,zero
lw s8,0x4c(sp)
or s7,zero,zero
or s6,zero,zero
li a1,0x30
li a0,0x1
lw t9,-0x7f9c(gp)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x0(s5)
sw s1,0x4(v0)
lw v0,0x0(s5)
sw s6,0x14(v0)
lw v0,0x0(s5)
sw s8,0x24(v0)
lw v0,0x0(s5)
sw s0,0x8(v0)
lw v0,0x0(s5)
sw s7,0x18(v0)
lw v0,0x0(s5)
sw zero,0x28(v0)
lw v0,0x0(s5)
sw zero,0xc(v0)
lw v0,0x0(s5)
sw zero,0x1c(v0)
lw v0,0x0(s5)
sw zero,0x2c(v0)
lw v0,0x0(s5)
sw zero,0x10(v0)
lw v0,0x0(s5)
sw zero,0x20(v0)
lw v0,0x0(s5)
sw zero,0x0(v0)
lw v1,0x0(s5)
lw v0,0x4(v1)
beq v0,zero,0x00087fb8
_nop
sw v1,0x0(v0)
lw v1,0x0(s5)
lw v0,0x8(v1)
beq v0,zero,0x00087928
_nop
b 0x00087928
_sw v1,0x0(v0)
(translation_unit "int FUN_000877a0(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}\n\n" (function_definition "int FUN_000877a0(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}" primitive_type (function_declarator "FUN_000877a0(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (if_statement "if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }" { (expression_statement "iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal )))) ;) (expression_statement "*param_1 = iVar11;" (assignment_expression "*param_1 = iVar11" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x2c)" * (cast_expression "(undefined4 *)(iVar11 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x2c)" ( (binary_expression "iVar11 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x28)" * (cast_expression "(undefined4 *)(*param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 4)" * (cast_expression "(undefined4 *)(*param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" * (cast_expression "(undefined4 *)(*param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x18)" * (cast_expression "(undefined4 *)(*param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" * (cast_expression "(undefined4 *)(*param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x20)" * (cast_expression "(undefined4 *)(*param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x1c)" * (cast_expression "(undefined4 *)(*param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x1c)" ( (binary_expression "*param_1 + 0x1c" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)*param_1 = 0;" (assignment_expression "*(undefined4 *)*param_1 = 0" (pointer_expression "*(undefined4 *)*param_1" * (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) = number_literal) ;) (expression_statement "*(int *)(*param_1 + 0x24) = param_2;" (assignment_expression "*(int *)(*param_1 + 0x24) = param_2" (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" else (compound_statement "{\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" { (expression_statement "piVar6 = (int *)*param_1;" (assignment_expression "piVar6 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" identifier = identifier) ;) (if_statement "if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal )))) ;)) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int **)(iVar1 + 4) = piVar3;" (assignment_expression "*(int **)(iVar1 + 4) = piVar3" (pointer_expression "*(int **)(iVar1 + 4)" * (cast_expression "(int **)(iVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(*param_1 + 0x14) = iVar5;" (assignment_expression "*(int *)(*param_1 + 0x14) = iVar5" (pointer_expression "*(int *)(*param_1 + 0x14)" * (cast_expression "(int *)(*param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(*param_1 + 0x24) = iVar11;" (assignment_expression "*(int *)(*param_1 + 0x24) = iVar11" (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(*param_1 + 8) = piVar6;" (assignment_expression "*(int **)(*param_1 + 8) = piVar6" (pointer_expression "*(int **)(*param_1 + 8)" * (cast_expression "(int **)(*param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(*param_1 + 0x18) = iVar10;" (assignment_expression "*(int *)(*param_1 + 0x18) = iVar10" (pointer_expression "*(int *)(*param_1 + 0x18)" * (cast_expression "(int *)(*param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x28)" * (cast_expression "(undefined4 *)(*param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" * (cast_expression "(undefined4 *)(*param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x1c)" * (cast_expression "(undefined4 *)(*param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x1c)" ( (binary_expression "*param_1 + 0x1c" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x2c)" * (cast_expression "(undefined4 *)(*param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x2c)" ( (binary_expression "*param_1 + 0x2c" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x20)" * (cast_expression "(undefined4 *)(*param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)*param_1 = 0;" (assignment_expression "*(undefined4 *)*param_1 = 0" (pointer_expression "*(undefined4 *)*param_1" * (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) = number_literal) ;) (expression_statement "iVar11 = *param_1;" (assignment_expression "iVar11 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }" if (parenthesized_expression "(*(int **)(iVar11 + 4) != (int *)0x0)" ( (binary_expression "*(int **)(iVar11 + 4) != (int *)0x0" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }" { (expression_statement "**(int **)(iVar11 + 4) = iVar11;" (assignment_expression "**(int **)(iVar11 + 4) = iVar11" (pointer_expression "**(int **)(iVar11 + 4)" * (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "iVar11 = *param_1;" (assignment_expression "iVar11 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (if_statement "if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }" if (parenthesized_expression "(*(int **)(iVar11 + 8) != (int *)0x0)" ( (binary_expression "*(int **)(iVar11 + 8) != (int *)0x0" (pointer_expression "*(int **)(iVar11 + 8)" * (cast_expression "(int **)(iVar11 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        **(int **)(iVar11 + 8) = iVar11;\n      }" { (expression_statement "**(int **)(iVar11 + 8) = iVar11;" (assignment_expression "**(int **)(iVar11 + 8) = iVar11" (pointer_expression "**(int **)(iVar11 + 8)" * (pointer_expression "*(int **)(iVar11 + 8)" * (cast_expression "(int **)(iVar11 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) = identifier) ;) })) }) (else_clause "else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" else (compound_statement "{\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" { (do_statement "do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);" do (compound_statement "{\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      }" { (expression_statement "piVar9 = piVar6;" (assignment_expression "piVar9 = piVar6" identifier = identifier) ;) (if_statement "if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" if (parenthesized_expression "(param_3 < 0)" ( (binary_expression "param_3 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }" { (expression_statement "iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2,piVar9[9])" identifier = (call_expression "(*(code *)param_1[1])(param_2,piVar9[9])" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2,piVar9[9])" ( identifier , (subscript_expression "piVar9[9]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" { (if_statement "if (iVar1 == 0) {\n              return piVar9[9];\n            }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n              return piVar9[9];\n            }" { (return_statement "return piVar9[9];" return (subscript_expression "piVar9[9]" identifier [ number_literal ]) ;) })) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (if_statement "if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" if (parenthesized_expression "(piVar9[10] != 0)" ( (binary_expression "piVar9[10] != 0" (subscript_expression "piVar9[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" { (expression_statement "iVar1 = (*(code *)param_1[1])(param_2);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2)" identifier = (call_expression "(*(code *)param_1[1])(param_2)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" { (if_statement "if (iVar1 == 0) {\n                  return piVar9[10];\n                }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                  return piVar9[10];\n                }" { (return_statement "return piVar9[10];" return (subscript_expression "piVar9[10]" identifier [ number_literal ]) ;) })) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (if_statement "if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" if (parenthesized_expression "(piVar9[0xb] != 0)" ( (binary_expression "piVar9[0xb] != 0" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" { (expression_statement "iVar1 = (*(code *)param_1[1])(param_2);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2)" identifier = (call_expression "(*(code *)param_1[1])(param_2)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" { (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                      return piVar9[0xb];\n                    }" { (return_statement "return piVar9[0xb];" return (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (goto_statement "goto LAB_00087978;" goto statement_identifier ;) })) })) })) })) })) (labeled_statement "LAB_00087974:\n          iVar1 = iVar5 << 2;" statement_identifier : (expression_statement "iVar1 = iVar5 << 2;" (assignment_expression "iVar1 = iVar5 << 2" identifier = (binary_expression "iVar5 << 2" identifier << number_literal)) ;)) }) (else_clause "else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" else (compound_statement "{\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" { (expression_statement "iVar5 = param_3;" (assignment_expression "iVar5 = param_3" identifier = identifier) ;) (if_statement "if (piVar9[1] == 0) goto LAB_00087974;" if (parenthesized_expression "(piVar9[1] == 0)" ( (binary_expression "piVar9[1] == 0" (subscript_expression "piVar9[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (param_3 <= piVar9[5]) goto LAB_00087974;" if (parenthesized_expression "(param_3 <= piVar9[5])" ( (binary_expression "param_3 <= piVar9[5]" identifier <= (subscript_expression "piVar9[5]" identifier [ number_literal ])) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "param_3 = param_3 - (piVar9[5] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[5] + 1)" identifier = (binary_expression "param_3 - (piVar9[5] + 1)" identifier - (parenthesized_expression "(piVar9[5] + 1)" ( (binary_expression "piVar9[5] + 1" (subscript_expression "piVar9[5]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (if_statement "if (param_3 <= piVar9[6]) goto LAB_00087974;" if (parenthesized_expression "(param_3 <= piVar9[6])" ( (binary_expression "param_3 <= piVar9[6]" identifier <= (subscript_expression "piVar9[6]" identifier [ number_literal ])) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "param_3 = param_3 - (piVar9[6] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[6] + 1)" identifier = (binary_expression "param_3 - (piVar9[6] + 1)" identifier - (parenthesized_expression "(piVar9[6] + 1)" ( (binary_expression "piVar9[6] + 1" (subscript_expression "piVar9[6]" identifier [ number_literal ]) + number_literal) )))) ;) (if_statement "if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }" if (parenthesized_expression "(param_3 <= piVar9[7])" ( (binary_expression "param_3 <= piVar9[7]" identifier <= (subscript_expression "piVar9[7]" identifier [ number_literal ])) )) (compound_statement "{\n            iVar5 = 2;\n            goto LAB_00087974;\n          }" { (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00087974;" goto statement_identifier ;) })) (expression_statement "param_3 = param_3 - (piVar9[7] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[7] + 1)" identifier = (binary_expression "param_3 - (piVar9[7] + 1)" identifier - (parenthesized_expression "(piVar9[7] + 1)" ( (binary_expression "piVar9[7] + 1" (subscript_expression "piVar9[7]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (if_statement "if (piVar9[8] < param_3) {\n            return 0;\n          }" if (parenthesized_expression "(piVar9[8] < param_3)" ( (binary_expression "piVar9[8] < param_3" (subscript_expression "piVar9[8]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) }))) (labeled_statement "LAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);" statement_identifier : (expression_statement "piVar6 = *(int **)((int)piVar9 + iVar1 + 4);" (assignment_expression "piVar6 = *(int **)((int)piVar9 + iVar1 + 4)" identifier = (pointer_expression "*(int **)((int)piVar9 + iVar1 + 4)" * (cast_expression "(int **)((int)piVar9 + iVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar9 + iVar1 + 4)" ( (binary_expression "(int)piVar9 + iVar1 + 4" (binary_expression "(int)piVar9 + iVar1" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;)) }) while (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar1 = piVar9[10];" (assignment_expression "iVar1 = piVar9[10]" identifier = (subscript_expression "piVar9[10]" identifier [ number_literal ])) ;) (expression_statement "piVar8 = piVar9 + iVar5 + 1;" (assignment_expression "piVar8 = piVar9 + iVar5 + 1" identifier = (binary_expression "piVar9 + iVar5 + 1" (binary_expression "piVar9 + iVar5" identifier + identifier) + number_literal)) ;) (if_statement "if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" statement_identifier : (if_statement "if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" if (parenthesized_expression "(piVar8 == piVar9 + 1)" ( (binary_expression "piVar8 == piVar9 + 1" identifier == (binary_expression "piVar9 + 1" identifier + number_literal)) )) (compound_statement "{\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }" { (expression_statement "piVar9[3] = piVar9[2];" (assignment_expression "piVar9[3] = piVar9[2]" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (subscript_expression "piVar9[2]" identifier [ number_literal ])) ;) (expression_statement "piVar9[7] = piVar9[6];" (assignment_expression "piVar9[7] = piVar9[6]" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = (subscript_expression "piVar9[6]" identifier [ number_literal ])) ;) (expression_statement "piVar9[10] = piVar9[9];" (assignment_expression "piVar9[10] = piVar9[9]" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = (subscript_expression "piVar9[9]" identifier [ number_literal ])) ;) (expression_statement "piVar9[2] = (int)piVar6;" (assignment_expression "piVar9[2] = (int)piVar6" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar10;" (assignment_expression "piVar9[6] = iVar10" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[9] = iVar11;" (assignment_expression "piVar9[9] = iVar11" (subscript_expression "piVar9[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[1] = (int)piVar3;" (assignment_expression "piVar9[1] = (int)piVar3" (subscript_expression "piVar9[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[5] = iVar5;" (assignment_expression "piVar9[5] = iVar5" (subscript_expression "piVar9[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" else (compound_statement "{\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" { (expression_statement "piVar9[3] = (int)piVar6;" (assignment_expression "piVar9[3] = (int)piVar6" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[7] = iVar10;" (assignment_expression "piVar9[7] = iVar10" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[10] = iVar11;" (assignment_expression "piVar9[10] = iVar11" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[2] = (int)piVar3;" (assignment_expression "piVar9[2] = (int)piVar3" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar5;" (assignment_expression "piVar9[6] = iVar5" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) })))) (if_statement "if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[1] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[1] = piVar9" (pointer_expression "*(undefined4 *)piVar9[1]" * (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[2] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[2] = piVar9" (pointer_expression "*(undefined4 *)piVar9[2]" * (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[3] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[3] = piVar9" (pointer_expression "*(undefined4 *)piVar9[3]" * (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ]))) = identifier) ;) })) }) (else_clause "else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" else (compound_statement "{\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" if (parenthesized_expression "(piVar9[0xb] == 0)" ( (binary_expression "piVar9[0xb] == 0" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" else (compound_statement "{\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740)" identifier = (cast_expression "(code *)(PTR_LAB_000beb8c + 0x7740)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000beb8c + 0x7740)" ( (binary_expression "PTR_LAB_000beb8c + 0x7740" identifier + number_literal) )))) ;) (expression_statement "piVar7 = (int *)0x0;" (assignment_expression "piVar7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c = piVar6;" (assignment_expression "local_2c = piVar6" identifier = identifier) ;) (do_statement "do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);" do (compound_statement "{\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          }" { (expression_statement "piVar6 = piVar9;" (assignment_expression "piVar6 = piVar9" identifier = identifier) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (cast_expression "(int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar3 = *piVar6;" (assignment_expression "*piVar3 = *piVar6" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar6" * identifier)) ;) (if_statement "if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" if (parenthesized_expression "(piVar8 == piVar6 + 1)" ( (binary_expression "piVar8 == piVar6 + 1" identifier == (binary_expression "piVar6 + 1" identifier + number_literal)) )) (compound_statement "{\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" { (expression_statement "piVar3[1] = (int)piVar7;" (assignment_expression "piVar3[1] = (int)piVar7" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[5] = iVar5;" (assignment_expression "piVar3[5] = iVar5" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[9] = iVar11;" (assignment_expression "piVar3[9] = iVar11" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[2] = (int)local_2c;" (assignment_expression "piVar3[2] = (int)local_2c" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[6] = iVar10;" (assignment_expression "piVar3[6] = iVar10" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[10] = piVar6[9];" (assignment_expression "piVar3[10] = piVar6[9]" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[3] = piVar6[2];" (assignment_expression "piVar3[3] = piVar6[2]" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[7] = piVar6[6];" (assignment_expression "piVar3[7] = piVar6[6]" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = (subscript_expression "piVar6[6]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = piVar6[10];" (assignment_expression "iVar11 = piVar6[10]" identifier = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = piVar6[3];" (assignment_expression "piVar6[1] = piVar6[3]" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "piVar6[5] = piVar6[7];" (assignment_expression "piVar6[5] = piVar6[7]" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[7]" identifier [ number_literal ])) ;) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[4]" identifier [ number_literal ])) ;) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[8]" identifier [ number_literal ])) ;) }) (else_clause "else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" else (if_statement "if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" if (parenthesized_expression "(piVar8 == piVar6 + 2)" ( (binary_expression "piVar8 == piVar6 + 2" identifier == (binary_expression "piVar6 + 2" identifier + number_literal)) )) (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" { (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = (int)piVar7;" (assignment_expression "piVar3[2] = (int)piVar7" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[6] = iVar5;" (assignment_expression "piVar3[6] = iVar5" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[10] = iVar11;" (assignment_expression "piVar3[10] = iVar11" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[3] = (int)local_2c;" (assignment_expression "piVar3[3] = (int)local_2c" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[7] = iVar10;" (assignment_expression "piVar3[7] = iVar10" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar11 = piVar6[10];" (assignment_expression "iVar11 = piVar6[10]" identifier = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = piVar6[3];" (assignment_expression "piVar6[1] = piVar6[3]" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "piVar6[5] = piVar6[7];" (assignment_expression "piVar6[5] = piVar6[7]" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[7]" identifier [ number_literal ])) ;) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[4]" identifier [ number_literal ])) ;) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[8]" identifier [ number_literal ])) ;) }) (else_clause "else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" else (if_statement "if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" if (parenthesized_expression "(piVar8 == piVar6 + 3)" ( (binary_expression "piVar8 == piVar6 + 3" identifier == (binary_expression "piVar6 + 3" identifier + number_literal)) )) (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" { (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar6[2];" (assignment_expression "piVar3[2] = piVar6[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[6] = piVar6[6];" (assignment_expression "piVar3[6] = piVar6[6]" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[6]" identifier [ number_literal ])) ;) (expression_statement "piVar3[10] = piVar6[10];" (assignment_expression "piVar3[10] = piVar6[10]" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar3[3] = (int)piVar7;" (assignment_expression "piVar3[3] = (int)piVar7" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[7] = iVar5;" (assignment_expression "piVar3[7] = iVar5" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[1] = (int)local_2c;" (assignment_expression "piVar6[1] = (int)local_2c" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[5] = iVar10;" (assignment_expression "piVar6[5] = iVar10" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[4]" identifier [ number_literal ])) ;) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[8]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" else (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" { (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar6[2];" (assignment_expression "piVar3[2] = piVar6[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[6] = piVar6[6];" (assignment_expression "piVar3[6] = piVar6[6]" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[6]" identifier [ number_literal ])) ;) (expression_statement "piVar3[10] = piVar6[10];" (assignment_expression "piVar3[10] = piVar6[10]" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar3[3] = piVar6[3];" (assignment_expression "piVar3[3] = piVar6[3]" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "piVar3[7] = piVar6[7];" (assignment_expression "piVar3[7] = piVar6[7]" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = (subscript_expression "piVar6[7]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = (int)piVar7;" (assignment_expression "piVar6[1] = (int)piVar7" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[5] = iVar5;" (assignment_expression "piVar6[5] = iVar5" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[9] = iVar11;" (assignment_expression "piVar6[9] = iVar11" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = (int)local_2c;" (assignment_expression "piVar6[2] = (int)local_2c" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[6] = iVar10;" (assignment_expression "piVar6[6] = iVar10" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar11 = piVar6[0xb];" (assignment_expression "iVar11 = piVar6[0xb]" identifier = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) }))))))) (expression_statement "piVar6[3] = 0;" (assignment_expression "piVar6[3] = 0" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[4] = 0;" (assignment_expression "piVar6[4] = 0" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[7] = 0;" (assignment_expression "piVar6[7] = 0" (subscript_expression "piVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[8] = 0;" (assignment_expression "piVar6[8] = 0" (subscript_expression "piVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[10] = 0;" (assignment_expression "piVar6[10] = 0" (subscript_expression "piVar6[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[0xb] = 0;" (assignment_expression "piVar6[0xb] = 0" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[0xb] = 0;" (assignment_expression "piVar3[0xb] = 0" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }" if (parenthesized_expression "((undefined4 *)piVar3[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar3[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar3[1] = piVar3;\n            }" { (expression_statement "*(undefined4 *)piVar3[1] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[1] = piVar3" (pointer_expression "*(undefined4 *)piVar3[1]" * (cast_expression "(undefined4 *)piVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }" if (parenthesized_expression "((undefined4 *)piVar3[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar3[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar3[2] = piVar3;\n            }" { (expression_statement "*(undefined4 *)piVar3[2] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[2] = piVar3" (pointer_expression "*(undefined4 *)piVar3[2]" * (cast_expression "(undefined4 *)piVar3[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }" if (parenthesized_expression "((undefined4 *)piVar3[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar3[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar3[3] = piVar3;\n            }" { (expression_statement "*(undefined4 *)piVar3[3] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[3] = piVar3" (pointer_expression "*(undefined4 *)piVar3[3]" * (cast_expression "(undefined4 *)piVar3[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }" if (parenthesized_expression "((undefined4 *)piVar6[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar6[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar6[1] = piVar6;\n            }" { (expression_statement "*(undefined4 *)piVar6[1] = piVar6;" (assignment_expression "*(undefined4 *)piVar6[1] = piVar6" (pointer_expression "*(undefined4 *)piVar6[1]" * (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }" if (parenthesized_expression "((undefined4 *)piVar6[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar6[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar6[2] = piVar6;\n            }" { (expression_statement "*(undefined4 *)piVar6[2] = piVar6;" (assignment_expression "*(undefined4 *)piVar6[2] = piVar6" (pointer_expression "*(undefined4 *)piVar6[2]" * (cast_expression "(undefined4 *)piVar6[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ]))) = identifier) ;) })) (expression_statement "iVar5 = (*pcVar2)(piVar3);" (assignment_expression "iVar5 = (*pcVar2)(piVar3)" identifier = (call_expression "(*pcVar2)(piVar3)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(piVar3)" ( identifier )))) ;) (expression_statement "iVar10 = (*pcVar2)(piVar6);" (assignment_expression "iVar10 = (*pcVar2)(piVar6)" identifier = (call_expression "(*pcVar2)(piVar6)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(piVar6)" ( identifier )))) ;) (expression_statement "piVar9 = (int *)*piVar6;" (assignment_expression "piVar9 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar9 == (int *)0x0) goto LAB_00087f28;" if (parenthesized_expression "(piVar9 == (int *)0x0)" ( (binary_expression "piVar9 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00087f28;" goto statement_identifier ;)) (expression_statement "piVar8 = piVar9 + 1;" (assignment_expression "piVar8 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (if_statement "if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }" if (parenthesized_expression "(((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6))" ( (binary_expression "((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)" (parenthesized_expression "((int *)piVar9[1] != piVar6)" ( (binary_expression "(int *)piVar9[1] != piVar6" (cast_expression "(int *)piVar9[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ])) != identifier) )) && (parenthesized_expression "(piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)" ( (comma_expression "piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6" (assignment_expression "piVar8 = piVar9 + 2" identifier = (binary_expression "piVar9 + 2" identifier + number_literal)) , (binary_expression "(int *)piVar9[2] != piVar6" (cast_expression "(int *)piVar9[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ])) != identifier)) ))) )) (compound_statement "{\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }" { (if_statement "if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }" if (parenthesized_expression "((int *)piVar9[3] == piVar6)" ( (binary_expression "(int *)piVar9[3] == piVar6" (cast_expression "(int *)piVar9[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n                piVar8 = piVar9 + 3;\n              }" { (expression_statement "piVar8 = piVar9 + 3;" (assignment_expression "piVar8 = piVar9 + 3" identifier = (binary_expression "piVar9 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n                piVar8 = piVar9 + 4;\n              }" else (compound_statement "{\n                piVar8 = piVar9 + 4;\n              }" { (expression_statement "piVar8 = piVar9 + 4;" (assignment_expression "piVar8 = piVar9 + 4" identifier = (binary_expression "piVar9 + 4" identifier + number_literal)) ;) }))) })) (expression_statement "iVar1 = piVar9[10];" (assignment_expression "iVar1 = piVar9[10]" identifier = (subscript_expression "piVar9[10]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0) goto LAB_00087a64;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00087a64;" goto statement_identifier ;)) (expression_statement "piVar7 = piVar3;" (assignment_expression "piVar7 = piVar3" identifier = identifier) ;) (expression_statement "local_2c = piVar6;" (assignment_expression "local_2c = piVar6" identifier = identifier) ;) }) while (parenthesized_expression "(piVar9[0xb] != 0)" ( (binary_expression "piVar9[0xb] != 0" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) != number_literal) )) ;) }))) (if_statement "if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" if (parenthesized_expression "(piVar8 == piVar9 + 1)" ( (binary_expression "piVar8 == piVar9 + 1" identifier == (binary_expression "piVar9 + 1" identifier + number_literal)) )) (compound_statement "{\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }" { (expression_statement "piVar9[4] = piVar9[3];" (assignment_expression "piVar9[4] = piVar9[3]" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (subscript_expression "piVar9[3]" identifier [ number_literal ])) ;) (expression_statement "piVar9[8] = piVar9[7];" (assignment_expression "piVar9[8] = piVar9[7]" (subscript_expression "piVar9[8]" identifier [ number_literal ]) = (subscript_expression "piVar9[7]" identifier [ number_literal ])) ;) (expression_statement "piVar9[0xb] = iVar1;" (assignment_expression "piVar9[0xb] = iVar1" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[3] = piVar9[2];" (assignment_expression "piVar9[3] = piVar9[2]" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (subscript_expression "piVar9[2]" identifier [ number_literal ])) ;) (expression_statement "piVar9[7] = piVar9[6];" (assignment_expression "piVar9[7] = piVar9[6]" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = (subscript_expression "piVar9[6]" identifier [ number_literal ])) ;) (expression_statement "piVar9[10] = piVar9[9];" (assignment_expression "piVar9[10] = piVar9[9]" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = (subscript_expression "piVar9[9]" identifier [ number_literal ])) ;) (expression_statement "piVar9[2] = (int)piVar6;" (assignment_expression "piVar9[2] = (int)piVar6" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar10;" (assignment_expression "piVar9[6] = iVar10" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[9] = iVar11;" (assignment_expression "piVar9[9] = iVar11" (subscript_expression "piVar9[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[1] = (int)piVar3;" (assignment_expression "piVar9[1] = (int)piVar3" (subscript_expression "piVar9[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[5] = iVar5;" (assignment_expression "piVar9[5] = iVar5" (subscript_expression "piVar9[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" else (if_statement "if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" if (parenthesized_expression "(piVar8 == piVar9 + 2)" ( (binary_expression "piVar8 == piVar9 + 2" identifier == (binary_expression "piVar9 + 2" identifier + number_literal)) )) (compound_statement "{\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" { (expression_statement "piVar9[4] = piVar9[3];" (assignment_expression "piVar9[4] = piVar9[3]" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (subscript_expression "piVar9[3]" identifier [ number_literal ])) ;) (expression_statement "piVar9[8] = piVar9[7];" (assignment_expression "piVar9[8] = piVar9[7]" (subscript_expression "piVar9[8]" identifier [ number_literal ]) = (subscript_expression "piVar9[7]" identifier [ number_literal ])) ;) (expression_statement "piVar9[0xb] = iVar1;" (assignment_expression "piVar9[0xb] = iVar1" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[3] = (int)piVar6;" (assignment_expression "piVar9[3] = (int)piVar6" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[7] = iVar10;" (assignment_expression "piVar9[7] = iVar10" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[10] = iVar11;" (assignment_expression "piVar9[10] = iVar11" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[2] = (int)piVar3;" (assignment_expression "piVar9[2] = (int)piVar3" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar5;" (assignment_expression "piVar9[6] = iVar5" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" else (compound_statement "{\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" { (expression_statement "piVar9[4] = (int)piVar6;" (assignment_expression "piVar9[4] = (int)piVar6" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[8] = iVar10;" (assignment_expression "piVar9[8] = iVar10" (subscript_expression "piVar9[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[0xb] = iVar11;" (assignment_expression "piVar9[0xb] = iVar11" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[3] = (int)piVar3;" (assignment_expression "piVar9[3] = (int)piVar3" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[7] = iVar5;" (assignment_expression "piVar9[7] = iVar5" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = identifier) ;) }))))) (if_statement "if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[1] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[1] = piVar9" (pointer_expression "*(undefined4 *)piVar9[1]" * (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[2] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[2] = piVar9" (pointer_expression "*(undefined4 *)piVar9[2]" * (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[3] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[3] = piVar9" (pointer_expression "*(undefined4 *)piVar9[3]" * (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[4] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[4] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[4]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[4] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[4] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[4] = piVar9" (pointer_expression "*(undefined4 *)piVar9[4]" * (cast_expression "(undefined4 *)piVar9[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[4]" identifier [ number_literal ]))) = identifier) ;) })) }))) (expression_statement "iVar11 = *piVar9;" (assignment_expression "iVar11 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (while_statement "while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }" while (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }" { (expression_statement "uVar4 = FUN_00087740(piVar9);" (assignment_expression "uVar4 = FUN_00087740(piVar9)" identifier = (call_expression "FUN_00087740(piVar9)" identifier (argument_list "(piVar9)" ( identifier )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }" if (parenthesized_expression "(*(int **)(iVar11 + 4) != piVar9)" ( (binary_expression "*(int **)(iVar11 + 4) != piVar9" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }" { (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (if_statement "if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" if (parenthesized_expression "(*(int **)(iVar11 + 8) == piVar9)" ( (binary_expression "*(int **)(iVar11 + 8) == piVar9" (pointer_expression "*(int **)(iVar11 + 8)" * (cast_expression "(int **)(iVar11 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n            iVar5 = 1;\n          }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }) (else_clause "else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" else (if_statement "if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" if (parenthesized_expression "(*(int **)(iVar11 + 0xc) == piVar9)" ( (binary_expression "*(int **)(iVar11 + 0xc) == piVar9" (pointer_expression "*(int **)(iVar11 + 0xc)" * (cast_expression "(int **)(iVar11 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n            iVar5 = 2;\n          }" { (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) })))) })) (expression_statement "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4" (pointer_expression "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4)" * (cast_expression "(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + (iVar5 + 4) * 4 + 4)" ( (binary_expression "iVar11 + (iVar5 + 4) * 4 + 4" (binary_expression "iVar11 + (iVar5 + 4) * 4" identifier + (binary_expression "(iVar5 + 4) * 4" (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )) * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "piVar9 = (int *)*piVar9;" (assignment_expression "piVar9 = (int *)*piVar9" identifier = (cast_expression "(int *)*piVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar9" * identifier))) ;) (expression_statement "iVar11 = *piVar9;" (assignment_expression "iVar11 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) })) }))) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit "void * add234_internal(tree234 *t,void *e,int index)\n\n{\n  int iVar1;\n  code *pcVar2;\n  node234 *pnVar3;\n  int iVar4;\n  node234 *pnVar5;\n  void *pvVar6;\n  node234 *pnVar7;\n  node234 **ppnVar8;\n  node234_conflict *pnVar9;\n  node234_conflict *pnVar10;\n  void *pvVar11;\n  node234 *local_2c;\n  \n  if (t->root == (node234_conflict *)0x0) {\n    pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    t->root = pnVar9;\n    pnVar9->elems[2] = (void *)0x0;\n    t->root->elems[1] = (void *)0x0;\n    t->root->kids[1] = (node234 *)0x0;\n    t->root->kids[0] = (node234 *)0x0;\n    t->root->kids[3] = (node234 *)0x0;\n    t->root->kids[2] = (node234 *)0x0;\n    t->root->counts[1] = 0;\n    t->root->counts[0] = 0;\n    t->root->counts[3] = 0;\n    t->root->counts[2] = 0;\n    t->root->parent = (node234_conflict *)0x0;\n    t->root->elems[0] = e;\n  }\n  else {\n    pnVar5 = t->root;\n    pvVar11 = e;\n    if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }\n  }\n  return e;\n}\n\n" (function_definition "void * add234_internal(tree234 *t,void *e,int index)\n\n{\n  int iVar1;\n  code *pcVar2;\n  node234 *pnVar3;\n  int iVar4;\n  node234 *pnVar5;\n  void *pvVar6;\n  node234 *pnVar7;\n  node234 **ppnVar8;\n  node234_conflict *pnVar9;\n  node234_conflict *pnVar10;\n  void *pvVar11;\n  node234 *local_2c;\n  \n  if (t->root == (node234_conflict *)0x0) {\n    pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    t->root = pnVar9;\n    pnVar9->elems[2] = (void *)0x0;\n    t->root->elems[1] = (void *)0x0;\n    t->root->kids[1] = (node234 *)0x0;\n    t->root->kids[0] = (node234 *)0x0;\n    t->root->kids[3] = (node234 *)0x0;\n    t->root->kids[2] = (node234 *)0x0;\n    t->root->counts[1] = 0;\n    t->root->counts[0] = 0;\n    t->root->counts[3] = 0;\n    t->root->counts[2] = 0;\n    t->root->parent = (node234_conflict *)0x0;\n    t->root->elems[0] = e;\n  }\n  else {\n    pnVar5 = t->root;\n    pvVar11 = e;\n    if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }\n  }\n  return e;\n}" primitive_type (pointer_declarator "* add234_internal(tree234 *t,void *e,int index)" * (function_declarator "add234_internal(tree234 *t,void *e,int index)" identifier (parameter_list "(tree234 *t,void *e,int index)" ( (parameter_declaration "tree234 *t" type_identifier (pointer_declarator "*t" * identifier)) , (parameter_declaration "void *e" primitive_type (pointer_declarator "*e" * identifier)) , (parameter_declaration "int index" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  node234 *pnVar3;\n  int iVar4;\n  node234 *pnVar5;\n  void *pvVar6;\n  node234 *pnVar7;\n  node234 **ppnVar8;\n  node234_conflict *pnVar9;\n  node234_conflict *pnVar10;\n  void *pvVar11;\n  node234 *local_2c;\n  \n  if (t->root == (node234_conflict *)0x0) {\n    pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    t->root = pnVar9;\n    pnVar9->elems[2] = (void *)0x0;\n    t->root->elems[1] = (void *)0x0;\n    t->root->kids[1] = (node234 *)0x0;\n    t->root->kids[0] = (node234 *)0x0;\n    t->root->kids[3] = (node234 *)0x0;\n    t->root->kids[2] = (node234 *)0x0;\n    t->root->counts[1] = 0;\n    t->root->counts[0] = 0;\n    t->root->counts[3] = 0;\n    t->root->counts[2] = 0;\n    t->root->parent = (node234_conflict *)0x0;\n    t->root->elems[0] = e;\n  }\n  else {\n    pnVar5 = t->root;\n    pvVar11 = e;\n    if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }\n  }\n  return e;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "node234 *pnVar3;" type_identifier (pointer_declarator "*pnVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "node234 *pnVar5;" type_identifier (pointer_declarator "*pnVar5" * identifier) ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "node234 *pnVar7;" type_identifier (pointer_declarator "*pnVar7" * identifier) ;) (declaration "node234 **ppnVar8;" type_identifier (pointer_declarator "**ppnVar8" * (pointer_declarator "*ppnVar8" * identifier)) ;) (declaration "node234_conflict *pnVar9;" type_identifier (pointer_declarator "*pnVar9" * identifier) ;) (declaration "node234_conflict *pnVar10;" type_identifier (pointer_declarator "*pnVar10" * identifier) ;) (declaration "void *pvVar11;" primitive_type (pointer_declarator "*pvVar11" * identifier) ;) (declaration "node234 *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (if_statement "if (t->root == (node234_conflict *)0x0) {\n    pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    t->root = pnVar9;\n    pnVar9->elems[2] = (void *)0x0;\n    t->root->elems[1] = (void *)0x0;\n    t->root->kids[1] = (node234 *)0x0;\n    t->root->kids[0] = (node234 *)0x0;\n    t->root->kids[3] = (node234 *)0x0;\n    t->root->kids[2] = (node234 *)0x0;\n    t->root->counts[1] = 0;\n    t->root->counts[0] = 0;\n    t->root->counts[3] = 0;\n    t->root->counts[2] = 0;\n    t->root->parent = (node234_conflict *)0x0;\n    t->root->elems[0] = e;\n  }\n  else {\n    pnVar5 = t->root;\n    pvVar11 = e;\n    if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }\n  }" if (parenthesized_expression "(t->root == (node234_conflict *)0x0)" ( (binary_expression "t->root == (node234_conflict *)0x0" (field_expression "t->root" identifier -> field_identifier) == (cast_expression "(node234_conflict *)0x0" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    t->root = pnVar9;\n    pnVar9->elems[2] = (void *)0x0;\n    t->root->elems[1] = (void *)0x0;\n    t->root->kids[1] = (node234 *)0x0;\n    t->root->kids[0] = (node234 *)0x0;\n    t->root->kids[3] = (node234 *)0x0;\n    t->root->kids[2] = (node234 *)0x0;\n    t->root->counts[1] = 0;\n    t->root->counts[0] = 0;\n    t->root->counts[3] = 0;\n    t->root->counts[2] = 0;\n    t->root->parent = (node234_conflict *)0x0;\n    t->root->elems[0] = e;\n  }" { (expression_statement "pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (cast_expression "(node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "t->root = pnVar9;" (assignment_expression "t->root = pnVar9" (field_expression "t->root" identifier -> field_identifier) = identifier) ;) (expression_statement "pnVar9->elems[2] = (void *)0x0;" (assignment_expression "pnVar9->elems[2] = (void *)0x0" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->elems[1] = (void *)0x0;" (assignment_expression "t->root->elems[1] = (void *)0x0" (subscript_expression "t->root->elems[1]" (field_expression "t->root->elems" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->kids[1] = (node234 *)0x0;" (assignment_expression "t->root->kids[1] = (node234 *)0x0" (subscript_expression "t->root->kids[1]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->kids[0] = (node234 *)0x0;" (assignment_expression "t->root->kids[0] = (node234 *)0x0" (subscript_expression "t->root->kids[0]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->kids[3] = (node234 *)0x0;" (assignment_expression "t->root->kids[3] = (node234 *)0x0" (subscript_expression "t->root->kids[3]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->kids[2] = (node234 *)0x0;" (assignment_expression "t->root->kids[2] = (node234 *)0x0" (subscript_expression "t->root->kids[2]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->counts[1] = 0;" (assignment_expression "t->root->counts[1] = 0" (subscript_expression "t->root->counts[1]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "t->root->counts[0] = 0;" (assignment_expression "t->root->counts[0] = 0" (subscript_expression "t->root->counts[0]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "t->root->counts[3] = 0;" (assignment_expression "t->root->counts[3] = 0" (subscript_expression "t->root->counts[3]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "t->root->counts[2] = 0;" (assignment_expression "t->root->counts[2] = 0" (subscript_expression "t->root->counts[2]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "t->root->parent = (node234_conflict *)0x0;" (assignment_expression "t->root->parent = (node234_conflict *)0x0" (field_expression "t->root->parent" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) = (cast_expression "(node234_conflict *)0x0" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->elems[0] = e;" (assignment_expression "t->root->elems[0] = e" (subscript_expression "t->root->elems[0]" (field_expression "t->root->elems" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = identifier) ;) }) (else_clause "else {\n    pnVar5 = t->root;\n    pvVar11 = e;\n    if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }\n  }" else (compound_statement "{\n    pnVar5 = t->root;\n    pvVar11 = e;\n    if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }\n  }" { (expression_statement "pnVar5 = t->root;" (assignment_expression "pnVar5 = t->root" identifier = (field_expression "t->root" identifier -> field_identifier)) ;) (expression_statement "pvVar11 = e;" (assignment_expression "pvVar11 = e" identifier = identifier) ;) (if_statement "if (pnVar5 == (node234 *)0x0) {\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }\n    else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }" if (parenthesized_expression "(pnVar5 == (node234 *)0x0)" ( (binary_expression "pnVar5 == (node234 *)0x0" identifier == (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar1 = 0;\n      iVar4 = 0;\n      pnVar3 = (node234 *)0x0;\nLAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      t->root = pnVar9;\n      pnVar9->kids[0] = pnVar3;\n      t->root->counts[0] = iVar4;\n      t->root->elems[0] = pvVar11;\n      t->root->kids[1] = pnVar5;\n      t->root->counts[1] = iVar1;\n      t->root->elems[1] = (void *)0x0;\n      t->root->kids[2] = (node234 *)0x0;\n      t->root->counts[2] = 0;\n      t->root->elems[2] = (void *)0x0;\n      t->root->kids[3] = (node234 *)0x0;\n      t->root->counts[3] = 0;\n      t->root->parent = (node234_conflict *)0x0;\n      pnVar9 = t->root;\n      if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }\n      if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }\n    }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pnVar3 = (node234 *)0x0;" (assignment_expression "pnVar3 = (node234 *)0x0" identifier = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00087f28:\n      pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" statement_identifier : (expression_statement "pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "pnVar9 = (node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (cast_expression "(node234_conflict *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;)) (expression_statement "t->root = pnVar9;" (assignment_expression "t->root = pnVar9" (field_expression "t->root" identifier -> field_identifier) = identifier) ;) (expression_statement "pnVar9->kids[0] = pnVar3;" (assignment_expression "pnVar9->kids[0] = pnVar3" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "t->root->counts[0] = iVar4;" (assignment_expression "t->root->counts[0] = iVar4" (subscript_expression "t->root->counts[0]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "t->root->elems[0] = pvVar11;" (assignment_expression "t->root->elems[0] = pvVar11" (subscript_expression "t->root->elems[0]" (field_expression "t->root->elems" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "t->root->kids[1] = pnVar5;" (assignment_expression "t->root->kids[1] = pnVar5" (subscript_expression "t->root->kids[1]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "t->root->counts[1] = iVar1;" (assignment_expression "t->root->counts[1] = iVar1" (subscript_expression "t->root->counts[1]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "t->root->elems[1] = (void *)0x0;" (assignment_expression "t->root->elems[1] = (void *)0x0" (subscript_expression "t->root->elems[1]" (field_expression "t->root->elems" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->kids[2] = (node234 *)0x0;" (assignment_expression "t->root->kids[2] = (node234 *)0x0" (subscript_expression "t->root->kids[2]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->counts[2] = 0;" (assignment_expression "t->root->counts[2] = 0" (subscript_expression "t->root->counts[2]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "t->root->elems[2] = (void *)0x0;" (assignment_expression "t->root->elems[2] = (void *)0x0" (subscript_expression "t->root->elems[2]" (field_expression "t->root->elems" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->kids[3] = (node234 *)0x0;" (assignment_expression "t->root->kids[3] = (node234 *)0x0" (subscript_expression "t->root->kids[3]" (field_expression "t->root->kids" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "t->root->counts[3] = 0;" (assignment_expression "t->root->counts[3] = 0" (subscript_expression "t->root->counts[3]" (field_expression "t->root->counts" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "t->root->parent = (node234_conflict *)0x0;" (assignment_expression "t->root->parent = (node234_conflict *)0x0" (field_expression "t->root->parent" (field_expression "t->root" identifier -> field_identifier) -> field_identifier) = (cast_expression "(node234_conflict *)0x0" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar9 = t->root;" (assignment_expression "pnVar9 = t->root" identifier = (field_expression "t->root" identifier -> field_identifier)) ;) (if_statement "if (pnVar9->kids[0] != (node234 *)0x0) {\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }" if (parenthesized_expression "(pnVar9->kids[0] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[0] != (node234 *)0x0" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pnVar9->kids[0]->parent = pnVar9;\n        pnVar9 = t->root;\n      }" { (expression_statement "pnVar9->kids[0]->parent = pnVar9;" (assignment_expression "pnVar9->kids[0]->parent = pnVar9" (field_expression "pnVar9->kids[0]->parent" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) (expression_statement "pnVar9 = t->root;" (assignment_expression "pnVar9 = t->root" identifier = (field_expression "t->root" identifier -> field_identifier)) ;) })) (if_statement "if (pnVar9->kids[1] != (node234 *)0x0) {\n        pnVar9->kids[1]->parent = pnVar9;\n      }" if (parenthesized_expression "(pnVar9->kids[1] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[1] != (node234 *)0x0" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pnVar9->kids[1]->parent = pnVar9;\n      }" { (expression_statement "pnVar9->kids[1]->parent = pnVar9;" (assignment_expression "pnVar9->kids[1]->parent = pnVar9" (field_expression "pnVar9->kids[1]->parent" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) }) (else_clause "else {\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }" else (compound_statement "{\n      do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);\n      pvVar6 = pnVar9->elems[1];\n      ppnVar8 = pnVar9->kids + iVar4;\n      if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }\n      pnVar10 = pnVar9->parent;\n      while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }\n    }" { (do_statement "do {\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      } while (pnVar5 != (node234 *)0x0);" do (compound_statement "{\n        pnVar9 = pnVar5;\n        if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);\n      }" { (expression_statement "pnVar9 = pnVar5;" (assignment_expression "pnVar9 = pnVar5" identifier = identifier) ;) (if_statement "if (index < 0) {\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }\n        else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }" if (parenthesized_expression "(index < 0)" ( (binary_expression "index < 0" identifier < number_literal) )) (compound_statement "{\n          iVar1 = (*t->cmp)(e,pnVar9->elems[0]);\n          iVar4 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar4 << 2;\n        }" { (expression_statement "iVar1 = (*t->cmp)(e,pnVar9->elems[0]);" (assignment_expression "iVar1 = (*t->cmp)(e,pnVar9->elems[0])" identifier = (call_expression "(*t->cmp)(e,pnVar9->elems[0])" (parenthesized_expression "(*t->cmp)" ( (pointer_expression "*t->cmp" * (field_expression "t->cmp" identifier -> field_identifier)) )) (argument_list "(e,pnVar9->elems[0])" ( identifier , (subscript_expression "pnVar9->elems[0]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) )))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n            if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }\n            iVar4 = 1;\n            if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" { (if_statement "if (iVar1 == 0) {\n              return pnVar9->elems[0];\n            }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n              return pnVar9->elems[0];\n            }" { (return_statement "return pnVar9->elems[0];" return (subscript_expression "pnVar9->elems[0]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) ;) })) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (if_statement "if (pnVar9->elems[1] != (void *)0x0) {\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" if (parenthesized_expression "(pnVar9->elems[1] != (void *)0x0)" ( (binary_expression "pnVar9->elems[1] != (void *)0x0" (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              iVar1 = (*t->cmp)(e,pnVar9->elems[1]);\n              iVar4 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" { (expression_statement "iVar1 = (*t->cmp)(e,pnVar9->elems[1]);" (assignment_expression "iVar1 = (*t->cmp)(e,pnVar9->elems[1])" identifier = (call_expression "(*t->cmp)(e,pnVar9->elems[1])" (parenthesized_expression "(*t->cmp)" ( (pointer_expression "*t->cmp" * (field_expression "t->cmp" identifier -> field_identifier)) )) (argument_list "(e,pnVar9->elems[1])" ( identifier , (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) )))) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n                if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }\n                iVar4 = 2;\n                if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" { (if_statement "if (iVar1 == 0) {\n                  return pnVar9->elems[1];\n                }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                  return pnVar9->elems[1];\n                }" { (return_statement "return pnVar9->elems[1];" return (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) ;) })) (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (if_statement "if (pnVar9->elems[2] != (void *)0x0) {\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" if (parenthesized_expression "(pnVar9->elems[2] != (void *)0x0)" ( (binary_expression "pnVar9->elems[2] != (void *)0x0" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  iVar1 = (*t->cmp)(e,pnVar9->elems[2]);\n                  iVar4 = 2;\n                  if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" { (expression_statement "iVar1 = (*t->cmp)(e,pnVar9->elems[2]);" (assignment_expression "iVar1 = (*t->cmp)(e,pnVar9->elems[2])" identifier = (call_expression "(*t->cmp)(e,pnVar9->elems[2])" (parenthesized_expression "(*t->cmp)" ( (pointer_expression "*t->cmp" * (field_expression "t->cmp" identifier -> field_identifier)) )) (argument_list "(e,pnVar9->elems[2])" ( identifier , (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) )))) ;) (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n                    iVar4 = 3;\n                    if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" { (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n                      return pnVar9->elems[2];\n                    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                      return pnVar9->elems[2];\n                    }" { (return_statement "return pnVar9->elems[2];" return (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (goto_statement "goto LAB_00087978;" goto statement_identifier ;) })) })) })) })) })) (labeled_statement "LAB_00087974:\n          iVar1 = iVar4 << 2;" statement_identifier : (expression_statement "iVar1 = iVar4 << 2;" (assignment_expression "iVar1 = iVar4 << 2" identifier = (binary_expression "iVar4 << 2" identifier << number_literal)) ;)) }) (else_clause "else {\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }" else (compound_statement "{\n          iVar4 = index;\n          if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;\n          iVar4 = 0;\n          if (index <= pnVar9->counts[0]) goto LAB_00087974;\n          index = index - (pnVar9->counts[0] + 1);\n          iVar4 = 1;\n          if (index <= pnVar9->counts[1]) goto LAB_00087974;\n          index = index - (pnVar9->counts[1] + 1);\n          if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }\n          index = index - (pnVar9->counts[2] + 1);\n          iVar4 = 3;\n          if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }\n          iVar1 = 0xc;\n        }" { (expression_statement "iVar4 = index;" (assignment_expression "iVar4 = index" identifier = identifier) ;) (if_statement "if (pnVar9->kids[0] == (node234 *)0x0) goto LAB_00087974;" if (parenthesized_expression "(pnVar9->kids[0] == (node234 *)0x0)" ( (binary_expression "pnVar9->kids[0] == (node234 *)0x0" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) == (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (index <= pnVar9->counts[0]) goto LAB_00087974;" if (parenthesized_expression "(index <= pnVar9->counts[0])" ( (binary_expression "index <= pnVar9->counts[0]" identifier <= (subscript_expression "pnVar9->counts[0]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "index = index - (pnVar9->counts[0] + 1);" (assignment_expression "index = index - (pnVar9->counts[0] + 1)" identifier = (binary_expression "index - (pnVar9->counts[0] + 1)" identifier - (parenthesized_expression "(pnVar9->counts[0] + 1)" ( (binary_expression "pnVar9->counts[0] + 1" (subscript_expression "pnVar9->counts[0]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) + number_literal) )))) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) (if_statement "if (index <= pnVar9->counts[1]) goto LAB_00087974;" if (parenthesized_expression "(index <= pnVar9->counts[1])" ( (binary_expression "index <= pnVar9->counts[1]" identifier <= (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "index = index - (pnVar9->counts[1] + 1);" (assignment_expression "index = index - (pnVar9->counts[1] + 1)" identifier = (binary_expression "index - (pnVar9->counts[1] + 1)" identifier - (parenthesized_expression "(pnVar9->counts[1] + 1)" ( (binary_expression "pnVar9->counts[1] + 1" (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) + number_literal) )))) ;) (if_statement "if (index <= pnVar9->counts[2]) {\n            iVar4 = 2;\n            goto LAB_00087974;\n          }" if (parenthesized_expression "(index <= pnVar9->counts[2])" ( (binary_expression "index <= pnVar9->counts[2]" identifier <= (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) )) (compound_statement "{\n            iVar4 = 2;\n            goto LAB_00087974;\n          }" { (expression_statement "iVar4 = 2;" (assignment_expression "iVar4 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00087974;" goto statement_identifier ;) })) (expression_statement "index = index - (pnVar9->counts[2] + 1);" (assignment_expression "index = index - (pnVar9->counts[2] + 1)" identifier = (binary_expression "index - (pnVar9->counts[2] + 1)" identifier - (parenthesized_expression "(pnVar9->counts[2] + 1)" ( (binary_expression "pnVar9->counts[2] + 1" (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) + number_literal) )))) ;) (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;) (if_statement "if (pnVar9->counts[3] < index) {\n            return (void *)0x0;\n          }" if (parenthesized_expression "(pnVar9->counts[3] < index)" ( (binary_expression "pnVar9->counts[3] < index" (subscript_expression "pnVar9->counts[3]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) < identifier) )) (compound_statement "{\n            return (void *)0x0;\n          }" { (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) }))) (labeled_statement "LAB_00087978:\n        pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);" statement_identifier : (expression_statement "pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1);" (assignment_expression "pnVar5 = *(node234 **)((int)pnVar9->kids + iVar1)" identifier = (pointer_expression "*(node234 **)((int)pnVar9->kids + iVar1)" * (cast_expression "(node234 **)((int)pnVar9->kids + iVar1)" ( (type_descriptor "node234 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)pnVar9->kids + iVar1)" ( (binary_expression "(int)pnVar9->kids + iVar1" (cast_expression "(int)pnVar9->kids" ( (type_descriptor "int" primitive_type) ) (field_expression "pnVar9->kids" identifier -> field_identifier)) + identifier) ))))) ;)) }) while (parenthesized_expression "(pnVar5 != (node234 *)0x0)" ( (binary_expression "pnVar5 != (node234 *)0x0" identifier != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "pvVar6 = pnVar9->elems[1];" (assignment_expression "pvVar6 = pnVar9->elems[1]" identifier = (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "ppnVar8 = pnVar9->kids + iVar4;" (assignment_expression "ppnVar8 = pnVar9->kids + iVar4" identifier = (binary_expression "pnVar9->kids + iVar4" (field_expression "pnVar9->kids" identifier -> field_identifier) + identifier)) ;) (if_statement "if (pvVar6 == (void *)0x0) {\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }\n      else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }" if (parenthesized_expression "(pvVar6 == (void *)0x0)" ( (binary_expression "pvVar6 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar1 = 0;\n        iVar4 = 0;\n        pnVar5 = (node234 *)0x0;\n        pnVar3 = (node234 *)0x0;\nLAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n      }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pnVar5 = (node234 *)0x0;" (assignment_expression "pnVar5 = (node234 *)0x0" identifier = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar3 = (node234 *)0x0;" (assignment_expression "pnVar3 = (node234 *)0x0" identifier = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00087a64:\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }" statement_identifier : (if_statement "if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }" if (parenthesized_expression "(ppnVar8 == pnVar9->kids)" ( (binary_expression "ppnVar8 == pnVar9->kids" identifier == (field_expression "pnVar9->kids" identifier -> field_identifier)) )) (compound_statement "{\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }" { (expression_statement "pnVar9->kids[2] = pnVar9->kids[1];" (assignment_expression "pnVar9->kids[2] = pnVar9->kids[1]" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->counts[2] = pnVar9->counts[1];" (assignment_expression "pnVar9->counts[2] = pnVar9->counts[1]" (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->elems[1] = pnVar9->elems[0];" (assignment_expression "pnVar9->elems[1] = pnVar9->elems[0]" (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->elems[0]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->kids[1] = pnVar5;" (assignment_expression "pnVar9->kids[1] = pnVar5" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[1] = iVar1;" (assignment_expression "pnVar9->counts[1] = iVar1" (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->elems[0] = pvVar11;" (assignment_expression "pnVar9->elems[0] = pvVar11" (subscript_expression "pnVar9->elems[0]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[0] = pnVar3;" (assignment_expression "pnVar9->kids[0] = pnVar3" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[0] = iVar4;" (assignment_expression "pnVar9->counts[0] = iVar4" (subscript_expression "pnVar9->counts[0]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }" else (compound_statement "{\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }" { (expression_statement "pnVar9->kids[2] = pnVar5;" (assignment_expression "pnVar9->kids[2] = pnVar5" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[2] = iVar1;" (assignment_expression "pnVar9->counts[2] = iVar1" (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->elems[1] = pvVar11;" (assignment_expression "pnVar9->elems[1] = pvVar11" (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[1] = pnVar3;" (assignment_expression "pnVar9->kids[1] = pnVar3" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[1] = iVar4;" (assignment_expression "pnVar9->counts[1] = iVar4" (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) })))) (if_statement "if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[0] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[0] != (node234 *)0x0" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[0]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[0]->parent = pnVar9;" (assignment_expression "pnVar9->kids[0]->parent = pnVar9" (field_expression "pnVar9->kids[0]->parent" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[1] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[1] != (node234 *)0x0" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[1]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[1]->parent = pnVar9;" (assignment_expression "pnVar9->kids[1]->parent = pnVar9" (field_expression "pnVar9->kids[1]->parent" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[2] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[2] != (node234 *)0x0" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[2]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[2]->parent = pnVar9;" (assignment_expression "pnVar9->kids[2]->parent = pnVar9" (field_expression "pnVar9->kids[2]->parent" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) }) (else_clause "else {\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }" else (compound_statement "{\n        iVar1 = 0;\n        if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }\n        if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }\n        if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }\n        if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }\n        if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }\n        if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }\n      }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (pnVar9->elems[2] == (void *)0x0) {\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }\n        else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }" if (parenthesized_expression "(pnVar9->elems[2] == (void *)0x0)" ( (binary_expression "pnVar9->elems[2] == (void *)0x0" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          iVar4 = 0;\n          pnVar5 = (node234 *)0x0;\n          pnVar3 = (node234 *)0x0;\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pnVar5 = (node234 *)0x0;" (assignment_expression "pnVar5 = (node234 *)0x0" identifier = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar3 = (node234 *)0x0;" (assignment_expression "pnVar3 = (node234 *)0x0" identifier = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }" else (compound_statement "{\n          iVar4 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          pnVar7 = (node234 *)0x0;\n          local_2c = pnVar5;\n          do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);\n        }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740)" identifier = (cast_expression "(code *)(PTR_LAB_000beb8c + 0x7740)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000beb8c + 0x7740)" ( (binary_expression "PTR_LAB_000beb8c + 0x7740" identifier + number_literal) )))) ;) (expression_statement "pnVar7 = (node234 *)0x0;" (assignment_expression "pnVar7 = (node234 *)0x0" identifier = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c = pnVar5;" (assignment_expression "local_2c = pnVar5" identifier = identifier) ;) (do_statement "do {\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          } while (pnVar9->elems[2] != (void *)0x0);" do (compound_statement "{\n            pnVar5 = pnVar9;\n            pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            pnVar3->parent = pnVar5->parent;\n            if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }\n            pnVar5->kids[2] = (node234 *)0x0;\n            pnVar5->kids[3] = (node234 *)0x0;\n            pnVar3->kids[3] = (node234 *)0x0;\n            pnVar5->counts[2] = 0;\n            pnVar5->counts[3] = 0;\n            pnVar3->counts[3] = 0;\n            pnVar5->elems[1] = (void *)0x0;\n            pnVar5->elems[2] = (void *)0x0;\n            pnVar3->elems[2] = (void *)0x0;\n            if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }\n            if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }\n            if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }\n            if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }\n            if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }\n            iVar4 = (*pcVar2)(pnVar3);\n            iVar1 = (*pcVar2)(pnVar5);\n            pnVar9 = pnVar5->parent;\n            if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;\n            ppnVar8 = pnVar9->kids;\n            if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }\n            pvVar6 = pnVar9->elems[1];\n            if (pvVar6 == (void *)0x0) goto LAB_00087a64;\n            pnVar7 = pnVar3;\n            local_2c = pnVar5;\n          }" { (expression_statement "pnVar5 = pnVar9;" (assignment_expression "pnVar5 = pnVar9" identifier = identifier) ;) (expression_statement "pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "pnVar3 = (node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (cast_expression "(node234 *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "pnVar3->parent = pnVar5->parent;" (assignment_expression "pnVar3->parent = pnVar5->parent" (field_expression "pnVar3->parent" identifier -> field_identifier) = (field_expression "pnVar5->parent" identifier -> field_identifier)) ;) (if_statement "if (ppnVar8 == pnVar5->kids) {\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" if (parenthesized_expression "(ppnVar8 == pnVar5->kids)" ( (binary_expression "ppnVar8 == pnVar5->kids" identifier == (field_expression "pnVar5->kids" identifier -> field_identifier)) )) (compound_statement "{\n              pnVar3->kids[0] = pnVar7;\n              pnVar3->counts[0] = iVar4;\n              pnVar3->elems[0] = pvVar11;\n              pnVar3->kids[1] = local_2c;\n              pnVar3->counts[1] = iVar1;\n              pnVar3->elems[1] = pnVar5->elems[0];\n              pnVar3->kids[2] = pnVar5->kids[1];\n              pnVar3->counts[2] = pnVar5->counts[1];\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }" { (expression_statement "pnVar3->kids[0] = pnVar7;" (assignment_expression "pnVar3->kids[0] = pnVar7" (subscript_expression "pnVar3->kids[0]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->counts[0] = iVar4;" (assignment_expression "pnVar3->counts[0] = iVar4" (subscript_expression "pnVar3->counts[0]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->elems[0] = pvVar11;" (assignment_expression "pnVar3->elems[0] = pvVar11" (subscript_expression "pnVar3->elems[0]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->kids[1] = local_2c;" (assignment_expression "pnVar3->kids[1] = local_2c" (subscript_expression "pnVar3->kids[1]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->counts[1] = iVar1;" (assignment_expression "pnVar3->counts[1] = iVar1" (subscript_expression "pnVar3->counts[1]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->elems[1] = pnVar5->elems[0];" (assignment_expression "pnVar3->elems[1] = pnVar5->elems[0]" (subscript_expression "pnVar3->elems[1]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->kids[2] = pnVar5->kids[1];" (assignment_expression "pnVar3->kids[2] = pnVar5->kids[1]" (subscript_expression "pnVar3->kids[2]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[2] = pnVar5->counts[1];" (assignment_expression "pnVar3->counts[2] = pnVar5->counts[1]" (subscript_expression "pnVar3->counts[2]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pvVar11 = pnVar5->elems[1];" (assignment_expression "pvVar11 = pnVar5->elems[1]" identifier = (subscript_expression "pnVar5->elems[1]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->kids[0] = pnVar5->kids[2];" (assignment_expression "pnVar5->kids[0] = pnVar5->kids[2]" (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[2]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->counts[0] = pnVar5->counts[2];" (assignment_expression "pnVar5->counts[0] = pnVar5->counts[2]" (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[2]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->elems[0] = pnVar5->elems[2];" (assignment_expression "pnVar5->elems[0] = pnVar5->elems[2]" (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[2]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->kids[1] = pnVar5->kids[3];" (assignment_expression "pnVar5->kids[1] = pnVar5->kids[3]" (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[3]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->counts[1] = pnVar5->counts[3];" (assignment_expression "pnVar5->counts[1] = pnVar5->counts[3]" (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[3]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) }) (else_clause "else if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" else (if_statement "if (ppnVar8 == pnVar5->kids + 1) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" if (parenthesized_expression "(ppnVar8 == pnVar5->kids + 1)" ( (binary_expression "ppnVar8 == pnVar5->kids + 1" identifier == (binary_expression "pnVar5->kids + 1" (field_expression "pnVar5->kids" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar7;\n              pnVar3->counts[1] = iVar4;\n              pnVar3->elems[1] = pvVar11;\n              pnVar3->kids[2] = local_2c;\n              pnVar3->counts[2] = iVar1;\n              pvVar11 = pnVar5->elems[1];\n              pnVar5->kids[0] = pnVar5->kids[2];\n              pnVar5->counts[0] = pnVar5->counts[2];\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }" { (expression_statement "pnVar3->kids[0] = pnVar5->kids[0];" (assignment_expression "pnVar3->kids[0] = pnVar5->kids[0]" (subscript_expression "pnVar3->kids[0]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[0] = pnVar5->counts[0];" (assignment_expression "pnVar3->counts[0] = pnVar5->counts[0]" (subscript_expression "pnVar3->counts[0]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->elems[0] = pnVar5->elems[0];" (assignment_expression "pnVar3->elems[0] = pnVar5->elems[0]" (subscript_expression "pnVar3->elems[0]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->kids[1] = pnVar7;" (assignment_expression "pnVar3->kids[1] = pnVar7" (subscript_expression "pnVar3->kids[1]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->counts[1] = iVar4;" (assignment_expression "pnVar3->counts[1] = iVar4" (subscript_expression "pnVar3->counts[1]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->elems[1] = pvVar11;" (assignment_expression "pnVar3->elems[1] = pvVar11" (subscript_expression "pnVar3->elems[1]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->kids[2] = local_2c;" (assignment_expression "pnVar3->kids[2] = local_2c" (subscript_expression "pnVar3->kids[2]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->counts[2] = iVar1;" (assignment_expression "pnVar3->counts[2] = iVar1" (subscript_expression "pnVar3->counts[2]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pvVar11 = pnVar5->elems[1];" (assignment_expression "pvVar11 = pnVar5->elems[1]" identifier = (subscript_expression "pnVar5->elems[1]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->kids[0] = pnVar5->kids[2];" (assignment_expression "pnVar5->kids[0] = pnVar5->kids[2]" (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[2]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->counts[0] = pnVar5->counts[2];" (assignment_expression "pnVar5->counts[0] = pnVar5->counts[2]" (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[2]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->elems[0] = pnVar5->elems[2];" (assignment_expression "pnVar5->elems[0] = pnVar5->elems[2]" (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[2]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->kids[1] = pnVar5->kids[3];" (assignment_expression "pnVar5->kids[1] = pnVar5->kids[3]" (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[3]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->counts[1] = pnVar5->counts[3];" (assignment_expression "pnVar5->counts[1] = pnVar5->counts[3]" (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[3]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) }) (else_clause "else if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" else (if_statement "if (ppnVar8 == pnVar5->kids + 2) {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }\n            else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" if (parenthesized_expression "(ppnVar8 == pnVar5->kids + 2)" ( (binary_expression "ppnVar8 == pnVar5->kids + 2" identifier == (binary_expression "pnVar5->kids + 2" (field_expression "pnVar5->kids" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar7;\n              pnVar3->counts[2] = iVar4;\n              pnVar5->kids[0] = local_2c;\n              pnVar5->counts[0] = iVar1;\n              pnVar5->elems[0] = pnVar5->elems[2];\n              pnVar5->kids[1] = pnVar5->kids[3];\n              pnVar5->counts[1] = pnVar5->counts[3];\n            }" { (expression_statement "pnVar3->kids[0] = pnVar5->kids[0];" (assignment_expression "pnVar3->kids[0] = pnVar5->kids[0]" (subscript_expression "pnVar3->kids[0]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[0] = pnVar5->counts[0];" (assignment_expression "pnVar3->counts[0] = pnVar5->counts[0]" (subscript_expression "pnVar3->counts[0]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->elems[0] = pnVar5->elems[0];" (assignment_expression "pnVar3->elems[0] = pnVar5->elems[0]" (subscript_expression "pnVar3->elems[0]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->kids[1] = pnVar5->kids[1];" (assignment_expression "pnVar3->kids[1] = pnVar5->kids[1]" (subscript_expression "pnVar3->kids[1]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[1] = pnVar5->counts[1];" (assignment_expression "pnVar3->counts[1] = pnVar5->counts[1]" (subscript_expression "pnVar3->counts[1]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->elems[1] = pnVar5->elems[1];" (assignment_expression "pnVar3->elems[1] = pnVar5->elems[1]" (subscript_expression "pnVar3->elems[1]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[1]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->kids[2] = pnVar7;" (assignment_expression "pnVar3->kids[2] = pnVar7" (subscript_expression "pnVar3->kids[2]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar3->counts[2] = iVar4;" (assignment_expression "pnVar3->counts[2] = iVar4" (subscript_expression "pnVar3->counts[2]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->kids[0] = local_2c;" (assignment_expression "pnVar5->kids[0] = local_2c" (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->counts[0] = iVar1;" (assignment_expression "pnVar5->counts[0] = iVar1" (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->elems[0] = pnVar5->elems[2];" (assignment_expression "pnVar5->elems[0] = pnVar5->elems[2]" (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[2]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->kids[1] = pnVar5->kids[3];" (assignment_expression "pnVar5->kids[1] = pnVar5->kids[3]" (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[3]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->counts[1] = pnVar5->counts[3];" (assignment_expression "pnVar5->counts[1] = pnVar5->counts[3]" (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[3]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) }) (else_clause "else {\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" else (compound_statement "{\n              pnVar3->kids[0] = pnVar5->kids[0];\n              pnVar3->counts[0] = pnVar5->counts[0];\n              pnVar3->elems[0] = pnVar5->elems[0];\n              pnVar3->kids[1] = pnVar5->kids[1];\n              pnVar3->counts[1] = pnVar5->counts[1];\n              pnVar3->elems[1] = pnVar5->elems[1];\n              pnVar3->kids[2] = pnVar5->kids[2];\n              pnVar3->counts[2] = pnVar5->counts[2];\n              pnVar5->kids[0] = pnVar7;\n              pnVar5->counts[0] = iVar4;\n              pnVar5->elems[0] = pvVar11;\n              pnVar5->kids[1] = local_2c;\n              pnVar5->counts[1] = iVar1;\n              pvVar11 = pnVar5->elems[2];\n            }" { (expression_statement "pnVar3->kids[0] = pnVar5->kids[0];" (assignment_expression "pnVar3->kids[0] = pnVar5->kids[0]" (subscript_expression "pnVar3->kids[0]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[0] = pnVar5->counts[0];" (assignment_expression "pnVar3->counts[0] = pnVar5->counts[0]" (subscript_expression "pnVar3->counts[0]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->elems[0] = pnVar5->elems[0];" (assignment_expression "pnVar3->elems[0] = pnVar5->elems[0]" (subscript_expression "pnVar3->elems[0]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->kids[1] = pnVar5->kids[1];" (assignment_expression "pnVar3->kids[1] = pnVar5->kids[1]" (subscript_expression "pnVar3->kids[1]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[1] = pnVar5->counts[1];" (assignment_expression "pnVar3->counts[1] = pnVar5->counts[1]" (subscript_expression "pnVar3->counts[1]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->elems[1] = pnVar5->elems[1];" (assignment_expression "pnVar3->elems[1] = pnVar5->elems[1]" (subscript_expression "pnVar3->elems[1]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->elems[1]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->kids[2] = pnVar5->kids[2];" (assignment_expression "pnVar3->kids[2] = pnVar5->kids[2]" (subscript_expression "pnVar3->kids[2]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->kids[2]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar3->counts[2] = pnVar5->counts[2];" (assignment_expression "pnVar3->counts[2] = pnVar5->counts[2]" (subscript_expression "pnVar3->counts[2]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar5->counts[2]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar5->kids[0] = pnVar7;" (assignment_expression "pnVar5->kids[0] = pnVar7" (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->counts[0] = iVar4;" (assignment_expression "pnVar5->counts[0] = iVar4" (subscript_expression "pnVar5->counts[0]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->elems[0] = pvVar11;" (assignment_expression "pnVar5->elems[0] = pvVar11" (subscript_expression "pnVar5->elems[0]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->kids[1] = local_2c;" (assignment_expression "pnVar5->kids[1] = local_2c" (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar5->counts[1] = iVar1;" (assignment_expression "pnVar5->counts[1] = iVar1" (subscript_expression "pnVar5->counts[1]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pvVar11 = pnVar5->elems[2];" (assignment_expression "pvVar11 = pnVar5->elems[2]" identifier = (subscript_expression "pnVar5->elems[2]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ])) ;) }))))))) (expression_statement "pnVar5->kids[2] = (node234 *)0x0;" (assignment_expression "pnVar5->kids[2] = (node234 *)0x0" (subscript_expression "pnVar5->kids[2]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar5->kids[3] = (node234 *)0x0;" (assignment_expression "pnVar5->kids[3] = (node234 *)0x0" (subscript_expression "pnVar5->kids[3]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar3->kids[3] = (node234 *)0x0;" (assignment_expression "pnVar3->kids[3] = (node234 *)0x0" (subscript_expression "pnVar3->kids[3]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar5->counts[2] = 0;" (assignment_expression "pnVar5->counts[2] = 0" (subscript_expression "pnVar5->counts[2]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "pnVar5->counts[3] = 0;" (assignment_expression "pnVar5->counts[3] = 0" (subscript_expression "pnVar5->counts[3]" (field_expression "pnVar5->counts" identifier -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "pnVar3->counts[3] = 0;" (assignment_expression "pnVar3->counts[3] = 0" (subscript_expression "pnVar3->counts[3]" (field_expression "pnVar3->counts" identifier -> field_identifier) [ number_literal ]) = number_literal) ;) (expression_statement "pnVar5->elems[1] = (void *)0x0;" (assignment_expression "pnVar5->elems[1] = (void *)0x0" (subscript_expression "pnVar5->elems[1]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar5->elems[2] = (void *)0x0;" (assignment_expression "pnVar5->elems[2] = (void *)0x0" (subscript_expression "pnVar5->elems[2]" (field_expression "pnVar5->elems" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pnVar3->elems[2] = (void *)0x0;" (assignment_expression "pnVar3->elems[2] = (void *)0x0" (subscript_expression "pnVar3->elems[2]" (field_expression "pnVar3->elems" identifier -> field_identifier) [ number_literal ]) = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (pnVar3->kids[0] != (node234 *)0x0) {\n              pnVar3->kids[0]->parent = pnVar3;\n            }" if (parenthesized_expression "(pnVar3->kids[0] != (node234 *)0x0)" ( (binary_expression "pnVar3->kids[0] != (node234 *)0x0" (subscript_expression "pnVar3->kids[0]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pnVar3->kids[0]->parent = pnVar3;\n            }" { (expression_statement "pnVar3->kids[0]->parent = pnVar3;" (assignment_expression "pnVar3->kids[0]->parent = pnVar3" (field_expression "pnVar3->kids[0]->parent" (subscript_expression "pnVar3->kids[0]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar3->kids[1] != (node234 *)0x0) {\n              pnVar3->kids[1]->parent = pnVar3;\n            }" if (parenthesized_expression "(pnVar3->kids[1] != (node234 *)0x0)" ( (binary_expression "pnVar3->kids[1] != (node234 *)0x0" (subscript_expression "pnVar3->kids[1]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pnVar3->kids[1]->parent = pnVar3;\n            }" { (expression_statement "pnVar3->kids[1]->parent = pnVar3;" (assignment_expression "pnVar3->kids[1]->parent = pnVar3" (field_expression "pnVar3->kids[1]->parent" (subscript_expression "pnVar3->kids[1]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar3->kids[2] != (node234 *)0x0) {\n              pnVar3->kids[2]->parent = pnVar3;\n            }" if (parenthesized_expression "(pnVar3->kids[2] != (node234 *)0x0)" ( (binary_expression "pnVar3->kids[2] != (node234 *)0x0" (subscript_expression "pnVar3->kids[2]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pnVar3->kids[2]->parent = pnVar3;\n            }" { (expression_statement "pnVar3->kids[2]->parent = pnVar3;" (assignment_expression "pnVar3->kids[2]->parent = pnVar3" (field_expression "pnVar3->kids[2]->parent" (subscript_expression "pnVar3->kids[2]" (field_expression "pnVar3->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar5->kids[0] != (node234 *)0x0) {\n              pnVar5->kids[0]->parent = pnVar5;\n            }" if (parenthesized_expression "(pnVar5->kids[0] != (node234 *)0x0)" ( (binary_expression "pnVar5->kids[0] != (node234 *)0x0" (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pnVar5->kids[0]->parent = pnVar5;\n            }" { (expression_statement "pnVar5->kids[0]->parent = pnVar5;" (assignment_expression "pnVar5->kids[0]->parent = pnVar5" (field_expression "pnVar5->kids[0]->parent" (subscript_expression "pnVar5->kids[0]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar5->kids[1] != (node234 *)0x0) {\n              pnVar5->kids[1]->parent = pnVar5;\n            }" if (parenthesized_expression "(pnVar5->kids[1] != (node234 *)0x0)" ( (binary_expression "pnVar5->kids[1] != (node234 *)0x0" (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              pnVar5->kids[1]->parent = pnVar5;\n            }" { (expression_statement "pnVar5->kids[1]->parent = pnVar5;" (assignment_expression "pnVar5->kids[1]->parent = pnVar5" (field_expression "pnVar5->kids[1]->parent" (subscript_expression "pnVar5->kids[1]" (field_expression "pnVar5->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (expression_statement "iVar4 = (*pcVar2)(pnVar3);" (assignment_expression "iVar4 = (*pcVar2)(pnVar3)" identifier = (call_expression "(*pcVar2)(pnVar3)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(pnVar3)" ( identifier )))) ;) (expression_statement "iVar1 = (*pcVar2)(pnVar5);" (assignment_expression "iVar1 = (*pcVar2)(pnVar5)" identifier = (call_expression "(*pcVar2)(pnVar5)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(pnVar5)" ( identifier )))) ;) (expression_statement "pnVar9 = pnVar5->parent;" (assignment_expression "pnVar9 = pnVar5->parent" identifier = (field_expression "pnVar5->parent" identifier -> field_identifier)) ;) (if_statement "if (pnVar9 == (node234 *)0x0) goto LAB_00087f28;" if (parenthesized_expression "(pnVar9 == (node234 *)0x0)" ( (binary_expression "pnVar9 == (node234 *)0x0" identifier == (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00087f28;" goto statement_identifier ;)) (expression_statement "ppnVar8 = pnVar9->kids;" (assignment_expression "ppnVar8 = pnVar9->kids" identifier = (field_expression "pnVar9->kids" identifier -> field_identifier)) ;) (if_statement "if ((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)) {\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }" if (parenthesized_expression "((pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5))" ( (binary_expression "(pnVar9->kids[0] != pnVar5) &&\n               (ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)" (parenthesized_expression "(pnVar9->kids[0] != pnVar5)" ( (binary_expression "pnVar9->kids[0] != pnVar5" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != identifier) )) && (parenthesized_expression "(ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5)" ( (comma_expression "ppnVar8 = pnVar9->kids + 1, pnVar9->kids[1] != pnVar5" (assignment_expression "ppnVar8 = pnVar9->kids + 1" identifier = (binary_expression "pnVar9->kids + 1" (field_expression "pnVar9->kids" identifier -> field_identifier) + number_literal)) , (binary_expression "pnVar9->kids[1] != pnVar5" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != identifier)) ))) )) (compound_statement "{\n              if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }\n            }" { (if_statement "if (pnVar9->kids[2] == pnVar5) {\n                ppnVar8 = pnVar9->kids + 2;\n              }\n              else {\n                ppnVar8 = pnVar9->kids + 3;\n              }" if (parenthesized_expression "(pnVar9->kids[2] == pnVar5)" ( (binary_expression "pnVar9->kids[2] == pnVar5" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) == identifier) )) (compound_statement "{\n                ppnVar8 = pnVar9->kids + 2;\n              }" { (expression_statement "ppnVar8 = pnVar9->kids + 2;" (assignment_expression "ppnVar8 = pnVar9->kids + 2" identifier = (binary_expression "pnVar9->kids + 2" (field_expression "pnVar9->kids" identifier -> field_identifier) + number_literal)) ;) }) (else_clause "else {\n                ppnVar8 = pnVar9->kids + 3;\n              }" else (compound_statement "{\n                ppnVar8 = pnVar9->kids + 3;\n              }" { (expression_statement "ppnVar8 = pnVar9->kids + 3;" (assignment_expression "ppnVar8 = pnVar9->kids + 3" identifier = (binary_expression "pnVar9->kids + 3" (field_expression "pnVar9->kids" identifier -> field_identifier) + number_literal)) ;) }))) })) (expression_statement "pvVar6 = pnVar9->elems[1];" (assignment_expression "pvVar6 = pnVar9->elems[1]" identifier = (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ])) ;) (if_statement "if (pvVar6 == (void *)0x0) goto LAB_00087a64;" if (parenthesized_expression "(pvVar6 == (void *)0x0)" ( (binary_expression "pvVar6 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00087a64;" goto statement_identifier ;)) (expression_statement "pnVar7 = pnVar3;" (assignment_expression "pnVar7 = pnVar3" identifier = identifier) ;) (expression_statement "local_2c = pnVar5;" (assignment_expression "local_2c = pnVar5" identifier = identifier) ;) }) while (parenthesized_expression "(pnVar9->elems[2] != (void *)0x0)" ( (binary_expression "pnVar9->elems[2] != (void *)0x0" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) }))) (if_statement "if (ppnVar8 == pnVar9->kids) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }\n        else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }" if (parenthesized_expression "(ppnVar8 == pnVar9->kids)" ( (binary_expression "ppnVar8 == pnVar9->kids" identifier == (field_expression "pnVar9->kids" identifier -> field_identifier)) )) (compound_statement "{\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar9->kids[1];\n          pnVar9->counts[2] = pnVar9->counts[1];\n          pnVar9->elems[1] = pnVar9->elems[0];\n          pnVar9->kids[1] = pnVar5;\n          pnVar9->counts[1] = iVar1;\n          pnVar9->elems[0] = pvVar11;\n          pnVar9->kids[0] = pnVar3;\n          pnVar9->counts[0] = iVar4;\n        }" { (expression_statement "pnVar9->kids[3] = pnVar9->kids[2];" (assignment_expression "pnVar9->kids[3] = pnVar9->kids[2]" (subscript_expression "pnVar9->kids[3]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->counts[3] = pnVar9->counts[2];" (assignment_expression "pnVar9->counts[3] = pnVar9->counts[2]" (subscript_expression "pnVar9->counts[3]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->elems[2] = pvVar6;" (assignment_expression "pnVar9->elems[2] = pvVar6" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[2] = pnVar9->kids[1];" (assignment_expression "pnVar9->kids[2] = pnVar9->kids[1]" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->counts[2] = pnVar9->counts[1];" (assignment_expression "pnVar9->counts[2] = pnVar9->counts[1]" (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->elems[1] = pnVar9->elems[0];" (assignment_expression "pnVar9->elems[1] = pnVar9->elems[0]" (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->elems[0]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->kids[1] = pnVar5;" (assignment_expression "pnVar9->kids[1] = pnVar5" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[1] = iVar1;" (assignment_expression "pnVar9->counts[1] = iVar1" (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->elems[0] = pvVar11;" (assignment_expression "pnVar9->elems[0] = pvVar11" (subscript_expression "pnVar9->elems[0]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[0] = pnVar3;" (assignment_expression "pnVar9->kids[0] = pnVar3" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[0] = iVar4;" (assignment_expression "pnVar9->counts[0] = iVar4" (subscript_expression "pnVar9->counts[0]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) }) (else_clause "else if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }" else (if_statement "if (ppnVar8 == pnVar9->kids + 1) {\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }\n        else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }" if (parenthesized_expression "(ppnVar8 == pnVar9->kids + 1)" ( (binary_expression "ppnVar8 == pnVar9->kids + 1" identifier == (binary_expression "pnVar9->kids + 1" (field_expression "pnVar9->kids" identifier -> field_identifier) + number_literal)) )) (compound_statement "{\n          pnVar9->kids[3] = pnVar9->kids[2];\n          pnVar9->counts[3] = pnVar9->counts[2];\n          pnVar9->elems[2] = pvVar6;\n          pnVar9->kids[2] = pnVar5;\n          pnVar9->counts[2] = iVar1;\n          pnVar9->elems[1] = pvVar11;\n          pnVar9->kids[1] = pnVar3;\n          pnVar9->counts[1] = iVar4;\n        }" { (expression_statement "pnVar9->kids[3] = pnVar9->kids[2];" (assignment_expression "pnVar9->kids[3] = pnVar9->kids[2]" (subscript_expression "pnVar9->kids[3]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->counts[3] = pnVar9->counts[2];" (assignment_expression "pnVar9->counts[3] = pnVar9->counts[2]" (subscript_expression "pnVar9->counts[3]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "pnVar9->elems[2] = pvVar6;" (assignment_expression "pnVar9->elems[2] = pvVar6" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[2] = pnVar5;" (assignment_expression "pnVar9->kids[2] = pnVar5" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[2] = iVar1;" (assignment_expression "pnVar9->counts[2] = iVar1" (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->elems[1] = pvVar11;" (assignment_expression "pnVar9->elems[1] = pvVar11" (subscript_expression "pnVar9->elems[1]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[1] = pnVar3;" (assignment_expression "pnVar9->kids[1] = pnVar3" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[1] = iVar4;" (assignment_expression "pnVar9->counts[1] = iVar4" (subscript_expression "pnVar9->counts[1]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }" else (compound_statement "{\n          pnVar9->kids[3] = pnVar5;\n          pnVar9->counts[3] = iVar1;\n          pnVar9->elems[2] = pvVar11;\n          pnVar9->kids[2] = pnVar3;\n          pnVar9->counts[2] = iVar4;\n        }" { (expression_statement "pnVar9->kids[3] = pnVar5;" (assignment_expression "pnVar9->kids[3] = pnVar5" (subscript_expression "pnVar9->kids[3]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[3] = iVar1;" (assignment_expression "pnVar9->counts[3] = iVar1" (subscript_expression "pnVar9->counts[3]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->elems[2] = pvVar11;" (assignment_expression "pnVar9->elems[2] = pvVar11" (subscript_expression "pnVar9->elems[2]" (field_expression "pnVar9->elems" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->kids[2] = pnVar3;" (assignment_expression "pnVar9->kids[2] = pnVar3" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "pnVar9->counts[2] = iVar4;" (assignment_expression "pnVar9->counts[2] = iVar4" (subscript_expression "pnVar9->counts[2]" (field_expression "pnVar9->counts" identifier -> field_identifier) [ number_literal ]) = identifier) ;) }))))) (if_statement "if (pnVar9->kids[0] != (node234 *)0x0) {\n          pnVar9->kids[0]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[0] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[0] != (node234 *)0x0" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[0]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[0]->parent = pnVar9;" (assignment_expression "pnVar9->kids[0]->parent = pnVar9" (field_expression "pnVar9->kids[0]->parent" (subscript_expression "pnVar9->kids[0]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar9->kids[1] != (node234 *)0x0) {\n          pnVar9->kids[1]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[1] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[1] != (node234 *)0x0" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[1]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[1]->parent = pnVar9;" (assignment_expression "pnVar9->kids[1]->parent = pnVar9" (field_expression "pnVar9->kids[1]->parent" (subscript_expression "pnVar9->kids[1]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar9->kids[2] != (node234 *)0x0) {\n          pnVar9->kids[2]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[2] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[2] != (node234 *)0x0" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[2]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[2]->parent = pnVar9;" (assignment_expression "pnVar9->kids[2]->parent = pnVar9" (field_expression "pnVar9->kids[2]->parent" (subscript_expression "pnVar9->kids[2]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) (if_statement "if (pnVar9->kids[3] != (node234 *)0x0) {\n          pnVar9->kids[3]->parent = pnVar9;\n        }" if (parenthesized_expression "(pnVar9->kids[3] != (node234 *)0x0)" ( (binary_expression "pnVar9->kids[3] != (node234 *)0x0" (subscript_expression "pnVar9->kids[3]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) != (cast_expression "(node234 *)0x0" ( (type_descriptor "node234 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pnVar9->kids[3]->parent = pnVar9;\n        }" { (expression_statement "pnVar9->kids[3]->parent = pnVar9;" (assignment_expression "pnVar9->kids[3]->parent = pnVar9" (field_expression "pnVar9->kids[3]->parent" (subscript_expression "pnVar9->kids[3]" (field_expression "pnVar9->kids" identifier -> field_identifier) [ number_literal ]) -> field_identifier) = identifier) ;) })) }))) (expression_statement "pnVar10 = pnVar9->parent;" (assignment_expression "pnVar10 = pnVar9->parent" identifier = (field_expression "pnVar9->parent" identifier -> field_identifier)) ;) (while_statement "while (pnVar10 != (node234_conflict *)0x0) {\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }" while (parenthesized_expression "(pnVar10 != (node234_conflict *)0x0)" ( (binary_expression "pnVar10 != (node234_conflict *)0x0" identifier != (cast_expression "(node234_conflict *)0x0" ( (type_descriptor "node234_conflict *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        iVar4 = countnode234(pnVar9);\n        iVar1 = 0;\n        if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }\n        pnVar10->counts[iVar1] = iVar4;\n        pnVar9 = pnVar9->parent;\n        pnVar10 = pnVar9->parent;\n      }" { (expression_statement "iVar4 = countnode234(pnVar9);" (assignment_expression "iVar4 = countnode234(pnVar9)" identifier = (call_expression "countnode234(pnVar9)" identifier (argument_list "(pnVar9)" ( identifier )))) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if (pnVar10->kids[0] != pnVar9) {\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }" if (parenthesized_expression "(pnVar10->kids[0] != pnVar9)" ( (binary_expression "pnVar10->kids[0] != pnVar9" (subscript_expression "pnVar10->kids[0]" (field_expression "pnVar10->kids" identifier -> field_identifier) [ number_literal ]) != identifier) )) (compound_statement "{\n          iVar1 = 3;\n          if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }\n        }" { (expression_statement "iVar1 = 3;" (assignment_expression "iVar1 = 3" identifier = number_literal) ;) (if_statement "if (pnVar10->kids[1] == pnVar9) {\n            iVar1 = 1;\n          }\n          else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }" if (parenthesized_expression "(pnVar10->kids[1] == pnVar9)" ( (binary_expression "pnVar10->kids[1] == pnVar9" (subscript_expression "pnVar10->kids[1]" (field_expression "pnVar10->kids" identifier -> field_identifier) [ number_literal ]) == identifier) )) (compound_statement "{\n            iVar1 = 1;\n          }" { (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) }) (else_clause "else if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }" else (if_statement "if (pnVar10->kids[2] == pnVar9) {\n            iVar1 = 2;\n          }" if (parenthesized_expression "(pnVar10->kids[2] == pnVar9)" ( (binary_expression "pnVar10->kids[2] == pnVar9" (subscript_expression "pnVar10->kids[2]" (field_expression "pnVar10->kids" identifier -> field_identifier) [ number_literal ]) == identifier) )) (compound_statement "{\n            iVar1 = 2;\n          }" { (expression_statement "iVar1 = 2;" (assignment_expression "iVar1 = 2" identifier = number_literal) ;) })))) })) (expression_statement "pnVar10->counts[iVar1] = iVar4;" (assignment_expression "pnVar10->counts[iVar1] = iVar4" (subscript_expression "pnVar10->counts[iVar1]" (field_expression "pnVar10->counts" identifier -> field_identifier) [ identifier ]) = identifier) ;) (expression_statement "pnVar9 = pnVar9->parent;" (assignment_expression "pnVar9 = pnVar9->parent" identifier = (field_expression "pnVar9->parent" identifier -> field_identifier)) ;) (expression_statement "pnVar10 = pnVar9->parent;" (assignment_expression "pnVar10 = pnVar9->parent" identifier = (field_expression "pnVar9->parent" identifier -> field_identifier)) ;) })) }))) }))) (return_statement "return e;" return identifier ;) })))
(translation_unit "int FUN_000877a0(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}\n\n" (function_definition "int FUN_000877a0(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}" primitive_type (function_declarator "FUN_000877a0(int *param_1,int param_2,int param_3)" identifier (parameter_list "(int *param_1,int param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (if_statement "if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" if (parenthesized_expression "(*param_1 == 0)" ( (binary_expression "*param_1 == 0" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }" { (expression_statement "iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal )))) ;) (expression_statement "*param_1 = iVar11;" (assignment_expression "*param_1 = iVar11" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(undefined4 *)(iVar11 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x2c)" * (cast_expression "(undefined4 *)(iVar11 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x2c)" ( (binary_expression "iVar11 + 0x2c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x28)" * (cast_expression "(undefined4 *)(*param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 4)" * (cast_expression "(undefined4 *)(*param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" * (cast_expression "(undefined4 *)(*param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x18)" * (cast_expression "(undefined4 *)(*param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" * (cast_expression "(undefined4 *)(*param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x20)" * (cast_expression "(undefined4 *)(*param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x1c)" * (cast_expression "(undefined4 *)(*param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x1c)" ( (binary_expression "*param_1 + 0x1c" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)*param_1 = 0;" (assignment_expression "*(undefined4 *)*param_1 = 0" (pointer_expression "*(undefined4 *)*param_1" * (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) = number_literal) ;) (expression_statement "*(int *)(*param_1 + 0x24) = param_2;" (assignment_expression "*(int *)(*param_1 + 0x24) = param_2" (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) }) (else_clause "else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" else (compound_statement "{\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" { (expression_statement "piVar6 = (int *)*param_1;" (assignment_expression "piVar6 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" identifier = identifier) ;) (if_statement "if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" if (parenthesized_expression "(piVar6 == (int *)0x0)" ( (binary_expression "piVar6 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" statement_identifier : (expression_statement "iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal )))) ;)) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int **)(iVar1 + 4) = piVar3;" (assignment_expression "*(int **)(iVar1 + 4) = piVar3" (pointer_expression "*(int **)(iVar1 + 4)" * (cast_expression "(int **)(iVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 4)" ( (binary_expression "iVar1 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(*param_1 + 0x14) = iVar5;" (assignment_expression "*(int *)(*param_1 + 0x14) = iVar5" (pointer_expression "*(int *)(*param_1 + 0x14)" * (cast_expression "(int *)(*param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x14)" ( (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(*param_1 + 0x24) = iVar11;" (assignment_expression "*(int *)(*param_1 + 0x24) = iVar11" (pointer_expression "*(int *)(*param_1 + 0x24)" * (cast_expression "(int *)(*param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x24)" ( (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(*param_1 + 8) = piVar6;" (assignment_expression "*(int **)(*param_1 + 8) = piVar6" (pointer_expression "*(int **)(*param_1 + 8)" * (cast_expression "(int **)(*param_1 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(*param_1 + 0x18) = iVar10;" (assignment_expression "*(int *)(*param_1 + 0x18) = iVar10" (pointer_expression "*(int *)(*param_1 + 0x18)" * (cast_expression "(int *)(*param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x18)" ( (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" * identifier) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x28)" * (cast_expression "(undefined4 *)(*param_1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x28)" ( (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" * (cast_expression "(undefined4 *)(*param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xc)" ( (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x1c)" * (cast_expression "(undefined4 *)(*param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x1c)" ( (binary_expression "*param_1 + 0x1c" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x2c)" * (cast_expression "(undefined4 *)(*param_1 + 0x2c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x2c)" ( (binary_expression "*param_1 + 0x2c" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" * (cast_expression "(undefined4 *)(*param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(*param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x20)" * (cast_expression "(undefined4 *)(*param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x20)" ( (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" * identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)*param_1 = 0;" (assignment_expression "*(undefined4 *)*param_1 = 0" (pointer_expression "*(undefined4 *)*param_1" * (cast_expression "(undefined4 *)*param_1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) = number_literal) ;) (expression_statement "iVar11 = *param_1;" (assignment_expression "iVar11 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }" if (parenthesized_expression "(*(int **)(iVar11 + 4) != (int *)0x0)" ( (binary_expression "*(int **)(iVar11 + 4) != (int *)0x0" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }" { (expression_statement "**(int **)(iVar11 + 4) = iVar11;" (assignment_expression "**(int **)(iVar11 + 4) = iVar11" (pointer_expression "**(int **)(iVar11 + 4)" * (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) ))))) = identifier) ;) (expression_statement "iVar11 = *param_1;" (assignment_expression "iVar11 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) })) (if_statement "if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }" if (parenthesized_expression "(*(int **)(iVar11 + 8) != (int *)0x0)" ( (binary_expression "*(int **)(iVar11 + 8) != (int *)0x0" (pointer_expression "*(int **)(iVar11 + 8)" * (cast_expression "(int **)(iVar11 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        **(int **)(iVar11 + 8) = iVar11;\n      }" { (expression_statement "**(int **)(iVar11 + 8) = iVar11;" (assignment_expression "**(int **)(iVar11 + 8) = iVar11" (pointer_expression "**(int **)(iVar11 + 8)" * (pointer_expression "*(int **)(iVar11 + 8)" * (cast_expression "(int **)(iVar11 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) = identifier) ;) })) }) (else_clause "else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" else (compound_statement "{\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" { (do_statement "do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);" do (compound_statement "{\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      }" { (expression_statement "piVar9 = piVar6;" (assignment_expression "piVar9 = piVar6" identifier = identifier) ;) (if_statement "if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" if (parenthesized_expression "(param_3 < 0)" ( (binary_expression "param_3 < 0" identifier < number_literal) )) (compound_statement "{\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }" { (expression_statement "iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2,piVar9[9])" identifier = (call_expression "(*(code *)param_1[1])(param_2,piVar9[9])" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2,piVar9[9])" ( identifier , (subscript_expression "piVar9[9]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" { (if_statement "if (iVar1 == 0) {\n              return piVar9[9];\n            }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n              return piVar9[9];\n            }" { (return_statement "return piVar9[9];" return (subscript_expression "piVar9[9]" identifier [ number_literal ]) ;) })) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (if_statement "if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" if (parenthesized_expression "(piVar9[10] != 0)" ( (binary_expression "piVar9[10] != 0" (subscript_expression "piVar9[10]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" { (expression_statement "iVar1 = (*(code *)param_1[1])(param_2);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2)" identifier = (call_expression "(*(code *)param_1[1])(param_2)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" { (if_statement "if (iVar1 == 0) {\n                  return piVar9[10];\n                }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                  return piVar9[10];\n                }" { (return_statement "return piVar9[10];" return (subscript_expression "piVar9[10]" identifier [ number_literal ]) ;) })) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (if_statement "if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" if (parenthesized_expression "(piVar9[0xb] != 0)" ( (binary_expression "piVar9[0xb] != 0" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" { (expression_statement "iVar1 = (*(code *)param_1[1])(param_2);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2)" identifier = (call_expression "(*(code *)param_1[1])(param_2)" (parenthesized_expression "(*(code *)param_1[1])" ( (pointer_expression "*(code *)param_1[1]" * (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (if_statement "if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" if (parenthesized_expression "(-1 < iVar1)" ( (binary_expression "-1 < iVar1" number_literal < identifier) )) (compound_statement "{\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" { (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (if_statement "if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n                      return piVar9[0xb];\n                    }" { (return_statement "return piVar9[0xb];" return (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) (goto_statement "goto LAB_00087978;" goto statement_identifier ;) })) })) })) })) })) (labeled_statement "LAB_00087974:\n          iVar1 = iVar5 << 2;" statement_identifier : (expression_statement "iVar1 = iVar5 << 2;" (assignment_expression "iVar1 = iVar5 << 2" identifier = (binary_expression "iVar5 << 2" identifier << number_literal)) ;)) }) (else_clause "else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" else (compound_statement "{\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" { (expression_statement "iVar5 = param_3;" (assignment_expression "iVar5 = param_3" identifier = identifier) ;) (if_statement "if (piVar9[1] == 0) goto LAB_00087974;" if (parenthesized_expression "(piVar9[1] == 0)" ( (binary_expression "piVar9[1] == 0" (subscript_expression "piVar9[1]" identifier [ number_literal ]) == number_literal) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (param_3 <= piVar9[5]) goto LAB_00087974;" if (parenthesized_expression "(param_3 <= piVar9[5])" ( (binary_expression "param_3 <= piVar9[5]" identifier <= (subscript_expression "piVar9[5]" identifier [ number_literal ])) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "param_3 = param_3 - (piVar9[5] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[5] + 1)" identifier = (binary_expression "param_3 - (piVar9[5] + 1)" identifier - (parenthesized_expression "(piVar9[5] + 1)" ( (binary_expression "piVar9[5] + 1" (subscript_expression "piVar9[5]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) (if_statement "if (param_3 <= piVar9[6]) goto LAB_00087974;" if (parenthesized_expression "(param_3 <= piVar9[6])" ( (binary_expression "param_3 <= piVar9[6]" identifier <= (subscript_expression "piVar9[6]" identifier [ number_literal ])) )) (goto_statement "goto LAB_00087974;" goto statement_identifier ;)) (expression_statement "param_3 = param_3 - (piVar9[6] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[6] + 1)" identifier = (binary_expression "param_3 - (piVar9[6] + 1)" identifier - (parenthesized_expression "(piVar9[6] + 1)" ( (binary_expression "piVar9[6] + 1" (subscript_expression "piVar9[6]" identifier [ number_literal ]) + number_literal) )))) ;) (if_statement "if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }" if (parenthesized_expression "(param_3 <= piVar9[7])" ( (binary_expression "param_3 <= piVar9[7]" identifier <= (subscript_expression "piVar9[7]" identifier [ number_literal ])) )) (compound_statement "{\n            iVar5 = 2;\n            goto LAB_00087974;\n          }" { (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_00087974;" goto statement_identifier ;) })) (expression_statement "param_3 = param_3 - (piVar9[7] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[7] + 1)" identifier = (binary_expression "param_3 - (piVar9[7] + 1)" identifier - (parenthesized_expression "(piVar9[7] + 1)" ( (binary_expression "piVar9[7] + 1" (subscript_expression "piVar9[7]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (if_statement "if (piVar9[8] < param_3) {\n            return 0;\n          }" if (parenthesized_expression "(piVar9[8] < param_3)" ( (binary_expression "piVar9[8] < param_3" (subscript_expression "piVar9[8]" identifier [ number_literal ]) < identifier) )) (compound_statement "{\n            return 0;\n          }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" identifier = number_literal) ;) }))) (labeled_statement "LAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);" statement_identifier : (expression_statement "piVar6 = *(int **)((int)piVar9 + iVar1 + 4);" (assignment_expression "piVar6 = *(int **)((int)piVar9 + iVar1 + 4)" identifier = (pointer_expression "*(int **)((int)piVar9 + iVar1 + 4)" * (cast_expression "(int **)((int)piVar9 + iVar1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)piVar9 + iVar1 + 4)" ( (binary_expression "(int)piVar9 + iVar1 + 4" (binary_expression "(int)piVar9 + iVar1" (cast_expression "(int)piVar9" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) ))))) ;)) }) while (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "iVar1 = piVar9[10];" (assignment_expression "iVar1 = piVar9[10]" identifier = (subscript_expression "piVar9[10]" identifier [ number_literal ])) ;) (expression_statement "piVar8 = piVar9 + iVar5 + 1;" (assignment_expression "piVar8 = piVar9 + iVar5 + 1" identifier = (binary_expression "piVar9 + iVar5 + 1" (binary_expression "piVar9 + iVar5" identifier + identifier) + number_literal)) ;) (if_statement "if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" statement_identifier : (if_statement "if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" if (parenthesized_expression "(piVar8 == piVar9 + 1)" ( (binary_expression "piVar8 == piVar9 + 1" identifier == (binary_expression "piVar9 + 1" identifier + number_literal)) )) (compound_statement "{\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }" { (expression_statement "piVar9[3] = piVar9[2];" (assignment_expression "piVar9[3] = piVar9[2]" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (subscript_expression "piVar9[2]" identifier [ number_literal ])) ;) (expression_statement "piVar9[7] = piVar9[6];" (assignment_expression "piVar9[7] = piVar9[6]" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = (subscript_expression "piVar9[6]" identifier [ number_literal ])) ;) (expression_statement "piVar9[10] = piVar9[9];" (assignment_expression "piVar9[10] = piVar9[9]" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = (subscript_expression "piVar9[9]" identifier [ number_literal ])) ;) (expression_statement "piVar9[2] = (int)piVar6;" (assignment_expression "piVar9[2] = (int)piVar6" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar10;" (assignment_expression "piVar9[6] = iVar10" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[9] = iVar11;" (assignment_expression "piVar9[9] = iVar11" (subscript_expression "piVar9[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[1] = (int)piVar3;" (assignment_expression "piVar9[1] = (int)piVar3" (subscript_expression "piVar9[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[5] = iVar5;" (assignment_expression "piVar9[5] = iVar5" (subscript_expression "piVar9[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" else (compound_statement "{\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" { (expression_statement "piVar9[3] = (int)piVar6;" (assignment_expression "piVar9[3] = (int)piVar6" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[7] = iVar10;" (assignment_expression "piVar9[7] = iVar10" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[10] = iVar11;" (assignment_expression "piVar9[10] = iVar11" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[2] = (int)piVar3;" (assignment_expression "piVar9[2] = (int)piVar3" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar5;" (assignment_expression "piVar9[6] = iVar5" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) })))) (if_statement "if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[1] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[1] = piVar9" (pointer_expression "*(undefined4 *)piVar9[1]" * (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[2] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[2] = piVar9" (pointer_expression "*(undefined4 *)piVar9[2]" * (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[3] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[3] = piVar9" (pointer_expression "*(undefined4 *)piVar9[3]" * (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ]))) = identifier) ;) })) }) (else_clause "else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" else (compound_statement "{\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (if_statement "if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" if (parenthesized_expression "(piVar9[0xb] == 0)" ( (binary_expression "piVar9[0xb] == 0" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" else (compound_statement "{\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740)" identifier = (cast_expression "(code *)(PTR_LAB_000beb8c + 0x7740)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_000beb8c + 0x7740)" ( (binary_expression "PTR_LAB_000beb8c + 0x7740" identifier + number_literal) )))) ;) (expression_statement "piVar7 = (int *)0x0;" (assignment_expression "piVar7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_2c = piVar6;" (assignment_expression "local_2c = piVar6" identifier = identifier) ;) (do_statement "do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);" do (compound_statement "{\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          }" { (expression_statement "piVar6 = piVar9;" (assignment_expression "piVar6 = piVar9" identifier = identifier) ;) (expression_statement "piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" identifier = (cast_expression "(int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" ( (pointer_expression "*(code *)PTR_safemalloc_000be3d4" * (cast_expression "(code *)PTR_safemalloc_000be3d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "*piVar3 = *piVar6;" (assignment_expression "*piVar3 = *piVar6" (pointer_expression "*piVar3" * identifier) = (pointer_expression "*piVar6" * identifier)) ;) (if_statement "if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" if (parenthesized_expression "(piVar8 == piVar6 + 1)" ( (binary_expression "piVar8 == piVar6 + 1" identifier == (binary_expression "piVar6 + 1" identifier + number_literal)) )) (compound_statement "{\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" { (expression_statement "piVar3[1] = (int)piVar7;" (assignment_expression "piVar3[1] = (int)piVar7" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[5] = iVar5;" (assignment_expression "piVar3[5] = iVar5" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[9] = iVar11;" (assignment_expression "piVar3[9] = iVar11" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[2] = (int)local_2c;" (assignment_expression "piVar3[2] = (int)local_2c" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[6] = iVar10;" (assignment_expression "piVar3[6] = iVar10" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[10] = piVar6[9];" (assignment_expression "piVar3[10] = piVar6[9]" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[3] = piVar6[2];" (assignment_expression "piVar3[3] = piVar6[2]" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[7] = piVar6[6];" (assignment_expression "piVar3[7] = piVar6[6]" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = (subscript_expression "piVar6[6]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = piVar6[10];" (assignment_expression "iVar11 = piVar6[10]" identifier = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = piVar6[3];" (assignment_expression "piVar6[1] = piVar6[3]" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "piVar6[5] = piVar6[7];" (assignment_expression "piVar6[5] = piVar6[7]" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[7]" identifier [ number_literal ])) ;) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[4]" identifier [ number_literal ])) ;) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[8]" identifier [ number_literal ])) ;) }) (else_clause "else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" else (if_statement "if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" if (parenthesized_expression "(piVar8 == piVar6 + 2)" ( (binary_expression "piVar8 == piVar6 + 2" identifier == (binary_expression "piVar6 + 2" identifier + number_literal)) )) (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" { (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = (int)piVar7;" (assignment_expression "piVar3[2] = (int)piVar7" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[6] = iVar5;" (assignment_expression "piVar3[6] = iVar5" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[10] = iVar11;" (assignment_expression "piVar3[10] = iVar11" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar3[3] = (int)local_2c;" (assignment_expression "piVar3[3] = (int)local_2c" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[7] = iVar10;" (assignment_expression "piVar3[7] = iVar10" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar11 = piVar6[10];" (assignment_expression "iVar11 = piVar6[10]" identifier = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = piVar6[3];" (assignment_expression "piVar6[1] = piVar6[3]" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "piVar6[5] = piVar6[7];" (assignment_expression "piVar6[5] = piVar6[7]" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[7]" identifier [ number_literal ])) ;) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[4]" identifier [ number_literal ])) ;) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[8]" identifier [ number_literal ])) ;) }) (else_clause "else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" else (if_statement "if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" if (parenthesized_expression "(piVar8 == piVar6 + 3)" ( (binary_expression "piVar8 == piVar6 + 3" identifier == (binary_expression "piVar6 + 3" identifier + number_literal)) )) (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" { (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar6[2];" (assignment_expression "piVar3[2] = piVar6[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[6] = piVar6[6];" (assignment_expression "piVar3[6] = piVar6[6]" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[6]" identifier [ number_literal ])) ;) (expression_statement "piVar3[10] = piVar6[10];" (assignment_expression "piVar3[10] = piVar6[10]" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar3[3] = (int)piVar7;" (assignment_expression "piVar3[3] = (int)piVar7" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar3[7] = iVar5;" (assignment_expression "piVar3[7] = iVar5" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[1] = (int)local_2c;" (assignment_expression "piVar6[1] = (int)local_2c" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[5] = iVar10;" (assignment_expression "piVar6[5] = iVar10" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[4]" identifier [ number_literal ])) ;) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[8]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" else (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" { (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" identifier [ number_literal ]) = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" identifier [ number_literal ]) = (subscript_expression "piVar6[5]" identifier [ number_literal ])) ;) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" identifier [ number_literal ]) = (subscript_expression "piVar6[9]" identifier [ number_literal ])) ;) (expression_statement "piVar3[2] = piVar6[2];" (assignment_expression "piVar3[2] = piVar6[2]" (subscript_expression "piVar3[2]" identifier [ number_literal ]) = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "piVar3[6] = piVar6[6];" (assignment_expression "piVar3[6] = piVar6[6]" (subscript_expression "piVar3[6]" identifier [ number_literal ]) = (subscript_expression "piVar6[6]" identifier [ number_literal ])) ;) (expression_statement "piVar3[10] = piVar6[10];" (assignment_expression "piVar3[10] = piVar6[10]" (subscript_expression "piVar3[10]" identifier [ number_literal ]) = (subscript_expression "piVar6[10]" identifier [ number_literal ])) ;) (expression_statement "piVar3[3] = piVar6[3];" (assignment_expression "piVar3[3] = piVar6[3]" (subscript_expression "piVar3[3]" identifier [ number_literal ]) = (subscript_expression "piVar6[3]" identifier [ number_literal ])) ;) (expression_statement "piVar3[7] = piVar6[7];" (assignment_expression "piVar3[7] = piVar6[7]" (subscript_expression "piVar3[7]" identifier [ number_literal ]) = (subscript_expression "piVar6[7]" identifier [ number_literal ])) ;) (expression_statement "piVar6[1] = (int)piVar7;" (assignment_expression "piVar6[1] = (int)piVar7" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[5] = iVar5;" (assignment_expression "piVar6[5] = iVar5" (subscript_expression "piVar6[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[9] = iVar11;" (assignment_expression "piVar6[9] = iVar11" (subscript_expression "piVar6[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar6[2] = (int)local_2c;" (assignment_expression "piVar6[2] = (int)local_2c" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = (cast_expression "(int)local_2c" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar6[6] = iVar10;" (assignment_expression "piVar6[6] = iVar10" (subscript_expression "piVar6[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar11 = piVar6[0xb];" (assignment_expression "iVar11 = piVar6[0xb]" identifier = (subscript_expression "piVar6[0xb]" identifier [ number_literal ])) ;) }))))))) (expression_statement "piVar6[3] = 0;" (assignment_expression "piVar6[3] = 0" (subscript_expression "piVar6[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[4] = 0;" (assignment_expression "piVar6[4] = 0" (subscript_expression "piVar6[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[7] = 0;" (assignment_expression "piVar6[7] = 0" (subscript_expression "piVar6[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[8] = 0;" (assignment_expression "piVar6[8] = 0" (subscript_expression "piVar6[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[10] = 0;" (assignment_expression "piVar6[10] = 0" (subscript_expression "piVar6[10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar6[0xb] = 0;" (assignment_expression "piVar6[0xb] = 0" (subscript_expression "piVar6[0xb]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar3[0xb] = 0;" (assignment_expression "piVar3[0xb] = 0" (subscript_expression "piVar3[0xb]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }" if (parenthesized_expression "((undefined4 *)piVar3[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar3[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar3[1] = piVar3;\n            }" { (expression_statement "*(undefined4 *)piVar3[1] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[1] = piVar3" (pointer_expression "*(undefined4 *)piVar3[1]" * (cast_expression "(undefined4 *)piVar3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }" if (parenthesized_expression "((undefined4 *)piVar3[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar3[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar3[2] = piVar3;\n            }" { (expression_statement "*(undefined4 *)piVar3[2] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[2] = piVar3" (pointer_expression "*(undefined4 *)piVar3[2]" * (cast_expression "(undefined4 *)piVar3[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[2]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }" if (parenthesized_expression "((undefined4 *)piVar3[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar3[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar3[3] = piVar3;\n            }" { (expression_statement "*(undefined4 *)piVar3[3] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[3] = piVar3" (pointer_expression "*(undefined4 *)piVar3[3]" * (cast_expression "(undefined4 *)piVar3[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[3]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }" if (parenthesized_expression "((undefined4 *)piVar6[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar6[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar6[1] = piVar6;\n            }" { (expression_statement "*(undefined4 *)piVar6[1] = piVar6;" (assignment_expression "*(undefined4 *)piVar6[1] = piVar6" (pointer_expression "*(undefined4 *)piVar6[1]" * (cast_expression "(undefined4 *)piVar6[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }" if (parenthesized_expression "((undefined4 *)piVar6[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar6[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              *(undefined4 *)piVar6[2] = piVar6;\n            }" { (expression_statement "*(undefined4 *)piVar6[2] = piVar6;" (assignment_expression "*(undefined4 *)piVar6[2] = piVar6" (pointer_expression "*(undefined4 *)piVar6[2]" * (cast_expression "(undefined4 *)piVar6[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[2]" identifier [ number_literal ]))) = identifier) ;) })) (expression_statement "iVar5 = (*pcVar2)(piVar3);" (assignment_expression "iVar5 = (*pcVar2)(piVar3)" identifier = (call_expression "(*pcVar2)(piVar3)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(piVar3)" ( identifier )))) ;) (expression_statement "iVar10 = (*pcVar2)(piVar6);" (assignment_expression "iVar10 = (*pcVar2)(piVar6)" identifier = (call_expression "(*pcVar2)(piVar6)" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "(piVar6)" ( identifier )))) ;) (expression_statement "piVar9 = (int *)*piVar6;" (assignment_expression "piVar9 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if (piVar9 == (int *)0x0) goto LAB_00087f28;" if (parenthesized_expression "(piVar9 == (int *)0x0)" ( (binary_expression "piVar9 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00087f28;" goto statement_identifier ;)) (expression_statement "piVar8 = piVar9 + 1;" (assignment_expression "piVar8 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) (if_statement "if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }" if (parenthesized_expression "(((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6))" ( (binary_expression "((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)" (parenthesized_expression "((int *)piVar9[1] != piVar6)" ( (binary_expression "(int *)piVar9[1] != piVar6" (cast_expression "(int *)piVar9[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ])) != identifier) )) && (parenthesized_expression "(piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)" ( (comma_expression "piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6" (assignment_expression "piVar8 = piVar9 + 2" identifier = (binary_expression "piVar9 + 2" identifier + number_literal)) , (binary_expression "(int *)piVar9[2] != piVar6" (cast_expression "(int *)piVar9[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ])) != identifier)) ))) )) (compound_statement "{\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }" { (if_statement "if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }" if (parenthesized_expression "((int *)piVar9[3] == piVar6)" ( (binary_expression "(int *)piVar9[3] == piVar6" (cast_expression "(int *)piVar9[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\n                piVar8 = piVar9 + 3;\n              }" { (expression_statement "piVar8 = piVar9 + 3;" (assignment_expression "piVar8 = piVar9 + 3" identifier = (binary_expression "piVar9 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n                piVar8 = piVar9 + 4;\n              }" else (compound_statement "{\n                piVar8 = piVar9 + 4;\n              }" { (expression_statement "piVar8 = piVar9 + 4;" (assignment_expression "piVar8 = piVar9 + 4" identifier = (binary_expression "piVar9 + 4" identifier + number_literal)) ;) }))) })) (expression_statement "iVar1 = piVar9[10];" (assignment_expression "iVar1 = piVar9[10]" identifier = (subscript_expression "piVar9[10]" identifier [ number_literal ])) ;) (if_statement "if (iVar1 == 0) goto LAB_00087a64;" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00087a64;" goto statement_identifier ;)) (expression_statement "piVar7 = piVar3;" (assignment_expression "piVar7 = piVar3" identifier = identifier) ;) (expression_statement "local_2c = piVar6;" (assignment_expression "local_2c = piVar6" identifier = identifier) ;) }) while (parenthesized_expression "(piVar9[0xb] != 0)" ( (binary_expression "piVar9[0xb] != 0" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) != number_literal) )) ;) }))) (if_statement "if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" if (parenthesized_expression "(piVar8 == piVar9 + 1)" ( (binary_expression "piVar8 == piVar9 + 1" identifier == (binary_expression "piVar9 + 1" identifier + number_literal)) )) (compound_statement "{\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }" { (expression_statement "piVar9[4] = piVar9[3];" (assignment_expression "piVar9[4] = piVar9[3]" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (subscript_expression "piVar9[3]" identifier [ number_literal ])) ;) (expression_statement "piVar9[8] = piVar9[7];" (assignment_expression "piVar9[8] = piVar9[7]" (subscript_expression "piVar9[8]" identifier [ number_literal ]) = (subscript_expression "piVar9[7]" identifier [ number_literal ])) ;) (expression_statement "piVar9[0xb] = iVar1;" (assignment_expression "piVar9[0xb] = iVar1" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[3] = piVar9[2];" (assignment_expression "piVar9[3] = piVar9[2]" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (subscript_expression "piVar9[2]" identifier [ number_literal ])) ;) (expression_statement "piVar9[7] = piVar9[6];" (assignment_expression "piVar9[7] = piVar9[6]" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = (subscript_expression "piVar9[6]" identifier [ number_literal ])) ;) (expression_statement "piVar9[10] = piVar9[9];" (assignment_expression "piVar9[10] = piVar9[9]" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = (subscript_expression "piVar9[9]" identifier [ number_literal ])) ;) (expression_statement "piVar9[2] = (int)piVar6;" (assignment_expression "piVar9[2] = (int)piVar6" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar10;" (assignment_expression "piVar9[6] = iVar10" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[9] = iVar11;" (assignment_expression "piVar9[9] = iVar11" (subscript_expression "piVar9[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[1] = (int)piVar3;" (assignment_expression "piVar9[1] = (int)piVar3" (subscript_expression "piVar9[1]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[5] = iVar5;" (assignment_expression "piVar9[5] = iVar5" (subscript_expression "piVar9[5]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" else (if_statement "if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" if (parenthesized_expression "(piVar8 == piVar9 + 2)" ( (binary_expression "piVar8 == piVar9 + 2" identifier == (binary_expression "piVar9 + 2" identifier + number_literal)) )) (compound_statement "{\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" { (expression_statement "piVar9[4] = piVar9[3];" (assignment_expression "piVar9[4] = piVar9[3]" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (subscript_expression "piVar9[3]" identifier [ number_literal ])) ;) (expression_statement "piVar9[8] = piVar9[7];" (assignment_expression "piVar9[8] = piVar9[7]" (subscript_expression "piVar9[8]" identifier [ number_literal ]) = (subscript_expression "piVar9[7]" identifier [ number_literal ])) ;) (expression_statement "piVar9[0xb] = iVar1;" (assignment_expression "piVar9[0xb] = iVar1" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[3] = (int)piVar6;" (assignment_expression "piVar9[3] = (int)piVar6" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[7] = iVar10;" (assignment_expression "piVar9[7] = iVar10" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[10] = iVar11;" (assignment_expression "piVar9[10] = iVar11" (subscript_expression "piVar9[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[2] = (int)piVar3;" (assignment_expression "piVar9[2] = (int)piVar3" (subscript_expression "piVar9[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[6] = iVar5;" (assignment_expression "piVar9[6] = iVar5" (subscript_expression "piVar9[6]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" else (compound_statement "{\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" { (expression_statement "piVar9[4] = (int)piVar6;" (assignment_expression "piVar9[4] = (int)piVar6" (subscript_expression "piVar9[4]" identifier [ number_literal ]) = (cast_expression "(int)piVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[8] = iVar10;" (assignment_expression "piVar9[8] = iVar10" (subscript_expression "piVar9[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[0xb] = iVar11;" (assignment_expression "piVar9[0xb] = iVar11" (subscript_expression "piVar9[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar9[3] = (int)piVar3;" (assignment_expression "piVar9[3] = (int)piVar3" (subscript_expression "piVar9[3]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "piVar9[7] = iVar5;" (assignment_expression "piVar9[7] = iVar5" (subscript_expression "piVar9[7]" identifier [ number_literal ]) = identifier) ;) }))))) (if_statement "if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[1] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[1] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[1] = piVar9" (pointer_expression "*(undefined4 *)piVar9[1]" * (cast_expression "(undefined4 *)piVar9[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[1]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[2] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[2] = piVar9" (pointer_expression "*(undefined4 *)piVar9[2]" * (cast_expression "(undefined4 *)piVar9[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[2]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[3] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[3] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[3] = piVar9" (pointer_expression "*(undefined4 *)piVar9[3]" * (cast_expression "(undefined4 *)piVar9[3]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[3]" identifier [ number_literal ]))) = identifier) ;) })) (if_statement "if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }" if (parenthesized_expression "((undefined4 *)piVar9[4] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)piVar9[4] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[4]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)piVar9[4] = piVar9;\n        }" { (expression_statement "*(undefined4 *)piVar9[4] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[4] = piVar9" (pointer_expression "*(undefined4 *)piVar9[4]" * (cast_expression "(undefined4 *)piVar9[4]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar9[4]" identifier [ number_literal ]))) = identifier) ;) })) }))) (expression_statement "iVar11 = *piVar9;" (assignment_expression "iVar11 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (while_statement "while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }" while (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }" { (expression_statement "uVar4 = FUN_00087740(piVar9);" (assignment_expression "uVar4 = FUN_00087740(piVar9)" identifier = (call_expression "FUN_00087740(piVar9)" identifier (argument_list "(piVar9)" ( identifier )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }" if (parenthesized_expression "(*(int **)(iVar11 + 4) != piVar9)" ( (binary_expression "*(int **)(iVar11 + 4) != piVar9" (pointer_expression "*(int **)(iVar11 + 4)" * (cast_expression "(int **)(iVar11 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 4)" ( (binary_expression "iVar11 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }" { (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" identifier = number_literal) ;) (if_statement "if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" if (parenthesized_expression "(*(int **)(iVar11 + 8) == piVar9)" ( (binary_expression "*(int **)(iVar11 + 8) == piVar9" (pointer_expression "*(int **)(iVar11 + 8)" * (cast_expression "(int **)(iVar11 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n            iVar5 = 1;\n          }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }) (else_clause "else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" else (if_statement "if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" if (parenthesized_expression "(*(int **)(iVar11 + 0xc) == piVar9)" ( (binary_expression "*(int **)(iVar11 + 0xc) == piVar9" (pointer_expression "*(int **)(iVar11 + 0xc)" * (cast_expression "(int **)(iVar11 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar11 + 0xc)" ( (binary_expression "iVar11 + 0xc" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n            iVar5 = 2;\n          }" { (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" identifier = number_literal) ;) })))) })) (expression_statement "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4" (pointer_expression "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4)" * (cast_expression "(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + (iVar5 + 4) * 4 + 4)" ( (binary_expression "iVar11 + (iVar5 + 4) * 4 + 4" (binary_expression "iVar11 + (iVar5 + 4) * 4" identifier + (binary_expression "(iVar5 + 4) * 4" (parenthesized_expression "(iVar5 + 4)" ( (binary_expression "iVar5 + 4" identifier + number_literal) )) * number_literal)) + number_literal) )))) = identifier) ;) (expression_statement "piVar9 = (int *)*piVar9;" (assignment_expression "piVar9 = (int *)*piVar9" identifier = (cast_expression "(int *)*piVar9" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar9" * identifier))) ;) (expression_statement "iVar11 = *piVar9;" (assignment_expression "iVar11 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) })) }))) }))) (return_statement "return param_2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT )))) ;)) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) })) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return (subscript_expression IDENT [ LIT ]) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) })) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (subscript_expression IDENT [ LIT ])) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (subscript_expression IDENT [ LIT ])) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) ))))) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))))))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = IDENT) ;) })) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })))) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * LIT)) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) }))) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_000877a0(int *param_1,int param_2,int param_3)\n\n{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}" (primitive_type "int") (function_declarator "FUN_000877a0(int *param_1,int param_2,int param_3)" (identifier "FUN_000877a0") (parameter_list "(int *param_1,int param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  int *piVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int *piVar6;\n  int *piVar7;\n  int *piVar8;\n  int *piVar9;\n  int iVar10;\n  int iVar11;\n  int *local_2c;\n  \n  if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }\n  return param_2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int *piVar9;" (primitive_type "int") (pointer_declarator "*piVar9" (* "*") (identifier "piVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (if_statement "if (*param_1 == 0) {\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }\n  else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*param_1 == 0)" (( "(") (binary_expression "*param_1 == 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n    *param_1 = iVar11;\n    *(undefined4 *)(iVar11 + 0x2c) = 0;\n    *(undefined4 *)(*param_1 + 0x28) = 0;\n    *(undefined4 *)(*param_1 + 8) = 0;\n    *(undefined4 *)(*param_1 + 4) = 0;\n    *(undefined4 *)(*param_1 + 0x10) = 0;\n    *(undefined4 *)(*param_1 + 0xc) = 0;\n    *(undefined4 *)(*param_1 + 0x18) = 0;\n    *(undefined4 *)(*param_1 + 0x14) = 0;\n    *(undefined4 *)(*param_1 + 0x20) = 0;\n    *(undefined4 *)(*param_1 + 0x1c) = 0;\n    *(undefined4 *)*param_1 = 0;\n    *(int *)(*param_1 + 0x24) = param_2;\n  }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000be3d4" (* "*") (cast_expression "(code *)PTR_safemalloc_000be3d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000be3d4"))) () ")")) (argument_list "(1,0x30)" (( "(") (number_literal "1") (, ",") (number_literal "0x30") () ")")))) (; ";")) (expression_statement "*param_1 = iVar11;" (assignment_expression "*param_1 = iVar11" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "*(undefined4 *)(iVar11 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(iVar11 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(iVar11 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x2c)" (( "(") (binary_expression "iVar11 + 0x2c" (identifier "iVar11") (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x28)" (( "(") (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 8) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 8) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 4)" (( "(") (binary_expression "*param_1 + 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x18) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x18) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x14) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x14) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x14)" (( "(") (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x20)" (( "(") (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x1c)" (( "(") (binary_expression "*param_1 + 0x1c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)*param_1 = 0;" (assignment_expression "*(undefined4 *)*param_1 = 0" (pointer_expression "*(undefined4 *)*param_1" (* "*") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(*param_1 + 0x24) = param_2;" (assignment_expression "*(int *)(*param_1 + 0x24) = param_2" (pointer_expression "*(int *)(*param_1 + 0x24)" (* "*") (cast_expression "(int *)(*param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x24)" (( "(") (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    piVar6 = (int *)*param_1;\n    iVar11 = param_2;\n    if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }\n  }" ({ "{") (expression_statement "piVar6 = (int *)*param_1;" (assignment_expression "piVar6 = (int *)*param_1" (identifier "piVar6") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (expression_statement "iVar11 = param_2;" (assignment_expression "iVar11 = param_2" (identifier "iVar11") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (piVar6 == (int *)0x0) {\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }\n    else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" (if "if") (parenthesized_expression "(piVar6 == (int *)0x0)" (( "(") (binary_expression "piVar6 == (int *)0x0" (identifier "piVar6") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      iVar10 = 0;\n      iVar5 = 0;\n      piVar3 = (int *)0x0;\nLAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n      *param_1 = iVar1;\n      *(int **)(iVar1 + 4) = piVar3;\n      *(int *)(*param_1 + 0x14) = iVar5;\n      *(int *)(*param_1 + 0x24) = iVar11;\n      *(int **)(*param_1 + 8) = piVar6;\n      *(int *)(*param_1 + 0x18) = iVar10;\n      *(undefined4 *)(*param_1 + 0x28) = 0;\n      *(undefined4 *)(*param_1 + 0xc) = 0;\n      *(undefined4 *)(*param_1 + 0x1c) = 0;\n      *(undefined4 *)(*param_1 + 0x2c) = 0;\n      *(undefined4 *)(*param_1 + 0x10) = 0;\n      *(undefined4 *)(*param_1 + 0x20) = 0;\n      *(undefined4 *)*param_1 = 0;\n      iVar11 = *param_1;\n      if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }\n      if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }\n    }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_00087f28:\n      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (statement_identifier "LAB_00087f28") (: ":") (expression_statement "iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000be3d4" (* "*") (cast_expression "(code *)PTR_safemalloc_000be3d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000be3d4"))) () ")")) (argument_list "(1,0x30)" (( "(") (number_literal "1") (, ",") (number_literal "0x30") () ")")))) (; ";"))) (expression_statement "*param_1 = iVar1;" (assignment_expression "*param_1 = iVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(int **)(iVar1 + 4) = piVar3;" (assignment_expression "*(int **)(iVar1 + 4) = piVar3" (pointer_expression "*(int **)(iVar1 + 4)" (* "*") (cast_expression "(int **)(iVar1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 4)" (( "(") (binary_expression "iVar1 + 4" (identifier "iVar1") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "piVar3")) (; ";")) (expression_statement "*(int *)(*param_1 + 0x14) = iVar5;" (assignment_expression "*(int *)(*param_1 + 0x14) = iVar5" (pointer_expression "*(int *)(*param_1 + 0x14)" (* "*") (cast_expression "(int *)(*param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x14)" (( "(") (binary_expression "*param_1 + 0x14" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(int *)(*param_1 + 0x24) = iVar11;" (assignment_expression "*(int *)(*param_1 + 0x24) = iVar11" (pointer_expression "*(int *)(*param_1 + 0x24)" (* "*") (cast_expression "(int *)(*param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x24)" (( "(") (binary_expression "*param_1 + 0x24" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "*(int **)(*param_1 + 8) = piVar6;" (assignment_expression "*(int **)(*param_1 + 8) = piVar6" (pointer_expression "*(int **)(*param_1 + 8)" (* "*") (cast_expression "(int **)(*param_1 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "piVar6")) (; ";")) (expression_statement "*(int *)(*param_1 + 0x18) = iVar10;" (assignment_expression "*(int *)(*param_1 + 0x18) = iVar10" (pointer_expression "*(int *)(*param_1 + 0x18)" (* "*") (cast_expression "(int *)(*param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x18)" (( "(") (binary_expression "*param_1 + 0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x28) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x28) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x28)" (( "(") (binary_expression "*param_1 + 0x28" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0xc) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0xc) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xc)" (( "(") (binary_expression "*param_1 + 0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x1c)" (( "(") (binary_expression "*param_1 + 0x1c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x2c) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x2c) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x2c)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x2c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x2c)" (( "(") (binary_expression "*param_1 + 0x2c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x2c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x10) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x10) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(*param_1 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(*param_1 + 0x20) = 0" (pointer_expression "*(undefined4 *)(*param_1 + 0x20)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x20)" (( "(") (binary_expression "*param_1 + 0x20" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)*param_1 = 0;" (assignment_expression "*(undefined4 *)*param_1 = 0" (pointer_expression "*(undefined4 *)*param_1" (* "*") (cast_expression "(undefined4 *)*param_1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar11 = *param_1;" (assignment_expression "iVar11 = *param_1" (identifier "iVar11") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int **)(iVar11 + 4) != (int *)0x0) {\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }" (if "if") (parenthesized_expression "(*(int **)(iVar11 + 4) != (int *)0x0)" (( "(") (binary_expression "*(int **)(iVar11 + 4) != (int *)0x0" (pointer_expression "*(int **)(iVar11 + 4)" (* "*") (cast_expression "(int **)(iVar11 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        **(int **)(iVar11 + 4) = iVar11;\n        iVar11 = *param_1;\n      }" ({ "{") (expression_statement "**(int **)(iVar11 + 4) = iVar11;" (assignment_expression "**(int **)(iVar11 + 4) = iVar11" (pointer_expression "**(int **)(iVar11 + 4)" (* "*") (pointer_expression "*(int **)(iVar11 + 4)" (* "*") (cast_expression "(int **)(iVar11 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")"))))) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "iVar11 = *param_1;" (assignment_expression "iVar11 = *param_1" (identifier "iVar11") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (} "}"))) (if_statement "if (*(int **)(iVar11 + 8) != (int *)0x0) {\n        **(int **)(iVar11 + 8) = iVar11;\n      }" (if "if") (parenthesized_expression "(*(int **)(iVar11 + 8) != (int *)0x0)" (( "(") (binary_expression "*(int **)(iVar11 + 8) != (int *)0x0" (pointer_expression "*(int **)(iVar11 + 8)" (* "*") (cast_expression "(int **)(iVar11 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        **(int **)(iVar11 + 8) = iVar11;\n      }" ({ "{") (expression_statement "**(int **)(iVar11 + 8) = iVar11;" (assignment_expression "**(int **)(iVar11 + 8) = iVar11" (pointer_expression "**(int **)(iVar11 + 8)" (* "*") (pointer_expression "*(int **)(iVar11 + 8)" (* "*") (cast_expression "(int **)(iVar11 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")"))))) (= "=") (identifier "iVar11")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" (else "else") (compound_statement "{\n      do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);\n      iVar1 = piVar9[10];\n      piVar8 = piVar9 + iVar5 + 1;\n      if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }\n      iVar11 = *piVar9;\n      while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }\n    }" ({ "{") (do_statement "do {\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      } while (piVar6 != (int *)0x0);" (do "do") (compound_statement "{\n        piVar9 = piVar6;\n        if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }\nLAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);\n      }" ({ "{") (expression_statement "piVar9 = piVar6;" (assignment_expression "piVar9 = piVar6" (identifier "piVar9") (= "=") (identifier "piVar6")) (; ";")) (if_statement "if (param_3 < 0) {\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }\n        else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" (if "if") (parenthesized_expression "(param_3 < 0)" (( "(") (binary_expression "param_3 < 0" (identifier "param_3") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);\n          iVar5 = 0;\n          if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }\nLAB_00087974:\n          iVar1 = iVar5 << 2;\n        }" ({ "{") (expression_statement "iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2,piVar9[9])" (identifier "iVar1") (= "=") (call_expression "(*(code *)param_1[1])(param_2,piVar9[9])" (parenthesized_expression "(*(code *)param_1[1])" (( "(") (pointer_expression "*(code *)param_1[1]" (* "*") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (argument_list "(param_2,piVar9[9])" (( "(") (identifier "param_2") (, ",") (subscript_expression "piVar9[9]" (identifier "piVar9") ([ "[") (number_literal "9") (] "]")) () ")")))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (-1 < iVar1) {\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n            if (iVar1 == 0) {\n              return piVar9[9];\n            }\n            iVar5 = 1;\n            if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }\n          }" ({ "{") (if_statement "if (iVar1 == 0) {\n              return piVar9[9];\n            }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              return piVar9[9];\n            }" ({ "{") (return_statement "return piVar9[9];" (return "return") (subscript_expression "piVar9[9]" (identifier "piVar9") ([ "[") (number_literal "9") (] "]")) (; ";")) (} "}"))) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (if_statement "if (piVar9[10] != 0) {\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" (if "if") (parenthesized_expression "(piVar9[10] != 0)" (( "(") (binary_expression "piVar9[10] != 0" (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              iVar1 = (*(code *)param_1[1])(param_2);\n              iVar5 = 1;\n              if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }\n            }" ({ "{") (expression_statement "iVar1 = (*(code *)param_1[1])(param_2);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)param_1[1])(param_2)" (parenthesized_expression "(*(code *)param_1[1])" (( "(") (pointer_expression "*(code *)param_1[1]" (* "*") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (if_statement "if (-1 < iVar1) {\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n                if (iVar1 == 0) {\n                  return piVar9[10];\n                }\n                iVar5 = 2;\n                if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }\n              }" ({ "{") (if_statement "if (iVar1 == 0) {\n                  return piVar9[10];\n                }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  return piVar9[10];\n                }" ({ "{") (return_statement "return piVar9[10];" (return "return") (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]")) (; ";")) (} "}"))) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" (identifier "iVar5") (= "=") (number_literal "2")) (; ";")) (if_statement "if (piVar9[0xb] != 0) {\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" (if "if") (parenthesized_expression "(piVar9[0xb] != 0)" (( "(") (binary_expression "piVar9[0xb] != 0" (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  iVar1 = (*(code *)param_1[1])(param_2);\n                  iVar5 = 2;\n                  if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }\n                }" ({ "{") (expression_statement "iVar1 = (*(code *)param_1[1])(param_2);" (assignment_expression "iVar1 = (*(code *)param_1[1])(param_2)" (identifier "iVar1") (= "=") (call_expression "(*(code *)param_1[1])(param_2)" (parenthesized_expression "(*(code *)param_1[1])" (( "(") (pointer_expression "*(code *)param_1[1]" (* "*") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" (identifier "iVar5") (= "=") (number_literal "2")) (; ";")) (if_statement "if (-1 < iVar1) {\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" (if "if") (parenthesized_expression "(-1 < iVar1)" (( "(") (binary_expression "-1 < iVar1" (number_literal "-1") (< "<") (identifier "iVar1")) () ")")) (compound_statement "{\n                    iVar5 = 3;\n                    if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }\n                    iVar1 = 0xc;\n                    goto LAB_00087978;\n                  }" ({ "{") (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" (identifier "iVar5") (= "=") (number_literal "3")) (; ";")) (if_statement "if (iVar1 == 0) {\n                      return piVar9[0xb];\n                    }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      return piVar9[0xb];\n                    }" ({ "{") (return_statement "return piVar9[0xb];" (return "return") (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (; ";")) (} "}"))) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" (identifier "iVar1") (= "=") (number_literal "0xc")) (; ";")) (goto_statement "goto LAB_00087978;" (goto "goto") (statement_identifier "LAB_00087978") (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00087974:\n          iVar1 = iVar5 << 2;" (statement_identifier "LAB_00087974") (: ":") (expression_statement "iVar1 = iVar5 << 2;" (assignment_expression "iVar1 = iVar5 << 2" (identifier "iVar1") (= "=") (binary_expression "iVar5 << 2" (identifier "iVar5") (<< "<<") (number_literal "2"))) (; ";"))) (} "}")) (else_clause "else {\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" (else "else") (compound_statement "{\n          iVar5 = param_3;\n          if (piVar9[1] == 0) goto LAB_00087974;\n          iVar5 = 0;\n          if (param_3 <= piVar9[5]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[5] + 1);\n          iVar5 = 1;\n          if (param_3 <= piVar9[6]) goto LAB_00087974;\n          param_3 = param_3 - (piVar9[6] + 1);\n          if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }\n          param_3 = param_3 - (piVar9[7] + 1);\n          iVar5 = 3;\n          if (piVar9[8] < param_3) {\n            return 0;\n          }\n          iVar1 = 0xc;\n        }" ({ "{") (expression_statement "iVar5 = param_3;" (assignment_expression "iVar5 = param_3" (identifier "iVar5") (= "=") (identifier "param_3")) (; ";")) (if_statement "if (piVar9[1] == 0) goto LAB_00087974;" (if "if") (parenthesized_expression "(piVar9[1] == 0)" (( "(") (binary_expression "piVar9[1] == 0" (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00087974;" (goto "goto") (statement_identifier "LAB_00087974") (; ";"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 <= piVar9[5]) goto LAB_00087974;" (if "if") (parenthesized_expression "(param_3 <= piVar9[5])" (( "(") (binary_expression "param_3 <= piVar9[5]" (identifier "param_3") (<= "<=") (subscript_expression "piVar9[5]" (identifier "piVar9") ([ "[") (number_literal "5") (] "]"))) () ")")) (goto_statement "goto LAB_00087974;" (goto "goto") (statement_identifier "LAB_00087974") (; ";"))) (expression_statement "param_3 = param_3 - (piVar9[5] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[5] + 1)" (identifier "param_3") (= "=") (binary_expression "param_3 - (piVar9[5] + 1)" (identifier "param_3") (- "-") (parenthesized_expression "(piVar9[5] + 1)" (( "(") (binary_expression "piVar9[5] + 1" (subscript_expression "piVar9[5]" (identifier "piVar9") ([ "[") (number_literal "5") (] "]")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (if_statement "if (param_3 <= piVar9[6]) goto LAB_00087974;" (if "if") (parenthesized_expression "(param_3 <= piVar9[6])" (( "(") (binary_expression "param_3 <= piVar9[6]" (identifier "param_3") (<= "<=") (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]"))) () ")")) (goto_statement "goto LAB_00087974;" (goto "goto") (statement_identifier "LAB_00087974") (; ";"))) (expression_statement "param_3 = param_3 - (piVar9[6] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[6] + 1)" (identifier "param_3") (= "=") (binary_expression "param_3 - (piVar9[6] + 1)" (identifier "param_3") (- "-") (parenthesized_expression "(piVar9[6] + 1)" (( "(") (binary_expression "piVar9[6] + 1" (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (param_3 <= piVar9[7]) {\n            iVar5 = 2;\n            goto LAB_00087974;\n          }" (if "if") (parenthesized_expression "(param_3 <= piVar9[7])" (( "(") (binary_expression "param_3 <= piVar9[7]" (identifier "param_3") (<= "<=") (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]"))) () ")")) (compound_statement "{\n            iVar5 = 2;\n            goto LAB_00087974;\n          }" ({ "{") (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" (identifier "iVar5") (= "=") (number_literal "2")) (; ";")) (goto_statement "goto LAB_00087974;" (goto "goto") (statement_identifier "LAB_00087974") (; ";")) (} "}"))) (expression_statement "param_3 = param_3 - (piVar9[7] + 1);" (assignment_expression "param_3 = param_3 - (piVar9[7] + 1)" (identifier "param_3") (= "=") (binary_expression "param_3 - (piVar9[7] + 1)" (identifier "param_3") (- "-") (parenthesized_expression "(piVar9[7] + 1)" (( "(") (binary_expression "piVar9[7] + 1" (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" (identifier "iVar5") (= "=") (number_literal "3")) (; ";")) (if_statement "if (piVar9[8] < param_3) {\n            return 0;\n          }" (if "if") (parenthesized_expression "(piVar9[8] < param_3)" (( "(") (binary_expression "piVar9[8] < param_3" (subscript_expression "piVar9[8]" (identifier "piVar9") ([ "[") (number_literal "8") (] "]")) (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n            return 0;\n          }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar1 = 0xc;" (assignment_expression "iVar1 = 0xc" (identifier "iVar1") (= "=") (number_literal "0xc")) (; ";")) (} "}")))) (labeled_statement "LAB_00087978:\n        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);" (statement_identifier "LAB_00087978") (: ":") (expression_statement "piVar6 = *(int **)((int)piVar9 + iVar1 + 4);" (assignment_expression "piVar6 = *(int **)((int)piVar9 + iVar1 + 4)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)((int)piVar9 + iVar1 + 4)" (* "*") (cast_expression "(int **)((int)piVar9 + iVar1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)piVar9 + iVar1 + 4)" (( "(") (binary_expression "(int)piVar9 + iVar1 + 4" (binary_expression "(int)piVar9 + iVar1" (cast_expression "(int)piVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar9")) (+ "+") (identifier "iVar1")) (+ "+") (number_literal "4")) () ")"))))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "iVar1 = piVar9[10];" (assignment_expression "iVar1 = piVar9[10]" (identifier "iVar1") (= "=") (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "piVar8 = piVar9 + iVar5 + 1;" (assignment_expression "piVar8 = piVar9 + iVar5 + 1" (identifier "piVar8") (= "=") (binary_expression "piVar9 + iVar5 + 1" (binary_expression "piVar9 + iVar5" (identifier "piVar9") (+ "+") (identifier "iVar5")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar1 == 0) {\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }\n      else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar10 = 0;\n        iVar5 = 0;\n        piVar6 = (int *)0x0;\n        piVar3 = (int *)0x0;\nLAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n      }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" (identifier "piVar6") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (labeled_statement "LAB_00087a64:\n        if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" (statement_identifier "LAB_00087a64") (: ":") (if_statement "if (piVar8 == piVar9 + 1) {\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" (if "if") (parenthesized_expression "(piVar8 == piVar9 + 1)" (( "(") (binary_expression "piVar8 == piVar9 + 1" (identifier "piVar8") (== "==") (binary_expression "piVar9 + 1" (identifier "piVar9") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }" ({ "{") (expression_statement "piVar9[3] = piVar9[2];" (assignment_expression "piVar9[3] = piVar9[2]" (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar9[7] = piVar9[6];" (assignment_expression "piVar9[7] = piVar9[6]" (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]")) (= "=") (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "piVar9[10] = piVar9[9];" (assignment_expression "piVar9[10] = piVar9[9]" (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]")) (= "=") (subscript_expression "piVar9[9]" (identifier "piVar9") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "piVar9[2] = (int)piVar6;" (assignment_expression "piVar9[2] = (int)piVar6" (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6"))) (; ";")) (expression_statement "piVar9[6] = iVar10;" (assignment_expression "piVar9[6] = iVar10" (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar9[9] = iVar11;" (assignment_expression "piVar9[9] = iVar11" (subscript_expression "piVar9[9]" (identifier "piVar9") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar9[1] = (int)piVar3;" (assignment_expression "piVar9[1] = (int)piVar3" (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "piVar9[5] = iVar5;" (assignment_expression "piVar9[5] = iVar5" (subscript_expression "piVar9[5]" (identifier "piVar9") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" (else "else") (compound_statement "{\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" ({ "{") (expression_statement "piVar9[3] = (int)piVar6;" (assignment_expression "piVar9[3] = (int)piVar6" (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6"))) (; ";")) (expression_statement "piVar9[7] = iVar10;" (assignment_expression "piVar9[7] = iVar10" (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar9[10] = iVar11;" (assignment_expression "piVar9[10] = iVar11" (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar9[2] = (int)piVar3;" (assignment_expression "piVar9[2] = (int)piVar3" (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "piVar9[6] = iVar5;" (assignment_expression "piVar9[6] = iVar5" (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}"))))) (if_statement "if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[1] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[1] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[1] = piVar9" (pointer_expression "*(undefined4 *)piVar9[1]" (* "*") (cast_expression "(undefined4 *)piVar9[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[2] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[2] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[2] = piVar9" (pointer_expression "*(undefined4 *)piVar9[2]" (* "*") (cast_expression "(undefined4 *)piVar9[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[3] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[3] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[3] = piVar9" (pointer_expression "*(undefined4 *)piVar9[3]" (* "*") (cast_expression "(undefined4 *)piVar9[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" (else "else") (compound_statement "{\n        iVar10 = 0;\n        if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }\n        if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }\n        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }\n        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }\n        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }\n        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }\n      }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (piVar9[0xb] == 0) {\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }\n        else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" (if "if") (parenthesized_expression "(piVar9[0xb] == 0)" (( "(") (binary_expression "piVar9[0xb] == 0" (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar5 = 0;\n          piVar6 = (int *)0x0;\n          piVar3 = (int *)0x0;\n        }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6 = (int *)0x0;" (assignment_expression "piVar6 = (int *)0x0" (identifier "piVar6") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" (else "else") (compound_statement "{\n          iVar5 = 0;\n          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);\n          piVar7 = (int *)0x0;\n          local_2c = piVar6;\n          do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);\n        }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);" (assignment_expression "pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740)" (identifier "pcVar2") (= "=") (cast_expression "(code *)(PTR_LAB_000beb8c + 0x7740)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_000beb8c + 0x7740)" (( "(") (binary_expression "PTR_LAB_000beb8c + 0x7740" (identifier "PTR_LAB_000beb8c") (+ "+") (number_literal "0x7740")) () ")")))) (; ";")) (expression_statement "piVar7 = (int *)0x0;" (assignment_expression "piVar7 = (int *)0x0" (identifier "piVar7") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_2c = piVar6;" (assignment_expression "local_2c = piVar6" (identifier "local_2c") (= "=") (identifier "piVar6")) (; ";")) (do_statement "do {\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          } while (piVar9[0xb] != 0);" (do "do") (compound_statement "{\n            piVar6 = piVar9;\n            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);\n            *piVar3 = *piVar6;\n            if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }\n            piVar6[3] = 0;\n            piVar6[4] = 0;\n            piVar3[4] = 0;\n            piVar6[7] = 0;\n            piVar6[8] = 0;\n            piVar3[8] = 0;\n            piVar6[10] = 0;\n            piVar6[0xb] = 0;\n            piVar3[0xb] = 0;\n            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }\n            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }\n            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }\n            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }\n            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }\n            iVar5 = (*pcVar2)(piVar3);\n            iVar10 = (*pcVar2)(piVar6);\n            piVar9 = (int *)*piVar6;\n            if (piVar9 == (int *)0x0) goto LAB_00087f28;\n            piVar8 = piVar9 + 1;\n            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }\n            iVar1 = piVar9[10];\n            if (iVar1 == 0) goto LAB_00087a64;\n            piVar7 = piVar3;\n            local_2c = piVar6;\n          }" ({ "{") (expression_statement "piVar6 = piVar9;" (assignment_expression "piVar6 = piVar9" (identifier "piVar6") (= "=") (identifier "piVar9")) (; ";")) (expression_statement "piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);" (assignment_expression "piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (identifier "piVar3") (= "=") (cast_expression "(int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_safemalloc_000be3d4)(1,0x30)" (parenthesized_expression "(*(code *)PTR_safemalloc_000be3d4)" (( "(") (pointer_expression "*(code *)PTR_safemalloc_000be3d4" (* "*") (cast_expression "(code *)PTR_safemalloc_000be3d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_safemalloc_000be3d4"))) () ")")) (argument_list "(1,0x30)" (( "(") (number_literal "1") (, ",") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "*piVar3 = *piVar6;" (assignment_expression "*piVar3 = *piVar6" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (if_statement "if (piVar8 == piVar6 + 1) {\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" (if "if") (parenthesized_expression "(piVar8 == piVar6 + 1)" (( "(") (binary_expression "piVar8 == piVar6 + 1" (identifier "piVar8") (== "==") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n              piVar3[1] = (int)piVar7;\n              piVar3[5] = iVar5;\n              piVar3[9] = iVar11;\n              piVar3[2] = (int)local_2c;\n              piVar3[6] = iVar10;\n              piVar3[10] = piVar6[9];\n              piVar3[3] = piVar6[2];\n              piVar3[7] = piVar6[6];\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" ({ "{") (expression_statement "piVar3[1] = (int)piVar7;" (assignment_expression "piVar3[1] = (int)piVar7" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7"))) (; ";")) (expression_statement "piVar3[5] = iVar5;" (assignment_expression "piVar3[5] = iVar5" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "piVar3[9] = iVar11;" (assignment_expression "piVar3[9] = iVar11" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar3[2] = (int)local_2c;" (assignment_expression "piVar3[2] = (int)local_2c" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "piVar3[6] = iVar10;" (assignment_expression "piVar3[6] = iVar10" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar3[10] = piVar6[9];" (assignment_expression "piVar3[10] = piVar6[9]" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "piVar3[3] = piVar6[2];" (assignment_expression "piVar3[3] = piVar6[2]" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar3[7] = piVar6[6];" (assignment_expression "piVar3[7] = piVar6[6]" (subscript_expression "piVar3[7]" (identifier "piVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "iVar11 = piVar6[10];" (assignment_expression "iVar11 = piVar6[10]" (identifier "iVar11") (= "=") (subscript_expression "piVar6[10]" (identifier "piVar6") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "piVar6[1] = piVar6[3];" (assignment_expression "piVar6[1] = piVar6[3]" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar6[5] = piVar6[7];" (assignment_expression "piVar6[5] = piVar6[7]" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar6[7]" (identifier "piVar6") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (= "=") (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (subscript_expression "piVar6[8]" (identifier "piVar6") ([ "[") (number_literal "8") (] "]"))) (; ";")) (} "}")) (else_clause "else if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" (else "else") (if_statement "if (piVar8 == piVar6 + 2) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" (if "if") (parenthesized_expression "(piVar8 == piVar6 + 2)" (( "(") (binary_expression "piVar8 == piVar6 + 2" (identifier "piVar8") (== "==") (binary_expression "piVar6 + 2" (identifier "piVar6") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = (int)piVar7;\n              piVar3[6] = iVar5;\n              piVar3[10] = iVar11;\n              piVar3[3] = (int)local_2c;\n              piVar3[7] = iVar10;\n              iVar11 = piVar6[10];\n              piVar6[1] = piVar6[3];\n              piVar6[5] = piVar6[7];\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" ({ "{") (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "piVar3[2] = (int)piVar7;" (assignment_expression "piVar3[2] = (int)piVar7" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7"))) (; ";")) (expression_statement "piVar3[6] = iVar5;" (assignment_expression "piVar3[6] = iVar5" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "piVar3[10] = iVar11;" (assignment_expression "piVar3[10] = iVar11" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar3[3] = (int)local_2c;" (assignment_expression "piVar3[3] = (int)local_2c" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "piVar3[7] = iVar10;" (assignment_expression "piVar3[7] = iVar10" (subscript_expression "piVar3[7]" (identifier "piVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar11 = piVar6[10];" (assignment_expression "iVar11 = piVar6[10]" (identifier "iVar11") (= "=") (subscript_expression "piVar6[10]" (identifier "piVar6") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "piVar6[1] = piVar6[3];" (assignment_expression "piVar6[1] = piVar6[3]" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar6[5] = piVar6[7];" (assignment_expression "piVar6[5] = piVar6[7]" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar6[7]" (identifier "piVar6") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (= "=") (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (subscript_expression "piVar6[8]" (identifier "piVar6") ([ "[") (number_literal "8") (] "]"))) (; ";")) (} "}")) (else_clause "else if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" (else "else") (if_statement "if (piVar8 == piVar6 + 3) {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }\n            else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" (if "if") (parenthesized_expression "(piVar8 == piVar6 + 3)" (( "(") (binary_expression "piVar8 == piVar6 + 3" (identifier "piVar8") (== "==") (binary_expression "piVar6 + 3" (identifier "piVar6") (+ "+") (number_literal "3"))) () ")")) (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = (int)piVar7;\n              piVar3[7] = iVar5;\n              piVar6[1] = (int)local_2c;\n              piVar6[5] = iVar10;\n              piVar6[9] = piVar6[0xb];\n              piVar6[2] = piVar6[4];\n              piVar6[6] = piVar6[8];\n            }" ({ "{") (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "piVar3[2] = piVar6[2];" (assignment_expression "piVar3[2] = piVar6[2]" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar3[6] = piVar6[6];" (assignment_expression "piVar3[6] = piVar6[6]" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "piVar3[10] = piVar6[10];" (assignment_expression "piVar3[10] = piVar6[10]" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (subscript_expression "piVar6[10]" (identifier "piVar6") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "piVar3[3] = (int)piVar7;" (assignment_expression "piVar3[3] = (int)piVar7" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7"))) (; ";")) (expression_statement "piVar3[7] = iVar5;" (assignment_expression "piVar3[7] = iVar5" (subscript_expression "piVar3[7]" (identifier "piVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "piVar6[1] = (int)local_2c;" (assignment_expression "piVar6[1] = (int)local_2c" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "piVar6[5] = iVar10;" (assignment_expression "piVar6[5] = iVar10" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar6[9] = piVar6[0xb];" (assignment_expression "piVar6[9] = piVar6[0xb]" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (= "=") (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (expression_statement "piVar6[2] = piVar6[4];" (assignment_expression "piVar6[2] = piVar6[4]" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "piVar6[6] = piVar6[8];" (assignment_expression "piVar6[6] = piVar6[8]" (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (subscript_expression "piVar6[8]" (identifier "piVar6") ([ "[") (number_literal "8") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" (else "else") (compound_statement "{\n              piVar3[1] = piVar6[1];\n              piVar3[5] = piVar6[5];\n              piVar3[9] = piVar6[9];\n              piVar3[2] = piVar6[2];\n              piVar3[6] = piVar6[6];\n              piVar3[10] = piVar6[10];\n              piVar3[3] = piVar6[3];\n              piVar3[7] = piVar6[7];\n              piVar6[1] = (int)piVar7;\n              piVar6[5] = iVar5;\n              piVar6[9] = iVar11;\n              piVar6[2] = (int)local_2c;\n              piVar6[6] = iVar10;\n              iVar11 = piVar6[0xb];\n            }" ({ "{") (expression_statement "piVar3[1] = piVar6[1];" (assignment_expression "piVar3[1] = piVar6[1]" (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar3[5] = piVar6[5];" (assignment_expression "piVar3[5] = piVar6[5]" (subscript_expression "piVar3[5]" (identifier "piVar3") ([ "[") (number_literal "5") (] "]")) (= "=") (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "piVar3[9] = piVar6[9];" (assignment_expression "piVar3[9] = piVar6[9]" (subscript_expression "piVar3[9]" (identifier "piVar3") ([ "[") (number_literal "9") (] "]")) (= "=") (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "piVar3[2] = piVar6[2];" (assignment_expression "piVar3[2] = piVar6[2]" (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar3[6] = piVar6[6];" (assignment_expression "piVar3[6] = piVar6[6]" (subscript_expression "piVar3[6]" (identifier "piVar3") ([ "[") (number_literal "6") (] "]")) (= "=") (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "piVar3[10] = piVar6[10];" (assignment_expression "piVar3[10] = piVar6[10]" (subscript_expression "piVar3[10]" (identifier "piVar3") ([ "[") (number_literal "10") (] "]")) (= "=") (subscript_expression "piVar6[10]" (identifier "piVar6") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "piVar3[3] = piVar6[3];" (assignment_expression "piVar3[3] = piVar6[3]" (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar3[7] = piVar6[7];" (assignment_expression "piVar3[7] = piVar6[7]" (subscript_expression "piVar3[7]" (identifier "piVar3") ([ "[") (number_literal "7") (] "]")) (= "=") (subscript_expression "piVar6[7]" (identifier "piVar6") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "piVar6[1] = (int)piVar7;" (assignment_expression "piVar6[1] = (int)piVar7" (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7"))) (; ";")) (expression_statement "piVar6[5] = iVar5;" (assignment_expression "piVar6[5] = iVar5" (subscript_expression "piVar6[5]" (identifier "piVar6") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "piVar6[9] = iVar11;" (assignment_expression "piVar6[9] = iVar11" (subscript_expression "piVar6[9]" (identifier "piVar6") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar6[2] = (int)local_2c;" (assignment_expression "piVar6[2] = (int)local_2c" (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)local_2c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_2c"))) (; ";")) (expression_statement "piVar6[6] = iVar10;" (assignment_expression "piVar6[6] = iVar10" (subscript_expression "piVar6[6]" (identifier "piVar6") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iVar11 = piVar6[0xb];" (assignment_expression "iVar11 = piVar6[0xb]" (identifier "iVar11") (= "=") (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]"))) (; ";")) (} "}")))))))) (expression_statement "piVar6[3] = 0;" (assignment_expression "piVar6[3] = 0" (subscript_expression "piVar6[3]" (identifier "piVar6") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6[4] = 0;" (assignment_expression "piVar6[4] = 0" (subscript_expression "piVar6[4]" (identifier "piVar6") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[4] = 0;" (assignment_expression "piVar3[4] = 0" (subscript_expression "piVar3[4]" (identifier "piVar3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6[7] = 0;" (assignment_expression "piVar6[7] = 0" (subscript_expression "piVar6[7]" (identifier "piVar6") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6[8] = 0;" (assignment_expression "piVar6[8] = 0" (subscript_expression "piVar6[8]" (identifier "piVar6") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[8] = 0;" (assignment_expression "piVar3[8] = 0" (subscript_expression "piVar3[8]" (identifier "piVar3") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6[10] = 0;" (assignment_expression "piVar6[10] = 0" (subscript_expression "piVar6[10]" (identifier "piVar6") ([ "[") (number_literal "10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar6[0xb] = 0;" (assignment_expression "piVar6[0xb] = 0" (subscript_expression "piVar6[0xb]" (identifier "piVar6") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3[0xb] = 0;" (assignment_expression "piVar3[0xb] = 0" (subscript_expression "piVar3[0xb]" (identifier "piVar3") ([ "[") (number_literal "0xb") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[1] = piVar3;\n            }" (if "if") (parenthesized_expression "((undefined4 *)piVar3[1] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar3[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *(undefined4 *)piVar3[1] = piVar3;\n            }" ({ "{") (expression_statement "*(undefined4 *)piVar3[1] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[1] = piVar3" (pointer_expression "*(undefined4 *)piVar3[1]" (* "*") (cast_expression "(undefined4 *)piVar3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "piVar3")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[2] = piVar3;\n            }" (if "if") (parenthesized_expression "((undefined4 *)piVar3[2] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar3[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *(undefined4 *)piVar3[2] = piVar3;\n            }" ({ "{") (expression_statement "*(undefined4 *)piVar3[2] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[2] = piVar3" (pointer_expression "*(undefined4 *)piVar3[2]" (* "*") (cast_expression "(undefined4 *)piVar3[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]")))) (= "=") (identifier "piVar3")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar3[3] = piVar3;\n            }" (if "if") (parenthesized_expression "((undefined4 *)piVar3[3] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar3[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar3[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *(undefined4 *)piVar3[3] = piVar3;\n            }" ({ "{") (expression_statement "*(undefined4 *)piVar3[3] = piVar3;" (assignment_expression "*(undefined4 *)piVar3[3] = piVar3" (pointer_expression "*(undefined4 *)piVar3[3]" (* "*") (cast_expression "(undefined4 *)piVar3[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[3]" (identifier "piVar3") ([ "[") (number_literal "3") (] "]")))) (= "=") (identifier "piVar3")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[1] = piVar6;\n            }" (if "if") (parenthesized_expression "((undefined4 *)piVar6[1] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar6[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *(undefined4 *)piVar6[1] = piVar6;\n            }" ({ "{") (expression_statement "*(undefined4 *)piVar6[1] = piVar6;" (assignment_expression "*(undefined4 *)piVar6[1] = piVar6" (pointer_expression "*(undefined4 *)piVar6[1]" (* "*") (cast_expression "(undefined4 *)piVar6[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "piVar6")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {\n              *(undefined4 *)piVar6[2] = piVar6;\n            }" (if "if") (parenthesized_expression "((undefined4 *)piVar6[2] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar6[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar6[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              *(undefined4 *)piVar6[2] = piVar6;\n            }" ({ "{") (expression_statement "*(undefined4 *)piVar6[2] = piVar6;" (assignment_expression "*(undefined4 *)piVar6[2] = piVar6" (pointer_expression "*(undefined4 *)piVar6[2]" (* "*") (cast_expression "(undefined4 *)piVar6[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[2]" (identifier "piVar6") ([ "[") (number_literal "2") (] "]")))) (= "=") (identifier "piVar6")) (; ";")) (} "}"))) (expression_statement "iVar5 = (*pcVar2)(piVar3);" (assignment_expression "iVar5 = (*pcVar2)(piVar3)" (identifier "iVar5") (= "=") (call_expression "(*pcVar2)(piVar3)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (expression_statement "iVar10 = (*pcVar2)(piVar6);" (assignment_expression "iVar10 = (*pcVar2)(piVar6)" (identifier "iVar10") (= "=") (call_expression "(*pcVar2)(piVar6)" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "(piVar6)" (( "(") (identifier "piVar6") () ")")))) (; ";")) (expression_statement "piVar9 = (int *)*piVar6;" (assignment_expression "piVar9 = (int *)*piVar6" (identifier "piVar9") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if (piVar9 == (int *)0x0) goto LAB_00087f28;" (if "if") (parenthesized_expression "(piVar9 == (int *)0x0)" (( "(") (binary_expression "piVar9 == (int *)0x0" (identifier "piVar9") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00087f28;" (goto "goto") (statement_identifier "LAB_00087f28") (; ";"))) (expression_statement "piVar8 = piVar9 + 1;" (assignment_expression "piVar8 = piVar9 + 1" (identifier "piVar8") (= "=") (binary_expression "piVar9 + 1" (identifier "piVar9") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }" (if "if") (parenthesized_expression "(((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6))" (( "(") (binary_expression "((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)" (parenthesized_expression "((int *)piVar9[1] != piVar6)" (( "(") (binary_expression "(int *)piVar9[1] != piVar6" (cast_expression "(int *)piVar9[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "piVar6")) () ")")) (&& "&&") (parenthesized_expression "(piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)" (( "(") (comma_expression "piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6" (assignment_expression "piVar8 = piVar9 + 2" (identifier "piVar8") (= "=") (binary_expression "piVar9 + 2" (identifier "piVar9") (+ "+") (number_literal "2"))) (, ",") (binary_expression "(int *)piVar9[2] != piVar6" (cast_expression "(int *)piVar9[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (identifier "piVar6"))) () ")"))) () ")")) (compound_statement "{\n              if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }\n            }" ({ "{") (if_statement "if ((int *)piVar9[3] == piVar6) {\n                piVar8 = piVar9 + 3;\n              }\n              else {\n                piVar8 = piVar9 + 4;\n              }" (if "if") (parenthesized_expression "((int *)piVar9[3] == piVar6)" (( "(") (binary_expression "(int *)piVar9[3] == piVar6" (cast_expression "(int *)piVar9[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]"))) (== "==") (identifier "piVar6")) () ")")) (compound_statement "{\n                piVar8 = piVar9 + 3;\n              }" ({ "{") (expression_statement "piVar8 = piVar9 + 3;" (assignment_expression "piVar8 = piVar9 + 3" (identifier "piVar8") (= "=") (binary_expression "piVar9 + 3" (identifier "piVar9") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (else_clause "else {\n                piVar8 = piVar9 + 4;\n              }" (else "else") (compound_statement "{\n                piVar8 = piVar9 + 4;\n              }" ({ "{") (expression_statement "piVar8 = piVar9 + 4;" (assignment_expression "piVar8 = piVar9 + 4" (identifier "piVar8") (= "=") (binary_expression "piVar9 + 4" (identifier "piVar9") (+ "+") (number_literal "4"))) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar1 = piVar9[10];" (assignment_expression "iVar1 = piVar9[10]" (identifier "iVar1") (= "=") (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]"))) (; ";")) (if_statement "if (iVar1 == 0) goto LAB_00087a64;" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00087a64;" (goto "goto") (statement_identifier "LAB_00087a64") (; ";"))) (expression_statement "piVar7 = piVar3;" (assignment_expression "piVar7 = piVar3" (identifier "piVar7") (= "=") (identifier "piVar3")) (; ";")) (expression_statement "local_2c = piVar6;" (assignment_expression "local_2c = piVar6" (identifier "local_2c") (= "=") (identifier "piVar6")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar9[0xb] != 0)" (( "(") (binary_expression "piVar9[0xb] != 0" (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")))) (if_statement "if (piVar8 == piVar9 + 1) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }\n        else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" (if "if") (parenthesized_expression "(piVar8 == piVar9 + 1)" (( "(") (binary_expression "piVar8 == piVar9 + 1" (identifier "piVar8") (== "==") (binary_expression "piVar9 + 1" (identifier "piVar9") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = piVar9[2];\n          piVar9[7] = piVar9[6];\n          piVar9[10] = piVar9[9];\n          piVar9[2] = (int)piVar6;\n          piVar9[6] = iVar10;\n          piVar9[9] = iVar11;\n          piVar9[1] = (int)piVar3;\n          piVar9[5] = iVar5;\n        }" ({ "{") (expression_statement "piVar9[4] = piVar9[3];" (assignment_expression "piVar9[4] = piVar9[3]" (subscript_expression "piVar9[4]" (identifier "piVar9") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar9[8] = piVar9[7];" (assignment_expression "piVar9[8] = piVar9[7]" (subscript_expression "piVar9[8]" (identifier "piVar9") ([ "[") (number_literal "8") (] "]")) (= "=") (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "piVar9[0xb] = iVar1;" (assignment_expression "piVar9[0xb] = iVar1" (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "piVar9[3] = piVar9[2];" (assignment_expression "piVar9[3] = piVar9[2]" (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "piVar9[7] = piVar9[6];" (assignment_expression "piVar9[7] = piVar9[6]" (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]")) (= "=") (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "piVar9[10] = piVar9[9];" (assignment_expression "piVar9[10] = piVar9[9]" (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]")) (= "=") (subscript_expression "piVar9[9]" (identifier "piVar9") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "piVar9[2] = (int)piVar6;" (assignment_expression "piVar9[2] = (int)piVar6" (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6"))) (; ";")) (expression_statement "piVar9[6] = iVar10;" (assignment_expression "piVar9[6] = iVar10" (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar9[9] = iVar11;" (assignment_expression "piVar9[9] = iVar11" (subscript_expression "piVar9[9]" (identifier "piVar9") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar9[1] = (int)piVar3;" (assignment_expression "piVar9[1] = (int)piVar3" (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "piVar9[5] = iVar5;" (assignment_expression "piVar9[5] = iVar5" (subscript_expression "piVar9[5]" (identifier "piVar9") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" (else "else") (if_statement "if (piVar8 == piVar9 + 2) {\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }\n        else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" (if "if") (parenthesized_expression "(piVar8 == piVar9 + 2)" (( "(") (binary_expression "piVar8 == piVar9 + 2" (identifier "piVar8") (== "==") (binary_expression "piVar9 + 2" (identifier "piVar9") (+ "+") (number_literal "2"))) () ")")) (compound_statement "{\n          piVar9[4] = piVar9[3];\n          piVar9[8] = piVar9[7];\n          piVar9[0xb] = iVar1;\n          piVar9[3] = (int)piVar6;\n          piVar9[7] = iVar10;\n          piVar9[10] = iVar11;\n          piVar9[2] = (int)piVar3;\n          piVar9[6] = iVar5;\n        }" ({ "{") (expression_statement "piVar9[4] = piVar9[3];" (assignment_expression "piVar9[4] = piVar9[3]" (subscript_expression "piVar9[4]" (identifier "piVar9") ([ "[") (number_literal "4") (] "]")) (= "=") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "piVar9[8] = piVar9[7];" (assignment_expression "piVar9[8] = piVar9[7]" (subscript_expression "piVar9[8]" (identifier "piVar9") ([ "[") (number_literal "8") (] "]")) (= "=") (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "piVar9[0xb] = iVar1;" (assignment_expression "piVar9[0xb] = iVar1" (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "piVar9[3] = (int)piVar6;" (assignment_expression "piVar9[3] = (int)piVar6" (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6"))) (; ";")) (expression_statement "piVar9[7] = iVar10;" (assignment_expression "piVar9[7] = iVar10" (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar9[10] = iVar11;" (assignment_expression "piVar9[10] = iVar11" (subscript_expression "piVar9[10]" (identifier "piVar9") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar9[2] = (int)piVar3;" (assignment_expression "piVar9[2] = (int)piVar3" (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "piVar9[6] = iVar5;" (assignment_expression "piVar9[6] = iVar5" (subscript_expression "piVar9[6]" (identifier "piVar9") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")) (else_clause "else {\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" (else "else") (compound_statement "{\n          piVar9[4] = (int)piVar6;\n          piVar9[8] = iVar10;\n          piVar9[0xb] = iVar11;\n          piVar9[3] = (int)piVar3;\n          piVar9[7] = iVar5;\n        }" ({ "{") (expression_statement "piVar9[4] = (int)piVar6;" (assignment_expression "piVar9[4] = (int)piVar6" (subscript_expression "piVar9[4]" (identifier "piVar9") ([ "[") (number_literal "4") (] "]")) (= "=") (cast_expression "(int)piVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar6"))) (; ";")) (expression_statement "piVar9[8] = iVar10;" (assignment_expression "piVar9[8] = iVar10" (subscript_expression "piVar9[8]" (identifier "piVar9") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "piVar9[0xb] = iVar11;" (assignment_expression "piVar9[0xb] = iVar11" (subscript_expression "piVar9[0xb]" (identifier "piVar9") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar11")) (; ";")) (expression_statement "piVar9[3] = (int)piVar3;" (assignment_expression "piVar9[3] = (int)piVar3" (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (expression_statement "piVar9[7] = iVar5;" (assignment_expression "piVar9[7] = iVar5" (subscript_expression "piVar9[7]" (identifier "piVar9") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "iVar5")) (; ";")) (} "}")))))) (if_statement "if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[1] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[1] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[1] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[1] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[1] = piVar9" (pointer_expression "*(undefined4 *)piVar9[1]" (* "*") (cast_expression "(undefined4 *)piVar9[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[1]" (identifier "piVar9") ([ "[") (number_literal "1") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[2] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[2] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[2] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[2] = piVar9" (pointer_expression "*(undefined4 *)piVar9[2]" (* "*") (cast_expression "(undefined4 *)piVar9[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[2]" (identifier "piVar9") ([ "[") (number_literal "2") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[3] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[3] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[3] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[3] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[3] = piVar9" (pointer_expression "*(undefined4 *)piVar9[3]" (* "*") (cast_expression "(undefined4 *)piVar9[3]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[3]" (identifier "piVar9") ([ "[") (number_literal "3") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (if_statement "if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {\n          *(undefined4 *)piVar9[4] = piVar9;\n        }" (if "if") (parenthesized_expression "((undefined4 *)piVar9[4] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)piVar9[4] != (undefined4 *)0x0" (cast_expression "(undefined4 *)piVar9[4]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[4]" (identifier "piVar9") ([ "[") (number_literal "4") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          *(undefined4 *)piVar9[4] = piVar9;\n        }" ({ "{") (expression_statement "*(undefined4 *)piVar9[4] = piVar9;" (assignment_expression "*(undefined4 *)piVar9[4] = piVar9" (pointer_expression "*(undefined4 *)piVar9[4]" (* "*") (cast_expression "(undefined4 *)piVar9[4]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar9[4]" (identifier "piVar9") ([ "[") (number_literal "4") (] "]")))) (= "=") (identifier "piVar9")) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar11 = *piVar9;" (assignment_expression "iVar11 = *piVar9" (identifier "iVar11") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (while_statement "while (iVar11 != 0) {\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }" (while "while") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar4 = FUN_00087740(piVar9);\n        iVar5 = 0;\n        if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }\n        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;\n        piVar9 = (int *)*piVar9;\n        iVar11 = *piVar9;\n      }" ({ "{") (expression_statement "uVar4 = FUN_00087740(piVar9);" (assignment_expression "uVar4 = FUN_00087740(piVar9)" (identifier "uVar4") (= "=") (call_expression "FUN_00087740(piVar9)" (identifier "FUN_00087740") (argument_list "(piVar9)" (( "(") (identifier "piVar9") () ")")))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int **)(iVar11 + 4) != piVar9) {\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }" (if "if") (parenthesized_expression "(*(int **)(iVar11 + 4) != piVar9)" (( "(") (binary_expression "*(int **)(iVar11 + 4) != piVar9" (pointer_expression "*(int **)(iVar11 + 4)" (* "*") (cast_expression "(int **)(iVar11 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 4)" (( "(") (binary_expression "iVar11 + 4" (identifier "iVar11") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "piVar9")) () ")")) (compound_statement "{\n          iVar5 = 3;\n          if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }\n        }" ({ "{") (expression_statement "iVar5 = 3;" (assignment_expression "iVar5 = 3" (identifier "iVar5") (= "=") (number_literal "3")) (; ";")) (if_statement "if (*(int **)(iVar11 + 8) == piVar9) {\n            iVar5 = 1;\n          }\n          else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" (if "if") (parenthesized_expression "(*(int **)(iVar11 + 8) == piVar9)" (( "(") (binary_expression "*(int **)(iVar11 + 8) == piVar9" (pointer_expression "*(int **)(iVar11 + 8)" (* "*") (cast_expression "(int **)(iVar11 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")")))) (== "==") (identifier "piVar9")) () ")")) (compound_statement "{\n            iVar5 = 1;\n          }" ({ "{") (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" (else "else") (if_statement "if (*(int **)(iVar11 + 0xc) == piVar9) {\n            iVar5 = 2;\n          }" (if "if") (parenthesized_expression "(*(int **)(iVar11 + 0xc) == piVar9)" (( "(") (binary_expression "*(int **)(iVar11 + 0xc) == piVar9" (pointer_expression "*(int **)(iVar11 + 0xc)" (* "*") (cast_expression "(int **)(iVar11 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar11 + 0xc)" (( "(") (binary_expression "iVar11 + 0xc" (identifier "iVar11") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (identifier "piVar9")) () ")")) (compound_statement "{\n            iVar5 = 2;\n          }" ({ "{") (expression_statement "iVar5 = 2;" (assignment_expression "iVar5 = 2" (identifier "iVar5") (= "=") (number_literal "2")) (; ";")) (} "}"))))) (} "}"))) (expression_statement "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;" (assignment_expression "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4" (pointer_expression "*(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + (iVar5 + 4) * 4 + 4)" (( "(") (binary_expression "iVar11 + (iVar5 + 4) * 4 + 4" (binary_expression "iVar11 + (iVar5 + 4) * 4" (identifier "iVar11") (+ "+") (binary_expression "(iVar5 + 4) * 4" (parenthesized_expression "(iVar5 + 4)" (( "(") (binary_expression "iVar5 + 4" (identifier "iVar5") (+ "+") (number_literal "4")) () ")")) (* "*") (number_literal "4"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "piVar9 = (int *)*piVar9;" (assignment_expression "piVar9 = (int *)*piVar9" (identifier "piVar9") (= "=") (cast_expression "(int *)*piVar9" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar9" (* "*") (identifier "piVar9")))) (; ";")) (expression_statement "iVar11 = *piVar9;" (assignment_expression "iVar11 = *piVar9" (identifier "iVar11") (= "=") (pointer_expression "*piVar9" (* "*") (identifier "piVar9"))) (; ";")) (} "}"))) (} "}")))) (} "}")))) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}")))

void * function_1(type_1 *t,void *e,int var_2)

{
  int var_3;
  type_2 *pcVar2;
  type_3 *pnVar3;
  int var_4;
  type_3 *var_1;
  void *var_5;
  type_3 *pnVar7;
  type_3 **var_6;
  type_4 *var_8;
  type_4 *var_9;
  void *pvVar11;
  type_3 *local_2c;
  
  if (t->root == (type_4 *)0x0) {
    var_8 = (type_4 *)(*(type_2 *)PTR_safemalloc_000be3d4)(1,0x30);
    t->root = var_8;
    var_8->elems[2] = (void *)0x0;
    t->root->elems[1] = (void *)0x0;
    t->root->kids[1] = (type_3 *)0x0;
    t->root->kids[0] = (type_3 *)0x0;
    t->root->kids[3] = (type_3 *)0x0;
    t->root->kids[2] = (type_3 *)0x0;
    t->root->counts[1] = 0;
    t->root->counts[0] = 0;
    t->root->counts[3] = 0;
    t->root->counts[2] = 0;
    t->root->parent = (type_4 *)0x0;
    t->root->elems[0] = e;
  }
  else {
    var_1 = t->root;
    pvVar11 = e;
    if (var_1 == (type_3 *)0x0) {
      var_3 = 0;
      var_4 = 0;
      pnVar3 = (type_3 *)0x0;
LAB_00087f28:
      var_8 = (type_4 *)(*(type_2 *)PTR_safemalloc_000be3d4)(1,0x30);
      t->root = var_8;
      var_8->kids[0] = pnVar3;
      t->root->counts[0] = var_4;
      t->root->elems[0] = pvVar11;
      t->root->kids[1] = var_1;
      t->root->counts[1] = var_3;
      t->root->elems[1] = (void *)0x0;
      t->root->kids[2] = (type_3 *)0x0;
      t->root->counts[2] = 0;
      t->root->elems[2] = (void *)0x0;
      t->root->kids[3] = (type_3 *)0x0;
      t->root->counts[3] = 0;
      t->root->parent = (type_4 *)0x0;
      var_8 = t->root;
      if (var_8->kids[0] != (type_3 *)0x0) {
        var_8->kids[0]->parent = var_8;
        var_8 = t->root;
      }
      if (var_8->kids[1] != (type_3 *)0x0) {
        var_8->kids[1]->parent = var_8;
      }
    }
    else {
      do {
        var_8 = var_1;
        if (var_2 < 0) {
          var_3 = (*t->cmp)(e,var_8->elems[0]);
          var_4 = 0;
          if (-1 < var_3) {
            if (var_3 == 0) {
              return var_8->elems[0];
            }
            var_4 = 1;
            if (var_8->elems[1] != (void *)0x0) {
              var_3 = (*t->cmp)(e,var_8->elems[1]);
              var_4 = 1;
              if (-1 < var_3) {
                if (var_3 == 0) {
                  return var_8->elems[1];
                }
                var_4 = 2;
                if (var_8->elems[2] != (void *)0x0) {
                  var_3 = (*t->cmp)(e,var_8->elems[2]);
                  var_4 = 2;
                  if (-1 < var_3) {
                    var_4 = 3;
                    if (var_3 == 0) {
                      return var_8->elems[2];
                    }
                    var_3 = 0xc;
                    goto LAB_00087978;
                  }
                }
              }
            }
          }
LAB_00087974:
          var_3 = var_4 << 2;
        }
        else {
          var_4 = var_2;
          if (var_8->kids[0] == (type_3 *)0x0) goto LAB_00087974;
          var_4 = 0;
          if (var_2 <= var_8->counts[0]) goto LAB_00087974;
          var_2 = var_2 - (var_8->counts[0] + 1);
          var_4 = 1;
          if (var_2 <= var_8->counts[1]) goto LAB_00087974;
          var_2 = var_2 - (var_8->counts[1] + 1);
          if (var_2 <= var_8->counts[2]) {
            var_4 = 2;
            goto LAB_00087974;
          }
          var_2 = var_2 - (var_8->counts[2] + 1);
          var_4 = 3;
          if (var_8->counts[3] < var_2) {
            return (void *)0x0;
          }
          var_3 = 0xc;
        }
LAB_00087978:
        var_1 = *(type_3 **)((int)var_8->kids + var_3);
      } while (var_1 != (type_3 *)0x0);
      var_5 = var_8->elems[1];
      var_6 = var_8->kids + var_4;
      if (var_5 == (void *)0x0) {
        var_3 = 0;
        var_4 = 0;
        var_1 = (type_3 *)0x0;
        pnVar3 = (type_3 *)0x0;
LAB_00087a64:
        if (var_6 == var_8->kids) {
          var_8->kids[2] = var_8->kids[1];
          var_8->counts[2] = var_8->counts[1];
          var_8->elems[1] = var_8->elems[0];
          var_8->kids[1] = var_1;
          var_8->counts[1] = var_3;
          var_8->elems[0] = pvVar11;
          var_8->kids[0] = pnVar3;
          var_8->counts[0] = var_4;
        }
        else {
          var_8->kids[2] = var_1;
          var_8->counts[2] = var_3;
          var_8->elems[1] = pvVar11;
          var_8->kids[1] = pnVar3;
          var_8->counts[1] = var_4;
        }
        if (var_8->kids[0] != (type_3 *)0x0) {
          var_8->kids[0]->parent = var_8;
        }
        if (var_8->kids[1] != (type_3 *)0x0) {
          var_8->kids[1]->parent = var_8;
        }
        if (var_8->kids[2] != (type_3 *)0x0) {
          var_8->kids[2]->parent = var_8;
        }
      }
      else {
        var_3 = 0;
        if (var_8->elems[2] == (void *)0x0) {
          var_4 = 0;
          var_1 = (type_3 *)0x0;
          pnVar3 = (type_3 *)0x0;
        }
        else {
          var_4 = 0;
          pcVar2 = (type_2 *)(var_7 + 0x7740);
          pnVar7 = (type_3 *)0x0;
          local_2c = var_1;
          do {
            var_1 = var_8;
            pnVar3 = (type_3 *)(*(type_2 *)PTR_safemalloc_000be3d4)(1,0x30);
            pnVar3->parent = var_1->parent;
            if (var_6 == var_1->kids) {
              pnVar3->kids[0] = pnVar7;
              pnVar3->counts[0] = var_4;
              pnVar3->elems[0] = pvVar11;
              pnVar3->kids[1] = local_2c;
              pnVar3->counts[1] = var_3;
              pnVar3->elems[1] = var_1->elems[0];
              pnVar3->kids[2] = var_1->kids[1];
              pnVar3->counts[2] = var_1->counts[1];
              pvVar11 = var_1->elems[1];
              var_1->kids[0] = var_1->kids[2];
              var_1->counts[0] = var_1->counts[2];
              var_1->elems[0] = var_1->elems[2];
              var_1->kids[1] = var_1->kids[3];
              var_1->counts[1] = var_1->counts[3];
            }
            else if (var_6 == var_1->kids + 1) {
              pnVar3->kids[0] = var_1->kids[0];
              pnVar3->counts[0] = var_1->counts[0];
              pnVar3->elems[0] = var_1->elems[0];
              pnVar3->kids[1] = pnVar7;
              pnVar3->counts[1] = var_4;
              pnVar3->elems[1] = pvVar11;
              pnVar3->kids[2] = local_2c;
              pnVar3->counts[2] = var_3;
              pvVar11 = var_1->elems[1];
              var_1->kids[0] = var_1->kids[2];
              var_1->counts[0] = var_1->counts[2];
              var_1->elems[0] = var_1->elems[2];
              var_1->kids[1] = var_1->kids[3];
              var_1->counts[1] = var_1->counts[3];
            }
            else if (var_6 == var_1->kids + 2) {
              pnVar3->kids[0] = var_1->kids[0];
              pnVar3->counts[0] = var_1->counts[0];
              pnVar3->elems[0] = var_1->elems[0];
              pnVar3->kids[1] = var_1->kids[1];
              pnVar3->counts[1] = var_1->counts[1];
              pnVar3->elems[1] = var_1->elems[1];
              pnVar3->kids[2] = pnVar7;
              pnVar3->counts[2] = var_4;
              var_1->kids[0] = local_2c;
              var_1->counts[0] = var_3;
              var_1->elems[0] = var_1->elems[2];
              var_1->kids[1] = var_1->kids[3];
              var_1->counts[1] = var_1->counts[3];
            }
            else {
              pnVar3->kids[0] = var_1->kids[0];
              pnVar3->counts[0] = var_1->counts[0];
              pnVar3->elems[0] = var_1->elems[0];
              pnVar3->kids[1] = var_1->kids[1];
              pnVar3->counts[1] = var_1->counts[1];
              pnVar3->elems[1] = var_1->elems[1];
              pnVar3->kids[2] = var_1->kids[2];
              pnVar3->counts[2] = var_1->counts[2];
              var_1->kids[0] = pnVar7;
              var_1->counts[0] = var_4;
              var_1->elems[0] = pvVar11;
              var_1->kids[1] = local_2c;
              var_1->counts[1] = var_3;
              pvVar11 = var_1->elems[2];
            }
            var_1->kids[2] = (type_3 *)0x0;
            var_1->kids[3] = (type_3 *)0x0;
            pnVar3->kids[3] = (type_3 *)0x0;
            var_1->counts[2] = 0;
            var_1->counts[3] = 0;
            pnVar3->counts[3] = 0;
            var_1->elems[1] = (void *)0x0;
            var_1->elems[2] = (void *)0x0;
            pnVar3->elems[2] = (void *)0x0;
            if (pnVar3->kids[0] != (type_3 *)0x0) {
              pnVar3->kids[0]->parent = pnVar3;
            }
            if (pnVar3->kids[1] != (type_3 *)0x0) {
              pnVar3->kids[1]->parent = pnVar3;
            }
            if (pnVar3->kids[2] != (type_3 *)0x0) {
              pnVar3->kids[2]->parent = pnVar3;
            }
            if (var_1->kids[0] != (type_3 *)0x0) {
              var_1->kids[0]->parent = var_1;
            }
            if (var_1->kids[1] != (type_3 *)0x0) {
              var_1->kids[1]->parent = var_1;
            }
            var_4 = (*pcVar2)(pnVar3);
            var_3 = (*pcVar2)(var_1);
            var_8 = var_1->parent;
            if (var_8 == (type_3 *)0x0) goto LAB_00087f28;
            var_6 = var_8->kids;
            if ((var_8->kids[0] != var_1) &&
               (var_6 = var_8->kids + 1, var_8->kids[1] != var_1)) {
              if (var_8->kids[2] == var_1) {
                var_6 = var_8->kids + 2;
              }
              else {
                var_6 = var_8->kids + 3;
              }
            }
            var_5 = var_8->elems[1];
            if (var_5 == (void *)0x0) goto LAB_00087a64;
            pnVar7 = pnVar3;
            local_2c = var_1;
          } while (var_8->elems[2] != (void *)0x0);
        }
        if (var_6 == var_8->kids) {
          var_8->kids[3] = var_8->kids[2];
          var_8->counts[3] = var_8->counts[2];
          var_8->elems[2] = var_5;
          var_8->kids[2] = var_8->kids[1];
          var_8->counts[2] = var_8->counts[1];
          var_8->elems[1] = var_8->elems[0];
          var_8->kids[1] = var_1;
          var_8->counts[1] = var_3;
          var_8->elems[0] = pvVar11;
          var_8->kids[0] = pnVar3;
          var_8->counts[0] = var_4;
        }
        else if (var_6 == var_8->kids + 1) {
          var_8->kids[3] = var_8->kids[2];
          var_8->counts[3] = var_8->counts[2];
          var_8->elems[2] = var_5;
          var_8->kids[2] = var_1;
          var_8->counts[2] = var_3;
          var_8->elems[1] = pvVar11;
          var_8->kids[1] = pnVar3;
          var_8->counts[1] = var_4;
        }
        else {
          var_8->kids[3] = var_1;
          var_8->counts[3] = var_3;
          var_8->elems[2] = pvVar11;
          var_8->kids[2] = pnVar3;
          var_8->counts[2] = var_4;
        }
        if (var_8->kids[0] != (type_3 *)0x0) {
          var_8->kids[0]->parent = var_8;
        }
        if (var_8->kids[1] != (type_3 *)0x0) {
          var_8->kids[1]->parent = var_8;
        }
        if (var_8->kids[2] != (type_3 *)0x0) {
          var_8->kids[2]->parent = var_8;
        }
        if (var_8->kids[3] != (type_3 *)0x0) {
          var_8->kids[3]->parent = var_8;
        }
      }
      var_9 = var_8->parent;
      while (var_9 != (type_4 *)0x0) {
        var_4 = var_10(var_8);
        var_3 = 0;
        if (var_9->kids[0] != var_8) {
          var_3 = 3;
          if (var_9->kids[1] == var_8) {
            var_3 = 1;
          }
          else if (var_9->kids[2] == var_8) {
            var_3 = 2;
          }
        }
        var_9->counts[var_3] = var_4;
        var_8 = var_8->parent;
        var_9 = var_8->parent;
      }
    }
  }
  return e;
}


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

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

{
  int iVar1;
  code *pcVar2;
  int *piVar3;
  undefined4 uVar4;
  int iVar5;
  int *piVar6;
  int *piVar7;
  int *piVar8;
  int *piVar9;
  int iVar10;
  int iVar11;
  int *local_2c;
  
  if (*param_1 == 0) {
    iVar11 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);
    *param_1 = iVar11;
    *(undefined4 *)(iVar11 + 0x2c) = 0;
    *(undefined4 *)(*param_1 + 0x28) = 0;
    *(undefined4 *)(*param_1 + 8) = 0;
    *(undefined4 *)(*param_1 + 4) = 0;
    *(undefined4 *)(*param_1 + 0x10) = 0;
    *(undefined4 *)(*param_1 + 0xc) = 0;
    *(undefined4 *)(*param_1 + 0x18) = 0;
    *(undefined4 *)(*param_1 + 0x14) = 0;
    *(undefined4 *)(*param_1 + 0x20) = 0;
    *(undefined4 *)(*param_1 + 0x1c) = 0;
    *(undefined4 *)*param_1 = 0;
    *(int *)(*param_1 + 0x24) = param_2;
  }
  else {
    piVar6 = (int *)*param_1;
    iVar11 = param_2;
    if (piVar6 == (int *)0x0) {
      iVar10 = 0;
      iVar5 = 0;
      piVar3 = (int *)0x0;
LAB_00087f28:
      iVar1 = (*(code *)PTR_safemalloc_000be3d4)(1,0x30);
      *param_1 = iVar1;
      *(int **)(iVar1 + 4) = piVar3;
      *(int *)(*param_1 + 0x14) = iVar5;
      *(int *)(*param_1 + 0x24) = iVar11;
      *(int **)(*param_1 + 8) = piVar6;
      *(int *)(*param_1 + 0x18) = iVar10;
      *(undefined4 *)(*param_1 + 0x28) = 0;
      *(undefined4 *)(*param_1 + 0xc) = 0;
      *(undefined4 *)(*param_1 + 0x1c) = 0;
      *(undefined4 *)(*param_1 + 0x2c) = 0;
      *(undefined4 *)(*param_1 + 0x10) = 0;
      *(undefined4 *)(*param_1 + 0x20) = 0;
      *(undefined4 *)*param_1 = 0;
      iVar11 = *param_1;
      if (*(int **)(iVar11 + 4) != (int *)0x0) {
        **(int **)(iVar11 + 4) = iVar11;
        iVar11 = *param_1;
      }
      if (*(int **)(iVar11 + 8) != (int *)0x0) {
        **(int **)(iVar11 + 8) = iVar11;
      }
    }
    else {
      do {
        piVar9 = piVar6;
        if (param_3 < 0) {
          iVar1 = (*(code *)param_1[1])(param_2,piVar9[9]);
          iVar5 = 0;
          if (-1 < iVar1) {
            if (iVar1 == 0) {
              return piVar9[9];
            }
            iVar5 = 1;
            if (piVar9[10] != 0) {
              iVar1 = (*(code *)param_1[1])(param_2);
              iVar5 = 1;
              if (-1 < iVar1) {
                if (iVar1 == 0) {
                  return piVar9[10];
                }
                iVar5 = 2;
                if (piVar9[0xb] != 0) {
                  iVar1 = (*(code *)param_1[1])(param_2);
                  iVar5 = 2;
                  if (-1 < iVar1) {
                    iVar5 = 3;
                    if (iVar1 == 0) {
                      return piVar9[0xb];
                    }
                    iVar1 = 0xc;
                    goto LAB_00087978;
                  }
                }
              }
            }
          }
LAB_00087974:
          iVar1 = iVar5 << 2;
        }
        else {
          iVar5 = param_3;
          if (piVar9[1] == 0) goto LAB_00087974;
          iVar5 = 0;
          if (param_3 <= piVar9[5]) goto LAB_00087974;
          param_3 = param_3 - (piVar9[5] + 1);
          iVar5 = 1;
          if (param_3 <= piVar9[6]) goto LAB_00087974;
          param_3 = param_3 - (piVar9[6] + 1);
          if (param_3 <= piVar9[7]) {
            iVar5 = 2;
            goto LAB_00087974;
          }
          param_3 = param_3 - (piVar9[7] + 1);
          iVar5 = 3;
          if (piVar9[8] < param_3) {
            return 0;
          }
          iVar1 = 0xc;
        }
LAB_00087978:
        piVar6 = *(int **)((int)piVar9 + iVar1 + 4);
      } while (piVar6 != (int *)0x0);
      iVar1 = piVar9[10];
      piVar8 = piVar9 + iVar5 + 1;
      if (iVar1 == 0) {
        iVar10 = 0;
        iVar5 = 0;
        piVar6 = (int *)0x0;
        piVar3 = (int *)0x0;
LAB_00087a64:
        if (piVar8 == piVar9 + 1) {
          piVar9[3] = piVar9[2];
          piVar9[7] = piVar9[6];
          piVar9[10] = piVar9[9];
          piVar9[2] = (int)piVar6;
          piVar9[6] = iVar10;
          piVar9[9] = iVar11;
          piVar9[1] = (int)piVar3;
          piVar9[5] = iVar5;
        }
        else {
          piVar9[3] = (int)piVar6;
          piVar9[7] = iVar10;
          piVar9[10] = iVar11;
          piVar9[2] = (int)piVar3;
          piVar9[6] = iVar5;
        }
        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[1] = piVar9;
        }
        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[2] = piVar9;
        }
        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[3] = piVar9;
        }
      }
      else {
        iVar10 = 0;
        if (piVar9[0xb] == 0) {
          iVar5 = 0;
          piVar6 = (int *)0x0;
          piVar3 = (int *)0x0;
        }
        else {
          iVar5 = 0;
          pcVar2 = (code *)(PTR_LAB_000beb8c + 0x7740);
          piVar7 = (int *)0x0;
          local_2c = piVar6;
          do {
            piVar6 = piVar9;
            piVar3 = (int *)(*(code *)PTR_safemalloc_000be3d4)(1,0x30);
            *piVar3 = *piVar6;
            if (piVar8 == piVar6 + 1) {
              piVar3[1] = (int)piVar7;
              piVar3[5] = iVar5;
              piVar3[9] = iVar11;
              piVar3[2] = (int)local_2c;
              piVar3[6] = iVar10;
              piVar3[10] = piVar6[9];
              piVar3[3] = piVar6[2];
              piVar3[7] = piVar6[6];
              iVar11 = piVar6[10];
              piVar6[1] = piVar6[3];
              piVar6[5] = piVar6[7];
              piVar6[9] = piVar6[0xb];
              piVar6[2] = piVar6[4];
              piVar6[6] = piVar6[8];
            }
            else if (piVar8 == piVar6 + 2) {
              piVar3[1] = piVar6[1];
              piVar3[5] = piVar6[5];
              piVar3[9] = piVar6[9];
              piVar3[2] = (int)piVar7;
              piVar3[6] = iVar5;
              piVar3[10] = iVar11;
              piVar3[3] = (int)local_2c;
              piVar3[7] = iVar10;
              iVar11 = piVar6[10];
              piVar6[1] = piVar6[3];
              piVar6[5] = piVar6[7];
              piVar6[9] = piVar6[0xb];
              piVar6[2] = piVar6[4];
              piVar6[6] = piVar6[8];
            }
            else if (piVar8 == piVar6 + 3) {
              piVar3[1] = piVar6[1];
              piVar3[5] = piVar6[5];
              piVar3[9] = piVar6[9];
              piVar3[2] = piVar6[2];
              piVar3[6] = piVar6[6];
              piVar3[10] = piVar6[10];
              piVar3[3] = (int)piVar7;
              piVar3[7] = iVar5;
              piVar6[1] = (int)local_2c;
              piVar6[5] = iVar10;
              piVar6[9] = piVar6[0xb];
              piVar6[2] = piVar6[4];
              piVar6[6] = piVar6[8];
            }
            else {
              piVar3[1] = piVar6[1];
              piVar3[5] = piVar6[5];
              piVar3[9] = piVar6[9];
              piVar3[2] = piVar6[2];
              piVar3[6] = piVar6[6];
              piVar3[10] = piVar6[10];
              piVar3[3] = piVar6[3];
              piVar3[7] = piVar6[7];
              piVar6[1] = (int)piVar7;
              piVar6[5] = iVar5;
              piVar6[9] = iVar11;
              piVar6[2] = (int)local_2c;
              piVar6[6] = iVar10;
              iVar11 = piVar6[0xb];
            }
            piVar6[3] = 0;
            piVar6[4] = 0;
            piVar3[4] = 0;
            piVar6[7] = 0;
            piVar6[8] = 0;
            piVar3[8] = 0;
            piVar6[10] = 0;
            piVar6[0xb] = 0;
            piVar3[0xb] = 0;
            if ((undefined4 *)piVar3[1] != (undefined4 *)0x0) {
              *(undefined4 *)piVar3[1] = piVar3;
            }
            if ((undefined4 *)piVar3[2] != (undefined4 *)0x0) {
              *(undefined4 *)piVar3[2] = piVar3;
            }
            if ((undefined4 *)piVar3[3] != (undefined4 *)0x0) {
              *(undefined4 *)piVar3[3] = piVar3;
            }
            if ((undefined4 *)piVar6[1] != (undefined4 *)0x0) {
              *(undefined4 *)piVar6[1] = piVar6;
            }
            if ((undefined4 *)piVar6[2] != (undefined4 *)0x0) {
              *(undefined4 *)piVar6[2] = piVar6;
            }
            iVar5 = (*pcVar2)(piVar3);
            iVar10 = (*pcVar2)(piVar6);
            piVar9 = (int *)*piVar6;
            if (piVar9 == (int *)0x0) goto LAB_00087f28;
            piVar8 = piVar9 + 1;
            if (((int *)piVar9[1] != piVar6) && (piVar8 = piVar9 + 2, (int *)piVar9[2] != piVar6)) {
              if ((int *)piVar9[3] == piVar6) {
                piVar8 = piVar9 + 3;
              }
              else {
                piVar8 = piVar9 + 4;
              }
            }
            iVar1 = piVar9[10];
            if (iVar1 == 0) goto LAB_00087a64;
            piVar7 = piVar3;
            local_2c = piVar6;
          } while (piVar9[0xb] != 0);
        }
        if (piVar8 == piVar9 + 1) {
          piVar9[4] = piVar9[3];
          piVar9[8] = piVar9[7];
          piVar9[0xb] = iVar1;
          piVar9[3] = piVar9[2];
          piVar9[7] = piVar9[6];
          piVar9[10] = piVar9[9];
          piVar9[2] = (int)piVar6;
          piVar9[6] = iVar10;
          piVar9[9] = iVar11;
          piVar9[1] = (int)piVar3;
          piVar9[5] = iVar5;
        }
        else if (piVar8 == piVar9 + 2) {
          piVar9[4] = piVar9[3];
          piVar9[8] = piVar9[7];
          piVar9[0xb] = iVar1;
          piVar9[3] = (int)piVar6;
          piVar9[7] = iVar10;
          piVar9[10] = iVar11;
          piVar9[2] = (int)piVar3;
          piVar9[6] = iVar5;
        }
        else {
          piVar9[4] = (int)piVar6;
          piVar9[8] = iVar10;
          piVar9[0xb] = iVar11;
          piVar9[3] = (int)piVar3;
          piVar9[7] = iVar5;
        }
        if ((undefined4 *)piVar9[1] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[1] = piVar9;
        }
        if ((undefined4 *)piVar9[2] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[2] = piVar9;
        }
        if ((undefined4 *)piVar9[3] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[3] = piVar9;
        }
        if ((undefined4 *)piVar9[4] != (undefined4 *)0x0) {
          *(undefined4 *)piVar9[4] = piVar9;
        }
      }
      iVar11 = *piVar9;
      while (iVar11 != 0) {
        uVar4 = FUN_00087740(piVar9);
        iVar5 = 0;
        if (*(int **)(iVar11 + 4) != piVar9) {
          iVar5 = 3;
          if (*(int **)(iVar11 + 8) == piVar9) {
            iVar5 = 1;
          }
          else if (*(int **)(iVar11 + 0xc) == piVar9) {
            iVar5 = 2;
          }
        }
        *(undefined4 *)(iVar11 + (iVar5 + 4) * 4 + 4) = uVar4;
        piVar9 = (int *)*piVar9;
        iVar11 = *piVar9;
      }
    }
  }
  return param_2;
}

