
reg_errcode_t calc_eclosure_iter(re_node_set *new_set,re_dfa_t *dfa,Idx node,_Bool root)

{
  uint uVar1;
  bool bVar2;
  undefined *puVar3;
  undefined3 extraout_var;
  undefined3 extraout_var_00;
  re_dfa_t *dfa_00;
  code *pcVar4;
  reg_errcode_t rVar5;
  _Bool _Var8;
  int *piVar6;
  int iVar7;
  int *piVar9;
  bitset_word_t bVar10;
  undefined *puVar11;
  re_node_set *prVar12;
  int iVar13;
  size_t sVar14;
  re_dfa_t *prVar15;
  re_token_t *prVar16;
  re_dfa_t *prVar17;
  re_bitset_ptr_t pbVar18;
  re_bitset_ptr_t pbVar19;
  bitset_word_t bVar20;
  undefined3 in_register_0000001c;
  re_node_set *type;
  int iVar21;
  int iVar22;
  int iVar23;
  int iVar24;
  int iVar25;
  int iVar26;
  size_t sVar27;
  re_node_set *prVar28;
  re_node_set *prVar29;
  re_node_set *unaff_s3;
  re_dfastate_t *unaff_s5;
  re_dfastate_t *unaff_s7;
  re_token_t *prStack_b0;
  size_t sStack_ac;
  size_t sStack_a8;
  int *piStack_a4;
  re_node_set *prStack_a0;
  re_node_set *prStack_9c;
  re_node_set *prStack_98;
  re_node_set *prStack_94;
  re_state_table_entry *prStack_90;
  re_dfastate_t *prStack_8c;
  re_dfastate_t *prStack_88;
  re_dfastate_t *prStack_84;
  re_dfa_t *prStack_80;
  bin_tree_t *pbStack_7c;
  re_node_set eclosure;
  re_node_set eclosure_elem;
  
  puVar3 = PTR___stack_chk_guard_0003e2f4;
  prVar29 = (re_node_set *)(node * 0xc);
  dfa_00 = *(re_dfa_t **)PTR___stack_chk_guard_0003e2f4;
  prVar28 = dfa->edests + node;
  eclosure.alloc = prVar28->nelem + 1;
  eclosure.nelem = 0;
  prVar15 = dfa;
  pbVar19 = (re_bitset_ptr_t)node;
  type = (re_node_set *)CONCAT31(in_register_0000001c,root);
  eclosure.elems = (Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4);
  if (eclosure.elems == (Idx *)0x0) {
LAB_0001c824:
    rVar5 = _REG_ESPACE;
    pbVar18 = pbVar19;
  }
  else {
    prVar16 = dfa->nodes;
    unaff_s3 = (re_node_set *)(node * 8);
    type = (re_node_set *)0xffffffff;
    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);
    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);
    dfa->eclosures[node].nelem = -1;
    if (((uint)pbVar18 & 0xffc000) == 0) {
LAB_0001c5b0:
      pbVar19 = pbVar18;
      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;
      type = dfa->edests;
      prVar12 = type + node;
      if (prVar12->nelem < 1) goto LAB_0001c7cc;
      unaff_s7 = (re_dfastate_t *)0x0;
      unaff_s5 = (re_dfastate_t *)&eclosure;
      bVar2 = false;
      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);
      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);
      do {
        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];
        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);
        prVar12 = dfa->eclosures + (int)pbVar19;
        iVar13 = prVar12->nelem;
        if (iVar13 == -1) {
          bVar2 = true;
        }
        else {
          prVar17 = (re_dfa_t *)&eclosure_elem;
          pbVar18 = pbVar19;
          if (iVar13 == 0) {
            type = (re_node_set *)0x0;
            prVar15 = dfa;
            rVar5 = (*pcVar4)(prVar17);
            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;
          }
          else {
            eclosure_elem.alloc = prVar12->alloc;
            eclosure_elem.elems = prVar12->elems;
            eclosure_elem.nelem = iVar13;
          }
          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);
          prVar15 = prVar17;
          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;
          prVar28 = dfa->eclosures + (int)pbVar19;
          if (prVar28->nelem == 0) {
            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);
            bVar2 = true;
          }
          type = dfa->edests;
          pbVar19 = pbVar18;
        }
        prVar12 = type + node;
        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);
      } while ((int)unaff_s7 < prVar12->nelem);
      prVar15 = (re_dfa_t *)node;
      _Var8 = re_node_set_insert(&eclosure,node);
      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;
      prVar29 = dfa->eclosures + node;
      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {
        prVar29->nelem = 0;
        rVar5 = _REG_NOERROR;
        new_set->alloc = eclosure.alloc;
        new_set->nelem = eclosure.nelem;
        new_set->elems = eclosure.elems;
        pbVar18 = pbVar19;
        goto LAB_0001c6e0;
      }
    }
    else {
      pbVar19 = pbVar18;
      if (prVar28->nelem != 0) {
        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {
          uVar1 = (int)pbVar18 << 8;
          prVar15 = (re_dfa_t *)node;
          pbVar18 = (re_bitset_ptr_t)node;
          type = (re_node_set *)node;
          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);
          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;
          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);
        }
        goto LAB_0001c5b0;
      }
LAB_0001c7cc:
      prVar15 = (re_dfa_t *)node;
      _Var8 = re_node_set_insert(&eclosure,node);
      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;
      prVar29 = dfa->eclosures + node;
    }
    prVar29->nelem = eclosure.nelem;
    prVar29->elems = eclosure.elems;
    rVar5 = _REG_NOERROR;
    prVar29->alloc = eclosure.alloc;
    new_set->alloc = eclosure.alloc;
    new_set->nelem = eclosure.nelem;
    new_set->elems = eclosure.elems;
    pbVar18 = pbVar19;
  }
LAB_0001c6e0:
  if (dfa_00 == *(re_dfa_t **)puVar3) {
    return rVar5;
  }
  pcVar4 = check_arrival_expand_ecl;
  puVar11 = PTR___stack_chk_fail_0003e2d4;
  (*(code *)PTR___stack_chk_fail_0003e2d4)();
  piVar6 = *(int **)(puVar11 + 0x21abc);
  prStack_90 = (re_state_table_entry *)puVar3;
  sStack_ac = 0;
  prVar16 = (re_token_t *)prVar15->nodes_alloc;
  piStack_a4 = (int *)*piVar6;
  prVar17 = prVar15;
  pbVar19 = pbVar18;
  prStack_b0 = prVar16;
  prStack_a0 = prVar28;
  prStack_9c = prVar29;
  prStack_98 = (re_node_set *)node;
  prStack_94 = unaff_s3;
  prStack_8c = unaff_s5;
  prStack_88 = (re_dfastate_t *)new_set;
  prStack_84 = unaff_s7;
  prStack_80 = dfa;
  pbStack_7c = (bin_tree_t *)pcVar4;
  sStack_a8 = (**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2);
  if (sStack_a8 == 0) {
    rVar5 = _REG_ESPACE;
  }
  else {
    pcVar4 = *(code **)(puVar11 + 0x21ac8);
    if (0 < (int)prVar16) {
      iVar13 = 0;
      do {
        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);
        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);
        sVar14 = 0;
        if (0 < (int)prVar17->nodes_alloc) {
          piVar9 = (int *)prVar17->nodes_len;
          do {
            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&
               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {
              if (*piVar9 != -1) {
                prVar17 = (re_dfa_t *)&prStack_b0;
                rVar5 = check_arrival_expand_ecl_sub
                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,
                                   (int)type);
                goto joined_r0x0001c968;
              }
              break;
            }
            sVar14 = sVar14 + 1;
            piVar9 = piVar9 + 1;
          } while (prVar17->nodes_alloc != sVar14);
        }
        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);
joined_r0x0001c968:
        if (rVar5 != _REG_NOERROR) {
          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);
          goto LAB_0001c9dc;
        }
        iVar13 = iVar13 + 1;
        pcVar4 = *(code **)(puVar11 + 0x21ac8);
      } while (iVar13 < (int)prVar15->nodes_alloc);
    }
    (*pcVar4)(prVar15->nodes_len);
    rVar5 = _REG_NOERROR;
    prVar15->nodes = prStack_b0;
    prVar15->nodes_alloc = sStack_ac;
    prVar15->nodes_len = sStack_a8;
  }
LAB_0001c9dc:
  if (piStack_a4 == (int *)*piVar6) {
    return rVar5;
  }
  pcVar4 = *(code **)(puVar11 + 0x21a9c);
  piVar6 = piStack_a4;
  (*pcVar4)();
  sVar14 = prVar17->nodes_alloc;
  if (sVar14 == 0) {
    return _REG_NOERROR;
  }
  bVar10 = pbVar19[1];
  if (bVar10 == 0) {
    return _REG_NOERROR;
  }
  iVar21 = piVar6[1];
  iVar13 = piVar6[2];
  if (*piVar6 < (int)(sVar14 + bVar10 + iVar21)) {
    iVar26 = sVar14 + bVar10 + *piVar6;
    iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);
    if (iVar13 == 0) {
      return _REG_ESPACE;
    }
    sVar14 = prVar17->nodes_alloc;
    bVar10 = pbVar19[1];
    iVar21 = piVar6[1];
    piVar6[2] = iVar13;
    *piVar6 = iVar26;
  }
  iVar25 = sVar14 - 1;
  sVar27 = prVar17->nodes_len;
  iVar26 = bVar10 - 1;
  bVar20 = pbVar19[2];
  iVar24 = *(int *)(sVar27 + iVar25 * 4);
  iVar22 = iVar21 + -1;
  iVar7 = iVar21 + sVar14 + bVar10;
  iVar21 = *(int *)(bVar20 + iVar26 * 4);
  do {
    while (iVar24 != iVar21) {
      if (iVar24 < iVar21) {
        iVar26 = iVar26 + -1;
        if (iVar26 < 0) goto LAB_0001cba8;
        iVar21 = *(int *)(bVar20 + iVar26 * 4);
      }
      else {
        iVar25 = iVar25 + -1;
        if (iVar25 < 0) goto LAB_0001cba8;
        iVar24 = *(int *)(sVar27 + iVar25 * 4);
      }
    }
    if (iVar22 < 0) {
LAB_0001cb3c:
      iVar7 = iVar7 + -1;
      *(int *)(iVar13 + iVar7 * 4) = iVar24;
    }
    else {
      piVar9 = (int *)(iVar13 + iVar22 * 4);
      iVar21 = *piVar9;
      while (iVar24 < iVar21) {
        iVar22 = iVar22 + -1;
        piVar9 = piVar9 + -1;
        if (iVar22 == -1) goto LAB_0001cb3c;
        iVar21 = *piVar9;
      }
      if (iVar21 != iVar24) goto LAB_0001cb3c;
    }
    iVar25 = iVar25 + -1;
    iVar26 = iVar26 + -1;
    if ((iVar25 < 0) || (iVar26 < 0)) {
LAB_0001cba8:
      iVar26 = piVar6[1];
      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];
      iVar21 = iVar22 - iVar7;
      iVar22 = iVar22 + -1;
      piVar6[1] = iVar26 + iVar21;
      if (0 < iVar21) {
        iVar26 = iVar26 + -1;
        iVar24 = iVar22 * 4;
        if (-1 < iVar26) {
          do {
            iVar23 = *(int *)(iVar13 + iVar24);
            iVar25 = *(int *)(iVar13 + iVar26 * 4);
            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);
            if (iVar25 < iVar23) {
              do {
                iVar21 = iVar21 + -1;
                *piVar9 = iVar23;
                iVar22 = iVar22 + -1;
                if (iVar21 == 0) {
                  iVar13 = piVar6[2];
                  iVar21 = 0;
                  goto LAB_0001cc5c;
                }
                iVar24 = iVar22 * 4;
                iVar25 = *(int *)(iVar13 + iVar26 * 4);
                iVar23 = *(int *)(iVar13 + iVar24);
                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);
              } while (iVar25 < iVar23);
            }
            iVar26 = iVar26 + -1;
            *piVar9 = iVar25;
          } while (iVar26 != -1);
          iVar13 = piVar6[2];
        }
      }
      iVar21 = iVar21 << 2;
LAB_0001cc5c:
      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);
      return _REG_NOERROR;
    }
    iVar24 = *(int *)(sVar27 + iVar25 * 4);
    iVar21 = *(int *)(bVar20 + iVar26 * 4);
  } while( true );
}



int FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)

{
  bool bVar1;
  undefined *puVar2;
  code *pcVar3;
  int *piVar4;
  int *piVar5;
  int *piVar6;
  undefined *puVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  int *piVar12;
  int *piVar13;
  int iVar14;
  int *piVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  int *piVar23;
  undefined *unaff_s3;
  int *unaff_s5;
  int unaff_s7;
  int iStack_b0;
  int iStack_ac;
  int iStack_a8;
  int *piStack_a4;
  int iStack_a0;
  int *piStack_9c;
  int *piStack_98;
  undefined *puStack_94;
  undefined *puStack_90;
  int *piStack_8c;
  int *piStack_88;
  int iStack_84;
  int *piStack_80;
  code *pcStack_7c;
  uint local_68;
  int local_44;
  int local_40;
  int local_3c;
  int local_38;
  int local_34;
  int local_30;
  int *local_2c;
  
  puVar2 = PTR___stack_chk_guard_0003e2f4;
  piVar23 = (int *)((int)param_3 * 0xc);
  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;
  iVar22 = param_2[5] + (int)piVar23;
  local_44 = *(int *)(iVar22 + 4) + 1;
  local_40 = 0;
  piVar4 = param_2;
  piVar12 = param_3;
  piVar15 = param_4;
  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);
  if (local_3c == 0) {
LAB_0001c824:
    iVar10 = 0xc;
  }
  else {
    iVar10 = *param_2;
    unaff_s3 = (undefined *)((int)param_3 * 8);
    piVar15 = (int *)0xffffffff;
    puVar7 = unaff_s3 + iVar10;
    piVar12 = *(int **)(puVar7 + 4);
    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;
    if (((uint)piVar12 & 0xffc000) == 0) {
LAB_0001c5b0:
      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;
      piVar15 = (int *)param_2[5];
      piVar4 = piVar15 + (int)param_3 * 3;
      if (piVar4[1] < 1) goto LAB_0001c7cc;
      unaff_s7 = 0;
      unaff_s5 = &local_44;
      bVar1 = false;
      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);
      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;
      do {
        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);
        iVar22 = (int)piVar12 * 0xc;
        piVar4 = (int *)(param_2[6] + iVar22);
        iVar10 = piVar4[1];
        if (iVar10 == -1) {
          bVar1 = true;
        }
        else {
          piVar11 = &local_38;
          if (iVar10 == 0) {
            piVar15 = (int *)0x0;
            piVar4 = param_2;
            iVar10 = (*pcVar3)(piVar11);
            if (iVar10 != 0) goto LAB_0001c6e0;
          }
          else {
            local_38 = *piVar4;
            local_30 = piVar4[2];
            local_34 = iVar10;
          }
          iVar10 = FUN_0001c29c(unaff_s5);
          piVar4 = piVar11;
          if (iVar10 != 0) goto LAB_0001c6e0;
          iVar22 = param_2[6] + iVar22;
          if (*(int *)(iVar22 + 4) == 0) {
            (*(code *)PTR_free_0003e300)(local_30);
            bVar1 = true;
          }
          piVar15 = (int *)param_2[5];
        }
        piVar4 = piVar15 + (int)param_3 * 3;
        unaff_s7 = unaff_s7 + 1;
      } while (unaff_s7 < piVar4[1]);
      piVar4 = param_3;
      iVar10 = FUN_00019d18(&local_44);
      if (iVar10 == 0) goto LAB_0001c824;
      piVar23 = (int *)(param_2[6] + (int)piVar23);
      if ((bVar1) && (param_4 == (int *)0x0)) {
        piVar23[1] = 0;
        iVar10 = 0;
        *param_1 = local_44;
        param_1[1] = local_40;
        param_1[2] = local_3c;
        goto LAB_0001c6e0;
      }
    }
    else {
      if (*(int *)(iVar22 + 4) != 0) {
        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {
          local_68 = (uint)((int)piVar12 << 8) >> 0x16;
          piVar4 = param_3;
          piVar12 = param_3;
          piVar15 = param_3;
          iVar10 = FUN_0001b200(param_2);
          if (iVar10 != 0) goto LAB_0001c6e0;
          puVar7 = unaff_s3 + *param_2;
        }
        goto LAB_0001c5b0;
      }
LAB_0001c7cc:
      piVar4 = param_3;
      iVar10 = FUN_00019d18(&local_44);
      if (iVar10 == 0) goto LAB_0001c824;
      piVar23 = (int *)(param_2[6] + (int)piVar23);
    }
    piVar23[1] = local_40;
    piVar23[2] = local_3c;
    iVar10 = 0;
    *piVar23 = local_44;
    *param_1 = local_44;
    param_1[1] = local_40;
    param_1[2] = local_3c;
  }
LAB_0001c6e0:
  if (local_2c == *(int **)puVar2) {
    return iVar10;
  }
  pcVar3 = FUN_0001c838;
  piVar8 = local_2c;
  puVar7 = PTR___stack_chk_fail_0003e2d4;
  (*(code *)PTR___stack_chk_fail_0003e2d4)();
  piVar5 = *(int **)(puVar7 + 0x21abc);
  puStack_90 = puVar2;
  iStack_ac = 0;
  iVar10 = piVar4[1];
  piStack_a4 = (int *)*piVar5;
  piVar11 = piVar4;
  piVar13 = piVar12;
  iStack_b0 = iVar10;
  iStack_a0 = iVar22;
  piStack_9c = piVar23;
  piStack_98 = param_3;
  puStack_94 = unaff_s3;
  piStack_8c = unaff_s5;
  piStack_88 = param_1;
  iStack_84 = unaff_s7;
  piStack_80 = param_2;
  pcStack_7c = pcVar3;
  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);
  if (iStack_a8 == 0) {
    iVar22 = 0xc;
  }
  else {
    pcVar3 = *(code **)(puVar7 + 0x21ac8);
    if (0 < iVar10) {
      iVar10 = 0;
      do {
        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);
        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);
        iVar22 = 0;
        if (0 < piVar11[1]) {
          piVar23 = (int *)piVar11[2];
          do {
            piVar6 = (int *)(*piVar8 + *piVar23 * 8);
            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {
              if (*piVar23 != -1) {
                piVar11 = &iStack_b0;
                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);
                goto joined_r0x0001c968;
              }
              break;
            }
            iVar22 = iVar22 + 1;
            piVar23 = piVar23 + 1;
          } while (piVar11[1] != iVar22);
        }
        iVar22 = FUN_0001c29c(&iStack_b0);
joined_r0x0001c968:
        if (iVar22 != 0) {
          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);
          goto LAB_0001c9dc;
        }
        iVar10 = iVar10 + 1;
        pcVar3 = *(code **)(puVar7 + 0x21ac8);
      } while (iVar10 < piVar4[1]);
    }
    (*pcVar3)(piVar4[2]);
    iVar22 = 0;
    *piVar4 = iStack_b0;
    piVar4[1] = iStack_ac;
    piVar4[2] = iStack_a8;
  }
LAB_0001c9dc:
  if (piStack_a4 == (int *)*piVar5) {
    return iVar22;
  }
  pcVar3 = *(code **)(puVar7 + 0x21a9c);
  piVar4 = piStack_a4;
  (*pcVar3)();
  iVar22 = piVar11[1];
  if (iVar22 == 0) {
    return 0;
  }
  iVar10 = piVar13[1];
  if (iVar10 == 0) {
    return 0;
  }
  iVar16 = piVar4[1];
  iVar9 = piVar4[2];
  if (*piVar4 < iVar22 + iVar10 + iVar16) {
    iVar20 = iVar22 + iVar10 + *piVar4;
    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);
    if (iVar9 == 0) {
      return 0xc;
    }
    iVar22 = piVar11[1];
    iVar10 = piVar13[1];
    iVar16 = piVar4[1];
    piVar4[2] = iVar9;
    *piVar4 = iVar20;
  }
  iVar19 = iVar22 + -1;
  iVar21 = piVar11[2];
  iVar20 = iVar10 + -1;
  iVar14 = piVar13[2];
  iVar18 = *(int *)(iVar21 + iVar19 * 4);
  iVar17 = iVar16 + -1;
  iVar10 = iVar16 + iVar22 + iVar10;
  iVar22 = *(int *)(iVar14 + iVar20 * 4);
  do {
    while (iVar18 != iVar22) {
      if (iVar18 < iVar22) {
        iVar20 = iVar20 + -1;
        if (iVar20 < 0) goto LAB_0001cba8;
        iVar22 = *(int *)(iVar14 + iVar20 * 4);
      }
      else {
        iVar19 = iVar19 + -1;
        if (iVar19 < 0) goto LAB_0001cba8;
        iVar18 = *(int *)(iVar21 + iVar19 * 4);
      }
    }
    if (iVar17 < 0) {
LAB_0001cb3c:
      iVar10 = iVar10 + -1;
      *(int *)(iVar9 + iVar10 * 4) = iVar18;
    }
    else {
      piVar12 = (int *)(iVar9 + iVar17 * 4);
      iVar22 = *piVar12;
      while (iVar18 < iVar22) {
        iVar17 = iVar17 + -1;
        piVar12 = piVar12 + -1;
        if (iVar17 == -1) goto LAB_0001cb3c;
        iVar22 = *piVar12;
      }
      if (iVar22 != iVar18) goto LAB_0001cb3c;
    }
    iVar19 = iVar19 + -1;
    iVar20 = iVar20 + -1;
    if ((iVar19 < 0) || (iVar20 < 0)) {
LAB_0001cba8:
      iVar16 = piVar4[1];
      iVar20 = iVar16 + piVar11[1] + piVar13[1];
      iVar22 = iVar20 - iVar10;
      iVar20 = iVar20 + -1;
      piVar4[1] = iVar16 + iVar22;
      if (0 < iVar22) {
        iVar16 = iVar16 + -1;
        iVar17 = iVar20 * 4;
        if (-1 < iVar16) {
          do {
            iVar18 = *(int *)(iVar9 + iVar17);
            iVar14 = *(int *)(iVar9 + iVar16 * 4);
            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);
            if (iVar14 < iVar18) {
              do {
                iVar22 = iVar22 + -1;
                *piVar12 = iVar18;
                iVar20 = iVar20 + -1;
                if (iVar22 == 0) {
                  iVar9 = piVar4[2];
                  iVar22 = 0;
                  goto LAB_0001cc5c;
                }
                iVar17 = iVar20 * 4;
                iVar14 = *(int *)(iVar9 + iVar16 * 4);
                iVar18 = *(int *)(iVar9 + iVar17);
                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);
              } while (iVar14 < iVar18);
            }
            iVar16 = iVar16 + -1;
            *piVar12 = iVar14;
          } while (iVar16 != -1);
          iVar9 = piVar4[2];
        }
      }
      iVar22 = iVar22 << 2;
LAB_0001cc5c:
      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);
      return 0;
    }
    iVar18 = *(int *)(iVar21 + iVar19 * 4);
    iVar22 = *(int *)(iVar14 + iVar20 * 4);
  } while( true );
}


lui gp,0x3
addiu gp,gp,-0x6428
addu gp,gp,t9
addiu sp,sp,-0x78
lw t9,-0x7e2c(gp)
sw s1,0x54(sp)
sll s1,a2,0x1
sw s4,0x60(sp)
addu s1,s1,a2
sw s0,0x50(sp)
lw s4,-0x7dcc(gp)
lw s0,0x14(a1)
sll s1,s1,0x2
sw s6,0x68(sp)
or s6,a0,zero
sw gp,0x18(sp)
lw v0,0x0(s4)
addu s0,s0,s1
sw s8,0x70(sp)
or s8,a1,zero
sw s2,0x58(sp)
or s2,a2,zero
sw v0,0x4c(sp)
lw v0,0x4(s0)
sw ra,0x74(sp)
sw s7,0x6c(sp)
addiu v0,v0,0x1
sw s5,0x64(sp)
sw s3,0x5c(sp)
sll a0,v0,0x2
sw a3,0x84(sp)
sw zero,0x38(sp)
jalr t9
_sw v0,0x34(sp)
lw gp,0x18(sp)
beq v0,zero,0x0001c824
_sw v0,0x3c(sp)
lw a1,0x0(s8)
sll s3,s2,0x3
lw v0,0x18(s8)
li a3,-0x1
addu a0,a1,s3
addu v0,v0,s1
lw a2,0x4(a0)
sw a3,0x4(v0)
lui v0,0xff
ori v0,v0,0xc000
and v0,a2,v0
bne v0,zero,0x0001c76c
_nop
lbu v0,0x4(a0)
andi v0,v0,0x8
beq v0,zero,0x0001c7cc
_lw t9,-0x7f0c(gp)
lw a3,0x14(s8)
addu a0,a3,s1
lw v0,0x4(a0)
blez v0,0x0001c7cc
_lw v0,-0x7f0c(gp)
or s7,zero,zero
lw s3,-0x7f0c(gp)
addiu s5,sp,0x34
sw zero,0x24(sp)
addiu v0,v0,-0x3b18
addiu s3,s3,-0x3d64
sw v0,0x2c(sp)
lw a1,0x8(a0)
sll a0,s7,0x2
lw v0,0x18(s8)
li t2,-0x1
addu a0,a1,a0
lw a2,0x0(a0)
sll s0,a2,0x1
addu s0,s0,a2
sll s0,s0,0x2
addu v0,v0,s0
lw a0,0x4(v0)
beq a0,t2,0x0001c760
_nop
beq a0,zero,0x0001c734
_addiu t2,sp,0x40
lw a1,0x0(v0)
lw v0,0x8(v0)
sw a0,0x44(sp)
sw a1,0x40(sp)
sw v0,0x48(sp)
or a1,t2,zero
or t9,s3,zero
bal 0x0001c29c
_or a0,s5,zero
bne v0,zero,0x0001c6e0
_lw gp,0x18(sp)
lw v0,0x18(s8)
addu s0,v0,s0
lw v0,0x4(s0)
beq v0,zero,0x0001c71c
_lw t9,-0x7dc0(gp)
lw a3,0x14(s8)
addu a0,a3,s1
addiu s7,s7,0x1
lw v0,0x4(a0)
slt v0,s7,v0
bne v0,zero,0x0001c5f0
_lw t9,-0x7f0c(gp)
addiu a0,sp,0x34
addiu t9,t9,-0x62e8
bal 0x00019d18
_or a1,s2,zero
beq v0,zero,0x0001c824
_lw gp,0x18(sp)
lw v0,0x18(s8)
addu s1,v0,s1
lw v0,0x24(sp)
beq v0,zero,0x0001c7f0
_lw v1,0x38(sp)
lw v0,0x84(sp)
bne v0,zero,0x0001c7f4
_lw v0,0x3c(sp)
sw zero,0x4(s1)
or v0,zero,zero
lw v1,0x34(sp)
sw v1,0x0(s6)
lw v1,0x38(sp)
sw v1,0x4(s6)
lw v1,0x3c(sp)
sw v1,0x8(s6)
lw a0,0x4c(sp)
lw v1,0x0(s4)
bne a0,v1,0x0001c82c
_lw ra,0x74(sp)
lw s8,0x70(sp)
lw s7,0x6c(sp)
lw s6,0x68(sp)
lw s5,0x64(sp)
lw s4,0x60(sp)
lw s3,0x5c(sp)
lw s2,0x58(sp)
lw s1,0x54(sp)
lw s0,0x50(sp)
jr ra
_addiu sp,sp,0x78
jalr t9
_lw a0,0x48(sp)
li v0,0x1
lw gp,0x18(sp)
b 0x0001c66c
_sw v0,0x24(sp)
lw t9,0x2c(sp)
or a3,zero,zero
or a0,t2,zero
sw t2,0x28(sp)
jalr t9
_or a1,s8,zero
lw gp,0x18(sp)
beq v0,zero,0x0001c640
_lw t2,0x28(sp)
b 0x0001c6e0
_nop
li v0,0x1
b 0x0001c670
_sw v0,0x24(sp)
lw v0,0x4(s0)
beq v0,zero,0x0001c7cc
_lw t9,-0x7f0c(gp)
lw v0,0x8(s0)
lw v0,0x0(v0)
sll v0,v0,0x3
addu a1,a1,v0
lw v0,0x4(a1)
andi v0,v0,0x2000
bne v0,zero,0x0001c5b0
_lw t9,-0x7f0c(gp)
ext a2,a2,0xe,0xa
or a3,s2,zero
sw a2,0x10(sp)
or a1,s2,zero
addiu t9,t9,-0x4e00
or a2,s2,zero
bal 0x0001b200
_or a0,s8,zero
bne v0,zero,0x0001c6e0
_lw gp,0x18(sp)
lw a0,0x0(s8)
b 0x0001c5b0
_addu a0,a0,s3
addiu a0,sp,0x34
addiu t9,t9,-0x62e8
bal 0x00019d18
_or a1,s2,zero
beq v0,zero,0x0001c824
_lw gp,0x18(sp)
lw v0,0x18(s8)
addu s1,v0,s1
lw v1,0x38(sp)
lw v0,0x3c(sp)
lw a0,0x34(sp)
sw v1,0x4(s1)
sw v0,0x8(s1)
or v0,zero,zero
sw a0,0x0(s1)
lw v1,0x34(sp)
sw v1,0x0(s6)
lw v1,0x38(sp)
sw v1,0x4(s6)
lw v1,0x3c(sp)
b 0x0001c6e0
_sw v1,0x8(s6)
b 0x0001c6e0
_li v0,0xc
lw t9,-0x7dec(gp)
jalr t9
_nop
(translation_unit "int FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}\n\n" (function_definition "int FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}" primitive_type (function_declarator "FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int *piVar23;" primitive_type (pointer_declarator "*piVar23" * identifier) ;) (declaration "undefined *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "int *unaff_s5;" primitive_type (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "int iStack_b0;" primitive_type identifier ;) (declaration "int iStack_ac;" primitive_type identifier ;) (declaration "int iStack_a8;" primitive_type identifier ;) (declaration "int *piStack_a4;" primitive_type (pointer_declarator "*piStack_a4" * identifier) ;) (declaration "int iStack_a0;" primitive_type identifier ;) (declaration "int *piStack_9c;" primitive_type (pointer_declarator "*piStack_9c" * identifier) ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "undefined *puStack_94;" type_identifier (pointer_declarator "*puStack_94" * identifier) ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "int *piStack_8c;" primitive_type (pointer_declarator "*piStack_8c" * identifier) ;) (declaration "int *piStack_88;" primitive_type (pointer_declarator "*piStack_88" * identifier) ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "int *piStack_80;" primitive_type (pointer_declarator "*piStack_80" * identifier) ;) (declaration "code *pcStack_7c;" type_identifier (pointer_declarator "*pcStack_7c" * identifier) ;) (declaration "uint local_68;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0003e2f4;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0003e2f4" identifier = identifier) ;) (expression_statement "piVar23 = (int *)((int)param_3 * 0xc);" (assignment_expression "piVar23 = (int *)((int)param_3 * 0xc)" identifier = (cast_expression "(int *)((int)param_3 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 * 0xc)" ( (binary_expression "(int)param_3 * 0xc" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0003e2f4" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_0003e2f4" * (cast_expression "(int **)PTR___stack_chk_guard_0003e2f4" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar22 = param_2[5] + (int)piVar23;" (assignment_expression "iVar22 = param_2[5] + (int)piVar23" identifier = (binary_expression "param_2[5] + (int)piVar23" (subscript_expression "param_2[5]" identifier [ number_literal ]) + (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_44 = *(int *)(iVar22 + 4) + 1;" (assignment_expression "local_44 = *(int *)(iVar22 + 4) + 1" identifier = (binary_expression "*(int *)(iVar22 + 4) + 1" (pointer_expression "*(int *)(iVar22 + 4)" * (cast_expression "(int *)(iVar22 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 4)" ( (binary_expression "iVar22 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "piVar12 = param_3;" (assignment_expression "piVar12 = param_3" identifier = identifier) ;) (expression_statement "piVar15 = param_4;" (assignment_expression "piVar15 = param_4" identifier = identifier) ;) (expression_statement "local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);" (assignment_expression "local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4)" identifier = (call_expression "(*(code *)PTR_malloc_0003e294)(local_44 * 4)" (parenthesized_expression "(*(code *)PTR_malloc_0003e294)" ( (pointer_expression "*(code *)PTR_malloc_0003e294" * (cast_expression "(code *)PTR_malloc_0003e294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_44 * 4)" ( (binary_expression "local_44 * 4" identifier * number_literal) )))) ;) (if_statement "if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001c824:\n    iVar10 = 0xc;\n  }" { (labeled_statement "LAB_0001c824:\n    iVar10 = 0xc;" statement_identifier : (expression_statement "iVar10 = 0xc;" (assignment_expression "iVar10 = 0xc" identifier = number_literal) ;)) }) (else_clause "else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" else (compound_statement "{\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" { (expression_statement "iVar10 = *param_2;" (assignment_expression "iVar10 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "unaff_s3 = (undefined *)((int)param_3 * 8);" (assignment_expression "unaff_s3 = (undefined *)((int)param_3 * 8)" identifier = (cast_expression "(undefined *)((int)param_3 * 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 * 8)" ( (binary_expression "(int)param_3 * 8" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (expression_statement "piVar15 = (int *)0xffffffff;" (assignment_expression "piVar15 = (int *)0xffffffff" identifier = (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar7 = unaff_s3 + iVar10;" (assignment_expression "puVar7 = unaff_s3 + iVar10" identifier = (binary_expression "unaff_s3 + iVar10" identifier + identifier)) ;) (expression_statement "piVar12 = *(int **)(puVar7 + 4);" (assignment_expression "piVar12 = *(int **)(puVar7 + 4)" identifier = (pointer_expression "*(int **)(puVar7 + 4)" * (cast_expression "(int **)(puVar7 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 4)" ( (binary_expression "puVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)piVar23 + param_2[6] + 4)" * (cast_expression "(undefined4 *)((int)piVar23 + param_2[6] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar23 + param_2[6] + 4)" ( (binary_expression "(int)piVar23 + param_2[6] + 4" (binary_expression "(int)piVar23 + param_2[6]" (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier) + (subscript_expression "param_2[6]" identifier [ number_literal ])) + number_literal) )))) = number_literal) ;) (if_statement "if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" if (parenthesized_expression "(((uint)piVar12 & 0xffc000) == 0)" ( (binary_expression "((uint)piVar12 & 0xffc000) == 0" (parenthesized_expression "((uint)piVar12 & 0xffc000)" ( (binary_expression "(uint)piVar12 & 0xffc000" (cast_expression "(uint)piVar12" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }" { (labeled_statement "LAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;" statement_identifier : (if_statement "if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;" if (parenthesized_expression "((puVar7[4] & 8) == 0)" ( (binary_expression "(puVar7[4] & 8) == 0" (parenthesized_expression "(puVar7[4] & 8)" ( (binary_expression "puVar7[4] & 8" (subscript_expression "puVar7[4]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0001c7cc;" goto statement_identifier ;))) (expression_statement "piVar15 = (int *)param_2[5];" (assignment_expression "piVar15 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) (expression_statement "piVar4 = piVar15 + (int)param_3 * 3;" (assignment_expression "piVar4 = piVar15 + (int)param_3 * 3" identifier = (binary_expression "piVar15 + (int)param_3 * 3" identifier + (binary_expression "(int)param_3 * 3" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal))) ;) (if_statement "if (piVar4[1] < 1) goto LAB_0001c7cc;" if (parenthesized_expression "(piVar4[1] < 1)" ( (binary_expression "piVar4[1] < 1" (subscript_expression "piVar4[1]" identifier [ number_literal ]) < number_literal) )) (goto_statement "goto LAB_0001c7cc;" goto statement_identifier ;)) (expression_statement "unaff_s7 = 0;" (assignment_expression "unaff_s7 = 0" identifier = number_literal) ;) (expression_statement "unaff_s5 = &local_44;" (assignment_expression "unaff_s5 = &local_44" identifier = (pointer_expression "&local_44" & identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18)" identifier = (cast_expression "(code *)(PTR_LAB_0003e1b4 + -0x3b18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0003e1b4 + -0x3b18)" ( (binary_expression "PTR_LAB_0003e1b4 + -0x3b18" identifier + number_literal) )))) ;) (expression_statement "unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;" (assignment_expression "unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64" identifier = (binary_expression "PTR_LAB_0003e1b4 + -0x3d64" identifier + number_literal)) ;) (do_statement "do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);" do (compound_statement "{\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      }" { (expression_statement "piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);" (assignment_expression "piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4)" identifier = (pointer_expression "*(int **)(piVar4[2] + unaff_s7 * 4)" * (cast_expression "(int **)(piVar4[2] + unaff_s7 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar4[2] + unaff_s7 * 4)" ( (binary_expression "piVar4[2] + unaff_s7 * 4" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + (binary_expression "unaff_s7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar22 = (int)piVar12 * 0xc;" (assignment_expression "iVar22 = (int)piVar12 * 0xc" identifier = (binary_expression "(int)piVar12 * 0xc" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) (expression_statement "piVar4 = (int *)(param_2[6] + iVar22);" (assignment_expression "piVar4 = (int *)(param_2[6] + iVar22)" identifier = (cast_expression "(int *)(param_2[6] + iVar22)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + iVar22)" ( (binary_expression "param_2[6] + iVar22" (subscript_expression "param_2[6]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "iVar10 = piVar4[1];" (assignment_expression "iVar10 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (compound_statement "{\n          bVar1 = true;\n        }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" else (compound_statement "{\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" { (expression_statement "piVar11 = &local_38;" (assignment_expression "piVar11 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;) (if_statement "if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }" { (expression_statement "piVar15 = (int *)0x0;" (assignment_expression "piVar15 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "iVar10 = (*pcVar3)(piVar11);" (assignment_expression "iVar10 = (*pcVar3)(piVar11)" identifier = (call_expression "(*pcVar3)(piVar11)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(piVar11)" ( identifier )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) }) (else_clause "else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" else (compound_statement "{\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" { (expression_statement "local_38 = *piVar4;" (assignment_expression "local_38 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "local_30 = piVar4[2];" (assignment_expression "local_30 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "local_34 = iVar10;" (assignment_expression "local_34 = iVar10" identifier = identifier) ;) }))) (expression_statement "iVar10 = FUN_0001c29c(unaff_s5);" (assignment_expression "iVar10 = FUN_0001c29c(unaff_s5)" identifier = (call_expression "FUN_0001c29c(unaff_s5)" identifier (argument_list "(unaff_s5)" ( identifier )))) ;) (expression_statement "piVar4 = piVar11;" (assignment_expression "piVar4 = piVar11" identifier = identifier) ;) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) (expression_statement "iVar22 = param_2[6] + iVar22;" (assignment_expression "iVar22 = param_2[6] + iVar22" identifier = (binary_expression "param_2[6] + iVar22" (subscript_expression "param_2[6]" identifier [ number_literal ]) + identifier)) ;) (if_statement "if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }" if (parenthesized_expression "(*(int *)(iVar22 + 4) == 0)" ( (binary_expression "*(int *)(iVar22 + 4) == 0" (pointer_expression "*(int *)(iVar22 + 4)" * (cast_expression "(int *)(iVar22 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 4)" ( (binary_expression "iVar22 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }" { (expression_statement "(*(code *)PTR_free_0003e300)(local_30);" (call_expression "(*(code *)PTR_free_0003e300)(local_30)" (parenthesized_expression "(*(code *)PTR_free_0003e300)" ( (pointer_expression "*(code *)PTR_free_0003e300" * (cast_expression "(code *)PTR_free_0003e300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) (expression_statement "piVar15 = (int *)param_2[5];" (assignment_expression "piVar15 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) }))) (expression_statement "piVar4 = piVar15 + (int)param_3 * 3;" (assignment_expression "piVar4 = piVar15 + (int)param_3 * 3" identifier = (binary_expression "piVar15 + (int)param_3 * 3" identifier + (binary_expression "(int)param_3 * 3" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal))) ;) (expression_statement "unaff_s7 = unaff_s7 + 1;" (assignment_expression "unaff_s7 = unaff_s7 + 1" identifier = (binary_expression "unaff_s7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s7 < piVar4[1])" ( (binary_expression "unaff_s7 < piVar4[1]" identifier < (subscript_expression "piVar4[1]" identifier [ number_literal ])) )) ;) (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" identifier = identifier) ;) (expression_statement "iVar10 = FUN_00019d18(&local_44);" (assignment_expression "iVar10 = FUN_00019d18(&local_44)" identifier = (call_expression "FUN_00019d18(&local_44)" identifier (argument_list "(&local_44)" ( (pointer_expression "&local_44" & identifier) )))) ;) (if_statement "if (iVar10 == 0) goto LAB_0001c824;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001c824;" goto statement_identifier ;)) (expression_statement "piVar23 = (int *)(param_2[6] + (int)piVar23);" (assignment_expression "piVar23 = (int *)(param_2[6] + (int)piVar23)" identifier = (cast_expression "(int *)(param_2[6] + (int)piVar23)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + (int)piVar23)" ( (binary_expression "param_2[6] + (int)piVar23" (subscript_expression "param_2[6]" identifier [ number_literal ]) + (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }" if (parenthesized_expression "((bVar1) && (param_4 == (int *)0x0))" ( (binary_expression "(bVar1) && (param_4 == (int *)0x0)" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "(param_4 == (int *)0x0)" ( (binary_expression "param_4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }" { (expression_statement "piVar23[1] = 0;" (assignment_expression "piVar23[1] = 0" (subscript_expression "piVar23[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = local_44;" (assignment_expression "*param_1 = local_44" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = local_3c;" (assignment_expression "param_1[2] = local_3c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" else (compound_statement "{\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" { (if_statement "if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }" if (parenthesized_expression "(*(int *)(iVar22 + 4) != 0)" ( (binary_expression "*(int *)(iVar22 + 4) != 0" (pointer_expression "*(int *)(iVar22 + 4)" * (cast_expression "(int *)(iVar22 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 4)" ( (binary_expression "iVar22 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }" { (if_statement "if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }" if (parenthesized_expression "((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000)" ( (binary_expression "*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" * (cast_expression "(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" ( (binary_expression "iVar10 + **(int **)(iVar22 + 8) * 8 + 4" (binary_expression "iVar10 + **(int **)(iVar22 + 8) * 8" identifier + (binary_expression "**(int **)(iVar22 + 8) * 8" (pointer_expression "**(int **)(iVar22 + 8)" * (pointer_expression "*(int **)(iVar22 + 8)" * (cast_expression "(int **)(iVar22 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) ))))) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }" { (expression_statement "local_68 = (uint)((int)piVar12 << 8) >> 0x16;" (assignment_expression "local_68 = (uint)((int)piVar12 << 8) >> 0x16" identifier = (binary_expression "(uint)((int)piVar12 << 8) >> 0x16" (call_expression "(uint)((int)piVar12 << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)piVar12 << 8)" ( (binary_expression "(int)piVar12 << 8" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal) ))) >> number_literal)) ;) (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" identifier = identifier) ;) (expression_statement "piVar12 = param_3;" (assignment_expression "piVar12 = param_3" identifier = identifier) ;) (expression_statement "piVar15 = param_3;" (assignment_expression "piVar15 = param_3" identifier = identifier) ;) (expression_statement "iVar10 = FUN_0001b200(param_2);" (assignment_expression "iVar10 = FUN_0001b200(param_2)" identifier = (call_expression "FUN_0001b200(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) (expression_statement "puVar7 = unaff_s3 + *param_2;" (assignment_expression "puVar7 = unaff_s3 + *param_2" identifier = (binary_expression "unaff_s3 + *param_2" identifier + (pointer_expression "*param_2" * identifier))) ;) })) (goto_statement "goto LAB_0001c5b0;" goto statement_identifier ;) })) (labeled_statement "LAB_0001c7cc:\n      piVar4 = param_3;" statement_identifier : (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" identifier = identifier) ;)) (expression_statement "iVar10 = FUN_00019d18(&local_44);" (assignment_expression "iVar10 = FUN_00019d18(&local_44)" identifier = (call_expression "FUN_00019d18(&local_44)" identifier (argument_list "(&local_44)" ( (pointer_expression "&local_44" & identifier) )))) ;) (if_statement "if (iVar10 == 0) goto LAB_0001c824;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001c824;" goto statement_identifier ;)) (expression_statement "piVar23 = (int *)(param_2[6] + (int)piVar23);" (assignment_expression "piVar23 = (int *)(param_2[6] + (int)piVar23)" identifier = (cast_expression "(int *)(param_2[6] + (int)piVar23)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + (int)piVar23)" ( (binary_expression "param_2[6] + (int)piVar23" (subscript_expression "param_2[6]" identifier [ number_literal ]) + (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "piVar23[1] = local_40;" (assignment_expression "piVar23[1] = local_40" (subscript_expression "piVar23[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar23[2] = local_3c;" (assignment_expression "piVar23[2] = local_3c" (subscript_expression "piVar23[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "*piVar23 = local_44;" (assignment_expression "*piVar23 = local_44" (pointer_expression "*piVar23" * identifier) = identifier) ;) (expression_statement "*param_1 = local_44;" (assignment_expression "*param_1 = local_44" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = local_3c;" (assignment_expression "param_1[2] = local_3c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }" statement_identifier : (if_statement "if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar2)" ( (binary_expression "local_2c == *(int **)puVar2" identifier == (pointer_expression "*(int **)puVar2" * (cast_expression "(int **)puVar2" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar10;\n  }" { (return_statement "return iVar10;" return identifier ;) }))) (expression_statement "pcVar3 = FUN_0001c838;" (assignment_expression "pcVar3 = FUN_0001c838" identifier = identifier) ;) (expression_statement "piVar8 = local_2c;" (assignment_expression "piVar8 = local_2c" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_0003e2d4;" (assignment_expression "puVar7 = PTR___stack_chk_fail_0003e2d4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003e2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003e2d4" * (cast_expression "(code *)PTR___stack_chk_fail_0003e2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5 = *(int **)(puVar7 + 0x21abc);" (assignment_expression "piVar5 = *(int **)(puVar7 + 0x21abc)" identifier = (pointer_expression "*(int **)(puVar7 + 0x21abc)" * (cast_expression "(int **)(puVar7 + 0x21abc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21abc)" ( (binary_expression "puVar7 + 0x21abc" identifier + number_literal) ))))) ;) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" identifier = identifier) ;) (expression_statement "iStack_ac = 0;" (assignment_expression "iStack_ac = 0" identifier = number_literal) ;) (expression_statement "iVar10 = piVar4[1];" (assignment_expression "iVar10 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "piStack_a4 = (int *)*piVar5;" (assignment_expression "piStack_a4 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "piVar11 = piVar4;" (assignment_expression "piVar11 = piVar4" identifier = identifier) ;) (expression_statement "piVar13 = piVar12;" (assignment_expression "piVar13 = piVar12" identifier = identifier) ;) (expression_statement "iStack_b0 = iVar10;" (assignment_expression "iStack_b0 = iVar10" identifier = identifier) ;) (expression_statement "iStack_a0 = iVar22;" (assignment_expression "iStack_a0 = iVar22" identifier = identifier) ;) (expression_statement "piStack_9c = piVar23;" (assignment_expression "piStack_9c = piVar23" identifier = identifier) ;) (expression_statement "piStack_98 = param_3;" (assignment_expression "piStack_98 = param_3" identifier = identifier) ;) (expression_statement "puStack_94 = unaff_s3;" (assignment_expression "puStack_94 = unaff_s3" identifier = identifier) ;) (expression_statement "piStack_8c = unaff_s5;" (assignment_expression "piStack_8c = unaff_s5" identifier = identifier) ;) (expression_statement "piStack_88 = param_1;" (assignment_expression "piStack_88 = param_1" identifier = identifier) ;) (expression_statement "iStack_84 = unaff_s7;" (assignment_expression "iStack_84 = unaff_s7" identifier = identifier) ;) (expression_statement "piStack_80 = param_2;" (assignment_expression "piStack_80 = param_2" identifier = identifier) ;) (expression_statement "pcStack_7c = pcVar3;" (assignment_expression "pcStack_7c = pcVar3" identifier = identifier) ;) (expression_statement "iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);" (assignment_expression "iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2)" identifier = (call_expression "(**(code **)(puVar7 + 0x21a5c))(iVar10 << 2)" (parenthesized_expression "(**(code **)(puVar7 + 0x21a5c))" ( (pointer_expression "**(code **)(puVar7 + 0x21a5c)" * (pointer_expression "*(code **)(puVar7 + 0x21a5c)" * (cast_expression "(code **)(puVar7 + 0x21a5c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21a5c)" ( (binary_expression "puVar7 + 0x21a5c" identifier + number_literal) ))))) )) (argument_list "(iVar10 << 2)" ( (binary_expression "iVar10 << 2" identifier << number_literal) )))) ;) (if_statement "if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar22 = 0xc;\n  }" { (expression_statement "iVar22 = 0xc;" (assignment_expression "iVar22 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" else (compound_statement "{\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" { (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21ac8);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21ac8)" identifier = (pointer_expression "*(code **)(puVar7 + 0x21ac8)" * (cast_expression "(code **)(puVar7 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21ac8)" ( (binary_expression "puVar7 + 0x21ac8" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);" do (compound_statement "{\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      }" { (expression_statement "piVar13 = *(int **)(piVar4[2] + iVar10 * 4);" (assignment_expression "piVar13 = *(int **)(piVar4[2] + iVar10 * 4)" identifier = (pointer_expression "*(int **)(piVar4[2] + iVar10 * 4)" * (cast_expression "(int **)(piVar4[2] + iVar10 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar4[2] + iVar10 * 4)" ( (binary_expression "piVar4[2] + iVar10 * 4" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);" (assignment_expression "piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc)" identifier = (cast_expression "(int *)(piVar8[6] + (int)piVar13 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8[6] + (int)piVar13 * 0xc)" ( (binary_expression "piVar8[6] + (int)piVar13 * 0xc" (subscript_expression "piVar8[6]" identifier [ number_literal ]) + (binary_expression "(int)piVar13 * 0xc" (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (if_statement "if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }" if (parenthesized_expression "(0 < piVar11[1])" ( (binary_expression "0 < piVar11[1]" number_literal < (subscript_expression "piVar11[1]" identifier [ number_literal ])) )) (compound_statement "{\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }" { (expression_statement "piVar23 = (int *)piVar11[2];" (assignment_expression "piVar23 = (int *)piVar11[2]" identifier = (cast_expression "(int *)piVar11[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (do_statement "do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);" do (compound_statement "{\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          }" { (expression_statement "piVar6 = (int *)(*piVar8 + *piVar23 * 8);" (assignment_expression "piVar6 = (int *)(*piVar8 + *piVar23 * 8)" identifier = (cast_expression "(int *)(*piVar8 + *piVar23 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + *piVar23 * 8)" ( (binary_expression "*piVar8 + *piVar23 * 8" (pointer_expression "*piVar8" * identifier) + (binary_expression "*piVar23 * 8" (pointer_expression "*piVar23" * identifier) * number_literal)) )))) ;) (if_statement "if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" if (parenthesized_expression "((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6))" ( (binary_expression "(piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)" (parenthesized_expression "(piVar15 == (int *)(uint)*(byte *)(piVar6 + 1))" ( (binary_expression "piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)" identifier == (binary_expression "(int *)(uint)*(byte *)(piVar6 + 1)" (cast_expression "(int *)(uint)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(piVar6 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6 + 1)" ( (binary_expression "piVar6 + 1" identifier + number_literal) ))))) )) && (parenthesized_expression "(piVar12 == (int *)*piVar6)" ( (binary_expression "piVar12 == (int *)*piVar6" identifier == (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ))) )) (compound_statement "{\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" { (if_statement "if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }" if (parenthesized_expression "(*piVar23 != -1)" ( (binary_expression "*piVar23 != -1" (pointer_expression "*piVar23" * identifier) != number_literal) )) (compound_statement "{\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }" { (expression_statement "piVar11 = &iStack_b0;" (assignment_expression "piVar11 = &iStack_b0" identifier = (pointer_expression "&iStack_b0" & identifier)) ;) (expression_statement "iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);" (assignment_expression "iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" identifier = (call_expression "FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" identifier (argument_list "(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" ( identifier , (pointer_expression "&iStack_b0" & identifier) , identifier , identifier , identifier )))) ;) (goto_statement "goto joined_r0x0001c968;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar22 = iVar22 + 1;" (assignment_expression "iVar22 = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) (expression_statement "piVar23 = piVar23 + 1;" (assignment_expression "piVar23 = piVar23 + 1" identifier = (binary_expression "piVar23 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar11[1] != iVar22)" ( (binary_expression "piVar11[1] != iVar22" (subscript_expression "piVar11[1]" identifier [ number_literal ]) != identifier) )) ;) })) (expression_statement "iVar22 = FUN_0001c29c(&iStack_b0);" (assignment_expression "iVar22 = FUN_0001c29c(&iStack_b0)" identifier = (call_expression "FUN_0001c29c(&iStack_b0)" identifier (argument_list "(&iStack_b0)" ( (pointer_expression "&iStack_b0" & identifier) )))) ;) (labeled_statement "joined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" statement_identifier : (if_statement "if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" if (parenthesized_expression "(iVar22 != 0)" ( (binary_expression "iVar22 != 0" identifier != number_literal) )) (compound_statement "{\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" { (expression_statement "(**(code **)(puVar7 + 0x21ac8))(iStack_a8);" (call_expression "(**(code **)(puVar7 + 0x21ac8))(iStack_a8)" (parenthesized_expression "(**(code **)(puVar7 + 0x21ac8))" ( (pointer_expression "**(code **)(puVar7 + 0x21ac8)" * (pointer_expression "*(code **)(puVar7 + 0x21ac8)" * (cast_expression "(code **)(puVar7 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21ac8)" ( (binary_expression "puVar7 + 0x21ac8" identifier + number_literal) ))))) )) (argument_list "(iStack_a8)" ( identifier ))) ;) (goto_statement "goto LAB_0001c9dc;" goto statement_identifier ;) }))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21ac8);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21ac8)" identifier = (pointer_expression "*(code **)(puVar7 + 0x21ac8)" * (cast_expression "(code **)(puVar7 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21ac8)" ( (binary_expression "puVar7 + 0x21ac8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar10 < piVar4[1])" ( (binary_expression "iVar10 < piVar4[1]" identifier < (subscript_expression "piVar4[1]" identifier [ number_literal ])) )) ;) })) (expression_statement "(*pcVar3)(piVar4[2]);" (call_expression "(*pcVar3)(piVar4[2])" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(piVar4[2])" ( (subscript_expression "piVar4[2]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (expression_statement "*piVar4 = iStack_b0;" (assignment_expression "*piVar4 = iStack_b0" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "piVar4[1] = iStack_ac;" (assignment_expression "piVar4[1] = iStack_ac" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[2] = iStack_a8;" (assignment_expression "piVar4[2] = iStack_a8" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }" statement_identifier : (if_statement "if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }" if (parenthesized_expression "(piStack_a4 == (int *)*piVar5)" ( (binary_expression "piStack_a4 == (int *)*piVar5" identifier == (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) )) (compound_statement "{\n    return iVar22;\n  }" { (return_statement "return iVar22;" return identifier ;) }))) (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21a9c);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21a9c)" identifier = (pointer_expression "*(code **)(puVar7 + 0x21a9c)" * (cast_expression "(code **)(puVar7 + 0x21a9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21a9c)" ( (binary_expression "puVar7 + 0x21a9c" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = piStack_a4;" (assignment_expression "piVar4 = piStack_a4" identifier = identifier) ;) (expression_statement "(*pcVar3)();" (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar22 = piVar11[1];" (assignment_expression "iVar22 = piVar11[1]" identifier = (subscript_expression "piVar11[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar22 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = piVar13[1];" (assignment_expression "iVar10 = piVar13[1]" identifier = (subscript_expression "piVar13[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar10 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (if_statement "if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }" if (parenthesized_expression "(*piVar4 < iVar22 + iVar10 + iVar16)" ( (binary_expression "*piVar4 < iVar22 + iVar10 + iVar16" (pointer_expression "*piVar4" * identifier) < (binary_expression "iVar22 + iVar10 + iVar16" (binary_expression "iVar22 + iVar10" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }" { (expression_statement "iVar20 = iVar22 + iVar10 + *piVar4;" (assignment_expression "iVar20 = iVar22 + iVar10 + *piVar4" identifier = (binary_expression "iVar22 + iVar10 + *piVar4" (binary_expression "iVar22 + iVar10" identifier + identifier) + (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);" (assignment_expression "iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4)" identifier = (call_expression "(**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4)" (parenthesized_expression "(**(code **)(pcVar3 + 0x21868))" ( (pointer_expression "**(code **)(pcVar3 + 0x21868)" * (pointer_expression "*(code **)(pcVar3 + 0x21868)" * (cast_expression "(code **)(pcVar3 + 0x21868)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x21868)" ( (binary_expression "pcVar3 + 0x21868" identifier + number_literal) ))))) )) (argument_list "(iVar9,iVar20 * 4)" ( identifier , (binary_expression "iVar20 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar9 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar22 = piVar11[1];" (assignment_expression "iVar22 = piVar11[1]" identifier = (subscript_expression "piVar11[1]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = piVar13[1];" (assignment_expression "iVar10 = piVar13[1]" identifier = (subscript_expression "piVar13[1]" identifier [ number_literal ])) ;) (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "piVar4[2] = iVar9;" (assignment_expression "piVar4[2] = iVar9" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar4 = iVar20;" (assignment_expression "*piVar4 = iVar20" (pointer_expression "*piVar4" * identifier) = identifier) ;) })) (expression_statement "iVar19 = iVar22 + -1;" (assignment_expression "iVar19 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (expression_statement "iVar21 = piVar11[2];" (assignment_expression "iVar21 = piVar11[2]" identifier = (subscript_expression "piVar11[2]" identifier [ number_literal ])) ;) (expression_statement "iVar20 = iVar10 + -1;" (assignment_expression "iVar20 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "iVar14 = piVar13[2];" (assignment_expression "iVar14 = piVar13[2]" identifier = (subscript_expression "piVar13[2]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" identifier = (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" * (cast_expression "(int *)(iVar21 + iVar19 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar21 + iVar19 * 4)" ( (binary_expression "iVar21 + iVar19 * 4" identifier + (binary_expression "iVar19 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar17 = iVar16 + -1;" (assignment_expression "iVar17 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar16 + iVar22 + iVar10;" (assignment_expression "iVar10 = iVar16 + iVar22 + iVar10" identifier = (binary_expression "iVar16 + iVar22 + iVar10" (binary_expression "iVar16 + iVar22" identifier + identifier) + identifier)) ;) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" identifier = (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" * (cast_expression "(int *)(iVar14 + iVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar20 * 4)" ( (binary_expression "iVar14 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  }" { (while_statement "while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }" while (parenthesized_expression "(iVar18 != iVar22)" ( (binary_expression "iVar18 != iVar22" identifier != identifier) )) (compound_statement "{\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }" { (if_statement "if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" if (parenthesized_expression "(iVar18 < iVar22)" ( (binary_expression "iVar18 < iVar22" identifier < identifier) )) (compound_statement "{\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }" { (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (if_statement "if (iVar20 < 0) goto LAB_0001cba8;" if (parenthesized_expression "(iVar20 < 0)" ( (binary_expression "iVar20 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001cba8;" goto statement_identifier ;)) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" identifier = (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" * (cast_expression "(int *)(iVar14 + iVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar20 * 4)" ( (binary_expression "iVar14 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" else (compound_statement "{\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" { (expression_statement "iVar19 = iVar19 + -1;" (assignment_expression "iVar19 = iVar19 + -1" identifier = (binary_expression "iVar19 + -1" identifier + number_literal)) ;) (if_statement "if (iVar19 < 0) goto LAB_0001cba8;" if (parenthesized_expression "(iVar19 < 0)" ( (binary_expression "iVar19 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001cba8;" goto statement_identifier ;)) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" identifier = (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" * (cast_expression "(int *)(iVar21 + iVar19 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar21 + iVar19 * 4)" ( (binary_expression "iVar21 + iVar19 * 4" identifier + (binary_expression "iVar19 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }" { (labeled_statement "LAB_0001cb3c:\n      iVar10 = iVar10 + -1;" statement_identifier : (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar9 + iVar10 * 4) = iVar18;" (assignment_expression "*(int *)(iVar9 + iVar10 * 4) = iVar18" (pointer_expression "*(int *)(iVar9 + iVar10 * 4)" * (cast_expression "(int *)(iVar9 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar10 * 4)" ( (binary_expression "iVar9 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" else (compound_statement "{\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" { (expression_statement "piVar12 = (int *)(iVar9 + iVar17 * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + iVar17 * 4)" identifier = (cast_expression "(int *)(iVar9 + iVar17 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar17 * 4)" ( (binary_expression "iVar9 + iVar17 * 4" identifier + (binary_expression "iVar17 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar22 = *piVar12;" (assignment_expression "iVar22 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (while_statement "while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }" while (parenthesized_expression "(iVar18 < iVar22)" ( (binary_expression "iVar18 < iVar22" identifier < identifier) )) (compound_statement "{\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }" { (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" identifier = (binary_expression "iVar17 + -1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + -1;" (assignment_expression "piVar12 = piVar12 + -1" identifier = (binary_expression "piVar12 + -1" identifier + number_literal)) ;) (if_statement "if (iVar17 == -1) goto LAB_0001cb3c;" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001cb3c;" goto statement_identifier ;)) (expression_statement "iVar22 = *piVar12;" (assignment_expression "iVar22 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) })) (if_statement "if (iVar22 != iVar18) goto LAB_0001cb3c;" if (parenthesized_expression "(iVar22 != iVar18)" ( (binary_expression "iVar22 != iVar18" identifier != identifier) )) (goto_statement "goto LAB_0001cb3c;" goto statement_identifier ;)) }))) (expression_statement "iVar19 = iVar19 + -1;" (assignment_expression "iVar19 = iVar19 + -1" identifier = (binary_expression "iVar19 + -1" identifier + number_literal)) ;) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }" if (parenthesized_expression "((iVar19 < 0) || (iVar20 < 0))" ( (binary_expression "(iVar19 < 0) || (iVar20 < 0)" (parenthesized_expression "(iVar19 < 0)" ( (binary_expression "iVar19 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar20 < 0)" ( (binary_expression "iVar20 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }" { (labeled_statement "LAB_0001cba8:\n      iVar16 = piVar4[1];" statement_identifier : (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar20 = iVar16 + piVar11[1] + piVar13[1];" (assignment_expression "iVar20 = iVar16 + piVar11[1] + piVar13[1]" identifier = (binary_expression "iVar16 + piVar11[1] + piVar13[1]" (binary_expression "iVar16 + piVar11[1]" identifier + (subscript_expression "piVar11[1]" identifier [ number_literal ])) + (subscript_expression "piVar13[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar22 = iVar20 - iVar10;" (assignment_expression "iVar22 = iVar20 - iVar10" identifier = (binary_expression "iVar20 - iVar10" identifier - identifier)) ;) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (expression_statement "piVar4[1] = iVar16 + iVar22;" (assignment_expression "piVar4[1] = iVar16 + iVar22" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = (binary_expression "iVar16 + iVar22" identifier + identifier)) ;) (if_statement "if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar22)" ( (binary_expression "0 < iVar22" number_literal < identifier) )) (compound_statement "{\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }" { (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) (expression_statement "iVar17 = iVar20 * 4;" (assignment_expression "iVar17 = iVar20 * 4" identifier = (binary_expression "iVar20 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }" if (parenthesized_expression "(-1 < iVar16)" ( (binary_expression "-1 < iVar16" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }" { (do_statement "do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);" do (compound_statement "{\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          }" { (expression_statement "iVar18 = *(int *)(iVar9 + iVar17);" (assignment_expression "iVar18 = *(int *)(iVar9 + iVar17)" identifier = (pointer_expression "*(int *)(iVar9 + iVar17)" * (cast_expression "(int *)(iVar9 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar17)" ( (binary_expression "iVar9 + iVar17" identifier + identifier) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar9 + iVar16 * 4);" (assignment_expression "iVar14 = *(int *)(iVar9 + iVar16 * 4)" identifier = (pointer_expression "*(int *)(iVar9 + iVar16 * 4)" * (cast_expression "(int *)(iVar9 + iVar16 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar16 * 4)" ( (binary_expression "iVar9 + iVar16 * 4" identifier + (binary_expression "iVar16 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4)" identifier = (cast_expression "(int *)(iVar9 + (iVar16 + iVar22) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (iVar16 + iVar22) * 4)" ( (binary_expression "iVar9 + (iVar16 + iVar22) * 4" identifier + (binary_expression "(iVar16 + iVar22) * 4" (parenthesized_expression "(iVar16 + iVar22)" ( (binary_expression "iVar16 + iVar22" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }" if (parenthesized_expression "(iVar14 < iVar18)" ( (binary_expression "iVar14 < iVar18" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }" { (do_statement "do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);" do (compound_statement "{\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              }" { (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (expression_statement "*piVar12 = iVar18;" (assignment_expression "*piVar12 = iVar18" (pointer_expression "*piVar12" * identifier) = identifier) ;) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (if_statement "if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }" { (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001cc5c;" goto statement_identifier ;) })) (expression_statement "iVar17 = iVar20 * 4;" (assignment_expression "iVar17 = iVar20 * 4" identifier = (binary_expression "iVar20 * 4" identifier * number_literal)) ;) (expression_statement "iVar14 = *(int *)(iVar9 + iVar16 * 4);" (assignment_expression "iVar14 = *(int *)(iVar9 + iVar16 * 4)" identifier = (pointer_expression "*(int *)(iVar9 + iVar16 * 4)" * (cast_expression "(int *)(iVar9 + iVar16 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar16 * 4)" ( (binary_expression "iVar9 + iVar16 * 4" identifier + (binary_expression "iVar16 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar18 = *(int *)(iVar9 + iVar17);" (assignment_expression "iVar18 = *(int *)(iVar9 + iVar17)" identifier = (pointer_expression "*(int *)(iVar9 + iVar17)" * (cast_expression "(int *)(iVar9 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar17)" ( (binary_expression "iVar9 + iVar17" identifier + identifier) ))))) ;) (expression_statement "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4)" identifier = (cast_expression "(int *)(iVar9 + (iVar16 + iVar22) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (iVar16 + iVar22) * 4)" ( (binary_expression "iVar9 + (iVar16 + iVar22) * 4" identifier + (binary_expression "(iVar16 + iVar22) * 4" (parenthesized_expression "(iVar16 + iVar22)" ( (binary_expression "iVar16 + iVar22" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar14 < iVar18)" ( (binary_expression "iVar14 < iVar18" identifier < identifier) )) ;) })) (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) (expression_statement "*piVar12 = iVar14;" (assignment_expression "*piVar12 = iVar14" (pointer_expression "*piVar12" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar16 != -1)" ( (binary_expression "iVar16 != -1" identifier != number_literal) )) ;) (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar22 = iVar22 << 2;" (assignment_expression "iVar22 = iVar22 << 2" identifier = (binary_expression "iVar22 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);" statement_identifier : (expression_statement "(**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);" (call_expression "(**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22)" (parenthesized_expression "(**(code **)(pcVar3 + 0x218c8))" ( (pointer_expression "**(code **)(pcVar3 + 0x218c8)" * (pointer_expression "*(code **)(pcVar3 + 0x218c8)" * (cast_expression "(code **)(pcVar3 + 0x218c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x218c8)" ( (binary_expression "pcVar3 + 0x218c8" identifier + number_literal) ))))) )) (argument_list "(iVar9,iVar9 + iVar10 * 4,iVar22)" ( identifier , (binary_expression "iVar9 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" identifier = (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" * (cast_expression "(int *)(iVar21 + iVar19 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar21 + iVar19 * 4)" ( (binary_expression "iVar21 + iVar19 * 4" identifier + (binary_expression "iVar19 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" identifier = (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" * (cast_expression "(int *)(iVar14 + iVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar20 * 4)" ( (binary_expression "iVar14 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "reg_errcode_t calc_eclosure_iter(re_node_set *new_set,re_dfa_t *dfa,Idx node,_Bool root)\n\n{\n  uint uVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  re_dfa_t *dfa_00;\n  code *pcVar4;\n  reg_errcode_t rVar5;\n  _Bool _Var8;\n  int *piVar6;\n  int iVar7;\n  int *piVar9;\n  bitset_word_t bVar10;\n  undefined *puVar11;\n  re_node_set *prVar12;\n  int iVar13;\n  size_t sVar14;\n  re_dfa_t *prVar15;\n  re_token_t *prVar16;\n  re_dfa_t *prVar17;\n  re_bitset_ptr_t pbVar18;\n  re_bitset_ptr_t pbVar19;\n  bitset_word_t bVar20;\n  undefined3 in_register_0000001c;\n  re_node_set *type;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  size_t sVar27;\n  re_node_set *prVar28;\n  re_node_set *prVar29;\n  re_node_set *unaff_s3;\n  re_dfastate_t *unaff_s5;\n  re_dfastate_t *unaff_s7;\n  re_token_t *prStack_b0;\n  size_t sStack_ac;\n  size_t sStack_a8;\n  int *piStack_a4;\n  re_node_set *prStack_a0;\n  re_node_set *prStack_9c;\n  re_node_set *prStack_98;\n  re_node_set *prStack_94;\n  re_state_table_entry *prStack_90;\n  re_dfastate_t *prStack_8c;\n  re_dfastate_t *prStack_88;\n  re_dfastate_t *prStack_84;\n  re_dfa_t *prStack_80;\n  bin_tree_t *pbStack_7c;\n  re_node_set eclosure;\n  re_node_set eclosure_elem;\n  \n  puVar3 = PTR___stack_chk_guard_0003e2f4;\n  prVar29 = (re_node_set *)(node * 0xc);\n  dfa_00 = *(re_dfa_t **)PTR___stack_chk_guard_0003e2f4;\n  prVar28 = dfa->edests + node;\n  eclosure.alloc = prVar28->nelem + 1;\n  eclosure.nelem = 0;\n  prVar15 = dfa;\n  pbVar19 = (re_bitset_ptr_t)node;\n  type = (re_node_set *)CONCAT31(in_register_0000001c,root);\n  eclosure.elems = (Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4);\n  if (eclosure.elems == (Idx *)0x0) {\nLAB_0001c824:\n    rVar5 = _REG_ESPACE;\n    pbVar18 = pbVar19;\n  }\n  else {\n    prVar16 = dfa->nodes;\n    unaff_s3 = (re_node_set *)(node * 8);\n    type = (re_node_set *)0xffffffff;\n    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);\n    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);\n    dfa->eclosures[node].nelem = -1;\n    if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }\n    prVar29->nelem = eclosure.nelem;\n    prVar29->elems = eclosure.elems;\n    rVar5 = _REG_NOERROR;\n    prVar29->alloc = eclosure.alloc;\n    new_set->alloc = eclosure.alloc;\n    new_set->nelem = eclosure.nelem;\n    new_set->elems = eclosure.elems;\n    pbVar18 = pbVar19;\n  }\nLAB_0001c6e0:\n  if (dfa_00 == *(re_dfa_t **)puVar3) {\n    return rVar5;\n  }\n  pcVar4 = check_arrival_expand_ecl;\n  puVar11 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar6 = *(int **)(puVar11 + 0x21abc);\n  prStack_90 = (re_state_table_entry *)puVar3;\n  sStack_ac = 0;\n  prVar16 = (re_token_t *)prVar15->nodes_alloc;\n  piStack_a4 = (int *)*piVar6;\n  prVar17 = prVar15;\n  pbVar19 = pbVar18;\n  prStack_b0 = prVar16;\n  prStack_a0 = prVar28;\n  prStack_9c = prVar29;\n  prStack_98 = (re_node_set *)node;\n  prStack_94 = unaff_s3;\n  prStack_8c = unaff_s5;\n  prStack_88 = (re_dfastate_t *)new_set;\n  prStack_84 = unaff_s7;\n  prStack_80 = dfa;\n  pbStack_7c = (bin_tree_t *)pcVar4;\n  sStack_a8 = (**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2);\n  if (sStack_a8 == 0) {\n    rVar5 = _REG_ESPACE;\n  }\n  else {\n    pcVar4 = *(code **)(puVar11 + 0x21ac8);\n    if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }\n    (*pcVar4)(prVar15->nodes_len);\n    rVar5 = _REG_NOERROR;\n    prVar15->nodes = prStack_b0;\n    prVar15->nodes_alloc = sStack_ac;\n    prVar15->nodes_len = sStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar6) {\n    return rVar5;\n  }\n  pcVar4 = *(code **)(puVar11 + 0x21a9c);\n  piVar6 = piStack_a4;\n  (*pcVar4)();\n  sVar14 = prVar17->nodes_alloc;\n  if (sVar14 == 0) {\n    return _REG_NOERROR;\n  }\n  bVar10 = pbVar19[1];\n  if (bVar10 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar21 = piVar6[1];\n  iVar13 = piVar6[2];\n  if (*piVar6 < (int)(sVar14 + bVar10 + iVar21)) {\n    iVar26 = sVar14 + bVar10 + *piVar6;\n    iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);\n    if (iVar13 == 0) {\n      return _REG_ESPACE;\n    }\n    sVar14 = prVar17->nodes_alloc;\n    bVar10 = pbVar19[1];\n    iVar21 = piVar6[1];\n    piVar6[2] = iVar13;\n    *piVar6 = iVar26;\n  }\n  iVar25 = sVar14 - 1;\n  sVar27 = prVar17->nodes_len;\n  iVar26 = bVar10 - 1;\n  bVar20 = pbVar19[2];\n  iVar24 = *(int *)(sVar27 + iVar25 * 4);\n  iVar22 = iVar21 + -1;\n  iVar7 = iVar21 + sVar14 + bVar10;\n  iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  do {\n    while (iVar24 != iVar21) {\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }\n    if (iVar22 < 0) {\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }\n    else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }\n    iVar25 = iVar25 + -1;\n    iVar26 = iVar26 + -1;\n    if ((iVar25 < 0) || (iVar26 < 0)) {\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }\n    iVar24 = *(int *)(sVar27 + iVar25 * 4);\n    iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  } while( true );\n}\n\n" (function_definition "reg_errcode_t calc_eclosure_iter(re_node_set *new_set,re_dfa_t *dfa,Idx node,_Bool root)\n\n{\n  uint uVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  re_dfa_t *dfa_00;\n  code *pcVar4;\n  reg_errcode_t rVar5;\n  _Bool _Var8;\n  int *piVar6;\n  int iVar7;\n  int *piVar9;\n  bitset_word_t bVar10;\n  undefined *puVar11;\n  re_node_set *prVar12;\n  int iVar13;\n  size_t sVar14;\n  re_dfa_t *prVar15;\n  re_token_t *prVar16;\n  re_dfa_t *prVar17;\n  re_bitset_ptr_t pbVar18;\n  re_bitset_ptr_t pbVar19;\n  bitset_word_t bVar20;\n  undefined3 in_register_0000001c;\n  re_node_set *type;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  size_t sVar27;\n  re_node_set *prVar28;\n  re_node_set *prVar29;\n  re_node_set *unaff_s3;\n  re_dfastate_t *unaff_s5;\n  re_dfastate_t *unaff_s7;\n  re_token_t *prStack_b0;\n  size_t sStack_ac;\n  size_t sStack_a8;\n  int *piStack_a4;\n  re_node_set *prStack_a0;\n  re_node_set *prStack_9c;\n  re_node_set *prStack_98;\n  re_node_set *prStack_94;\n  re_state_table_entry *prStack_90;\n  re_dfastate_t *prStack_8c;\n  re_dfastate_t *prStack_88;\n  re_dfastate_t *prStack_84;\n  re_dfa_t *prStack_80;\n  bin_tree_t *pbStack_7c;\n  re_node_set eclosure;\n  re_node_set eclosure_elem;\n  \n  puVar3 = PTR___stack_chk_guard_0003e2f4;\n  prVar29 = (re_node_set *)(node * 0xc);\n  dfa_00 = *(re_dfa_t **)PTR___stack_chk_guard_0003e2f4;\n  prVar28 = dfa->edests + node;\n  eclosure.alloc = prVar28->nelem + 1;\n  eclosure.nelem = 0;\n  prVar15 = dfa;\n  pbVar19 = (re_bitset_ptr_t)node;\n  type = (re_node_set *)CONCAT31(in_register_0000001c,root);\n  eclosure.elems = (Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4);\n  if (eclosure.elems == (Idx *)0x0) {\nLAB_0001c824:\n    rVar5 = _REG_ESPACE;\n    pbVar18 = pbVar19;\n  }\n  else {\n    prVar16 = dfa->nodes;\n    unaff_s3 = (re_node_set *)(node * 8);\n    type = (re_node_set *)0xffffffff;\n    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);\n    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);\n    dfa->eclosures[node].nelem = -1;\n    if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }\n    prVar29->nelem = eclosure.nelem;\n    prVar29->elems = eclosure.elems;\n    rVar5 = _REG_NOERROR;\n    prVar29->alloc = eclosure.alloc;\n    new_set->alloc = eclosure.alloc;\n    new_set->nelem = eclosure.nelem;\n    new_set->elems = eclosure.elems;\n    pbVar18 = pbVar19;\n  }\nLAB_0001c6e0:\n  if (dfa_00 == *(re_dfa_t **)puVar3) {\n    return rVar5;\n  }\n  pcVar4 = check_arrival_expand_ecl;\n  puVar11 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar6 = *(int **)(puVar11 + 0x21abc);\n  prStack_90 = (re_state_table_entry *)puVar3;\n  sStack_ac = 0;\n  prVar16 = (re_token_t *)prVar15->nodes_alloc;\n  piStack_a4 = (int *)*piVar6;\n  prVar17 = prVar15;\n  pbVar19 = pbVar18;\n  prStack_b0 = prVar16;\n  prStack_a0 = prVar28;\n  prStack_9c = prVar29;\n  prStack_98 = (re_node_set *)node;\n  prStack_94 = unaff_s3;\n  prStack_8c = unaff_s5;\n  prStack_88 = (re_dfastate_t *)new_set;\n  prStack_84 = unaff_s7;\n  prStack_80 = dfa;\n  pbStack_7c = (bin_tree_t *)pcVar4;\n  sStack_a8 = (**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2);\n  if (sStack_a8 == 0) {\n    rVar5 = _REG_ESPACE;\n  }\n  else {\n    pcVar4 = *(code **)(puVar11 + 0x21ac8);\n    if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }\n    (*pcVar4)(prVar15->nodes_len);\n    rVar5 = _REG_NOERROR;\n    prVar15->nodes = prStack_b0;\n    prVar15->nodes_alloc = sStack_ac;\n    prVar15->nodes_len = sStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar6) {\n    return rVar5;\n  }\n  pcVar4 = *(code **)(puVar11 + 0x21a9c);\n  piVar6 = piStack_a4;\n  (*pcVar4)();\n  sVar14 = prVar17->nodes_alloc;\n  if (sVar14 == 0) {\n    return _REG_NOERROR;\n  }\n  bVar10 = pbVar19[1];\n  if (bVar10 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar21 = piVar6[1];\n  iVar13 = piVar6[2];\n  if (*piVar6 < (int)(sVar14 + bVar10 + iVar21)) {\n    iVar26 = sVar14 + bVar10 + *piVar6;\n    iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);\n    if (iVar13 == 0) {\n      return _REG_ESPACE;\n    }\n    sVar14 = prVar17->nodes_alloc;\n    bVar10 = pbVar19[1];\n    iVar21 = piVar6[1];\n    piVar6[2] = iVar13;\n    *piVar6 = iVar26;\n  }\n  iVar25 = sVar14 - 1;\n  sVar27 = prVar17->nodes_len;\n  iVar26 = bVar10 - 1;\n  bVar20 = pbVar19[2];\n  iVar24 = *(int *)(sVar27 + iVar25 * 4);\n  iVar22 = iVar21 + -1;\n  iVar7 = iVar21 + sVar14 + bVar10;\n  iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  do {\n    while (iVar24 != iVar21) {\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }\n    if (iVar22 < 0) {\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }\n    else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }\n    iVar25 = iVar25 + -1;\n    iVar26 = iVar26 + -1;\n    if ((iVar25 < 0) || (iVar26 < 0)) {\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }\n    iVar24 = *(int *)(sVar27 + iVar25 * 4);\n    iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  } while( true );\n}" type_identifier (function_declarator "calc_eclosure_iter(re_node_set *new_set,re_dfa_t *dfa,Idx node,_Bool root)" identifier (parameter_list "(re_node_set *new_set,re_dfa_t *dfa,Idx node,_Bool root)" ( (parameter_declaration "re_node_set *new_set" type_identifier (pointer_declarator "*new_set" * identifier)) , (parameter_declaration "re_dfa_t *dfa" type_identifier (pointer_declarator "*dfa" * identifier)) , (parameter_declaration "Idx node" type_identifier identifier) , (parameter_declaration "_Bool root" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  bool bVar2;\n  undefined *puVar3;\n  undefined3 extraout_var;\n  undefined3 extraout_var_00;\n  re_dfa_t *dfa_00;\n  code *pcVar4;\n  reg_errcode_t rVar5;\n  _Bool _Var8;\n  int *piVar6;\n  int iVar7;\n  int *piVar9;\n  bitset_word_t bVar10;\n  undefined *puVar11;\n  re_node_set *prVar12;\n  int iVar13;\n  size_t sVar14;\n  re_dfa_t *prVar15;\n  re_token_t *prVar16;\n  re_dfa_t *prVar17;\n  re_bitset_ptr_t pbVar18;\n  re_bitset_ptr_t pbVar19;\n  bitset_word_t bVar20;\n  undefined3 in_register_0000001c;\n  re_node_set *type;\n  int iVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  size_t sVar27;\n  re_node_set *prVar28;\n  re_node_set *prVar29;\n  re_node_set *unaff_s3;\n  re_dfastate_t *unaff_s5;\n  re_dfastate_t *unaff_s7;\n  re_token_t *prStack_b0;\n  size_t sStack_ac;\n  size_t sStack_a8;\n  int *piStack_a4;\n  re_node_set *prStack_a0;\n  re_node_set *prStack_9c;\n  re_node_set *prStack_98;\n  re_node_set *prStack_94;\n  re_state_table_entry *prStack_90;\n  re_dfastate_t *prStack_8c;\n  re_dfastate_t *prStack_88;\n  re_dfastate_t *prStack_84;\n  re_dfa_t *prStack_80;\n  bin_tree_t *pbStack_7c;\n  re_node_set eclosure;\n  re_node_set eclosure_elem;\n  \n  puVar3 = PTR___stack_chk_guard_0003e2f4;\n  prVar29 = (re_node_set *)(node * 0xc);\n  dfa_00 = *(re_dfa_t **)PTR___stack_chk_guard_0003e2f4;\n  prVar28 = dfa->edests + node;\n  eclosure.alloc = prVar28->nelem + 1;\n  eclosure.nelem = 0;\n  prVar15 = dfa;\n  pbVar19 = (re_bitset_ptr_t)node;\n  type = (re_node_set *)CONCAT31(in_register_0000001c,root);\n  eclosure.elems = (Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4);\n  if (eclosure.elems == (Idx *)0x0) {\nLAB_0001c824:\n    rVar5 = _REG_ESPACE;\n    pbVar18 = pbVar19;\n  }\n  else {\n    prVar16 = dfa->nodes;\n    unaff_s3 = (re_node_set *)(node * 8);\n    type = (re_node_set *)0xffffffff;\n    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);\n    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);\n    dfa->eclosures[node].nelem = -1;\n    if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }\n    prVar29->nelem = eclosure.nelem;\n    prVar29->elems = eclosure.elems;\n    rVar5 = _REG_NOERROR;\n    prVar29->alloc = eclosure.alloc;\n    new_set->alloc = eclosure.alloc;\n    new_set->nelem = eclosure.nelem;\n    new_set->elems = eclosure.elems;\n    pbVar18 = pbVar19;\n  }\nLAB_0001c6e0:\n  if (dfa_00 == *(re_dfa_t **)puVar3) {\n    return rVar5;\n  }\n  pcVar4 = check_arrival_expand_ecl;\n  puVar11 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar6 = *(int **)(puVar11 + 0x21abc);\n  prStack_90 = (re_state_table_entry *)puVar3;\n  sStack_ac = 0;\n  prVar16 = (re_token_t *)prVar15->nodes_alloc;\n  piStack_a4 = (int *)*piVar6;\n  prVar17 = prVar15;\n  pbVar19 = pbVar18;\n  prStack_b0 = prVar16;\n  prStack_a0 = prVar28;\n  prStack_9c = prVar29;\n  prStack_98 = (re_node_set *)node;\n  prStack_94 = unaff_s3;\n  prStack_8c = unaff_s5;\n  prStack_88 = (re_dfastate_t *)new_set;\n  prStack_84 = unaff_s7;\n  prStack_80 = dfa;\n  pbStack_7c = (bin_tree_t *)pcVar4;\n  sStack_a8 = (**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2);\n  if (sStack_a8 == 0) {\n    rVar5 = _REG_ESPACE;\n  }\n  else {\n    pcVar4 = *(code **)(puVar11 + 0x21ac8);\n    if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }\n    (*pcVar4)(prVar15->nodes_len);\n    rVar5 = _REG_NOERROR;\n    prVar15->nodes = prStack_b0;\n    prVar15->nodes_alloc = sStack_ac;\n    prVar15->nodes_len = sStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar6) {\n    return rVar5;\n  }\n  pcVar4 = *(code **)(puVar11 + 0x21a9c);\n  piVar6 = piStack_a4;\n  (*pcVar4)();\n  sVar14 = prVar17->nodes_alloc;\n  if (sVar14 == 0) {\n    return _REG_NOERROR;\n  }\n  bVar10 = pbVar19[1];\n  if (bVar10 == 0) {\n    return _REG_NOERROR;\n  }\n  iVar21 = piVar6[1];\n  iVar13 = piVar6[2];\n  if (*piVar6 < (int)(sVar14 + bVar10 + iVar21)) {\n    iVar26 = sVar14 + bVar10 + *piVar6;\n    iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);\n    if (iVar13 == 0) {\n      return _REG_ESPACE;\n    }\n    sVar14 = prVar17->nodes_alloc;\n    bVar10 = pbVar19[1];\n    iVar21 = piVar6[1];\n    piVar6[2] = iVar13;\n    *piVar6 = iVar26;\n  }\n  iVar25 = sVar14 - 1;\n  sVar27 = prVar17->nodes_len;\n  iVar26 = bVar10 - 1;\n  bVar20 = pbVar19[2];\n  iVar24 = *(int *)(sVar27 + iVar25 * 4);\n  iVar22 = iVar21 + -1;\n  iVar7 = iVar21 + sVar14 + bVar10;\n  iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  do {\n    while (iVar24 != iVar21) {\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }\n    if (iVar22 < 0) {\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }\n    else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }\n    iVar25 = iVar25 + -1;\n    iVar26 = iVar26 + -1;\n    if ((iVar25 < 0) || (iVar26 < 0)) {\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }\n    iVar24 = *(int *)(sVar27 + iVar25 * 4);\n    iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined3 extraout_var;" type_identifier identifier ;) (declaration "undefined3 extraout_var_00;" type_identifier identifier ;) (declaration "re_dfa_t *dfa_00;" type_identifier (pointer_declarator "*dfa_00" * identifier) ;) (declaration "code *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "reg_errcode_t rVar5;" type_identifier identifier ;) (declaration "_Bool _Var8;" type_identifier identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int *piVar9;" primitive_type (pointer_declarator "*piVar9" * identifier) ;) (declaration "bitset_word_t bVar10;" type_identifier identifier ;) (declaration "undefined *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "re_node_set *prVar12;" type_identifier (pointer_declarator "*prVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "re_dfa_t *prVar15;" type_identifier (pointer_declarator "*prVar15" * identifier) ;) (declaration "re_token_t *prVar16;" type_identifier (pointer_declarator "*prVar16" * identifier) ;) (declaration "re_dfa_t *prVar17;" type_identifier (pointer_declarator "*prVar17" * identifier) ;) (declaration "re_bitset_ptr_t pbVar18;" type_identifier identifier ;) (declaration "re_bitset_ptr_t pbVar19;" type_identifier identifier ;) (declaration "bitset_word_t bVar20;" type_identifier identifier ;) (declaration "undefined3 in_register_0000001c;" type_identifier identifier ;) (declaration "re_node_set *type;" type_identifier (pointer_declarator "*type" * identifier) ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "int iVar25;" primitive_type identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "size_t sVar27;" primitive_type identifier ;) (declaration "re_node_set *prVar28;" type_identifier (pointer_declarator "*prVar28" * identifier) ;) (declaration "re_node_set *prVar29;" type_identifier (pointer_declarator "*prVar29" * identifier) ;) (declaration "re_node_set *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "re_dfastate_t *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "re_dfastate_t *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "re_token_t *prStack_b0;" type_identifier (pointer_declarator "*prStack_b0" * identifier) ;) (declaration "size_t sStack_ac;" primitive_type identifier ;) (declaration "size_t sStack_a8;" primitive_type identifier ;) (declaration "int *piStack_a4;" primitive_type (pointer_declarator "*piStack_a4" * identifier) ;) (declaration "re_node_set *prStack_a0;" type_identifier (pointer_declarator "*prStack_a0" * identifier) ;) (declaration "re_node_set *prStack_9c;" type_identifier (pointer_declarator "*prStack_9c" * identifier) ;) (declaration "re_node_set *prStack_98;" type_identifier (pointer_declarator "*prStack_98" * identifier) ;) (declaration "re_node_set *prStack_94;" type_identifier (pointer_declarator "*prStack_94" * identifier) ;) (declaration "re_state_table_entry *prStack_90;" type_identifier (pointer_declarator "*prStack_90" * identifier) ;) (declaration "re_dfastate_t *prStack_8c;" type_identifier (pointer_declarator "*prStack_8c" * identifier) ;) (declaration "re_dfastate_t *prStack_88;" type_identifier (pointer_declarator "*prStack_88" * identifier) ;) (declaration "re_dfastate_t *prStack_84;" type_identifier (pointer_declarator "*prStack_84" * identifier) ;) (declaration "re_dfa_t *prStack_80;" type_identifier (pointer_declarator "*prStack_80" * identifier) ;) (declaration "bin_tree_t *pbStack_7c;" type_identifier (pointer_declarator "*pbStack_7c" * identifier) ;) (declaration "re_node_set eclosure;" type_identifier identifier ;) (declaration "re_node_set eclosure_elem;" type_identifier identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_0003e2f4;" (assignment_expression "puVar3 = PTR___stack_chk_guard_0003e2f4" identifier = identifier) ;) (expression_statement "prVar29 = (re_node_set *)(node * 0xc);" (assignment_expression "prVar29 = (re_node_set *)(node * 0xc)" identifier = (cast_expression "(re_node_set *)(node * 0xc)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(node * 0xc)" ( (binary_expression "node * 0xc" identifier * number_literal) )))) ;) (expression_statement "dfa_00 = *(re_dfa_t **)PTR___stack_chk_guard_0003e2f4;" (assignment_expression "dfa_00 = *(re_dfa_t **)PTR___stack_chk_guard_0003e2f4" identifier = (pointer_expression "*(re_dfa_t **)PTR___stack_chk_guard_0003e2f4" * (cast_expression "(re_dfa_t **)PTR___stack_chk_guard_0003e2f4" ( (type_descriptor "re_dfa_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "prVar28 = dfa->edests + node;" (assignment_expression "prVar28 = dfa->edests + node" identifier = (binary_expression "dfa->edests + node" (field_expression "dfa->edests" identifier -> field_identifier) + identifier)) ;) (expression_statement "eclosure.alloc = prVar28->nelem + 1;" (assignment_expression "eclosure.alloc = prVar28->nelem + 1" (field_expression "eclosure.alloc" identifier . field_identifier) = (binary_expression "prVar28->nelem + 1" (field_expression "prVar28->nelem" identifier -> field_identifier) + number_literal)) ;) (expression_statement "eclosure.nelem = 0;" (assignment_expression "eclosure.nelem = 0" (field_expression "eclosure.nelem" identifier . field_identifier) = number_literal) ;) (expression_statement "prVar15 = dfa;" (assignment_expression "prVar15 = dfa" identifier = identifier) ;) (expression_statement "pbVar19 = (re_bitset_ptr_t)node;" (assignment_expression "pbVar19 = (re_bitset_ptr_t)node" identifier = (cast_expression "(re_bitset_ptr_t)node" ( (type_descriptor "re_bitset_ptr_t" type_identifier) ) identifier)) ;) (expression_statement "type = (re_node_set *)CONCAT31(in_register_0000001c,root);" (assignment_expression "type = (re_node_set *)CONCAT31(in_register_0000001c,root)" identifier = (cast_expression "(re_node_set *)CONCAT31(in_register_0000001c,root)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT31(in_register_0000001c,root)" identifier (argument_list "(in_register_0000001c,root)" ( identifier , identifier ))))) ;) (expression_statement "eclosure.elems = (Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4);" (assignment_expression "eclosure.elems = (Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4)" (field_expression "eclosure.elems" identifier . field_identifier) = (cast_expression "(Idx *)(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4)" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_malloc_0003e294)(eclosure.alloc * 4)" (parenthesized_expression "(*(code *)PTR_malloc_0003e294)" ( (pointer_expression "*(code *)PTR_malloc_0003e294" * (cast_expression "(code *)PTR_malloc_0003e294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(eclosure.alloc * 4)" ( (binary_expression "eclosure.alloc * 4" (field_expression "eclosure.alloc" identifier . field_identifier) * number_literal) ))))) ;) (if_statement "if (eclosure.elems == (Idx *)0x0) {\nLAB_0001c824:\n    rVar5 = _REG_ESPACE;\n    pbVar18 = pbVar19;\n  }\n  else {\n    prVar16 = dfa->nodes;\n    unaff_s3 = (re_node_set *)(node * 8);\n    type = (re_node_set *)0xffffffff;\n    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);\n    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);\n    dfa->eclosures[node].nelem = -1;\n    if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }\n    prVar29->nelem = eclosure.nelem;\n    prVar29->elems = eclosure.elems;\n    rVar5 = _REG_NOERROR;\n    prVar29->alloc = eclosure.alloc;\n    new_set->alloc = eclosure.alloc;\n    new_set->nelem = eclosure.nelem;\n    new_set->elems = eclosure.elems;\n    pbVar18 = pbVar19;\n  }" if (parenthesized_expression "(eclosure.elems == (Idx *)0x0)" ( (binary_expression "eclosure.elems == (Idx *)0x0" (field_expression "eclosure.elems" identifier . field_identifier) == (cast_expression "(Idx *)0x0" ( (type_descriptor "Idx *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_0001c824:\n    rVar5 = _REG_ESPACE;\n    pbVar18 = pbVar19;\n  }" { (labeled_statement "LAB_0001c824:\n    rVar5 = _REG_ESPACE;" statement_identifier : (expression_statement "rVar5 = _REG_ESPACE;" (assignment_expression "rVar5 = _REG_ESPACE" identifier = identifier) ;)) (expression_statement "pbVar18 = pbVar19;" (assignment_expression "pbVar18 = pbVar19" identifier = identifier) ;) }) (else_clause "else {\n    prVar16 = dfa->nodes;\n    unaff_s3 = (re_node_set *)(node * 8);\n    type = (re_node_set *)0xffffffff;\n    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);\n    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);\n    dfa->eclosures[node].nelem = -1;\n    if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }\n    prVar29->nelem = eclosure.nelem;\n    prVar29->elems = eclosure.elems;\n    rVar5 = _REG_NOERROR;\n    prVar29->alloc = eclosure.alloc;\n    new_set->alloc = eclosure.alloc;\n    new_set->nelem = eclosure.nelem;\n    new_set->elems = eclosure.elems;\n    pbVar18 = pbVar19;\n  }" else (compound_statement "{\n    prVar16 = dfa->nodes;\n    unaff_s3 = (re_node_set *)(node * 8);\n    type = (re_node_set *)0xffffffff;\n    puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);\n    pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);\n    dfa->eclosures[node].nelem = -1;\n    if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }\n    prVar29->nelem = eclosure.nelem;\n    prVar29->elems = eclosure.elems;\n    rVar5 = _REG_NOERROR;\n    prVar29->alloc = eclosure.alloc;\n    new_set->alloc = eclosure.alloc;\n    new_set->nelem = eclosure.nelem;\n    new_set->elems = eclosure.elems;\n    pbVar18 = pbVar19;\n  }" { (expression_statement "prVar16 = dfa->nodes;" (assignment_expression "prVar16 = dfa->nodes" identifier = (field_expression "dfa->nodes" identifier -> field_identifier)) ;) (expression_statement "unaff_s3 = (re_node_set *)(node * 8);" (assignment_expression "unaff_s3 = (re_node_set *)(node * 8)" identifier = (cast_expression "(re_node_set *)(node * 8)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(node * 8)" ( (binary_expression "node * 8" identifier * number_literal) )))) ;) (expression_statement "type = (re_node_set *)0xffffffff;" (assignment_expression "type = (re_node_set *)0xffffffff" identifier = (cast_expression "(re_node_set *)0xffffffff" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16);" (assignment_expression "puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)prVar16)" identifier = (cast_expression "(undefined *)((int)&unaff_s3->alloc + (int)prVar16)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3->alloc + (int)prVar16)" ( (binary_expression "(int)&unaff_s3->alloc + (int)prVar16" (cast_expression "(int)&unaff_s3->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3->alloc" & (field_expression "unaff_s3->alloc" identifier -> field_identifier))) + (cast_expression "(int)prVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4);" (assignment_expression "pbVar18 = *(re_bitset_ptr_t *)(puVar11 + 4)" identifier = (pointer_expression "*(re_bitset_ptr_t *)(puVar11 + 4)" * (cast_expression "(re_bitset_ptr_t *)(puVar11 + 4)" ( (type_descriptor "re_bitset_ptr_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar11 + 4)" ( (binary_expression "puVar11 + 4" identifier + number_literal) ))))) ;) (expression_statement "dfa->eclosures[node].nelem = -1;" (assignment_expression "dfa->eclosures[node].nelem = -1" (field_expression "dfa->eclosures[node].nelem" (subscript_expression "dfa->eclosures[node]" (field_expression "dfa->eclosures" identifier -> field_identifier) [ identifier ]) . field_identifier) = number_literal) ;) (if_statement "if (((uint)pbVar18 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }" if (parenthesized_expression "(((uint)pbVar18 & 0xffc000) == 0)" ( (binary_expression "((uint)pbVar18 & 0xffc000) == 0" (parenthesized_expression "((uint)pbVar18 & 0xffc000)" ( (binary_expression "(uint)pbVar18 & 0xffc000" (cast_expression "(uint)pbVar18" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0001c5b0:\n      pbVar19 = pbVar18;\n      if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;\n      type = dfa->edests;\n      prVar12 = type + node;\n      if (prVar12->nelem < 1) goto LAB_0001c7cc;\n      unaff_s7 = (re_dfastate_t *)0x0;\n      unaff_s5 = (re_dfastate_t *)&eclosure;\n      bVar2 = false;\n      pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);\n      do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n      if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }\n    }" { (labeled_statement "LAB_0001c5b0:\n      pbVar19 = pbVar18;" statement_identifier : (expression_statement "pbVar19 = pbVar18;" (assignment_expression "pbVar19 = pbVar18" identifier = identifier) ;)) (if_statement "if ((puVar11[4] & 8) == 0) goto LAB_0001c7cc;" if (parenthesized_expression "((puVar11[4] & 8) == 0)" ( (binary_expression "(puVar11[4] & 8) == 0" (parenthesized_expression "(puVar11[4] & 8)" ( (binary_expression "puVar11[4] & 8" (subscript_expression "puVar11[4]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0001c7cc;" goto statement_identifier ;)) (expression_statement "type = dfa->edests;" (assignment_expression "type = dfa->edests" identifier = (field_expression "dfa->edests" identifier -> field_identifier)) ;) (expression_statement "prVar12 = type + node;" (assignment_expression "prVar12 = type + node" identifier = (binary_expression "type + node" identifier + identifier)) ;) (if_statement "if (prVar12->nelem < 1) goto LAB_0001c7cc;" if (parenthesized_expression "(prVar12->nelem < 1)" ( (binary_expression "prVar12->nelem < 1" (field_expression "prVar12->nelem" identifier -> field_identifier) < number_literal) )) (goto_statement "goto LAB_0001c7cc;" goto statement_identifier ;)) (expression_statement "unaff_s7 = (re_dfastate_t *)0x0;" (assignment_expression "unaff_s7 = (re_dfastate_t *)0x0" identifier = (cast_expression "(re_dfastate_t *)0x0" ( (type_descriptor "re_dfastate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s5 = (re_dfastate_t *)&eclosure;" (assignment_expression "unaff_s5 = (re_dfastate_t *)&eclosure" identifier = (cast_expression "(re_dfastate_t *)&eclosure" ( (type_descriptor "re_dfastate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&eclosure" & identifier))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (expression_statement "pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);" (assignment_expression "pcVar4 = (code *)(PTR_LAB_0003e1b4 + -0x3b18)" identifier = (cast_expression "(code *)(PTR_LAB_0003e1b4 + -0x3b18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0003e1b4 + -0x3b18)" ( (binary_expression "PTR_LAB_0003e1b4 + -0x3b18" identifier + number_literal) )))) ;) (expression_statement "unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64);" (assignment_expression "unaff_s3 = (re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64)" identifier = (cast_expression "(re_node_set *)(PTR_LAB_0003e1b4 + -0x3d64)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0003e1b4 + -0x3d64)" ( (binary_expression "PTR_LAB_0003e1b4 + -0x3d64" identifier + number_literal) )))) ;) (do_statement "do {\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      } while ((int)unaff_s7 < prVar12->nelem);" do (compound_statement "{\n        pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];\n        prVar28 = (re_node_set *)((int)pbVar19 * 0xc);\n        prVar12 = dfa->eclosures + (int)pbVar19;\n        iVar13 = prVar12->nelem;\n        if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }\n        prVar12 = type + node;\n        unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);\n      }" { (expression_statement "pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7];" (assignment_expression "pbVar19 = (re_bitset_ptr_t)prVar12->elems[(int)unaff_s7]" identifier = (cast_expression "(re_bitset_ptr_t)prVar12->elems[(int)unaff_s7]" ( (type_descriptor "re_bitset_ptr_t" type_identifier) ) (subscript_expression "prVar12->elems[(int)unaff_s7]" (field_expression "prVar12->elems" identifier -> field_identifier) [ (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) ]))) ;) (expression_statement "prVar28 = (re_node_set *)((int)pbVar19 * 0xc);" (assignment_expression "prVar28 = (re_node_set *)((int)pbVar19 * 0xc)" identifier = (cast_expression "(re_node_set *)((int)pbVar19 * 0xc)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pbVar19 * 0xc)" ( (binary_expression "(int)pbVar19 * 0xc" (cast_expression "(int)pbVar19" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (expression_statement "prVar12 = dfa->eclosures + (int)pbVar19;" (assignment_expression "prVar12 = dfa->eclosures + (int)pbVar19" identifier = (binary_expression "dfa->eclosures + (int)pbVar19" (field_expression "dfa->eclosures" identifier -> field_identifier) + (cast_expression "(int)pbVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar13 = prVar12->nelem;" (assignment_expression "iVar13 = prVar12->nelem" identifier = (field_expression "prVar12->nelem" identifier -> field_identifier)) ;) (if_statement "if (iVar13 == -1) {\n          bVar2 = true;\n        }\n        else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (compound_statement "{\n          bVar2 = true;\n        }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) }) (else_clause "else {\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }" else (compound_statement "{\n          prVar17 = (re_dfa_t *)&eclosure_elem;\n          pbVar18 = pbVar19;\n          if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }\n          rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);\n          prVar15 = prVar17;\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          prVar28 = dfa->eclosures + (int)pbVar19;\n          if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }\n          type = dfa->edests;\n          pbVar19 = pbVar18;\n        }" { (expression_statement "prVar17 = (re_dfa_t *)&eclosure_elem;" (assignment_expression "prVar17 = (re_dfa_t *)&eclosure_elem" identifier = (cast_expression "(re_dfa_t *)&eclosure_elem" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&eclosure_elem" & identifier))) ;) (expression_statement "pbVar18 = pbVar19;" (assignment_expression "pbVar18 = pbVar19" identifier = identifier) ;) (if_statement "if (iVar13 == 0) {\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }\n          else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n            type = (re_node_set *)0x0;\n            prVar15 = dfa;\n            rVar5 = (*pcVar4)(prVar17);\n            if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          }" { (expression_statement "type = (re_node_set *)0x0;" (assignment_expression "type = (re_node_set *)0x0" identifier = (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "prVar15 = dfa;" (assignment_expression "prVar15 = dfa" identifier = identifier) ;) (expression_statement "rVar5 = (*pcVar4)(prVar17);" (assignment_expression "rVar5 = (*pcVar4)(prVar17)" identifier = (call_expression "(*pcVar4)(prVar17)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(prVar17)" ( identifier )))) ;) (if_statement "if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;" if (parenthesized_expression "(rVar5 != _REG_NOERROR)" ( (binary_expression "rVar5 != _REG_NOERROR" identifier != identifier) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) }) (else_clause "else {\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }" else (compound_statement "{\n            eclosure_elem.alloc = prVar12->alloc;\n            eclosure_elem.elems = prVar12->elems;\n            eclosure_elem.nelem = iVar13;\n          }" { (expression_statement "eclosure_elem.alloc = prVar12->alloc;" (assignment_expression "eclosure_elem.alloc = prVar12->alloc" (field_expression "eclosure_elem.alloc" identifier . field_identifier) = (field_expression "prVar12->alloc" identifier -> field_identifier)) ;) (expression_statement "eclosure_elem.elems = prVar12->elems;" (assignment_expression "eclosure_elem.elems = prVar12->elems" (field_expression "eclosure_elem.elems" identifier . field_identifier) = (field_expression "prVar12->elems" identifier -> field_identifier)) ;) (expression_statement "eclosure_elem.nelem = iVar13;" (assignment_expression "eclosure_elem.nelem = iVar13" (field_expression "eclosure_elem.nelem" identifier . field_identifier) = identifier) ;) }))) (expression_statement "rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17);" (assignment_expression "rVar5 = re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17)" identifier = (call_expression "re_node_set_merge((re_node_set *)unaff_s5,(re_node_set *)prVar17)" identifier (argument_list "((re_node_set *)unaff_s5,(re_node_set *)prVar17)" ( (cast_expression "(re_node_set *)unaff_s5" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(re_node_set *)prVar17" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "prVar15 = prVar17;" (assignment_expression "prVar15 = prVar17" identifier = identifier) ;) (if_statement "if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;" if (parenthesized_expression "(rVar5 != _REG_NOERROR)" ( (binary_expression "rVar5 != _REG_NOERROR" identifier != identifier) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) (expression_statement "prVar28 = dfa->eclosures + (int)pbVar19;" (assignment_expression "prVar28 = dfa->eclosures + (int)pbVar19" identifier = (binary_expression "dfa->eclosures + (int)pbVar19" (field_expression "dfa->eclosures" identifier -> field_identifier) + (cast_expression "(int)pbVar19" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (prVar28->nelem == 0) {\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }" if (parenthesized_expression "(prVar28->nelem == 0)" ( (binary_expression "prVar28->nelem == 0" (field_expression "prVar28->nelem" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n            (*(code *)PTR_free_0003e300)(eclosure_elem.elems);\n            bVar2 = true;\n          }" { (expression_statement "(*(code *)PTR_free_0003e300)(eclosure_elem.elems);" (call_expression "(*(code *)PTR_free_0003e300)(eclosure_elem.elems)" (parenthesized_expression "(*(code *)PTR_free_0003e300)" ( (pointer_expression "*(code *)PTR_free_0003e300" * (cast_expression "(code *)PTR_free_0003e300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(eclosure_elem.elems)" ( (field_expression "eclosure_elem.elems" identifier . field_identifier) ))) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) })) (expression_statement "type = dfa->edests;" (assignment_expression "type = dfa->edests" identifier = (field_expression "dfa->edests" identifier -> field_identifier)) ;) (expression_statement "pbVar19 = pbVar18;" (assignment_expression "pbVar19 = pbVar18" identifier = identifier) ;) }))) (expression_statement "prVar12 = type + node;" (assignment_expression "prVar12 = type + node" identifier = (binary_expression "type + node" identifier + identifier)) ;) (expression_statement "unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1);" (assignment_expression "unaff_s7 = (re_dfastate_t *)((int)&unaff_s7->hash + 1)" identifier = (cast_expression "(re_dfastate_t *)((int)&unaff_s7->hash + 1)" ( (type_descriptor "re_dfastate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s7->hash + 1)" ( (binary_expression "(int)&unaff_s7->hash + 1" (cast_expression "(int)&unaff_s7->hash" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s7->hash" & (field_expression "unaff_s7->hash" identifier -> field_identifier))) + number_literal) )))) ;) }) while (parenthesized_expression "((int)unaff_s7 < prVar12->nelem)" ( (binary_expression "(int)unaff_s7 < prVar12->nelem" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) < (field_expression "prVar12->nelem" identifier -> field_identifier)) )) ;) (expression_statement "prVar15 = (re_dfa_t *)node;" (assignment_expression "prVar15 = (re_dfa_t *)node" identifier = (cast_expression "(re_dfa_t *)node" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "_Var8 = re_node_set_insert(&eclosure,node);" (assignment_expression "_Var8 = re_node_set_insert(&eclosure,node)" identifier = (call_expression "re_node_set_insert(&eclosure,node)" identifier (argument_list "(&eclosure,node)" ( (pointer_expression "&eclosure" & identifier) , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var,_Var8) == 0) goto LAB_0001c824;" if (parenthesized_expression "(CONCAT31(extraout_var,_Var8) == 0)" ( (binary_expression "CONCAT31(extraout_var,_Var8) == 0" (call_expression "CONCAT31(extraout_var,_Var8)" identifier (argument_list "(extraout_var,_Var8)" ( identifier , identifier ))) == number_literal) )) (goto_statement "goto LAB_0001c824;" goto statement_identifier ;)) (expression_statement "prVar29 = dfa->eclosures + node;" (assignment_expression "prVar29 = dfa->eclosures + node" identifier = (binary_expression "dfa->eclosures + node" (field_expression "dfa->eclosures" identifier -> field_identifier) + identifier)) ;) (if_statement "if ((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)) {\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }" if (parenthesized_expression "((bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0))" ( (binary_expression "(bVar2) && ((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)" (parenthesized_expression "(bVar2)" ( identifier )) && (parenthesized_expression "((re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0)" ( (binary_expression "(re_node_set *)CONCAT31(in_register_0000001c,root) == (re_node_set *)0x0" (cast_expression "(re_node_set *)CONCAT31(in_register_0000001c,root)" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "CONCAT31(in_register_0000001c,root)" identifier (argument_list "(in_register_0000001c,root)" ( identifier , identifier )))) == (cast_expression "(re_node_set *)0x0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        prVar29->nelem = 0;\n        rVar5 = _REG_NOERROR;\n        new_set->alloc = eclosure.alloc;\n        new_set->nelem = eclosure.nelem;\n        new_set->elems = eclosure.elems;\n        pbVar18 = pbVar19;\n        goto LAB_0001c6e0;\n      }" { (expression_statement "prVar29->nelem = 0;" (assignment_expression "prVar29->nelem = 0" (field_expression "prVar29->nelem" identifier -> field_identifier) = number_literal) ;) (expression_statement "rVar5 = _REG_NOERROR;" (assignment_expression "rVar5 = _REG_NOERROR" identifier = identifier) ;) (expression_statement "new_set->alloc = eclosure.alloc;" (assignment_expression "new_set->alloc = eclosure.alloc" (field_expression "new_set->alloc" identifier -> field_identifier) = (field_expression "eclosure.alloc" identifier . field_identifier)) ;) (expression_statement "new_set->nelem = eclosure.nelem;" (assignment_expression "new_set->nelem = eclosure.nelem" (field_expression "new_set->nelem" identifier -> field_identifier) = (field_expression "eclosure.nelem" identifier . field_identifier)) ;) (expression_statement "new_set->elems = eclosure.elems;" (assignment_expression "new_set->elems = eclosure.elems" (field_expression "new_set->elems" identifier -> field_identifier) = (field_expression "eclosure.elems" identifier . field_identifier)) ;) (expression_statement "pbVar18 = pbVar19;" (assignment_expression "pbVar18 = pbVar19" identifier = identifier) ;) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;) })) }) (else_clause "else {\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }" else (compound_statement "{\n      pbVar19 = pbVar18;\n      if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;\n      _Var8 = re_node_set_insert(&eclosure,node);\n      if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;\n      prVar29 = dfa->eclosures + node;\n    }" { (expression_statement "pbVar19 = pbVar18;" (assignment_expression "pbVar19 = pbVar18" identifier = identifier) ;) (if_statement "if (prVar28->nelem != 0) {\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }" if (parenthesized_expression "(prVar28->nelem != 0)" ( (binary_expression "prVar28->nelem != 0" (field_expression "prVar28->nelem" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }\n        goto LAB_0001c5b0;\n      }" { (if_statement "if ((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }" if (parenthesized_expression "((*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0)" ( (binary_expression "(*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0" (parenthesized_expression "(*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000)" ( (binary_expression "*(uint *)&prVar16[*prVar28->elems].field_0x4 & 0x2000" (pointer_expression "*(uint *)&prVar16[*prVar28->elems].field_0x4" * (cast_expression "(uint *)&prVar16[*prVar28->elems].field_0x4" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prVar16[*prVar28->elems].field_0x4" & (field_expression "prVar16[*prVar28->elems].field_0x4" (subscript_expression "prVar16[*prVar28->elems]" identifier [ (pointer_expression "*prVar28->elems" * (field_expression "prVar28->elems" identifier -> field_identifier)) ]) . field_identifier)))) & number_literal) )) == number_literal) )) (compound_statement "{\n          uVar1 = (int)pbVar18 << 8;\n          prVar15 = (re_dfa_t *)node;\n          pbVar18 = (re_bitset_ptr_t)node;\n          type = (re_node_set *)node;\n          rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);\n          if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;\n          puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);\n        }" { (expression_statement "uVar1 = (int)pbVar18 << 8;" (assignment_expression "uVar1 = (int)pbVar18 << 8" identifier = (binary_expression "(int)pbVar18 << 8" (cast_expression "(int)pbVar18" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal)) ;) (expression_statement "prVar15 = (re_dfa_t *)node;" (assignment_expression "prVar15 = (re_dfa_t *)node" identifier = (cast_expression "(re_dfa_t *)node" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pbVar18 = (re_bitset_ptr_t)node;" (assignment_expression "pbVar18 = (re_bitset_ptr_t)node" identifier = (cast_expression "(re_bitset_ptr_t)node" ( (type_descriptor "re_bitset_ptr_t" type_identifier) ) identifier)) ;) (expression_statement "type = (re_node_set *)node;" (assignment_expression "type = (re_node_set *)node" identifier = (cast_expression "(re_node_set *)node" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16);" (assignment_expression "rVar5 = duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16)" identifier = (call_expression "duplicate_node_closure(dfa,node,node,node,uVar1 >> 0x16)" identifier (argument_list "(dfa,node,node,node,uVar1 >> 0x16)" ( identifier , identifier , identifier , identifier , (binary_expression "uVar1 >> 0x16" identifier >> number_literal) )))) ;) (if_statement "if (rVar5 != _REG_NOERROR) goto LAB_0001c6e0;" if (parenthesized_expression "(rVar5 != _REG_NOERROR)" ( (binary_expression "rVar5 != _REG_NOERROR" identifier != identifier) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) (expression_statement "puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes);" (assignment_expression "puVar11 = (undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes)" identifier = (cast_expression "(undefined *)((int)&unaff_s3->alloc + (int)dfa->nodes)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3->alloc + (int)dfa->nodes)" ( (binary_expression "(int)&unaff_s3->alloc + (int)dfa->nodes" (cast_expression "(int)&unaff_s3->alloc" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3->alloc" & (field_expression "unaff_s3->alloc" identifier -> field_identifier))) + (cast_expression "(int)dfa->nodes" ( (type_descriptor "int" primitive_type) ) (field_expression "dfa->nodes" identifier -> field_identifier))) )))) ;) })) (goto_statement "goto LAB_0001c5b0;" goto statement_identifier ;) })) (labeled_statement "LAB_0001c7cc:\n      prVar15 = (re_dfa_t *)node;" statement_identifier : (expression_statement "prVar15 = (re_dfa_t *)node;" (assignment_expression "prVar15 = (re_dfa_t *)node" identifier = (cast_expression "(re_dfa_t *)node" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;)) (expression_statement "_Var8 = re_node_set_insert(&eclosure,node);" (assignment_expression "_Var8 = re_node_set_insert(&eclosure,node)" identifier = (call_expression "re_node_set_insert(&eclosure,node)" identifier (argument_list "(&eclosure,node)" ( (pointer_expression "&eclosure" & identifier) , identifier )))) ;) (if_statement "if (CONCAT31(extraout_var_00,_Var8) == 0) goto LAB_0001c824;" if (parenthesized_expression "(CONCAT31(extraout_var_00,_Var8) == 0)" ( (binary_expression "CONCAT31(extraout_var_00,_Var8) == 0" (call_expression "CONCAT31(extraout_var_00,_Var8)" identifier (argument_list "(extraout_var_00,_Var8)" ( identifier , identifier ))) == number_literal) )) (goto_statement "goto LAB_0001c824;" goto statement_identifier ;)) (expression_statement "prVar29 = dfa->eclosures + node;" (assignment_expression "prVar29 = dfa->eclosures + node" identifier = (binary_expression "dfa->eclosures + node" (field_expression "dfa->eclosures" identifier -> field_identifier) + identifier)) ;) }))) (expression_statement "prVar29->nelem = eclosure.nelem;" (assignment_expression "prVar29->nelem = eclosure.nelem" (field_expression "prVar29->nelem" identifier -> field_identifier) = (field_expression "eclosure.nelem" identifier . field_identifier)) ;) (expression_statement "prVar29->elems = eclosure.elems;" (assignment_expression "prVar29->elems = eclosure.elems" (field_expression "prVar29->elems" identifier -> field_identifier) = (field_expression "eclosure.elems" identifier . field_identifier)) ;) (expression_statement "rVar5 = _REG_NOERROR;" (assignment_expression "rVar5 = _REG_NOERROR" identifier = identifier) ;) (expression_statement "prVar29->alloc = eclosure.alloc;" (assignment_expression "prVar29->alloc = eclosure.alloc" (field_expression "prVar29->alloc" identifier -> field_identifier) = (field_expression "eclosure.alloc" identifier . field_identifier)) ;) (expression_statement "new_set->alloc = eclosure.alloc;" (assignment_expression "new_set->alloc = eclosure.alloc" (field_expression "new_set->alloc" identifier -> field_identifier) = (field_expression "eclosure.alloc" identifier . field_identifier)) ;) (expression_statement "new_set->nelem = eclosure.nelem;" (assignment_expression "new_set->nelem = eclosure.nelem" (field_expression "new_set->nelem" identifier -> field_identifier) = (field_expression "eclosure.nelem" identifier . field_identifier)) ;) (expression_statement "new_set->elems = eclosure.elems;" (assignment_expression "new_set->elems = eclosure.elems" (field_expression "new_set->elems" identifier -> field_identifier) = (field_expression "eclosure.elems" identifier . field_identifier)) ;) (expression_statement "pbVar18 = pbVar19;" (assignment_expression "pbVar18 = pbVar19" identifier = identifier) ;) }))) (labeled_statement "LAB_0001c6e0:\n  if (dfa_00 == *(re_dfa_t **)puVar3) {\n    return rVar5;\n  }" statement_identifier : (if_statement "if (dfa_00 == *(re_dfa_t **)puVar3) {\n    return rVar5;\n  }" if (parenthesized_expression "(dfa_00 == *(re_dfa_t **)puVar3)" ( (binary_expression "dfa_00 == *(re_dfa_t **)puVar3" identifier == (pointer_expression "*(re_dfa_t **)puVar3" * (cast_expression "(re_dfa_t **)puVar3" ( (type_descriptor "re_dfa_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return rVar5;\n  }" { (return_statement "return rVar5;" return identifier ;) }))) (expression_statement "pcVar4 = check_arrival_expand_ecl;" (assignment_expression "pcVar4 = check_arrival_expand_ecl" identifier = identifier) ;) (expression_statement "puVar11 = PTR___stack_chk_fail_0003e2d4;" (assignment_expression "puVar11 = PTR___stack_chk_fail_0003e2d4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003e2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003e2d4" * (cast_expression "(code *)PTR___stack_chk_fail_0003e2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar6 = *(int **)(puVar11 + 0x21abc);" (assignment_expression "piVar6 = *(int **)(puVar11 + 0x21abc)" identifier = (pointer_expression "*(int **)(puVar11 + 0x21abc)" * (cast_expression "(int **)(puVar11 + 0x21abc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x21abc)" ( (binary_expression "puVar11 + 0x21abc" identifier + number_literal) ))))) ;) (expression_statement "prStack_90 = (re_state_table_entry *)puVar3;" (assignment_expression "prStack_90 = (re_state_table_entry *)puVar3" identifier = (cast_expression "(re_state_table_entry *)puVar3" ( (type_descriptor "re_state_table_entry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "sStack_ac = 0;" (assignment_expression "sStack_ac = 0" identifier = number_literal) ;) (expression_statement "prVar16 = (re_token_t *)prVar15->nodes_alloc;" (assignment_expression "prVar16 = (re_token_t *)prVar15->nodes_alloc" identifier = (cast_expression "(re_token_t *)prVar15->nodes_alloc" ( (type_descriptor "re_token_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "prVar15->nodes_alloc" identifier -> field_identifier))) ;) (expression_statement "piStack_a4 = (int *)*piVar6;" (assignment_expression "piStack_a4 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (expression_statement "prVar17 = prVar15;" (assignment_expression "prVar17 = prVar15" identifier = identifier) ;) (expression_statement "pbVar19 = pbVar18;" (assignment_expression "pbVar19 = pbVar18" identifier = identifier) ;) (expression_statement "prStack_b0 = prVar16;" (assignment_expression "prStack_b0 = prVar16" identifier = identifier) ;) (expression_statement "prStack_a0 = prVar28;" (assignment_expression "prStack_a0 = prVar28" identifier = identifier) ;) (expression_statement "prStack_9c = prVar29;" (assignment_expression "prStack_9c = prVar29" identifier = identifier) ;) (expression_statement "prStack_98 = (re_node_set *)node;" (assignment_expression "prStack_98 = (re_node_set *)node" identifier = (cast_expression "(re_node_set *)node" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "prStack_94 = unaff_s3;" (assignment_expression "prStack_94 = unaff_s3" identifier = identifier) ;) (expression_statement "prStack_8c = unaff_s5;" (assignment_expression "prStack_8c = unaff_s5" identifier = identifier) ;) (expression_statement "prStack_88 = (re_dfastate_t *)new_set;" (assignment_expression "prStack_88 = (re_dfastate_t *)new_set" identifier = (cast_expression "(re_dfastate_t *)new_set" ( (type_descriptor "re_dfastate_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "prStack_84 = unaff_s7;" (assignment_expression "prStack_84 = unaff_s7" identifier = identifier) ;) (expression_statement "prStack_80 = dfa;" (assignment_expression "prStack_80 = dfa" identifier = identifier) ;) (expression_statement "pbStack_7c = (bin_tree_t *)pcVar4;" (assignment_expression "pbStack_7c = (bin_tree_t *)pcVar4" identifier = (cast_expression "(bin_tree_t *)pcVar4" ( (type_descriptor "bin_tree_t *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "sStack_a8 = (**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2);" (assignment_expression "sStack_a8 = (**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2)" identifier = (call_expression "(**(code **)(puVar11 + 0x21a5c))((int)prVar16 << 2)" (parenthesized_expression "(**(code **)(puVar11 + 0x21a5c))" ( (pointer_expression "**(code **)(puVar11 + 0x21a5c)" * (pointer_expression "*(code **)(puVar11 + 0x21a5c)" * (cast_expression "(code **)(puVar11 + 0x21a5c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x21a5c)" ( (binary_expression "puVar11 + 0x21a5c" identifier + number_literal) ))))) )) (argument_list "((int)prVar16 << 2)" ( (binary_expression "(int)prVar16 << 2" (cast_expression "(int)prVar16" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal) )))) ;) (if_statement "if (sStack_a8 == 0) {\n    rVar5 = _REG_ESPACE;\n  }\n  else {\n    pcVar4 = *(code **)(puVar11 + 0x21ac8);\n    if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }\n    (*pcVar4)(prVar15->nodes_len);\n    rVar5 = _REG_NOERROR;\n    prVar15->nodes = prStack_b0;\n    prVar15->nodes_alloc = sStack_ac;\n    prVar15->nodes_len = sStack_a8;\n  }" if (parenthesized_expression "(sStack_a8 == 0)" ( (binary_expression "sStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n    rVar5 = _REG_ESPACE;\n  }" { (expression_statement "rVar5 = _REG_ESPACE;" (assignment_expression "rVar5 = _REG_ESPACE" identifier = identifier) ;) }) (else_clause "else {\n    pcVar4 = *(code **)(puVar11 + 0x21ac8);\n    if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }\n    (*pcVar4)(prVar15->nodes_len);\n    rVar5 = _REG_NOERROR;\n    prVar15->nodes = prStack_b0;\n    prVar15->nodes_alloc = sStack_ac;\n    prVar15->nodes_len = sStack_a8;\n  }" else (compound_statement "{\n    pcVar4 = *(code **)(puVar11 + 0x21ac8);\n    if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }\n    (*pcVar4)(prVar15->nodes_len);\n    rVar5 = _REG_NOERROR;\n    prVar15->nodes = prStack_b0;\n    prVar15->nodes_alloc = sStack_ac;\n    prVar15->nodes_len = sStack_a8;\n  }" { (expression_statement "pcVar4 = *(code **)(puVar11 + 0x21ac8);" (assignment_expression "pcVar4 = *(code **)(puVar11 + 0x21ac8)" identifier = (pointer_expression "*(code **)(puVar11 + 0x21ac8)" * (cast_expression "(code **)(puVar11 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x21ac8)" ( (binary_expression "puVar11 + 0x21ac8" identifier + number_literal) ))))) ;) (if_statement "if (0 < (int)prVar16) {\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }" if (parenthesized_expression "(0 < (int)prVar16)" ( (binary_expression "0 < (int)prVar16" number_literal < (cast_expression "(int)prVar16" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      iVar13 = 0;\n      do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);\n    }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      } while (iVar13 < (int)prVar15->nodes_alloc);" do (compound_statement "{\n        pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);\n        prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);\n        sVar14 = 0;\n        if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }\n        rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);\njoined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar13 = iVar13 + 1;\n        pcVar4 = *(code **)(puVar11 + 0x21ac8);\n      }" { (expression_statement "pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4);" (assignment_expression "pbVar19 = *(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4)" identifier = (pointer_expression "*(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4)" * (cast_expression "(re_bitset_ptr_t *)(prVar15->nodes_len + iVar13 * 4)" ( (type_descriptor "re_bitset_ptr_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(prVar15->nodes_len + iVar13 * 4)" ( (binary_expression "prVar15->nodes_len + iVar13 * 4" (field_expression "prVar15->nodes_len" identifier -> field_identifier) + (binary_expression "iVar13 * 4" identifier * number_literal)) ))))) ;) (expression_statement "prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19);" (assignment_expression "prVar17 = (re_dfa_t *)(dfa_00->eclosures + (int)pbVar19)" identifier = (cast_expression "(re_dfa_t *)(dfa_00->eclosures + (int)pbVar19)" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(dfa_00->eclosures + (int)pbVar19)" ( (binary_expression "dfa_00->eclosures + (int)pbVar19" (field_expression "dfa_00->eclosures" identifier -> field_identifier) + (cast_expression "(int)pbVar19" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "sVar14 = 0;" (assignment_expression "sVar14 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)prVar17->nodes_alloc) {\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }" if (parenthesized_expression "(0 < (int)prVar17->nodes_alloc)" ( (binary_expression "0 < (int)prVar17->nodes_alloc" number_literal < (cast_expression "(int)prVar17->nodes_alloc" ( (type_descriptor "int" primitive_type) ) (field_expression "prVar17->nodes_alloc" identifier -> field_identifier))) )) (compound_statement "{\n          piVar9 = (int *)prVar17->nodes_len;\n          do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);\n        }" { (expression_statement "piVar9 = (int *)prVar17->nodes_len;" (assignment_expression "piVar9 = (int *)prVar17->nodes_len" identifier = (cast_expression "(int *)prVar17->nodes_len" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "prVar17->nodes_len" identifier -> field_identifier))) ;) (do_statement "do {\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          } while (prVar17->nodes_alloc != sVar14);" do (compound_statement "{\n            if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            sVar14 = sVar14 + 1;\n            piVar9 = piVar9 + 1;\n          }" { (if_statement "if ((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)) {\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" if (parenthesized_expression "((type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset))" ( (binary_expression "(type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4) &&\n               (pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)" (parenthesized_expression "(type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4)" ( (binary_expression "type == (re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4" identifier == (cast_expression "(re_node_set *)(uint)(byte)dfa_00->nodes[*piVar9].field_0x4" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (cast_expression "(uint)(byte)dfa_00->nodes[*piVar9].field_0x4" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)dfa_00->nodes[*piVar9].field_0x4" ( (type_descriptor "byte" type_identifier) ) (field_expression "dfa_00->nodes[*piVar9].field_0x4" (subscript_expression "dfa_00->nodes[*piVar9]" (field_expression "dfa_00->nodes" identifier -> field_identifier) [ (pointer_expression "*piVar9" * identifier) ]) . field_identifier))))) )) && (parenthesized_expression "(pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset)" ( (binary_expression "pbVar18 == dfa_00->nodes[*piVar9].opr.sbcset" identifier == (field_expression "dfa_00->nodes[*piVar9].opr.sbcset" (field_expression "dfa_00->nodes[*piVar9].opr" (subscript_expression "dfa_00->nodes[*piVar9]" (field_expression "dfa_00->nodes" identifier -> field_identifier) [ (pointer_expression "*piVar9" * identifier) ]) . field_identifier) . field_identifier)) ))) )) (compound_statement "{\n              if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" { (if_statement "if (*piVar9 != -1) {\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }" if (parenthesized_expression "(*piVar9 != -1)" ( (binary_expression "*piVar9 != -1" (pointer_expression "*piVar9" * identifier) != number_literal) )) (compound_statement "{\n                prVar17 = (re_dfa_t *)&prStack_b0;\n                rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);\n                goto joined_r0x0001c968;\n              }" { (expression_statement "prVar17 = (re_dfa_t *)&prStack_b0;" (assignment_expression "prVar17 = (re_dfa_t *)&prStack_b0" identifier = (cast_expression "(re_dfa_t *)&prStack_b0" ( (type_descriptor "re_dfa_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prStack_b0" & identifier))) ;) (expression_statement "rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type);" (assignment_expression "rVar5 = check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type)" identifier = (call_expression "check_arrival_expand_ecl_sub\n                                  (dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type)" identifier (argument_list "(dfa_00,(re_node_set *)&prStack_b0,(Idx)pbVar19,(Idx)pbVar18,\n                                   (int)type)" ( identifier , (cast_expression "(re_node_set *)&prStack_b0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prStack_b0" & identifier)) , (cast_expression "(Idx)pbVar19" ( (type_descriptor "Idx" type_identifier) ) identifier) , (cast_expression "(Idx)pbVar18" ( (type_descriptor "Idx" type_identifier) ) identifier) , (cast_expression "(int)type" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (goto_statement "goto joined_r0x0001c968;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "sVar14 = sVar14 + 1;" (assignment_expression "sVar14 = sVar14 + 1" identifier = (binary_expression "sVar14 + 1" identifier + number_literal)) ;) (expression_statement "piVar9 = piVar9 + 1;" (assignment_expression "piVar9 = piVar9 + 1" identifier = (binary_expression "piVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(prVar17->nodes_alloc != sVar14)" ( (binary_expression "prVar17->nodes_alloc != sVar14" (field_expression "prVar17->nodes_alloc" identifier -> field_identifier) != identifier) )) ;) })) (expression_statement "rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17);" (assignment_expression "rVar5 = re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17)" identifier = (call_expression "re_node_set_merge((re_node_set *)&prStack_b0,(re_node_set *)prVar17)" identifier (argument_list "((re_node_set *)&prStack_b0,(re_node_set *)prVar17)" ( (cast_expression "(re_node_set *)&prStack_b0" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&prStack_b0" & identifier)) , (cast_expression "(re_node_set *)prVar17" ( (type_descriptor "re_node_set *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (labeled_statement "joined_r0x0001c968:\n        if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }" statement_identifier : (if_statement "if (rVar5 != _REG_NOERROR) {\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }" if (parenthesized_expression "(rVar5 != _REG_NOERROR)" ( (binary_expression "rVar5 != _REG_NOERROR" identifier != identifier) )) (compound_statement "{\n          (**(code **)(puVar11 + 0x21ac8))(sStack_a8);\n          goto LAB_0001c9dc;\n        }" { (expression_statement "(**(code **)(puVar11 + 0x21ac8))(sStack_a8);" (call_expression "(**(code **)(puVar11 + 0x21ac8))(sStack_a8)" (parenthesized_expression "(**(code **)(puVar11 + 0x21ac8))" ( (pointer_expression "**(code **)(puVar11 + 0x21ac8)" * (pointer_expression "*(code **)(puVar11 + 0x21ac8)" * (cast_expression "(code **)(puVar11 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x21ac8)" ( (binary_expression "puVar11 + 0x21ac8" identifier + number_literal) ))))) )) (argument_list "(sStack_a8)" ( identifier ))) ;) (goto_statement "goto LAB_0001c9dc;" goto statement_identifier ;) }))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "pcVar4 = *(code **)(puVar11 + 0x21ac8);" (assignment_expression "pcVar4 = *(code **)(puVar11 + 0x21ac8)" identifier = (pointer_expression "*(code **)(puVar11 + 0x21ac8)" * (cast_expression "(code **)(puVar11 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x21ac8)" ( (binary_expression "puVar11 + 0x21ac8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar13 < (int)prVar15->nodes_alloc)" ( (binary_expression "iVar13 < (int)prVar15->nodes_alloc" identifier < (cast_expression "(int)prVar15->nodes_alloc" ( (type_descriptor "int" primitive_type) ) (field_expression "prVar15->nodes_alloc" identifier -> field_identifier))) )) ;) })) (expression_statement "(*pcVar4)(prVar15->nodes_len);" (call_expression "(*pcVar4)(prVar15->nodes_len)" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "(prVar15->nodes_len)" ( (field_expression "prVar15->nodes_len" identifier -> field_identifier) ))) ;) (expression_statement "rVar5 = _REG_NOERROR;" (assignment_expression "rVar5 = _REG_NOERROR" identifier = identifier) ;) (expression_statement "prVar15->nodes = prStack_b0;" (assignment_expression "prVar15->nodes = prStack_b0" (field_expression "prVar15->nodes" identifier -> field_identifier) = identifier) ;) (expression_statement "prVar15->nodes_alloc = sStack_ac;" (assignment_expression "prVar15->nodes_alloc = sStack_ac" (field_expression "prVar15->nodes_alloc" identifier -> field_identifier) = identifier) ;) (expression_statement "prVar15->nodes_len = sStack_a8;" (assignment_expression "prVar15->nodes_len = sStack_a8" (field_expression "prVar15->nodes_len" identifier -> field_identifier) = identifier) ;) }))) (labeled_statement "LAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar6) {\n    return rVar5;\n  }" statement_identifier : (if_statement "if (piStack_a4 == (int *)*piVar6) {\n    return rVar5;\n  }" if (parenthesized_expression "(piStack_a4 == (int *)*piVar6)" ( (binary_expression "piStack_a4 == (int *)*piVar6" identifier == (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) )) (compound_statement "{\n    return rVar5;\n  }" { (return_statement "return rVar5;" return identifier ;) }))) (expression_statement "pcVar4 = *(code **)(puVar11 + 0x21a9c);" (assignment_expression "pcVar4 = *(code **)(puVar11 + 0x21a9c)" identifier = (pointer_expression "*(code **)(puVar11 + 0x21a9c)" * (cast_expression "(code **)(puVar11 + 0x21a9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar11 + 0x21a9c)" ( (binary_expression "puVar11 + 0x21a9c" identifier + number_literal) ))))) ;) (expression_statement "piVar6 = piStack_a4;" (assignment_expression "piVar6 = piStack_a4" identifier = identifier) ;) (expression_statement "(*pcVar4)();" (call_expression "(*pcVar4)()" (parenthesized_expression "(*pcVar4)" ( (pointer_expression "*pcVar4" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "sVar14 = prVar17->nodes_alloc;" (assignment_expression "sVar14 = prVar17->nodes_alloc" identifier = (field_expression "prVar17->nodes_alloc" identifier -> field_identifier)) ;) (if_statement "if (sVar14 == 0) {\n    return _REG_NOERROR;\n  }" if (parenthesized_expression "(sVar14 == 0)" ( (binary_expression "sVar14 == 0" identifier == number_literal) )) (compound_statement "{\n    return _REG_NOERROR;\n  }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "bVar10 = pbVar19[1];" (assignment_expression "bVar10 = pbVar19[1]" identifier = (subscript_expression "pbVar19[1]" identifier [ number_literal ])) ;) (if_statement "if (bVar10 == 0) {\n    return _REG_NOERROR;\n  }" if (parenthesized_expression "(bVar10 == 0)" ( (binary_expression "bVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    return _REG_NOERROR;\n  }" { (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar21 = piVar6[1];" (assignment_expression "iVar21 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "iVar13 = piVar6[2];" (assignment_expression "iVar13 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (if_statement "if (*piVar6 < (int)(sVar14 + bVar10 + iVar21)) {\n    iVar26 = sVar14 + bVar10 + *piVar6;\n    iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);\n    if (iVar13 == 0) {\n      return _REG_ESPACE;\n    }\n    sVar14 = prVar17->nodes_alloc;\n    bVar10 = pbVar19[1];\n    iVar21 = piVar6[1];\n    piVar6[2] = iVar13;\n    *piVar6 = iVar26;\n  }" if (parenthesized_expression "(*piVar6 < (int)(sVar14 + bVar10 + iVar21))" ( (binary_expression "*piVar6 < (int)(sVar14 + bVar10 + iVar21)" (pointer_expression "*piVar6" * identifier) < (cast_expression "(int)(sVar14 + bVar10 + iVar21)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(sVar14 + bVar10 + iVar21)" ( (binary_expression "sVar14 + bVar10 + iVar21" (binary_expression "sVar14 + bVar10" identifier + identifier) + identifier) )))) )) (compound_statement "{\n    iVar26 = sVar14 + bVar10 + *piVar6;\n    iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);\n    if (iVar13 == 0) {\n      return _REG_ESPACE;\n    }\n    sVar14 = prVar17->nodes_alloc;\n    bVar10 = pbVar19[1];\n    iVar21 = piVar6[1];\n    piVar6[2] = iVar13;\n    *piVar6 = iVar26;\n  }" { (expression_statement "iVar26 = sVar14 + bVar10 + *piVar6;" (assignment_expression "iVar26 = sVar14 + bVar10 + *piVar6" identifier = (binary_expression "sVar14 + bVar10 + *piVar6" (binary_expression "sVar14 + bVar10" identifier + identifier) + (pointer_expression "*piVar6" * identifier))) ;) (expression_statement "iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4);" (assignment_expression "iVar13 = (**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4)" identifier = (call_expression "(**(code **)(pcVar4 + 0x21868))(iVar13,iVar26 * 4)" (parenthesized_expression "(**(code **)(pcVar4 + 0x21868))" ( (pointer_expression "**(code **)(pcVar4 + 0x21868)" * (pointer_expression "*(code **)(pcVar4 + 0x21868)" * (cast_expression "(code **)(pcVar4 + 0x21868)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x21868)" ( (binary_expression "pcVar4 + 0x21868" identifier + number_literal) ))))) )) (argument_list "(iVar13,iVar26 * 4)" ( identifier , (binary_expression "iVar26 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar13 == 0) {\n      return _REG_ESPACE;\n    }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n      return _REG_ESPACE;\n    }" { (return_statement "return _REG_ESPACE;" return identifier ;) })) (expression_statement "sVar14 = prVar17->nodes_alloc;" (assignment_expression "sVar14 = prVar17->nodes_alloc" identifier = (field_expression "prVar17->nodes_alloc" identifier -> field_identifier)) ;) (expression_statement "bVar10 = pbVar19[1];" (assignment_expression "bVar10 = pbVar19[1]" identifier = (subscript_expression "pbVar19[1]" identifier [ number_literal ])) ;) (expression_statement "iVar21 = piVar6[1];" (assignment_expression "iVar21 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;) (expression_statement "piVar6[2] = iVar13;" (assignment_expression "piVar6[2] = iVar13" (subscript_expression "piVar6[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar6 = iVar26;" (assignment_expression "*piVar6 = iVar26" (pointer_expression "*piVar6" * identifier) = identifier) ;) })) (expression_statement "iVar25 = sVar14 - 1;" (assignment_expression "iVar25 = sVar14 - 1" identifier = (binary_expression "sVar14 - 1" identifier - number_literal)) ;) (expression_statement "sVar27 = prVar17->nodes_len;" (assignment_expression "sVar27 = prVar17->nodes_len" identifier = (field_expression "prVar17->nodes_len" identifier -> field_identifier)) ;) (expression_statement "iVar26 = bVar10 - 1;" (assignment_expression "iVar26 = bVar10 - 1" identifier = (binary_expression "bVar10 - 1" identifier - number_literal)) ;) (expression_statement "bVar20 = pbVar19[2];" (assignment_expression "bVar20 = pbVar19[2]" identifier = (subscript_expression "pbVar19[2]" identifier [ number_literal ])) ;) (expression_statement "iVar24 = *(int *)(sVar27 + iVar25 * 4);" (assignment_expression "iVar24 = *(int *)(sVar27 + iVar25 * 4)" identifier = (pointer_expression "*(int *)(sVar27 + iVar25 * 4)" * (cast_expression "(int *)(sVar27 + iVar25 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar27 + iVar25 * 4)" ( (binary_expression "sVar27 + iVar25 * 4" identifier + (binary_expression "iVar25 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar22 = iVar21 + -1;" (assignment_expression "iVar22 = iVar21 + -1" identifier = (binary_expression "iVar21 + -1" identifier + number_literal)) ;) (expression_statement "iVar7 = iVar21 + sVar14 + bVar10;" (assignment_expression "iVar7 = iVar21 + sVar14 + bVar10" identifier = (binary_expression "iVar21 + sVar14 + bVar10" (binary_expression "iVar21 + sVar14" identifier + identifier) + identifier)) ;) (expression_statement "iVar21 = *(int *)(bVar20 + iVar26 * 4);" (assignment_expression "iVar21 = *(int *)(bVar20 + iVar26 * 4)" identifier = (pointer_expression "*(int *)(bVar20 + iVar26 * 4)" * (cast_expression "(int *)(bVar20 + iVar26 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(bVar20 + iVar26 * 4)" ( (binary_expression "bVar20 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar24 != iVar21) {\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }\n    if (iVar22 < 0) {\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }\n    else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }\n    iVar25 = iVar25 + -1;\n    iVar26 = iVar26 + -1;\n    if ((iVar25 < 0) || (iVar26 < 0)) {\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }\n    iVar24 = *(int *)(sVar27 + iVar25 * 4);\n    iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar24 != iVar21) {\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }\n    if (iVar22 < 0) {\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }\n    else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }\n    iVar25 = iVar25 + -1;\n    iVar26 = iVar26 + -1;\n    if ((iVar25 < 0) || (iVar26 < 0)) {\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }\n    iVar24 = *(int *)(sVar27 + iVar25 * 4);\n    iVar21 = *(int *)(bVar20 + iVar26 * 4);\n  }" { (while_statement "while (iVar24 != iVar21) {\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }" while (parenthesized_expression "(iVar24 != iVar21)" ( (binary_expression "iVar24 != iVar21" identifier != identifier) )) (compound_statement "{\n      if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }\n    }" { (if_statement "if (iVar24 < iVar21) {\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }\n      else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }" if (parenthesized_expression "(iVar24 < iVar21)" ( (binary_expression "iVar24 < iVar21" identifier < identifier) )) (compound_statement "{\n        iVar26 = iVar26 + -1;\n        if (iVar26 < 0) goto LAB_0001cba8;\n        iVar21 = *(int *)(bVar20 + iVar26 * 4);\n      }" { (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" identifier = (binary_expression "iVar26 + -1" identifier + number_literal)) ;) (if_statement "if (iVar26 < 0) goto LAB_0001cba8;" if (parenthesized_expression "(iVar26 < 0)" ( (binary_expression "iVar26 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001cba8;" goto statement_identifier ;)) (expression_statement "iVar21 = *(int *)(bVar20 + iVar26 * 4);" (assignment_expression "iVar21 = *(int *)(bVar20 + iVar26 * 4)" identifier = (pointer_expression "*(int *)(bVar20 + iVar26 * 4)" * (cast_expression "(int *)(bVar20 + iVar26 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(bVar20 + iVar26 * 4)" ( (binary_expression "bVar20 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }" else (compound_statement "{\n        iVar25 = iVar25 + -1;\n        if (iVar25 < 0) goto LAB_0001cba8;\n        iVar24 = *(int *)(sVar27 + iVar25 * 4);\n      }" { (expression_statement "iVar25 = iVar25 + -1;" (assignment_expression "iVar25 = iVar25 + -1" identifier = (binary_expression "iVar25 + -1" identifier + number_literal)) ;) (if_statement "if (iVar25 < 0) goto LAB_0001cba8;" if (parenthesized_expression "(iVar25 < 0)" ( (binary_expression "iVar25 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001cba8;" goto statement_identifier ;)) (expression_statement "iVar24 = *(int *)(sVar27 + iVar25 * 4);" (assignment_expression "iVar24 = *(int *)(sVar27 + iVar25 * 4)" identifier = (pointer_expression "*(int *)(sVar27 + iVar25 * 4)" * (cast_expression "(int *)(sVar27 + iVar25 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar27 + iVar25 * 4)" ( (binary_expression "sVar27 + iVar25 * 4" identifier + (binary_expression "iVar25 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar22 < 0) {\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }\n    else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }" if (parenthesized_expression "(iVar22 < 0)" ( (binary_expression "iVar22 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0001cb3c:\n      iVar7 = iVar7 + -1;\n      *(int *)(iVar13 + iVar7 * 4) = iVar24;\n    }" { (labeled_statement "LAB_0001cb3c:\n      iVar7 = iVar7 + -1;" statement_identifier : (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar13 + iVar7 * 4) = iVar24;" (assignment_expression "*(int *)(iVar13 + iVar7 * 4) = iVar24" (pointer_expression "*(int *)(iVar13 + iVar7 * 4)" * (cast_expression "(int *)(iVar13 + iVar7 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar7 * 4)" ( (binary_expression "iVar13 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }" else (compound_statement "{\n      piVar9 = (int *)(iVar13 + iVar22 * 4);\n      iVar21 = *piVar9;\n      while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }\n      if (iVar21 != iVar24) goto LAB_0001cb3c;\n    }" { (expression_statement "piVar9 = (int *)(iVar13 + iVar22 * 4);" (assignment_expression "piVar9 = (int *)(iVar13 + iVar22 * 4)" identifier = (cast_expression "(int *)(iVar13 + iVar22 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar22 * 4)" ( (binary_expression "iVar13 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar21 = *piVar9;" (assignment_expression "iVar21 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) (while_statement "while (iVar24 < iVar21) {\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }" while (parenthesized_expression "(iVar24 < iVar21)" ( (binary_expression "iVar24 < iVar21" identifier < identifier) )) (compound_statement "{\n        iVar22 = iVar22 + -1;\n        piVar9 = piVar9 + -1;\n        if (iVar22 == -1) goto LAB_0001cb3c;\n        iVar21 = *piVar9;\n      }" { (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (expression_statement "piVar9 = piVar9 + -1;" (assignment_expression "piVar9 = piVar9 + -1" identifier = (binary_expression "piVar9 + -1" identifier + number_literal)) ;) (if_statement "if (iVar22 == -1) goto LAB_0001cb3c;" if (parenthesized_expression "(iVar22 == -1)" ( (binary_expression "iVar22 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001cb3c;" goto statement_identifier ;)) (expression_statement "iVar21 = *piVar9;" (assignment_expression "iVar21 = *piVar9" identifier = (pointer_expression "*piVar9" * identifier)) ;) })) (if_statement "if (iVar21 != iVar24) goto LAB_0001cb3c;" if (parenthesized_expression "(iVar21 != iVar24)" ( (binary_expression "iVar21 != iVar24" identifier != identifier) )) (goto_statement "goto LAB_0001cb3c;" goto statement_identifier ;)) }))) (expression_statement "iVar25 = iVar25 + -1;" (assignment_expression "iVar25 = iVar25 + -1" identifier = (binary_expression "iVar25 + -1" identifier + number_literal)) ;) (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" identifier = (binary_expression "iVar26 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar25 < 0) || (iVar26 < 0)) {\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }" if (parenthesized_expression "((iVar25 < 0) || (iVar26 < 0))" ( (binary_expression "(iVar25 < 0) || (iVar26 < 0)" (parenthesized_expression "(iVar25 < 0)" ( (binary_expression "iVar25 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar26 < 0)" ( (binary_expression "iVar26 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_0001cba8:\n      iVar26 = piVar6[1];\n      iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];\n      iVar21 = iVar22 - iVar7;\n      iVar22 = iVar22 + -1;\n      piVar6[1] = iVar26 + iVar21;\n      if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }\n      iVar21 = iVar21 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);\n      return _REG_NOERROR;\n    }" { (labeled_statement "LAB_0001cba8:\n      iVar26 = piVar6[1];" statement_identifier : (expression_statement "iVar26 = piVar6[1];" (assignment_expression "iVar26 = piVar6[1]" identifier = (subscript_expression "piVar6[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1];" (assignment_expression "iVar22 = iVar26 + prVar17->nodes_alloc + pbVar19[1]" identifier = (binary_expression "iVar26 + prVar17->nodes_alloc + pbVar19[1]" (binary_expression "iVar26 + prVar17->nodes_alloc" identifier + (field_expression "prVar17->nodes_alloc" identifier -> field_identifier)) + (subscript_expression "pbVar19[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar21 = iVar22 - iVar7;" (assignment_expression "iVar21 = iVar22 - iVar7" identifier = (binary_expression "iVar22 - iVar7" identifier - identifier)) ;) (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (expression_statement "piVar6[1] = iVar26 + iVar21;" (assignment_expression "piVar6[1] = iVar26 + iVar21" (subscript_expression "piVar6[1]" identifier [ number_literal ]) = (binary_expression "iVar26 + iVar21" identifier + identifier)) ;) (if_statement "if (0 < iVar21) {\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar21)" ( (binary_expression "0 < iVar21" number_literal < identifier) )) (compound_statement "{\n        iVar26 = iVar26 + -1;\n        iVar24 = iVar22 * 4;\n        if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }\n      }" { (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" identifier = (binary_expression "iVar26 + -1" identifier + number_literal)) ;) (expression_statement "iVar24 = iVar22 * 4;" (assignment_expression "iVar24 = iVar22 * 4" identifier = (binary_expression "iVar22 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar26) {\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }" if (parenthesized_expression "(-1 < iVar26)" ( (binary_expression "-1 < iVar26" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);\n          iVar13 = piVar6[2];\n        }" { (do_statement "do {\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          } while (iVar26 != -1);" do (compound_statement "{\n            iVar23 = *(int *)(iVar13 + iVar24);\n            iVar25 = *(int *)(iVar13 + iVar26 * 4);\n            piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n            if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }\n            iVar26 = iVar26 + -1;\n            *piVar9 = iVar25;\n          }" { (expression_statement "iVar23 = *(int *)(iVar13 + iVar24);" (assignment_expression "iVar23 = *(int *)(iVar13 + iVar24)" identifier = (pointer_expression "*(int *)(iVar13 + iVar24)" * (cast_expression "(int *)(iVar13 + iVar24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar24)" ( (binary_expression "iVar13 + iVar24" identifier + identifier) ))))) ;) (expression_statement "iVar25 = *(int *)(iVar13 + iVar26 * 4);" (assignment_expression "iVar25 = *(int *)(iVar13 + iVar26 * 4)" identifier = (pointer_expression "*(int *)(iVar13 + iVar26 * 4)" * (cast_expression "(int *)(iVar13 + iVar26 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar26 * 4)" ( (binary_expression "iVar13 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);" (assignment_expression "piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4)" identifier = (cast_expression "(int *)(iVar13 + (iVar26 + iVar21) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + (iVar26 + iVar21) * 4)" ( (binary_expression "iVar13 + (iVar26 + iVar21) * 4" identifier + (binary_expression "(iVar26 + iVar21) * 4" (parenthesized_expression "(iVar26 + iVar21)" ( (binary_expression "iVar26 + iVar21" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar25 < iVar23) {\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }" if (parenthesized_expression "(iVar25 < iVar23)" ( (binary_expression "iVar25 < iVar23" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);\n            }" { (do_statement "do {\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              } while (iVar25 < iVar23);" do (compound_statement "{\n                iVar21 = iVar21 + -1;\n                *piVar9 = iVar23;\n                iVar22 = iVar22 + -1;\n                if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar24 = iVar22 * 4;\n                iVar25 = *(int *)(iVar13 + iVar26 * 4);\n                iVar23 = *(int *)(iVar13 + iVar24);\n                piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);\n              }" { (expression_statement "iVar21 = iVar21 + -1;" (assignment_expression "iVar21 = iVar21 + -1" identifier = (binary_expression "iVar21 + -1" identifier + number_literal)) ;) (expression_statement "*piVar9 = iVar23;" (assignment_expression "*piVar9 = iVar23" (pointer_expression "*piVar9" * identifier) = identifier) ;) (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (if_statement "if (iVar21 == 0) {\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }" if (parenthesized_expression "(iVar21 == 0)" ( (binary_expression "iVar21 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar13 = piVar6[2];\n                  iVar21 = 0;\n                  goto LAB_0001cc5c;\n                }" { (expression_statement "iVar13 = piVar6[2];" (assignment_expression "iVar13 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) (expression_statement "iVar21 = 0;" (assignment_expression "iVar21 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001cc5c;" goto statement_identifier ;) })) (expression_statement "iVar24 = iVar22 * 4;" (assignment_expression "iVar24 = iVar22 * 4" identifier = (binary_expression "iVar22 * 4" identifier * number_literal)) ;) (expression_statement "iVar25 = *(int *)(iVar13 + iVar26 * 4);" (assignment_expression "iVar25 = *(int *)(iVar13 + iVar26 * 4)" identifier = (pointer_expression "*(int *)(iVar13 + iVar26 * 4)" * (cast_expression "(int *)(iVar13 + iVar26 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar26 * 4)" ( (binary_expression "iVar13 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar13 + iVar24);" (assignment_expression "iVar23 = *(int *)(iVar13 + iVar24)" identifier = (pointer_expression "*(int *)(iVar13 + iVar24)" * (cast_expression "(int *)(iVar13 + iVar24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + iVar24)" ( (binary_expression "iVar13 + iVar24" identifier + identifier) ))))) ;) (expression_statement "piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4);" (assignment_expression "piVar9 = (int *)(iVar13 + (iVar26 + iVar21) * 4)" identifier = (cast_expression "(int *)(iVar13 + (iVar26 + iVar21) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + (iVar26 + iVar21) * 4)" ( (binary_expression "iVar13 + (iVar26 + iVar21) * 4" identifier + (binary_expression "(iVar26 + iVar21) * 4" (parenthesized_expression "(iVar26 + iVar21)" ( (binary_expression "iVar26 + iVar21" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar25 < iVar23)" ( (binary_expression "iVar25 < iVar23" identifier < identifier) )) ;) })) (expression_statement "iVar26 = iVar26 + -1;" (assignment_expression "iVar26 = iVar26 + -1" identifier = (binary_expression "iVar26 + -1" identifier + number_literal)) ;) (expression_statement "*piVar9 = iVar25;" (assignment_expression "*piVar9 = iVar25" (pointer_expression "*piVar9" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar26 != -1)" ( (binary_expression "iVar26 != -1" identifier != number_literal) )) ;) (expression_statement "iVar13 = piVar6[2];" (assignment_expression "iVar13 = piVar6[2]" identifier = (subscript_expression "piVar6[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar21 = iVar21 << 2;" (assignment_expression "iVar21 = iVar21 << 2" identifier = (binary_expression "iVar21 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_0001cc5c:\n      (**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);" statement_identifier : (expression_statement "(**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21);" (call_expression "(**(code **)(pcVar4 + 0x218c8))(iVar13,iVar13 + iVar7 * 4,iVar21)" (parenthesized_expression "(**(code **)(pcVar4 + 0x218c8))" ( (pointer_expression "**(code **)(pcVar4 + 0x218c8)" * (pointer_expression "*(code **)(pcVar4 + 0x218c8)" * (cast_expression "(code **)(pcVar4 + 0x218c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar4 + 0x218c8)" ( (binary_expression "pcVar4 + 0x218c8" identifier + number_literal) ))))) )) (argument_list "(iVar13,iVar13 + iVar7 * 4,iVar21)" ( identifier , (binary_expression "iVar13 + iVar7 * 4" identifier + (binary_expression "iVar7 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return _REG_NOERROR;" return identifier ;) })) (expression_statement "iVar24 = *(int *)(sVar27 + iVar25 * 4);" (assignment_expression "iVar24 = *(int *)(sVar27 + iVar25 * 4)" identifier = (pointer_expression "*(int *)(sVar27 + iVar25 * 4)" * (cast_expression "(int *)(sVar27 + iVar25 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar27 + iVar25 * 4)" ( (binary_expression "sVar27 + iVar25 * 4" identifier + (binary_expression "iVar25 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar21 = *(int *)(bVar20 + iVar26 * 4);" (assignment_expression "iVar21 = *(int *)(bVar20 + iVar26 * 4)" identifier = (pointer_expression "*(int *)(bVar20 + iVar26 * 4)" * (cast_expression "(int *)(bVar20 + iVar26 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(bVar20 + iVar26 * 4)" ( (binary_expression "bVar20 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal)) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "int FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}\n\n" (function_definition "int FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}" primitive_type (function_declarator "FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int *param_4" primitive_type (pointer_declarator "*param_4" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piVar12;" primitive_type (pointer_declarator "*piVar12" * identifier) ;) (declaration "int *piVar13;" primitive_type (pointer_declarator "*piVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int *piVar15;" primitive_type (pointer_declarator "*piVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int iVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int *piVar23;" primitive_type (pointer_declarator "*piVar23" * identifier) ;) (declaration "undefined *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "int *unaff_s5;" primitive_type (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "int iStack_b0;" primitive_type identifier ;) (declaration "int iStack_ac;" primitive_type identifier ;) (declaration "int iStack_a8;" primitive_type identifier ;) (declaration "int *piStack_a4;" primitive_type (pointer_declarator "*piStack_a4" * identifier) ;) (declaration "int iStack_a0;" primitive_type identifier ;) (declaration "int *piStack_9c;" primitive_type (pointer_declarator "*piStack_9c" * identifier) ;) (declaration "int *piStack_98;" primitive_type (pointer_declarator "*piStack_98" * identifier) ;) (declaration "undefined *puStack_94;" type_identifier (pointer_declarator "*puStack_94" * identifier) ;) (declaration "undefined *puStack_90;" type_identifier (pointer_declarator "*puStack_90" * identifier) ;) (declaration "int *piStack_8c;" primitive_type (pointer_declarator "*piStack_8c" * identifier) ;) (declaration "int *piStack_88;" primitive_type (pointer_declarator "*piStack_88" * identifier) ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "int *piStack_80;" primitive_type (pointer_declarator "*piStack_80" * identifier) ;) (declaration "code *pcStack_7c;" type_identifier (pointer_declarator "*pcStack_7c" * identifier) ;) (declaration "uint local_68;" type_identifier identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "int local_40;" primitive_type identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (expression_statement "puVar2 = PTR___stack_chk_guard_0003e2f4;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0003e2f4" identifier = identifier) ;) (expression_statement "piVar23 = (int *)((int)param_3 * 0xc);" (assignment_expression "piVar23 = (int *)((int)param_3 * 0xc)" identifier = (cast_expression "(int *)((int)param_3 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 * 0xc)" ( (binary_expression "(int)param_3 * 0xc" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0003e2f4" identifier = (pointer_expression "*(int **)PTR___stack_chk_guard_0003e2f4" * (cast_expression "(int **)PTR___stack_chk_guard_0003e2f4" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) ;) (expression_statement "iVar22 = param_2[5] + (int)piVar23;" (assignment_expression "iVar22 = param_2[5] + (int)piVar23" identifier = (binary_expression "param_2[5] + (int)piVar23" (subscript_expression "param_2[5]" identifier [ number_literal ]) + (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "local_44 = *(int *)(iVar22 + 4) + 1;" (assignment_expression "local_44 = *(int *)(iVar22 + 4) + 1" identifier = (binary_expression "*(int *)(iVar22 + 4) + 1" (pointer_expression "*(int *)(iVar22 + 4)" * (cast_expression "(int *)(iVar22 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 4)" ( (binary_expression "iVar22 + 4" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "piVar12 = param_3;" (assignment_expression "piVar12 = param_3" identifier = identifier) ;) (expression_statement "piVar15 = param_4;" (assignment_expression "piVar15 = param_4" identifier = identifier) ;) (expression_statement "local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);" (assignment_expression "local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4)" identifier = (call_expression "(*(code *)PTR_malloc_0003e294)(local_44 * 4)" (parenthesized_expression "(*(code *)PTR_malloc_0003e294)" ( (pointer_expression "*(code *)PTR_malloc_0003e294" * (cast_expression "(code *)PTR_malloc_0003e294" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_44 * 4)" ( (binary_expression "local_44 * 4" identifier * number_literal) )))) ;) (if_statement "if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" if (parenthesized_expression "(local_3c == 0)" ( (binary_expression "local_3c == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0001c824:\n    iVar10 = 0xc;\n  }" { (labeled_statement "LAB_0001c824:\n    iVar10 = 0xc;" statement_identifier : (expression_statement "iVar10 = 0xc;" (assignment_expression "iVar10 = 0xc" identifier = number_literal) ;)) }) (else_clause "else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" else (compound_statement "{\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" { (expression_statement "iVar10 = *param_2;" (assignment_expression "iVar10 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "unaff_s3 = (undefined *)((int)param_3 * 8);" (assignment_expression "unaff_s3 = (undefined *)((int)param_3 * 8)" identifier = (cast_expression "(undefined *)((int)param_3 * 8)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 * 8)" ( (binary_expression "(int)param_3 * 8" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal) )))) ;) (expression_statement "piVar15 = (int *)0xffffffff;" (assignment_expression "piVar15 = (int *)0xffffffff" identifier = (cast_expression "(int *)0xffffffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar7 = unaff_s3 + iVar10;" (assignment_expression "puVar7 = unaff_s3 + iVar10" identifier = (binary_expression "unaff_s3 + iVar10" identifier + identifier)) ;) (expression_statement "piVar12 = *(int **)(puVar7 + 4);" (assignment_expression "piVar12 = *(int **)(puVar7 + 4)" identifier = (pointer_expression "*(int **)(puVar7 + 4)" * (cast_expression "(int **)(puVar7 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 4)" ( (binary_expression "puVar7 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)piVar23 + param_2[6] + 4)" * (cast_expression "(undefined4 *)((int)piVar23 + param_2[6] + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar23 + param_2[6] + 4)" ( (binary_expression "(int)piVar23 + param_2[6] + 4" (binary_expression "(int)piVar23 + param_2[6]" (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier) + (subscript_expression "param_2[6]" identifier [ number_literal ])) + number_literal) )))) = number_literal) ;) (if_statement "if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" if (parenthesized_expression "(((uint)piVar12 & 0xffc000) == 0)" ( (binary_expression "((uint)piVar12 & 0xffc000) == 0" (parenthesized_expression "((uint)piVar12 & 0xffc000)" ( (binary_expression "(uint)piVar12 & 0xffc000" (cast_expression "(uint)piVar12" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) (compound_statement "{\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }" { (labeled_statement "LAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;" statement_identifier : (if_statement "if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;" if (parenthesized_expression "((puVar7[4] & 8) == 0)" ( (binary_expression "(puVar7[4] & 8) == 0" (parenthesized_expression "(puVar7[4] & 8)" ( (binary_expression "puVar7[4] & 8" (subscript_expression "puVar7[4]" identifier [ number_literal ]) & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0001c7cc;" goto statement_identifier ;))) (expression_statement "piVar15 = (int *)param_2[5];" (assignment_expression "piVar15 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) (expression_statement "piVar4 = piVar15 + (int)param_3 * 3;" (assignment_expression "piVar4 = piVar15 + (int)param_3 * 3" identifier = (binary_expression "piVar15 + (int)param_3 * 3" identifier + (binary_expression "(int)param_3 * 3" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal))) ;) (if_statement "if (piVar4[1] < 1) goto LAB_0001c7cc;" if (parenthesized_expression "(piVar4[1] < 1)" ( (binary_expression "piVar4[1] < 1" (subscript_expression "piVar4[1]" identifier [ number_literal ]) < number_literal) )) (goto_statement "goto LAB_0001c7cc;" goto statement_identifier ;)) (expression_statement "unaff_s7 = 0;" (assignment_expression "unaff_s7 = 0" identifier = number_literal) ;) (expression_statement "unaff_s5 = &local_44;" (assignment_expression "unaff_s5 = &local_44" identifier = (pointer_expression "&local_44" & identifier)) ;) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" identifier = false) ;) (expression_statement "pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18)" identifier = (cast_expression "(code *)(PTR_LAB_0003e1b4 + -0x3b18)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_0003e1b4 + -0x3b18)" ( (binary_expression "PTR_LAB_0003e1b4 + -0x3b18" identifier + number_literal) )))) ;) (expression_statement "unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;" (assignment_expression "unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64" identifier = (binary_expression "PTR_LAB_0003e1b4 + -0x3d64" identifier + number_literal)) ;) (do_statement "do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);" do (compound_statement "{\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      }" { (expression_statement "piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);" (assignment_expression "piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4)" identifier = (pointer_expression "*(int **)(piVar4[2] + unaff_s7 * 4)" * (cast_expression "(int **)(piVar4[2] + unaff_s7 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar4[2] + unaff_s7 * 4)" ( (binary_expression "piVar4[2] + unaff_s7 * 4" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + (binary_expression "unaff_s7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar22 = (int)piVar12 * 0xc;" (assignment_expression "iVar22 = (int)piVar12 * 0xc" identifier = (binary_expression "(int)piVar12 * 0xc" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) (expression_statement "piVar4 = (int *)(param_2[6] + iVar22);" (assignment_expression "piVar4 = (int *)(param_2[6] + iVar22)" identifier = (cast_expression "(int *)(param_2[6] + iVar22)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + iVar22)" ( (binary_expression "param_2[6] + iVar22" (subscript_expression "param_2[6]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "iVar10 = piVar4[1];" (assignment_expression "iVar10 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" if (parenthesized_expression "(iVar10 == -1)" ( (binary_expression "iVar10 == -1" identifier == number_literal) )) (compound_statement "{\n          bVar1 = true;\n        }" { (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) }) (else_clause "else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" else (compound_statement "{\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" { (expression_statement "piVar11 = &local_38;" (assignment_expression "piVar11 = &local_38" identifier = (pointer_expression "&local_38" & identifier)) ;) (if_statement "if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }" { (expression_statement "piVar15 = (int *)0x0;" (assignment_expression "piVar15 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" identifier = identifier) ;) (expression_statement "iVar10 = (*pcVar3)(piVar11);" (assignment_expression "iVar10 = (*pcVar3)(piVar11)" identifier = (call_expression "(*pcVar3)(piVar11)" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(piVar11)" ( identifier )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) }) (else_clause "else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" else (compound_statement "{\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" { (expression_statement "local_38 = *piVar4;" (assignment_expression "local_38 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (expression_statement "local_30 = piVar4[2];" (assignment_expression "local_30 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "local_34 = iVar10;" (assignment_expression "local_34 = iVar10" identifier = identifier) ;) }))) (expression_statement "iVar10 = FUN_0001c29c(unaff_s5);" (assignment_expression "iVar10 = FUN_0001c29c(unaff_s5)" identifier = (call_expression "FUN_0001c29c(unaff_s5)" identifier (argument_list "(unaff_s5)" ( identifier )))) ;) (expression_statement "piVar4 = piVar11;" (assignment_expression "piVar4 = piVar11" identifier = identifier) ;) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) (expression_statement "iVar22 = param_2[6] + iVar22;" (assignment_expression "iVar22 = param_2[6] + iVar22" identifier = (binary_expression "param_2[6] + iVar22" (subscript_expression "param_2[6]" identifier [ number_literal ]) + identifier)) ;) (if_statement "if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }" if (parenthesized_expression "(*(int *)(iVar22 + 4) == 0)" ( (binary_expression "*(int *)(iVar22 + 4) == 0" (pointer_expression "*(int *)(iVar22 + 4)" * (cast_expression "(int *)(iVar22 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 4)" ( (binary_expression "iVar22 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }" { (expression_statement "(*(code *)PTR_free_0003e300)(local_30);" (call_expression "(*(code *)PTR_free_0003e300)(local_30)" (parenthesized_expression "(*(code *)PTR_free_0003e300)" ( (pointer_expression "*(code *)PTR_free_0003e300" * (cast_expression "(code *)PTR_free_0003e300" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_30)" ( identifier ))) ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) })) (expression_statement "piVar15 = (int *)param_2[5];" (assignment_expression "piVar15 = (int *)param_2[5]" identifier = (cast_expression "(int *)param_2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_2[5]" identifier [ number_literal ]))) ;) }))) (expression_statement "piVar4 = piVar15 + (int)param_3 * 3;" (assignment_expression "piVar4 = piVar15 + (int)param_3 * 3" identifier = (binary_expression "piVar15 + (int)param_3 * 3" identifier + (binary_expression "(int)param_3 * 3" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal))) ;) (expression_statement "unaff_s7 = unaff_s7 + 1;" (assignment_expression "unaff_s7 = unaff_s7 + 1" identifier = (binary_expression "unaff_s7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s7 < piVar4[1])" ( (binary_expression "unaff_s7 < piVar4[1]" identifier < (subscript_expression "piVar4[1]" identifier [ number_literal ])) )) ;) (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" identifier = identifier) ;) (expression_statement "iVar10 = FUN_00019d18(&local_44);" (assignment_expression "iVar10 = FUN_00019d18(&local_44)" identifier = (call_expression "FUN_00019d18(&local_44)" identifier (argument_list "(&local_44)" ( (pointer_expression "&local_44" & identifier) )))) ;) (if_statement "if (iVar10 == 0) goto LAB_0001c824;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001c824;" goto statement_identifier ;)) (expression_statement "piVar23 = (int *)(param_2[6] + (int)piVar23);" (assignment_expression "piVar23 = (int *)(param_2[6] + (int)piVar23)" identifier = (cast_expression "(int *)(param_2[6] + (int)piVar23)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + (int)piVar23)" ( (binary_expression "param_2[6] + (int)piVar23" (subscript_expression "param_2[6]" identifier [ number_literal ]) + (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (if_statement "if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }" if (parenthesized_expression "((bVar1) && (param_4 == (int *)0x0))" ( (binary_expression "(bVar1) && (param_4 == (int *)0x0)" (parenthesized_expression "(bVar1)" ( identifier )) && (parenthesized_expression "(param_4 == (int *)0x0)" ( (binary_expression "param_4 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }" { (expression_statement "piVar23[1] = 0;" (assignment_expression "piVar23[1] = 0" (subscript_expression "piVar23[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = local_44;" (assignment_expression "*param_1 = local_44" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = local_3c;" (assignment_expression "param_1[2] = local_3c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;) })) }) (else_clause "else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" else (compound_statement "{\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" { (if_statement "if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }" if (parenthesized_expression "(*(int *)(iVar22 + 4) != 0)" ( (binary_expression "*(int *)(iVar22 + 4) != 0" (pointer_expression "*(int *)(iVar22 + 4)" * (cast_expression "(int *)(iVar22 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 4)" ( (binary_expression "iVar22 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }" { (if_statement "if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }" if (parenthesized_expression "((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0)" ( (binary_expression "(*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000)" ( (binary_expression "*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" * (cast_expression "(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" ( (binary_expression "iVar10 + **(int **)(iVar22 + 8) * 8 + 4" (binary_expression "iVar10 + **(int **)(iVar22 + 8) * 8" identifier + (binary_expression "**(int **)(iVar22 + 8) * 8" (pointer_expression "**(int **)(iVar22 + 8)" * (pointer_expression "*(int **)(iVar22 + 8)" * (cast_expression "(int **)(iVar22 + 8)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) ))))) * number_literal)) + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }" { (expression_statement "local_68 = (uint)((int)piVar12 << 8) >> 0x16;" (assignment_expression "local_68 = (uint)((int)piVar12 << 8) >> 0x16" identifier = (binary_expression "(uint)((int)piVar12 << 8) >> 0x16" (call_expression "(uint)((int)piVar12 << 8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)piVar12 << 8)" ( (binary_expression "(int)piVar12 << 8" (cast_expression "(int)piVar12" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal) ))) >> number_literal)) ;) (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" identifier = identifier) ;) (expression_statement "piVar12 = param_3;" (assignment_expression "piVar12 = param_3" identifier = identifier) ;) (expression_statement "piVar15 = param_3;" (assignment_expression "piVar15 = param_3" identifier = identifier) ;) (expression_statement "iVar10 = FUN_0001b200(param_2);" (assignment_expression "iVar10 = FUN_0001b200(param_2)" identifier = (call_expression "FUN_0001b200(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0001c6e0;" goto statement_identifier ;)) (expression_statement "puVar7 = unaff_s3 + *param_2;" (assignment_expression "puVar7 = unaff_s3 + *param_2" identifier = (binary_expression "unaff_s3 + *param_2" identifier + (pointer_expression "*param_2" * identifier))) ;) })) (goto_statement "goto LAB_0001c5b0;" goto statement_identifier ;) })) (labeled_statement "LAB_0001c7cc:\n      piVar4 = param_3;" statement_identifier : (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" identifier = identifier) ;)) (expression_statement "iVar10 = FUN_00019d18(&local_44);" (assignment_expression "iVar10 = FUN_00019d18(&local_44)" identifier = (call_expression "FUN_00019d18(&local_44)" identifier (argument_list "(&local_44)" ( (pointer_expression "&local_44" & identifier) )))) ;) (if_statement "if (iVar10 == 0) goto LAB_0001c824;" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0001c824;" goto statement_identifier ;)) (expression_statement "piVar23 = (int *)(param_2[6] + (int)piVar23);" (assignment_expression "piVar23 = (int *)(param_2[6] + (int)piVar23)" identifier = (cast_expression "(int *)(param_2[6] + (int)piVar23)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[6] + (int)piVar23)" ( (binary_expression "param_2[6] + (int)piVar23" (subscript_expression "param_2[6]" identifier [ number_literal ]) + (cast_expression "(int)piVar23" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) }))) (expression_statement "piVar23[1] = local_40;" (assignment_expression "piVar23[1] = local_40" (subscript_expression "piVar23[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar23[2] = local_3c;" (assignment_expression "piVar23[2] = local_3c" (subscript_expression "piVar23[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (expression_statement "*piVar23 = local_44;" (assignment_expression "*piVar23 = local_44" (pointer_expression "*piVar23" * identifier) = identifier) ;) (expression_statement "*param_1 = local_44;" (assignment_expression "*param_1 = local_44" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = local_3c;" (assignment_expression "param_1[2] = local_3c" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }" statement_identifier : (if_statement "if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }" if (parenthesized_expression "(local_2c == *(int **)puVar2)" ( (binary_expression "local_2c == *(int **)puVar2" identifier == (pointer_expression "*(int **)puVar2" * (cast_expression "(int **)puVar2" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (compound_statement "{\n    return iVar10;\n  }" { (return_statement "return iVar10;" return identifier ;) }))) (expression_statement "pcVar3 = FUN_0001c838;" (assignment_expression "pcVar3 = FUN_0001c838" identifier = identifier) ;) (expression_statement "piVar8 = local_2c;" (assignment_expression "piVar8 = local_2c" identifier = identifier) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_0003e2d4;" (assignment_expression "puVar7 = PTR___stack_chk_fail_0003e2d4" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_0003e2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_0003e2d4" * (cast_expression "(code *)PTR___stack_chk_fail_0003e2d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "piVar5 = *(int **)(puVar7 + 0x21abc);" (assignment_expression "piVar5 = *(int **)(puVar7 + 0x21abc)" identifier = (pointer_expression "*(int **)(puVar7 + 0x21abc)" * (cast_expression "(int **)(puVar7 + 0x21abc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21abc)" ( (binary_expression "puVar7 + 0x21abc" identifier + number_literal) ))))) ;) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" identifier = identifier) ;) (expression_statement "iStack_ac = 0;" (assignment_expression "iStack_ac = 0" identifier = number_literal) ;) (expression_statement "iVar10 = piVar4[1];" (assignment_expression "iVar10 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "piStack_a4 = (int *)*piVar5;" (assignment_expression "piStack_a4 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (expression_statement "piVar11 = piVar4;" (assignment_expression "piVar11 = piVar4" identifier = identifier) ;) (expression_statement "piVar13 = piVar12;" (assignment_expression "piVar13 = piVar12" identifier = identifier) ;) (expression_statement "iStack_b0 = iVar10;" (assignment_expression "iStack_b0 = iVar10" identifier = identifier) ;) (expression_statement "iStack_a0 = iVar22;" (assignment_expression "iStack_a0 = iVar22" identifier = identifier) ;) (expression_statement "piStack_9c = piVar23;" (assignment_expression "piStack_9c = piVar23" identifier = identifier) ;) (expression_statement "piStack_98 = param_3;" (assignment_expression "piStack_98 = param_3" identifier = identifier) ;) (expression_statement "puStack_94 = unaff_s3;" (assignment_expression "puStack_94 = unaff_s3" identifier = identifier) ;) (expression_statement "piStack_8c = unaff_s5;" (assignment_expression "piStack_8c = unaff_s5" identifier = identifier) ;) (expression_statement "piStack_88 = param_1;" (assignment_expression "piStack_88 = param_1" identifier = identifier) ;) (expression_statement "iStack_84 = unaff_s7;" (assignment_expression "iStack_84 = unaff_s7" identifier = identifier) ;) (expression_statement "piStack_80 = param_2;" (assignment_expression "piStack_80 = param_2" identifier = identifier) ;) (expression_statement "pcStack_7c = pcVar3;" (assignment_expression "pcStack_7c = pcVar3" identifier = identifier) ;) (expression_statement "iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);" (assignment_expression "iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2)" identifier = (call_expression "(**(code **)(puVar7 + 0x21a5c))(iVar10 << 2)" (parenthesized_expression "(**(code **)(puVar7 + 0x21a5c))" ( (pointer_expression "**(code **)(puVar7 + 0x21a5c)" * (pointer_expression "*(code **)(puVar7 + 0x21a5c)" * (cast_expression "(code **)(puVar7 + 0x21a5c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21a5c)" ( (binary_expression "puVar7 + 0x21a5c" identifier + number_literal) ))))) )) (argument_list "(iVar10 << 2)" ( (binary_expression "iVar10 << 2" identifier << number_literal) )))) ;) (if_statement "if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" if (parenthesized_expression "(iStack_a8 == 0)" ( (binary_expression "iStack_a8 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar22 = 0xc;\n  }" { (expression_statement "iVar22 = 0xc;" (assignment_expression "iVar22 = 0xc" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" else (compound_statement "{\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" { (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21ac8);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21ac8)" identifier = (pointer_expression "*(code **)(puVar7 + 0x21ac8)" * (cast_expression "(code **)(puVar7 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21ac8)" ( (binary_expression "puVar7 + 0x21ac8" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);" do (compound_statement "{\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      }" { (expression_statement "piVar13 = *(int **)(piVar4[2] + iVar10 * 4);" (assignment_expression "piVar13 = *(int **)(piVar4[2] + iVar10 * 4)" identifier = (pointer_expression "*(int **)(piVar4[2] + iVar10 * 4)" * (cast_expression "(int **)(piVar4[2] + iVar10 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(piVar4[2] + iVar10 * 4)" ( (binary_expression "piVar4[2] + iVar10 * 4" (subscript_expression "piVar4[2]" identifier [ number_literal ]) + (binary_expression "iVar10 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);" (assignment_expression "piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc)" identifier = (cast_expression "(int *)(piVar8[6] + (int)piVar13 * 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8[6] + (int)piVar13 * 0xc)" ( (binary_expression "piVar8[6] + (int)piVar13 * 0xc" (subscript_expression "piVar8[6]" identifier [ number_literal ]) + (binary_expression "(int)piVar13 * 0xc" (cast_expression "(int)piVar13" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) )))) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (if_statement "if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }" if (parenthesized_expression "(0 < piVar11[1])" ( (binary_expression "0 < piVar11[1]" number_literal < (subscript_expression "piVar11[1]" identifier [ number_literal ])) )) (compound_statement "{\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }" { (expression_statement "piVar23 = (int *)piVar11[2];" (assignment_expression "piVar23 = (int *)piVar11[2]" identifier = (cast_expression "(int *)piVar11[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar11[2]" identifier [ number_literal ]))) ;) (do_statement "do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);" do (compound_statement "{\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          }" { (expression_statement "piVar6 = (int *)(*piVar8 + *piVar23 * 8);" (assignment_expression "piVar6 = (int *)(*piVar8 + *piVar23 * 8)" identifier = (cast_expression "(int *)(*piVar8 + *piVar23 * 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*piVar8 + *piVar23 * 8)" ( (binary_expression "*piVar8 + *piVar23 * 8" (pointer_expression "*piVar8" * identifier) + (binary_expression "*piVar23 * 8" (pointer_expression "*piVar23" * identifier) * number_literal)) )))) ;) (if_statement "if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" if (parenthesized_expression "((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6))" ( (binary_expression "(piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)" (parenthesized_expression "(piVar15 == (int *)(uint)*(byte *)(piVar6 + 1))" ( (binary_expression "piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)" identifier == (binary_expression "(int *)(uint)*(byte *)(piVar6 + 1)" (cast_expression "(int *)(uint)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)(piVar6 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar6 + 1)" ( (binary_expression "piVar6 + 1" identifier + number_literal) ))))) )) && (parenthesized_expression "(piVar12 == (int *)*piVar6)" ( (binary_expression "piVar12 == (int *)*piVar6" identifier == (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ))) )) (compound_statement "{\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" { (if_statement "if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }" if (parenthesized_expression "(*piVar23 != -1)" ( (binary_expression "*piVar23 != -1" (pointer_expression "*piVar23" * identifier) != number_literal) )) (compound_statement "{\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }" { (expression_statement "piVar11 = &iStack_b0;" (assignment_expression "piVar11 = &iStack_b0" identifier = (pointer_expression "&iStack_b0" & identifier)) ;) (expression_statement "iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);" (assignment_expression "iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" identifier = (call_expression "FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" identifier (argument_list "(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" ( identifier , (pointer_expression "&iStack_b0" & identifier) , identifier , identifier , identifier )))) ;) (goto_statement "goto joined_r0x0001c968;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar22 = iVar22 + 1;" (assignment_expression "iVar22 = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) (expression_statement "piVar23 = piVar23 + 1;" (assignment_expression "piVar23 = piVar23 + 1" identifier = (binary_expression "piVar23 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar11[1] != iVar22)" ( (binary_expression "piVar11[1] != iVar22" (subscript_expression "piVar11[1]" identifier [ number_literal ]) != identifier) )) ;) })) (expression_statement "iVar22 = FUN_0001c29c(&iStack_b0);" (assignment_expression "iVar22 = FUN_0001c29c(&iStack_b0)" identifier = (call_expression "FUN_0001c29c(&iStack_b0)" identifier (argument_list "(&iStack_b0)" ( (pointer_expression "&iStack_b0" & identifier) )))) ;) (labeled_statement "joined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" statement_identifier : (if_statement "if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" if (parenthesized_expression "(iVar22 != 0)" ( (binary_expression "iVar22 != 0" identifier != number_literal) )) (compound_statement "{\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" { (expression_statement "(**(code **)(puVar7 + 0x21ac8))(iStack_a8);" (call_expression "(**(code **)(puVar7 + 0x21ac8))(iStack_a8)" (parenthesized_expression "(**(code **)(puVar7 + 0x21ac8))" ( (pointer_expression "**(code **)(puVar7 + 0x21ac8)" * (pointer_expression "*(code **)(puVar7 + 0x21ac8)" * (cast_expression "(code **)(puVar7 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21ac8)" ( (binary_expression "puVar7 + 0x21ac8" identifier + number_literal) ))))) )) (argument_list "(iStack_a8)" ( identifier ))) ;) (goto_statement "goto LAB_0001c9dc;" goto statement_identifier ;) }))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21ac8);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21ac8)" identifier = (pointer_expression "*(code **)(puVar7 + 0x21ac8)" * (cast_expression "(code **)(puVar7 + 0x21ac8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21ac8)" ( (binary_expression "puVar7 + 0x21ac8" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar10 < piVar4[1])" ( (binary_expression "iVar10 < piVar4[1]" identifier < (subscript_expression "piVar4[1]" identifier [ number_literal ])) )) ;) })) (expression_statement "(*pcVar3)(piVar4[2]);" (call_expression "(*pcVar3)(piVar4[2])" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "(piVar4[2])" ( (subscript_expression "piVar4[2]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (expression_statement "*piVar4 = iStack_b0;" (assignment_expression "*piVar4 = iStack_b0" (pointer_expression "*piVar4" * identifier) = identifier) ;) (expression_statement "piVar4[1] = iStack_ac;" (assignment_expression "piVar4[1] = iStack_ac" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[2] = iStack_a8;" (assignment_expression "piVar4[2] = iStack_a8" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) }))) (labeled_statement "LAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }" statement_identifier : (if_statement "if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }" if (parenthesized_expression "(piStack_a4 == (int *)*piVar5)" ( (binary_expression "piStack_a4 == (int *)*piVar5" identifier == (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) )) (compound_statement "{\n    return iVar22;\n  }" { (return_statement "return iVar22;" return identifier ;) }))) (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21a9c);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21a9c)" identifier = (pointer_expression "*(code **)(puVar7 + 0x21a9c)" * (cast_expression "(code **)(puVar7 + 0x21a9c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x21a9c)" ( (binary_expression "puVar7 + 0x21a9c" identifier + number_literal) ))))) ;) (expression_statement "piVar4 = piStack_a4;" (assignment_expression "piVar4 = piStack_a4" identifier = identifier) ;) (expression_statement "(*pcVar3)();" (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" ( (pointer_expression "*pcVar3" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar22 = piVar11[1];" (assignment_expression "iVar22 = piVar11[1]" identifier = (subscript_expression "piVar11[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar22 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar10 = piVar13[1];" (assignment_expression "iVar10 = piVar13[1]" identifier = (subscript_expression "piVar13[1]" identifier [ number_literal ])) ;) (if_statement "if (iVar10 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar10 == 0)" ( (binary_expression "iVar10 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (if_statement "if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }" if (parenthesized_expression "(*piVar4 < iVar22 + iVar10 + iVar16)" ( (binary_expression "*piVar4 < iVar22 + iVar10 + iVar16" (pointer_expression "*piVar4" * identifier) < (binary_expression "iVar22 + iVar10 + iVar16" (binary_expression "iVar22 + iVar10" identifier + identifier) + identifier)) )) (compound_statement "{\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }" { (expression_statement "iVar20 = iVar22 + iVar10 + *piVar4;" (assignment_expression "iVar20 = iVar22 + iVar10 + *piVar4" identifier = (binary_expression "iVar22 + iVar10 + *piVar4" (binary_expression "iVar22 + iVar10" identifier + identifier) + (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);" (assignment_expression "iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4)" identifier = (call_expression "(**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4)" (parenthesized_expression "(**(code **)(pcVar3 + 0x21868))" ( (pointer_expression "**(code **)(pcVar3 + 0x21868)" * (pointer_expression "*(code **)(pcVar3 + 0x21868)" * (cast_expression "(code **)(pcVar3 + 0x21868)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x21868)" ( (binary_expression "pcVar3 + 0x21868" identifier + number_literal) ))))) )) (argument_list "(iVar9,iVar20 * 4)" ( identifier , (binary_expression "iVar20 * 4" identifier * number_literal) )))) ;) (if_statement "if (iVar9 == 0) {\n      return 0xc;\n    }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0xc;\n    }" { (return_statement "return 0xc;" return number_literal ;) })) (expression_statement "iVar22 = piVar11[1];" (assignment_expression "iVar22 = piVar11[1]" identifier = (subscript_expression "piVar11[1]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = piVar13[1];" (assignment_expression "iVar10 = piVar13[1]" identifier = (subscript_expression "piVar13[1]" identifier [ number_literal ])) ;) (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;) (expression_statement "piVar4[2] = iVar9;" (assignment_expression "piVar4[2] = iVar9" (subscript_expression "piVar4[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar4 = iVar20;" (assignment_expression "*piVar4 = iVar20" (pointer_expression "*piVar4" * identifier) = identifier) ;) })) (expression_statement "iVar19 = iVar22 + -1;" (assignment_expression "iVar19 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (expression_statement "iVar21 = piVar11[2];" (assignment_expression "iVar21 = piVar11[2]" identifier = (subscript_expression "piVar11[2]" identifier [ number_literal ])) ;) (expression_statement "iVar20 = iVar10 + -1;" (assignment_expression "iVar20 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;) (expression_statement "iVar14 = piVar13[2];" (assignment_expression "iVar14 = piVar13[2]" identifier = (subscript_expression "piVar13[2]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" identifier = (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" * (cast_expression "(int *)(iVar21 + iVar19 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar21 + iVar19 * 4)" ( (binary_expression "iVar21 + iVar19 * 4" identifier + (binary_expression "iVar19 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar17 = iVar16 + -1;" (assignment_expression "iVar17 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) (expression_statement "iVar10 = iVar16 + iVar22 + iVar10;" (assignment_expression "iVar10 = iVar16 + iVar22 + iVar10" identifier = (binary_expression "iVar16 + iVar22 + iVar10" (binary_expression "iVar16 + iVar22" identifier + identifier) + identifier)) ;) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" identifier = (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" * (cast_expression "(int *)(iVar14 + iVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar20 * 4)" ( (binary_expression "iVar14 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) ))))) ;) (do_statement "do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );" do (compound_statement "{\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  }" { (while_statement "while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }" while (parenthesized_expression "(iVar18 != iVar22)" ( (binary_expression "iVar18 != iVar22" identifier != identifier) )) (compound_statement "{\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }" { (if_statement "if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" if (parenthesized_expression "(iVar18 < iVar22)" ( (binary_expression "iVar18 < iVar22" identifier < identifier) )) (compound_statement "{\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }" { (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (if_statement "if (iVar20 < 0) goto LAB_0001cba8;" if (parenthesized_expression "(iVar20 < 0)" ( (binary_expression "iVar20 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001cba8;" goto statement_identifier ;)) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" identifier = (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" * (cast_expression "(int *)(iVar14 + iVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar20 * 4)" ( (binary_expression "iVar14 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) ))))) ;) }) (else_clause "else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" else (compound_statement "{\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" { (expression_statement "iVar19 = iVar19 + -1;" (assignment_expression "iVar19 = iVar19 + -1" identifier = (binary_expression "iVar19 + -1" identifier + number_literal)) ;) (if_statement "if (iVar19 < 0) goto LAB_0001cba8;" if (parenthesized_expression "(iVar19 < 0)" ( (binary_expression "iVar19 < 0" identifier < number_literal) )) (goto_statement "goto LAB_0001cba8;" goto statement_identifier ;)) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" identifier = (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" * (cast_expression "(int *)(iVar21 + iVar19 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar21 + iVar19 * 4)" ( (binary_expression "iVar21 + iVar19 * 4" identifier + (binary_expression "iVar19 * 4" identifier * number_literal)) ))))) ;) }))) })) (if_statement "if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" if (parenthesized_expression "(iVar17 < 0)" ( (binary_expression "iVar17 < 0" identifier < number_literal) )) (compound_statement "{\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }" { (labeled_statement "LAB_0001cb3c:\n      iVar10 = iVar10 + -1;" statement_identifier : (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" identifier = (binary_expression "iVar10 + -1" identifier + number_literal)) ;)) (expression_statement "*(int *)(iVar9 + iVar10 * 4) = iVar18;" (assignment_expression "*(int *)(iVar9 + iVar10 * 4) = iVar18" (pointer_expression "*(int *)(iVar9 + iVar10 * 4)" * (cast_expression "(int *)(iVar9 + iVar10 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar10 * 4)" ( (binary_expression "iVar9 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) )))) = identifier) ;) }) (else_clause "else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" else (compound_statement "{\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" { (expression_statement "piVar12 = (int *)(iVar9 + iVar17 * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + iVar17 * 4)" identifier = (cast_expression "(int *)(iVar9 + iVar17 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar17 * 4)" ( (binary_expression "iVar9 + iVar17 * 4" identifier + (binary_expression "iVar17 * 4" identifier * number_literal)) )))) ;) (expression_statement "iVar22 = *piVar12;" (assignment_expression "iVar22 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) (while_statement "while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }" while (parenthesized_expression "(iVar18 < iVar22)" ( (binary_expression "iVar18 < iVar22" identifier < identifier) )) (compound_statement "{\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }" { (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" identifier = (binary_expression "iVar17 + -1" identifier + number_literal)) ;) (expression_statement "piVar12 = piVar12 + -1;" (assignment_expression "piVar12 = piVar12 + -1" identifier = (binary_expression "piVar12 + -1" identifier + number_literal)) ;) (if_statement "if (iVar17 == -1) goto LAB_0001cb3c;" if (parenthesized_expression "(iVar17 == -1)" ( (binary_expression "iVar17 == -1" identifier == number_literal) )) (goto_statement "goto LAB_0001cb3c;" goto statement_identifier ;)) (expression_statement "iVar22 = *piVar12;" (assignment_expression "iVar22 = *piVar12" identifier = (pointer_expression "*piVar12" * identifier)) ;) })) (if_statement "if (iVar22 != iVar18) goto LAB_0001cb3c;" if (parenthesized_expression "(iVar22 != iVar18)" ( (binary_expression "iVar22 != iVar18" identifier != identifier) )) (goto_statement "goto LAB_0001cb3c;" goto statement_identifier ;)) }))) (expression_statement "iVar19 = iVar19 + -1;" (assignment_expression "iVar19 = iVar19 + -1" identifier = (binary_expression "iVar19 + -1" identifier + number_literal)) ;) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (if_statement "if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }" if (parenthesized_expression "((iVar19 < 0) || (iVar20 < 0))" ( (binary_expression "(iVar19 < 0) || (iVar20 < 0)" (parenthesized_expression "(iVar19 < 0)" ( (binary_expression "iVar19 < 0" identifier < number_literal) )) || (parenthesized_expression "(iVar20 < 0)" ( (binary_expression "iVar20 < 0" identifier < number_literal) ))) )) (compound_statement "{\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }" { (labeled_statement "LAB_0001cba8:\n      iVar16 = piVar4[1];" statement_identifier : (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" identifier = (subscript_expression "piVar4[1]" identifier [ number_literal ])) ;)) (expression_statement "iVar20 = iVar16 + piVar11[1] + piVar13[1];" (assignment_expression "iVar20 = iVar16 + piVar11[1] + piVar13[1]" identifier = (binary_expression "iVar16 + piVar11[1] + piVar13[1]" (binary_expression "iVar16 + piVar11[1]" identifier + (subscript_expression "piVar11[1]" identifier [ number_literal ])) + (subscript_expression "piVar13[1]" identifier [ number_literal ]))) ;) (expression_statement "iVar22 = iVar20 - iVar10;" (assignment_expression "iVar22 = iVar20 - iVar10" identifier = (binary_expression "iVar20 - iVar10" identifier - identifier)) ;) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (expression_statement "piVar4[1] = iVar16 + iVar22;" (assignment_expression "piVar4[1] = iVar16 + iVar22" (subscript_expression "piVar4[1]" identifier [ number_literal ]) = (binary_expression "iVar16 + iVar22" identifier + identifier)) ;) (if_statement "if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }" if (parenthesized_expression "(0 < iVar22)" ( (binary_expression "0 < iVar22" number_literal < identifier) )) (compound_statement "{\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }" { (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) (expression_statement "iVar17 = iVar20 * 4;" (assignment_expression "iVar17 = iVar20 * 4" identifier = (binary_expression "iVar20 * 4" identifier * number_literal)) ;) (if_statement "if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }" if (parenthesized_expression "(-1 < iVar16)" ( (binary_expression "-1 < iVar16" number_literal < identifier) )) (compound_statement "{\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }" { (do_statement "do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);" do (compound_statement "{\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          }" { (expression_statement "iVar18 = *(int *)(iVar9 + iVar17);" (assignment_expression "iVar18 = *(int *)(iVar9 + iVar17)" identifier = (pointer_expression "*(int *)(iVar9 + iVar17)" * (cast_expression "(int *)(iVar9 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar17)" ( (binary_expression "iVar9 + iVar17" identifier + identifier) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar9 + iVar16 * 4);" (assignment_expression "iVar14 = *(int *)(iVar9 + iVar16 * 4)" identifier = (pointer_expression "*(int *)(iVar9 + iVar16 * 4)" * (cast_expression "(int *)(iVar9 + iVar16 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar16 * 4)" ( (binary_expression "iVar9 + iVar16 * 4" identifier + (binary_expression "iVar16 * 4" identifier * number_literal)) ))))) ;) (expression_statement "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4)" identifier = (cast_expression "(int *)(iVar9 + (iVar16 + iVar22) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (iVar16 + iVar22) * 4)" ( (binary_expression "iVar9 + (iVar16 + iVar22) * 4" identifier + (binary_expression "(iVar16 + iVar22) * 4" (parenthesized_expression "(iVar16 + iVar22)" ( (binary_expression "iVar16 + iVar22" identifier + identifier) )) * number_literal)) )))) ;) (if_statement "if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }" if (parenthesized_expression "(iVar14 < iVar18)" ( (binary_expression "iVar14 < iVar18" identifier < identifier) )) (compound_statement "{\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }" { (do_statement "do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);" do (compound_statement "{\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              }" { (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" identifier = (binary_expression "iVar22 + -1" identifier + number_literal)) ;) (expression_statement "*piVar12 = iVar18;" (assignment_expression "*piVar12 = iVar18" (pointer_expression "*piVar12" * identifier) = identifier) ;) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" identifier = (binary_expression "iVar20 + -1" identifier + number_literal)) ;) (if_statement "if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }" if (parenthesized_expression "(iVar22 == 0)" ( (binary_expression "iVar22 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }" { (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0001cc5c;" goto statement_identifier ;) })) (expression_statement "iVar17 = iVar20 * 4;" (assignment_expression "iVar17 = iVar20 * 4" identifier = (binary_expression "iVar20 * 4" identifier * number_literal)) ;) (expression_statement "iVar14 = *(int *)(iVar9 + iVar16 * 4);" (assignment_expression "iVar14 = *(int *)(iVar9 + iVar16 * 4)" identifier = (pointer_expression "*(int *)(iVar9 + iVar16 * 4)" * (cast_expression "(int *)(iVar9 + iVar16 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar16 * 4)" ( (binary_expression "iVar9 + iVar16 * 4" identifier + (binary_expression "iVar16 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar18 = *(int *)(iVar9 + iVar17);" (assignment_expression "iVar18 = *(int *)(iVar9 + iVar17)" identifier = (pointer_expression "*(int *)(iVar9 + iVar17)" * (cast_expression "(int *)(iVar9 + iVar17)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + iVar17)" ( (binary_expression "iVar9 + iVar17" identifier + identifier) ))))) ;) (expression_statement "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4)" identifier = (cast_expression "(int *)(iVar9 + (iVar16 + iVar22) * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + (iVar16 + iVar22) * 4)" ( (binary_expression "iVar9 + (iVar16 + iVar22) * 4" identifier + (binary_expression "(iVar16 + iVar22) * 4" (parenthesized_expression "(iVar16 + iVar22)" ( (binary_expression "iVar16 + iVar22" identifier + identifier) )) * number_literal)) )))) ;) }) while (parenthesized_expression "(iVar14 < iVar18)" ( (binary_expression "iVar14 < iVar18" identifier < identifier) )) ;) })) (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) (expression_statement "*piVar12 = iVar14;" (assignment_expression "*piVar12 = iVar14" (pointer_expression "*piVar12" * identifier) = identifier) ;) }) while (parenthesized_expression "(iVar16 != -1)" ( (binary_expression "iVar16 != -1" identifier != number_literal) )) ;) (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" identifier = (subscript_expression "piVar4[2]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar22 = iVar22 << 2;" (assignment_expression "iVar22 = iVar22 << 2" identifier = (binary_expression "iVar22 << 2" identifier << number_literal)) ;) (labeled_statement "LAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);" statement_identifier : (expression_statement "(**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);" (call_expression "(**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22)" (parenthesized_expression "(**(code **)(pcVar3 + 0x218c8))" ( (pointer_expression "**(code **)(pcVar3 + 0x218c8)" * (pointer_expression "*(code **)(pcVar3 + 0x218c8)" * (cast_expression "(code **)(pcVar3 + 0x218c8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar3 + 0x218c8)" ( (binary_expression "pcVar3 + 0x218c8" identifier + number_literal) ))))) )) (argument_list "(iVar9,iVar9 + iVar10 * 4,iVar22)" ( identifier , (binary_expression "iVar9 + iVar10 * 4" identifier + (binary_expression "iVar10 * 4" identifier * number_literal)) , identifier ))) ;)) (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" identifier = (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" * (cast_expression "(int *)(iVar21 + iVar19 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar21 + iVar19 * 4)" ( (binary_expression "iVar21 + iVar19 * 4" identifier + (binary_expression "iVar19 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" identifier = (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" * (cast_expression "(int *)(iVar14 + iVar20 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar14 + iVar20 * 4)" ( (binary_expression "iVar14 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) ))))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (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 (pointer_declarator * 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (subscript_expression IDENT [ LIT ])) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) && (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * LIT)) + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT) ))) >> LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * IDENT))) ;) })) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT << LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) && (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , IDENT , IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT ))) ;) (goto_statement goto statement_identifier ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT * LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (subscript_expression IDENT [ LIT ])) + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( IDENT , (binary_expression IDENT + (binary_expression IDENT * LIT)) , IDENT ))) ;)) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "int FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)\n\n{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}" (primitive_type "int") (function_declarator "FUN_0001c4e8(int *param_1,int *param_2,int *param_3,int *param_4)" (identifier "FUN_0001c4e8") (parameter_list "(int *param_1,int *param_2,int *param_3,int *param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int *param_4" (primitive_type "int") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) () ")"))) (compound_statement "{\n  bool bVar1;\n  undefined *puVar2;\n  code *pcVar3;\n  int *piVar4;\n  int *piVar5;\n  int *piVar6;\n  undefined *puVar7;\n  int *piVar8;\n  int iVar9;\n  int iVar10;\n  int *piVar11;\n  int *piVar12;\n  int *piVar13;\n  int iVar14;\n  int *piVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  int iVar20;\n  int iVar21;\n  int iVar22;\n  int *piVar23;\n  undefined *unaff_s3;\n  int *unaff_s5;\n  int unaff_s7;\n  int iStack_b0;\n  int iStack_ac;\n  int iStack_a8;\n  int *piStack_a4;\n  int iStack_a0;\n  int *piStack_9c;\n  int *piStack_98;\n  undefined *puStack_94;\n  undefined *puStack_90;\n  int *piStack_8c;\n  int *piStack_88;\n  int iStack_84;\n  int *piStack_80;\n  code *pcStack_7c;\n  uint local_68;\n  int local_44;\n  int local_40;\n  int local_3c;\n  int local_38;\n  int local_34;\n  int local_30;\n  int *local_2c;\n  \n  puVar2 = PTR___stack_chk_guard_0003e2f4;\n  piVar23 = (int *)((int)param_3 * 0xc);\n  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;\n  iVar22 = param_2[5] + (int)piVar23;\n  local_44 = *(int *)(iVar22 + 4) + 1;\n  local_40 = 0;\n  piVar4 = param_2;\n  piVar12 = param_3;\n  piVar15 = param_4;\n  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);\n  if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }\nLAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }\n  pcVar3 = FUN_0001c838;\n  piVar8 = local_2c;\n  puVar7 = PTR___stack_chk_fail_0003e2d4;\n  (*(code *)PTR___stack_chk_fail_0003e2d4)();\n  piVar5 = *(int **)(puVar7 + 0x21abc);\n  puStack_90 = puVar2;\n  iStack_ac = 0;\n  iVar10 = piVar4[1];\n  piStack_a4 = (int *)*piVar5;\n  piVar11 = piVar4;\n  piVar13 = piVar12;\n  iStack_b0 = iVar10;\n  iStack_a0 = iVar22;\n  piStack_9c = piVar23;\n  piStack_98 = param_3;\n  puStack_94 = unaff_s3;\n  piStack_8c = unaff_s5;\n  piStack_88 = param_1;\n  iStack_84 = unaff_s7;\n  piStack_80 = param_2;\n  pcStack_7c = pcVar3;\n  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);\n  if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }\nLAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }\n  pcVar3 = *(code **)(puVar7 + 0x21a9c);\n  piVar4 = piStack_a4;\n  (*pcVar3)();\n  iVar22 = piVar11[1];\n  if (iVar22 == 0) {\n    return 0;\n  }\n  iVar10 = piVar13[1];\n  if (iVar10 == 0) {\n    return 0;\n  }\n  iVar16 = piVar4[1];\n  iVar9 = piVar4[2];\n  if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }\n  iVar19 = iVar22 + -1;\n  iVar21 = piVar11[2];\n  iVar20 = iVar10 + -1;\n  iVar14 = piVar13[2];\n  iVar18 = *(int *)(iVar21 + iVar19 * 4);\n  iVar17 = iVar16 + -1;\n  iVar10 = iVar16 + iVar22 + iVar10;\n  iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "code *pcVar3;" (type_identifier "code") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int *piVar12;" (primitive_type "int") (pointer_declarator "*piVar12" (* "*") (identifier "piVar12")) (; ";")) (declaration "int *piVar13;" (primitive_type "int") (pointer_declarator "*piVar13" (* "*") (identifier "piVar13")) (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int *piVar15;" (primitive_type "int") (pointer_declarator "*piVar15" (* "*") (identifier "piVar15")) (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "int iVar21;" (primitive_type "int") (identifier "iVar21") (; ";")) (declaration "int iVar22;" (primitive_type "int") (identifier "iVar22") (; ";")) (declaration "int *piVar23;" (primitive_type "int") (pointer_declarator "*piVar23" (* "*") (identifier "piVar23")) (; ";")) (declaration "undefined *unaff_s3;" (type_identifier "undefined") (pointer_declarator "*unaff_s3" (* "*") (identifier "unaff_s3")) (; ";")) (declaration "int *unaff_s5;" (primitive_type "int") (pointer_declarator "*unaff_s5" (* "*") (identifier "unaff_s5")) (; ";")) (declaration "int unaff_s7;" (primitive_type "int") (identifier "unaff_s7") (; ";")) (declaration "int iStack_b0;" (primitive_type "int") (identifier "iStack_b0") (; ";")) (declaration "int iStack_ac;" (primitive_type "int") (identifier "iStack_ac") (; ";")) (declaration "int iStack_a8;" (primitive_type "int") (identifier "iStack_a8") (; ";")) (declaration "int *piStack_a4;" (primitive_type "int") (pointer_declarator "*piStack_a4" (* "*") (identifier "piStack_a4")) (; ";")) (declaration "int iStack_a0;" (primitive_type "int") (identifier "iStack_a0") (; ";")) (declaration "int *piStack_9c;" (primitive_type "int") (pointer_declarator "*piStack_9c" (* "*") (identifier "piStack_9c")) (; ";")) (declaration "int *piStack_98;" (primitive_type "int") (pointer_declarator "*piStack_98" (* "*") (identifier "piStack_98")) (; ";")) (declaration "undefined *puStack_94;" (type_identifier "undefined") (pointer_declarator "*puStack_94" (* "*") (identifier "puStack_94")) (; ";")) (declaration "undefined *puStack_90;" (type_identifier "undefined") (pointer_declarator "*puStack_90" (* "*") (identifier "puStack_90")) (; ";")) (declaration "int *piStack_8c;" (primitive_type "int") (pointer_declarator "*piStack_8c" (* "*") (identifier "piStack_8c")) (; ";")) (declaration "int *piStack_88;" (primitive_type "int") (pointer_declarator "*piStack_88" (* "*") (identifier "piStack_88")) (; ";")) (declaration "int iStack_84;" (primitive_type "int") (identifier "iStack_84") (; ";")) (declaration "int *piStack_80;" (primitive_type "int") (pointer_declarator "*piStack_80" (* "*") (identifier "piStack_80")) (; ";")) (declaration "code *pcStack_7c;" (type_identifier "code") (pointer_declarator "*pcStack_7c" (* "*") (identifier "pcStack_7c")) (; ";")) (declaration "uint local_68;" (type_identifier "uint") (identifier "local_68") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "int local_40;" (primitive_type "int") (identifier "local_40") (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (expression_statement "puVar2 = PTR___stack_chk_guard_0003e2f4;" (assignment_expression "puVar2 = PTR___stack_chk_guard_0003e2f4" (identifier "puVar2") (= "=") (identifier "PTR___stack_chk_guard_0003e2f4")) (; ";")) (expression_statement "piVar23 = (int *)((int)param_3 * 0xc);" (assignment_expression "piVar23 = (int *)((int)param_3 * 0xc)" (identifier "piVar23") (= "=") (cast_expression "(int *)((int)param_3 * 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 * 0xc)" (( "(") (binary_expression "(int)param_3 * 0xc" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (* "*") (number_literal "0xc")) () ")")))) (; ";")) (expression_statement "local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;" (assignment_expression "local_2c = *(int **)PTR___stack_chk_guard_0003e2f4" (identifier "local_2c") (= "=") (pointer_expression "*(int **)PTR___stack_chk_guard_0003e2f4" (* "*") (cast_expression "(int **)PTR___stack_chk_guard_0003e2f4" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR___stack_chk_guard_0003e2f4")))) (; ";")) (expression_statement "iVar22 = param_2[5] + (int)piVar23;" (assignment_expression "iVar22 = param_2[5] + (int)piVar23" (identifier "iVar22") (= "=") (binary_expression "param_2[5] + (int)piVar23" (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")) (+ "+") (cast_expression "(int)piVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar23")))) (; ";")) (expression_statement "local_44 = *(int *)(iVar22 + 4) + 1;" (assignment_expression "local_44 = *(int *)(iVar22 + 4) + 1" (identifier "local_44") (= "=") (binary_expression "*(int *)(iVar22 + 4) + 1" (pointer_expression "*(int *)(iVar22 + 4)" (* "*") (cast_expression "(int *)(iVar22 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 4)" (( "(") (binary_expression "iVar22 + 4" (identifier "iVar22") (+ "+") (number_literal "4")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_40 = 0;" (assignment_expression "local_40 = 0" (identifier "local_40") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "piVar12 = param_3;" (assignment_expression "piVar12 = param_3" (identifier "piVar12") (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar15 = param_4;" (assignment_expression "piVar15 = param_4" (identifier "piVar15") (= "=") (identifier "param_4")) (; ";")) (expression_statement "local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);" (assignment_expression "local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4)" (identifier "local_3c") (= "=") (call_expression "(*(code *)PTR_malloc_0003e294)(local_44 * 4)" (parenthesized_expression "(*(code *)PTR_malloc_0003e294)" (( "(") (pointer_expression "*(code *)PTR_malloc_0003e294" (* "*") (cast_expression "(code *)PTR_malloc_0003e294" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_malloc_0003e294"))) () ")")) (argument_list "(local_44 * 4)" (( "(") (binary_expression "local_44 * 4" (identifier "local_44") (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (local_3c == 0) {\nLAB_0001c824:\n    iVar10 = 0xc;\n  }\n  else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" (if "if") (parenthesized_expression "(local_3c == 0)" (( "(") (binary_expression "local_3c == 0" (identifier "local_3c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001c824:\n    iVar10 = 0xc;\n  }" ({ "{") (labeled_statement "LAB_0001c824:\n    iVar10 = 0xc;" (statement_identifier "LAB_0001c824") (: ":") (expression_statement "iVar10 = 0xc;" (assignment_expression "iVar10 = 0xc" (identifier "iVar10") (= "=") (number_literal "0xc")) (; ";"))) (} "}")) (else_clause "else {\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" (else "else") (compound_statement "{\n    iVar10 = *param_2;\n    unaff_s3 = (undefined *)((int)param_3 * 8);\n    piVar15 = (int *)0xffffffff;\n    puVar7 = unaff_s3 + iVar10;\n    piVar12 = *(int **)(puVar7 + 4);\n    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;\n    if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }\n    piVar23[1] = local_40;\n    piVar23[2] = local_3c;\n    iVar10 = 0;\n    *piVar23 = local_44;\n    *param_1 = local_44;\n    param_1[1] = local_40;\n    param_1[2] = local_3c;\n  }" ({ "{") (expression_statement "iVar10 = *param_2;" (assignment_expression "iVar10 = *param_2" (identifier "iVar10") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "unaff_s3 = (undefined *)((int)param_3 * 8);" (assignment_expression "unaff_s3 = (undefined *)((int)param_3 * 8)" (identifier "unaff_s3") (= "=") (cast_expression "(undefined *)((int)param_3 * 8)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 * 8)" (( "(") (binary_expression "(int)param_3 * 8" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (* "*") (number_literal "8")) () ")")))) (; ";")) (expression_statement "piVar15 = (int *)0xffffffff;" (assignment_expression "piVar15 = (int *)0xffffffff" (identifier "piVar15") (= "=") (cast_expression "(int *)0xffffffff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffff"))) (; ";")) (expression_statement "puVar7 = unaff_s3 + iVar10;" (assignment_expression "puVar7 = unaff_s3 + iVar10" (identifier "puVar7") (= "=") (binary_expression "unaff_s3 + iVar10" (identifier "unaff_s3") (+ "+") (identifier "iVar10"))) (; ";")) (expression_statement "piVar12 = *(int **)(puVar7 + 4);" (assignment_expression "piVar12 = *(int **)(puVar7 + 4)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(puVar7 + 4)" (* "*") (cast_expression "(int **)(puVar7 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 4)" (( "(") (binary_expression "puVar7 + 4" (identifier "puVar7") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)piVar23 + param_2[6] + 4)" (* "*") (cast_expression "(undefined4 *)((int)piVar23 + param_2[6] + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar23 + param_2[6] + 4)" (( "(") (binary_expression "(int)piVar23 + param_2[6] + 4" (binary_expression "(int)piVar23 + param_2[6]" (cast_expression "(int)piVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar23")) (+ "+") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if (((uint)piVar12 & 0xffc000) == 0) {\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }\n    else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" (if "if") (parenthesized_expression "(((uint)piVar12 & 0xffc000) == 0)" (( "(") (binary_expression "((uint)piVar12 & 0xffc000) == 0" (parenthesized_expression "((uint)piVar12 & 0xffc000)" (( "(") (binary_expression "(uint)piVar12 & 0xffc000" (cast_expression "(uint)piVar12" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar12")) (& "&") (number_literal "0xffc000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;\n      piVar15 = (int *)param_2[5];\n      piVar4 = piVar15 + (int)param_3 * 3;\n      if (piVar4[1] < 1) goto LAB_0001c7cc;\n      unaff_s7 = 0;\n      unaff_s5 = &local_44;\n      bVar1 = false;\n      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);\n      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;\n      do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n      if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }\n    }" ({ "{") (labeled_statement "LAB_0001c5b0:\n      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;" (statement_identifier "LAB_0001c5b0") (: ":") (if_statement "if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;" (if "if") (parenthesized_expression "((puVar7[4] & 8) == 0)" (( "(") (binary_expression "(puVar7[4] & 8) == 0" (parenthesized_expression "(puVar7[4] & 8)" (( "(") (binary_expression "puVar7[4] & 8" (subscript_expression "puVar7[4]" (identifier "puVar7") ([ "[") (number_literal "4") (] "]")) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c7cc;" (goto "goto") (statement_identifier "LAB_0001c7cc") (; ";")))) (expression_statement "piVar15 = (int *)param_2[5];" (assignment_expression "piVar15 = (int *)param_2[5]" (identifier "piVar15") (= "=") (cast_expression "(int *)param_2[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "piVar4 = piVar15 + (int)param_3 * 3;" (assignment_expression "piVar4 = piVar15 + (int)param_3 * 3" (identifier "piVar4") (= "=") (binary_expression "piVar15 + (int)param_3 * 3" (identifier "piVar15") (+ "+") (binary_expression "(int)param_3 * 3" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (* "*") (number_literal "3")))) (; ";")) (if_statement "if (piVar4[1] < 1) goto LAB_0001c7cc;" (if "if") (parenthesized_expression "(piVar4[1] < 1)" (( "(") (binary_expression "piVar4[1] < 1" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_0001c7cc;" (goto "goto") (statement_identifier "LAB_0001c7cc") (; ";"))) (expression_statement "unaff_s7 = 0;" (assignment_expression "unaff_s7 = 0" (identifier "unaff_s7") (= "=") (number_literal "0")) (; ";")) (expression_statement "unaff_s5 = &local_44;" (assignment_expression "unaff_s5 = &local_44" (identifier "unaff_s5") (= "=") (pointer_expression "&local_44" (& "&") (identifier "local_44"))) (; ";")) (expression_statement "bVar1 = false;" (assignment_expression "bVar1 = false" (identifier "bVar1") (= "=") (false "false")) (; ";")) (expression_statement "pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);" (assignment_expression "pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18)" (identifier "pcVar3") (= "=") (cast_expression "(code *)(PTR_LAB_0003e1b4 + -0x3b18)" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_0003e1b4 + -0x3b18)" (( "(") (binary_expression "PTR_LAB_0003e1b4 + -0x3b18" (identifier "PTR_LAB_0003e1b4") (+ "+") (number_literal "-0x3b18")) () ")")))) (; ";")) (expression_statement "unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;" (assignment_expression "unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64" (identifier "unaff_s3") (= "=") (binary_expression "PTR_LAB_0003e1b4 + -0x3d64" (identifier "PTR_LAB_0003e1b4") (+ "+") (number_literal "-0x3d64"))) (; ";")) (do_statement "do {\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      } while (unaff_s7 < piVar4[1]);" (do "do") (compound_statement "{\n        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);\n        iVar22 = (int)piVar12 * 0xc;\n        piVar4 = (int *)(param_2[6] + iVar22);\n        iVar10 = piVar4[1];\n        if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }\n        piVar4 = piVar15 + (int)param_3 * 3;\n        unaff_s7 = unaff_s7 + 1;\n      }" ({ "{") (expression_statement "piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);" (assignment_expression "piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4)" (identifier "piVar12") (= "=") (pointer_expression "*(int **)(piVar4[2] + unaff_s7 * 4)" (* "*") (cast_expression "(int **)(piVar4[2] + unaff_s7 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar4[2] + unaff_s7 * 4)" (( "(") (binary_expression "piVar4[2] + unaff_s7 * 4" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "unaff_s7 * 4" (identifier "unaff_s7") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar22 = (int)piVar12 * 0xc;" (assignment_expression "iVar22 = (int)piVar12 * 0xc" (identifier "iVar22") (= "=") (binary_expression "(int)piVar12 * 0xc" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (* "*") (number_literal "0xc"))) (; ";")) (expression_statement "piVar4 = (int *)(param_2[6] + iVar22);" (assignment_expression "piVar4 = (int *)(param_2[6] + iVar22)" (identifier "piVar4") (= "=") (cast_expression "(int *)(param_2[6] + iVar22)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[6] + iVar22)" (( "(") (binary_expression "param_2[6] + iVar22" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (+ "+") (identifier "iVar22")) () ")")))) (; ";")) (expression_statement "iVar10 = piVar4[1];" (assignment_expression "iVar10 = piVar4[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar10 == -1) {\n          bVar1 = true;\n        }\n        else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" (if "if") (parenthesized_expression "(iVar10 == -1)" (( "(") (binary_expression "iVar10 == -1" (identifier "iVar10") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          bVar1 = true;\n        }" ({ "{") (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}")) (else_clause "else {\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" (else "else") (compound_statement "{\n          piVar11 = &local_38;\n          if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }\n          iVar10 = FUN_0001c29c(unaff_s5);\n          piVar4 = piVar11;\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          iVar22 = param_2[6] + iVar22;\n          if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }\n          piVar15 = (int *)param_2[5];\n        }" ({ "{") (expression_statement "piVar11 = &local_38;" (assignment_expression "piVar11 = &local_38" (identifier "piVar11") (= "=") (pointer_expression "&local_38" (& "&") (identifier "local_38"))) (; ";")) (if_statement "if (iVar10 == 0) {\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }\n          else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            piVar15 = (int *)0x0;\n            piVar4 = param_2;\n            iVar10 = (*pcVar3)(piVar11);\n            if (iVar10 != 0) goto LAB_0001c6e0;\n          }" ({ "{") (expression_statement "piVar15 = (int *)0x0;" (assignment_expression "piVar15 = (int *)0x0" (identifier "piVar15") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "piVar4 = param_2;" (assignment_expression "piVar4 = param_2" (identifier "piVar4") (= "=") (identifier "param_2")) (; ";")) (expression_statement "iVar10 = (*pcVar3)(piVar11);" (assignment_expression "iVar10 = (*pcVar3)(piVar11)" (identifier "iVar10") (= "=") (call_expression "(*pcVar3)(piVar11)" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(piVar11)" (( "(") (identifier "piVar11") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c6e0;" (goto "goto") (statement_identifier "LAB_0001c6e0") (; ";"))) (} "}")) (else_clause "else {\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" (else "else") (compound_statement "{\n            local_38 = *piVar4;\n            local_30 = piVar4[2];\n            local_34 = iVar10;\n          }" ({ "{") (expression_statement "local_38 = *piVar4;" (assignment_expression "local_38 = *piVar4" (identifier "local_38") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (expression_statement "local_30 = piVar4[2];" (assignment_expression "local_30 = piVar4[2]" (identifier "local_30") (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_34 = iVar10;" (assignment_expression "local_34 = iVar10" (identifier "local_34") (= "=") (identifier "iVar10")) (; ";")) (} "}")))) (expression_statement "iVar10 = FUN_0001c29c(unaff_s5);" (assignment_expression "iVar10 = FUN_0001c29c(unaff_s5)" (identifier "iVar10") (= "=") (call_expression "FUN_0001c29c(unaff_s5)" (identifier "FUN_0001c29c") (argument_list "(unaff_s5)" (( "(") (identifier "unaff_s5") () ")")))) (; ";")) (expression_statement "piVar4 = piVar11;" (assignment_expression "piVar4 = piVar11" (identifier "piVar4") (= "=") (identifier "piVar11")) (; ";")) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c6e0;" (goto "goto") (statement_identifier "LAB_0001c6e0") (; ";"))) (expression_statement "iVar22 = param_2[6] + iVar22;" (assignment_expression "iVar22 = param_2[6] + iVar22" (identifier "iVar22") (= "=") (binary_expression "param_2[6] + iVar22" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (+ "+") (identifier "iVar22"))) (; ";")) (if_statement "if (*(int *)(iVar22 + 4) == 0) {\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar22 + 4) == 0)" (( "(") (binary_expression "*(int *)(iVar22 + 4) == 0" (pointer_expression "*(int *)(iVar22 + 4)" (* "*") (cast_expression "(int *)(iVar22 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 4)" (( "(") (binary_expression "iVar22 + 4" (identifier "iVar22") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            (*(code *)PTR_free_0003e300)(local_30);\n            bVar1 = true;\n          }" ({ "{") (expression_statement "(*(code *)PTR_free_0003e300)(local_30);" (call_expression "(*(code *)PTR_free_0003e300)(local_30)" (parenthesized_expression "(*(code *)PTR_free_0003e300)" (( "(") (pointer_expression "*(code *)PTR_free_0003e300" (* "*") (cast_expression "(code *)PTR_free_0003e300" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_free_0003e300"))) () ")")) (argument_list "(local_30)" (( "(") (identifier "local_30") () ")"))) (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (} "}"))) (expression_statement "piVar15 = (int *)param_2[5];" (assignment_expression "piVar15 = (int *)param_2[5]" (identifier "piVar15") (= "=") (cast_expression "(int *)param_2[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]")))) (; ";")) (} "}")))) (expression_statement "piVar4 = piVar15 + (int)param_3 * 3;" (assignment_expression "piVar4 = piVar15 + (int)param_3 * 3" (identifier "piVar4") (= "=") (binary_expression "piVar15 + (int)param_3 * 3" (identifier "piVar15") (+ "+") (binary_expression "(int)param_3 * 3" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (* "*") (number_literal "3")))) (; ";")) (expression_statement "unaff_s7 = unaff_s7 + 1;" (assignment_expression "unaff_s7 = unaff_s7 + 1" (identifier "unaff_s7") (= "=") (binary_expression "unaff_s7 + 1" (identifier "unaff_s7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_s7 < piVar4[1])" (( "(") (binary_expression "unaff_s7 < piVar4[1]" (identifier "unaff_s7") (< "<") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) () ")")) (; ";")) (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" (identifier "piVar4") (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar10 = FUN_00019d18(&local_44);" (assignment_expression "iVar10 = FUN_00019d18(&local_44)" (identifier "iVar10") (= "=") (call_expression "FUN_00019d18(&local_44)" (identifier "FUN_00019d18") (argument_list "(&local_44)" (( "(") (pointer_expression "&local_44" (& "&") (identifier "local_44")) () ")")))) (; ";")) (if_statement "if (iVar10 == 0) goto LAB_0001c824;" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c824;" (goto "goto") (statement_identifier "LAB_0001c824") (; ";"))) (expression_statement "piVar23 = (int *)(param_2[6] + (int)piVar23);" (assignment_expression "piVar23 = (int *)(param_2[6] + (int)piVar23)" (identifier "piVar23") (= "=") (cast_expression "(int *)(param_2[6] + (int)piVar23)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[6] + (int)piVar23)" (( "(") (binary_expression "param_2[6] + (int)piVar23" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (+ "+") (cast_expression "(int)piVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar23"))) () ")")))) (; ";")) (if_statement "if ((bVar1) && (param_4 == (int *)0x0)) {\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }" (if "if") (parenthesized_expression "((bVar1) && (param_4 == (int *)0x0))" (( "(") (binary_expression "(bVar1) && (param_4 == (int *)0x0)" (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (&& "&&") (parenthesized_expression "(param_4 == (int *)0x0)" (( "(") (binary_expression "param_4 == (int *)0x0" (identifier "param_4") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n        piVar23[1] = 0;\n        iVar10 = 0;\n        *param_1 = local_44;\n        param_1[1] = local_40;\n        param_1[2] = local_3c;\n        goto LAB_0001c6e0;\n      }" ({ "{") (expression_statement "piVar23[1] = 0;" (assignment_expression "piVar23[1] = 0" (subscript_expression "piVar23[1]" (identifier "piVar23") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = local_44;" (assignment_expression "*param_1 = local_44" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_44")) (; ";")) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_40")) (; ";")) (expression_statement "param_1[2] = local_3c;" (assignment_expression "param_1[2] = local_3c" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_3c")) (; ";")) (goto_statement "goto LAB_0001c6e0;" (goto "goto") (statement_identifier "LAB_0001c6e0") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" (else "else") (compound_statement "{\n      if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }\nLAB_0001c7cc:\n      piVar4 = param_3;\n      iVar10 = FUN_00019d18(&local_44);\n      if (iVar10 == 0) goto LAB_0001c824;\n      piVar23 = (int *)(param_2[6] + (int)piVar23);\n    }" ({ "{") (if_statement "if (*(int *)(iVar22 + 4) != 0) {\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }" (if "if") (parenthesized_expression "(*(int *)(iVar22 + 4) != 0)" (( "(") (binary_expression "*(int *)(iVar22 + 4) != 0" (pointer_expression "*(int *)(iVar22 + 4)" (* "*") (cast_expression "(int *)(iVar22 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 4)" (( "(") (binary_expression "iVar22 + 4" (identifier "iVar22") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }\n        goto LAB_0001c5b0;\n      }" ({ "{") (if_statement "if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }" (if "if") (parenthesized_expression "((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0)" (( "(") (binary_expression "(*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0" (parenthesized_expression "(*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000)" (( "(") (binary_expression "*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000" (pointer_expression "*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" (* "*") (cast_expression "(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar10 + **(int **)(iVar22 + 8) * 8 + 4)" (( "(") (binary_expression "iVar10 + **(int **)(iVar22 + 8) * 8 + 4" (binary_expression "iVar10 + **(int **)(iVar22 + 8) * 8" (identifier "iVar10") (+ "+") (binary_expression "**(int **)(iVar22 + 8) * 8" (pointer_expression "**(int **)(iVar22 + 8)" (* "*") (pointer_expression "*(int **)(iVar22 + 8)" (* "*") (cast_expression "(int **)(iVar22 + 8)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar22 + 8)" (( "(") (binary_expression "iVar22 + 8" (identifier "iVar22") (+ "+") (number_literal "8")) () ")"))))) (* "*") (number_literal "8"))) (+ "+") (number_literal "4")) () ")")))) (& "&") (number_literal "0x2000")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_68 = (uint)((int)piVar12 << 8) >> 0x16;\n          piVar4 = param_3;\n          piVar12 = param_3;\n          piVar15 = param_3;\n          iVar10 = FUN_0001b200(param_2);\n          if (iVar10 != 0) goto LAB_0001c6e0;\n          puVar7 = unaff_s3 + *param_2;\n        }" ({ "{") (expression_statement "local_68 = (uint)((int)piVar12 << 8) >> 0x16;" (assignment_expression "local_68 = (uint)((int)piVar12 << 8) >> 0x16" (identifier "local_68") (= "=") (binary_expression "(uint)((int)piVar12 << 8) >> 0x16" (call_expression "(uint)((int)piVar12 << 8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)piVar12 << 8)" (( "(") (binary_expression "(int)piVar12 << 8" (cast_expression "(int)piVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar12")) (<< "<<") (number_literal "8")) () ")"))) (>> ">>") (number_literal "0x16"))) (; ";")) (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" (identifier "piVar4") (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar12 = param_3;" (assignment_expression "piVar12 = param_3" (identifier "piVar12") (= "=") (identifier "param_3")) (; ";")) (expression_statement "piVar15 = param_3;" (assignment_expression "piVar15 = param_3" (identifier "piVar15") (= "=") (identifier "param_3")) (; ";")) (expression_statement "iVar10 = FUN_0001b200(param_2);" (assignment_expression "iVar10 = FUN_0001b200(param_2)" (identifier "iVar10") (= "=") (call_expression "FUN_0001b200(param_2)" (identifier "FUN_0001b200") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar10 != 0) goto LAB_0001c6e0;" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c6e0;" (goto "goto") (statement_identifier "LAB_0001c6e0") (; ";"))) (expression_statement "puVar7 = unaff_s3 + *param_2;" (assignment_expression "puVar7 = unaff_s3 + *param_2" (identifier "puVar7") (= "=") (binary_expression "unaff_s3 + *param_2" (identifier "unaff_s3") (+ "+") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (} "}"))) (goto_statement "goto LAB_0001c5b0;" (goto "goto") (statement_identifier "LAB_0001c5b0") (; ";")) (} "}"))) (labeled_statement "LAB_0001c7cc:\n      piVar4 = param_3;" (statement_identifier "LAB_0001c7cc") (: ":") (expression_statement "piVar4 = param_3;" (assignment_expression "piVar4 = param_3" (identifier "piVar4") (= "=") (identifier "param_3")) (; ";"))) (expression_statement "iVar10 = FUN_00019d18(&local_44);" (assignment_expression "iVar10 = FUN_00019d18(&local_44)" (identifier "iVar10") (= "=") (call_expression "FUN_00019d18(&local_44)" (identifier "FUN_00019d18") (argument_list "(&local_44)" (( "(") (pointer_expression "&local_44" (& "&") (identifier "local_44")) () ")")))) (; ";")) (if_statement "if (iVar10 == 0) goto LAB_0001c824;" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001c824;" (goto "goto") (statement_identifier "LAB_0001c824") (; ";"))) (expression_statement "piVar23 = (int *)(param_2[6] + (int)piVar23);" (assignment_expression "piVar23 = (int *)(param_2[6] + (int)piVar23)" (identifier "piVar23") (= "=") (cast_expression "(int *)(param_2[6] + (int)piVar23)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[6] + (int)piVar23)" (( "(") (binary_expression "param_2[6] + (int)piVar23" (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]")) (+ "+") (cast_expression "(int)piVar23" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar23"))) () ")")))) (; ";")) (} "}")))) (expression_statement "piVar23[1] = local_40;" (assignment_expression "piVar23[1] = local_40" (subscript_expression "piVar23[1]" (identifier "piVar23") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_40")) (; ";")) (expression_statement "piVar23[2] = local_3c;" (assignment_expression "piVar23[2] = local_3c" (subscript_expression "piVar23[2]" (identifier "piVar23") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar23 = local_44;" (assignment_expression "*piVar23 = local_44" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (= "=") (identifier "local_44")) (; ";")) (expression_statement "*param_1 = local_44;" (assignment_expression "*param_1 = local_44" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "local_44")) (; ";")) (expression_statement "param_1[1] = local_40;" (assignment_expression "param_1[1] = local_40" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_40")) (; ";")) (expression_statement "param_1[2] = local_3c;" (assignment_expression "param_1[2] = local_3c" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "local_3c")) (; ";")) (} "}")))) (labeled_statement "LAB_0001c6e0:\n  if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }" (statement_identifier "LAB_0001c6e0") (: ":") (if_statement "if (local_2c == *(int **)puVar2) {\n    return iVar10;\n  }" (if "if") (parenthesized_expression "(local_2c == *(int **)puVar2)" (( "(") (binary_expression "local_2c == *(int **)puVar2" (identifier "local_2c") (== "==") (pointer_expression "*(int **)puVar2" (* "*") (cast_expression "(int **)puVar2" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "puVar2")))) () ")")) (compound_statement "{\n    return iVar10;\n  }" ({ "{") (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}")))) (expression_statement "pcVar3 = FUN_0001c838;" (assignment_expression "pcVar3 = FUN_0001c838" (identifier "pcVar3") (= "=") (identifier "FUN_0001c838")) (; ";")) (expression_statement "piVar8 = local_2c;" (assignment_expression "piVar8 = local_2c" (identifier "piVar8") (= "=") (identifier "local_2c")) (; ";")) (expression_statement "puVar7 = PTR___stack_chk_fail_0003e2d4;" (assignment_expression "puVar7 = PTR___stack_chk_fail_0003e2d4" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_fail_0003e2d4")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_0003e2d4)();" (call_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_0003e2d4)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_0003e2d4" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_0003e2d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_0003e2d4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar5 = *(int **)(puVar7 + 0x21abc);" (assignment_expression "piVar5 = *(int **)(puVar7 + 0x21abc)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(puVar7 + 0x21abc)" (* "*") (cast_expression "(int **)(puVar7 + 0x21abc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x21abc)" (( "(") (binary_expression "puVar7 + 0x21abc" (identifier "puVar7") (+ "+") (number_literal "0x21abc")) () ")"))))) (; ";")) (expression_statement "puStack_90 = puVar2;" (assignment_expression "puStack_90 = puVar2" (identifier "puStack_90") (= "=") (identifier "puVar2")) (; ";")) (expression_statement "iStack_ac = 0;" (assignment_expression "iStack_ac = 0" (identifier "iStack_ac") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar10 = piVar4[1];" (assignment_expression "iVar10 = piVar4[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piStack_a4 = (int *)*piVar5;" (assignment_expression "piStack_a4 = (int *)*piVar5" (identifier "piStack_a4") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (expression_statement "piVar11 = piVar4;" (assignment_expression "piVar11 = piVar4" (identifier "piVar11") (= "=") (identifier "piVar4")) (; ";")) (expression_statement "piVar13 = piVar12;" (assignment_expression "piVar13 = piVar12" (identifier "piVar13") (= "=") (identifier "piVar12")) (; ";")) (expression_statement "iStack_b0 = iVar10;" (assignment_expression "iStack_b0 = iVar10" (identifier "iStack_b0") (= "=") (identifier "iVar10")) (; ";")) (expression_statement "iStack_a0 = iVar22;" (assignment_expression "iStack_a0 = iVar22" (identifier "iStack_a0") (= "=") (identifier "iVar22")) (; ";")) (expression_statement "piStack_9c = piVar23;" (assignment_expression "piStack_9c = piVar23" (identifier "piStack_9c") (= "=") (identifier "piVar23")) (; ";")) (expression_statement "piStack_98 = param_3;" (assignment_expression "piStack_98 = param_3" (identifier "piStack_98") (= "=") (identifier "param_3")) (; ";")) (expression_statement "puStack_94 = unaff_s3;" (assignment_expression "puStack_94 = unaff_s3" (identifier "puStack_94") (= "=") (identifier "unaff_s3")) (; ";")) (expression_statement "piStack_8c = unaff_s5;" (assignment_expression "piStack_8c = unaff_s5" (identifier "piStack_8c") (= "=") (identifier "unaff_s5")) (; ";")) (expression_statement "piStack_88 = param_1;" (assignment_expression "piStack_88 = param_1" (identifier "piStack_88") (= "=") (identifier "param_1")) (; ";")) (expression_statement "iStack_84 = unaff_s7;" (assignment_expression "iStack_84 = unaff_s7" (identifier "iStack_84") (= "=") (identifier "unaff_s7")) (; ";")) (expression_statement "piStack_80 = param_2;" (assignment_expression "piStack_80 = param_2" (identifier "piStack_80") (= "=") (identifier "param_2")) (; ";")) (expression_statement "pcStack_7c = pcVar3;" (assignment_expression "pcStack_7c = pcVar3" (identifier "pcStack_7c") (= "=") (identifier "pcVar3")) (; ";")) (expression_statement "iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);" (assignment_expression "iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2)" (identifier "iStack_a8") (= "=") (call_expression "(**(code **)(puVar7 + 0x21a5c))(iVar10 << 2)" (parenthesized_expression "(**(code **)(puVar7 + 0x21a5c))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x21a5c)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x21a5c)" (* "*") (cast_expression "(code **)(puVar7 + 0x21a5c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x21a5c)" (( "(") (binary_expression "puVar7 + 0x21a5c" (identifier "puVar7") (+ "+") (number_literal "0x21a5c")) () ")"))))) () ")")) (argument_list "(iVar10 << 2)" (( "(") (binary_expression "iVar10 << 2" (identifier "iVar10") (<< "<<") (number_literal "2")) () ")")))) (; ";")) (if_statement "if (iStack_a8 == 0) {\n    iVar22 = 0xc;\n  }\n  else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" (if "if") (parenthesized_expression "(iStack_a8 == 0)" (( "(") (binary_expression "iStack_a8 == 0" (identifier "iStack_a8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar22 = 0xc;\n  }" ({ "{") (expression_statement "iVar22 = 0xc;" (assignment_expression "iVar22 = 0xc" (identifier "iVar22") (= "=") (number_literal "0xc")) (; ";")) (} "}")) (else_clause "else {\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" (else "else") (compound_statement "{\n    pcVar3 = *(code **)(puVar7 + 0x21ac8);\n    if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }\n    (*pcVar3)(piVar4[2]);\n    iVar22 = 0;\n    *piVar4 = iStack_b0;\n    piVar4[1] = iStack_ac;\n    piVar4[2] = iStack_a8;\n  }" ({ "{") (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21ac8);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21ac8)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar7 + 0x21ac8)" (* "*") (cast_expression "(code **)(puVar7 + 0x21ac8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x21ac8)" (( "(") (binary_expression "puVar7 + 0x21ac8" (identifier "puVar7") (+ "+") (number_literal "0x21ac8")) () ")"))))) (; ";")) (if_statement "if (0 < iVar10) {\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }" (if "if") (parenthesized_expression "(0 < iVar10)" (( "(") (binary_expression "0 < iVar10" (number_literal "0") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n      iVar10 = 0;\n      do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);\n    }" ({ "{") (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" (identifier "iVar10") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      } while (iVar10 < piVar4[1]);" (do "do") (compound_statement "{\n        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);\n        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);\n        iVar22 = 0;\n        if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }\n        iVar22 = FUN_0001c29c(&iStack_b0);\njoined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }\n        iVar10 = iVar10 + 1;\n        pcVar3 = *(code **)(puVar7 + 0x21ac8);\n      }" ({ "{") (expression_statement "piVar13 = *(int **)(piVar4[2] + iVar10 * 4);" (assignment_expression "piVar13 = *(int **)(piVar4[2] + iVar10 * 4)" (identifier "piVar13") (= "=") (pointer_expression "*(int **)(piVar4[2] + iVar10 * 4)" (* "*") (cast_expression "(int **)(piVar4[2] + iVar10 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(piVar4[2] + iVar10 * 4)" (( "(") (binary_expression "piVar4[2] + iVar10 * 4" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);" (assignment_expression "piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc)" (identifier "piVar11") (= "=") (cast_expression "(int *)(piVar8[6] + (int)piVar13 * 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8[6] + (int)piVar13 * 0xc)" (( "(") (binary_expression "piVar8[6] + (int)piVar13 * 0xc" (subscript_expression "piVar8[6]" (identifier "piVar8") ([ "[") (number_literal "6") (] "]")) (+ "+") (binary_expression "(int)piVar13 * 0xc" (cast_expression "(int)piVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar13")) (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" (identifier "iVar22") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < piVar11[1]) {\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }" (if "if") (parenthesized_expression "(0 < piVar11[1])" (( "(") (binary_expression "0 < piVar11[1]" (number_literal "0") (< "<") (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n          piVar23 = (int *)piVar11[2];\n          do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);\n        }" ({ "{") (expression_statement "piVar23 = (int *)piVar11[2];" (assignment_expression "piVar23 = (int *)piVar11[2]" (identifier "piVar23") (= "=") (cast_expression "(int *)piVar11[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (do_statement "do {\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          } while (piVar11[1] != iVar22);" (do "do") (compound_statement "{\n            piVar6 = (int *)(*piVar8 + *piVar23 * 8);\n            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }\n            iVar22 = iVar22 + 1;\n            piVar23 = piVar23 + 1;\n          }" ({ "{") (expression_statement "piVar6 = (int *)(*piVar8 + *piVar23 * 8);" (assignment_expression "piVar6 = (int *)(*piVar8 + *piVar23 * 8)" (identifier "piVar6") (= "=") (cast_expression "(int *)(*piVar8 + *piVar23 * 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*piVar8 + *piVar23 * 8)" (( "(") (binary_expression "*piVar8 + *piVar23 * 8" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (+ "+") (binary_expression "*piVar23 * 8" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" (if "if") (parenthesized_expression "((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6))" (( "(") (binary_expression "(piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)" (parenthesized_expression "(piVar15 == (int *)(uint)*(byte *)(piVar6 + 1))" (( "(") (binary_expression "piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)" (identifier "piVar15") (== "==") (binary_expression "(int *)(uint)*(byte *)(piVar6 + 1)" (cast_expression "(int *)(uint)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(byte *)(piVar6 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar6 + 1)" (( "(") (binary_expression "piVar6 + 1" (identifier "piVar6") (+ "+") (number_literal "1")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(piVar12 == (int *)*piVar6)" (( "(") (binary_expression "piVar12 == (int *)*piVar6" (identifier "piVar12") (== "==") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) () ")"))) () ")")) (compound_statement "{\n              if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }\n              break;\n            }" ({ "{") (if_statement "if (*piVar23 != -1) {\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }" (if "if") (parenthesized_expression "(*piVar23 != -1)" (( "(") (binary_expression "*piVar23 != -1" (pointer_expression "*piVar23" (* "*") (identifier "piVar23")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n                piVar11 = &iStack_b0;\n                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);\n                goto joined_r0x0001c968;\n              }" ({ "{") (expression_statement "piVar11 = &iStack_b0;" (assignment_expression "piVar11 = &iStack_b0" (identifier "piVar11") (= "=") (pointer_expression "&iStack_b0" (& "&") (identifier "iStack_b0"))) (; ";")) (expression_statement "iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);" (assignment_expression "iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" (identifier "iVar22") (= "=") (call_expression "FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" (identifier "FUN_0001bbcc") (argument_list "(piVar8,&iStack_b0,piVar13,piVar12,piVar15)" (( "(") (identifier "piVar8") (, ",") (pointer_expression "&iStack_b0" (& "&") (identifier "iStack_b0")) (, ",") (identifier "piVar13") (, ",") (identifier "piVar12") (, ",") (identifier "piVar15") () ")")))) (; ";")) (goto_statement "goto joined_r0x0001c968;" (goto "goto") (statement_identifier "joined_r0x0001c968") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar22 = iVar22 + 1;" (assignment_expression "iVar22 = iVar22 + 1" (identifier "iVar22") (= "=") (binary_expression "iVar22 + 1" (identifier "iVar22") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar23 = piVar23 + 1;" (assignment_expression "piVar23 = piVar23 + 1" (identifier "piVar23") (= "=") (binary_expression "piVar23 + 1" (identifier "piVar23") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar11[1] != iVar22)" (( "(") (binary_expression "piVar11[1] != iVar22" (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]")) (!= "!=") (identifier "iVar22")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar22 = FUN_0001c29c(&iStack_b0);" (assignment_expression "iVar22 = FUN_0001c29c(&iStack_b0)" (identifier "iVar22") (= "=") (call_expression "FUN_0001c29c(&iStack_b0)" (identifier "FUN_0001c29c") (argument_list "(&iStack_b0)" (( "(") (pointer_expression "&iStack_b0" (& "&") (identifier "iStack_b0")) () ")")))) (; ";")) (labeled_statement "joined_r0x0001c968:\n        if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" (statement_identifier "joined_r0x0001c968") (: ":") (if_statement "if (iVar22 != 0) {\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" (if "if") (parenthesized_expression "(iVar22 != 0)" (( "(") (binary_expression "iVar22 != 0" (identifier "iVar22") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);\n          goto LAB_0001c9dc;\n        }" ({ "{") (expression_statement "(**(code **)(puVar7 + 0x21ac8))(iStack_a8);" (call_expression "(**(code **)(puVar7 + 0x21ac8))(iStack_a8)" (parenthesized_expression "(**(code **)(puVar7 + 0x21ac8))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x21ac8)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x21ac8)" (* "*") (cast_expression "(code **)(puVar7 + 0x21ac8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x21ac8)" (( "(") (binary_expression "puVar7 + 0x21ac8" (identifier "puVar7") (+ "+") (number_literal "0x21ac8")) () ")"))))) () ")")) (argument_list "(iStack_a8)" (( "(") (identifier "iStack_a8") () ")"))) (; ";")) (goto_statement "goto LAB_0001c9dc;" (goto "goto") (statement_identifier "LAB_0001c9dc") (; ";")) (} "}")))) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21ac8);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21ac8)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar7 + 0x21ac8)" (* "*") (cast_expression "(code **)(puVar7 + 0x21ac8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x21ac8)" (( "(") (binary_expression "puVar7 + 0x21ac8" (identifier "puVar7") (+ "+") (number_literal "0x21ac8")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 < piVar4[1])" (( "(") (binary_expression "iVar10 < piVar4[1]" (identifier "iVar10") (< "<") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "(*pcVar3)(piVar4[2]);" (call_expression "(*pcVar3)(piVar4[2])" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "(piVar4[2])" (( "(") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" (identifier "iVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "*piVar4 = iStack_b0;" (assignment_expression "*piVar4 = iStack_b0" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iStack_b0")) (; ";")) (expression_statement "piVar4[1] = iStack_ac;" (assignment_expression "piVar4[1] = iStack_ac" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iStack_ac")) (; ";")) (expression_statement "piVar4[2] = iStack_a8;" (assignment_expression "piVar4[2] = iStack_a8" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iStack_a8")) (; ";")) (} "}")))) (labeled_statement "LAB_0001c9dc:\n  if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }" (statement_identifier "LAB_0001c9dc") (: ":") (if_statement "if (piStack_a4 == (int *)*piVar5) {\n    return iVar22;\n  }" (if "if") (parenthesized_expression "(piStack_a4 == (int *)*piVar5)" (( "(") (binary_expression "piStack_a4 == (int *)*piVar5" (identifier "piStack_a4") (== "==") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) () ")")) (compound_statement "{\n    return iVar22;\n  }" ({ "{") (return_statement "return iVar22;" (return "return") (identifier "iVar22") (; ";")) (} "}")))) (expression_statement "pcVar3 = *(code **)(puVar7 + 0x21a9c);" (assignment_expression "pcVar3 = *(code **)(puVar7 + 0x21a9c)" (identifier "pcVar3") (= "=") (pointer_expression "*(code **)(puVar7 + 0x21a9c)" (* "*") (cast_expression "(code **)(puVar7 + 0x21a9c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x21a9c)" (( "(") (binary_expression "puVar7 + 0x21a9c" (identifier "puVar7") (+ "+") (number_literal "0x21a9c")) () ")"))))) (; ";")) (expression_statement "piVar4 = piStack_a4;" (assignment_expression "piVar4 = piStack_a4" (identifier "piVar4") (= "=") (identifier "piStack_a4")) (; ";")) (expression_statement "(*pcVar3)();" (call_expression "(*pcVar3)()" (parenthesized_expression "(*pcVar3)" (( "(") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar22 = piVar11[1];" (assignment_expression "iVar22 = piVar11[1]" (identifier "iVar22") (= "=") (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar22 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar22 == 0)" (( "(") (binary_expression "iVar22 == 0" (identifier "iVar22") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar10 = piVar13[1];" (assignment_expression "iVar10 = piVar13[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar13[1]" (identifier "piVar13") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (iVar10 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar10 == 0)" (( "(") (binary_expression "iVar10 == 0" (identifier "iVar10") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" (identifier "iVar16") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (if_statement "if (*piVar4 < iVar22 + iVar10 + iVar16) {\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }" (if "if") (parenthesized_expression "(*piVar4 < iVar22 + iVar10 + iVar16)" (( "(") (binary_expression "*piVar4 < iVar22 + iVar10 + iVar16" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (< "<") (binary_expression "iVar22 + iVar10 + iVar16" (binary_expression "iVar22 + iVar10" (identifier "iVar22") (+ "+") (identifier "iVar10")) (+ "+") (identifier "iVar16"))) () ")")) (compound_statement "{\n    iVar20 = iVar22 + iVar10 + *piVar4;\n    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);\n    if (iVar9 == 0) {\n      return 0xc;\n    }\n    iVar22 = piVar11[1];\n    iVar10 = piVar13[1];\n    iVar16 = piVar4[1];\n    piVar4[2] = iVar9;\n    *piVar4 = iVar20;\n  }" ({ "{") (expression_statement "iVar20 = iVar22 + iVar10 + *piVar4;" (assignment_expression "iVar20 = iVar22 + iVar10 + *piVar4" (identifier "iVar20") (= "=") (binary_expression "iVar22 + iVar10 + *piVar4" (binary_expression "iVar22 + iVar10" (identifier "iVar22") (+ "+") (identifier "iVar10")) (+ "+") (pointer_expression "*piVar4" (* "*") (identifier "piVar4")))) (; ";")) (expression_statement "iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);" (assignment_expression "iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4)" (identifier "iVar9") (= "=") (call_expression "(**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4)" (parenthesized_expression "(**(code **)(pcVar3 + 0x21868))" (( "(") (pointer_expression "**(code **)(pcVar3 + 0x21868)" (* "*") (pointer_expression "*(code **)(pcVar3 + 0x21868)" (* "*") (cast_expression "(code **)(pcVar3 + 0x21868)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar3 + 0x21868)" (( "(") (binary_expression "pcVar3 + 0x21868" (identifier "pcVar3") (+ "+") (number_literal "0x21868")) () ")"))))) () ")")) (argument_list "(iVar9,iVar20 * 4)" (( "(") (identifier "iVar9") (, ",") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4")) () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n      return 0xc;\n    }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0xc;\n    }" ({ "{") (return_statement "return 0xc;" (return "return") (number_literal "0xc") (; ";")) (} "}"))) (expression_statement "iVar22 = piVar11[1];" (assignment_expression "iVar22 = piVar11[1]" (identifier "iVar22") (= "=") (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar10 = piVar13[1];" (assignment_expression "iVar10 = piVar13[1]" (identifier "iVar10") (= "=") (subscript_expression "piVar13[1]" (identifier "piVar13") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" (identifier "iVar16") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar4[2] = iVar9;" (assignment_expression "piVar4[2] = iVar9" (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar9")) (; ";")) (expression_statement "*piVar4 = iVar20;" (assignment_expression "*piVar4 = iVar20" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (identifier "iVar20")) (; ";")) (} "}"))) (expression_statement "iVar19 = iVar22 + -1;" (assignment_expression "iVar19 = iVar22 + -1" (identifier "iVar19") (= "=") (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar21 = piVar11[2];" (assignment_expression "iVar21 = piVar11[2]" (identifier "iVar21") (= "=") (subscript_expression "piVar11[2]" (identifier "piVar11") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar20 = iVar10 + -1;" (assignment_expression "iVar20 = iVar10 + -1" (identifier "iVar20") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar14 = piVar13[2];" (assignment_expression "iVar14 = piVar13[2]" (identifier "iVar14") (= "=") (subscript_expression "piVar13[2]" (identifier "piVar13") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" (* "*") (cast_expression "(int *)(iVar21 + iVar19 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar21 + iVar19 * 4)" (( "(") (binary_expression "iVar21 + iVar19 * 4" (identifier "iVar21") (+ "+") (binary_expression "iVar19 * 4" (identifier "iVar19") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar17 = iVar16 + -1;" (assignment_expression "iVar17 = iVar16 + -1" (identifier "iVar17") (= "=") (binary_expression "iVar16 + -1" (identifier "iVar16") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = iVar16 + iVar22 + iVar10;" (assignment_expression "iVar10 = iVar16 + iVar22 + iVar10" (identifier "iVar10") (= "=") (binary_expression "iVar16 + iVar22 + iVar10" (binary_expression "iVar16 + iVar22" (identifier "iVar16") (+ "+") (identifier "iVar22")) (+ "+") (identifier "iVar10"))) (; ";")) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" (* "*") (cast_expression "(int *)(iVar14 + iVar20 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + iVar20 * 4)" (( "(") (binary_expression "iVar14 + iVar20 * 4" (identifier "iVar14") (+ "+") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (do_statement "do {\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  } while( true );" (do "do") (compound_statement "{\n    while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }\n    if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }\n    iVar19 = iVar19 + -1;\n    iVar20 = iVar20 + -1;\n    if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }\n    iVar18 = *(int *)(iVar21 + iVar19 * 4);\n    iVar22 = *(int *)(iVar14 + iVar20 * 4);\n  }" ({ "{") (while_statement "while (iVar18 != iVar22) {\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }" (while "while") (parenthesized_expression "(iVar18 != iVar22)" (( "(") (binary_expression "iVar18 != iVar22" (identifier "iVar18") (!= "!=") (identifier "iVar22")) () ")")) (compound_statement "{\n      if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }\n    }" ({ "{") (if_statement "if (iVar18 < iVar22) {\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }\n      else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" (if "if") (parenthesized_expression "(iVar18 < iVar22)" (( "(") (binary_expression "iVar18 < iVar22" (identifier "iVar18") (< "<") (identifier "iVar22")) () ")")) (compound_statement "{\n        iVar20 = iVar20 + -1;\n        if (iVar20 < 0) goto LAB_0001cba8;\n        iVar22 = *(int *)(iVar14 + iVar20 * 4);\n      }" ({ "{") (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" (identifier "iVar20") (= "=") (binary_expression "iVar20 + -1" (identifier "iVar20") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar20 < 0) goto LAB_0001cba8;" (if "if") (parenthesized_expression "(iVar20 < 0)" (( "(") (binary_expression "iVar20 < 0" (identifier "iVar20") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001cba8;" (goto "goto") (statement_identifier "LAB_0001cba8") (; ";"))) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" (* "*") (cast_expression "(int *)(iVar14 + iVar20 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + iVar20 * 4)" (( "(") (binary_expression "iVar14 + iVar20 * 4" (identifier "iVar14") (+ "+") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" (else "else") (compound_statement "{\n        iVar19 = iVar19 + -1;\n        if (iVar19 < 0) goto LAB_0001cba8;\n        iVar18 = *(int *)(iVar21 + iVar19 * 4);\n      }" ({ "{") (expression_statement "iVar19 = iVar19 + -1;" (assignment_expression "iVar19 = iVar19 + -1" (identifier "iVar19") (= "=") (binary_expression "iVar19 + -1" (identifier "iVar19") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar19 < 0) goto LAB_0001cba8;" (if "if") (parenthesized_expression "(iVar19 < 0)" (( "(") (binary_expression "iVar19 < 0" (identifier "iVar19") (< "<") (number_literal "0")) () ")")) (goto_statement "goto LAB_0001cba8;" (goto "goto") (statement_identifier "LAB_0001cba8") (; ";"))) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" (* "*") (cast_expression "(int *)(iVar21 + iVar19 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar21 + iVar19 * 4)" (( "(") (binary_expression "iVar21 + iVar19 * 4" (identifier "iVar21") (+ "+") (binary_expression "iVar19 * 4" (identifier "iVar19") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")))) (} "}"))) (if_statement "if (iVar17 < 0) {\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }\n    else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" (if "if") (parenthesized_expression "(iVar17 < 0)" (( "(") (binary_expression "iVar17 < 0" (identifier "iVar17") (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0001cb3c:\n      iVar10 = iVar10 + -1;\n      *(int *)(iVar9 + iVar10 * 4) = iVar18;\n    }" ({ "{") (labeled_statement "LAB_0001cb3c:\n      iVar10 = iVar10 + -1;" (statement_identifier "LAB_0001cb3c") (: ":") (expression_statement "iVar10 = iVar10 + -1;" (assignment_expression "iVar10 = iVar10 + -1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + -1" (identifier "iVar10") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "*(int *)(iVar9 + iVar10 * 4) = iVar18;" (assignment_expression "*(int *)(iVar9 + iVar10 * 4) = iVar18" (pointer_expression "*(int *)(iVar9 + iVar10 * 4)" (* "*") (cast_expression "(int *)(iVar9 + iVar10 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar10 * 4)" (( "(") (binary_expression "iVar9 + iVar10 * 4" (identifier "iVar9") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "iVar18")) (; ";")) (} "}")) (else_clause "else {\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" (else "else") (compound_statement "{\n      piVar12 = (int *)(iVar9 + iVar17 * 4);\n      iVar22 = *piVar12;\n      while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }\n      if (iVar22 != iVar18) goto LAB_0001cb3c;\n    }" ({ "{") (expression_statement "piVar12 = (int *)(iVar9 + iVar17 * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + iVar17 * 4)" (identifier "piVar12") (= "=") (cast_expression "(int *)(iVar9 + iVar17 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar17 * 4)" (( "(") (binary_expression "iVar9 + iVar17 * 4" (identifier "iVar9") (+ "+") (binary_expression "iVar17 * 4" (identifier "iVar17") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "iVar22 = *piVar12;" (assignment_expression "iVar22 = *piVar12" (identifier "iVar22") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (while_statement "while (iVar18 < iVar22) {\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }" (while "while") (parenthesized_expression "(iVar18 < iVar22)" (( "(") (binary_expression "iVar18 < iVar22" (identifier "iVar18") (< "<") (identifier "iVar22")) () ")")) (compound_statement "{\n        iVar17 = iVar17 + -1;\n        piVar12 = piVar12 + -1;\n        if (iVar17 == -1) goto LAB_0001cb3c;\n        iVar22 = *piVar12;\n      }" ({ "{") (expression_statement "iVar17 = iVar17 + -1;" (assignment_expression "iVar17 = iVar17 + -1" (identifier "iVar17") (= "=") (binary_expression "iVar17 + -1" (identifier "iVar17") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar12 = piVar12 + -1;" (assignment_expression "piVar12 = piVar12 + -1" (identifier "piVar12") (= "=") (binary_expression "piVar12 + -1" (identifier "piVar12") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar17 == -1) goto LAB_0001cb3c;" (if "if") (parenthesized_expression "(iVar17 == -1)" (( "(") (binary_expression "iVar17 == -1" (identifier "iVar17") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_0001cb3c;" (goto "goto") (statement_identifier "LAB_0001cb3c") (; ";"))) (expression_statement "iVar22 = *piVar12;" (assignment_expression "iVar22 = *piVar12" (identifier "iVar22") (= "=") (pointer_expression "*piVar12" (* "*") (identifier "piVar12"))) (; ";")) (} "}"))) (if_statement "if (iVar22 != iVar18) goto LAB_0001cb3c;" (if "if") (parenthesized_expression "(iVar22 != iVar18)" (( "(") (binary_expression "iVar22 != iVar18" (identifier "iVar22") (!= "!=") (identifier "iVar18")) () ")")) (goto_statement "goto LAB_0001cb3c;" (goto "goto") (statement_identifier "LAB_0001cb3c") (; ";"))) (} "}")))) (expression_statement "iVar19 = iVar19 + -1;" (assignment_expression "iVar19 = iVar19 + -1" (identifier "iVar19") (= "=") (binary_expression "iVar19 + -1" (identifier "iVar19") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" (identifier "iVar20") (= "=") (binary_expression "iVar20 + -1" (identifier "iVar20") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((iVar19 < 0) || (iVar20 < 0)) {\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }" (if "if") (parenthesized_expression "((iVar19 < 0) || (iVar20 < 0))" (( "(") (binary_expression "(iVar19 < 0) || (iVar20 < 0)" (parenthesized_expression "(iVar19 < 0)" (( "(") (binary_expression "iVar19 < 0" (identifier "iVar19") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar20 < 0)" (( "(") (binary_expression "iVar20 < 0" (identifier "iVar20") (< "<") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_0001cba8:\n      iVar16 = piVar4[1];\n      iVar20 = iVar16 + piVar11[1] + piVar13[1];\n      iVar22 = iVar20 - iVar10;\n      iVar20 = iVar20 + -1;\n      piVar4[1] = iVar16 + iVar22;\n      if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }\n      iVar22 = iVar22 << 2;\nLAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);\n      return 0;\n    }" ({ "{") (labeled_statement "LAB_0001cba8:\n      iVar16 = piVar4[1];" (statement_identifier "LAB_0001cba8") (: ":") (expression_statement "iVar16 = piVar4[1];" (assignment_expression "iVar16 = piVar4[1]" (identifier "iVar16") (= "=") (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]"))) (; ";"))) (expression_statement "iVar20 = iVar16 + piVar11[1] + piVar13[1];" (assignment_expression "iVar20 = iVar16 + piVar11[1] + piVar13[1]" (identifier "iVar20") (= "=") (binary_expression "iVar16 + piVar11[1] + piVar13[1]" (binary_expression "iVar16 + piVar11[1]" (identifier "iVar16") (+ "+") (subscript_expression "piVar11[1]" (identifier "piVar11") ([ "[") (number_literal "1") (] "]"))) (+ "+") (subscript_expression "piVar13[1]" (identifier "piVar13") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "iVar22 = iVar20 - iVar10;" (assignment_expression "iVar22 = iVar20 - iVar10" (identifier "iVar22") (= "=") (binary_expression "iVar20 - iVar10" (identifier "iVar20") (- "-") (identifier "iVar10"))) (; ";")) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" (identifier "iVar20") (= "=") (binary_expression "iVar20 + -1" (identifier "iVar20") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "piVar4[1] = iVar16 + iVar22;" (assignment_expression "piVar4[1] = iVar16 + iVar22" (subscript_expression "piVar4[1]" (identifier "piVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "iVar16 + iVar22" (identifier "iVar16") (+ "+") (identifier "iVar22"))) (; ";")) (if_statement "if (0 < iVar22) {\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }" (if "if") (parenthesized_expression "(0 < iVar22)" (( "(") (binary_expression "0 < iVar22" (number_literal "0") (< "<") (identifier "iVar22")) () ")")) (compound_statement "{\n        iVar16 = iVar16 + -1;\n        iVar17 = iVar20 * 4;\n        if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }\n      }" ({ "{") (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + -1" (identifier "iVar16") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar17 = iVar20 * 4;" (assignment_expression "iVar17 = iVar20 * 4" (identifier "iVar17") (= "=") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4"))) (; ";")) (if_statement "if (-1 < iVar16) {\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }" (if "if") (parenthesized_expression "(-1 < iVar16)" (( "(") (binary_expression "-1 < iVar16" (number_literal "-1") (< "<") (identifier "iVar16")) () ")")) (compound_statement "{\n          do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);\n          iVar9 = piVar4[2];\n        }" ({ "{") (do_statement "do {\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          } while (iVar16 != -1);" (do "do") (compound_statement "{\n            iVar18 = *(int *)(iVar9 + iVar17);\n            iVar14 = *(int *)(iVar9 + iVar16 * 4);\n            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n            if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }\n            iVar16 = iVar16 + -1;\n            *piVar12 = iVar14;\n          }" ({ "{") (expression_statement "iVar18 = *(int *)(iVar9 + iVar17);" (assignment_expression "iVar18 = *(int *)(iVar9 + iVar17)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar9 + iVar17)" (* "*") (cast_expression "(int *)(iVar9 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar17)" (( "(") (binary_expression "iVar9 + iVar17" (identifier "iVar9") (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "iVar14 = *(int *)(iVar9 + iVar16 * 4);" (assignment_expression "iVar14 = *(int *)(iVar9 + iVar16 * 4)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(iVar9 + iVar16 * 4)" (* "*") (cast_expression "(int *)(iVar9 + iVar16 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar16 * 4)" (( "(") (binary_expression "iVar9 + iVar16 * 4" (identifier "iVar9") (+ "+") (binary_expression "iVar16 * 4" (identifier "iVar16") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4)" (identifier "piVar12") (= "=") (cast_expression "(int *)(iVar9 + (iVar16 + iVar22) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + (iVar16 + iVar22) * 4)" (( "(") (binary_expression "iVar9 + (iVar16 + iVar22) * 4" (identifier "iVar9") (+ "+") (binary_expression "(iVar16 + iVar22) * 4" (parenthesized_expression "(iVar16 + iVar22)" (( "(") (binary_expression "iVar16 + iVar22" (identifier "iVar16") (+ "+") (identifier "iVar22")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (if_statement "if (iVar14 < iVar18) {\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }" (if "if") (parenthesized_expression "(iVar14 < iVar18)" (( "(") (binary_expression "iVar14 < iVar18" (identifier "iVar14") (< "<") (identifier "iVar18")) () ")")) (compound_statement "{\n              do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);\n            }" ({ "{") (do_statement "do {\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              } while (iVar14 < iVar18);" (do "do") (compound_statement "{\n                iVar22 = iVar22 + -1;\n                *piVar12 = iVar18;\n                iVar20 = iVar20 + -1;\n                if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }\n                iVar17 = iVar20 * 4;\n                iVar14 = *(int *)(iVar9 + iVar16 * 4);\n                iVar18 = *(int *)(iVar9 + iVar17);\n                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);\n              }" ({ "{") (expression_statement "iVar22 = iVar22 + -1;" (assignment_expression "iVar22 = iVar22 + -1" (identifier "iVar22") (= "=") (binary_expression "iVar22 + -1" (identifier "iVar22") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar12 = iVar18;" (assignment_expression "*piVar12 = iVar18" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (identifier "iVar18")) (; ";")) (expression_statement "iVar20 = iVar20 + -1;" (assignment_expression "iVar20 = iVar20 + -1" (identifier "iVar20") (= "=") (binary_expression "iVar20 + -1" (identifier "iVar20") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar22 == 0) {\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }" (if "if") (parenthesized_expression "(iVar22 == 0)" (( "(") (binary_expression "iVar22 == 0" (identifier "iVar22") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  iVar9 = piVar4[2];\n                  iVar22 = 0;\n                  goto LAB_0001cc5c;\n                }" ({ "{") (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" (identifier "iVar22") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0001cc5c;" (goto "goto") (statement_identifier "LAB_0001cc5c") (; ";")) (} "}"))) (expression_statement "iVar17 = iVar20 * 4;" (assignment_expression "iVar17 = iVar20 * 4" (identifier "iVar17") (= "=") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar14 = *(int *)(iVar9 + iVar16 * 4);" (assignment_expression "iVar14 = *(int *)(iVar9 + iVar16 * 4)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(iVar9 + iVar16 * 4)" (* "*") (cast_expression "(int *)(iVar9 + iVar16 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar16 * 4)" (( "(") (binary_expression "iVar9 + iVar16 * 4" (identifier "iVar9") (+ "+") (binary_expression "iVar16 * 4" (identifier "iVar16") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar18 = *(int *)(iVar9 + iVar17);" (assignment_expression "iVar18 = *(int *)(iVar9 + iVar17)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar9 + iVar17)" (* "*") (cast_expression "(int *)(iVar9 + iVar17)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + iVar17)" (( "(") (binary_expression "iVar9 + iVar17" (identifier "iVar9") (+ "+") (identifier "iVar17")) () ")"))))) (; ";")) (expression_statement "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);" (assignment_expression "piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4)" (identifier "piVar12") (= "=") (cast_expression "(int *)(iVar9 + (iVar16 + iVar22) * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + (iVar16 + iVar22) * 4)" (( "(") (binary_expression "iVar9 + (iVar16 + iVar22) * 4" (identifier "iVar9") (+ "+") (binary_expression "(iVar16 + iVar22) * 4" (parenthesized_expression "(iVar16 + iVar22)" (( "(") (binary_expression "iVar16 + iVar22" (identifier "iVar16") (+ "+") (identifier "iVar22")) () ")")) (* "*") (number_literal "4"))) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar14 < iVar18)" (( "(") (binary_expression "iVar14 < iVar18" (identifier "iVar14") (< "<") (identifier "iVar18")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + -1" (identifier "iVar16") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*piVar12 = iVar14;" (assignment_expression "*piVar12 = iVar14" (pointer_expression "*piVar12" (* "*") (identifier "piVar12")) (= "=") (identifier "iVar14")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar16 != -1)" (( "(") (binary_expression "iVar16 != -1" (identifier "iVar16") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (expression_statement "iVar9 = piVar4[2];" (assignment_expression "iVar9 = piVar4[2]" (identifier "iVar9") (= "=") (subscript_expression "piVar4[2]" (identifier "piVar4") ([ "[") (number_literal "2") (] "]"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar22 = iVar22 << 2;" (assignment_expression "iVar22 = iVar22 << 2" (identifier "iVar22") (= "=") (binary_expression "iVar22 << 2" (identifier "iVar22") (<< "<<") (number_literal "2"))) (; ";")) (labeled_statement "LAB_0001cc5c:\n      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);" (statement_identifier "LAB_0001cc5c") (: ":") (expression_statement "(**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);" (call_expression "(**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22)" (parenthesized_expression "(**(code **)(pcVar3 + 0x218c8))" (( "(") (pointer_expression "**(code **)(pcVar3 + 0x218c8)" (* "*") (pointer_expression "*(code **)(pcVar3 + 0x218c8)" (* "*") (cast_expression "(code **)(pcVar3 + 0x218c8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(pcVar3 + 0x218c8)" (( "(") (binary_expression "pcVar3 + 0x218c8" (identifier "pcVar3") (+ "+") (number_literal "0x218c8")) () ")"))))) () ")")) (argument_list "(iVar9,iVar9 + iVar10 * 4,iVar22)" (( "(") (identifier "iVar9") (, ",") (binary_expression "iVar9 + iVar10 * 4" (identifier "iVar9") (+ "+") (binary_expression "iVar10 * 4" (identifier "iVar10") (* "*") (number_literal "4"))) (, ",") (identifier "iVar22") () ")"))) (; ";"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar18 = *(int *)(iVar21 + iVar19 * 4);" (assignment_expression "iVar18 = *(int *)(iVar21 + iVar19 * 4)" (identifier "iVar18") (= "=") (pointer_expression "*(int *)(iVar21 + iVar19 * 4)" (* "*") (cast_expression "(int *)(iVar21 + iVar19 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar21 + iVar19 * 4)" (( "(") (binary_expression "iVar21 + iVar19 * 4" (identifier "iVar21") (+ "+") (binary_expression "iVar19 * 4" (identifier "iVar19") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar22 = *(int *)(iVar14 + iVar20 * 4);" (assignment_expression "iVar22 = *(int *)(iVar14 + iVar20 * 4)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(iVar14 + iVar20 * 4)" (* "*") (cast_expression "(int *)(iVar14 + iVar20 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar14 + iVar20 * 4)" (( "(") (binary_expression "iVar14 + iVar20 * 4" (identifier "iVar14") (+ "+") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

type_1 function_1(type_2 *new_set,type_3 *dfa,type_4 var_1,type_5 root)

{
  type_6 var_12;
  bool bVar2;
  type_7 *puVar3;
  type_8 extraout_var;
  type_8 extraout_var_00;
  type_3 *var_13;
  type_9 *var_22;
  type_1 var_7;
  type_5 _Var8;
  int *piVar6;
  int var_29;
  int *var_18;
  type_10 var_20;
  type_7 *var_3;
  type_2 *prVar12;
  int var_6;
  size_t var_17;
  type_3 *prVar15;
  type_11 *prVar16;
  type_3 *prVar17;
  type_12 var_15;
  type_12 pbVar19;
  type_10 var_26;
  type_8 in_register_0000001c;
  type_2 *var_4;
  int var_21;
  int var_28;
  int var_30;
  int var_27;
  int var_25;
  int var_23;
  size_t var_24;
  type_2 *prVar28;
  type_2 *prVar29;
  type_2 *unaff_s3;
  type_13 *unaff_s5;
  type_13 *unaff_s7;
  type_11 *prStack_b0;
  size_t sStack_ac;
  size_t var_14;
  int *var_19;
  type_2 *prStack_a0;
  type_2 *prStack_9c;
  type_2 *prStack_98;
  type_2 *prStack_94;
  type_14 *prStack_90;
  type_13 *prStack_8c;
  type_13 *prStack_88;
  type_13 *prStack_84;
  type_3 *prStack_80;
  type_15 *pbStack_7c;
  type_2 eclosure;
  type_2 eclosure_elem;
  
  puVar3 = PTR___stack_chk_guard_0003e2f4;
  prVar29 = (type_2 *)(var_1 * 0xc);
  var_13 = *(type_3 **)PTR___stack_chk_guard_0003e2f4;
  prVar28 = dfa->edests + var_1;
  eclosure.alloc = prVar28->nelem + 1;
  eclosure.nelem = 0;
  prVar15 = dfa;
  pbVar19 = (type_12)var_1;
  var_4 = (type_2 *)var_2(in_register_0000001c,root);
  eclosure.elems = (type_4 *)(*(type_9 *)PTR_malloc_0003e294)(eclosure.alloc * 4);
  if (eclosure.elems == (type_4 *)0x0) {
LAB_0001c824:
    var_7 = _REG_ESPACE;
    var_15 = pbVar19;
  }
  else {
    prVar16 = dfa->nodes;
    unaff_s3 = (type_2 *)(var_1 * 8);
    var_4 = (type_2 *)0xffffffff;
    var_3 = (type_7 *)((int)&unaff_s3->alloc + (int)prVar16);
    var_15 = *(type_12 *)(var_3 + 4);
    dfa->eclosures[var_1].nelem = -1;
    if (((type_6)var_15 & 0xffc000) == 0) {
LAB_0001c5b0:
      pbVar19 = var_15;
      if ((var_3[4] & 8) == 0) goto LAB_0001c7cc;
      var_4 = dfa->edests;
      prVar12 = var_4 + var_1;
      if (prVar12->nelem < 1) goto LAB_0001c7cc;
      unaff_s7 = (type_13 *)0x0;
      unaff_s5 = (type_13 *)&eclosure;
      bVar2 = false;
      var_22 = (type_9 *)(var_5 + -0x3b18);
      unaff_s3 = (type_2 *)(var_5 + -0x3d64);
      do {
        pbVar19 = (type_12)prVar12->elems[(int)unaff_s7];
        prVar28 = (type_2 *)((int)pbVar19 * 0xc);
        prVar12 = dfa->eclosures + (int)pbVar19;
        var_6 = prVar12->nelem;
        if (var_6 == -1) {
          bVar2 = true;
        }
        else {
          prVar17 = (type_3 *)&eclosure_elem;
          var_15 = pbVar19;
          if (var_6 == 0) {
            var_4 = (type_2 *)0x0;
            prVar15 = dfa;
            var_7 = (*var_22)(prVar17);
            if (var_7 != var_8) goto LAB_0001c6e0;
          }
          else {
            eclosure_elem.alloc = prVar12->alloc;
            eclosure_elem.elems = prVar12->elems;
            eclosure_elem.nelem = var_6;
          }
          var_7 = var_9((type_2 *)unaff_s5,(type_2 *)prVar17);
          prVar15 = prVar17;
          if (var_7 != var_8) goto LAB_0001c6e0;
          prVar28 = dfa->eclosures + (int)pbVar19;
          if (prVar28->nelem == 0) {
            (*(type_9 *)PTR_free_0003e300)(eclosure_elem.elems);
            bVar2 = true;
          }
          var_4 = dfa->edests;
          pbVar19 = var_15;
        }
        prVar12 = var_4 + var_1;
        unaff_s7 = (type_13 *)((int)&unaff_s7->hash + 1);
      } while ((int)unaff_s7 < prVar12->nelem);
      prVar15 = (type_3 *)var_1;
      _Var8 = var_10(&eclosure,var_1);
      if (var_2(extraout_var,_Var8) == 0) goto LAB_0001c824;
      prVar29 = dfa->eclosures + var_1;
      if ((bVar2) && ((type_2 *)var_2(in_register_0000001c,root) == (type_2 *)0x0)) {
        prVar29->nelem = 0;
        var_7 = var_8;
        new_set->alloc = eclosure.alloc;
        new_set->nelem = eclosure.nelem;
        new_set->elems = eclosure.elems;
        var_15 = pbVar19;
        goto LAB_0001c6e0;
      }
    }
    else {
      pbVar19 = var_15;
      if (prVar28->nelem != 0) {
        if ((*(type_6 *)&prVar16[*prVar28->elems].field_0x4 & 0x2000) == 0) {
          var_12 = (int)var_15 << 8;
          prVar15 = (type_3 *)var_1;
          var_15 = (type_12)var_1;
          var_4 = (type_2 *)var_1;
          var_7 = var_11(dfa,var_1,var_1,var_1,var_12 >> 0x16);
          if (var_7 != var_8) goto LAB_0001c6e0;
          var_3 = (type_7 *)((int)&unaff_s3->alloc + (int)dfa->nodes);
        }
        goto LAB_0001c5b0;
      }
LAB_0001c7cc:
      prVar15 = (type_3 *)var_1;
      _Var8 = var_10(&eclosure,var_1);
      if (var_2(extraout_var_00,_Var8) == 0) goto LAB_0001c824;
      prVar29 = dfa->eclosures + var_1;
    }
    prVar29->nelem = eclosure.nelem;
    prVar29->elems = eclosure.elems;
    var_7 = var_8;
    prVar29->alloc = eclosure.alloc;
    new_set->alloc = eclosure.alloc;
    new_set->nelem = eclosure.nelem;
    new_set->elems = eclosure.elems;
    var_15 = pbVar19;
  }
LAB_0001c6e0:
  if (var_13 == *(type_3 **)puVar3) {
    return var_7;
  }
  var_22 = check_arrival_expand_ecl;
  var_3 = PTR___stack_chk_fail_0003e2d4;
  (*(type_9 *)PTR___stack_chk_fail_0003e2d4)();
  piVar6 = *(int **)(var_3 + 0x21abc);
  prStack_90 = (type_14 *)puVar3;
  sStack_ac = 0;
  prVar16 = (type_11 *)prVar15->nodes_alloc;
  var_19 = (int *)*piVar6;
  prVar17 = prVar15;
  pbVar19 = var_15;
  prStack_b0 = prVar16;
  prStack_a0 = prVar28;
  prStack_9c = prVar29;
  prStack_98 = (type_2 *)var_1;
  prStack_94 = unaff_s3;
  prStack_8c = unaff_s5;
  prStack_88 = (type_13 *)new_set;
  prStack_84 = unaff_s7;
  prStack_80 = dfa;
  pbStack_7c = (type_15 *)var_22;
  var_14 = (**(type_9 **)(var_3 + 0x21a5c))((int)prVar16 << 2);
  if (var_14 == 0) {
    var_7 = _REG_ESPACE;
  }
  else {
    var_22 = *(type_9 **)(var_3 + 0x21ac8);
    if (0 < (int)prVar16) {
      var_6 = 0;
      do {
        pbVar19 = *(type_12 *)(prVar15->nodes_len + var_6 * 4);
        prVar17 = (type_3 *)(var_13->eclosures + (int)pbVar19);
        var_17 = 0;
        if (0 < (int)prVar17->nodes_alloc) {
          var_18 = (int *)prVar17->nodes_len;
          do {
            if ((var_4 == (type_2 *)(type_6)(type_16)var_13->nodes[*var_18].field_0x4) &&
               (var_15 == var_13->nodes[*var_18].opr.sbcset)) {
              if (*var_18 != -1) {
                prVar17 = (type_3 *)&prStack_b0;
                var_7 = var_16
                                  (var_13,(type_2 *)&prStack_b0,(type_4)pbVar19,(type_4)var_15,
                                   (int)var_4);
                goto joined_r0x0001c968;
              }
              break;
            }
            var_17 = var_17 + 1;
            var_18 = var_18 + 1;
          } while (prVar17->nodes_alloc != var_17);
        }
        var_7 = var_9((type_2 *)&prStack_b0,(type_2 *)prVar17);
joined_r0x0001c968:
        if (var_7 != var_8) {
          (**(type_9 **)(var_3 + 0x21ac8))(var_14);
          goto LAB_0001c9dc;
        }
        var_6 = var_6 + 1;
        var_22 = *(type_9 **)(var_3 + 0x21ac8);
      } while (var_6 < (int)prVar15->nodes_alloc);
    }
    (*var_22)(prVar15->nodes_len);
    var_7 = var_8;
    prVar15->nodes = prStack_b0;
    prVar15->nodes_alloc = sStack_ac;
    prVar15->nodes_len = var_14;
  }
LAB_0001c9dc:
  if (var_19 == (int *)*piVar6) {
    return var_7;
  }
  var_22 = *(type_9 **)(var_3 + 0x21a9c);
  piVar6 = var_19;
  (*var_22)();
  var_17 = prVar17->nodes_alloc;
  if (var_17 == 0) {
    return var_8;
  }
  var_20 = pbVar19[1];
  if (var_20 == 0) {
    return var_8;
  }
  var_21 = piVar6[1];
  var_6 = piVar6[2];
  if (*piVar6 < (int)(var_17 + var_20 + var_21)) {
    var_23 = var_17 + var_20 + *piVar6;
    var_6 = (**(type_9 **)(var_22 + 0x21868))(var_6,var_23 * 4);
    if (var_6 == 0) {
      return _REG_ESPACE;
    }
    var_17 = prVar17->nodes_alloc;
    var_20 = pbVar19[1];
    var_21 = piVar6[1];
    piVar6[2] = var_6;
    *piVar6 = var_23;
  }
  var_25 = var_17 - 1;
  var_24 = prVar17->nodes_len;
  var_23 = var_20 - 1;
  var_26 = pbVar19[2];
  var_27 = *(int *)(var_24 + var_25 * 4);
  var_28 = var_21 + -1;
  var_29 = var_21 + var_17 + var_20;
  var_21 = *(int *)(var_26 + var_23 * 4);
  do {
    while (var_27 != var_21) {
      if (var_27 < var_21) {
        var_23 = var_23 + -1;
        if (var_23 < 0) goto LAB_0001cba8;
        var_21 = *(int *)(var_26 + var_23 * 4);
      }
      else {
        var_25 = var_25 + -1;
        if (var_25 < 0) goto LAB_0001cba8;
        var_27 = *(int *)(var_24 + var_25 * 4);
      }
    }
    if (var_28 < 0) {
LAB_0001cb3c:
      var_29 = var_29 + -1;
      *(int *)(var_6 + var_29 * 4) = var_27;
    }
    else {
      var_18 = (int *)(var_6 + var_28 * 4);
      var_21 = *var_18;
      while (var_27 < var_21) {
        var_28 = var_28 + -1;
        var_18 = var_18 + -1;
        if (var_28 == -1) goto LAB_0001cb3c;
        var_21 = *var_18;
      }
      if (var_21 != var_27) goto LAB_0001cb3c;
    }
    var_25 = var_25 + -1;
    var_23 = var_23 + -1;
    if ((var_25 < 0) || (var_23 < 0)) {
LAB_0001cba8:
      var_23 = piVar6[1];
      var_28 = var_23 + prVar17->nodes_alloc + pbVar19[1];
      var_21 = var_28 - var_29;
      var_28 = var_28 + -1;
      piVar6[1] = var_23 + var_21;
      if (0 < var_21) {
        var_23 = var_23 + -1;
        var_27 = var_28 * 4;
        if (-1 < var_23) {
          do {
            var_30 = *(int *)(var_6 + var_27);
            var_25 = *(int *)(var_6 + var_23 * 4);
            var_18 = (int *)(var_6 + (var_23 + var_21) * 4);
            if (var_25 < var_30) {
              do {
                var_21 = var_21 + -1;
                *var_18 = var_30;
                var_28 = var_28 + -1;
                if (var_21 == 0) {
                  var_6 = piVar6[2];
                  var_21 = 0;
                  goto LAB_0001cc5c;
                }
                var_27 = var_28 * 4;
                var_25 = *(int *)(var_6 + var_23 * 4);
                var_30 = *(int *)(var_6 + var_27);
                var_18 = (int *)(var_6 + (var_23 + var_21) * 4);
              } while (var_25 < var_30);
            }
            var_23 = var_23 + -1;
            *var_18 = var_25;
          } while (var_23 != -1);
          var_6 = piVar6[2];
        }
      }
      var_21 = var_21 << 2;
LAB_0001cc5c:
      (**(type_9 **)(var_22 + 0x218c8))(var_6,var_6 + var_29 * 4,var_21);
      return var_8;
    }
    var_27 = *(int *)(var_24 + var_25 * 4);
    var_21 = *(int *)(var_26 + var_23 * 4);
  } while( true );
}


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

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

{
  bool bVar1;
  undefined *puVar2;
  code *pcVar3;
  int *piVar4;
  int *piVar5;
  int *piVar6;
  undefined *puVar7;
  int *piVar8;
  int iVar9;
  int iVar10;
  int *piVar11;
  int *piVar12;
  int *piVar13;
  int iVar14;
  int *piVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  int iVar20;
  int iVar21;
  int iVar22;
  int *piVar23;
  undefined *unaff_s3;
  int *unaff_s5;
  int unaff_s7;
  int iStack_b0;
  int iStack_ac;
  int iStack_a8;
  int *piStack_a4;
  int iStack_a0;
  int *piStack_9c;
  int *piStack_98;
  undefined *puStack_94;
  undefined *puStack_90;
  int *piStack_8c;
  int *piStack_88;
  int iStack_84;
  int *piStack_80;
  code *pcStack_7c;
  uint local_68;
  int local_44;
  int local_40;
  int local_3c;
  int local_38;
  int local_34;
  int local_30;
  int *local_2c;
  
  puVar2 = PTR___stack_chk_guard_0003e2f4;
  piVar23 = (int *)((int)param_3 * 0xc);
  local_2c = *(int **)PTR___stack_chk_guard_0003e2f4;
  iVar22 = param_2[5] + (int)piVar23;
  local_44 = *(int *)(iVar22 + 4) + 1;
  local_40 = 0;
  piVar4 = param_2;
  piVar12 = param_3;
  piVar15 = param_4;
  local_3c = (*(code *)PTR_malloc_0003e294)(local_44 * 4);
  if (local_3c == 0) {
LAB_0001c824:
    iVar10 = 0xc;
  }
  else {
    iVar10 = *param_2;
    unaff_s3 = (undefined *)((int)param_3 * 8);
    piVar15 = (int *)0xffffffff;
    puVar7 = unaff_s3 + iVar10;
    piVar12 = *(int **)(puVar7 + 4);
    *(undefined4 *)((int)piVar23 + param_2[6] + 4) = 0xffffffff;
    if (((uint)piVar12 & 0xffc000) == 0) {
LAB_0001c5b0:
      if ((puVar7[4] & 8) == 0) goto LAB_0001c7cc;
      piVar15 = (int *)param_2[5];
      piVar4 = piVar15 + (int)param_3 * 3;
      if (piVar4[1] < 1) goto LAB_0001c7cc;
      unaff_s7 = 0;
      unaff_s5 = &local_44;
      bVar1 = false;
      pcVar3 = (code *)(PTR_LAB_0003e1b4 + -0x3b18);
      unaff_s3 = PTR_LAB_0003e1b4 + -0x3d64;
      do {
        piVar12 = *(int **)(piVar4[2] + unaff_s7 * 4);
        iVar22 = (int)piVar12 * 0xc;
        piVar4 = (int *)(param_2[6] + iVar22);
        iVar10 = piVar4[1];
        if (iVar10 == -1) {
          bVar1 = true;
        }
        else {
          piVar11 = &local_38;
          if (iVar10 == 0) {
            piVar15 = (int *)0x0;
            piVar4 = param_2;
            iVar10 = (*pcVar3)(piVar11);
            if (iVar10 != 0) goto LAB_0001c6e0;
          }
          else {
            local_38 = *piVar4;
            local_30 = piVar4[2];
            local_34 = iVar10;
          }
          iVar10 = FUN_0001c29c(unaff_s5);
          piVar4 = piVar11;
          if (iVar10 != 0) goto LAB_0001c6e0;
          iVar22 = param_2[6] + iVar22;
          if (*(int *)(iVar22 + 4) == 0) {
            (*(code *)PTR_free_0003e300)(local_30);
            bVar1 = true;
          }
          piVar15 = (int *)param_2[5];
        }
        piVar4 = piVar15 + (int)param_3 * 3;
        unaff_s7 = unaff_s7 + 1;
      } while (unaff_s7 < piVar4[1]);
      piVar4 = param_3;
      iVar10 = FUN_00019d18(&local_44);
      if (iVar10 == 0) goto LAB_0001c824;
      piVar23 = (int *)(param_2[6] + (int)piVar23);
      if ((bVar1) && (param_4 == (int *)0x0)) {
        piVar23[1] = 0;
        iVar10 = 0;
        *param_1 = local_44;
        param_1[1] = local_40;
        param_1[2] = local_3c;
        goto LAB_0001c6e0;
      }
    }
    else {
      if (*(int *)(iVar22 + 4) != 0) {
        if ((*(uint *)(iVar10 + **(int **)(iVar22 + 8) * 8 + 4) & 0x2000) == 0) {
          local_68 = (uint)((int)piVar12 << 8) >> 0x16;
          piVar4 = param_3;
          piVar12 = param_3;
          piVar15 = param_3;
          iVar10 = FUN_0001b200(param_2);
          if (iVar10 != 0) goto LAB_0001c6e0;
          puVar7 = unaff_s3 + *param_2;
        }
        goto LAB_0001c5b0;
      }
LAB_0001c7cc:
      piVar4 = param_3;
      iVar10 = FUN_00019d18(&local_44);
      if (iVar10 == 0) goto LAB_0001c824;
      piVar23 = (int *)(param_2[6] + (int)piVar23);
    }
    piVar23[1] = local_40;
    piVar23[2] = local_3c;
    iVar10 = 0;
    *piVar23 = local_44;
    *param_1 = local_44;
    param_1[1] = local_40;
    param_1[2] = local_3c;
  }
LAB_0001c6e0:
  if (local_2c == *(int **)puVar2) {
    return iVar10;
  }
  pcVar3 = FUN_0001c838;
  piVar8 = local_2c;
  puVar7 = PTR___stack_chk_fail_0003e2d4;
  (*(code *)PTR___stack_chk_fail_0003e2d4)();
  piVar5 = *(int **)(puVar7 + 0x21abc);
  puStack_90 = puVar2;
  iStack_ac = 0;
  iVar10 = piVar4[1];
  piStack_a4 = (int *)*piVar5;
  piVar11 = piVar4;
  piVar13 = piVar12;
  iStack_b0 = iVar10;
  iStack_a0 = iVar22;
  piStack_9c = piVar23;
  piStack_98 = param_3;
  puStack_94 = unaff_s3;
  piStack_8c = unaff_s5;
  piStack_88 = param_1;
  iStack_84 = unaff_s7;
  piStack_80 = param_2;
  pcStack_7c = pcVar3;
  iStack_a8 = (**(code **)(puVar7 + 0x21a5c))(iVar10 << 2);
  if (iStack_a8 == 0) {
    iVar22 = 0xc;
  }
  else {
    pcVar3 = *(code **)(puVar7 + 0x21ac8);
    if (0 < iVar10) {
      iVar10 = 0;
      do {
        piVar13 = *(int **)(piVar4[2] + iVar10 * 4);
        piVar11 = (int *)(piVar8[6] + (int)piVar13 * 0xc);
        iVar22 = 0;
        if (0 < piVar11[1]) {
          piVar23 = (int *)piVar11[2];
          do {
            piVar6 = (int *)(*piVar8 + *piVar23 * 8);
            if ((piVar15 == (int *)(uint)*(byte *)(piVar6 + 1)) && (piVar12 == (int *)*piVar6)) {
              if (*piVar23 != -1) {
                piVar11 = &iStack_b0;
                iVar22 = FUN_0001bbcc(piVar8,&iStack_b0,piVar13,piVar12,piVar15);
                goto joined_r0x0001c968;
              }
              break;
            }
            iVar22 = iVar22 + 1;
            piVar23 = piVar23 + 1;
          } while (piVar11[1] != iVar22);
        }
        iVar22 = FUN_0001c29c(&iStack_b0);
joined_r0x0001c968:
        if (iVar22 != 0) {
          (**(code **)(puVar7 + 0x21ac8))(iStack_a8);
          goto LAB_0001c9dc;
        }
        iVar10 = iVar10 + 1;
        pcVar3 = *(code **)(puVar7 + 0x21ac8);
      } while (iVar10 < piVar4[1]);
    }
    (*pcVar3)(piVar4[2]);
    iVar22 = 0;
    *piVar4 = iStack_b0;
    piVar4[1] = iStack_ac;
    piVar4[2] = iStack_a8;
  }
LAB_0001c9dc:
  if (piStack_a4 == (int *)*piVar5) {
    return iVar22;
  }
  pcVar3 = *(code **)(puVar7 + 0x21a9c);
  piVar4 = piStack_a4;
  (*pcVar3)();
  iVar22 = piVar11[1];
  if (iVar22 == 0) {
    return 0;
  }
  iVar10 = piVar13[1];
  if (iVar10 == 0) {
    return 0;
  }
  iVar16 = piVar4[1];
  iVar9 = piVar4[2];
  if (*piVar4 < iVar22 + iVar10 + iVar16) {
    iVar20 = iVar22 + iVar10 + *piVar4;
    iVar9 = (**(code **)(pcVar3 + 0x21868))(iVar9,iVar20 * 4);
    if (iVar9 == 0) {
      return 0xc;
    }
    iVar22 = piVar11[1];
    iVar10 = piVar13[1];
    iVar16 = piVar4[1];
    piVar4[2] = iVar9;
    *piVar4 = iVar20;
  }
  iVar19 = iVar22 + -1;
  iVar21 = piVar11[2];
  iVar20 = iVar10 + -1;
  iVar14 = piVar13[2];
  iVar18 = *(int *)(iVar21 + iVar19 * 4);
  iVar17 = iVar16 + -1;
  iVar10 = iVar16 + iVar22 + iVar10;
  iVar22 = *(int *)(iVar14 + iVar20 * 4);
  do {
    while (iVar18 != iVar22) {
      if (iVar18 < iVar22) {
        iVar20 = iVar20 + -1;
        if (iVar20 < 0) goto LAB_0001cba8;
        iVar22 = *(int *)(iVar14 + iVar20 * 4);
      }
      else {
        iVar19 = iVar19 + -1;
        if (iVar19 < 0) goto LAB_0001cba8;
        iVar18 = *(int *)(iVar21 + iVar19 * 4);
      }
    }
    if (iVar17 < 0) {
LAB_0001cb3c:
      iVar10 = iVar10 + -1;
      *(int *)(iVar9 + iVar10 * 4) = iVar18;
    }
    else {
      piVar12 = (int *)(iVar9 + iVar17 * 4);
      iVar22 = *piVar12;
      while (iVar18 < iVar22) {
        iVar17 = iVar17 + -1;
        piVar12 = piVar12 + -1;
        if (iVar17 == -1) goto LAB_0001cb3c;
        iVar22 = *piVar12;
      }
      if (iVar22 != iVar18) goto LAB_0001cb3c;
    }
    iVar19 = iVar19 + -1;
    iVar20 = iVar20 + -1;
    if ((iVar19 < 0) || (iVar20 < 0)) {
LAB_0001cba8:
      iVar16 = piVar4[1];
      iVar20 = iVar16 + piVar11[1] + piVar13[1];
      iVar22 = iVar20 - iVar10;
      iVar20 = iVar20 + -1;
      piVar4[1] = iVar16 + iVar22;
      if (0 < iVar22) {
        iVar16 = iVar16 + -1;
        iVar17 = iVar20 * 4;
        if (-1 < iVar16) {
          do {
            iVar18 = *(int *)(iVar9 + iVar17);
            iVar14 = *(int *)(iVar9 + iVar16 * 4);
            piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);
            if (iVar14 < iVar18) {
              do {
                iVar22 = iVar22 + -1;
                *piVar12 = iVar18;
                iVar20 = iVar20 + -1;
                if (iVar22 == 0) {
                  iVar9 = piVar4[2];
                  iVar22 = 0;
                  goto LAB_0001cc5c;
                }
                iVar17 = iVar20 * 4;
                iVar14 = *(int *)(iVar9 + iVar16 * 4);
                iVar18 = *(int *)(iVar9 + iVar17);
                piVar12 = (int *)(iVar9 + (iVar16 + iVar22) * 4);
              } while (iVar14 < iVar18);
            }
            iVar16 = iVar16 + -1;
            *piVar12 = iVar14;
          } while (iVar16 != -1);
          iVar9 = piVar4[2];
        }
      }
      iVar22 = iVar22 << 2;
LAB_0001cc5c:
      (**(code **)(pcVar3 + 0x218c8))(iVar9,iVar9 + iVar10 * 4,iVar22);
      return 0;
    }
    iVar18 = *(int *)(iVar21 + iVar19 * 4);
    iVar22 = *(int *)(iVar14 + iVar20 * 4);
  } while( true );
}

